git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eecc63
)
I introduced a bug in my last commits. Hopefully nobody noticed :-)
author
Jean-François Micouleau
<jfm@samba.org>
Mon, 9 Oct 2000 14:41:19 +0000
(14:41 +0000)
committer
Jean-François Micouleau
<jfm@samba.org>
Mon, 9 Oct 2000 14:41:19 +0000
(14:41 +0000)
J.F.
source/rpc_server/srv_samr.c
patch
|
blob
|
history
diff --git
a/source/rpc_server/srv_samr.c
b/source/rpc_server/srv_samr.c
index a0c043461f3733497c4960dc759a5ffa5d917fa1..93f1f704a817628ac2d801c89e8c02668ad20bd8 100644
(file)
--- a/
source/rpc_server/srv_samr.c
+++ b/
source/rpc_server/srv_samr.c
@@
-2150,8
+2150,8
@@
static uint32 _api_samr_open_alias(POLICY_HND domain_pol, uint32 alias_rid, POLI
DOM_SID sid;
/* get the domain policy. */
- if (
!open_lsa_policy_hnd(&domain_pol)
)
- return NT_STATUS_
OBJECT_NAME_NOT_FOUND
;
+ if (
find_lsa_policy_by_hnd(&domain_pol) == -1
)
+ return NT_STATUS_
INVALID_HANDLE
;
/* get a (unique) handle. open a policy on it. */
if (!open_lsa_policy_hnd(alias_pol))