LDAP SERVER Client Connection on SUSE 9.2 - connection error
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
LDAP SERVER Client Connection on SUSE 9.2 - connection error
I have been having the same problem as thread linuxquestions.org/questions/showthread.php?s=&threadid=296210
but, I do not have tls running and I still have the same problem.,
I have been trying to get LDAP to work on SUSE 9.2 Pro for 2 weeks. I installed it using the rpm from the install CD and did the current updates for SUSE bringing the OpenLDAP2 version up to 2.2.15-5.2. I have followed all the LDAP setup papers from several sites on the internet, but I still can not get SUSE 9.2 to see the LDAP server it is running. When I try to connect with the LDAP client or through user setup, I get the message "Connection to LDAP server can not be extablished. The LDAP server is running with no errors in the message log. I know I have to be missing something, but I do not know where. I have LDAP running on a SUSE 9 Enterprise Server with no problem. The Yast2 setup for the LDAP enterprise server did most of the work, but SUSE 9.2 does not have a LDAP server setup in it's Yast2.
Steps I followed to setup LDAP on SUSE 9.2 PRO.
Installed from RPM on CD, did updates from SUSE website for LDAP.
Edit the ldap.conf file with follows:
# LDAP Defaults
#
# See ldap.conf(5) for details
# This file should be world readable but not world writable.
#BASE dc=example, dc=com
#URI ldap://ldap.example.com ldap://ldap-master.example.com:666
#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never
base dc=asi-web,dc=com
host 127.0.0.1
Edit slapd.conf with the following:
# See slapd.conf(5) for details on configuration options.
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
# Define global ACLs to disable default read access.
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 * read
using command: ldapadd -x -D "cn=Manager,dc=asi-web,dc=com" -W -f setup.ldif.
Did not get any errors from this.
Started slapd.
The message log shows no errors when starting slapd.
ldapsearch -x gives me:
# extended LDIF
#
# LDAPv3
# base <> with scope sub
# filter: (objectclass=*)
# requesting: ALL
#
# search result
search: 2
result: 32 No such object
# See ldap.conf(5) for details
# This file should be world readable but not world writable.
#BASE dc=example, dc=com
#URI ldap://ldap.example.com ldap://ldap-master.example.com:666
#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never
base dc=asi-web,dc=com
host 127.0.0.1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.