Hi cyrus users,

I'm working on an migration project from Netscape Message Server (AIX)
to a Linux Postfix/Openldap/Cyrus-Imapd solution.

On Netscape Message Server the user-id which the Netscape Client sent to
the IMAP4/POP3 server is not case sensitive. I read on the archive the
cyrus user-id is case sensitiv.

I attached a patch of lib/auth_unix.c which will always convert an
identifier to a lowercase canonified-identifier.

Can anybody discuss this issue with me ?
Is it the right source location to do this patch ?

Regards,
Dirk

diff -uNr cyrus-imapd-2.0.16.dirk/lib/auth_unix.c cyrus-imapd-2.0.16/lib/auth_unix.c
--- cyrus-imapd-2.0.16.dirk/lib/auth_unix.c     Wed Aug 22 19:40:49 2001
+++ cyrus-imapd-2.0.16/lib/auth_unix.c  Wed Aug 22 20:07:51 2001
@@ -197,7 +197,7 @@
     p = retbuf;
     sawalpha = 0;
     while (*identifier) {
-       *p = *identifier++;
+       *p = tolower ( *identifier++ );
 
        switch (allowedchars[*(unsigned char*) p]) {
        case 0:

Reply via email to