I'm pretty sure we need to return our netbios name for LSA_QUERY_INFO
authorJeremy Allison <jra@samba.org>
Tue, 18 Dec 2001 02:17:46 +0000 (02:17 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 18 Dec 2001 02:17:46 +0000 (02:17 +0000)
level 5 when we're a standalone server. This makes the security dialogs
return correct info. JF - please check !
Jeremy.

source/rpc_server/srv_lsa_nt.c

index 7987be54728a9521165183e05db35b948139f2c1..4791e2ac0870cdf1ac3273e6d74bd1bd91c97f6f 100644 (file)
@@ -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: