LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Can samba passwd file import into LDAP ? (http://www.linuxquestions.org/questions/linux-server-73/can-samba-passwd-file-import-into-ldap-687105/)

niraj.kumar 11-29-2008 01:53 PM

Can samba passwd file import into LDAP ?
 
Hi members,

I want to upgrade my system with OpenLDAP(at present running samba PDC)and a large number of users is authenticating with Samba PDC.
The main problem in upgrading from Samba PDC to LDAP is that how can i import my smbpasswd file into LDAP because if it is not possible to import samba passwd file into LDAP then i have to add a large number of users into LDAP system which will take a lot of down time.

I searched all the forums and got some tips to import smbpasswd file into LDAP ( Like Perl scripts to import smbpasswd file into LDAP) and i tried a lot with all the necessary steps to import ( Like installing Net::LDAP packages) but all are in vein. The output of scripts is showing that user is added but when i searched the user with the LDAP search command but there is no output. I don't know where i am wrong.

If u have any idea to resolve the issue then please show me the way to import smbpasswd file into LDAP PDC with all the requirements in detail. This is my first question in this forum.

Thanks.
Sanju

jstephens84 11-30-2008 12:09 AM

Well I don't have much in the way of help but lets start by looking at what perl script you used. Can you post a link to the script in questions.

niraj.kumar 12-02-2008 09:57 AM

Used the following links of Perl script but didn't work :-

http://people.web.psi.ch/kapeller/do...t_smbpasswd.pl

http://lists.samba.org/archive/samba...ly/014924.html

niraj.kumar 12-02-2008 09:57 AM

Used the following links of Perl script but didn't work :-

http://people.web.psi.ch/kapeller/do...t_smbpasswd.pl

http://lists.samba.org/archive/samba...ly/014924.html

jstephens84 12-02-2008 08:12 PM

It may take me a couple but Let me look through the perl script and see what I can do.


All times are GMT -5. The time now is 09:57 PM.