Set RFC2307 attributes in samba-tool create
commitbfdaaf2327441c0cf909a70f9b3ca781caadbddc
authorAlexander Wuerstlein <arw@arw.name>
Sun, 30 Sep 2012 02:31:59 +0000 (30 04:31 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 18 Oct 2012 06:10:58 +0000 (18 17:10 +1100)
tree8b4392fdec70483c37e9a921e130c5b6cadbb5c7
parent9eb022c8c65663425e60a10a12c2ec52c3017a59
Set RFC2307 attributes in samba-tool create

Optionally set RFC2307 (NIS Schema) attributes in samba-tool create.
Mainly needed for UID mapping to be usable.
Not all attributes are set-able, only harmless and non-overlapping
ones (uid, uidNumber, gidNumber, loginShell, gecos). Description and
homeDirectory should already be set, userPassword seems problematic.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/scripting/python/samba/netcmd/user.py
source4/scripting/python/samba/samdb.py