Adding a feature to the smbd
Richard Sharpe
sharpe at ns.aus.com
Fri Jan 26 02:32:57 GMT 2001
At 02:52 AM 1/26/01 +0100, Thomas Langås wrote:
>Richard Sharpe:
>> >> Hmmm, I don't have 2.0.7 on my machines anymore, but I tested that
back in
>> >> early 2000, I believe, when I was writing Special Edition, Using Samba.
>> >> It does work on 2.2.0 (CVS) that I currently use.
>> >> Change the envvar to something like USER, which should show up as
ROOT ...
>> >> This will help us figure out if the mechanism is not working or the
envvar
>> >> does not exist.
>> >
>> >That did work, how is it possible to test the source environment-part
then?
>> Also, does the shell script work when you call it manually with an
>> appropriate argument?
>
>Yupp, then it displays
>PROFILE_PATH=<what it's supposed to based on %I>
OK, When Samba invokes a script, it does not get exactly the same
environment as it would when you run it manually.
So, there may be some reliance in your script on the environment that is
failing when it is run from Samba.
>--
>-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