On 25/07/13 18:01, Prashanth Katuri wrote:
> Hi,
>
> I have installed exim-4.80.1 version and trying to test something, but found the couple of fields were empty. Btw I came to know that traffic is not reaching LDAP server when performing the below test.
>
> pkaturi@gb0882ldaptst00:~$ exim -C /tmp/dgs.exim -d+lookup -bt pkaturi@???<mailto:pkaturi@slb.com>
> <mailto:dgraystephens@slb.com>Exim version 4.80.1 uid=15002 gid=15000 pid=6336 D=fbb95cfd
> Berkeley DB: Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
> Support for: iconv() Perl DKIM
> Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch dbm dbmjz dbmnz ldap ldapdn ldapm
> Authenticators:
> Routers: accept dnslookup ipliteral manualroute queryprogram redirect
> Transports: appendfile autoreply pipe smtp
> Fixed never_users: 0
> Size of off_t: 4
> Compiler: GCC [3.4.6]
> Library version: PCRE: Compile: 8.32
> Runtime: 8.32 2012-11-30
> Total 10 lookups
> WHITELIST_D_MACROS unset
> TRUSTED_CONFIG_LIST unset
> changed uid/gid: -C, -D, -be or -bf forces real uid
> uid=15002 gid=15000 pid=6336
> auxiliary group list: 15000 6 500 101 25000 25001 333
> seeking password data for user "root": cache not available
> getpwnam() succeeded uid=0 gid=0
> configuration file is /tmp/dgs.exim
> log selectors = 00000ffc 00212001
> Starting Perl interpreter
> admin user
> changing group to 6 failed: Not owner
[...]
> --------> slb_aliasuser router <--------
> local_part=pkaturi domain=slb.com
> checking domains
> slb.com in "slb.com"? yes (matched "slb.com")
> checking "condition"
> search_open: ldapm "NULL"
> search_find: file="NULL"
> key="ldap:///o=slb,c=an?alias,mail,cn,ou,telephonenumber,o?sub?(&(mail=*)(alias=pkaturi))" partial=-1 affix=NULL starflags=0
> LRU list:
> 7/etc/aliases
> End
> internal_search_find: file="NULL"
> type=ldapm key="ldap:///o=slb,c=an?alias,mail,cn,ou,telephonenumber,o?sub?(&(mail=*)(alias=pkaturi))"
> database lookup required for ldap:///o=slb,c=an?alias,mail,cn,ou,telephonenumber,o?sub?(&(mail=*)(alias=pkaturi))
> LDAP parameters: user=NULL pass=NULL size=0 time=0 connect=0 dereference=0 referrals=on
> perform_ldap_search: ldapm URL = "ldap:///o=slb,c=an?alias,mail,cn,ou,telephonenumber,o?sub?(&(mail=*)(alias=pkaturi))" server=gb0135ldap00.ldap.slb.com port=390 sizelimit=0 timelimit=0 tcplimit=0
> after ldap_url_parse: host=o=slb,c=an port=954024
> Bus Error
> gray@gb0882ldaptst00:~$
Can you get a core dump from it? Even better, a stack trace?
--
Cheers,
Jeremy