[Samba] Re: [Samba]smb.conf and Environment Variables

Dwight Tovey dtovey at itd.state.id.us
Thu Jan 31 12:29:27 GMT 2002


On Thu, 2002-01-31 at 12:52, Sanjiv Bawa wrote:
> I did this. I set the Environment variables in /etc/init.d/smb script.
> 
> I then changed the domain to
> 
> DOMAIN = %$DOMAIN
> 
> and restarted the server.
> The domain showed up as %$DOMAIN and not the value of the variable.
> 
> What next?
> 
> Thanks for helping.
> 

It took me a little while to figure that out also.  The proper format
is:

DOMAIN = %$(DOMAIN)

The () chars are required.

	/dwight
-- 
Dwight N. Tovey                     Unix System Administrator /
Developer
League of American Bicyclists       Idaho Transportation Dept.
     Certified Instructor #750-K-C  3311 W. State St.
Email: dwight at dtovey.net            Boise, ID.  83702
http://www.dtovey.net/dwight        (208)334-8166 / fax: (208)334-8121
---
Why do they put Braille dots on the keypad of a drive-up ATM?





More information about the samba mailing list