summaryrefslogtreecommitdiffstats
path: root/source/client/client.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>1998-01-05 22:54:32 +0000
committerVolker Lendecke <vlendec@samba.org>1998-01-05 22:54:32 +0000
commitccbbc4e647ad900b215dae949d5bcd45671c68c8 (patch)
tree331d42a88404a47a59d3ba756fec1218c99762b7 /source/client/client.c
parent6a55305070f7dfd8a615a7f2c6d10c171ff8f0c5 (diff)
downloadsamba-ccbbc4e647ad900b215dae949d5bcd45671c68c8.tar.gz
samba-ccbbc4e647ad900b215dae949d5bcd45671c68c8.tar.xz
samba-ccbbc4e647ad900b215dae949d5bcd45671c68c8.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
Diffstat (limited to 'source/client/client.c')
-rw-r--r--source/client/client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/client/client.c b/source/client/client.c
index e5fa3a4bf71..49982760e1d 100644
--- a/source/client/client.c
+++ b/source/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);