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

RE: LDAP problems with "allow bind_v2"



Read the slapd.conf(5) manpage that came with your version of OpenLDAP.
"allow bind_v2" is not used with OpenLDAP 2.0 because V2 binds are always
enabled by default in that version. Pay more attention to the error messages;
it will say "unknown feature" when you move the "allow" to the correct
location because "bind_v2" is not a OpenLDAP 2.0 keyword.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Octavio Ramirez
Rojas

> Hi,
>
> I working under linux mandrake 9.0, i installed OpenLdap 2.0.21
>
> Into "slapd.conf" file I added the instruction "allow   bind_v2" like
> this:
>
> database        bdb
> suffix          "dc=prism,dc=fr"
> rootdn          "cn=Manager,dc=prism,dc=fr"
> rootpw          secret
> directory       /usr/local/var/openldap-data
> index   objectClass     eq
> allow   bind_v2
>
> but, i have this error:
>
> [root@azteca libexec]# ./slapd -d6
> daemon_init: <null>
> daemon: socket() failed errno=97 (Address family not supported by
> protocol)
> bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25: (December 19,
> 2002)
> bdb_db_init: Initializing BDB database
> /usr/local/etc/openldap/slapd.conf: line 71: allow line must appear
> prior to database definitions
> bdb_db_open: dc=prism,dc=fr
> slapd starting
>
> ------
>
> I moved the "allow line", but i have the same error.
>
> regards
>
> Octavio
>
>
>