[Samba] Setup a new samba AD DC

Rowland Penny rpenny at samba.org
Thu Apr 27 09:37:37 UTC 2017


On Thu, 27 Apr 2017 10:46:41 +0200
Dario Lesca via samba <samba at lists.samba.org> wrote:

> Il giorno mar, 25/04/2017 alle 17.53 +0100, Rowland Penny via samba ha
> scritto:
> > > Where is the better place to set:
> > > 
> > >   - logon script = netlogon.bat
> > >     and other logon options
> > 
> > Actually the best place to set them is per user in AD.
> 
> Thank Rowland, thanks to your help, at this moment my new network
> with:
> 
>  + samba 4.5.8 AD_DC+BIND_DNS+ISC_DHCP+NTP (Fedora 25 + rpm rebuilded)
>  + samba 4.4.4 AD Member Server (Centos7 + standard rpm)
> 
> is on and working.
> 
> Now I want add logon script, or some thinks like this
> 
> What does it mean "per user in AD"?
> 
> Can explain to me better?
> 
> Thank.
> 

OK, I will try ;-)

You can specify various things per user in AD, they do not all have to
have their profiles stored in the same place or even on the same
computer (note: this is just an example)

You can use the following attributes to specify the paths etc:

profilePath

homeDrive

homeDirectory

scriptPath

I think it is obvious what each attribute stores.

You can set these with a script or from windows, see here:

https://www.petri.com/setting-up-logon-script-through-active-directory-users-computers-windows-server-2008

Rowland



More information about the samba mailing list