diff options
author | Luke Leighton <lkcl@samba.org> | 1999-02-11 18:50:13 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-02-11 18:50:13 +0000 |
commit | c6d16eea4394ff1c4d12cb435eebb0686b5ee736 (patch) | |
tree | 05204f5e3d5ff44efc246891a84aa2f76ec70314 /source3/libsmb | |
parent | 0e402f197da78abca13d08d924027ac68d51a1d2 (diff) | |
download | samba-c6d16eea4394ff1c4d12cb435eebb0686b5ee736.tar.gz samba-c6d16eea4394ff1c4d12cb435eebb0686b5ee736.tar.bz2 samba-c6d16eea4394ff1c4d12cb435eebb0686b5ee736.zip |
the UNICODE issue...
(This used to be commit 73db80f34183324845407b00f58462ff2d7b47ea)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clientgen.c | 2 | ||||
-rw-r--r-- | source3/libsmb/smbencrypt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index d40c95b9c1..60498c8fb2 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -226,7 +226,7 @@ static char *fix_char_ptr(unsigned int datap, unsigned int converter, /**************************************************************************** send a SMB trans or trans2 request ****************************************************************************/ -static BOOL cli_send_trans(struct cli_state *cli, int trans, +BOOL cli_send_trans(struct cli_state *cli, int trans, char *name, int pipe_name_len, int fid, int flags, uint16 *setup, int lsetup, int msetup, diff --git a/source3/libsmb/smbencrypt.c b/source3/libsmb/smbencrypt.c index dd801e5982..ead34aaa3d 100644 --- a/source3/libsmb/smbencrypt.c +++ b/source3/libsmb/smbencrypt.c @@ -209,7 +209,7 @@ BOOL make_oem_passwd_hash(char data[516], const char *passwd, uchar old_pw_hash[ generate_random_buffer((unsigned char *)data, 516, False); if (unicode) { - struni2( &data[512 - new_pw_len], passwd); + str_to_unistr8( &data[512 - new_pw_len], passwd); } else { |