hola ojala me puedan ayudar, tengo una consulta baje de openldap.org el archivo openldap-2.1.29 tengo instalado lo que necesita... OpenSSL 0.9.7a Feb 19 2003 BerkeleyDB.4.1...
salio esto en el make test, --------------------------------- cd tests; make test make[1]: Entering directory `/root/openldap-2.1.29/tests' ln: `./data': cannot overwrite directory make[1]: [test-bdb] Error 1 (ignored) ln: `./schema': File exists make[1]: [test-bdb] Error 1 (ignored) ln: `ucdata/liblunicode': File exists make[1]: [test-bdb] Error 1 (ignored) Initiating LDAP tests for BDB... >>>>> Executing all LDAP tests... >>>>> Test Directory: . >>>>> Backend: bdb >>>>> Starting test000-rootdse ... running defines.sh Datadir is ./data Cleaning up in ./test-db... Starting slapd on TCP/IP port 9009... Using ldapsearch to retrieve the root DSE... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... ./scripts/test000-rootdse: line 57: kill: (4654) - No such process ldap_bind: Can't contact LDAP server (81) >>>>> Test failed >>>>> ./scripts/test000-rootdse failed (exit 1) make[1]: *** [test-bdb] Error 1 make[1]: Leaving directory `/root/openldap-2.1.29/tests' make: *** [test] Error 2 ----------------------------------------------------------------- de ahi vi en unas paginas que preguntaban lo mismo que yo que ignorara no mas los errores y hiciera make install lo hice y cuando trato de levantar el servicio me sale esto en los log ----------------------------------------------------------------- slapd[4342]: daemon: socket() failed errno=97 (Address family not supported by protocol) slapd[4342]: bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25: (October 24, 2003) slapd[4342]: bdb_db_init: Initializing BDB database slapd[4344]: bdb(dc=digsignlinux,dc=inf): Berkeley DB library configured to support only DB_PRIVATE environments slapd[4344]: bdb_db_open: dbenv_open failed: Invalid argument (22) slapd[4344]: backend_startup: bi_db_open(0) failed! (22) slapd[4344]: bdb(dc=digsignlinux,dc=inf): txn_checkpoint interface requires an environment configured for the transaction subsystem slapd[4344]: bdb_db_destroy: txn_checkpoint failed: Invalid argument (22) slapd[4344]: slapd stopped. slapd[4344]: connections_destroy: nothing to destroy. tengo unas consultas el archivo .ldif lo cree yo y esta dentro del direcctorio donde estan los datos, ese lo creo yo o se crea solo? mi slapd.conf es: ------------------------------------------------------------------- include /usr/local/etc/openldap/schema/core.schema pidfile /usr/local/var/slapd.pid argsfile /usr/local/var/slapd.args database bdb suffix "dc=digsignlinux,dc=inf" rootdn "cn=Manager,dc=digsignlinux,dc=inf" #suffix "dc=my-domain,dc=com" #rootdn "cn=Manager,dc=my-domain,dc=com" # Cleartext passwords, especially for the rootdn, should # be avoid. See slappasswd(8) and slapd.conf(5) for details. # Use of strong authentication encouraged. rootpw secret # The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd and slap tools. # Mode 700 recommended. directory /usr/local/var/openldap-data # Indices to maintain index objectClass eq ---------------------------------------------------------------------- le puse chmod 700 al directorio y todo, me tinca q es algo con la base de datos esa y en algun lugar tengo q ponerle otro tipo de variables o algo asi pero donde seria? agradeceria si alguien me puede dar un pista que estoy haciendo mal ah y toy en un fedora core 1 Claudia.