Solved

How to connect a client to LDAP Server

Posted on 2008-10-17
6
527 Views
Last Modified: 2013-12-19
Hi,
I have followed this tutorial to http://www.grennan.com/ldap-HOWTO.html setup ldap server.i have followed everything till  6.1 Migrating /etc/passwd and /etc/group.

now i am trying to add client to ldap server.

in client pc, i have changed necessary options at  
/etc/ldap.conf such  as
host 192.168.2.116
base dc =mydomain.local,dc=com
pam_password Crypt ( Attm : in ldap server i create user called test, and  then used command passwd test1 to create password, is  this Crypt ??)


then : /etc/openldap/ldap.con : base dc=mydomain, dc=com
url ldap://192.168.2.116

then /etc/nsswitch
passwd  files ldap
shadow files ldap
group files ldap

now when i am trying to connect to ldap server from client pc by using using test
it thinks for cuple of minitues then goo back to login options again ,so i am unable to connect a client pc by using any user of ldap server
how will i solve this problem
0
Comment
Question by:fosiul01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 20

Accepted Solution

by:
edster9999 earned 500 total points
ID: 22740842
check you can access port 389 on the ldap server from the client server

telnet 192.168.2.116 389

0
 
LVL 29

Author Comment

by:fosiul01
ID: 22740982
ommm good question , i was thinking that, but i didnot check

no i cant telnet
i m trying to add these lines,

iptables - A INPUT -p tcp --dport 389 -j accept

will it be allright?
0
 
LVL 29

Author Comment

by:fosiul01
ID: 22741032
I am such an idot!!!!!
shame on me!!

i always tell every one to check port!! and i forgot.

i used iptables --flush, so after that it works
but why its saying : no directory /home/user1!
loggin with home ="/"
you dont have to answer it here. i will ask in another question
but if you can give me a clue that would be realy helpful
0
Webinar: Security & Encryption in the MySQL world

Join Percona’s Solutions Engineer, Dimitri Vanoverbeke as he presents “Security and Encryption in the MySQL world” on Thursday, July 6, 2017 at 7:00 am PDT / 10:00 am EDT (UTC-7).

 
LVL 20

Expert Comment

by:edster9999
ID: 22741165
Every user has a home directory specified.
Normally this would be in /etc/passwd
if you have migrated that file to ldap then you need to check it in there.
Start by checking there is a directory for the user and it has the right access privs
0
 
LVL 29

Author Comment

by:fosiul01
ID: 22741209
yes, i just realized, in when i migratge, i didnot use user home direcotry.
i will open another question soon, and i will post the link here, if you have time please have a look

i will close this question, thanks
0
 
LVL 29

Author Comment

by:fosiul01
ID: 22741267
here is the link for that new quesiton, please have a look

http://www.experts-exchange.com/OS/Linux/Q_23824028.html
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question