LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-16-2005, 05:48 PM   #1
azrael808
Member
 
Registered: Dec 2004
Location: London, UK
Distribution: Fedora and CentOS
Posts: 43

Rep: Reputation: 15
Question LDAP Authentication - no Gnome login possible


Hello everyone,

I've finally configured an OpenLDAP server to act as an authentication server for my home, no mean feat, I can tell you! I can query the LDAP database no problems, but I am having difficulty logging into my desktop running Fedora Core 4.

If I switch to one of the virtual consoles (to a command line), I can log in no problems (albiet a little slowly). However, when I try to log into gnome, through the GUI log in screen, I have difficulties.

It seems to authenticate me OK, but it gives an error message about my session lasting less than ten seconds, and would I like to see the output from ~/.xsession-errors, which I have included below:

/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: /usr/X11R6/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "pete"
/etc/X11/xdm/Xsession: line 89: /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients: No such file or directory
/etc/X11/xdm/Xsession: line 89: exec: /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients: cannot execute: No such file or directory


Now, I've checked my home directory, and I cannot find the .xsession-errors file that supposedly exists. I've also had a look at the /etc/X11/xdm/Xsession file, and I cannot see anything that might cause a problem, so I'm kinda stumpted.

Could anybody help shed some light on this matter? It seems a same to revert back to NIS, now I'm so close to an LDAP solution.

Thanks in advance,

Pete
 
Old 11-16-2005, 06:16 PM   #2
azrael808
Member
 
Registered: Dec 2004
Location: London, UK
Distribution: Fedora and CentOS
Posts: 43

Original Poster
Rep: Reputation: 15
A quick note: after a little bit more playing around, it would seem that once I have logged into the command line, I can use startx to manually spawn an x-session and work with the GUI. It is only when I attempt to log in from the GUI log on prompt.

Strange.
 
Old 05-01-2006, 10:08 AM   #3
azrael808
Member
 
Registered: Dec 2004
Location: London, UK
Distribution: Fedora and CentOS
Posts: 43

Original Poster
Rep: Reputation: 15
Thought I'd update this, as I've solved it myself. For some reason, my PC wasn't able to retrieve my users shell (bash) from the LDAP directory.

My solution was to no longer bind anonymously - I've created a special user to bind with.
 
Old 01-11-2007, 06:43 AM   #4
asmar
LQ Newbie
 
Registered: Oct 2004
Location: To the best place in the world...Greece
Distribution: Debian, SuSE, CentOS, Solaris, Ubuntu
Posts: 25

Rep: Reputation: 15
Hi azrael808,

I have the same problem but it's not clear to me what exactly you did to pass this problem.
Would you please elaborate a little bit?

Thanks a lot

Quote:
Originally Posted by azrael808
Thought I'd update this, as I've solved it myself. For some reason, my PC wasn't able to retrieve my users shell (bash) from the LDAP directory.

My solution was to no longer bind anonymously - I've created a special user to bind with.
 
  


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
ldap authentication goestin Linux - Networking 2 12-27-2005 12:27 PM
LDAP Authentication and su da_kidd_er Linux - Networking 1 12-27-2005 12:24 PM
Ldap Authentication joeyBig Programming 1 08-25-2004 11:00 AM
ldap authentication box_l Mandriva 0 03-22-2004 04:24 AM
LDAP Authentication Staceman Linux - Software 0 07-31-2003 09:14 AM


All times are GMT -5. The time now is 03:51 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration