[Dovecot] PAM and user at domain login?

Larry Rosenman larryrtx at gmail.com
Sat Nov 16 23:31:25 EET 2013


It doesn't seem to like it there....

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


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