Hello all,
I recently set up OpenLDAP as a proxy to an Active Directory server. Happily, this works just fine, and was quite easy to set up. When I attempted to enable pcache however, slapd started segfaulting on startup. Software versions: RedHat EL3 (somewhat modified from stock) OpenLDAP 2.3.24 BerkeleyDB4 4.4.20 Relevant slapd.conf section (sanitized slightly): # LDAP database conf database ldap suffix "DC=ubisoft,DC=org" rootdn "DC=ubisoft,DC=org" uri ldap://ad.server.org:3268 binddn --- bindpw --- overlay pcache proxycache bdb 10000 1 100 100 cachesize 20 directory /usr/local/openldap/var/proxycache The last few lines from slapd at debug -1 (sanitized slightly): slapd startup: initiated. backend_startup_one: starting "cn=config" config_back_db_open config_build_entry: "cn=config" config_build_entry: "cn=include{0}" config_build_entry: "cn=schema" config_build_entry: "cn={0}core" config_build_entry: "olcDatabase={-1}frontend" config_build_entry: "olcDatabase={0}config" config_build_entry: "olcDatabase={1}ldap" config_build_entry: "olcOverlay={0}pcache" config_build_entry: "olcDatabase=bdb" backend_startup_one: starting "dc=ubisoft,dc=org" ldap_back_db_open: URI=ldap://ad.server.org:3268 backend_startup_one: starting "dc=ubisoft,dc=org" bdb_db_open: Warning - No DB_CONFIG file found in directory /usr/local/openldap/var/proxycache: (2) Expect poor performance for suffix dc=ubisoft,dc=org. bdb_db_open: dbenv_open(/usr/local/openldap/var/proxycache) slapd starting Segmentation fault The Berkeley DB files are created (i.e. .../var/proxycache has the __db files and such). It appears to crash directly after creating them. And, yes, I know that I'm missing the DB_CONFIG file in the example above - it doesn't make a difference, the same thing happens even if I do have one. I'll be more than happy to supply any additional information, such as strace output, should it be useful. Any ideas? Thanks! -- _ °v° Daniel Maher /(_)\ Administrateur Système Unix ^ ^ Unix System Administrator Sentio aliquos togatos contra me conspirare.
