Adding a feature to the smbd

Richard Sharpe sharpe at ns.aus.com
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.
>
>[protst]
>        source environment = |/bin/bash -vx
/usr/local/samba/bin/returnpath.sh %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 ...

>-- 
>-Thomas
>

Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba






More information about the samba-technical mailing list