Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mandrake look Microsoft Network

Status
Not open for further replies.

dafty

Programmer
Jul 21, 2001
40
TH
how can i setup mandrake to see microsoft network(NetBUEI).
 
Hi,

Well, the obvious answer would be to install samba but if the M$ network is only netbeui (without TCP/IP at all) then you might have some problems.

Samba provides interoperability with M$ networks that use the smb/cifs file server protocol. This is the ancient 'lan manager' system that was then used in NT / OS2 etc with netbeui. However netbeui is not a routable protocol so for a few years the most widely used 'windows' protocol is NBT (netbeui over TCP). Samba uses NBT essentially because there is no real netbeui protocol implementation for linux.

So, if the M$ network machines have TCP/IP installed (with or without netbeui) then you can defintely just install the samba rpms and all will be well. However, if the M$ boxes have only netbeui then I'm not certain how (or if) it would work. Netbeui name resolution (without TCP / Wins , etc) involves broadcasts which need to be propogated across the network. There are mapping files like 'lmhosts' but that is netbiosname to IP address. So, the question is would samba find a windows box that was only running netbeui ?

The simplest way to solve this if it is a problem is to add TCP/IP to the windows boxes. Anyway, the latest Mandrake samba rpms are here -->


Just download somewhere, change to download directory, then install as root with :

rpm -Uvh samba*.rpm

If you don't want to act as a server then you can leave out the first one listed. Once its installed you can do stuff like :

smbclient -L //winbox1

(equivalent to 'net view \\winbox1' )

You can then mount a windows share as part of the linux filesystem in the same way as you mount a CD, etc. For example :

mount -t smbfs -o username=winuser1,password=sucker //ntserver1/test /mnt/test

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top