LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-10-2011, 09:01 PM   #1
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Rep: Reputation: 5
Dolphin only opens Samba shares using server IP


Hi,

Dolphin will only open Samba shares if I open them by typing in smb://SERVER-IP. It also does not show up in the Network section of Explorer under Windows 7. How do I fix this? The only Samba share icon that shows up in Dolphin under Network --> Samba Shares is Workgroup. If I click it it changes smb://workgroup, but then it does nothing and shows no files. Here is my Samba server's smb.conf file.
Code:
                                  
[global]

workgroup = WORKGROUP
server string = Samba Server
security = user
load printers = yes
log file = /var/log/samba.%m
max log size = 50
socket options = TCP_NODELAY
hosts allow = 127.0.0.1 192.168.1.
hosts deny = 0.0.0.0/0
valid users = @smbusers

[My Home]

comment = My Home Directory
path = /home/USERNAME
valid users = USERNAME
writable = yes

Last edited by blue_k; 05-10-2011 at 09:53 PM.
 
Old 05-11-2011, 01:57 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Three possible issues (none of them mutually exclusive):

1) DNS/Name resolution:
Q: Can you ping the "server" by hostname?

2) Windows 7 IPv6:
IPv4 and IPv6 are both enabled in Win7; ipv6 is, by default, the *preferred* protocol. Here are a couple of examples of file sharing issues under Win7/ipv6; you might well be encountering something similar:
http://social.technet.microsoft.com/...a-8c9e832498ac

http://windows7themes.net/disable-ipv6-windows-7.html

3) Windows 7 Security:
This is the "biggie". These links might help:
https://wiki.samba.org/index.php/Windows7

http://superuser.com/questions/11533...o-samba-shares
Quote:
Run: gpedit.msc

2) Find:

Console Root -> Local Computer Policy -> Computer Configuration -> Windows Settings -> -> Security Settings -> Local Policies ->Security Options

When you're there change the following policies

3) Microsoft network client: Send unencrypted password to third-party SMB server: Switch it to "Enabled".

4) Network security: LAN Manager authentication level: Select the option: Send LM & NTLM - use NTLMv2 session security if negotiated.
http://www.sevenforums.com/network-s...ndows-7-a.html
Quote:
As you've found, the use of an IP address or a FQDN (host.domain.com) as the target causes a different security path to be taken compared to a single-label host. Adding domain membership introduces another layer of complexity because IP/FQDN access will then rely on Kerberos while single-label still falls back on NTLM.

These settings can mostly be controlled through policy, so joining a "real" domain with multiple layers of group policy settings may produce varying results, depending on what the domain admins have specified.
Please post back what you ultimately find resolved the problem!

Last edited by paulsm4; 05-11-2011 at 02:01 PM.
 
Old 05-11-2011, 05:20 PM   #3
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Original Poster
Rep: Reputation: 5
Hi,

Thank you for your response. I cannot ping the server by hostname unless I add the IP and hostname of the server to my hosts file in both my Windows and Linux installs. The server still does not show up in the Network section of Explorer and there is still no icon for the server in Dolphin. I can however connect using the servers hostname once added to the hosts file. It feels slower in Dolphin if I connect using the hostname though. Also, I tried what you said, but it still does not work.

Last edited by blue_k; 05-11-2011 at 05:36 PM.
 
Old 05-11-2011, 08:04 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,853

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Futhermore in addition to paulms4 post, in a nutshell your network does not have any netbios name / hostname to IP address resolution.
To shed some light:
http://www.samba.org/samba/docs/man/...kBrowsing.html

Basically, the easiest way to get all your linux and windows computers to "browse together" is by configuring the samba server as a WINS server and enabling nebios over TCP/IP on your windows computers.

In addition, you also need to configure windows 7 workgroup a bit differently then XP.
http://windows.microsoft.com/en-us/w...ons-of-windows

Last edited by michaelk; 05-11-2011 at 08:28 PM.
 
Old 05-11-2011, 10:17 PM   #5
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Original Poster
Rep: Reputation: 5
Thank you for your answer. Do I need to have Winbond running to have Samba be the WINS server, or do I just have to put wins support = yes and the name resolution order in smb.conf?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Samba Server and Windows Shares stoppage Linux - Networking 3 01-27-2010 11:24 AM
can not access samba shares from a VIRTUAL samba server using smb4k nass Fedora 0 12-13-2008 04:39 AM
Windows 2K server Can't see SAMBA shares in FC9 martinmueller20 Linux - Server 4 09-06-2008 06:16 AM
Windows 2K server Can't see SAMBA shares in FC9 martinmueller20 Linux - Networking 2 08-30-2008 11:08 AM
samba and windows server shares baznz Linux - Software 2 10-20-2005 05:51 PM


All times are GMT -5. The time now is 08:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration