LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-20-2004, 05:47 PM   #1
datalord7
LQ Newbie
 
Registered: Jan 2004
Location: uk
Posts: 6

Rep: Reputation: 0
samba as PDC RH9


Hi i have finally managed to configure samba to run smoothly as a pdc for my network of 98 machines however i have one small problem.

i am trying to use the module pam_mkhomedir.so to create the users home directory on the fly at firt login and set the permissions for the folder and sub folders to owner 'user) group 'users group; rwx

heres what ive done

firstly i created a folder with full rwx for all users /samba/skel
my profiles for windows users are stored in /samba/profiles/%U

in the /samba/skel folder i have placed a windows profile to be copied to the users home directory upon creation.

to my smb.conf file in the globals part i have added the line template homedir = /samba/profiles/%U does this have to be in a certain place within the globals??? do i need to add any winbind lines????


to my /etc/pam.d/samba file i have added at the top of the session section

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

now i create a user on the linux platform as normal and create the same user within the samba server.

when i then log on from the 98 client using this name / password the logon is denied bad name / password

however if i create users in exactly the same way but do not ad the lines to the samba and smb.conf file then create the directory manually in /samba/profiles all it well

this is driving me insane now if anybody could show me the error of my ways i would be mose grateful :-)

many thanks

matt
 
  


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
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 11:39 AM
Samba As A PDC steve007 Linux - Newbie 1 06-13-2005 12:27 PM
samba pdc berrance Linux - Software 1 12-18-2004 11:13 AM
samba pdc leonardotiago Slackware 0 09-21-2003 02:18 PM
RH9 authentication from WinNT PDC? sikandar Linux - Networking 9 09-02-2003 08:22 AM


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