Author: vlendec Date: 2006-08-04 20:43:21 +0000 (Fri, 04 Aug 2006) New Revision: 17404
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17404 Log: Is this XP (extreme programming)? :-) With lp_workgroup we end up with remote names again... Volker Modified: branches/SAMBA_3_0/source/passdb/lookup_sid.c Changeset: Modified: branches/SAMBA_3_0/source/passdb/lookup_sid.c =================================================================== --- branches/SAMBA_3_0/source/passdb/lookup_sid.c 2006-08-04 20:39:37 UTC (rev 17403) +++ branches/SAMBA_3_0/source/passdb/lookup_sid.c 2006-08-04 20:43:21 UTC (rev 17404) @@ -383,7 +383,7 @@ /************************************************************************ 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 @@ 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;
