[Samba] Problem joining an AD

Rowland penny rpenny at samba.org
Sat Mar 26 16:35:14 UTC 2016


On 26/03/16 16:10, Luca Bertoncello wrote:
> Rowland penny <rpenny at samba.org> schrieb:
>
>> Can I suggest you have a look here:
>> https://wiki.samba.org/index.php/Main_Page
> Well, I got it!
>
> I found this HowTo:
>
> 	https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member
>
> and now it works!
> I'm puzzled why on other Servers the previous configuration works, but if I
> have now this Server, too, with a working Samba I'm happy and can look for
> easter eggs... :D
>
> Just another question: can someone explain me why the Windows-PCs did not
> execute the Logon-Scripts?
> On the DC I have this:
>
> domain logons = yes
> logon script = logon.cmd
>
> [netlogon]
>          path = /var/lib/samba/sysvol/cch.intra/scripts
>          read only = No
>
> [sysvol]
>          path = /var/lib/samba/sysvol
>          read only = No
>
> But the logon.cmd will not executed...
>
> Thanks
> Luca Bertoncello
> (lucabert at lucabert.de)
>

That is probably because you need to set them in AD instead of in 
smb.conf, you can use ADUC or via a GPO, try an internet search for more 
info.

Rowland



More information about the samba mailing list