I will use environment variables for the interfaces value in my smb.conf file. The use of environment variables works fine some values, but the interfaces value is not be expanded. The part of my smb.conf is: log file = %$(SAMBA_CONF_DIR)/log/log.%m private dir = %$(SAMBA_CONF_DIR)/private pid directory = %$(SAMBA_CONF_DIR)/locks lock directory = %$(SAMBA_CONF_DIR)/locks smb passwd file = %$(SAMBA_CONF_DIR)/private/smbpasswd bind interfaces only = yes interfaces = %$(SAMBA_VIF) I got following error message: sys_gethostbyname: Unknown host. %$(SAMBA_VIF) can't determine netmask for %$(SAMBA_VIF) WARNING: no network interfaces found The SAMBA_VIF variable is set. To a logical hostname for the current host. Regards, Christian.
it's still not possible to use %$(...) for interfaces