use pdbedit with the import and export flags. I believe the command is something like

pdbedit --import=ldap --export=smbpasswd

man pdbedit should help you out on the exact syntax.

Geddes wrote:


Hey all,

I have an existing ldap tree that handles authenication for unix logins. Also, I have samba shares which authenicate based on smbpasswd file. I would like to populate my ldap tree with the information that is in my smbpasswd file.

Can anyone tell me where I can find a script that will migrate the information in smbpasswd file to my current users in the ldap tree.

thanks


-- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Cell: 701-306-6254 Information Systems Consultant Fax: 701-281-1322 URL: www.ae-solutions.com mailto:[EMAIL PROTECTED]


-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

Reply via email to