Fix the build.
authorJelmer Vernooij <jelmer@samba.org>
Thu, 21 Feb 2008 17:11:44 +0000 (18:11 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 21 Feb 2008 17:11:44 +0000 (18:11 +0100)
source/libcli/raw/clisession.c
source/libcli/raw/libcliraw.h

index 74e8d85..5a33d9c 100644 (file)
@@ -22,6 +22,7 @@
 #include "includes.h"
 #include "libcli/raw/libcliraw.h"
 #include "system/filesys.h"
+#include "param/param.h"
 
 #define SETUP_REQUEST_SESSION(cmd, wct, buflen) do { \
        req = smbcli_request_setup_session(session, cmd, wct, buflen); \
index 0ea8f9d..0578a9e 100644 (file)
@@ -188,8 +188,9 @@ struct smbcli_session {
        struct gensec_security *gensec;
 
        struct smbcli_session_options {
-               uint_t lanman_auth;
-               uint_t ntlmv2_auth;
+               uint_t lanman_auth:1;
+               uint_t ntlmv2_auth:1;
+               uint_t plaintext_auth:1;
        } options;
 };