I guess the problem is that you don't have quota tools compiled with USE_LDAP_MAIL_LOOKUP. Try
./configure --enable-ldapmail
and then recompile. If it does not help, I'd need to see the exact error message warnquota outputs.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I've go a problem using LDAP on warmquota.conf.
Here is the LDAP part of /etc/warnquota.conf
LDAP_MAIL = true
LDAP_HOST = localhost
LDAP_PORT = 389
# LDAP_BINDDN = uid=ReadOnlyUser,o=YourOrg
# LDAP_BINDPW = YourReadOnlyUserPassword
LDAP_BASEDN = "ou=Users,dc=i30,dc=in,dc=mydomain,dc=fr"
LDAP_SEARCH_ATTRIBUTE = "uid"
LDAP_MAIL_ATTRIBUTE = "mail"
but when I launch "warnquota" i've got an error for the lines after "LDAP_MAIL = true"
I guess the problem is that you don't have quota tools compiled with USE_LDAP_MAIL_LOOKUP. Try
./configure --enable-ldapmail
and then recompile. If it does not help, I'd need to see the exact error message warnquota outputs.