Hi,

1) Windows 7 logs should say something about your netlogon script.

2) I think you have to create the home directories via RSAT or make a pam script and login with the newly created user. I would suggest the second option, since as I discovered when you make your home directories with RSAT you will have getfacl and winbind problems. Well, if you try to use getfacl on a RSAT made directory samba's winbind part dies.

2013-06-01 22:38 keltezéssel, [email protected] írta:
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

--
Kind regards:

                                Robert

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to