diff options
author | Jean-François Micouleau <jfm@samba.org> | 2000-09-28 17:35:03 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2000-09-28 17:35:03 +0000 |
commit | b06d83c909e0587accf93e090c62395ff8b1bb87 (patch) | |
tree | 673a6627b0bbf870ff1377a4da0b58081387e9c5 /source3/include/rpc_samr_old.h | |
parent | 1ef79dbcabbe58c1338040eaea9fbcfe3b7ea105 (diff) | |
download | samba-b06d83c909e0587accf93e090c62395ff8b1bb87.tar.gz samba-b06d83c909e0587accf93e090c62395ff8b1bb87.tar.bz2 samba-b06d83c909e0587accf93e090c62395ff8b1bb87.zip |
fixed samr_create_user(). we now correctly parse the query and the reply.
And we create the disabled account. That means we can create user and
trust accounts remotely !
ifdef out a return in passdb/smbpass.c. I think I didn't break any
security. Jeremy could you check if I didn't make any mistakes ???
J.F.
(This used to be commit 416be1b64f366c8b859f25856fce2467ec0446d9)
Diffstat (limited to 'source3/include/rpc_samr_old.h')
-rw-r--r-- | source3/include/rpc_samr_old.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source3/include/rpc_samr_old.h b/source3/include/rpc_samr_old.h index d385f18e76..620f5bc628 100644 --- a/source3/include/rpc_samr_old.h +++ b/source3/include/rpc_samr_old.h @@ -991,9 +991,8 @@ typedef struct q_samr_create_user_info UNIHDR hdr_mach_acct; /* unicode machine account name header */ UNISTR2 uni_mach_acct; /* unicode machine account name */ - uint32 acct_ctrl; /* 32 bit ACB_XXXX */ - uint16 unknown_1; /* 16 bit unknown - 0x00B0 */ - uint16 unknown_2; /* 16 bit unknown - 0xe005 */ + uint32 acb_info; /* 32 bit ACB_XXXX */ + uint32 access_mask; /* 0xe005 00b0 */ } SAMR_Q_CREATE_USER; @@ -1003,9 +1002,8 @@ typedef struct r_samr_create_user_info { POLICY_HND pol; /* policy handle */ - /* rid4.unknown - fail: 0030 success: 0x03ff */ - DOM_RID4 rid4; /* rid and attributes */ - + uint32 unknown_0; /* 0x0007 03ff */ + uint32 user_rid; /* user RID */ uint32 status; /* return status - fail: 0xC000 0099: user exists */ } SAMR_R_CREATE_USER; |