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

Kevin M. Myer kevin_myer at iu13.org
Tue Nov 29 01:31:55 UTC 2005


Quoting Tim Edwards <tim at registriesltd.com.au>:

> 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

Tim,

What is the base of the directory you are trying to import into?  If it 
is dc=registriesltd,dc=com,dc=au, then you need a 
ou=groups,dc=registriesltd,dc=com,dc=au entry before you can import 
your cn=Domain Users entry.  The parent of each child entry must exist 
before you can import the child.

Kevin

-- 
Kevin M. Myer
Senior Systems Administrator
Lancaster-Lebanon Intermediate Unit 13  http://www.iu13.org





More information about the Fedora-directory-users mailing list