Re: [exim] NIS Auth not working

Etusivu
Poista viesti
Vastaa
Lähettäjä: kmb
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] NIS Auth not working

Additional Information:


I was able to run exim interactively and pass the base64 auth
information and here is the results ( with the password xxxx out )


Code:
--------------------

[root@mail ~]# exim -d+auth -bh 192.168.25.156 25
Exim version 4.68 uid=0 gid=0 pid=5430 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (June 6, 2007)
Support for: crypteq iconv() PAM Perl OpenSSL Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz nis nis0
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply pipe smtp
Size of off_t: 8
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=5430
auxiliary group list: <none>
seeking password data for user "exim": cache not available
getpwnam() succeeded uid=93 gid=93
configuration file is /etc/exim.conf
log selectors = 00000ffc 00212001
trusted user
admin user
changed uid/gid: privilege not needed
uid=93 gid=93 pid=5430
auxiliary group list: 12 93
seeking password data for user "exim": using cached result
getpwnam() succeeded uid=93 gid=93
seeking password data for user "apache": cache not available
getpwnam() succeeded uid=48 gid=48
originator: uid=0 gid=0 login=root name=root
sender address = root@???
sender_fullhost = [192.168.25.156]
sender_rcvhost = [192.168.25.156]

**** SMTP testing session as if from host 192.168.25.156
**** but without any ident (RFC 1413) callback.
**** This is not for real!

host in hosts_connection_nolog? no (option unset)
LOG: smtp_connection MAIN
SMTP connection from [192.168.25.156]
host in host_lookup? yes (matched "*")
looking up host name for 192.168.25.156
DNS lookup of 156.25.168.192.in-addr.arpa (PTR) gave HOST_NOT_FOUND
returning DNS_NOMATCH
IP address lookup using gethostbyaddr()
IP address lookup failed: h_errno=1
LOG: host_lookup_failed MAIN
no host name found for IP address 192.168.25.156
sender_fullhost = [192.168.25.156]
sender_rcvhost = [192.168.25.156]
set_process_info: 5430 handling incoming connection from [192.168.25.156]
host in host_reject_connection? no (option unset)
host in sender_unqualified_hosts? no (option unset)
host in recipient_unqualified_hosts? no (option unset)
host in helo_verify_hosts? no (option unset)
host in helo_try_verify_hosts? no (option unset)
host in helo_accept_junk_hosts? no (option unset)
SMTP>> 220 mail.gosignal.com ESMTP Exim 4.68 Mon, 22 Sep 2008 08:09:35 -0400

220 mail.gosignal.com ESMTP Exim 4.68 Mon, 22 Sep 2008 08:09:35 -0400
smtp_setup_msg entered
ehlo gosignal.com
SMTP<< ehlo gosignal.com
gosignal.com in helo_lookup_domains? no (end of list)
sender_fullhost = (gosignal.com) [192.168.25.156]
sender_rcvhost = [192.168.25.156] (helo=gosignal.com)
set_process_info: 5430 handling incoming connection from (gosignal.com) [192.168.25.156]
host in pipelining_advertise_hosts? yes (matched "*")
host in auth_advertise_hosts? yes (matched "*")
host in tls_advertise_hosts? no (option unset)
250-mail.gosignal.com Hello gosignal.com [192.168.25.156]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN
250 HELP
SMTP>> 250-mail.gosignal.com Hello gosignal.com [192.168.25.156]

250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN
250 HELP
AUTH PLAIN BGtldmluAGxldG1laW4=
SMTP<< AUTH PLAIN BGtldmluAGxldG1laW4=
fixed_plain authenticator:
$auth1 =
$auth2 = kevin
$auth3 = xxxxxxx
$1 =
$2 = kevin
$3 = xxxxxxx
search_open: nis "passwd.byname"
search_find: file="passwd.byname"
key="kevin" partial=-1 affix=NULL starflags=0
LRU list:
internal_search_find: file="passwd.byname"
type=nis key="kevin"
file lookup required for kevin
in passwd.byname
lookup failed
crypteq: using crypt()
subject=**GKKnIBE2/Rw
crypted=*
expanded string: 0
SMTP>> 535 Incorrect authentication data

535 Incorrect authentication data
LOG: MAIN REJECT
fixed_plain authenticator failed for (gosignal.com) [192.168.25.156]: 535 Incorrect authentication data (set_id=kevin)
--------------------


--
kmb


------------------------------------------------------------------------
kmb's Profile: http://www.exim-users.org/forums/member.php?action=getinfo&userid=1
View this thread: http://www.exim-users.org/forums/showthread.php?threadid=57206