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

Adding inital entries



I just got 2.0.7 running on Sol-8, and I can't add entries to it. I'm using
the following fileto try to add the initial entries, with the command
following that, and getting the results shown in the debug output from
slapd. 
It's taken me weeks to get it running, and now this. Any and all help is
greatly appreciated.


first.ldif:

dn: dc=wacotrib, dc=com
objectclass: top
objectclass: dcObject
objectclass: organization
o: wacotrib 
dc: wacotrib

dn: cn=Manager,dc=wacotrib,dc=com
objectclass: organizationalRole
cn: Manager


root:229:/:% ldapadd -v -D "cn=Manager,dc=wacotrib, dc=com" -f /first.ldif


daemon: conn=3 fd=7 connection from IP=127.0.0.1:33320 (IP=:: 389) accepted.
connection_get(7): got connid=3
connection_read(7): checking for input on id=3
ber_get_next
ber_get_next: tag 0x30 len 48 contents:
ber_get_next
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({iat) ber:
ber_scanf fmt (o}) ber:
do_bind: version=3 dn="cn=Manager,dc=wacotrib, dc=com" method=128
conn=3 op=0 BIND dn="CN=MANAGER,DC=WACOTRIB,DC=COM" method=128
dn2entry_r: dn: "CN=MANAGER,DC=WACOTRIB,DC=COM"
=> dn2id( "CN=MANAGER,DC=WACOTRIB,DC=COM" )
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/dn2id.dbb", 7, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
dn2entry_r: dn: "DC=WACOTRIB,DC=COM"
=> dn2id( "DC=WACOTRIB,DC=COM" )
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/dn2id.dbb", 7, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
do_bind: v3 bind: "cn=Manager,dc=wacotrib, dc=com" to "cn=Manager,
dc=wacotrib, dc=com"
send_ldap_result: conn=3 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 7
conn=3 op=0 RESULT tag=97 err=0 text=
connection_get(7): got connid=3
connection_read(7): checking for input on id=3
ber_get_next
ber_get_next: tag 0x30 len 113 contents:
ber_get_next
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
do_add
ber_scanf fmt ({a) ber:
ber_scanf fmt ({a{V}}) ber:
ber_scanf fmt ({a{V}}) ber:
ber_scanf fmt ({a{V}}) ber:
ber_scanf fmt (}) ber:
conn=3 op=1 ADD dn="DC=WACOTRIB,DC=COM"
dn2entry_r: dn: "DC=WACOTRIB,DC=COM"
=> dn2id( "DC=WACOTRIB,DC=COM" )
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/dn2id.dbb", 7, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
send_ldap_result: conn=3 op=1 p=3
send_ldap_response: msgid=2 tag=105 err=21
ber_flush: 41 bytes to sd 7
conn=3 op=1 RESULT tag=105 err=21 text=value contains invalid data
connection_get(7): got connid=3
connection_read(7): checking for input on id=3
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
ber_get_next
ber_get_next on fd 7 failed errno=0 (Error 0)
do_unbind
conn=3 op=2 UNBIND
connection_read(7): input error=-2 id=3, closing.
connection_closing: readying conn=3 sd=7 for close
connection_close: deferring conn=3 sd=7
connection_resched: reaquiring locks conn=3 sd=7
connection_resched: attempting closing conn=3 sd=7
connection_close: conn=3 sd=7
conn=-1 fd=7 closed


 Parker H. Lockhart
 plockhart@wacotrib.com
 Waco Tribune-Herald
 (254)757-6941