LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 04-16-2009, 07:38 AM   #1
sreeharsha.t
Member
 
Registered: Jan 2009
Location: Mumbai, India
Distribution: Fedora 9, 10,11, RHEL 5
Posts: 67

Rep: Reputation: 18
Question GNOME hangs with LDAP Authentication


Hi,

I have recently configured my Fedora 9 computer to use LDAP Authentication using a Fedora Directory Server. In the Configuration options, I have selected 'Local Authorization is sufficient for local users' and 'Create home directories on the first login'.

Now when I try to login into gnome. The gnome hangs (mouse pointer responds), and only the wallpaper is shown without any GUI.

To test whether there was any problem with the LDAP server authentication I tried to login into through the console <ctrl+shift+F2> and it succeeded with the following messages:

localhost login:harsha
password: <LDAP password for harsha>
'Creating user home directory.../home/harsha
'Creating bash_profile.... /home/harsha/.bash_profile'
..................few more............
[harsha@localhost~]#

then i restarted X using :killall Xorg and logged into gnome, this time Gnome showed up!

My diagnostics on this are:
1.Gnome is not creating home directories for LDAP users on their first login. (This is happening because there is no home directory for the LDAP user)
2.In order to login to the Gnome initially, an LDAP user has to login through the console which creates his home directories.

Now my question is, Can we configure gnome to create home directories for LDAP users at their first login without logging in through console? if so, how?


Thanks in advance.
 
Old 04-16-2009, 11:49 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , Solaris 10, RHEL
Posts: 1,935
Blog Entries: 1

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by sreeharsha.t View Post
Hi,

I have recently configured my Fedora 9 computer to use LDAP Authentication using a Fedora Directory Server. In the Configuration options, I have selected 'Local Authorization is sufficient for local users' and 'Create home directories on the first login'.

Now when I try to login into gnome. The gnome hangs (mouse pointer responds), and only the wallpaper is shown without any GUI.

To test whether there was any problem with the LDAP server authentication I tried to login into through the console <ctrl+shift+F2> and it succeeded with the following messages:

localhost login:harsha
password: <LDAP password for harsha>
'Creating user home directory.../home/harsha
'Creating bash_profile.... /home/harsha/.bash_profile'
..................few more............
[harsha@localhost~]#

then i restarted X using :killall Xorg and logged into gnome, this time Gnome showed up!

My diagnostics on this are:
1.Gnome is not creating home directories for LDAP users on their first login. (This is happening because there is no home directory for the LDAP user)
2.In order to login to the Gnome initially, an LDAP user has to login through the console which creates his home directories.

Now my question is, Can we configure gnome to create home directories for LDAP users at their first login without logging in through console? if so, how?


Thanks in advance.
I had a similar problem and I put this in my /etc/pam.d/gdm file...

Code:
auth sufficient pam_ldap.so
account sufficient pam_ldap.so
password sufficient pam_ldap.so
That seemed to work for me...

-C

Last edited by custangro; 04-16-2009 at 11:56 PM.
 
  


Reply

Tags
authentication, gnome, ldap


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 sandeepthug Linux - Newbie 4 01-07-2009 10:45 AM
ldap authentication help ... sir-lancealot Linux - Server 2 10-11-2007 04:00 PM
LDAP Authentication - no Gnome login possible azrael808 Linux - Software 3 01-11-2007 05:43 AM
ldap authentication box_l Mandriva 0 03-22-2004 03:24 AM
LDAP Authentication Staceman Linux - Software 0 07-31-2003 08:14 AM


All times are GMT -5. The time now is 04:58 AM.

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