diff options
author | Michael Adam <obnox@samba.org> | 2014-05-03 02:59:37 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-05-19 16:41:41 +0200 |
commit | e5649ef6ee7fe2fd333ffdce3464c45a0cf01c9f (patch) | |
tree | aa3714aa21919558b0dd2ed5908f488f725b2a6d /source3/lib/util_ea.c | |
parent | 93093fa08da355c6b154078cb219e9f9e781f2fe (diff) | |
download | samba-e5649ef6ee7fe2fd333ffdce3464c45a0cf01c9f.tar.gz samba-e5649ef6ee7fe2fd333ffdce3464c45a0cf01c9f.tar.xz samba-e5649ef6ee7fe2fd333ffdce3464c45a0cf01c9f.zip |
smbd: fix creation of BUILTIN\{Administrators,Users} when "tdbsam:map builtin = false"
In this case, passdb/group mapping is not responsible for the id mapping
of the builtins, so the check whether the SID maps to a unix ID is not
valid for checking whether the builtin has been created as a proper group.
So this patch changes the check to whether we find the builtin in the group
mapping database.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon May 19 16:41:41 CEST 2014 on sn-devel-104
Diffstat (limited to 'source3/lib/util_ea.c')
0 files changed, 0 insertions, 0 deletions