summaryrefslogtreecommitdiffstats
path: root/source3/include/libsmbclient.h
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/libsmbclient.h
parentd1b7d109fa2b0c4a4b410ecf18b2f457cf90fcf5 (diff)
downloadsamba-c24c328a9e006473f4dba49fdf1842fb28952ec7.tar.gz
samba-c24c328a9e006473f4dba49fdf1842fb28952ec7.tar.xz
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/libsmbclient.h')
-rw-r--r--source3/include/libsmbclient.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h
index aaa19cb191b..efb04285a7f 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).