[Samba] Netlogon stoped working

Rowland Penny rpenny at samba.org
Thu Dec 8 15:14:34 UTC 2016

On Thu, 08 Dec 2016 15:45:39 +0100
"OLLIVIER Joël DGAC/CRNA-O" <joel.ollivier at aviation-civile.gouv.fr>

> In my smb.conf I use the %G variable that is replaced by the primary
> group : [netlogon]
>  path = /var/lib/samba/sysvol/mydomain.xxx.xxx/scripts/%G
> Thus I can have a login.bat different for each group.
> If I don't use a substitution variable :
> [netlogon]
>  path = /var/lib/samba/sysvol/mydomain.xxx.xxx/scripts/
> with a login.bat in this path, the login script is executed on the
> station.

No, you mean 'I used to use the %G variable', you would be better off
doing this with a GPO now, try searching the internet with 'gpo logon
script based on group membership'


More information about the samba mailing list