[Dovecot] PAM and user at domain login?

Benny Pedersen me at junc.eu
Sat Nov 16 23:49:32 EET 2013


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 :(

> 
> # 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


More information about the dovecot mailing list