LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-01-2003, 02:54 PM   #1
Kerry Davis
LQ Newbie
 
Registered: May 2003
Distribution: Red Hat 9
Posts: 2

Rep: Reputation: 0
Question Home directories and AD authentication


I’m working to configure winbind and pam so that I can log onto my RH9 machine with an Active Directory account. So far I have successfully:

· Configured winbind and samba

· Joined the linux machine to the windows domain

· Authenticated a windows user account on the machine

Now, however, when I log in with a windows account, I get the following message:

“Your home directory is listed as: ‘/home/domain/accountname’ but it does not appear to exist. Do you want to log in with the root directory as your home directory?”

I’ve tried creating a folder called domain in the skel directory and using pam_mkhomedir.so to create this directory on the fly, but it doesn’t seem to be working. I added the following line to /etc/pam.d/login as well as to the pam.conf file.

session required /lib/security/pam_mkhomedir.so skel=/etc/skel/domain/ umask=0222

Any ideas what I’m doing wrong? Getting this to work is a first step in demonstrating linux as a viable option in our environment.

Thanks in advance!
 
Old 05-02-2003, 11:26 AM   #2
phillipd
LQ Newbie
 
Registered: Jul 2002
Location: Vegas
Distribution: SuSE
Posts: 6

Rep: Reputation: 0
Getting rid of Active Directory for central authentication

I have rid myself of AD and taken a different road that seems to be much simpler and more stable than the AD route. I found something called pGina. It is an opensource replacement for the Microsoft's authentication through a domain controller. It allows you to centrally authenticate Win2k/XP users to a standard OpenLDAP server. You install the PGina software on all the clients, make a registry entry like:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\pGina\ldapauth]
"ldapServer"="172.20.10.7"
"ldapPrePend"="uid="
"ldapMethod"="1"
"ldapContext0"="ou=People, dc=oem, dc=doe, dc=gov"

Then when the user logs in they authenticate to the designated LDAP server. Now I don't have to use AD, Domains, and Microsoft's DNS which AD requires. I've had constant AD trouble. My DC's would stop replicating for no apparent reason every few months and the sh*t would hit the fan. Since I started using pGina I have had ZERO problems because the authentication boxes are Linux.

The pGina stuff is at www.xpasystems.com

Regards

Doug P
 
Old 05-02-2003, 02:02 PM   #3
Kerry Davis
LQ Newbie
 
Registered: May 2003
Distribution: Red Hat 9
Posts: 2

Original Poster
Rep: Reputation: 0
Its a great recommendation, and I will definitely consider this for my long term plans for Linux world domination.

My immediate goal however, is to be able to introduce a pilot group of Linux desktops to our all-windows environment in a way that is as minimally invasive as humanly possible. This means continuing to leverage all of the back-end infrastructure that is already in place, at least for the time being. I can focus on ripping out MS based backend services one at a time later.

I think I am really close here, since I already have authentication working - it just isn't creating the home directories on the fly for the AD user I'm authenticating.

Still searching for a solution!
 
Old 07-13-2004, 11:05 PM   #4
clwang
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
can anybody resolve the trouble?
i encounter the same problem as well
NFS server is based on Windows 2003 Stroage Server
users on RH 9.0 Xwin can't find their mounted home dir
 
Old 07-14-2004, 08:39 AM   #5
schoeppchen
LQ Newbie
 
Registered: Jul 2004
Posts: 29

Rep: Reputation: 15
You can take a look at my post

http://www.linuxquestions.org/questi...hreadid=204868

there you find the add user script paramater, which should help you. Just call a script that is doing proper dir and you'll be fine.

Perhaps you can held me too with my problem ;-)
 
Old 07-14-2004, 10:26 AM   #6
LanRx
Member
 
Registered: Jul 2004
Posts: 85

Rep: Reputation: 15
I wrote a bash script to pull all of the homedir attributes for appropriate users, and then create a directory if that directory doesn't exist.

Look at the howto on my website, at http://www.lanrx.com/index.php?optio...d=10&Itemid=76
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
securing /home directories danimalz Debian 21 11-30-2005 03:30 AM
browseable home directories kenji1903 Linux - Networking 18 07-30-2004 04:10 AM
permissions home directories powadha Debian 6 06-11-2004 11:45 AM
NIS authentication & /home directories zapperabhi Linux - Software 0 03-10-2004 08:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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