On Tue, Nov 27, 2007 at 04:04:19PM -0800, Pocketmail Ops wrote:
> We are using ldap as the authentication method and it appears
> that if the email address of the account starts with a number, then Courier
> Imap uses that number as the UID to access the email rather than the UID set
> in the configuration files.
...
>    LDAP_GID                mail

Well, it's only doing what you told it to :-)

You told it to get the account's GID from the LDAP attribute called "mail"
It reads this attribute, and if it starts with a digit then it uses atoi()
or equivalent to convert it.

Just comment out this line and you should be fine.

>    LDAP_UID                pmuser

Comment that out too, unless your LDAP entries really have an attribute
called "pmuser" which contains the user ID to use for that particular
account.

If all your accounts are using the same uid and gid, then LDAP_GLOB_UID and
LDAP_GLOB_GID are what you want to set.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to