Hozzászólások
saslauthd.conf -ot kellene belőni pár sorral, ha jól látom.
üdv
- A hozzászóláshoz be kell jelentkezni
[quote:4d4f766096="gabcsi"]
Jan 2 09:53:30 localhost postfix/smtpd[4940]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Jan 2 09:53:30 localhost postfix/smtpd[4940]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Jan 2 09:53:30 localhost postfix/smtpd[4940]: warning: SASL authentication failure: Password verification failed
Jan 2 09:53:30 localhost postfix/smtpd[4940]: warning: dark.brc[192.168.1.1]: SASL PLAIN authentication failed
Jan 2 09:53:30 localhost postfix/smtpd[4940]: lost connection after AUTH from dark.brc[192.168.1.1]
Jan 2 09:53:30 localhost postfix/smtpd[4940]: disconnect from dark.brc[192.168.1.1]
/$mittomen/lib/sasl2/smtpd.conf kornyeken neznek szet a te helyedben.
- A hozzászóláshoz be kell jelentkezni
Hal1!
Authentikalt smtp kijaratot szeretnek csinalni postfix es LDAP segitsegevel (debian sarge).
A main.cf ide tartozo resze:
#ldap virtual aliases
#altmail maps altmailaddress to mail
ldapaltmail_timeout = 15
ldapaltmail_server_host = ldap
ldapaltmail_server_port = 389
ldapaltmail_search_base = dc=cc
ldapaltmail_domain = hash:/etc/postfix/searchdomains
ldapaltmail_query_filter =(accountstatus=active)
ldapaltmail_result_attribute = mail
ldapaltmail_special_result_attribute = uniquemember
ldapaltmail_bind = yes
ldapaltmail_bind_dn = cn=admin,dc=cc
ldapaltmail_bind_pw = titkos
#SASL
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
smtpd_sender_login_maps = ldap:/etc/postfix/ldap-sender_login_maps.cf
#broken_sasl_auth_clients = yes
Az ldap-sender_login_maps.cf:
server_host = ldap
server_port = 389
bind = yes
bind_dn = cn=admin,dc=cc
bind_pw = titkos
search_base = dc=cc
query_filter = (&(uid=%s)(accountStatus=active))
result_attribute = mail
Enek ellenere a sasldb2-ben keresi az auth-ot.
Jan 2 09:53:27 localhost postfix/smtpd[4940]: connect from dark.brc[192.168.1.1]
Jan 2 09:53:30 localhost postfix/smtpd[4940]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Jan 2 09:53:30 localhost postfix/smtpd[4940]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Jan 2 09:53:30 localhost postfix/smtpd[4940]: warning: SASL authentication failure: Password verification failed
Jan 2 09:53:30 localhost postfix/smtpd[4940]: warning: dark.brc[192.168.1.1]: SASL PLAIN authentication failed
Jan 2 09:53:30 localhost postfix/smtpd[4940]: lost connection after AUTH from dark.brc[192.168.1.1]
Jan 2 09:53:30 localhost postfix/smtpd[4940]: disconnect from dark.brc[192.168.1.1]
Hogyan lehetne osszehozni, hogy az smtp hasznalatahoz authentikalni kelljen es mindez ldap-bol.
koszi.
- A hozzászóláshoz be kell jelentkezni