LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2012, 07:28 AM   #1
ldapuser
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Rep: Reputation: Disabled
LDAP authentication


Hi everyone,
Actually iam trying to authenticate Sun One directory server user in RHEL[RedHat Linux] version 5.5 by using PAM.For this iam using two machines, my Sun One Directory Sever[version 5.1] is residing in windows 2003 server and a linux machine.I have made necessary PAM configuration,but ultimately couldn't authenticate a user.Can anyone help me out please.

Could you please send me the steps for PAM configuration as well,for double check.

Last edited by ldapuser; 04-02-2012 at 07:32 AM.
 
Old 04-02-2012, 07:35 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
Why would we send you "steps" when you can google for them? And how are we supposed to help you when you've provided no useful information about your system at all? are you able to bind to ldap with a valid user? are you getting user accounts from the server?
 
Old 04-02-2012, 07:43 AM   #3
ldapuser
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
LDAP authentication

Hi Chris,
Sorry for not providing valid information.nope iam unable to bind with server.iam not getting any user accounts.through google i have got steps, but when i followed those steps,iam unable to authenticate.
i have got the following error message in my Linux machine log files.

Apr 2 06:44:24 sankarlinux gdm[4325]:Couldn't authenticate user
Apr 2 06:44:24 sankarlinux gdm[4325]: writing failed session attempt record
Apr 2 06:44:24 sankarlinux gdm[4325]: using username gwashington
Apr 2 06:44:24 sankarlinux gdm[4325]: using id
Apr 2 06:44:24 sankarlinux gdm[4325]: using line :0
Apr 2 06:44:24 sankarlinux gdm[4325]: using time 1333363464
Apr 2 06:44:24 sankarlinux gdm[4325]: using type USER_PROCESS
Apr 2 06:44:24 sankarlinux gdm[4325]: using pid 4325
Apr 2 06:44:24 sankarlinux gdm[4325]: writing failed session attempt record to /var/log/btmp
Apr 2 06:44:24 sankarlinux gdm[4325]: gdm_slave_wait_for_login: end verify for ''
Apr 2 06:44:24 sankarlinux gdm[4325]: gdm_slave_wait_for_login: No login/Bad login
Apr 2 06:44:24 sankarlinux gdm[4325]: gdm_slave_wait_for_login: In loop
 
Old 04-02-2012, 07:51 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
by bind, I meant can you use ldapsearch as a sample user? If not, nothing else matters. make that work, and then go on from there. Don't just treat this sort of setup as a single thing. show you can can pull back a users object from ldap bound as that user.

You're also showing gdm log output? That's about as far away from where you're looking as you can get. for the user info side, you need "getent passwd" and "getent group" to show you the accounts as well. After a valid ldapsearch that is.

Last edited by acid_kewpie; 04-02-2012 at 07:53 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] LDAP authentication error [Can't contact LDAP server] from apache httpd jonathan_w_brown Linux - Server 6 12-28-2011 06:30 PM
What are my options to enable LDAP authentication for certain LDAP users? ghost_dancer999 Linux - Security 1 10-18-2011 02:41 AM
LDAP Authentication ansrewdps Linux - Newbie 3 06-09-2011 12:05 PM
Authentication Failure in LDAP after the Modification of ldap to ldaps url vijith.pa@gmail.com Linux - Newbie 3 06-03-2011 06:30 AM
[SOLVED] Apache authentication: allow LDAP group OR user named guest, but not all LDAP users AlucardZero Linux - Server 1 05-25-2011 04:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:53 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration