You bet... Here is my smb.conf file: [global] smb passwd file = /etc/samba/smbpasswd wins server = <ip of server> passwd program = /usr/bin/passwd %u pam password change = yes printing = lprng dns proxy = no encrypt passwords = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printcap max log size = 0 preferred master = no local master = no password server = ALBPDC01, ALBBDC01 obey pam restrictions = yes security = domain unix password sync = Yes server string = ALBLINUX_Samba Server workgroup = ALBDOMNT log file = /var/log/samba/%m.log load printers = yes os level = 33
winbind cache time = 300 winbind separator = + winbind uid = 10000-20000 winbind gid = 10000-20000 winbind enum users = yes winbind enum groups = yes template homedir = /home/%U template shell = /bin/bash That is my Global section. Thanks for the help... Joe > On Thu, 2002-07-25 at 18:06, Joe Giles wrote: > > List, > > > > I am using the pam_mkhomedir.so to automatically creat home folders for users that >log into SSH and Telnet. I am also using the WINBIND service to auth users on a Win >NT domain. Now, this works great; the home folders are getting created like the >should in the /home directory for DOMAIN users, but, I want to be able to have >pam_mkhomedir.so create users that log in from a domain to automatically create their >home folder in /home/<domain>/%U. Now, I dont mind creating the initial DOMAIN >directories, but Im having trouble figuring out how to create the home folders under >the DOMAIN folder. It always defaults to /home. The problem with this is that some of >the LOCAL users on the Linux box have the same account name as the DOMAIN+user. So >when the DOMAIN user logs in, it maps the home folder of the correct name, but there >is a different set of permissions and they cant do anything. Is there any way to >define how and where the home dir's gets created using the pam mod mkhomed! ir! > ? > > Can you please lower you're word wrap. > > I have implimented exactually what u want at work with no problem. > > First off pam_mkhomedir.so cannot create subdirectorys. > > Can you please post either to me personally or to the list youre > smb.conf file (this controls the way winbind works) > > Also I presume you have put pam_mkhomedir.so into each of the pam files > for telnet and ssh? > Other wise it will not create one for them (this is safer than doing it > system wide, as you are sort of restricting users to certain login > styles) > > Mark > > > -- > --- > To steal ideas from one person is plagiarism; > to steal from many is research. > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > Joe Giles [EMAIL PROTECTED] AOL ID: mcigiles _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list