[Samba] Re: change ldap accounts to samba ldap accounts

cyrus pkoelle at servarium.net
Thu Apr 19 17:46:03 GMT 2007

James Tran wrote:

> Ok since i can't do that stuff i have another idea.
> The passdb.tdb file has all the samba passwords right?
> Is there a way i can transfer the passwords from there into an ldap
> directory easily for users?
if you already have users and password in some backend you might want to
look at pdbedit and its -e and -i switches. e.g. ldap properly
configured as a passdb backend:

pdbedit -e tdbsam -i ldapsam (try this with a test ldap store first!!!)


More information about the samba mailing list