git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd346ce
)
Match Win2k, and return NT_STATUS_INVALID_PARAMETER
author
Andrew Bartlett
<abartlet@samba.org>
Fri, 2 Jan 2004 23:55:44 +0000
(23:55 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 2 Jan 2004 23:55:44 +0000
(23:55 +0000)
if this parameter is not an account type
Andrew Bartlett
(This used to be commit
faddf5d8f9821176f4367caaf61844980df9f79c
)
source3/rpc_server/srv_samr_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_samr_nt.c
b/source3/rpc_server/srv_samr_nt.c
index be5f197198e518b6496a03a04bc72eafc1fe8874..bd26ce6849f400dfa093ad9baafc2f843c1558bc 100644
(file)
--- a/
source3/rpc_server/srv_samr_nt.c
+++ b/
source3/rpc_server/srv_samr_nt.c
@@
-2135,9
+2135,9
@@
NTSTATUS _samr_create_user(pipes_struct *p, SAMR_Q_CREATE_USER *q_u, SAMR_R_CREA
return nt_status;
}
- if (!
acb_info
) {
+ if (!
(acb_info == ACB_NORMAL || acb_info == ACB_DOMTRUST || acb_info == ACB_WSTRUST || acb_info == ACB_SVRTRUST)
) {
/* Match Win2k, and return NT_STATUS_INVALID_PARAMETER if
- this parameter is
zero (ie, no user type specified)
*/
+ this parameter is
not an account type
*/
return NT_STATUS_INVALID_PARAMETER;
}