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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba / Wins Question

Status
Not open for further replies.

janderson622

Technical User
Aug 10, 2001
27
US
Hi,

I've got a Linux box configured and running Samba. Here is a brief snapshot of what I'm doing (to be followed by my questions):

I've got a branch office across the state. They outfitted us with Cisco PIX firewalls and established a VPN between three locations. (Of course they didn't confer with us as to our thoughts on how to do this. I would need to rewire the comm closet and dual home a couple of NT machines to pull off their idea). They've setup a remote server (NT4) with 1 shared folder we are supposed to access. My goal is to have my local users connect to the samba server which is actually pulling stuff in from across the state. Also, I've got static IPs.

My current problem is in trying to use SMBClient to connect to the remote server, I keep getting errors like this:
>>>
wins_srv_died(): WINS server 10.10.10.1 appears to be down.
Connection to server1 failed
>>>

It's been happening all day so I doubt the WINS server has been down all day.

My current question is, do (can) I tell the ethernet controller (ifcfg-eth1) which WINS/netbios server to use? I couldn't find what option would set that.

My Samba conf file has these settings (in relation to WINS):
>>
wins server = 10.10.10.1
wins support = no
name resolve order = wins hosts lmhosts bcast
>>

Any help would be appreciated.

Thanks.


--John

 
yes netconfig utilty to specify IP, mask , dns, wins etc etc

but i dotn seem to understand your solution and problem, if they want to allow remote access to a folder and they already have PIX configured for VPN , then all they have to do i s mapp a drive and provide authentication, which is done by depending on your domain structure, which should be all seperate domains , with trusts , and add the users of your local domain to the grp allowed to acces the shared folder on the other ( or remote domain) , or have 2 seperate accounts, so they need to enter password to map drive, your samba if that is the WINS server for your local network, shoudl be configured to use itself and all clients to use it, and add static entries for the wins servers at the remote areas..
 
Thanks for the reply, your solution (just mapping the drive) is not really possible to implement. The Cisco PIX isn't hooked into the same network as the computers I need to map. (Poor planning on HQs part).

Also, when I do a /usr/sbin/netconfig --help, it doesn't say anything about WINS, am I missing something?

It's my understanding that I can remotely mount the drive using smbclient, and then share out that mounted drive via samba.

I've dual-homed my linux box so both networks can see each other.

Here is the smbclient command that I am running:
/usr/local/samba/bin/smbclient //servername/sharename -s /etc/smb.conf -R wins

In the Samba conf I have this:
wins server = 10.10.10.1
wins support = no
name resolve order = wins hosts lmhosts bcast

This is the error that I am getting:
added interface ip=192.168.0.208 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=192.168.10.122 bcast=192.168.10.255 nmask=255.255.255.0
wins_srv_died(): WINS server 10.10.10.1 appears to be down.
Connection to servername failed

That is with smbd and nmbd running.

This is the error from the log.nmbd:
[2002/09/16 08:12:03, 2] nmbd/nmbd_nameregister.c:register_name_timeout_response(198)
register_name_timeout_response: WINS server at address 10.10.10.1 is not responding.

Any help would be appreciated.


--John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top