diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-10-26 07:32:02 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-10-26 07:32:02 +0000 |
commit | a342ff5bf407679918a1a5d0c2faaf0a3465d303 (patch) | |
tree | 99e7bf3368f00c21a04960598804bac4af516742 /source3/client | |
parent | 326da272da002677c48e3ee7caae3c0b00da1bde (diff) | |
download | samba-a342ff5bf407679918a1a5d0c2faaf0a3465d303.tar.gz samba-a342ff5bf407679918a1a5d0c2faaf0a3465d303.tar.bz2 samba-a342ff5bf407679918a1a5d0c2faaf0a3465d303.zip |
The browse synchronisation code in nmbsync.c now uses the clientgen.c
code, which means we don't have to link with a fake getpass routine
and we don't have a whole pile of global variables that really have
nothing to do with nmbd and were there to keep the client code happy.
The code should function identically to what it did before (hopefully
it was correct)
The only thing that now uses the horrible clientutil.c code is
smbclient.
(This used to be commit 4bf5c03b18f88b566f3ac12cc4b3a9c5c96fd35d)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/clientutil.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/client/clientutil.c b/source3/client/clientutil.c index 9919f0a2d3..47cb78f0ce 100644 --- a/source3/client/clientutil.c +++ b/source3/client/clientutil.c @@ -683,12 +683,13 @@ BOOL cli_send_login(char *inbuf,char *outbuf,BOOL start_session,BOOL use_setup) uid = SVAL(inbuf,smb_uid); } - if (SVAL(inbuf, smb_vwv2) & 1) - DEBUG(1,("connected as guest ")); - if (sec_mode & 1) + if (sec_mode & 1) { + if (SVAL(inbuf, smb_vwv2) & 1) + DEBUG(1,("connected as guest ")); DEBUG(1,("security=user\n")); - else + } else { DEBUG(1,("security=share\n")); + } /* now we've got a connection - send a tcon message */ bzero(outbuf,smb_size); |