[Samba] Creating user home directories with domain login

Scott Wrosch kc8lir at yahoo.com
Fri Oct 25 20:36:02 GMT 2002


I'm not familiar with it, or how to use it.  How does
it work?


--- daniel.jarboe at custserv.com wrote:
>   I don't personally use it, but pam_mkhomedir.so
> does this too
> 
> ~ Daniel
> 
> KeHall at exchange.ml.com wrote:
> 
> >Yep, that's exactly what I'm doing.
> >
> >The actual authentication comes from a domain, the
> script adds the local user ID, and can create the
> home directory if necessary.  
> >
> >>-----Original Message-----
> >>From: Scott Wrosch [mailto:kc8lir at yahoo.com]
> >>Sent: Friday, October 25, 2002 2:29 PM
> >>To: Hall, Ken (ECSS); samba at lists.samba.org
> >>Subject: RE: [Samba] Creating user home
> directories with domain login
> >>
> >>
> >>I'm sorry, I should have added that this box is
> not a
> >>domain controller.  It gets the login info from
> the
> >>domain controller.  However, I need it to create
> the
> >>user directory if it doesn't exist when the user
> logs
> >>in.  Will a script do that?
> >>
> >>Thanks for the quick response!
> >>
> >>Regards,
> >>Scott
> >>
> >>--- "Hall, Ken (ECSS)" <KeHall at exchange.ml.com>
> wrote:
> >>
> >>>There's a "login script" option at the share
> level
> >>>that can be used to run the "adduser" or
> "useradd"
> >>>command.  I'm using a script with some extra
> smarts,
> >>>but it can be done pretty easily.
> >>>
> >>>>-----Original Message-----
> >>>>From: Scott Wrosch [mailto:kc8lir at yahoo.com]
> >>>>Sent: Friday, October 25, 2002 2:20 PM
> >>>>To: samba at lists.samba.org
> >>>>Subject: [Samba] Creating user home directories
> >>>>
> >>>with domain login
> >>>
> >>>>
> >>>>Hello,
> >>>>
> >>>>I've got Samba set up for domain logins and use
> >>>>winbind as well.  What I'm wondering is if it's
> >>>>possible for the home directory to be
> >>>>
> >>>automatically
> >>>
> >>>>created when the user logs in if it doesn't
> >>>>
> >>>already
> >>>
> >>>>exist?  If not, anyone have a relatively easy
> way
> >>>>
> >>>to
> >>>
> >>>>do this, in addition to giving the proper owner
> >>>>
> >>>and
> >>>
> >>>>group?
> >>>>
> >>>>Thanks,
> >>>>Scott


__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/



More information about the samba mailing list