[Samba] netlogon & homes with Samba4 DC

Daniel Müller mueller at tropenklinik.de
Mon Jun 3 00:33:59 MDT 2013

It is not "homes" anymore within samba4 it calls "home".
You need to set the rights for your netlogon from your adm windows client or
within ads tool in your user profile

EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von Robert Gurdon
Gesendet: Sonntag, 2. Juni 2013 01:02
An: spamvoll at gmail.com
Cc: samba at lists.samba.org
Betreff: Re: [Samba] netlogon & homes with Samba4 DC


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, spamvoll at googlemail.com írta:
> hi all,
> ive setup Samba4 as DC on Ubuntu Server LTS and have two problems right
> 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:


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

More information about the samba mailing list