diff options
author | Luke Leighton <lkcl@samba.org> | 1998-10-21 01:35:01 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-10-21 01:35:01 +0000 |
commit | 9307940876a6c226969e9169d55c0408cd7ab032 (patch) | |
tree | f52268ed32f852349028ee36aa2b8e5ebcb4bd01 /source3/include | |
parent | 053d6c605caebf5ed61b86f320da6a35f0c5257f (diff) | |
download | samba-9307940876a6c226969e9169d55c0408cd7ab032.tar.gz samba-9307940876a6c226969e9169d55c0408cd7ab032.tar.bz2 samba-9307940876a6c226969e9169d55c0408cd7ab032.zip |
fixing smbd encrypted rpcs (data lens, alloc hints, sequence nums argh).
put unicode strings after SAMLOGON query regardless of whether it's
an NT mailslot or a non-NT mailslot, after having observed this behaviour
out of NT machines.
(This used to be commit c101113ec20ed0ba633e78e4ee45596cdccaf1b5)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index b177e8d789..206c1b309a 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -267,6 +267,7 @@ int smb_buflen(char *buf); char *smb_buf(char *buf); int smb_offset(char *p,char *buf); char *skip_string(char *buf,int n); +size_t str_charnum(char *s); BOOL trim_string(char *s,char *front,char *back); void dos_clean_name(char *s); void unix_clean_name(char *s); @@ -1594,7 +1595,7 @@ void make_rpc_auth_ntlmssp_resp(RPC_AUTH_NTLMSSP_RESP *rsp, char *domain, char *user, char *wks, uint32 neg_flags); void smb_io_rpc_auth_ntlmssp_resp(char *desc, RPC_AUTH_NTLMSSP_RESP *rsp, prs_struct *ps, int depth); -BOOL rpc_auth_ntlmssp_chk(RPC_AUTH_NTLMSSP_CHK *chk, uint32 crc32, uint32 *seq_num); +BOOL rpc_auth_ntlmssp_chk(RPC_AUTH_NTLMSSP_CHK *chk, uint32 crc32, uint32 seq_num); void make_rpc_auth_ntlmssp_chk(RPC_AUTH_NTLMSSP_CHK *chk, uint32 ver, uint32 crc32, uint32 seq_num); void smb_io_rpc_auth_ntlmssp_chk(char *desc, RPC_AUTH_NTLMSSP_CHK *chk, prs_struct *ps, int depth); |