Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Installation & Upgrades
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Installation & Upgrades
For questions about upgrading and installation of your new Ubuntu OS.

 
Thread Tools Display Modes
Old May 29th, 2006   #1
celem
Gee! These Aren't Roasted!
 
celem's Avatar
 
Join Date: Jan 2006
Location: Brevard, North Carolina
Beans: 219
Ubuntu 9.04 Jaunty Jackalope
How to fix Dapper's broken SAMBA ??


I used to be able to access Windows XP shares and the Windows XP box could access the Dapper shares, but after Dapper daily updates last week Samba has become totally broke.

When I try to access the Dapper shares via “Start->My Network Places”, the Dapper shares do not display.

When I try to access the Dapper shares via “Start->My Network Places->View Workgroup Computers”, the Dapper machine icon displays, but when I click on it, it fails with a “The network path was not found” error dialog box.

When I try to access the Windows shares from Dapper via Places-Network Servers, the Windows Network icon is displayed but when I click on the icon, the dialog box window clears to a blank and the shares do not display.

/etc/smb.conf is generic original except that I have added a share at the bottom (via the GUI). The workgroup is the same name as the XP box, “MSHOME”; security-user; netbios = alvin.

Remember all of this worked correctly prior to last week’s Dapper daily updates.

Because some people have indicated that they are successfully using Samba with Dapper I have attempted another try at fixing it.

1. Using Synaptic I totally removed, including configuration files, ALL packages dealing with Samba. The packages removed were: samba, samba-common, libsmbclient, smbclient, smbfs, libgnomevfs2-extra

2. I rebooted Dapper and verified that /etc/rc?.d/*sambs, /etc/initd/samba, /etc/samba/* were all gone.

3. Using Synaptic I added only samba and samba-common and repeated attempts to access Windows shares and visa-versa. The results of accessing Dapper shares from Windows had the same “The network path was not found” error. Accessing Windows shares from Dapper resulted in a "smb:/// is not a valid location." Error. This error is why I originally added libgnomevfs2-extra.

4. I tested printing to the Windows XP shared printer and it, once again, wasn’t working. So, I next used Synaptic to add back libsmbclient, smbclient, smbfs and libgnomevfs2-extra. Then I rebooted Dapper.

5. Now the Windows XP shared printer works but access shares to/from is back to the original problem – Windows reports “The network path was not found” and Dapper shows a blank dialog box when I click the “Windows Network” icon at Places-Network Servers.

Can anyone think of anything else to try? This is driving me nuts.

Last edited by matthew; May 31st, 2006 at 06:19 PM..
celem is offline   Reply With Quote
Old May 29th, 2006   #2
celem
Gee! These Aren't Roasted!
 
celem's Avatar
 
Join Date: Jan 2006
Location: Brevard, North Carolina
Beans: 219
Ubuntu 9.04 Jaunty Jackalope
Re: How to fix Dapper's broken SAMBA ??

Update: Still broken as described yet if I use Firefox to access "smb://192.168.0.102/", I see the Windows shares in the browser. Any clue as to what is broken in the normal packages??
celem is offline   Reply With Quote
Old May 29th, 2006   #3
goodmaj
5 Cups of Ubuntu
 
Join Date: Apr 2006
Beans: 31
Re: How to fix Dapper's broken SAMBA ??

Make sure that /etc/samba/smb.conf reads as follows:

# You may wish to use password encryption. See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
encrypt passwords = true

I got the same error message with Samba shares on Mac OS X 10.4 until I made the above change in the conf file. (encrypt passwords = true)

After changing the conf file you must restart samba to make the change effective.

I hope this helps.
goodmaj is offline   Reply With Quote
Old May 29th, 2006   #4
celem
Gee! These Aren't Roasted!
 
celem's Avatar
 
Join Date: Jan 2006
Location: Brevard, North Carolina
Beans: 219
Ubuntu 9.04 Jaunty Jackalope
Re: How to fix Dapper's broken SAMBA ??

"encrypt passwords = true" is set because that is the default in smb.conf. I suspect that whatever in the daily Dapper updates broke Samba wasn't in a Samba package, as I have replaced those several times, but instead, must be another package that interacts with Samba.
celem is offline   Reply With Quote
Old May 29th, 2006   #5
celem
Gee! These Aren't Roasted!
 
celem's Avatar
 
Join Date: Jan 2006
Location: Brevard, North Carolina
Beans: 219
Ubuntu 9.04 Jaunty Jackalope
Re: How to fix Dapper's broken SAMBA ??

To re-phrase and clarify the problem, I feel that it isn’t a Samba problem, but rather a nautilus problem, or combination thereof, in that the Samba info isn’t being displayed. Since the Windows shares can be viewed via Firefox with "smb://192.168.0.102/", yet only a blank screen results from looking for the shares via nautilus’s “Places->Network Servers”.
celem is offline   Reply With Quote
Old May 29th, 2006   #6
Fedcer
Just Give Me the Beans!
 
Join Date: Mar 2006
Beans: 48
Kubuntu 6.10 Edgy
Re: How to fix Dapper's broken SAMBA ??

Quote:
Originally Posted by celem
To re-phrase and clarify the problem, I feel that it isn’t a Samba problem, but rather a nautilus problem, or combination thereof, in that the Samba info isn’t being displayed.
I don't think that it's a nautilus problem because I'm using Kubuntu Dapper and I'm having exactly your same problem. After one of dapper's updates samba stopped working and when I try to access a computer in the newtork I get the error "The network path was not found" (while before with the same config it had been working perfectly).
Fedcer is offline   Reply With Quote
Old May 29th, 2006   #7
celem
Gee! These Aren't Roasted!
 
celem's Avatar
 
Join Date: Jan 2006
Location: Brevard, North Carolina
Beans: 219
Ubuntu 9.04 Jaunty Jackalope
Re: How to fix Dapper's broken SAMBA ??

I am concerned that this will not be fixed since other Dapper users report no problems with Samba. I don't know what would be unique to mine and your loads yet not in other people's Dapper loads. I upgraded to Dapper Beta weeks ago from Breezy 5.10. Originally I had problems printing to my Windows Printer but this Samba problem was fixed. Subsequent to that fix all aspects of Samba worked bidirectionaly to/from Windows. Then, last week's upgrades broke something - I don't know what. I am concerned that my last resort will be to do a clean install with Dapper's final release but I hesitate in doing that because I don't want to lose everything that I've configured, such as qemu and wine.
celem is offline   Reply With Quote
Old May 29th, 2006   #8
jalonsom
Just Give Me the Beans!
 
Join Date: Dec 2005
Beans: 25
Re: How to fix Dapper's broken SAMBA ??

I experience a similar problem since a long time ago.
I think it is a problem with resolving server names:

In nautilus, press ctrl-l to show the address when you have tried to browse the server and it has failed. It shows "smb;//servername". Nautilus is trying to find the server by its name.

Replace the server name with its IP and it should work ok.

That's why I guess it is a name resolving problem. What I don't know is if it's a bug or a misconfiguration of samba... Probably a bug as it does not work for me out of the box, with the default config...
It happens to me when browsing both WinXP and Dapper machines.

Gonna take a look at launchpad to see if there is something similar.
jalonsom is offline   Reply With Quote
Old May 29th, 2006   #9
pauljwells
A Carafe of Ubuntu
 
Join Date: Jul 2005
Beans: 144
Re: How to fix Dapper's broken SAMBA ??

If you have your networkset up using dhcp it might just be that your router has the wrong names against IP addresses in its leases table. I find that most SAMBA funnies get magically fixed with a router reboot.
__________________
Registered Linux User #407403
pauljwells is offline   Reply With Quote
Old May 29th, 2006   #10
celem
Gee! These Aren't Roasted!
 
celem's Avatar
 
Join Date: Jan 2006
Location: Brevard, North Carolina
Beans: 219
Ubuntu 9.04 Jaunty Jackalope
Re: How to fix Dapper's broken SAMBA ??

Except, (see my problem description above) it worked prior to last week's Dapper Daily Updates. Nothing else changed in my Windows XP box, router, network, etc. Even the Dapper box had no changes other than the Daily Updates. Therefore, logically speaking, the problem must be within changes made in Dapper by the updates.
celem is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:02 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry