diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-08-04 21:07:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:32 -0500 |
commit | 6361d151a4c2fa96b84347ccd76f0748e8ecb1bf (patch) | |
tree | e47d31d798d15ff27f5f6d3bf26dc98eb1317db3 /source3/smbd | |
parent | 7cc7fc51c6c1a99c55b6e7874c58bb9852f74085 (diff) | |
download | samba-6361d151a4c2fa96b84347ccd76f0748e8ecb1bf.tar.gz samba-6361d151a4c2fa96b84347ccd76f0748e8ecb1bf.tar.bz2 samba-6361d151a4c2fa96b84347ccd76f0748e8ecb1bf.zip |
r17406: We need to do a translation of winbind separator -> '\\' in
lookup_name_smbconf, otherwise
force user = domain+administrator
can not work. Also attempt to fix the 'valid users = domain+group' bug at the
same time.
Volker
(This used to be commit 255475901c13fde29b1b476560d969cc99712767)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/share_access.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/share_access.c b/source3/smbd/share_access.c index 5334976d8d..09b56c3522 100644 --- a/source3/smbd/share_access.c +++ b/source3/smbd/share_access.c @@ -97,7 +97,7 @@ static BOOL token_contains_name(TALLOC_CTX *mem_ctx, } if (!do_group_checks(&name, &prefix)) { - if (!lookup_name(mem_ctx, name, LOOKUP_NAME_ALL, + if (!lookup_name_smbconf(mem_ctx, name, LOOKUP_NAME_ALL, NULL, NULL, &sid, &type)) { DEBUG(5, ("lookup_name %s failed\n", name)); return False; @@ -112,7 +112,7 @@ static BOOL token_contains_name(TALLOC_CTX *mem_ctx, for (/* initialized above */ ; *prefix != '\0'; prefix++) { if (*prefix == '+') { - if (!lookup_name(mem_ctx, name, + if (!lookup_name_smbconf(mem_ctx, name, LOOKUP_NAME_ALL|LOOKUP_NAME_GROUP, NULL, NULL, &sid, &type)) { DEBUG(5, ("lookup_name %s failed\n", name)); |