Thread View: fj.net.ldap
1 messages
1 total messages
Started by sanjeev
Fri, 14 Mar 2003 12:23
cannot connect X server or ldap_bind: cannot contact ldap server (81)
Author: sanjeev
Date: Fri, 14 Mar 2003 12:23
Date: Fri, 14 Mar 2003 12:23
144 lines
4634 bytes
4634 bytes
Hi all! Greetings to you! While trying to configure OpenLdap in Redhat Linux 8.0 with postgresql i am getting the following error [root@san]# /usr/bin/odbctest odbctest: cannot connect to X server /usr/lib/libpsqlodbc.so if i am running ldapsearch i am getting the following error ldap_bing: Can't contact LDAP server (81) My configuration is as follows openldap 2.1.15 Postgresql 7.2.2-1 with Postgresql-odbc 7.2.2-1 unixODBC-2.2.2-3 /usr/local/etc/openldap/slapd.conf ####################################################################### include /usr/local/etc/openldap/schema/core.schema # Define global ACLs to disable default read access. # Do not enable referrals until AFTER you have a working directory # service AND an understanding of referrals. #referral ldap://root.openldap.org pidfile /usr/local/var/slapd.pid argsfile /usr/local/var/slapd.args database sql suffix "dc=unisoft,dc=net" rootdn "cn=Manager,dc=unisoft,dc=net" # Cleartext passwords, especially for the rootdn, should # be avoid. See slappasswd(8) and slapd.conf(5) for details. # Use of strong authentication encouraged. rootpw test # The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd/tools. Mode 700 recommended. directory /usr/local/var/openldap-data # Indices to maintain index objectClass eq my /usr/local/etc/openldap/ldap.conf BASE dc=unisoft, dc=net #URI ldap://ldap.example.com ldap://ldap-master.example.com:666 HOST ldap://10.0.3.8 /etc/odbc.ini ; ;odbc.ini ; [ODBC Data Sources] PgSQL=PostgreSQL [PgSQL] Driver=/usr/lib/libodbcpsql.so ;Driver=/usr/local/lib/psqlodbc.so Description=Connection to LDAP/POSTGRESQL Servername=localhost Port=5432 Protocol=6.4 FetchBufferSize=99 Username=test Password=test Database=pg_ldap ReadOnly=no Debug=1 CommLog=1 [ODBC] InstallDir=/usr/local/lib /etc/odbcinst.ini # Example driver definitinions # # # Included in the unixODBC package [PostgreSQL] Description = ODBC for PostgreSQL Driver = /usr/lib/libodbcpsql.so Setup = /usr/lib/libodbcpsqlS.so FileUsage = 1 # From the MyODBC package #[MySQL] #Description = ODBC for MySQL #Driver = /usr/lib/libmyodbc.so #FileUsage = 1 /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 san localhost.localdomain localhost 10.0.3.8 san unisoft.net /etc/pam.d/login #%PAM-1.0 auth required /lib/security/pam_securetty.so auth required /lib/security/pam_stack.so service=system-auth auth required /lib/security/pam_nologin.so account required /lib/security/pam_stack.so service=system-auth password required /lib/security/pam_stack.so service=system-auth session required /lib/security/pam_stack.so service=system-auth session optional /lib/security/pam_console.so /etc/pam.d/sshd #%PAM-1.0 auth required /lib/security/pam_stack.so service=system-auth auth required /lib/security/pam_nologin.so account required /lib/security/pam_stack.so service=system-auth password required /lib/security/pam_stack.so service=system-auth session required /lib/security/pam_stack.so service=system-auth session required /lib/security/pam_limits.so session optional /lib/security/pam_console.so postgresql server is running and i have created few user names in that with separate tables as instructed in http://www.samse.fr/GPL/ldap_pg/HOWTO/x37.html Can any one help me in this issue! Regds san
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads