[Samba] Can't get 'root preexec' to run

Ole Traupe ole.traupe at tu-berlin.de
Wed Oct 21 12:32:48 UTC 2015


Rowland, thanks for your effort, I highly appreciate it!

 From what I had read before...

[home] would be an arbitrarily named share and its preexec command would 
execute whenever a domain user connects to it
[homes] is a special purpose section in the smb.conf that comes into 
play whenever a domain user connects to his or her home dir defined on 
the DC

What MJ is telling seems to confirm this distinction.

(continued in my response to him)



Am 21.10.2015 um 13:21 schrieb Rowland Penny:
> On 21/10/15 12:13, Ole Traupe wrote:
>> Rowland, I apologize: I have overlooked this answer of yours before 
>> my last post.
>>
>> >> I think you may still be missing the obvious,
>>
>> I was suspecting that.
>>
>> >> '[homes]' *does not work* on a DC.
>>
>> You mean in general or in my assumed use case?
>>
>>
>>
>
> I am now beginning to think it doesn't work at all, if samba4 is 
> involved in any way. I knew that it wouldn't work on a DC (probably 
> because the user is DOMAIN\username and not just username), but from 
> my experiment (see my earlier post) it doesn't seem to work at all, 
> try your setup with '[home]' and a path line.
>
> Rowland
>




More information about the samba mailing list