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)
commit103abffcae7aebffb6e7d0d505fb85295717e887
treecb1deba8e2b4456e5bcffa16c345aba1caa1df2b
parentd9a34fec6582733ae01dcb3b0b8fa408c23194aa
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
(This used to be commit 2c7b3d9fd5bb327bdbd34ec27b36eb59cbc481af)
source3/passdb/passdb.c