You are not logged in.

#1 2010-07-17 13:09:50

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Machines name resolution via samba

I am in an environment where most of the computers are windows machines, and i am not able to access them via their computer name.
I have been told that this can be achieved configuring my computer making it look for the samba names of the remote machines..... something like resolving the machines names via samba... how can i do this?

Offline

#2 2010-07-17 13:23:18

jakobm
Member
Registered: 2008-03-24
Posts: 132

Re: Machines name resolution via samba

In /etc/nsswitch.conf alter the line 'hosts:':

hosts: files wins dns

It tells gethostbyname the databases to look in.

Offline

#3 2010-07-17 13:49:17

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: Machines name resolution via samba

Hmmm... still not working... is there any package i must install or any other daemon or anything i must have running?

EDIT: Ok, this does not work, only when i connect to the vpn... with the local computers, it works ok....

Last edited by Xi0N (2010-07-17 13:50:39)

Offline

#4 2010-07-17 14:09:33

jakobm
Member
Registered: 2008-03-24
Posts: 132

Re: Machines name resolution via samba

Sorry, you probably need 'nmbd' running (part of samba).

nmbd  -  NetBIOS name server to provide NetBIOS over IP naming services to clients

Offline

#5 2010-07-17 16:20:09

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: Machines name resolution via samba

No, it did not work... sad

I think.... cold it be something related with the vpn config? because when im not connected to the vpn, it does the name resolution correctly....

Offline

Board footer

Powered by FluxBB