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

Newbie configuration problems



Hi,

I have been trying to configure my RH 7.1 Linux machine to act as an
LDAP server, so far with limited success.

I installed openldap version 2.0.11 from the rpm on the RedHat site.
Changed the slapd.conf file to my domain (see attached). The problem is,
I simply cannot make ldapadd work. I found out that the server is up - I
am able to connect as Manager from an LDAP browser on a Windows machine
- but all requests to either get details or add entries are refused. I
ran the slapd with debug level -5 and created a file (attached). I read
the manuals and searched on the list archives, but haven't been able to
figure it out. Maybe I am looking for the wrong kind of problem...

Any help would be much appreciated.

Thanks,
Andre

--- 
Andre Valente (avalente@intelsystech.com)

[root@linux1]# slapd -d 5
@(#) $OpenLDAP: slapd 2.0.11-Release (Thu Jul 26 15:57:12 EDT 2001) $
	root@stripples.devel.redhat.com:/tmp/27067-i386/BUILD/openldap-2.0.11/servers/slapd
daemon_init: <null>
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: socket() failed errno=97 (Address family not supported by protocol)
daemon: initialized ldap:///
daemon_init: 1 listeners opened
slapd init: initiated server.
slap_sasl_init: initialized!
slapd startup: initiated.
slapd starting
ldap_pvt_gethostbyname_a: host=linux1, r=0
connection_get(7)
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 59 contents:
do_bind
ber_scanf fmt ({iat) ber:
ber_scanf fmt (o}) ber:
do_bind: version=3 dn="cn=Manager, dc=mydomain, dc=com" method=128
==> ldbm_back_bind: dn: cn=Manager, dc=mydomain, dc=com
dn2entry_r: dn: "CN=MANAGER,DC=MYDOMAIN,DC=COM"
=> dn2id( "CN=MANAGER,DC=MYDOMAIN,DC=COM" )
=> ldbm_cache_open( "/var/lib/ldap/dn2id.gdbm", 34, 600 )
ldbm_cache_open (blksize 4096) (maxids 1022) (maxindirect 9)
<= ldbm_cache_open (opened 0)
<= dn2id NOID
dn2entry_r: dn: "DC=MYDOMAIN,DC=COM"
=> dn2id( "DC=MYDOMAIN,DC=COM" )
=> ldbm_cache_open( "/var/lib/ldap/dn2id.gdbm", 34, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
do_bind: v3 bind: "cn=Manager, dc=mydomain, dc=com" to "cn=Manager,dc=mydomain,dc=com"
send_ldap_result: conn=0 op=0 p=3
send_ldap_result: 0::
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 7
ber_get_next
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
connection_get(7)
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 73 contents:
do_search
ber_scanf fmt ({aiiiib) ber:
SRCH "dc=mydomain, dc=com" 1 3    0 0 0
ber_scanf fmt (o) ber:
    filter: (objectClass=*)
ber_scanf fmt ({v}}) ber:
    attrs: objectclass
=> ldbm_back_search
dn2entry_r: dn: "DC=MYDOMAIN,DC=COM"
=> dn2id( "DC=MYDOMAIN,DC=COM" )
=> ldbm_cache_open( "/var/lib/ldap/dn2id.gdbm", 34, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
send_ldap_result: conn=0 op=1 p=3
send_ldap_result: 10::
send_ldap_response: msgid=2 tag=101 err=32
ber_flush: 14 bytes to sd 7
ber_get_next
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
connection_get(7)
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 60 contents:
do_search
ber_scanf fmt ({aiiiib) ber:
SRCH "dc=mydomain, dc=com" 0 3    0 0 0
ber_scanf fmt (o) ber:
    filter: (objectClass=*)
ber_scanf fmt ({v}}) ber:
    attrs:
=> ldbm_back_search
dn2entry_r: dn: "DC=MYDOMAIN,DC=COM"
=> dn2id( "DC=MYDOMAIN,DC=COM" )
=> ldbm_cache_open( "/var/lib/ldap/dn2id.gdbm", 34, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
send_ldap_result: conn=0 op=2 p=3
send_ldap_result: 10::
send_ldap_response: msgid=3 tag=101 err=32
ber_flush: 14 bytes to sd 7
ber_get_next
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
connection_get(7)
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 60 contents:
do_search
ber_scanf fmt ({aiiiib) ber:
SRCH "dc=mydomain, dc=com" 0 3    0 0 0
ber_scanf fmt (o) ber:
    filter: (objectClass=*)
ber_scanf fmt ({v}}) ber:
    attrs:
=> ldbm_back_search
dn2entry_r: dn: "DC=MYDOMAIN,DC=COM"
=> dn2id( "DC=MYDOMAIN,DC=COM" )
=> ldbm_cache_open( "/var/lib/ldap/dn2id.gdbm", 34, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
send_ldap_result: conn=0 op=3 p=3
send_ldap_result: 10::
send_ldap_response: msgid=4 tag=101 err=32
ber_flush: 14 bytes to sd 7
ber_get_next
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
connection_get(7)
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 87 contents:
do_add
ber_scanf fmt ({a) ber:
do_add: ndn (O=NEWORGANIZATION,DC=MYDOMAIN,DC=COM)
ber_scanf fmt ({a{V}}) ber:
ber_scanf fmt (}) ber:
dn2entry_r: dn: "O=NEWORGANIZATION,DC=MYDOMAIN,DC=COM"
=> dn2id( "O=NEWORGANIZATION,DC=MYDOMAIN,DC=COM" )
=> ldbm_cache_open( "/var/lib/ldap/dn2id.gdbm", 34, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
dn2entry_r: dn: "DC=MYDOMAIN,DC=COM"
=> dn2id( "DC=MYDOMAIN,DC=COM" )
=> ldbm_cache_open( "/var/lib/ldap/dn2id.gdbm", 34, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
==> ldbm_back_add: o=neworganization, dc=mydomain, dc=com
=> dn2id( "O=NEWORGANIZATION,DC=MYDOMAIN,DC=COM" )
=> ldbm_cache_open( "/var/lib/ldap/dn2id.gdbm", 34, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
oc_check_required entry (o=neworganization, dc=mydomain, dc=com), objectClass "top"
oc_check_required entry (o=neworganization, dc=mydomain, dc=com), objectClass "organization"
Entry (o=neworganization, dc=mydomain, dc=com), oc "organization" requires attr "o"
entry failed schema check: missing required attribute
send_ldap_result: conn=0 op=4 p=3
send_ldap_result: 65::missing required attribute
send_ldap_response: msgid=5 tag=105 err=65
ber_flush: 40 bytes to sd 7
ber_get_next
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
connection_get(7)
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
do_unbind
connection_closing: readying conn=0 sd=7 for close
connection_resched: attempting closing conn=0 sd=7
connection_close: conn=0 sd=7
slap_sig_shutdown: signal 2
daemon: shutdown requested and initiated.
slapd shutdown: waiting for 0 threads to terminate
slapd shutdown: initiated
ldbm backend syncing
ldbm flushing db (/var/lib/ldap/dn2id.gdbm)
ldbm closing db (/var/lib/ldap/dn2id.gdbm)
ldbm backend done syncing
====> cache_release_all
slapd shutdown: freeing system resources.
slapd stopped.
[root@linux1 avalente]# 

Attachment: slapd.conf
Description: slapd.conf