I've also had many troubles with preexec and root preexec not working for some reason in Samba 2.2. I've tried higher log levels, but did not see anything as far as I could tell. root preexec used to work for me, now it doesn't...I wonder what's up?
- Kris Jordan - At 01:35 PM 3/22/2002, Mikael Olenfalk wrote: >Hi! > >in my smb.conf file, added the line > >[statistics] > ... >+ preexec = /bin/bash /home/scripts/stats /home/statistics > ... > >to be executed before I enter the [statistics] share, due to some error >or misconfiguration though, the command is *NOT* executed. The script >itself works >perfectly because when I type: > ># /home/scripts/stats /home/statistics > >the script is executed correctly (it creates to files in the folder >/home/statistics) even the line > ># /bin/bash /home/scripts/stats /home/statistics > >executes correctly. The scripts has owner nobody.nogroup, so there >should be no problems with permissions, I've run an "chmod o+x" (and >desperate chmod 777 ...) over the script, but both with no effect. > >Smbd has become sighup'ped repeatedly (kill -HUP $(pidof smbd)) and the >log says that smbd has received and HUP signal. > > >/mikael > > >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba