#include <sasl.h>
#elif HAVE_SASL_SASL_H
#include <sasl/sasl.h>
-#elif HAVE_SASL_DARWIN
-typedef struct sasl_interact {
- unsigned long id; /* same as client/user callback ID */
- const char *challenge; /* presented to user (e.g. OTP challenge) */
- const char *prompt; /* presented to user (e.g. "Username: ") */
- const char *defresult; /* default result string */
- const void *result; /* set to point to result */
- unsigned len; /* set to length of result */
-} sasl_interact_t;
-
-#define SASL_CB_USER 0x4001 /* client user identity to login as */
-#define SASL_CB_AUTHNAME 0x4002 /* client authentication name */
-#define SASL_CB_PASS 0x4004 /* client passphrase-based secret */
-#define SASL_CB_ECHOPROMPT 0x4005 /* challenge and client enterred result */
-#define SASL_CB_NOECHOPROMPT 0x4006 /* challenge and client enterred result */
-#define SASL_CB_GETREALM 0x4008 /* realm to attempt authentication in */
-#define SASL_CB_LIST_END 0 /* end of list */
#endif
-#if HAVE_SASL_H || HAVE_SASL_SASL_H || HAVE_SASL_DARWIN
+#if HAVE_SASL_H || HAVE_SASL_SASL_H
void *lutil_sasl_defaults(
LDAP * ld,
char *mech,