Hi all,
I exported from LDAP version 2.4.31 (samba AD 4.0.9) as below:
C:\Windows\system32>ldifde -f export.ldf -s samba.matrixscience.co.uk Connecting to "samba.matrixscience.co.uk" Logging in as current user using SSPI Exporting directory to file export.ldf Searching for entries... Writing out entries............................................................. ................................................................................
................................................................................
................................................................................
................................................................................
........................................................................ 453 entries exported
The command has completed successfully
When I import to 2.4.44 through php LDAP admin logging in as cn=admin,dc=matrixscience,dc=co,dc=uk the import fails on every line. It's full of 0x11 and 0x15 errors. 2 examples below:
Could not add the object to the LDAP server. LDAP said: Undefined attribute type Error number: 0x11 (LDAP_UNDEFINED_TYPE) Description: The attribute type specified is invalid. LDIF text import Could not add object cn=testuser,CN=Users,DC=matrixscience,DC=co,DC=uk LDAP said: Undefined attribute type Error number: 0x11 (LDAP_UNDEFINED_TYPE) Description: The attribute type specified is invalid.
Could not add the object to the LDAP server. LDAP said: Invalid syntax Error number: 0x15 (LDAP_INVALID_SYNTAX) Description: An invalid attribute value was specified. LDIF text import Could not add object cn=Domain Controllers,CN=Users,DC=matrixscience,DC=co,DC=uk LDAP said: Invalid syntax Error number: 0x15 (LDAP_INVALID_SYNTAX) Description: An invalid attribute value was specified.
Am I doing something fundamentally wrong?
Regards, Adam Weremczuk