LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-21-2004, 07:26 AM   #1
datalord7
LQ Newbie
 
Registered: Jan 2004
Location: uk
Posts: 6

Rep: Reputation: 0
mkhomedir????


hi
i have rh9 running samba as a pdc for my win98 clients

basically i have created a directory /samba/profiles

where my roving profiles are stored

now if i create there directories manually all is well but i want mkhomedir to auto create them at first user login from the 98 client

so ive added to my smb.conf file

template homedir = /samba/proofiles/U%

then i have added to my /etc/pam/d/samba file at the top of the sessions part

sesssion required pam_mkhomedir.so skel=/samba/skel umask=0022

all directories are created and have correct access privilages but if i do not create the users profile manually in /samba/profiles when the user tries to log in instead of pam creating the dir from the skel and loging the user in it just denies access with an invalid user / password :-(



any help would be appreciated
maybe im missing some winbind stuff in my smb.conf file???


Many Thanks
Matt
 
Old 01-21-2004, 07:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


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
Creating home directories with samba and PAM mkhomedir ferrantepunto Linux - Software 2 01-21-2004 09:13 AM
mkhomedir driving me mad :-( datalord7 Linux - Newbie 2 01-21-2004 07:09 AM


All times are GMT -5. The time now is 06: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration