Listmates,
I have lost a great amount of hair trying to determine why I cannot
connect to/add anything to ldap on a 10.0 server, where the exact same
setup works fine on another 10.0 server. Something a simple as a search
fails to bind with or without a password. Here as the symptoms and errors:
[EMAIL PROTECTED]:/home/david # ldapsearch -x -b dc=3111skyline,dc=com
"(objectClass=*)"
ldap_bind: Can't contact LDAP server (-1)
[EMAIL PROTECTED]:/home/david # ldapsearch -W -b dc=3111skyline,dc=com -D
cn=admin,dc=3111skyline,dc=com "(objectClass=*)"
Enter LDAP Password:
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
The same errors occur with ldapadd as well. The only way I can get data
into the directory is by shutting down the server and using slapadd,
which works fine, but it is not optimal. slapcat correctly dumps the
directory back to ldif. But when the server is running, I cannot seem to
connect no matter what. The strange problem is that I have another SuSE
10.0 server, configured the same way, that everything works fine on. So
much for consistency. Permissions and ownership of /var/lib/ldap are fine:
[EMAIL PROTECTED]:/home/david # l /var/lib/ldap
total 799
drwx------ 2 ldap ldap 328 2007-11-19 01:00 ./
drwxr-xr-x 50 root root 1312 2007-11-18 11:06 ../
-rw------- 1 ldap ldap 24576 2007-11-19 01:00 __db.001
-rw------- 1 ldap ldap 18759680 2007-11-19 01:00 __db.002
-rw------- 1 ldap ldap 2162688 2007-11-19 01:00 __db.003
-rw------- 1 ldap ldap 450560 2007-11-19 01:00 __db.004
-rw------- 1 ldap ldap 24576 2007-11-19 01:00 __db.005
-rw-r--r-- 1 ldap ldap 48 2006-07-28 12:18 DB_CONFIG
-rw------- 1 ldap ldap 8192 2007-11-19 01:37 dn2id.bdb
-rw------- 1 ldap ldap 32768 2007-11-19 01:37 id2entry.bdb
-rw------- 1 ldap ldap 10485760 2007-11-19 01:37 log.0000000001
-rw------- 1 ldap ldap 8192 2007-11-19 01:37 objectClass.bdb
Here is the very basic setup with very little modification from the
original (standard comments removed):
[EMAIL PROTECTED]:/home/david # cat /etc/openldap/slapd.conf
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/rfc2307bis.schema
include /etc/openldap/schema/yast.schema
argsfile /var/run/slapd/slapd.args
modulepath /usr/lib/openldap/modules
loglevel -1
access to dn.base=""
by * read
access to dn.base="cn=Subschema"
by * read
access to attr=userPassword,userPKCS12
by self write
by * auth
access to attr=shadowLastChange
by self write
by * read
access to *
by self write
by * read
database bdb
checkpoint 1024 5
cachesize 10000
suffix "dc=3111skyline,dc=com"
rootdn "cn=admin,dc=3111skyline,dc=com"
rootpw {SSHA}<password removed>
directory /var/lib/ldap
index objectClass eq
The startup log looks fine as far as I can tell:
http://www.3111skyline.com/download/ldapstartup
I'm really stumped on this one. It has to be a setting somewhere, but
where and what is the question. This also may be a forest for the trees
issue that I just can't see yet. Does anyone have a guess what could be
preventing me from being able to connect to the server. I'm working from
localhost, so this isn't even a remote connection issue. As always, any
help will be appreciated. Thanks!
--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]