summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-12-18 02:17:46 +0000
committerJeremy Allison <jra@samba.org>2001-12-18 02:17:46 +0000
commit5d3b81dede7afe92976e7d798e5b85151d3b56a2 (patch)
treed7cb85d876ab1af55e242f75c065da13798b2924
parent2a6eeff2a7a7c8c2ada79a3d1270998287d726e9 (diff)
downloadsamba-5d3b81dede7afe92976e7d798e5b85151d3b56a2.tar.gz
samba-5d3b81dede7afe92976e7d798e5b85151d3b56a2.tar.bz2
samba-5d3b81dede7afe92976e7d798e5b85151d3b56a2.zip
I'm pretty sure we need to return our netbios name for LSA_QUERY_INFO
level 5 when we're a standalone server. This makes the security dialogs return correct info. JF - please check ! Jeremy. (This used to be commit dd13daf52bc96637ef3d40920cbd3bcadb7e08f5)
-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 7987be5472..4791e2ac08 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -514,7 +514,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_STANDALONE:
- name = global_myworkgroup;
+ name = global_myname;
sid = &global_sam_sid;
break;
default: