LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-26-2007, 01:05 PM   #1
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL 5
Posts: 220

Rep: Reputation: 31
Home Directories and Non Local Users issue


Hello,

The Setup is this:
Fedora Clients FC5, FC6, Windows Clients, Windows and Linux Infrastructure servers.

Well I was able to successfully setup a M$ Active Directory Server with SFU 3.5 to Authenticate and Authorize my Linux Users. There is some work to do such as creating /home directories for each user and setting the permissions on them but after i do this the user can log into any NIX box on the network, without having a local account.

Now the problem I am having is that when my users log into a linux box that they don't have an account I get an error:

From init 3
Code:
Last login: blah blah blah
No directory !
Logging in with home = "/"
From init 5 (Fedora Login Screen)
Code:
Your home directory is listed as:
''
but it does not appear to exist.  Do you want to log in with the / (root) directory as your home directory?
It is unlikely anything will work unless you use a failsafe session.
NO/YES
From init 3, I can log in but ofcourse bash is not prepopulated with all the goodies and so on.
From init 5 I can log in but it immediately logs me out.

OK, I am guessing that the Home Directory variable in Active Directory is not being passed to the clients. Because there is no home directory basic settings can't be setup. Now I know in SFU 3.5 that attribute is unixHomeDirectory. Does anyone have an idea as to what file on the linux side needs to point to this? Am i on the right track??

Thanks
Chris

Last edited by cuco76; 04-26-2007 at 01:07 PM.
 
Old 04-26-2007, 01:30 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
i'd suggest that you check out the getent tool. if you run "getent passwd" it'll go off to wherever the system is configured to get account info and print it all in a standard format. if you have fields missing then assuming you're actually using ldap, there would be mappings in /etc/ldap.conf to detail how to translate between the two, but getent is a great way to get between the two end points and see more about what's going on.
 
Old 04-26-2007, 03:32 PM   #3
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL 5
Posts: 220

Original Poster
Rep: Reputation: 31
Thanks Chris!

I found the problem area. There are many mappings in the LDAP config that need to be changed over. The default in my version of LDAP points to M$ SFU 3.0 name mappings which changed in version 3.5.

Thanks Again!
 
  


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
FTP virtual users with different home directories remi Linux - Software 14 07-27-2009 11:20 AM
Users' home directories as symbolic links mschutte Linux - Software 4 04-11-2007 02:04 PM
Local users login issue linuxtesting2 Solaris / OpenSolaris 2 08-23-2006 02:09 AM
How to bind users to their home directories? trees Linux - Security 6 09-16-2004 05:32 PM
Limiting local users to their home directory. beatlelane Linux - Security 4 09-08-2003 12:00 AM


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