[Date Prev][Date Next] [Chronological] [Thread] [Top]

OpenLDAP Authentication with kerberos,SASL -problem



Hello All,
 
I have successfully compiled OpenLDAP 2.0.27 on HP-UX 11.11 PA-RISC machine.
 
While Compiling i did the following,
 
 export ac_cv_func_getaddrinfo=no
 export LDFLAGS=" -L/path/to/berkeley-4.0.14/lib -L/path/to/ssl/lib -L/path/to/krb5/lib -L/path/to/sasl/lib -lpam"
 export CPPFLAGS="-I/path/to/berkeley-4.0.14/include -I/path/to/krb5/include -I/path/to/ssl/include -I/path/to/sasl_static/include"
 export CC=cc
./configure --with-tls --with-cyrus-sasl --enable-spasswd --enable-kpasswd --with-kerberos --with- threads --enable-wrappers
make depend
make
make test
make install
 
There is no problem in installation steps,and the openldap works fine.
 
But the problem is ,
 
1. When try to run kerberos authenticating method,It gives the following error message.
 
$ ldapsearch -k
ldapsearch: not compiled with Kerberos support
2.
 
$  ldapsearch -X -b "dc=my-domain,dc=com" "objectClass=*"

ldap_sasl_interactive_bind_s: No such attribute

$ ldapsearch -Y DIGEST-MD5 -b -U user 'cn=user'

ldap_sasl_interactive_bind_s: Unknown authentication method
 
Except "-x" (Simple authentication) All other athentication mechanism Fails.
 
 
I tried to find the cause ,but in vain.So any body have the solution for this

Regards
-Shaick