diff options
author | Jean-François Micouleau <jfm@samba.org> | 2000-09-27 13:02:57 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2000-09-27 13:02:57 +0000 |
commit | 8c93ddf3e0ea80d482cbee7bf233c32fc69955bb (patch) | |
tree | ca4da3e33310108a2e455da1aeb554d12ca2d7fa /source3/include/rpc_samr_old.h | |
parent | e8fbf2cbadb81eee9e342da7bdbe6f30c3bb7cb2 (diff) | |
download | samba-8c93ddf3e0ea80d482cbee7bf233c32fc69955bb.tar.gz samba-8c93ddf3e0ea80d482cbee7bf233c32fc69955bb.tar.xz samba-8c93ddf3e0ea80d482cbee7bf233c32fc69955bb.zip |
samr unknown 0x32 is in fact samr create user.
so renamed and tidy up of the server function.
J.F.
(This used to be commit 0f707ac1fb5685b800d6599b9074ec1d4e65b1c1)
Diffstat (limited to 'source3/include/rpc_samr_old.h')
-rw-r--r-- | source3/include/rpc_samr_old.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source3/include/rpc_samr_old.h b/source3/include/rpc_samr_old.h index 29c1672425..d385f18e76 100644 --- a/source3/include/rpc_samr_old.h +++ b/source3/include/rpc_samr_old.h @@ -92,7 +92,7 @@ SamrTestPrivateFunctionsUser #define SAMR_UNKNOWN_12 0x12 #define SAMR_UNKNOWN_21 0x21 #define SAMR_UNKNOWN_2C 0x2c -#define SAMR_UNKNOWN_32 0x32 +#define SAMR_CREATE_USER 0x32 #define SAMR_UNKNOWN_34 0x34 #define SAMR_CHGPASSWD_USER 0x37 #define SAMR_UNKNOWN_38 0x38 @@ -983,10 +983,10 @@ typedef struct q_samr_unknown_21_info } SAMR_Q_UNKNOWN_21; -/* SAMR_Q_UNKNOWN_32 - probably a "create SAM entry" */ -typedef struct q_samr_unknown_32_info +/* SAMR_Q_CREATE_USER - probably a "create SAM entry" */ +typedef struct q_samr_create_user_info { - POLICY_HND pol; /* policy handle */ + POLICY_HND pol; /* policy handle */ UNIHDR hdr_mach_acct; /* unicode machine account name header */ UNISTR2 uni_mach_acct; /* unicode machine account name */ @@ -995,20 +995,20 @@ typedef struct q_samr_unknown_32_info uint16 unknown_1; /* 16 bit unknown - 0x00B0 */ uint16 unknown_2; /* 16 bit unknown - 0xe005 */ -} SAMR_Q_UNKNOWN_32; +} SAMR_Q_CREATE_USER; -/* SAMR_R_UNKNOWN_32 - probably a "create SAM entry" */ -typedef struct r_samr_unknown_32_info +/* SAMR_R_CREATE_USER - probably a "create SAM entry" */ +typedef struct r_samr_create_user_info { - POLICY_HND pol; /* policy handle */ + POLICY_HND pol; /* policy handle */ /* rid4.unknown - fail: 0030 success: 0x03ff */ DOM_RID4 rid4; /* rid and attributes */ uint32 status; /* return status - fail: 0xC000 0099: user exists */ -} SAMR_R_UNKNOWN_32; +} SAMR_R_CREATE_USER; /* SAMR_Q_OPEN_ALIAS - probably an open */ typedef struct q_samr_open_alias_info |