diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-08-04 20:43:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:32 -0500 |
commit | 250b9f353118bee4c080655f57d09011679deaf7 (patch) | |
tree | f77c07b8088ab6ce90e91db8195827c787e3053b /source/passdb | |
parent | 63325b36872c92d9f9fe04a185d7bd3ac525d84c (diff) | |
download | samba-250b9f353118bee4c080655f57d09011679deaf7.tar.gz samba-250b9f353118bee4c080655f57d09011679deaf7.tar.xz samba-250b9f353118bee4c080655f57d09011679deaf7.zip |
r17404: Is this XP (extreme programming)? :-)
With lp_workgroup we end up with remote names again...
Volker
Diffstat (limited to 'source/passdb')
-rw-r--r-- | source/passdb/lookup_sid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/passdb/lookup_sid.c b/source/passdb/lookup_sid.c index f3103c0cc06..567ddac3db0 100644 --- a/source/passdb/lookup_sid.c +++ b/source/passdb/lookup_sid.c @@ -383,7 +383,7 @@ BOOL lookup_name(TALLOC_CTX *mem_ctx, /************************************************************************ Names from smb.conf can be unqualified. eg. valid users = foo - These names should never map to a remote name. Try lp_workgroup()\foo, + These names should never map to a remote name. Try global_sam_name()\foo, and then "Unix Users"\foo (or "Unix Groups"\foo). ************************************************************************/ @@ -402,9 +402,9 @@ BOOL lookup_name_smbconf(TALLOC_CTX *mem_ctx, ret_sid, ret_type); } - /* Try with our own domain name. */ + /* Try with our own SAM name. */ qualified_name = talloc_asprintf(mem_ctx, "%s\\%s", - lp_workgroup(), + get_global_sam_name(), full_name ); if (!qualified_name) { return False; |