[Samba] netlogon & homes with Samba4 DC

spamvoll at googlemail.com spamvoll at googlemail.com
Sat Jun 1 14:38:45 MDT 2013


hi all,

ive setup Samba4 as DC on Ubuntu Server LTS and have two problems right now:

1) netlogon

smb.conf
[netlogon]
        path = /usr/local/samba/var/locks/sysvol/asta-wh.de/scripts
        read only = No

I can access the folder and execute the script as user, but it gets not
executed automaticly

Ive added to [netlogon]
        preexec = echo %u is in %G >> /tmp/netlogon

to see if netlogon is executed, and its not.
Client PC is a new installed Windows 7 Pro.
And Ive added \\SMB4SRV\netlogon\userf00.bat via M$ AD Tools to the User.
Roaming Prifiles are also enabled and working.

2) homes

smb.conf
[homes]
        comment = Home Directories
        path = /home/HOME/%S
        valid users = %S
        read only = No
        browseable = Yes

Home directorys are not created.

Im happy with every hint to the right direction

Hans


More information about the samba mailing list