summaryrefslogtreecommitdiff
path: root/source3/client/clientutil.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-08-19 11:17:29 +0000
committerAndrew Tridgell <tridge@samba.org>1996-08-19 11:17:29 +0000
commit0c33046a0aa0461a5e932dd7b0b6e38ab9708867 (patch)
treeb13fbdac31812c64671a735def4b9cca4f4a615f /source3/client/clientutil.c
parent6433c8db94ec0591e5eb1b3c1c610fa4d6618962 (diff)
downloadsamba-0c33046a0aa0461a5e932dd7b0b6e38ab9708867.tar.gz
samba-0c33046a0aa0461a5e932dd7b0b6e38ab9708867.tar.bz2
samba-0c33046a0aa0461a5e932dd7b0b6e38ab9708867.zip
- added "netbios name" option in smb.conf to make controlling the name
that samba uses possible - added "socket address" option to allow virtual SMB servers (on systems with IP aliasing line Linux) - disabled FAST_SHARE_MODES by default in Linux as older Linux boxes can't do shared writeable mappings. We really need autoconf ... - added new option types in loadparm so a string type can be specified ot be uppercase only, this is used for the workgroup and netbios name options - auto-create the lock directory if it doesn't exist in shared mem startup - get rid of announce_backup() - change a few comments in nmbd code - rewrote the chaining code completely. Hopefully it will handle any depth chains now. - added LPRng support (This used to be commit e9eac6cd49c352349580ddb13d720cb201aecc48)
Diffstat (limited to 'source3/client/clientutil.c')
-rw-r--r--source3/client/clientutil.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source3/client/clientutil.c b/source3/client/clientutil.c
index 41c482196a..e684d42612 100644
--- a/source3/client/clientutil.c
+++ b/source3/client/clientutil.c
@@ -31,7 +31,7 @@
pstring service="";
pstring desthost="";
-pstring myname = "";
+extern pstring myname;
pstring password = "";
pstring username="";
pstring workgroup=WORKGROUP;
@@ -819,10 +819,8 @@ BOOL cli_open_sockets(int port)
DEBUG(5,("Opening sockets\n"));
if (*myname == 0)
- {
- get_myname(myname,NULL);
- strupper(myname);
- }
+ get_myname(myname,NULL);
+ strupper(myname);
if (!have_ip)
{