[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
failed with ldapsearch with GSSAPI - Please helpppppppppp
Hi,
The ldapsearch is failed when I was trying to test whether I have added
the root user to the database.
The user data is populated by the following command:
slapadd -l passwd.ldif
but use ldap to search it resulted not found:
Jun 2 21:39:13 fbsd slapd[53146]: conn=1 fd=14 ACCEPT from IP=::1 49199
(IP=:: 389)
Jun 2 21:39:13 fbsd slapd[53146]: conn=1 op=0 BIND dn="" method=128
Jun 2 21:39:13 fbsd slapd[53146]: conn=1 op=0 RESULT tag=97 err=0 text=
Jun 2 21:39:13 fbsd slapd[53146]: conn=1 op=1 SRCH base="" scope=2
deref=0 filter="(uid=sambaroot)"
Jun 2 21:39:13 fbsd slapd[53146]: conn=1 op=1 SEARCH RESULT tag=101
err=32 nentries=0 text=
Jun 2 21:39:13 fbsd slapd[53146]: conn=1 op=2 UNBIND
Jun 2 21:39:13 fbsd slapd[53146]: conn=1 fd=14 closed
Another test:
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?
The Ldap version is OpenLdap 2.2.11, Samba 3.0.4, DB 4.2.52 and running
on FreeBSD 5.2.1
Thanks very much.
sam