#ifndef LDAPCHECK #define LDAPCHECK #ifdef WIN32 #include "windows.h" #include "winldap.h" #define ldap_init ldap_initA #define ldap_start_tls_s ldap_start_tls_sA #define ldap_simple_bind_s ldap_simple_bind_sA #else #define LDAP_DEPRECATED 1 #include "ldap.h" #include <stdlib.h> #endif int LDAPCheck( char *host, char *port, char *bind_dn, char *bind_pw, bool TLS=false); #endif
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 7332 | Nick Poole |
Preliminary version of AuthCheck A multi-stage authentication application for use as an authentication trigger. Currently only tested against an LDAP server without TLS and against a flat file with plain-text passwords. (Under Windows XP). ToDo: Test against TLS enabled LDAP. Test against AD's LDAP interface. Test build on *nix. Add MD5 hashed flat file mode. Add DB modes (SQLite, MySQL, etc). |