LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-01-2009, 03:33 AM   #1
wolfteeth
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Rep: Reputation: 0
How to login X-Window(Gnome) via Domain account?


I installed CentOS5.3 joined to windows DC (Win2K3)

may I know how can I login to the CentOS in GUI with domain\userID ?

whenever I login it shows there's no HOME folder for domain\userID, so I created manually but don't know how can I chmod the owner to the userId..

If I ignore this but just login, it will tell me the error, "user's $HOME/.dmrc file is being ignored. This prevents the default session and language from being saved. File should be owned by user and have 644 permissions. User's $HOME directory must be owned by user and not writable by other users." I know it was caused by the owner, but I am unable to chmod....

If I click oky buttn then tell me "your session ony lasted less then 10 seconds. if you have not logged out yourself. this could mean that there is some installation problem or that you may be out of diskspace. "

If I view details (~/.xsession-errors file)
/etc/gdm/Presession/default: registering your sessin with utmp
/etc/gdm/Presession/default: running: /usr/bin/sessreg -a -u /var/run/utmp -x " /var/gdm/:0.Xservers" -h "" -l ":0"
localuser:domain\userID being added to access control list
No profile for user 'domain\UserID' found
Loading simple config module
Creating backend...

then if I click Ok button again, then session will be logout and give me back to the login screen...

any idea or experience on setting this up? or allow to login via window domain account to GUI interface?
 
Old 09-01-2009, 08:27 PM   #2
wolfteeth
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Original Poster
Rep: Reputation: 0
I gave my answer here finally.

login as root and
chomod 777 to the home folder
 
Old 09-02-2009, 12:33 AM   #3
wolfteeth
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Original Poster
Rep: Reputation: 0
answer myquestion here again
for the auto create folder issues:


add one more line into /etc/pam.d/sysconf-auth would fix this issue.
session required pam_mkhomedir.so silent skel=/etc/skel umask=0077
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"New Login in a Window" Gnome option gives error message kushalkoolwal Debian 2 03-14-2009 11:14 AM
Eee PC 1000 Linux Laptop - Just setup a login account for privacy, now can't login!!! martinkettle Linux - Laptop and Netbook 3 10-28-2008 05:21 AM
Joined Domain, can't login as domain user mikeyt_333 Linux - Networking 12 08-26-2005 08:25 AM
domain admin account ? alris Linux - Networking 0 11-01-2004 08:15 PM
Can't login to domain account in X but can in shell mhodges Linux - Networking 2 10-22-2004 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:13 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