LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 03-10-2010, 03:14 AM   #1
shahzad.fatehali
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Importing data in OpenLDAP from remote Active Directory


Hi Friends,

I am running an openldap server on fedora core 10 and now running into a need of get all users data from Active Directory. Actually I have a php based application which will be using that data from OpenLDAP and it will need to be updated on weekly bases.

Can you please suggest me how can I do it and any script which can help me.
 
Old 03-10-2010, 11:18 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,105

Rep: Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720
Quote:
Originally Posted by shahzad.fatehali View Post
Hi Friends,

I am running an openldap server on fedora core 10 and now running into a need of get all users data from Active Directory. Actually I have a php based application which will be using that data from OpenLDAP and it will need to be updated on weekly bases.

Can you please suggest me how can I do it and any script which can help me.
There are threads on here that touch on this:
http://www.linuxquestions.org/questi...errerid=154107

As well as hints on Google. In the past, I've had to use pwdump, and write a script to take what it gives me, and insert that data into my LDAP schema. That's something that you'll have to write on your own, since there's too much site-specific information for it to be a 'generic' script that can be open-sourced. I'd recommend Perl for it, since it has LDAP and Active Directory hooks. This article:
http://www.perl.com/pub/a/2001/12/19/xmlrpc.html

is a bit dated, but still relevant. If you create an LDAP schema that matches (as closely as it can) your AD schema, you could even do a direct import over the network...reading from AD, modifying the data, and doing an LDAP insert.
 
  


Reply

Tags
directory, fedora, migration, openldap


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
importing users from active directory into openldap and get working with samba kcorupe Linux - Server 2 11-18-2009 11:26 AM
OpenLDAP and Active Directory custangro Linux - Enterprise 1 01-05-2008 02:55 AM
Active Directory vs. OpenLDAP msteiner Linux - Software 1 10-30-2007 01:09 PM
openldap and active directory akismax Linux - Enterprise 1 07-21-2006 06:50 PM
Migrate Active Directory to OpenLDAP mafelipe Linux - Software 0 06-03-2004 10:32 AM


All times are GMT -5. The time now is 06:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration