[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
LDIF import fails
- To: openldap-technical@openldap.org
- Subject: LDIF import fails
- From: Adam Weremczuk <adamw@matrixscience.com>
- Date: Wed, 5 Jun 2019 12:31:16 +0100
- Content-language: en-US
- Organization: Matrix Science Ltd
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
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