[Samba] migrate from smbpasswd file to ldap
Paul Gienger
pgienger at ae-solutions.com
Wed Jul 14 18:01:28 GMT 2004
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:pgienger at ae-solutions.com
More information about the samba
mailing list