summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2001-12-18 00:32:45 +0000
committerJean-François Micouleau <jfm@samba.org>2001-12-18 00:32:45 +0000
commite6111117325f286028c08b51ad4f598eeba55c89 (patch)
treef388a63bc30420fd10671ea5709d19ecfaa03ed8
parenta94ff206c6a55777e1aaeeb32ca9d0842f0196b9 (diff)
downloadsamba-e6111117325f286028c08b51ad4f598eeba55c89.tar.gz
samba-e6111117325f286028c08b51ad4f598eeba55c89.tar.bz2
samba-e6111117325f286028c08b51ad4f598eeba55c89.zip
in lsa_query_info at level 5 in member mode, we must reply our machine
name and not our domain name. I thought it has been already fixed ! J.F. (This used to be commit 1fbb01868b489c896ad1c65ded223999b0ee6013)
-rw-r--r--source3/rpc_server/srv_lsa_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index fa95e9f79f..7987be5472 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -510,7 +510,7 @@ NTSTATUS _lsa_query_info(pipes_struct *p, LSA_Q_QUERY_INFO *q_u, LSA_R_QUERY_INF
sid = &global_sam_sid;
break;
case ROLE_DOMAIN_MEMBER:
- name = global_myworkgroup;
+ name = global_myname;
sid = &global_sam_sid;
break;
case ROLE_STANDALONE: