LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-21-2011, 07:59 AM   #16
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985

It sounds like you're going to be failing at the "getent passwd" stage in the fault tracing I'd recommend, which given success with ldapsearch would say that most likely the /etc/ldap.conf file is invalid in some way.
 
Old 01-21-2011, 08:48 AM   #17
guna_pmk
Member
 
Registered: Sep 2008
Posts: 220

Original Poster
Rep: Reputation: 5
Chris, I am not very clear on what you are saying here. But as it stands I can able to log on as the ldap user from the ldap client machine (which, as I originally mentioned, is Fedora14) let alone ldapsearch.

It only takes a very very long time to log on into the gnome session after the reboot (as I also mentioned for some reason, the mdmonitor takes a very long time to start - but I can disable mdmonitor for now). Then it takes no time to log in from the terminals, even if it is the ldap user. I have no /etc/ldap.conf on the client machine.

But I do have one on the server to which I have made changes as follows:
#host 127.0.0.1
base dc=mydomain,dc=com
uri ldap://servername.mydomain.com/
ssl no
tls_cacertdir /etc/openldap/cacerts

Please help

Cheers
 
Old 01-24-2011, 05:48 AM   #18
guna_pmk
Member
 
Registered: Sep 2008
Posts: 220

Original Poster
Rep: Reputation: 5
Any idea guys?

Cheers
 
Old 01-24-2011, 07:24 AM   #19
dlugasx
Member
 
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 266

Rep: Reputation: 19
Quote:
Originally Posted by guna_pmk View Post
Hi Guys,

Sadly I have to reopen this thread. The problems regarding the ldap server and client are solved now. But my problem with the log in time still remains. It takes painfully a long long time to log in even as the local user. Another thing I noticed was that the mdmonitor service takes a very very long time to start. If I disable ldap from the nsswitch.conf, the delay does not happen (and of course, I can not log on to the ldap server).

Anybody has any idea?

Thanks
Disable IPv6.
 
Old 01-24-2011, 04:11 PM   #20
guna_pmk
Member
 
Registered: Sep 2008
Posts: 220

Original Poster
Rep: Reputation: 5
Thanks. My client uses a wireless network with network manager running. Ignore option for IPv6 is what is chosen when I open 'Edit Connections' GUI. Is there any other way to do this?

Thanks
 
Old 01-24-2011, 06:11 PM   #21
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
Check you /etc/nsswitch.conf file for ldap entries for services and protocols. If you are using ldap for only user info you can remove ldap for those services. It is possible that attempted ldap lookups are having to time out on login.
 
Old 01-24-2011, 11:04 PM   #22
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
There's some good stuff here: http://www.linuxhomenetworking.com/w...DAP_and_RADIUS ... you can ignore where it talks about RADIUS
 
Old 01-26-2011, 05:16 AM   #23
guna_pmk
Member
 
Registered: Sep 2008
Posts: 220

Original Poster
Rep: Reputation: 5
Thanks for your responses. For now I am taking a slight diversion on what I am doing. I shall re-ignite this thread when I restart this task.

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
slave ldap didn't work neverland Linux - Server 1 04-19-2010 04:48 AM
W2k3 as BDC wont work with Samba + LDAP as PDC VanditBoy Linux - Server 0 08-07-2008 09:46 AM
why squid authen ldap is not work? what i do wrong? (need help) moochachiro Linux - Networking 2 10-26-2007 05:09 AM
Samba experts needed! Winbind does not work with LDAP yuri_d Linux - Server 3 08-18-2007 04:01 AM
ldap still requires local user to work sam_vde Linux - Networking 1 01-26-2007 01:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration