Tim Edwards wrote:
I'm trying to import the data from our OpenLDAP server into
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
You need to (manually) create the ou=groups,dc=registriesltd,dc=com,dc=au
entry before you add this as others have suggested.
You will probably have to add a schema extension before you add this
attribute -- have you read the stuff in the Fedora Directory Server
wiki about getting schema entries from OpenLDAP (in whose format the
samba schema extensions are provided) into FDS?
Alternatively, if you know the OID of the sambaGroupMapping object
class then you can use LdapImport to import the object and its
attributes directly from your running OpenLDAP DS into your running
You don't want to attempt to import these attributes from your LDIF
file into FDS.
LdapImport should be able to help you out here: