Adding a feature to the smbd
Simo Sorce
simo.sorce at polimi.it
Thu Jan 25 01:18:53 GMT 2001
On Fri, 26 Jan 2001, Richard Sharpe wrote:
> 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.
Richard, from the output Thomas gets from the comment it may also be that
samba 2.0.7 does not expand %$() on paths, I'm cheking!
>
> >--
> >-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
>
>
>
>
--
Simo Sorce - Linux Systems Consultant
E-mail: simo.sorce at polimi.it
Tel: +39 0348 7149179 - Fax: +39 02 700442399
-----------------------------------------------------------------
Be happy, use Linux!
More information about the samba-technical
mailing list