I apologize for sending this message twice. My confirm request bounced
(thereafter), so I figured it wouldn't have been received properly.
I also apologize for not having used a search tool on the archives of
this list. That is because I haven't found such a thing.
Ole
Am 15.10.2015 um 11:46 schrieb Ole Traupe:> Hi,
>
> I am trying to automatically create nested zfs data sets as home
> directories. I have a script that works fine if I execute it manually
> as root (auth via public key). It also creates a short log file in the
> same dir.
>
> However, this section in my smb.conf (on the DC) doesn't seem to
> execute (no data set created, no log file) on user logon (on a member
> server):
>
> [homes]
> comment = User Home Directories
> browseable = no
> writable = yes
> root preexec = /usr/local/samba/scripts/createzfshome.sh %U
>
> What might be the reason? Is this conflicting with rfc2307 use?
>
> My DC's Samba version is 4.2.2 (on CentOS 6.7), my Samba member server
> (where the logon happens; either via ssh or with FreeNX terminal
> software) is Version 3.6.23.
>
> Is Samba 3 a problem here?
>
> Best,
> Ole
>
--
Dr. Ole Traupe
Lab Manager
Technische Universität Berlin
Biopsychologie und Neuroergonomie
Institut für Psychologie und Arbeitswissenschaft
Biological Psychology and Neuroergonomics
Department of Psychology and Ergonomics
Postanschrift/Mail to:
TU Berlin
Sekr. MAR 3-2
Marchstr. 23
10587 Berlin
GERMANY
Zimmer/Office: MAR 3.052
Telefon/Phone: (+49) 030 314 22721
Fax: (+49) 030 314 25274
E-Mail: ole.traupe at tu-berlin.de
www.bpn.tu-berlin.de