removed, I presume by mistake, by Jerry in the recent
patch the removes the primary group SID stuff.
set_user_info_21 is called to update many other things
like the description of a user for example (that's what
failed on me).
Jerry, please review this one.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@13715
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
primary group SID is generated solely from the user's Unix
primary group. */
+ /* write the change out */
+ if(!NT_STATUS_IS_OK(status = pdb_update_sam_account(pwd))) {
+ TALLOC_FREE(pwd);
+ return status;
+ }
+
TALLOC_FREE(pwd);
return NT_STATUS_OK;