LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Home Directories and Non Local Users issue (https://www.linuxquestions.org/questions/linux-software-2/home-directories-and-non-local-users-issue-549241/)

cuco76 04-26-2007 01:05 PM

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

acid_kewpie 04-26-2007 01:30 PM

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.

cuco76 04-26-2007 03:32 PM

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!


All times are GMT -5. The time now is 02:22 PM.