[Samba] ldapsam_compat & machine accounts

Fabien Chevalier fabien.chevalier at supelec.fr
Wed Nov 26 22:15:45 GMT 2003


Hello everybody,
I'm asking myself a rather simple issue (i hope it hasn't already be explained somewhere).

I'm using ldapsam_compat on 3.0.1pre3(+Debian patches & smbldap-tools 0.8.1) to store both user accounts and machine accounts.
It works just fine, but there still is something that i find quite odd.

My smb.conf contains:

add machine script = /etc/samba/smbldap-tools/smbldap-useradd.pl -w -d /dev/null -g nogroup -c 'Machine Account' -s /bin/false %u

which works great.

However, the objets created in LDAP database for machines account are of objectType inetOrgPerson and posixAccount,
and not of type sambaAccount.
pdbedit shows that some bits of information are still stored in tdbsam...

Is there any way to have all in LDAP?

Regards,

Fabien Chevalier





More information about the samba mailing list