Re: migrations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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/html/administration_guide/extending_the_directory_schema

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/html/administration_guide/configuring_directory_databases#Configuring_Directory_Databases-Creating_and_Maintaining_Suffixes

HTH,

Mark


--
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux