[K12OSN] mounting home directories
Joe Guenther
jguenther at chinooksedge.ab.ca
Fri Feb 25 16:54:46 UTC 2005
Burt,
I had to make sure that in the Novell eDirectory the Home directory was
properly defined and that the user had full rights to that folder. Once I
had that, the proper folder was properly mounted.
This is what my pam config looks like
-A is to use TCP/IP
-a is to automagically create new users and mount their home dir.
I added all the user contexts so that they do not have to use the context
in their login.
.... this is what works here.
Joe Guenther
= = = = system-auth = = = =
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required /lib/security/$ISA/pam_env.so
auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok
auth sufficient /lib/security/pam_ncp_auth.so nullok
use_first_pass
ndsserver=dbhsns1:ou=dbhs.ou=CerdS.o=CE,ou=2005.ou=dbhs.ou=CerdS.o=CE,ou=2006.ou=dbhs.ou=CerdS.o=CE,ou=2007.ou=dbhs.ou=CerdS.o=CE,ou=2008.ou=dbhs.ou=CerdS.o=CE
-a -d -L -u2000,4000,pn,gcds -g2000,4000,pn -A
auth required /lib/security/$ISA/pam_deny.so
account required /lib/security/$ISA/pam_unix.so
account sufficient /lib/security/$ISA/pam_succeed_if.so uid < 100
quiet
account required /lib/security/$ISA/pam_permit.so
password requisite /lib/security/$ISA/pam_cracklib.so retry=3
password sufficient /lib/security/$ISA/pam_unix.so nullok
use_authtok md5 shadow
password required /lib/security/$ISA/pam_deny.so
session required /lib/security/$ISA/pam_limits.so
session required /lib/security/$ISA/pam_unix.so
session optional /lib/security/pam_ncp_auth.so
On Fri, February 25, 2005 9:06 am, Burt Carter said:
> I have installed ncpfs and the pam_auth module. After I set everything up
> following the directions given here, I was unable to authenticate. I left
> and came back about 30mins later and it worked?? Is this normal? It
> appears to be working now with the following exceptions. When users login
> I get the following output from /var/log/secure:
>
> "user student.hsms.boe had trouble mounting hsms-home/user on
> /home/student/nwhome"
>
> The student home directory on the Novell 6 server is actually:
> "hsms-home/user/hs/students/student"
>
> It appears to be attempting to mount the wrong directory to home and fails
> to mount.
> I was unable to follow the last step(step 4) in the K12LTSP howtoz.net
> document because /usr/bin/ncpumount and /usr/bin/ncpmount did not exist.
> THe link I created in /usr/local/bin/ is broken due to this. Could this
> be causing the problem?
>
> Also, I see the following error in the /var/log/secure output
> occasionally:
> "WaitPid: Fatal: no child process"
>
> Thanks,
> Burt Carter
>
>
>
>
>
>
> ________________________________________________________________
> Sent via the WebMail system at mail.jchs.com
>
>
>
>
>
> This e-mail message and all attachments transmitted with it may contain
> legally privileged and confidential information intended solely for the
> use of the addressee. If the reader of this message is not the intended
> recipient, you are hereby notified that any reading, dissemination,
> distribution, copying, or other use of this message or its attachments is
> strictly prohibited. If you have received this message in error, please
> notify the sender immediately by telephone (478-982-6000) or by electronic
> mail, and delete this message and all copies and backups thereof. Thank
> You.
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
> !DSPAM:421f4d7813685210312130!
>
>
= = = = = = = = = = = = =
Lantech - Didsbury
Chinook's Edge School Div.
More information about the K12OSN
mailing list