summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-01-24 20:21:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:10 -0500
commitc24c328a9e006473f4dba49fdf1842fb28952ec7 (patch)
tree43fee66886e5699d379784db1267bc5433fefd17 /source3/include
parentd1b7d109fa2b0c4a4b410ecf18b2f457cf90fcf5 (diff)
downloadsamba-c24c328a9e006473f4dba49fdf1842fb28952ec7.tar.gz
samba-c24c328a9e006473f4dba49fdf1842fb28952ec7.tar.bz2
samba-c24c328a9e006473f4dba49fdf1842fb28952ec7.zip
r4970: Fix for bug 2092, allowing fallback after kerberos and allow
gnome vfs to prevent auto-anonymous logon. Jeremy. (This used to be commit 843e85bcd978d025964c4d45d9a3886c7cf7f63c)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/client.h1
-rw-r--r--source3/include/libsmbclient.h6
2 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index c182544362..8ae8faf90d 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -144,6 +144,7 @@ struct cli_state {
uint16 max_recv_frag;
BOOL use_kerberos;
+ BOOL fallback_after_kerberos;
BOOL use_spnego;
BOOL use_oplocks; /* should we use oplocks? */
diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h
index aaa19cb191..efb04285a7 100644
--- a/source3/include/libsmbclient.h
+++ b/source3/include/libsmbclient.h
@@ -455,9 +455,15 @@ struct _SMBCCTX {
* do _NOT_ touch this from your program !
*/
struct smbc_internal_data * internal;
+
+ int flags;
};
+/* Flags for SMBCCTX->flags */
+#define SMB_CTX_FLAG_USE_KERBEROS (1 << 0)
+#define SMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS (1 << 1)
+#define SMBCCTX_FLAG_NO_AUTO_ANONYMOUS_LOGON (1 << 2) /* don't try to do automatic anon login */
/**@ingroup misc
* Create a new SBMCCTX (a context).