Cannot get loginrealms to work with 2.0.16

Christian Schulte cs at schulte.it
Mon Sep 16 18:44:09 EDT 2002


Michael Fair wrote:

>You didn't provide us enough information as to
>which strings exactly you are trying to 
>authenticate with and do your domains include
>"." in them and if so do you have unixheirsep
>turned on so that "." is allowed in names.
>
>A properly configured environment would:
>A) Have unixheirsep turned on
>
schulte-00:18:46:~/cyrus-imapd-2.0.16 >for i in `find .`;do grep 
"unixheirsep" $i; done
schulte-00:19:01:~/cyrus-imapd-2.0.16 >

I cannot find the string unixheirsep in the whole source distribution! 
Is it a cyrus specific setting or some unix system setting ? What's it 
all about ?

>B) Each user mailbox would be created with
>     cm user/user at domain.dom
>
Cyradm says:

localhost> cm user/testtesttest at testtesttest.test
createmailbox: Invalid mailbox name

localhost> cm user.testtesttest at testtesttest
localhost> lm
...
user.testtesttest at testtesttest
...

localhost> lam user.testtesttest at testtesttest
testtesttest at testtesttest lrswipcda

So it seems that I am able to create a mailbox 
user.testtesttest at testtesttest

saslpasswd -u testtesttest -c testtesttest

but then I cannot login with testtesttest at testtesttest :-(

>C) saslpasswd would have been run as:
>     saslpasswd -u domain.dom -c user
>
That's exactly as I did it...

>D) The user would type their username as:
>     user at domain.dom
>  
>
...and that's what I want ;-)

>It's possible that what might be happening
>is your IMAP users are authenticating just
>fine, but they have no "INBOX" so it looks
>like SASL isn't authenticating.  What do you
>see in your logs?
>
Sep 17 00:32:12 saslpasswd[8183]: [ID 702911 auth.info] PLAIN: set 
secret for testtesttest
Sep 17 00:32:12 saslpasswd[8183]: [ID 702911 auth.info] DIGEST-MD5: set 
secret for testtesttest
Sep 17 00:32:12 saslpasswd[8183]: [ID 702911 auth.info] CRAM-MD5: set 
secret for testtesttest
Sep 17 00:32:30 master[8185]: [ID 392559 local6.debug] about to exec 
/usr/local/bin/imapd
Sep 17 00:32:30 service-imap[8185]: [ID 518349 local6.debug] executed
Sep 17 00:32:30 imapd[8185]: [ID 921384 local6.debug] accepted connection

and nothing more !

I think I will manage it if I knew what is ment by unixheirsep !

Thanks !

-- Christian --





More information about the Info-cyrus mailing list