Re: LDAP import

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

 



The better way would be using a tool on the OS that's like db2ldif (pretty sure most netscape LDAP deriviatives come with these).

When you do a ldapsearch like that the server won't send along some fields (password being one of them). If you run the db2ldif it'll spit out an ldif file then you should be able to import it with something like ldif2db or just an ldapadd.

On 04/10/2014 02:24 PM, Herb Burnswell wrote:
Dustin thanks for the reply.
I would need everything in:
o=companyA dc=hq,dc=example,dc=com
Everything appears to be imported as needed except the password issue.  If I reset the passwords in the new implementation it's fine but that won't work with 100's of users.
Is this:
ldapsearch -b "o=companyA" -D "dc=hq,dc=example,dc=com" -h original_system > output.ldif
an acceptable way of exporting everything including passwords for users or is there a better way?
Thanks again,
Herb 

        
Dustin Rice:
Well, schema would be like, the list of fields whereas it looks like you 
might be doing a dump/load of users/groups?

On 04/10/2014 01:17 PM, Herb Burnswell wrote:
> All,
>
> I'm attempting to import an LDAP schema (is that the correct term?) 
> from one LDAP implementation to another and it appears that I may be 
> doing it incorrectly.  I created a ldif file for import as:
>
> ldapsearch -b "o=companyA" -D "dc=hq,dc=example,dc=com" -h 
> original_system > output.ldif
>
> I then used the GUI in the new LDAP implementation to import the ldif 
> file.  Everything seemed to work find as I have the entire tree but 
> there appears to be a problem with passwords.
>
> Am I missing the passwords for users with this export to ldif file? 
>  What is the proper procedure to import all information from a schema 
> (is that the correct term?) to import into a new LDAP implementation?
>
> Thanks in advance for any assistance,
>
> Herb
>
>
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

-- 
=====================================
Dustin Rice
UNIX System Administrator - CIS
Portland State University
=====================================



On Thu, Apr 10, 2014 at 1:17 PM, Herb Burnswell <herbert.burnswell@xxxxxxxxx> wrote:
All,

I'm attempting to import an LDAP schema (is that the correct term?) from one LDAP implementation to another and it appears that I may be doing it incorrectly.  I created a ldif file for import as:

ldapsearch -b "o=companyA" -D "dc=hq,dc=example,dc=com" -h original_system > output.ldif

I then used the GUI in the new LDAP implementation to import the ldif file.  Everything seemed to work find as I have the entire tree but there appears to be a problem with passwords.

Am I missing the passwords for users with this export to ldif file?  What is the proper procedure to import all information from a schema (is that the correct term?) to import into a new LDAP implementation?

Thanks in advance for any assistance,

Herb



--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

-- 
=====================================
Dustin Rice
UNIX System Administrator - CIS
Portland State University
=====================================
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

[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