[Samba] Server variable %L expansion

Steve Sigafoos siggy at polyserve.com
Thu Jan 26 22:38:45 GMT 2006


 

I have been successfully using the technique of creating "virtual
servers" via the method outlined below in my smb.conf file.

 

[global]

        netbios name = %h 

        workgroup = WORKGROUP 

        netbios aliases = cifs1 cifs2

        include = /etc/samba/smb.conf.%L

 

Now under Red Hat ES release 4 with kernel "2.6.9-11.EL" and Samba
version "samba-3.0.10-1.4E" the variable expansion of %L for 

either /etc/samba/smb.conf.cifs[1,2]  does not seem to work anymore. 

 

Anyone have any thoughts on this?

 

Hardcoding the name works, but it's not optimal for my environment.

 

Thanks



More information about the samba mailing list