summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
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
commit8d50079a6e2d25e6a09d4830e140f83c6917acf2 (patch)
tree005fa7ce0704cea6275b305643b175507e770222 /source3/include/smb.h
parent4bfffb86e3ad1c9eae0d5bd5a7067cb011304028 (diff)
downloadsamba-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/include/smb.h')
-rw-r--r--source3/include/smb.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 401459becc..ebf0945855 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1628,6 +1628,25 @@ struct connect_record
time_t start;
};
+/* This is used by smbclient to send it to a smbfs mount point */
+struct connection_options {
+ int protocol;
+ /* Connection-Options */
+ uint32 max_xmit;
+ uint16 server_uid;
+ uint16 tid;
+ /* The following are LANMAN 1.0 options */
+ uint16 sec_mode;
+ uint16 max_mux;
+ uint16 max_vcs;
+ uint16 rawmode;
+ uint32 sesskey;
+ /* The following are NT LM 0.12 options */
+ uint32 maxraw;
+ uint32 capabilities;
+ uint16 serverzone;
+};
+
#ifndef LOCKING_VERSION
#define LOCKING_VERSION 4
#endif /* LOCKING_VERSION */