CVS update: samba/source
Luke Leighton
lkcl at samba.anu.edu.au
Thu Jan 8 05:27:03 EST 1998
Date: Thursday January 8, 1998 @ 5:27
Author: lkcl
Update of /data/cvs/samba/source
In directory samba:/tmp/cvs-serv6044
Modified Files:
Tag: BRANCH_NTDOM
access.c client.c clientgen.c includes.h nameserv.h nmbd.c
nmbd_browsesync.c nmblib.c password.c proto.h pwd_validate.c
reply.c server.c smb.h util.c vt_mode.c
Added Files:
Tag: BRANCH_NTDOM
clientmnt.c
Log Message:
complicated commit, which involved adding smbmount code. originally.
a couple of issues came up, which needed resolving.
1) client_addr() and client_name() use int Client in util.c. only
smbd actually uses the int Client file descriptor. therefore,
client_addr() and client_name() should only be used in smbd,
which they are not.
volker, you call "close_sockets()" in smbmount.c, which probably
shouldn't be done
2) the client structures needed to store full connection details in
order to do a "cli_reestablish_connection" function. later, the
plan is to have an "smbopen" command and a "smbclose" command
like the "open" and "bye" commands of ftp. a destination
host, username, password, domain should all be selectable and
the connection re-established with a new server. without quitting
smbclient.
3) volker, i've done a _preliminary_ start on the smbclient "mount"
command. it's still dependent on the linux kernel structures,
and there really should be some version #defines that can be
picked up on in samba, from <linux/smbfs.h>
i've slightly modified some of the functions: close_sockets() is
_not_ used, for example. i call cli_shutdown(cli) because that
is exactly the functionality of the code you sent me (which i
notice from the 1.9.18 branch is the contents of smbmount.c) in
the while(1) loop of cli_mount_send_fs_socket().
More information about the samba-cvs
mailing list