Kovář Pavel (T-Systems PragoNet)
2006-Jul-25 07:00 UTC
[Samba] Socket adddress option not working in Samba 3.0.22?
Hi, I am using samba on our server with two ethernet interfaces. One interface - 10.0.1.1 is for our internal network and the next - 192.168.1.100 is for the internet. I want the samba to listen only on the first interface. I tried to use the socket adddress option in the smb.conf file but it does not work. Samba is listening on both interaces. Have you got any ideas what I am doing bad ? Smb.conf file: workgroup = TEST netbios name = MYSERVER server string = Samba NT/PDC %v wins support = yes dns proxy = yes name resolve order = wins hosts bcast time server = yes load printers = no encrypt passwords = yes security = user hosts allow = 10.0.1. 127. smb ports = 139 interfaces = 10.0.1.0/25, 127.0.0.1 socket address = 10.0.1.1 bind interfaces only = Yes client NTLMv2 auth = Yes client lanman auth = No client plaintext auth = No domain master = yes domain logons = yes os level = 65 local master = yes preferred master = yes passdb backend = tdbsam:/etc/samba/passdb.tdb admin users = root add machine script = /usr/sbin/useradd -c "Machine account" -d /dev/null -g 900 -s /bin/false %u username map = /etc/samba/smbusers winbind use default domain = Yes logon path = <file://%25L/profiles/%25U> \\%L\profiles\%U logon script = logon.bat logon home = <file://%25L/%25U/.profiles> \\%L\%U\.profiles logon drive = X: idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 Linux system is Fedora 4, Samba version is 3.0.22 Thanks! Regards Pavel