summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-07-16 14:35:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:39 -0500
commit57dd25cccbc0691dd4b84d2dca03497863b355ea (patch)
tree873acf17955046066c32e019882d93c5dde077e6 /source3/include
parent0f0e847e39de2f4084127f782261ad290ba042c7 (diff)
downloadsamba-57dd25cccbc0691dd4b84d2dca03497863b355ea.tar.gz
samba-57dd25cccbc0691dd4b84d2dca03497863b355ea.tar.bz2
samba-57dd25cccbc0691dd4b84d2dca03497863b355ea.zip
r23893: add dummy callbacks for LDAP SASL wrapping,
they're not used yet... metze (This used to be commit a3b97cdce719d9d5e82f26096c0e8c3a86ff3965)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/ads.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h
index 179aa742f2..ad7720fc36 100644
--- a/source3/include/ads.h
+++ b/source3/include/ads.h
@@ -54,16 +54,18 @@ typedef struct {
} config;
/* info about the current LDAP connection */
+#ifdef HAVE_ADS
struct {
-#ifdef HAVE_LDAP
LDAP *ld;
-#else
- void *ld; /* the active ldap structure */
-#endif
struct in_addr ip; /* the ip of the active connection, if any */
time_t last_attempt; /* last attempt to reconnect */
int port;
+
+#ifdef HAVE_ADS_SASL_WRAPPING
+ Sockbuf_IO_Desc *sbiod; /* lowlevel state for LDAP wrapping */
+#endif /* HAVE_ADS_SASL_WRAPPING */
} ldap;
+#endif /* HAVE_ADS */
} ADS_STRUCT;
/* used to remember the names of the posix attributes in AD */