summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-13 19:21:51 +0000
committerJeremy Allison <jra@samba.org>2001-03-13 19:21:51 +0000
commit0f710e9bdc740a30468cc85131bf60848306b6bb (patch)
treec96d74df7ffca4e171796f7fd7c56d486f456d11
parent63107eceb9d679ddc9bf2c66bd18c7958332a8f9 (diff)
downloadsamba-0f710e9bdc740a30468cc85131bf60848306b6bb.tar.gz
samba-0f710e9bdc740a30468cc85131bf60848306b6bb.tar.bz2
samba-0f710e9bdc740a30468cc85131bf60848306b6bb.zip
AS/U does setuserinfo2, level 0x12 when joining a domain - identical to setuserinfo level 0x12.
Jeremy. (This used to be commit d4ad197f711d5c5f2f60083b396f6dd7e6eca8c0)
-rw-r--r--source3/rpc_server/srv_samr_nt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 4ff7125fce..dbed5227b0 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -2288,6 +2288,11 @@ uint32 _samr_set_userinfo2(pipes_struct *p, SAMR_Q_SET_USERINFO2 *q_u, SAMR_R_SE
if (!set_user_info_10(ctr->info.id10, rid))
return NT_STATUS_ACCESS_DENIED;
break;
+ case 18:
+ /* Used by AS/U JRA. */
+ if (!set_user_info_12(ctr->info.id12, rid))
+ return NT_STATUS_ACCESS_DENIED;
+ break;
default:
return NT_STATUS_INVALID_INFO_CLASS;
}