[Samba] ldapsam_compat & machine accounts

Fabien Chevalier fabien.chevalier at supelec.fr
Thu Nov 27 10:32:35 GMT 2003


at # password database type you are using.
> >    passdb backend = tdbsam ldapsam_compat:ldap://localhost
>
> Samba is doing exactly what it was told to do - use tdbsam!
>
> If you don't want to use tdbsam, remove it :-)
>

Yeah....i'm sometimes a bit stupid. :-)

But what made me wrong is that i use both tdbsam and ldapsam_compat
for user accounts.

What i didn't noticed till now is that when samba uses passwd backend to
add an account, it uses the mechanism given by the first field.

So setting:

passdb backend = ldapsam_compat:ldap://localhost tdbsam 

does what i want.

Well, when thinking a bit more to it, it seems really obvious. 

Thanks again for your help,

Fabien Chevalier




More information about the samba mailing list