And the ldap debug error
send_ldap_result: conn=0 op=5
p=3
send_ldap_response: msgid=6 tag=105 err=-1
ber_flush: 47 bytes to sd
12
0000: 30 2d 02 01 06 69 28 0a 01 ff 04 00 04 21 6f
62 0-...i(......!ob
0010: 6a 65 63 74 43 6c 61
73 73 3a 20 6d 61 74 63 68 jectClass: match
0020: 69 6e 67 20 72 75 6c 65 20 66 61 69 6c 65
64 ing rule failed
ldap_write: want=47,
written=47
0000: 30 2d 02 01 06 69 28 0a 01 ff 04 00 04 21
6f 62 0-...i(......!ob
0010: 6a 65 63 74 43 6c 61
73 73 3a 20 6d 61 74 63 68 jectClass: match
0020: 69 6e 67 20 72 75 6c 65 20 66 61 69 6c 65
64 ing rule failed
connection_get(12): got
connid=0
connection_read(12): checking for input on
id=0
ber_get_next
ldap_read: want=8, got=0
ber_get_next on fd 12 failed errno=0
(Success)
connection_read(12): input error=-2 id=0,
closing.
connection_closing: readying conn=0 sd=12 for
close
connection_close: deferring conn=0 sd=12
connection_resched:
attempting closing conn=0 sd=12
connection_close: conn=0
sd=12
My sladp.conf
# $OpenLDAP:
pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.8 2003/05/24 23:19:14 kurt Exp
$
#
# See slapd.conf(5) for details on configuration options.
# This
file should NOT be world readable.
#
schemacheck off
include
/usr/local/etc/openldap/schema/core.schema
include
/usr/local/etc/openldap/schema/cosine.schema
include
/usr/local/etc/openldap/schema/inetorgperson.schema
include
/usr/local/etc/openldap/schema/openca.schema
# Define global ACLs to disable default read
access.
# Do not enable referrals until AFTER you
have a working directory
# service AND an understanding of
referrals.
#referral ldap://root.openldap.org
pidfile
/usr/local/var/slapd.pid
argsfile
/usr/local/var/slapd.args
# Load dynamic backend modules:
#
modulepath /usr/local/libexec/openldap
#
moduleload back_bdb.la
# moduleload
back_ldap.la
# moduleload back_ldbm.la
#
moduleload back_passwd.la
# moduleload
back_shell.la
# Sample security
restrictions
# Require integrity
protection (prevent hijacking)
# Require
112-bit (3DES or better) encryption for
updates
# Require 63-bit encryption for
simple bind
# security ssf=1 update_ssf=112
simple_bind=64
# Sample access control
policy:
# Root DSE: allow anyone to read
it
# Subschema (sub)entry DSE: allow
anyone to read it
# Other
DSEs:
#
Allow self write
access
#
Allow authenticated users read
access
#
Allow anonymous users to authenticate
#
Directives needed to implement policy:
# access to dn.base="" by * read
#
access to dn.base="cn=Subschema" by * read
# access to
*
# by self
write
# by users
read
# by anonymous auth
#
# if no
access controls are present, the default policy
is:
# Allow read by all
#
# rootdn
can always write!
#######################################################################
#
ldbm database
definitions
#######################################################################
database
bdb
suffix
"o=prueba,c=ar"
rootdn
"cn=adminca,o=prueba,c=ar"
##rootdn
"cn=Manager,dc=my-domain,dc=com"
# Cleartext passwords, especially for the
rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for
details.
# Use of strong authentication
encouraged.
##rootpw
secret
rootpw
openca
# The database directory MUST exist prior to running slapd AND
#
should only be accessible by the slapd and slap tools.
# Mode 700
recommended.
directory
/usr/local/var/openldap-data2
# Indices to maintain
index
objectClass eq