Multiple interfaces

Feng Loh fengnian.loh at usa.net
Mon Jul 20 01:24:54 GMT 1998


I have tried to set up Samba on my Solaris 2.5.1 with 2 interfaces (le0, 
le0:1 - one network card with two IP addresses). But all I could see is 
throught the default ports 137 and 139.

In my /etc/inetd.conf, I have:

	netbios-ns dgram udp wait root /opt/samba/bin/nmbd nmbd 
-s/opt/samba/lib/kes.smb.conf
	netbios-ssn stream tcp nowait root /opt/samba/bin/smbd smbd 
-s/opt/samba/lib/kes.smb.conf

	netbio2-ns dgram udp wait root /opt/samba/bin/nmbd nmbd 
-s/opt/samba/lib/kes2.smb.conf
	netbio2-ssn stream tcp nowait root /opt/samba/bin/smbd smbd 
-s/opt/samba/lib/kes2.smb.conf

And, in /etc/services:

	netbios-ns	137/udp
	netbios-ssn	139/tcp

	netbio2-ns	237/udp
	netbio2-ssn	239/tcp

In /opt/samba/lib/kes.smb.conf:

	[global]
	  socket address = x.x.x.y
	  interface address = x.x.x.y/255.255.255.0
	  security = server
	  password server = NT

In /opt/samba/lib/kes2.smb.conf:

	[global]
	  socket address = x.x.x.z
	  interface address = x.x.x.z/255.255.255.0
	  security = share

No matter how I tweak these, I could only manage to see through the primary 
interface with the default ports. My objective is to have users 
authenticated by the NT or by the Unix.

Could anyone please help?

________________________________________________________________

Feng Loh

fengnian.loh at usa.net
http://feng.cjb.net

The National Bank of New Zealand Ltd,
5th Floor, NBNZ House,
1 Victoria Street,
[ PO Box 540 ]
Wellington,
New Zealand.

Ph:   +64-4-8022197
Fax: +64-4-8022356



More information about the samba mailing list