Hello.

On Tue, 8 Oct 2002, David Humphrey wrote:

> Mattias,
>
> I am not sure how much Courier uses the query fields in LDAP.  I have
> found that it doesn't seem to use the "LDAP_MAILROOT" or "LDAP_MAILDIR"
> either, so it *is* possible that this is just another field that doesn't
> seem to work.  (not knocking, just trying to work with it...)

Well, as far as I can see authldap does use this attribute. authldaplib.c
does read the evironment vars from authldaprc.

from authldaplib.c

line 898
        read_env("LDAP_HOMEDIR", &attributes[0], "", 0, "homeDir");
        read_env("LDAP_MAILDIR", &attributes[1], "", 0, 0);
        read_env("LDAP_FULLNAME", &attributes[2], "", 0, "cn");
        read_env("LDAP_CLEARPW", &attributes[3], "", 0, 0);
        read_env("LDAP_CRYPTPW", &attributes[4], "", 0, 0);
        read_env("LDAP_UID", &attributes[5], "", 0, 0);
        read_env("LDAP_GID", &attributes[6], "", 0, 0);
        attributes[7]=my_ldap.mail;
        read_env("LDAP_MAILDIRQUOTA", &attributes[8], "", 0, 0);


line 1009

        if (attributes[8])
                copy_value(my_ldap_fp,entry,attributes[8],&quota, user);

        if (homeDir != 0 && my_ldap.mailroot != 0 && *my_ldap.mailroot)
        {
                char *new_mailroot=malloc(strlen(homeDir)+
                                          strlen(my_ldap.mailroot)+2);

...
And Courier-imap did use my initial mailQuota setting, but did not
recognize the change. Not even after a restart of the service.


>
> However, looking at the courier schema definitions, the correct field to
> query on for the quota information seems to be defined as 'quota' rather
> than 'mailQuoata'.
>
> ...not sure how much *this* helps  :-)
>


Best Regards

Mattias Webj�rn Eriksson



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to