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

Re: failed with ldapsearch with GSSAPI - Please helpppppppppp



Andreas wrote:

On Wed, Jun 02, 2004 at 09:42:46PM +0800, The Shell wrote:


root@fbsd [9:29pm] [...openldap/openldap-data]# ldapsearch -Y GSSAPI -Z '(uid=Sambaroot)'
ldap_start_tls: Connect error (-11)
ldap_sasl_interactive_bind_s: Unknown authentication method (-6)
additional info: SASL(-4): no mechanism available: No worthy mechs found
root@fbsd [9:30pm] [...openldap/openldap-data]#


does anyone know what is happening here and a way to fix it?



Check which sasl mechanisms your server is supporting: ldapsearch -x -LLL -h server -b "" -s base supportedSASLMechanisms

You probably do not have gssapi support at the server.





Here is the result:
root@fbsd [10:27pm] [...openldap/openldap-data]# ldapsearch -x -LLL -h kerberos -b "" -s base supportedSASLMechanisms
dn:
supportedSASLMechanisms: NTLM
supportedSASLMechanisms: OTP
supportedSASLMechanisms: DIGEST-MD5
supportedSASLMechanisms: CRAM-MD5


Thanks
Sam