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@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
> 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:Run samba as a daemon using the -D switch.> And, in /etc/services: > > netbios-ns 137/udp > netbios-ssn 139/tcp > > netbio2-ns 237/udp > netbio2-ssn 239/tcp >You cannot redirect the standard nbt ports> 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.Because that is the one you have setup to map to ports 137 - 139 Feel free to contact me directly for more details. j- ________________________________________________________________________ Gerald ( Jerry ) Carter Engineering Network Services Auburn University jerry@eng.auburn.edu http://www.eng.auburn.edu/users/cartegw "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )
I'm having a problem getting samba to work on 2 interfaces I have a machine set up with 2 nics. It is a red hat linux 6.0 computer running samba 2.0.5a. The machine is set up as a firewall so that the computers on the local side are protected from all those evil people on the @home network:) previously the machine was set up only to share on the internal network, and it worked great. now though the machine needs to be accessed by someone on the external network, so i changed my interface line my adding the 2nd nics ip with a /24 after it, and added the users ip to the host allow list. it didnt work. so then i figured i'll test one thing at a time. i dissable the host allow, letting every one in. it still didnt work. i can ping the user on the external network. Thanks for any help. Tom