X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcitadel_ldap.h;h=b1305b83c5f383c5ebd581c1d0cc80694c0327a9;hb=HEAD;hp=e39b9e611833dd7cfd6fe1ce3612e673f7f40c44;hpb=572e013dfa09ec04b047eb256b3139bca41037a4;p=citadel.git diff --git a/citadel/citadel_ldap.h b/citadel/citadel_ldap.h deleted file mode 100644 index e39b9e611..000000000 --- a/citadel/citadel_ldap.h +++ /dev/null @@ -1,13 +0,0 @@ -/* - * - */ - -#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, int *found_uid); -int CtdlTryPasswordLDAP(char *user_dn, char *password);