summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-05-02 20:32:17 +0000
committerJeremy Allison <jra@samba.org>2001-05-02 20:32:17 +0000
commitdea501bc5fbafddef502c788cf7f44d9034e0fcd (patch)
treebc8460ac1da709326a544a5a19176d440cdf26ed /source3/rpc_server
parent3c525aaaa381055d34e2b66e95ae5320f3b9ac58 (diff)
downloadsamba-dea501bc5fbafddef502c788cf7f44d9034e0fcd.tar.gz
samba-dea501bc5fbafddef502c788cf7f44d9034e0fcd.tar.bz2
samba-dea501bc5fbafddef502c788cf7f44d9034e0fcd.zip
Fix noticed by John Trostel - we need to return our account SID for level 5.
Jeremy. (This used to be commit acf32f277d1a45f49fa3bf6af82850e35df9ae5a)
Diffstat (limited to 'source3/rpc_server')
-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 6f1719b530..9d80cb5b82 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -394,7 +394,7 @@ uint32 _lsa_query_info(pipes_struct *p, LSA_Q_QUERY_INFO *q_u, LSA_R_QUERY_INFO
break;
case ROLE_STANDALONE:
name = global_myname;
- sid = NULL; /* Tell it we're not in a domain. */
+ sid = &global_sam_sid;
break;
default:
return NT_STATUS_CANT_ACCESS_DOMAIN_INFO;