summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-06-11 01:03:06 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-06-11 01:03:06 +0000
commitc6e63aa896a10656f6205828e744b722fc72f8ac (patch)
treea491f34425b6a5c47c4284c18e30c53cc57d112f /source3/client
parent56adabeed7739cf800000adbf3d9530f2174442a (diff)
downloadsamba-c6e63aa896a10656f6205828e744b722fc72f8ac.tar.gz
samba-c6e63aa896a10656f6205828e744b722fc72f8ac.tar.bz2
samba-c6e63aa896a10656f6205828e744b722fc72f8ac.zip
Makefile: Added quoata changes for Linux from Thorvald Natvig
Makefile.RPM: Added quoata changes for Linux from Thorvald Natvig charset.c: Large changes to add multiple client code pages. charset.h: Changed charset_initialise() proto. client.c: Fixed message sending bug. Changed charset_initialise(). ipc.c: Fixed #ifdef compile problems. loadparm.c: Added "client code page" option. nmbd.c: Changed charset_initialise(). Fixed lmhosts read. nmblookup.c: Changed charset_initialise(). proto.h: Added lp_client_code_page(void). quotas.c: Added quoata changes for Linux from Thorvald Natvig reply.c: Changed debug level. Made SMBecho ignore tid. server.c: Changed charset_initialise(). smb.h: Added DEFAULT_CLIENT_CODE_PAGE as 850. smbpasswd.c: Changed charset_initialise(). status.c: Changed charset_initialise(). testparm.c: Changed charset_initialise(). testprns.c: Changed charset_initialise(). Jeremy Allison (jallison@whistle.com) (This used to be commit 957025bace1bcff34d21a6caeca498e85abccb23)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 32bbbae8cd..873c88e88c 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -2921,7 +2921,7 @@ static BOOL send_session_request(char *inbuf,char *outbuf)
/* put in the destination name */
p = outbuf+len;
- name_mangle(dest,p,0x20); /* 0x20 is the SMB server NetBIOS type. */
+ name_mangle(dest,p,name_type); /* 0x20 is the SMB server NetBIOS type. */
len += name_len(p);
/* and my name */
@@ -4316,7 +4316,7 @@ static void usage(char *pname)
setup_logging(pname,True);
TimeInit();
- charset_initialise();
+ charset_initialise(0);
pid = getpid();
uid = getuid();