* LDAP auth code is now complete. Config is still hardcoded, though; need to fix...
[citadel.git] / citadel / citadel_ldap.h
index e39b9e611833dd7cfd6fe1ce3612e673f7f40c44..aff1a363f237f1263da3f4116664ea875f2f9149 100644 (file)
@@ -9,5 +9,5 @@
 #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 CtdlTryUserLDAP(char *username, char *found_dn, int found_dn_size, char *fullname, int fullname_size, uid_t *found_uid);
 int CtdlTryPasswordLDAP(char *user_dn, char *password);