diff options
author | Jeremy Allison <jra@samba.org> | 2001-03-15 03:08:22 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-03-15 03:08:22 +0000 |
commit | eb9e2882d2e837f823ccb63d6b54b93f9cdf3333 (patch) | |
tree | 0061887eb7391e85e363a80d02c4f54e2adbc631 /source3/rpc_server/srv_lsa_nt.c | |
parent | f4b702cd5e2fcd428476006d08f09031ebf3d63e (diff) | |
download | samba-eb9e2882d2e837f823ccb63d6b54b93f9cdf3333.tar.gz samba-eb9e2882d2e837f823ccb63d6b54b93f9cdf3333.tar.bz2 samba-eb9e2882d2e837f823ccb63d6b54b93f9cdf3333.zip |
Final ! Fix.
Jeremy.
(This used to be commit 58dd295882a944934014a31c61eed35bf04fc2bd)
Diffstat (limited to 'source3/rpc_server/srv_lsa_nt.c')
-rw-r--r-- | source3/rpc_server/srv_lsa_nt.c | 10 |
1 files changed, 8 insertions, 2 deletions
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; } |