Adding a feature to the smbd

Richard Sharpe sharpe at ns.aus.com
Sun Jan 21 23:14:27 GMT 2001


At 11:49 PM 1/21/01 +0100, Thomas Langås wrote:
>Richard Sharpe:
>> In [profiles] you can use environment variables in the path:
>>   [profiles]
>>     path = /some/path/%$(PROFILE_PATH)
>> 
>> You set up a file in a root exec for the netlogon share, as you are
>> probably logging on ... and then you use the 'source environment' parameter
>> before the path parameter in your [profiles] share to read the environment
>> variable.
>
>OK, I see, didn't know this feature, and it didn't seem like anyone else on
>the regular samba list did, either. I asked there before I made the patch,
>and no one knew a solution to my problems. I didn't even know you could use
>environment variables in the config-file :-)
>
>With this in mind, I don't see any reason to keep the patch either. You can
>do anything you want with the "source environment" first, as a shell script,
>and then just read the environment-variables later on.
>
>Why isn't the possibility to use %$(ENV_VAR) mentioned in the docs? At
>least, I can't see it anywhere... 

Sigh, I know ... I checked in the man page, and could not find it ...
However, I remember the discussion about it from about March/April last
year, and it made it into Special Edition, Using Samba :-)

A doco update is needed ...

>-- 
>-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