[Samba] create RFC2307 attributes in samba-tool create (was: [PATCH] allow to create Unix-UID/SID mapping in samba-tool user create)

Alexander Wuerstlein arw at arw.name
Tue Sep 25 08:54:23 MDT 2012


attached the patch I promised to add RFC2307 attributes to a newly
created user in samba-tool. Values for those attributes can either
be explicitly given or obtained from NSS. shadowAccount and posixGroup are not
handled, only posixAccount, and from posixAccount only attributes that
didn't overlap (so not homeDirectory, description) and didn't seem problematic
(so not userPassword).

This also solves the UID/SID-mapping problem that started this thread
(at least if 'idmap_ldb:use rfc2307 = Yes' is set in smb.conf). 


Alexander Wuerstlein.

More information about the samba mailing list