|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Error adding the first defined DN to the BDB ( I think!!!!!)
Hello,
I have installed LDAP 2.2.8 with Berkely 4.2.52 . I can start the slapd server , connect to it using an ldap client LDAP BROWSER/Editor , fetch the DNs . now when I run I get an error with the following log <<< dnPrettyNormal: <cn=Manager,dc=ca,dc=test,dc=com>, <cn=manager,dc=ca,dc=test,dc=com> do_bind: version=3 dn="cn=Manager,dc=ca,dc=test,dc=com" method=128 bdb_dn2entry_rw("cn=manager,dc=ca,dc=test,dc=com") => bdb_dn2id_matched( "cn=manager,dc=ca,dc=test,dc=com" ) <= bdb_dn2id_matched: no match do_bind: v3 bind: "cn=Manager,dc=ca,dc=test,dc=com" to "cn=Manager,dc=ca,dc=test,dc=com" send_ldap_result: conn=0 op=0 p=3 send_ldap_response: msgid=1 tag=97 err=0 ber_flush: 14 bytes to sd 11 adding new entry "dc=ca,dc=test,dc=com" connection_get(11): got connid=0 connection_read(11): checking for input on id=0 ber_get_next ber_get_next: tag 0x30 len 111 contents: ber_get_next ber_get_next on fd 11 failed errno=35 (Resource temporarily unavailable) do_add ber_scanf fmt ({m) ber: >>> dnPrettyNormal: <dc=ca,dc=test,dc=com> => ldap_bv2dn(dc=ca,dc=test,dc=com,0) <= ldap_bv2dn(dc=ca,dc=test,dc=com,0)=0 => ldap_dn2bv(272) <= ldap_dn2bv(dc=ca,dc=test,dc=com,272)=0 => ldap_dn2bv(272) <= ldap_dn2bv(dc=ca,dc=test,dc=com,272)=0 <<< dnPrettyNormal: <dc=ca,dc=test,dc=com>, <dc=ca,dc=test,dc=com> this is my slapd.conf file # $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. # include /usr/local/apps/openldap/etc/openldap/schema/core.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/apps/openldap/var/slapd.pid argsfile /usr/local/apps/openldap/var/slapd.args # Load dynamic backend modules: # modulepath /usr/local/apps/openldap/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 write # # if no access controls are present, the default policy is: # Allow read by all # # rootdn can always write! ####################################################################### # ldbm database definitions ####################################################################### database bdb suffix "dc=ca,dc=test,dc=com" rootdn "cn=Manager,dc=ca,dc=test,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 admin # 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/apps/openldap/var/openldap-data # Indices to maintain index cn,sn,uid pres,eq,approx,sub index objectClass eq Your input is appreciated , Regards, |
![]() |
| Viewing: Dev Shed Forums > Databases > LDAP Programming > Error adding the first defined DN to the BDB ( I think!!!!!) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|