Adding a feature to the smbd

Richard Sharpe sharpe at
Fri Jan 26 03:00:58 GMT 2001

At 03:00 AM 1/26/01 +0100, Thomas Langås wrote:
>Richard Sharpe:
>> OK, change the source environment statement so that it does something like:
>>    /bin/sh -vx /path/to/your/shell/script >&/tmp/logfile
>> or something like that.
>        source environment = |/bin/bash -vx
/usr/local/samba/bin/ %I >&/tmp/logfile
>        comment = %$(USER)
>        path = %$(PROFILE_PATH)
>Didn't give _anything_ at all...

The source environment parameter is a global parameter!

It seems to be ignored if placed in a share context. It should be fine for
you in the [global] section ...


Richard Sharpe, sharpe at
Samba (Team member,, Ethereal (Team member,
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba

More information about the samba-technical mailing list