New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openchange provision error #404
Comments
Just tried the same with samba version 3:4.1.17+dfsg-1~zentyal4 and openchange 3:2.4-zentyal9 from Zentyal repository - same error message. |
I had exactly the same problem and it took me 4 days until I solved the problem. The Problem: To Fix this: |
I think I found the bug: if ignore_already_exists and exists_dn(sam_db, dn):
# TODO: check that the existent element has correct values
continue
elements_to_add.append(element) The expression |
The workaround doesn't work in step 10 and 11 of provisioning. |
When I try to provision openchange I get the following error:
root@pdc:~# openchange_provision --ignore-already-exists --standalone
NOTE: This operation can take several minutes
[+] Step 1: Register Exchange OIDs
[+] Step 2: Add Exchange attributes to Samba schema
No elements to add found in /usr/share/samba/setup/AD/oc_provision_schema_attributes.ldif
[+] Step 3: Add Exchange auxiliary classes to Samba schema
No elements to add found in /usr/share/samba/setup/AD/oc_provision_schema_auxiliary_class.ldif
[+] Step 4: Add Exchange objectCategory to Samba schema
No elements to add found in /usr/share/samba/setup/AD/oc_provision_schema_objectCategory.ldif
[+] Step 5: Add Exchange containers to Samba schema
No elements to add found in /usr/share/samba/setup/AD/oc_provision_schema_container.ldif
[+] Step 6: Add Exchange sub containers to Samba schema
No elements to add found in /usr/share/samba/setup/AD/oc_provision_schema_subcontainer.ldif
[+] Step 7: Add Exchange CfgProtocol subcontainers to Samba schema
No elements to add found in /usr/share/samba/setup/AD/oc_provision_schema_sub_CfgProtocol.ldif
[+] Step 8: Add Exchange mailGateway subcontainers to Samba schema
No elements to add found in /usr/share/samba/setup/AD/oc_provision_schema_sub_mailGateway.ldif
[+] Step 9: Add Exchange classes to Samba schema
No elements to add found in /usr/share/samba/setup/AD/oc_provision_schema.ldif
[+] Step 10: Add possSuperior attributes to Exchange classes
No elements to add found in /usr/share/samba/setup/AD/oc_provision_schema_possSuperior.ldif
[+] Step 11: Extend existing Samba classes and attributes
No elements to add found in /usr/share/samba/setup/AD/oc_provision_schema_modify.ldif
[+] Step 12: Generic Exchange configuration objects
No elements to add found in /usr/share/samba/setup/AD/oc_provision_configuration.ldif
[+] Step 13: Exchange Organization objects
Error: "(64, 'structural objectClass msExchAdminGroup is not a valid child class for CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=example,DC=com')" when adding element:
First Administrative Group
dn: CN=First Administrative Group,CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=example,DC=com
objectClass: top
objectClass: msExchAdminGroup
cn: First Administrative Group
distinguishedName: CN=First Administrative Group,CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=example,DC=com
displayName: First Administrative Group
showInAdvancedViewOnly: TRUE
siteFolderGUID: 4b2d197b-1cb3-486a-b8c3-42e8c5c08e27
name: First Administrative Group
legacyExchangeDN: /o=First Organization/ou=First Administrative Group
objectCategory: CN=ms-Exch-Admin-Group,CN=Schema,CN=Configuration,DC=example,DC=com
msExchAdminGroupMode: 0
msExchDefaultAdminGroup: TRUE
I am unable to proceed with provision nor deprovision neither, stuck halfway through. Using Inverse packages:
ii samba 2:4.1.18+dfsg-3~inverse1
ii openchangeserver 3:2.4-zentyal6
The text was updated successfully, but these errors were encountered: