summaryrefslogtreecommitdiffstats
path: root/source/groupdb
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-03-22 08:04:13 +0000
committerGerald Carter <jerry@samba.org>2006-03-22 08:04:13 +0000
commitf751d9f1d025695b4f51f2df7db47649cb881acc (patch)
treec3e5c93d514fd8c4a7217be63b9d59147cbbf01a /source/groupdb
parent6f83add52dbc0a53426d110c2a51ab3ff1602a6f (diff)
downloadsamba-f751d9f1d025695b4f51f2df7db47649cb881acc.tar.gz
samba-f751d9f1d025695b4f51f2df7db47649cb881acc.tar.xz
samba-f751d9f1d025695b4f51f2df7db47649cb881acc.zip
r14634: Many bug fixes thanks to train rides and overnight stays in airports
* Finally fix parsing idmap uid/gid ranges not to break with spaces surrounding the '-' * Allow local groups to renamed by adding info level 2 to _samr_set_aliasinfo() * Fix parsing bug in _samr_del_dom_alias() reply * Prevent root from being deleted via Samba * Prevent builting groups from being renamed or deleted * Fix bug in pdb_tdb that broke renaming user accounts * Make sure winbindd is running when trying to create the Administrators and Users BUILTIN groups automatically from smbd (and not just check the winbind nexted groups parameter value). * Have the top level rid allocator verify that the RID it is about to grant is not already assigned in our own SAM (retries up to 250 times). This fixes passdb with existing SIDs assigned to users from the RID algorithm but not monotonically allocating the RIDs from passdb.
Diffstat (limited to 'source/groupdb')
-rw-r--r--source/groupdb/mapping.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/groupdb/mapping.c b/source/groupdb/mapping.c
index 830584979b5..5569dbf4ed5 100644
--- a/source/groupdb/mapping.c
+++ b/source/groupdb/mapping.c
@@ -1164,6 +1164,7 @@ NTSTATUS pdb_default_set_aliasinfo(struct pdb_methods *methods,
if (!pdb_getgrsid(&map, *sid))
return NT_STATUS_NO_SUCH_ALIAS;
+ fstrcpy(map.nt_name, info->acct_name);
fstrcpy(map.comment, info->acct_desc);
return pdb_update_group_mapping_entry(&map);