summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/smb_interfaces.h23
-rw-r--r--source4/include/structs.h1
2 files changed, 2 insertions, 22 deletions
diff --git a/source4/include/smb_interfaces.h b/source4/include/smb_interfaces.h
index 5fae275f10..6bd061bef4 100644
--- a/source4/include/smb_interfaces.h
+++ b/source4/include/smb_interfaces.h
@@ -201,31 +201,10 @@ union smb_tcon {
};
-enum smb_sesssetup_level {RAW_SESSSETUP_GENERIC, RAW_SESSSETUP_OLD, RAW_SESSSETUP_NT1, RAW_SESSSETUP_SPNEGO};
+enum smb_sesssetup_level {RAW_SESSSETUP_OLD, RAW_SESSSETUP_NT1, RAW_SESSSETUP_SPNEGO};
/* union used in session_setup call */
union smb_sesssetup {
-
- /* generic interface - used for auto selecting based on negotiated
- protocol options */
- struct {
- enum smb_sesssetup_level level;
-
- struct {
- uint32_t sesskey;
- uint32_t capabilities;
- const char *password;
- const char *user;
- const char *domain;
- } in;
- struct {
- uint16_t vuid;
- char *os;
- char *lanman;
- char *domain;
- } out;
- } generic;
-
/* the pre-NT1 interface */
struct {
enum smb_sesssetup_level level;
diff --git a/source4/include/structs.h b/source4/include/structs.h
index 2cffac1848..97449dc2b2 100644
--- a/source4/include/structs.h
+++ b/source4/include/structs.h
@@ -142,3 +142,4 @@ struct smbcli_composite;
struct smb_composite_loadfile;
struct smb_composite_savefile;
struct smb_composite_connect;
+struct smb_composite_sesssetup;