Some passdb backends really don't like having no primary group - so always
authorAndrew Bartlett <abartlet@samba.org>
Tue, 29 Apr 2003 14:38:45 +0000 (14:38 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 29 Apr 2003 14:38:45 +0000 (14:38 +0000)
commit2c7b3d9fd5bb327bdbd34ec27b36eb59cbc481af
tree97472f56b2407dce6d24cfd66f6fcb82bcdb696f
parent63cf5637c16dc770f0ab2f73ff00577c7cd426ee
Some passdb backends really don't like having no primary group - so always
set one - new accounts -> domain users, unless otherwise specified.

This moves that logic from pdb_set_sam_sids() into pdb_init_sam_new(), which
is called by all the 'new account' creators. (pdb_set_sam_sids() now only
deals with the mapping from an existing account)

Andrew Bartlett
source/passdb/passdb.c