diff options
author | Jeremy Allison <jra@samba.org> | 2000-05-10 22:47:09 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-05-10 22:47:09 +0000 |
commit | 612738a9e14b6fb6a2687993d6416bbe6c3ea94d (patch) | |
tree | 55a78e514091bf38c7bd7cc445aade76338942af /source3/smbd | |
parent | 2c978311dcb869b91a7787feba7f537056f4b90d (diff) | |
download | samba-612738a9e14b6fb6a2687993d6416bbe6c3ea94d.tar.gz samba-612738a9e14b6fb6a2687993d6416bbe6c3ea94d.tar.bz2 samba-612738a9e14b6fb6a2687993d6416bbe6c3ea94d.zip |
lib/util_unistr.c:
libsmb/clilist.c:
rpc_server/srv_spoolss_nt.c:
smbd/trans2.c: Changed unistr_to_ascii to unistr_to_dos - do codepage conversion.
msdfs/msdfs.c: Removed stub unistr_to_dos.
libsmb/pwd_cache.c: Removed obfuscation functions as they don't do anything and
don't add any security.
Jeremy.
(This used to be commit 1ed146467e764e6a81d8f78cd58fb5765ebf5d21)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 55c0b306b0..e0156c083d 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -2118,7 +2118,7 @@ static int call_trans2getdfsreferral(connection_struct *conn, char* inbuf, /* NT always sends in UNICODE, may not set UNICODE flag */ if(NT_arch || (SVAL(inbuf,smb_flg2) & FLAGS2_UNICODE_STRINGS)) { - unistr_to_dos(pathname, ¶ms[2]); + unistr_to_dos(pathname, ¶ms[2], sizeof(pathname)); DEBUG(10,("UNICODE referral for %s\n",pathname)); } else |