s4 managing posixAccount and posixGroup with samba-tool?

David Mansfield samba at dm.cobite.com
Mon Nov 26 07:39:57 MST 2012


Hi all:

Is it possible to add a user using samba-tool with an existing uidNumber 
and other posixAccount attributes and to add a group with a gidNumber?  
Or after adding with samba-tool, is there a utility other than ldbmodify 
to manage the attributes?

I see a long discussion in bug#8635 
(https://bugzilla.samba.org/show_bug.cgi?id=8635) where "steve" has 
posted some homegrown scripts s4user and s4group which are the only way 
I can find where these attributes are being set.

May there's an option other than the ones that are given in --help for 
samba-tool?

In any case, is there a "best practice" for managing unix users using 
s4?  I need the UID/GID to be stable across my enterprise, so I'm 
planning on using idmap_ad on the winbind clients, I assume this will 
work once I get the uidNumber and gidNumber properly set in s4...

-- 
Thanks,
David Mansfield
Cobite, INC.


More information about the samba-technical mailing list