[tpop3d-discuss] tpop3d v1.4.1pre4

Prune prune at lecentre.net
Mon, 25 Feb 2002 15:08:21 +0100


re,

looking at the code about mailbox defined in conf file :

  /* Mailbox locations, or attribute which specifies it. */
    s = config_get_string("auth-ldap-mailbox");
    t = config_get_string("auth-ldap-mailbox-attr");
    if (!s && t) {
        ldapinfo.attr.mailbox = xstrdup(t);
        if ((s = config_get_string("auth-ldap-mboxtype-attr")))
            ldapinfo.attr.mboxtype = xstrdup(s);
        else
            log_print(LOG_WARNING, _("auth_ldap_init: will guess mailbox 
types based upon filename"), ldapinfo.attr.mailbox);
    } else if (s && t) {
        log_print(LOG_ERR, _("auth_ldap_init: both an auth-ldap-mailbox 
and an auth-ldap-mailbox-attr directive were specified"));
        goto fail;
    }



-> what do we do if the auth-ldap-mailbox is defined ?
    aparently, nothing :)

-> what should we put in auth-ldap-mailbox ? the path to the mailbox, 
then the username will be appened ? (/auth-ldap-mailbox/username)

Cheers,

Prune