LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-29-2018, 08:07 AM   #1
dissociative
Member
 
Registered: Jul 2007
Posts: 42

Rep: Reputation: 15
I can't resolve local windows network hostnames on slackware-current


I dont know what to do, it always worked for me by editing the /etc/nsswitch.conf , the line that contains 'hosts' adding 'wins' between 'files' and 'dns', looks like everything that is needed to resolve windows hostnames is there because I plan to share files and vnc to windows computers on my local network, the machine I am right now the network was configured with netconfig and its adding the .net suffix to hostnames, also tried in a different computer were I installed slackware-current64 and the network is configured with networkmanager and it still doesn't work, as I stopped using slackware since some time I dont know I forgot or I am missing something maybe

[EDIT] Well I think I figured the problem searching many times on the internet I found references to 'winbindd', I tested running it as root and now I can resolve windows hostnames on my local network, though the last time I used slackware everything I had to do to resolve windows hostnames was to edit the /etc/nsswitch.conf file the way the thread describes but It didn't required any additional steps or anything else that maybe just running samba, and searching on /etc/rc.d/* for references to 'winbindd' as a service shows nothing, I think that the samba project may have moved wins name resolution from nmbd to winbindd, I almost feel like I was the one that fell on this problem because I asked a lot on the irc channel but seem like nobody had a clue[/EDIT]

Last edited by dissociative; 03-29-2018 at 08:55 AM. Reason: fixed
 
Old 03-29-2018, 12:32 PM   #2
talo
Member
 
Registered: May 2015
Location: near Amsterdam
Distribution: slackware-14.2 + currrent
Posts: 65

Rep: Reputation: Disabled
Did you used "workgroup"s and "security user",
I have problems too, also with samba-4.8.0 the latest versions,
smbclient -L hostname
does not show the members (PCs) on my network, while slackware 14.2 is OK.
The other members' shares are not visible on current, the slack 14.2 member can reach the
shares on current.

I found a reference on the problem:
Bug 1513394 - Applications using gvfs are unable to browse SMB shares (samba).

talo
 
Old 04-12-2018, 08:58 PM   #3
dissociative
Member
 
Registered: Jul 2007
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by talo View Post
Did you used "workgroup"s and "security user",
I have problems too, also with samba-4.8.0 the latest versions,
smbclient -L hostname
does not show the members (PCs) on my network, while slackware 14.2 is OK.
The other members' shares are not visible on current, the slack 14.2 member can reach the
shares on current.

I found a reference on the problem:
Bug 1513394 - Applications using gvfs are unable to browse SMB shares (samba).

talo
Everything It needed or I did was to provide a valid /etc/samba/smb.conf configuration file, I used the plain /etc/samba/smb.conf.sample meanwhile without modifications and run winbindd as root to get it working
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Have Apache HTTP server resolve hostnames in logfile on Slackware. Norwegian Linux - Server 5 10-07-2011 02:24 AM
How to resolve hostnames on DHCP home network ksdmnv Linux - Networking 4 06-28-2010 07:59 PM
How to resolve windows host name inside a local network. not_found Linux - Networking 3 08-26-2009 10:36 AM
FC4: cannot resolve hostnames on local network pyepye Linux - Networking 12 04-05-2006 12:29 PM
Getting hostnames known in the local network javeree Linux - Networking 4 08-04-2004 05:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration