From 57dd25cccbc0691dd4b84d2dca03497863b355ea Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 16 Jul 2007 14:35:33 +0000 Subject: r23893: add dummy callbacks for LDAP SASL wrapping, they're not used yet... metze (This used to be commit a3b97cdce719d9d5e82f26096c0e8c3a86ff3965) --- source3/include/ads.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'source3/include/ads.h') 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 */ -- cgit