Useful features?

Richard Sharpe sharpe at
Sat Feb 6 16:24:08 GMT 1999

At 10:31 AM 2/6/99 +1100, Nicolas Williams wrote:
>Here's a list of features I'd like to see Samba implement in the future
>which I hope are simple enough to implement:
> - %{<variable>} syntax in 'include' parameters of Samba config files.
>   This would allow the use of environment variables in in include paths.

No comment.  Looks useful though.  Thinks ...

> - a 'source environment' parameter specifying a command to execute (as
>   nobody?) whose output should be <variable>=<value> variable
>   assignments, one to a line, which Samba processes would then install
>   in their environment.

Hmmm, looks useful.  No comment, though. Thinks ...

> - meaningful preexec command exit codes. For example, if a preexec
>   command exist with an exit code of 2 smbd should decline the user
>   access to the given share/service.

Sounds interesting, thinks ...

> - allow %{<variable>} token expansion in more configuration parameters.

Example of possible use please :-)

> - allow the inclusion of a default, embedded smb.conf, at configure/
>   compile time.

Example of possible use please :-)

> - command-line arguments for nmbd which allow the command-line
>   configuration of:
>    - netbios name

Hmm, have you tried -n yet?

>    - netbios aliases

Will need to think of some option characters :-)

>    - wins server
>    - workgroup
>    - interfaces	(if given then set 'bind interfaces only' = true)

Would you be terribly concerned if these parameters were overridden by the
smb.conf file?  Anything else is hard :-)


Richard Sharpe, sharpe at, NIC-Handle:RJS96
NS Computer Software and Services P/L, 
Ph: +61-8-8281-0063, FAX: +61-8-8250-2080, 
Samba (Team member), Linux, Apache, Digital UNIX, AIX, C, ...

More information about the samba-technical mailing list