summaryrefslogtreecommitdiff
path: root/source3/msdfs
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-05-10 22:47:09 +0000
committerJeremy Allison <jra@samba.org>2000-05-10 22:47:09 +0000
commit612738a9e14b6fb6a2687993d6416bbe6c3ea94d (patch)
tree55a78e514091bf38c7bd7cc445aade76338942af /source3/msdfs
parent2c978311dcb869b91a7787feba7f537056f4b90d (diff)
downloadsamba-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/msdfs')
-rw-r--r--source3/msdfs/msdfs.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/source3/msdfs/msdfs.c b/source3/msdfs/msdfs.c
index f1b19dfe02..aadc63f04e 100644
--- a/source3/msdfs/msdfs.c
+++ b/source3/msdfs/msdfs.c
@@ -438,19 +438,3 @@ int setup_dfs_referral(char* pathname, int max_referral_level,
}
#endif
-
-/* Trivial fn that chops off upper bytes to convert unicode to dos */
-void unistr_to_dos(char* dst,char* src)
-{
- pstring s;
- int i=0;
-
- for(i=0;SVAL(src,i*2) && i<1024;i++)
- {
- s[i]= SVAL(src,i*2) & 0xff;
- }
- s[i]=0;
-
- safe_strcpy(dst,s,1024);
- DEBUG(10,("converted unistring to %s\n",s));
-}