[Fedora-directory-users] 'No Such Object' when importing LDIF from OpenLDAP

Tim Edwards tim at registriesltd.com.au
Tue Nov 29 01:18:55 UTC 2005


I'm trying to import the data from our OpenLDAP server into FedoraDS. 
I've exported the data from OpenLDAP into an LDIF file and am now trying 
to import that into my Fedora DS instance, unfortunately it gets errors 
on the first entry. I tried just seperating out the first entry into its 
own LDIF file:

dn: cn=Domain Users,ou=groups,dc=registriesltd,dc=com,dc=au
gidNumber: 513
sambaSID: S-1-5-21-1837449576-3234076748-520123900-513
cn: Domain Users
sambaGroupType: 2
objectClass: top
objectClass: posixgroup
objectClass: sambaGroupMapping
description: Domain Users
displayName: Domain Users
creatorsName: cn=samba,ou=special,dc=registriesltd,dc=com,dc=au
createTimestamp: 20041013050147Z
modifiersName: cn=samba,ou=special,dc=registriesltd,dc=com,dc=au
modifyTimestamp: 20041013050147Z

But I still get the same error when importing it:

Error adding object 'dn: cn=Domain 
Users,ou=groups,dc=registriesltd,dc=com,dc=au'.  The error sent by the 
server was 'No such object'.  The object is: LDAPEntry: cn=Domain 
Users,ou=groups,dc=registriesltd,dc=com,dc=au; LDAPAttributeSet: 
LDAPAttribute {type='gidnumber', values='513'} LDAPAttribute 
{type='displayname', values='Domain Users'} LDAPAttribute 
{type='objectclass', values='top,posixgroup,sambaGroupMapping'} 
LDAPAttribute {type='sambasid', 
values='S-1-5-21-1837449576-3234076748-520123900-513'} LDAPAttribute 
{type='modifytimestamp', values='20041013050147Z'} LDAPAttribute 
{type='modifiersname', 
values='cn=samba,ou=special,dc=registriesltd,dc=com,dc=au'} 
LDAPAttribute {type='sambagrouptype', values='2'} LDAPAttribute 
{type='createtimestamp', values='20041013050147Z'} LDAPAttribute 
{type='cn', values='Domain Users'} LDAPAttribute {type='creatorsname', 
values='cn=samba,ou=special,dc=registriesltd,dc=com,dc=au'} 
LDAPAttribute {type='description', values='Domain Users'}.

I'm a bit of newbie when it comes to LDIF files and Schemas so I'm not 
sure exacly where to go from here? Is there a more detailed error log 
than that rejects file? What kind of problems cause this 'No Such 
Object' error?

Thanks
-- 
Tim Edwards




More information about the Fedora-directory-users mailing list