I have setup an Open LDAP server that I cannot seem to make
work. I've followed all the instructions on the website and I've searched
the list archives for answers, but did not find anything.
I am running Debian Linux 2.2
The problem is that when I try to create the database I get
the error "ldap_bind: Protocol error additional info: version not
supported". All the tools and the slapd server are installed from the
Debian packages.
slapd.conf
===========
include /etc/openldap/slapd.at.conf include /etc/openldap/slapd.oc.conf schemacheck off pidfile /var/run/slapd.pid loglevel 0 database ldbm rootdn "cn=Manager,dc=wittfamily,dc=com" rootpw hosehead suffix "dc=wittfamily,dc=com" directory "/var/lib/openldap" lastmod on defaultaccess read access to * by * read add command:
=============
ldapadd -f newdb -x -D "cn=Manager,dc=wittfamily,dc=com" -w
test -d 999
debug output:
==============
ldap_create
ldap_bind_s ldap_simple_bind_s ldap_sasl_bind_s ldap_sasl_bind ldap_send_initial_request ldap_new_connection ldap_int_open_connection ldap_connect_to_host ldap_new_socket: 4 ldap_prepare_socket: 4 ldap_connect_to_host: Trying 127.0.0.1:389 ldap_connect_timeout: fd: 4 tm: -1 async: 0 ldap_ndelay_on: 4 ldap_is_sock_ready: 4 ldap_ndelay_off: 4 ldap_int_sasl_open: morpheus.wittfamily.com ldap_delayed_open successful, ld_host is (null) ldap_send_server_request ber_flush: 49 bytes to sd 4 0000: 30 2f 02 01 01 60 2a 02 01 03 04 1f 63 6e 3d 4d 0/...`*.....cn=M 0010: 61 6e 61 67 65 72 2c 64 63 3d 77 69 74 74 66 61 anager,dc=wittfa 0020: 6d 69 6c 79 2c 64 63 3d 63 6f 6d 80 04 74 65 73 mily,dc=com..tes 0030: 74 t ldap_write: want=49, written=49 0000: 30 2f 02 01 01 60 2a 02 01 03 04 1f 63 6e 3d 4d 0/...`*.....cn=M 0010: 61 6e 61 67 65 72 2c 64 63 3d 77 69 74 74 66 61 anager,dc=wittfa 0020: 6d 69 6c 79 2c 64 63 3d 63 6f 6d 80 04 74 65 73 mily,dc=com..tes 0030: 74 t ldap_result msgid 1 ldap_chkResponseList for msgid=1, all=1 ldap_chkResponseList returns NULL wait4msg (infinite timeout), msgid 1 wait4msg continue, msgid 1, all 1 ** Connections: * host: localhost port: 389 (default) refcnt: 2 status: Connected last used: Thu Feb 15 14:19:48 2001 ** Outstanding Requests:
* msgid 1, origid 1, status InProgress outstanding referrals 0, parent count 0 ** Response Queue: Empty ldap_chkResponseList for msgid=1, all=1 ldap_chkResponseList returns NULL do_ldap_select read1msg: msgid 1, all 1
ber_get_next ldap_read: want=1, got=1 0000: 30 0 ldap_read: want=1, got=1 0000: 21 ! ldap_read: want=33, got=33 0000: 02 01 01 61 1c 0a 01 02 04 00 04 15 76 65 72 73 ...a........vers 0010: 69 6f 6e 20 6e 6f 74 20 73 75 70 70 6f 72 74 65 ion not supporte 0020: 64 d ber_get_next: tag 0x30 len 33 contents: ldap_read: message type bind msgid 1, original id 1 ber_scanf fmt ({iaa) ber: read1msg: 0 new referrals read1msg: mark request completed, id = 1 request 1 done res_errno: 0, res_error: <>, res_matched: <> ldap_free_request (origid 1, msgid 1) ldap_free_connection ldap_free_connection: refcnt 1 ldap_parse_result ber_scanf fmt ({iaa) ber: ber_scanf fmt (}) ber: ldap_msgfree ldap_perror ldap_bind: Protocol error additional info: version not supported |