LDAP is dead
Matthew Carpenter
matt
Mon May 17 11:50:45 PDT 2004
I have something funky going on with my OpenLDAP server. This is running on a
SLOX box (no, this is not s Dr. Seuss computer, it's SuSE's OpenExchange
server).
I start the daemon using /etc/init.d/ldap start, it starts ok, the process is
listed in "ps ax" but I cannot get anything listening on port 389 for the life
of me! I verified the RPM and only the slapd.conf file and the /var/lib/ldap
directory was different...
Any ideas would be muy appreciated... Thanks!
I'll include the config file if anyone is interested.
The log set to 999 only give the following (forgive the long post):
-------------------------------------------------------------------
Aug 7 12:06:16 blade slapd[8219]: unable to open Berkeley db /etc/sasldb: No
such file or directory
Aug 7 12:06:16 blade slapd[8219]: bdb_open: Sleepycat Software: Berkeley DB
4.0.14: (October 16, 2002)
Aug 7 12:06:16 blade slapd[8219]: line 26 (sizelimit 1000)
Aug 7 12:06:16 blade slapd[8219]: line 29 (pidfile /var/run/slapd.pid)
Aug 7 12:06:16 blade slapd[8219]: line 30 (argsfile /var/run/slapd.args)
Aug 7 12:06:16 blade slapd[8219]: line 31 (password-hash {crypt})
Aug 7 12:06:16 blade slapd[8219]: line 42 (database bdb)
Aug 7 12:06:16 blade slapd[8219]: bdb_db_init: Initializing BDB database
Aug 7 12:06:16 blade slapd[8219]: line 43 (cachesize 30000)
Aug 7 12:06:16 blade slapd[8219]: line 44 (checkpoint 3000 10)
Aug 7 12:06:16 blade slapd[8219]: line 45 (directory /var/lib/ldap)
Aug 7 12:06:16 blade slapd[8219]: line 46 (lastmod on)
Aug 7 12:06:16 blade slapd[8219]: line 47 (mode 0600)
Aug 7 12:06:16 blade slapd[8219]: line 49 (suffix dc=eisgr,dc=com)
Aug 7 12:06:16 blade slapd[8219]: >>> dnPrettyNormal: <dc=eisgr,dc=com>
Aug 7 12:06:16 blade slapd[8219]: <<< dnPrettyNormal: <dc=eisgr,dc=com>,
<dc=eisgr,dc=com>
Aug 7 12:06:16 blade slapd[8219]: line 50 (rootdn
uid=cyrus,dc=eisgr,dc=com)
Aug 7 12:06:16 blade slapd[8219]: >>> dnPrettyNormal:
<uid=cyrus,dc=eisgr,dc=com>
Aug 7 12:06:16 blade slapd[8219]: <<< dnPrettyNormal:
<uid=cyrus,dc=eisgr,dc=com>, <uid=cyrus,dc=eisgr,dc=com>
Aug 7 12:06:16 blade slapd[8219]: line 51 (rootpw ***)
Aug 7 12:06:16 blade slapd[8219]: line 61 (index
uid,fn,memberuid,gidnumber,alias,relayClientcert eq)
Aug 7 12:06:16 blade slapd[8219]: index uid 0x0004
Aug 7 12:06:16 blade slapd[8219]: index fn 0x0004
Aug 7 12:06:16 blade slapd[8219]: index memberUid 0x0004
Aug 7 12:06:16 blade slapd[8219]: index gidNumber 0x0004
Aug 7 12:06:16 blade slapd[8219]: index alias 0x0004
Aug 7 12:06:16 blade slapd[8219]: index relayClientcert 0x0004
Aug 7 12:06:16 blade slapd[8219]: line 62 (index
objectclass,uidnumber,mailenabled,relativeDomainName eq)
Aug 7 12:06:16 blade slapd[8219]: index objectClass 0x0004
Aug 7 12:06:16 blade slapd[8219]: index uidNumber 0x0004
Aug 7 12:06:16 blade slapd[8219]: index mailenabled 0x0004
Aug 7 12:06:16 blade slapd[8219]: index relativeDomainName 0x0004
Aug 7 12:06:16 blade slapd[8219]: line 63 (index
zoneName,vaddress,reject,comFireGroupID eq)
Aug 7 12:06:16 blade slapd[8219]: index zoneName 0x0004
Aug 7 12:06:16 blade slapd[8219]: index vaddress 0x0004
Aug 7 12:06:16 blade slapd[8219]: index reject 0x0004
Aug 7 12:06:16 blade slapd[8219]: index comFireGroupID 0x0004
Aug 7 12:06:16 blade slapd[8219]: line 64 (index cn,sn,givenname
eq,sub)
Aug 7 12:06:16 blade slapd[8219]: index cn 0x0714
Aug 7 12:06:16 blade slapd[8219]: index sn 0x0714
Aug 7 12:06:16 blade slapd[8219]: index givenName 0x0714
Aug 7 12:06:16 blade slapd[8219]: line 71 (access to
dn="ou=addr,uid=(.*),dc=eisgr,dc=com" by dn="uid=$1,dc=eisgr,dc=com" write
by * none)
Aug 7 12:06:16 blade slapd[8219]: line 75 (access to dn="" by * read)
Aug 7 12:06:16 blade slapd[8219]: >>> dnNormalize: <>
Aug 7 12:06:16 blade slapd[8219]: <<< dnNormalize: <>
Aug 7 12:06:16 blade slapd[8219]: line 81 (access to attr=userpassword by
self write by anonymous auth by * none)
Aug 7 12:06:16 blade slapd[8219]: line 85 (access to attr=shadowLastChange
by self write by * read)
Aug 7 12:06:16 blade slapd[8219]: line 91 (access to
dn.base="cn=AddressAdmins,o=AddressBook,dc=eisgr,dc=com" by users read by *
none )
Aug 7 12:06:16 blade slapd[8219]: >>> dnNormalize:
<cn=AddressAdmins,o=AddressBook,dc=eisgr,dc=com>
Aug 7 12:06:16 blade slapd[8219]: <<< dnNormalize:
<cn=addressadmins,o=addressbook,dc=eisgr,dc=com>
Aug 7 12:06:16 blade slapd[8219]: line 97 (access to
dn.subtree="o=AddressBook,dc=eisgr,dc=com" by
group="cn=AddressAdmins,o=AddressBook,dc=eisgr,dc=com" write by users read
by * none)
Aug 7 12:06:16 blade slapd[8219]: >>> dnNormalize:
<o=AddressBook,dc=eisgr,dc=com>
Aug 7 12:06:16 blade slapd[8219]: <<< dnNormalize:
<o=addressbook,dc=eisgr,dc=com>
Aug 7 12:06:16 blade slapd[8219]:
is_object_subclass(2.16.840.1.113730.3.2.6,2.5.6.9) 0
Aug 7 12:06:16 blade slapd[8219]:
is_object_subclass(2.16.840.1.113730.3.2.6,2.5.6.0) 0
Aug 7 12:06:16 blade slapd[8219]: is_object_subclass(2.5.6.1,2.5.6.9) 0
Aug 7 12:06:16 blade slapd[8219]: is_object_subclass(2.5.6.1,2.5.6.0) 0
Aug 7 12:06:16 blade slapd[8219]: oc_check_allowed type "member"
Aug 7 12:06:16 blade slapd[8219]: line 108 (access to
dn="uid=[^,]+,dc=eisgr,dc=com"
attr=c,cn,telephoneNumber,facsimileTelephoneNumber,pager,title,givenname,sn,l
,description,mail,street,postalCode,st,homePhone,ou,initials,mobile,labeledUR
I,preferredLanguage,entry,objectclass by aci write break by self write by
users read by peername="ip=127\.0\.0\.1" read by * none)
Aug 7 12:06:16 blade slapd[8219]: line 114 (access to
dn="uid=[^,]+,dc=eisgr,dc=com"
attr=c,cn,telephoneNumber,facsimileTelephoneNumber,pager,title,givenname,sn,l
,description,mail,street,postalCode,st,homePhone,ou,initials,mobile,labeledUR
I,preferredLanguage,entry,objectclass by users +rsc by
peername="ip=127\.0\.0\.1" +rsc by * none)
Aug 7 12:06:16 blade slapd[8219]: line 119 (access to
dn="uid=[^,]+,dc=eisgr,dc=com" attr=comFireTaskDays,comFireAppointmentDays by
self write by peername="ip=127\.0\.0\.1" read by * none)
Aug 7 12:06:16 blade slapd[8220]: slapd startup: initiated.
Aug 7 12:06:16 blade slapd[8220]: bdb_db_open: dc=eisgr,dc=com
Aug 7 12:06:16 blade slapd[8220]: bdb_db_open: dbenv_open(/var/lib/ldap)
--
Matthew Carpenter
matt at eisgr.com http://www.eisgr.com/
Enterprise Information Systems
* Network Service Appliances
* Network Consulting, Integration & Support
* Web Integration and E-Business
More information about the Linux-users
mailing list