On 4/17/19 10:47 AM, natan wrote:
Hi
Is any chance to import all from openldap ?
I install 389 Directory Server - from faq in webside + 389-console
Now I wanted to import db from openldap - I get root.ldif
My openldap have a "weird" root in tree
likes:
"dn: o=mydomain,c=pl
objectClass: top
objectClass: organization
o: iq
structuralObjectClass: organization
creatorsName: cn=admin,o=mydomain,c=pl
modifiersName: cn=admin,o=mydomain,c=pl
createTimestamp: 20040814001228Z
modifyTimestamp: 20040814001228Z
entryCSN: 20040814001228.000000Z#000001#000#000000
contextCSN: 20190409221815.398628Z#000000#000#000000
dn: ou=accounts,o=mydoamin,c=pl
objectClass: top
objectClass: organizationalUnit
ou: accounts
structuralObjectClass: organizationalUnit
entryUUID: 5f134a08-81d2-1028-8595-ae63cd734628
creatorsName: cn=admin,o=mydomain,c=pl
modifiersName: cn=admin,o=mydomain,c=pl
createTimestamp: 20040814001228Z
modifyTimestamp: 20040814001228Z
entryCSN: 20040814001228.000000Z#000002#000#000000"
I was looking in documentation 389 for how to add/import schema but I
nothing found
(qmail.schema)
can someone help me with import db and qmail.schema ?
Here is a very old wiki doc on the topic (I'm not sure this even works
anymore):
http://www.port389.org/docs/389ds/howto/howto-openldapmigration.html
Basically you need to convert openldap schema to a syntax that 389 DS
understands. Here are the docs for 389 schema as a reference:
https://access.redhat.com/documentation/en-us/red_hat_directory_server/10...
Once you get the schema straightened out and added to 389 DS, you should
be able to import that ldif file into 389 DS. Of course you first need
to define the suffix: o=mydomain,c=pl
For doing that see:
https://access.redhat.com/documentation/en-us/red_hat_directory_server/10...
HTH,
Mark
>
>
> --
> _______________________________________________
> 389-users mailing list -- 389-users(a)lists.fedoraproject.org
> To unsubscribe send an email to 389-users-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproje...