diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 12 | ||||
-rw-r--r-- | source3/include/rpc_netlogon.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 064e2f32a5..3c7128efff 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2302,7 +2302,7 @@ uint32 msrpc_sam_enum_aliases( const char* srv_name, ALIAS_INFO_FN(als_inf_fn), ALIAS_MEM_FN(als_mem_fn)); BOOL create_samr_domain_user( POLICY_HND *pol_dom, - const char *acct_name, uint16 acb_info, + char *acct_name, uint16 acb_info, const char* password, int plen, uint32 *rid); BOOL create_samr_domain_alias( POLICY_HND *pol_open_domain, @@ -2349,7 +2349,7 @@ BOOL get_samr_query_aliasinfo( uint32 info_level, uint32 alias_rid, ALIAS_INFO_CTR *ctr); BOOL msrpc_sam_create_dom_user(const char* srv_name, DOM_SID *sid1, - const char *acct_name, uint16 acb_info, + char *acct_name, uint16 acb_info, const char *password, int plen, uint32 *rid); BOOL msrpc_sam_query_dispinfo(const char* srv_name, const char* domain, @@ -2516,12 +2516,12 @@ BOOL smb_io_log_info(char *desc, DOM_LOG_INFO *log, prs_struct *ps, int depth); BOOL smb_io_chal(char *desc, DOM_CHAL *chal, prs_struct *ps, int depth); BOOL smb_io_cred(char *desc, DOM_CRED *cred, prs_struct *ps, int depth); BOOL make_clnt_info2(DOM_CLNT_INFO2 *clnt, - char *logon_srv, char *comp_name, + const char *logon_srv, const char *comp_name, DOM_CRED *clnt_cred); BOOL smb_io_clnt_info2(char *desc, DOM_CLNT_INFO2 *clnt, prs_struct *ps, int depth); BOOL make_clnt_info(DOM_CLNT_INFO *clnt, - char *logon_srv, char *acct_name, - uint16 sec_chan, char *comp_name, + const char *logon_srv, const char *acct_name, + uint16 sec_chan, const char *comp_name, DOM_CRED *cred); BOOL smb_io_clnt_info(char *desc, DOM_CLNT_INFO *clnt, prs_struct *ps, int depth); BOOL make_owf_info(OWF_INFO *hash, uint8 data[16]); @@ -2587,7 +2587,7 @@ BOOL make_sam_info(DOM_SAM_INFO *sam, const char *logon_srv, const char *comp_name, DOM_CRED *clnt_cred, DOM_CRED *rtn_cred, uint16 logon_level, - NET_ID_INFO_CTR *ctr, uint16 validation_level); + NET_ID_INFO_CTR *ctr); BOOL make_net_user_info3(NET_USER_INFO_3 *usr, NTTIME *logon_time, diff --git a/source3/include/rpc_netlogon.h b/source3/include/rpc_netlogon.h index 6842fd6e07..31d8a3c1e5 100644 --- a/source3/include/rpc_netlogon.h +++ b/source3/include/rpc_netlogon.h @@ -345,14 +345,14 @@ typedef struct sam_info DOM_CRED rtn_cred; /* return credentials */ uint16 logon_level; NET_ID_INFO_CTR *ctr; - uint16 validation_level; } DOM_SAM_INFO; /* NET_Q_SAM_LOGON */ typedef struct net_q_sam_logon_info { - DOM_SAM_INFO sam_id; + DOM_SAM_INFO sam_id; + uint16 validation_level; } NET_Q_SAM_LOGON; |