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

Re: "control unavailable in context" error even while using back-bdb



** Low Priority **

Hi,

I have openldap2-2.3.4 running now. But still cannot authenticate from
localhost itself. With aggressive debugging, I get this at the very end:

ber_get_next
ldap_read: want=8, got=0

Please note that there are no complications involved in this test like
TLS/SSL or encrypted passwords. I have even given access to * by * write
in my slapd.conf.

My backend is still BDB (db-4.2.52-90). Any suggestions please?

slapd.conf:

###############################################################

include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/corba.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/misc.schema
include         /etc/openldap/schema/java.schema
include         /etc/openldap/schema/openldap.schema
include         /etc/openldap/schema/samba3.schema
include         /etc/openldap/schema/ppolicy.schema

pidfile         /var/run/slapd/slapd.pid
argsfile        /var/run/slapd/slapd.args

# Load dynamic backend modules:
modulepath      /usr/lib/openldap/modules
# moduleload    back_ldap.la
# moduleload    back_meta.la
# moduleload    back_monitor.la
# moduleload    back_perl.la

access to *
       by * write

#######################################################################
# BDB database definitions
#######################################################################

database        bdb
suffix          "o=tchrf,c=us"
rootdn          "cn=Manager,o=tchrf,c=us"

rootpw          secret
checkpoint      1024    5
cachesize       10000

directory       /var/lib/ldap
# Indices to maintain
index  objectClass,uid,uidNumber,gidNumber     pres,eq
index  cn,mail,sn,givenname               eq,sub
index  memberUID,sambaSID,sambaPrimaryGroupSID,sambaDomainName    eq

###########################################################################################

/etc/openldap/ldap.conf:

########################################################################
HOST            huttonlinux.cchmc.org
base            o=tchrf,c=us
PORT            389
#####################################################

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 06/23/05 2:33 PM >>>
At 11:06 AM 6/23/2005, Prakash Velayutham wrote:
>OpenLDAP - openldap2-2.3.3beta-0.1 

I suggest you give 2.3.4 a spin.

Kurt