[Dovecot] PAM and user at domain login?

Larry Rosenman larryrtx at gmail.com
Sat Nov 16 23:59:15 EET 2013


I haven't seen one that I can find, Timo -- It might be a good thing
to either add it, or modify your PAM calls to do it by design.....

On 11/16/13, Timo Sirainen <tss at iki.fi> wrote:
> On 16.11.2013, at 23.49, Benny Pedersen <me at junc.eu> wrote:
>
>> Larry Rosenman skrev den 2013-11-16 22:31:
>>> It doesn't seem to like it there....
>>
>> Timo?
>>
>> but you miss to setup realm in 10-auth.conf
>>
>> auth_username_format=%n is so only global setting :(
>
> That’s been in my TODO for a while, so yeah, not possible currently. I’m not
> sure if there might be some PAM plugin that drops out the @domain.
>
>>
>>> # authentication to actually work. <doc/wiki/PasswordDatabase.PAM.txt>
>>> passdb {
>>>  driver = pam
>>>  # [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=<n>]
>>>  # [cache_key=<key>] [<service name>]
>>>  #args = dovecot
>>>  auth_username_format = %u
>>> }
>>> # System users (NSS, /etc/passwd, or similiar).
>>> # In many systems nowadays this uses Name Service Switch, which is
>>> # configured in /etc/nsswitch.conf. <doc/wiki/AuthDatabase.Passwd.txt>
>>> #passdb {
>>>  #driver = passwd
>>>  # [blocking=no]
>>> auth-system.conf.ext: 75 lines, 2210 characters.
>>> # doveconf
>>> # 2.2.6: /usr/local/etc/dovecot/dovecot.conf
>>> doveconf: Fatal: Error in configuration file
>>> /usr/local/etc/dovecot/conf.d/auth-system.conf.ext line 15: Unknown
>>> setting: auth_username_format
>>> doveconf: Error: managesieve-login: dump-capability process returned 89
>>> doveconf: Fatal: Error in configuration file
>>> /usr/local/etc/dovecot/conf.d/auth-system.conf.ext line 15: Unknown
>>> setting: auth_username_format
>>> #
>>> On Sat, Nov 16, 2013 at 3:26 PM, Benny Pedersen <me at junc.eu> wrote:
>>>> Larry Rosenman skrev den 2013-11-16 21:01:
>>>> and how can I restrict it to PAM only?
>>>> put auth_username_format=%n into passdb pam driver container only
>>>> but showed dovecot -n say you only using pam, so have this global is
>>>> working aswell
>>
>> --
>> senders that put my email into body content will deliver it to my own
>> trashcan, so if you like to get reply, dont do it
>
>


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: larryrtx at gmail.com
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688


More information about the dovecot mailing list