Scott Wrosch
2002-Oct-25 18:20 UTC
[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/
Hall, Ken (ECSS)
2002-Oct-25 18:24 UTC
[Samba] Creating user home directories with domain login
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@yahoo.com] > Sent: Friday, October 25, 2002 2:20 PM > To: samba@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/ > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
Hall, Ken (ECSS)
2002-Oct-25 18:45 UTC
[Samba] Creating user home directories with domain login
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@yahoo.com] > Sent: Friday, October 25, 2002 2:29 PM > To: Hall, Ken (ECSS); samba@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@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@yahoo.com] > > > Sent: Friday, October 25, 2002 2:20 PM > > > To: samba@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/ > > > -- > > > To unsubscribe from this list go to the following > > URL and read the > > > instructions: > > http://lists.samba.org/mailman/listinfo/samba > > > > > > > -- > > To unsubscribe from this list go to the following > > URL and read the > > instructions: > http://lists.samba.org/mailman/listinfo/samba > > > __________________________________________________ > Do you Yahoo!? > Y! Web Hosting - Let the expert host your web site > http://webhosting.yahoo.com/ >