diff options
author | Simo Sorce <idra@samba.org> | 2002-03-19 13:57:53 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2002-03-19 13:57:53 +0000 |
commit | 050b80356edea52f1bbb0a27599186ad84c18b73 (patch) | |
tree | 1faea4cb8057ee92df2a188cb3bd0909d89ebc5f /source3/utils | |
parent | f464ceb109bc9bdc288e0219c4b83da15ba6f1fc (diff) | |
download | samba-050b80356edea52f1bbb0a27599186ad84c18b73.tar.gz samba-050b80356edea52f1bbb0a27599186ad84c18b73.tar.bz2 samba-050b80356edea52f1bbb0a27599186ad84c18b73.zip |
second step to gain free uid<->rid mapping
we still need to free gid<->rid mapping and few other stuff
(This used to be commit aa4b6f8181f34196a28951264dd8b631a5deef7f)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/pdbedit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c index 71abcc74ee..1fb1f2355b 100644 --- a/source3/utils/pdbedit.c +++ b/source3/utils/pdbedit.c @@ -305,6 +305,8 @@ static int new_machine (char *machinename) pdb_set_acct_ctrl (sam_pwent, ACB_WSTRUST); + pdb_set_group_rid(sam_pwent, DOMAIN_GROUP_RID_COMPUTERS); + if (pdb_add_sam_account (sam_pwent)) { print_user_info (name, True, False); } else { |