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.
(This used to be commit
239a37d201168d095f600042b1ffcd047f18ba8a)
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;