Ticket #12 (closed defect: fixed)

Opened 18 months ago

Last modified 16 months ago

Auto-scripts do not work

Reported by: guest Owned by: psmedley
Priority: blocker Milestone:
Component: Server Version:
Keywords: Cc:
Blocking: Blocked By:

Description

Option 'add machine script' and (other '*script') from smb.conf do not execute anything.

Change History

Changed 16 months ago by ydario

Looking at code, I see /bin/sh must be available for executing a script. This means only shell scripts can be used.

Changed 16 months ago by ydario

  • status changed from new to closed
  • resolution set to fixed

(changeset:60) Use popen() instead of fork()/exec(), now can execute cmd scripts, exe files, shell scripts.

Note: See TracTickets for help on using tickets.