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

"Protocol error" message (ITS#1150)



Full_Name: Fadli Jamal
Version: 2.0.7
OS: Unix
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (207.96.224.9)


Hi,

I installed Openldap and I run make test every things is fine. But I start slapd
deamon and I try to send request to ldap directory I get error message, here is
the configuration file and the error message I get:




slapd.conf 

# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.4 2000/08/26 17:06:18
kurt Exp $ 
# 
# See slapd.conf(5) for details on configuration options. 
# This file should NOT be world readable. 
# include schema 
include         /usr/local/openldap/etc/openldap/schema/core.schema 
include         /usr/local/openldap/etc/openldap/schema/cosine.schema 
include         /usr/local/openldap/etc/openldap/schema/inetorgperson.schema 
include         /usr/local/openldap/etc/openldap/schema/nis.schema 
include         /usr/local/openldap/etc/openldap/schema/misc.schema 
include         /usr/local/openldap/etc/openldap/schema/openldap.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 
schemacheck     on 
pidfile         /usr/local/openldap/var/slapd.pid 
argsfile        /usr/local/openldap/var/slapd.args 
loglevel        -1 

# Load dynamic backend modules: 
modulepath      /usr/local/openldap/libexec/openldap 
moduleload      back_ldap.la 
moduleload      back_ldbm.la 
moduleload      back_passwd.la 
moduleload      back_shell.la 

####################################################################### 
# ldbm database definitions 
####################################################################### 

database        ldbm 
suffix          "dc=microcell, dc=ca" 
directory       /usr/local/openldap/var/openldap-ldbm 
rootdn          "cn=Manager, dc=microcell, dc=ca" 
rootpw          secret 
replogfile      /usr/local/openldap/var/slapd.replog 
index           objectClass     eq 
index           uid     pres,eq,sub 
index           cn,sn   pres,eq,sub,subany 



Start slapd deamon:

./usr/local/openldap/libexec/slapd -f
/usr/local/openldap/etc/openldap/slapd.conf 


# ps -aef|grep slapd 
root  6464 25821  0 11:49:34 pts/2    0:00 grep slapd 
root  6457     1  0 11:46:09 ?        0:00 ./usr/local/openldap/libexec/slapd
-f
/usr/local/openldap/etc/openldap/slapd.conf 

# ./ldapsearch -x -b '' -s base '(objectclass=*)' 
ldap_bind: Protocol error 
       additional info: version not supported 


Thanks for your help.