* LDAP auth config now read from config file
[citadel.git] / citadel / citadel_ldap.h
index aff1a363f237f1263da3f4116664ea875f2f9149..41cae48ea1f203a7dd8d883af4e298d3596f9967 100644 (file)
@@ -1,12 +1,7 @@
 /*
- * 
+ * Configuration for LDAP authentication.  Most of this stuff gets pulled out of our site config file.
  */
 
-#define CTDL_LDAP_HOST "ldaptest.xand.com"
-#define CTDL_LDAP_PORT LDAP_PORT               /* defined as 389 */
-#define BASE_DN                "dc=xand,dc=com"
-#define BIND_DN                NULL                    /* "cn=Manager,dc=xand,dc=com" for authenticated bind */
-#define BIND_PW                NULL                    /* put pw here for authenticated bind */
 #define SEARCH_STRING  "(&(objectclass=posixAccount)(uid=%s))"
 
 int CtdlTryUserLDAP(char *username, char *found_dn, int found_dn_size, char *fullname, int fullname_size, uid_t *found_uid);