Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Warnquota and LDAP

Help
AnOnJoe
2007-03-28
2013-03-26
  • AnOnJoe
    AnOnJoe
    2007-03-28

    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"

     
    • Jan Kara
      Jan Kara
      2007-03-29

      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.