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

-- 
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