[Samba] ldapsam_compat & machine accounts

Andrew Bartlett abartlet at samba.org
Wed Nov 26 22:24:53 GMT 2003


On Thu, 2003-11-27 at 09:15, Fabien Chevalier wrote:
> 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?

It should all be in ldap - what is your smb.conf?

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20031127/64d7bc3d/attachment.bin


More information about the samba mailing list