LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with openLDAP and SASL (https://www.linuxquestions.org/questions/linux-software-2/problem-with-openldap-and-sasl-343227/)

triley 07-14-2005 03:43 PM

Problem with openLDAP and SASL
 
Hello and thanks in advance for any help that might be posted,

I am currently trying to configure openLDAP (openldap-2.2.26), Cyrus SASL (cyrus-sasl-2.2.21), and BerkeleyDB (db-4.3.28.NC) on Fedora Core 2. I have some experience with Linux, but mainly programming with Emacs, and not much on the system admin side.

Currently I am following a guide posted at:

http://en.tldp.org/HOWTO/LDAP-HOWTO/sasl.html

I get most of the way down the page with no problems, since I changed some of the file locations to match my versions; other than that the file structure is the same. I get to the line "slapadd -c -l Ever.ldif -f slapd.conf -v -d 256", at which point the command fails with the message:

slap_sasl_init: SASL library version mismatch: expected 2.1.21, got 2.1.18
slapadd: slap_init failed

I get the same message when i try to start up slapd. I read a few forums across the internet and most seem to point to an error with the LD_LIBRARY_PATH link. I do not know how to modify this, or if this is even the problem, but any input would be appreciated.

nrajiv80 07-11-2016 02:25 PM

Hi triley,

Hope your SASL library version mismatch issue got resolved.

I am trying to setup Openldap server running on port 636 with SASL as authentication mechanism.
OS : Centos7

Can you please share the LDAP with SASL configurations details will be of great help.

-Rajiv

TB0ne 07-11-2016 03:21 PM

Quote:

Originally Posted by nrajiv80 (Post 5574261)
Hi triley,

Hope your SASL library version mismatch issue got resolved.

I am trying to setup Openldap server running on port 636 with SASL as authentication mechanism.
OS : Centos7

Can you please share the LDAP with SASL configurations details will be of great help.

-Rajiv

Read the LQ Rules, nrajiv80. DO NOT post the same question in multiple places. Thread reported to moderators.

TB0ne 07-11-2016 03:23 PM

Quote:

Originally Posted by triley (Post 1746992)
Hello and thanks in advance for any help that might be posted,
I am currently trying to configure openLDAP (openldap-2.2.26), Cyrus SASL (cyrus-sasl-2.2.21), and BerkeleyDB (db-4.3.28.NC) on Fedora Core 2. I have some experience with Linux, but mainly programming with Emacs, and not much on the system admin side.

Currently I am following a guide posted at:
http://en.tldp.org/HOWTO/LDAP-HOWTO/sasl.html

I get most of the way down the page with no problems, since I changed some of the file locations to match my versions; other than that the file structure is the same. I get to the line "slapadd -c -l Ever.ldif -f slapd.conf -v -d 256", at which point the command fails with the message:

slap_sasl_init: SASL library version mismatch: expected 2.1.21, got 2.1.18
slapadd: slap_init failed

I get the same message when i try to start up slapd. I read a few forums across the internet and most seem to point to an error with the LD_LIBRARY_PATH link. I do not know how to modify this, or if this is even the problem, but any input would be appreciated.

You don't say what version/distro of Linux you're using, but chances are you have a mismatch between your cyrus-sasl packages, either the library or the devel package. Hard to say how to solve it, when we don't know details about your system, but try to install/update the cyrus-sasl-devel package.


All times are GMT -5. The time now is 05:19 PM.