mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r17404: Is this XP (extreme programming)? :-)
With lp_workgroup we end up with remote names again... Volker
This commit is contained in:
parent
63325b3687
commit
250b9f3531
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user