[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: v2.1.xx and autofs (bind errors).
Dear Folks,
Greg Matthews wrote:
> Jason...
>
> you need this:
>
> allow bind_v2 bind_anon_dn
I have had the same problem for several months. I added these lines to
/etc/openldap/slapd.conf:
allow bind_v2
# Needed for autofs, which tries to do a simple bind for
# nisMapName=auto.home,dc=sysadmin,dc=no-ip,dc=com with no password.
# Openldap does not allow that without this next line:
allow bind_anon_dn
(I also changed the second parameter of ldap_simple_bind_s() to NULL, with the same
result)
but still get the return value 2 from ldap_simple_bind_s(), and ldap_err2string()
translates this to "Protocol error".
This is with rawhide openldap-2.1.22-4 on redhat 9, all updates applied, with various
changes to autofs-3.1.7-40 from rawhide.
Any suggestions anyone?
> GREG
>
> On Sun, 2003-07-20 at 08:33, Jason C. Leach wrote:
> > hi,
> >
> > I'm trying to get autofs working w/ OpenLDAP 2.1.21.
> >
> > If I add allow bind_v3 I get an authentication error:
> > RESULT tag=97 err=53 text=unauthenticated bind (DN with no password) disallowed
> >
> > and if I add allow bind_anon_cred I get a protocol error:
> > RESULT tag=97 err=2 text=requested protocol version not allowed
> >
> > Any ideas. This problem exists w/ both Debian woody and Redhat clients
> > using autofs. The server works fine.
> >
> > Thanks,
> > j.
> --
> Greg Matthews
> iTSS Wallingford 01491 692445
--
Nick Urbanik RHCE nicku(at)vtc.edu.hk
Dept. of Information & Communications Technology
Hong Kong Institute of Vocational Education (Tsing Yi)
Tel: (852) 2436 8576, (852) 2436 8713 Fax: (852) 2436 8526
PGP: 53 B6 6D 73 52 EE 1F EE EC F8 21 98 45 1C 23 7B ID: 7529555D
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24