From eb9e2882d2e837f823ccb63d6b54b93f9cdf3333 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 15 Mar 2001 03:08:22 +0000 Subject: Final ! Fix. Jeremy. (This used to be commit 58dd295882a944934014a31c61eed35bf04fc2bd) --- source3/rpc_server/srv_lsa_nt.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c index 46c4789928..0a20aec8f4 100644 --- a/source3/rpc_server/srv_lsa_nt.c +++ b/source3/rpc_server/srv_lsa_nt.c @@ -362,7 +362,6 @@ uint32 _lsa_query_info(pipes_struct *p, LSA_Q_QUERY_INFO *q_u, LSA_R_QUERY_INFO name = global_myworkgroup; sid = &global_sam_sid; break; - case ROLE_STANDALONE: case ROLE_DOMAIN_MEMBER: if (secrets_fetch_domain_sid(global_myworkgroup, &domain_sid)) @@ -374,6 +373,10 @@ uint32 _lsa_query_info(pipes_struct *p, LSA_Q_QUERY_INFO *q_u, LSA_R_QUERY_INFO else return NT_STATUS_CANT_ACCESS_DOMAIN_INFO; break; + case ROLE_STANDALONE: + name = global_myname; + sid = &global_sam_sid; + break; default: return NT_STATUS_CANT_ACCESS_DOMAIN_INFO; } @@ -385,7 +388,6 @@ uint32 _lsa_query_info(pipes_struct *p, LSA_Q_QUERY_INFO *q_u, LSA_R_QUERY_INFO { case ROLE_DOMAIN_PDC: case ROLE_DOMAIN_BDC: - case ROLE_STANDALONE: name = global_myworkgroup; sid = &global_sam_sid; break; @@ -399,6 +401,10 @@ uint32 _lsa_query_info(pipes_struct *p, LSA_Q_QUERY_INFO *q_u, LSA_R_QUERY_INFO else return NT_STATUS_CANT_ACCESS_DOMAIN_INFO; break; + case ROLE_STANDALONE: + name = global_myname; + sid = &global_sam_sid; + break; default: return NT_STATUS_CANT_ACCESS_DOMAIN_INFO; } -- cgit