summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-15 03:08:22 +0000
committerJeremy Allison <jra@samba.org>2001-03-15 03:08:22 +0000
commiteb9e2882d2e837f823ccb63d6b54b93f9cdf3333 (patch)
tree0061887eb7391e85e363a80d02c4f54e2adbc631 /source3
parentf4b702cd5e2fcd428476006d08f09031ebf3d63e (diff)
downloadsamba-eb9e2882d2e837f823ccb63d6b54b93f9cdf3333.tar.gz
samba-eb9e2882d2e837f823ccb63d6b54b93f9cdf3333.tar.bz2
samba-eb9e2882d2e837f823ccb63d6b54b93f9cdf3333.zip
Final ! Fix.
Jeremy. (This used to be commit 58dd295882a944934014a31c61eed35bf04fc2bd)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_lsa_nt.c10
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;
}