allow_nets=local in passdb gets "auth: Panic"

SATOH Fumiyasu fumiyas at osstech.jp
Tue Dec 22 06:10:00 UTC 2015


Hi,

I have the following configuration in my dovecot.conf for Dovecot 2.2.21:

passdb {
  driver = ldap
  args = /etc/dovecot/dovecot-ldap.conf.ext
  default_fields = allow_nets=local,127.0.0.1,10.255.1.0/24
}

This triggers "auth: Panic" on POP3/IMAP logins as the below:

Dec 22 14:57:39 localhost dovecot: auth: ldap(u0000,::1,<oiF8SHYngqsAAAAAAAAAAAAAAAAAAAAB>): allow_nets: Invalid network 'local'
Dec 22 14:57:39 localhost dovecot: auth: Panic: file net.c: line 1137 (net_is_in_network): assertion failed: (IPADDR_IS_V6(ip) == IPADDR_IS_V6(net_ip))

`doveadm auth test <username> <password>` is no problem as expected.

What's wrong?

Regards,

-- 
-- Name: SATOH Fumiyasu @ OSS Technology Corp. (fumiyas @ osstech co jp)
-- Business Home: http://www.OSSTech.co.jp/
-- GitHub Home: https://GitHub.com/fumiyas/
-- PGP Fingerprint: BBE1 A1C9 525A 292E 6729  CDEC ADC2 9DCA 5E1C CBCA


More information about the dovecot mailing list