diff options
author | Jeremy Allison <jra@samba.org> | 2001-03-15 02:49:06 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-03-15 02:49:06 +0000 |
commit | 41cb452b73cd70c4a9997d9d8af6c2b18fcf0d22 (patch) | |
tree | 57320b99f5da941d4e2171677b440f86e4b9c2fb | |
parent | 4eecea3edfe739fbcad46d0111ac04a16304f74d (diff) | |
download | samba-41cb452b73cd70c4a9997d9d8af6c2b18fcf0d22.tar.gz samba-41cb452b73cd70c4a9997d9d8af6c2b18fcf0d22.tar.bz2 samba-41cb452b73cd70c4a9997d9d8af6c2b18fcf0d22.zip |
Return correct error message if we can't get the SID secret.
Jeremy.
(This used to be commit c202ebe3b6aa413fa7b00ec6d1b3f123f1e1a55b)
-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 f78836b155..08885682ad 100644 --- a/source3/rpc_server/srv_lsa_nt.c +++ b/source3/rpc_server/srv_lsa_nt.c @@ -371,8 +371,11 @@ uint32 _lsa_query_info(pipes_struct *p, LSA_Q_QUERY_INFO *q_u, LSA_R_QUERY_INFO name = global_myname; sid = &domain_sid; } - default: + else + return NT_STATUS_CANT_ACCESS_DOMAIN_INFO; break; + default: + return NT_STATUS_CANT_ACCESS_DOMAIN_INFO; } init_dom_query(&r_u->dom.id3, name, sid); break; @@ -393,8 +396,11 @@ uint32 _lsa_query_info(pipes_struct *p, LSA_Q_QUERY_INFO *q_u, LSA_R_QUERY_INFO name = global_myname; sid = &domain_sid; } - default: + else + return NT_STATUS_CANT_ACCESS_DOMAIN_INFO; break; + default: + return NT_STATUS_CANT_ACCESS_DOMAIN_INFO; } init_dom_query(&r_u->dom.id5, name, sid); break; |