LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-19-2005, 02:26 PM   #1
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Sendmail: Unknown error 325 with LDAP


I've been using LDAP maps and LDAP routing with sendmail for quite some time now. The version of sendmail I'm using is the RPM release for Fedora Core 3, sendmail-8.13.1-2.

The LDAP-specific portions of my sendmail.mc file are:
RELAY_DOMAIN_FILE(`@LDAP')dnl
LDAPROUTE_DOMAIN_FILE(`@LDAP')dnl
FEATURE(`access_db', LDAP)dnl
FEATURE(`ldap_routing')dnl

When trying to recompile (need to start using -D_FFR_DEAL_WITH_ERROR_SSL) myself, I find either the original source release 8.13.1, or the current release 8.13.5 do not work properly. When running sendmail -d0.1 -bv root, I get:
/etc/mail/sendmail.cf: line 154: ldap_init/ldap_bind failed to localhost in map R: Unknown error 325
/etc/mail/sendmail.cf: line 154: fileclass: F{R}: map open failed
/etc/mail/sendmail.cf: line 155: ldap_init/ldap_bind failed to localhost in map LDAPRoute: Unknown error 325
/etc/mail/sendmail.cf: line 155: fileclass: F{LDAPRoute}: map open failed

The sendmail file built from the source package and from the RPM report the same Compiled with: data, and even leaving -D_FFR_DEAL_WITH_ERROR_SSL out and trying to build with the site.config.m4 the same way as the SRPM says it should be still results in the above errors.

The only thing I can see different is the ldd data; The source compiled version I'm trying to get working has a ldd to libresolv.so.2 => /lib/libresolv.so.2 (0x00258000), while the RPM version of the sendmail binary has no link to this library. I've set up the site.config.m4 file just as the recipie in the SPECS/sendmail.spec file says it should be, but the binrary I bake up doesn't come out the same.

I could care less if it's linked against libresolv.so.2, but I need the LDAP stuff to work properly.

Help!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ldap SASL GSSAPI , unknown authorization mechanism mesh2005 Linux - Networking 0 11-20-2005 08:16 AM
ldap as auth server, users sometimes unknown ?? rhoekstra Fedora 2 09-05-2005 01:39 AM
"User Unknown" error with Sendmail girish_hilage Linux - Networking 3 09-10-2004 07:10 AM
Sendmail error: Unknown Address batmite Linux - Newbie 1 12-20-2003 07:46 AM
Unknown sendmail log entry error robeb Linux - General 5 06-26-2003 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration