On Wed, 13 Nov 2002, Gardiner Leverett wrote:
> A possible addition for future versions of Cyrus: maybe add a config
> option in the cyrus.conf file to allow this translation without
> re-compiling.
I would happly code such a thing, if the CMU crew point me to what must
absolutely NOT be folded
To complete this thread...
I modified the lib/auth_unix.c file with the code below, added
a -DENEABLE_EDUNET in the Makefile in the lib dir, did a
make clean, make, and make install, and now all of the id's are
translated to lowercase, and Cyrus is happy. Thanks Voutsinas!
A possible addition
in lib/auth_unix.c:
/* Copy the string and look up values in the allowedchars array above.
* If we see any we don't like, reject the string.
*/
sawalpha = 0;
for(p = retbuf; *p; p++) {
switch (allowedchars[*(unsigned char*) p]) {
case 0:
return NUL
.
/* Map of which characters are allowed by auth_canonifyid.
* Key: 0 -> not allowed (special, ctrl, or would confuse Unix or imapd)
* 1 -> allowed, but requires an alpha somewhere else in the string
* 2 -> allowed, and is an alpha
*
* At least one character must be an al
Gardiner Leverett wrote:
> The problem is this:
> On the new machine, a user mailbox is "foobar" for example.
> The user connects (through the client) as "FOOBAR". SASL
> authenticates the user fine, but the user can't see the INBOX
> or any other folders. If the user connects as "foobar", SAS
A while back, I sent mail to the list about our efforts to get
Cyrus/SASL/LDAP all working together with FreeBSD.
Okay, that all works, but now we have a different issue:
We were transitioning users from Cyrus 1.5.19 (on Solaris)
to 2.1.9 (on FreeBSD). The users have been connecting via
IMAP t