Re: IMAPS with extra authorization.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22/07/10 06:56 -0500, Syren Baran wrote:
>Am Donnerstag, den 22.07.2010, 13:27 +0200 schrieb Josef Karliak:
>> Hi, thanks for tip. I used your entries now (I had anything else in
>> pam.d's imap config).
>
>> celer:/etc/pam.d # testsaslauthd -u user -p goodsystempass -s imap 0: OK
>> "Success."
>
>If you DONT want this, remove the line "auth required pam_unix.so".  But
>you wont be able to login as the cyrus user via cyradm!
>
>>    I've tried imaps from internet, it accept user from pwd file, but
>>    account from system too :-/. It can't from imaps :-/
>
>Is it possible to set the service name for imapd somehow?
>
>Would be a nice and clean solution to set the service name for "imapd -s"
>to "imaps" and just use a second pam file for that service.

The service name that gets passed to saslauthd is taken from the
sasl_server_init call inside the individual servers.  So it's always 'imap'
for all services started by imapd, and 'pop3' for all pop3d services.

I don't think it would be possible without a modification to the sasl code.

-- 
Dan White
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html



[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux