diff options
author | Volker Lendecke <vlendec@samba.org> | 1998-01-05 22:54:32 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 1998-01-05 22:54:32 +0000 |
commit | 8d50079a6e2d25e6a09d4830e140f83c6917acf2 (patch) | |
tree | 005fa7ce0704cea6275b305643b175507e770222 /source3/client/client.c | |
parent | 4bfffb86e3ad1c9eae0d5bd5a7067cb011304028 (diff) | |
download | samba-8d50079a6e2d25e6a09d4830e140f83c6917acf2.tar.gz samba-8d50079a6e2d25e6a09d4830e140f83c6917acf2.tar.bz2 samba-8d50079a6e2d25e6a09d4830e140f83c6917acf2.zip |
Added 3 commands:
smbmount: This is a stripped down smbclient that communicates with
the Linux 2.1.x kernel to supply authenticated smb connections for
smbfs mount points.
smbmnt/smbumount: setuid commands that do the actual smb mount system
call after having done the appropriate security checks
(This used to be commit ccbbc4e647ad900b215dae949d5bcd45671c68c8)
Diffstat (limited to 'source3/client/client.c')
-rw-r--r-- | source3/client/client.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index e5fa3a4bf7..49982760e1 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -3387,7 +3387,7 @@ static BOOL process(char *base_directory) bzero(OutBuffer,smb_size); - if (!cli_send_login(InBuffer,OutBuffer,True,True)) + if (!cli_send_login(InBuffer,OutBuffer,True,True,NULL)) return(False); if (*base_directory) do_cd(base_directory); @@ -3783,7 +3783,7 @@ static void usage(char *pname) return(1); bzero(OutBuffer,smb_size); - if (!cli_send_login(InBuffer,OutBuffer,True,True)) + if (!cli_send_login(InBuffer,OutBuffer,True,True,NULL)) return(False); if (*base_directory) do_cd(base_directory); @@ -3808,7 +3808,7 @@ static void usage(char *pname) #if 0 *username = 0; #endif - if (!cli_send_login(NULL,NULL,True,True)) + if (!cli_send_login(NULL,NULL,True,True,NULL)) return(1); server_info(); @@ -3859,7 +3859,7 @@ static void usage(char *pname) if (cli_open_sockets(port)) { - if (!cli_send_login(NULL,NULL,True,True)) return(1); + if (!cli_send_login(NULL,NULL,True,True,NULL)) return(1); do_nt_login(desthost, myhostname, Client, cnum); |