RE: SASL authentication
"Xu, Qiang (FXSGSC)" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.directory |
|---|---|
| Message-ID | <D8C9BC7FFCF8154FB7141EB8DB609C172708171EC4@SGPAPHQ-EXSCC01.dc01.fujixerox.net> |
> -----Original Message----- > From: Rich Megginson [mailto:[email protected]] On > Behalf Of Rich Megginson > Sent: Friday, February 27, 2009 11:26 PM > To: Xu, Qiang (FXSGSC) > Cc: [email protected]; Kashif Ali Siddiqui; > [email protected] > Subject: Re: SASL authentication > > Probably. It probably cannot find the mechanism plugins. > The cyrus-sasl library is in two pieces - the main libsasl, > and the plugins for the various mechanisms. For example, on > my RHEL5 system, libsasl2 is installed in $libdir, and the > mechanism plugins are installed in $libdir/sasl2. The sasl > on RHEL5 has been compiled so that libsasl looks in > $libdir/sasl2 for the mechanism plugins. You can also set > the env. var. SASL_PATH to point to the directory containing > the mechanism plugins. I have recompiled cyrus library, and grab both "libsasl2.so" and its plugins. For my case, the most important plugin seems to be "libgssapiv2.so". Originally, I put them into the same path, i.e. "/opt/nc/lib/" (this is the path of our own libraries, instead of system libraries). It didn't work. Then I created a folder called "sasl2" under "/opt/nc/lib", and put the gssapi plugin into it. It still didn't work. The error message is the same: "86 Unknown authentication method". I am at a loss. Is there anything I missed? Is there a possibility that "libldap60.so" has some requirement on where to find SASL2 plugins? Looking forward to help, Xu Qiang