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

Can't contact LDAP server??



Hi everubody,
I'd  like to suggest to my problem.

I'm try build simple LDAP server for Netscape now.


Build up proccess:
Compile OpenLDAP-1.2  and install to default directory
 on RedHat Linux,
Everythig is no error complete.


Step 1,
Create  ldif file by MigrationTools as migrate_passwd.pl
 from /etc/passwd.

Like this:
#./migrate_passwd.pl /etc/passwd   ./passwd.ldif

Step2,
Import  "passwd.idif" file to GDBM database.

#/usr/local/sbin/ldif2ldbm -i   passwd.idif

Complete.

Step3,
lauch  slapd server.

#/usr/local/libexec/slapd -p 9009


Step4,
Search test for slapd(LDAP server) with simple key words,

#/usr/local/bin/ldapsearch -h localhost -p 9009 -v 'objectclass=*'

*any conf files are all default value.


Result is
 Can't contact LDAP server

I don't understand.   I mistake Port number?
I'd  like to suggest to my problem.


thank you

Koujiro



-------------------------------------------------------------
Detai l of Step4:
#/usr/local/bin/ldapsearch -h localhost -p 9009 -v 'objectClass'

ldap_init( localhost, 9009 )
filter pattern: objectClass=*
returning: ALL
filter is: (objectClass=* )
ldap_search: Can't contact LDAP server
ldap_search: additional info: Referral:
idap//test1.yano-el.co.jp
0 matches