diff options
author | Luke Leighton <lkcl@samba.org> | 1999-09-21 21:04:03 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-09-21 21:04:03 +0000 |
commit | 0a6eac0b79dd818ca747423c228eca876faf10af (patch) | |
tree | 4486d7820f6ec848632e874fabb57c898e6c8037 /source3/include | |
parent | 701f9ed2c97ad50a4258e278a3674b8f5a747d8e (diff) | |
download | samba-0a6eac0b79dd818ca747423c228eca876faf10af.tar.gz samba-0a6eac0b79dd818ca747423c228eca876faf10af.tar.bz2 samba-0a6eac0b79dd818ca747423c228eca876faf10af.zip |
testing for attempts to get more info levels into samr_query_userinfo
(This used to be commit cc19d5cc5c20665beb3b7c5fcf7787d54e37ea71)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 10 | ||||
-rw-r--r-- | source3/include/rpc_samr.h | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index a12f76b66d..7f4ec9cc7e 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -558,6 +558,12 @@ void reset_globals_after_fork(void); char *client_name(int fd); char *client_addr(int fd); +/*The following definitions come from lib/util_status.c */ + +BOOL get_connection_status(struct connect_record **crec, + uint32 *connection_count); +BOOL get_session_count(struct connect_record **srec,uint32 *session_count); + /*The following definitions come from lib/util_str.c */ void set_first_token(char *ptr); @@ -1854,7 +1860,7 @@ BOOL get_samr_query_aliasmem(struct cli_state *cli, uint16 fnum, BOOL get_samr_query_userinfo(struct cli_state *cli, uint16 fnum, POLICY_HND *pol_open_domain, uint32 info_level, - uint32 user_rid, SAM_USER_INFO_21 *usr); + uint32 user_rid, void *usr); BOOL get_samr_query_groupinfo(struct cli_state *cli, uint16 fnum, POLICY_HND *pol_open_domain, uint32 info_level, @@ -2668,7 +2674,7 @@ void make_sam_user_info11(SAM_USER_INFO_11 *usr, uint32 rid_group, uint16 acct_ctrl); void sam_io_user_info11(char *desc, SAM_USER_INFO_11 *usr, prs_struct *ps, int depth); -void make_sam_user_info_24(SAM_USER_INFO_24 *usr, +void make_sam_user_info24(SAM_USER_INFO_24 *usr, char newpass[516]); void make_sam_user_info23(SAM_USER_INFO_23 *usr, diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h index 8c38571198..ddf359b181 100644 --- a/source3/include/rpc_samr.h +++ b/source3/include/rpc_samr.h @@ -1166,6 +1166,8 @@ typedef struct r_samr_query_user_info SAM_USER_INFO_10 *id10; /* auth-level 0x10 */ SAM_USER_INFO_11 *id11; /* auth-level 0x11 */ SAM_USER_INFO_21 *id21; /* auth-level 21 */ + SAM_USER_INFO_23 *id23; /* auth-level 0x17 */ + SAM_USER_INFO_24 *id24; /* auth-level 0x18 */ void* id; /* to make typecasting easy */ } info; |