LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-18-2008, 01:54 PM   #1
Thoddy
Member
 
Registered: Jul 2003
Location: Bremen, Germany
Distribution: Ubuntu 9.10
Posts: 106

Rep: Reputation: 15
Question ubuntu 8.04 - Samba suddently does not work anymore!?


Hi guys,

I recently upgraded to ubuntu 8.04. As usual: some good improvements.

But: all of the sudden my Samba configuration does not work anymore!?

The shares and all my global settings are still saved in the smb.conf file and from the server itself I can see the shares. See - but not connect! The pop-up window simply does not accept my password!? I don't know why, the samba user name is there, and the password is correct!?

From my windows xp laptop I cannot even join the workgroup! The standard message saying I may not have the necessary rights appears...

Any ideas, anyone?

What do I have to set when wanting to let windows access the shares? Currently I have set "security = user" and "encrypt passwords = no"...

But it seems to be not only a windows / linux problem since I cannot open the shares directly on the server!?!?


Thanks!!
 
Old 05-19-2008, 11:08 AM   #2
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
smbpasswd?

Have you tried re-setting your password with smbpasswd?
 
Old 05-19-2008, 01:53 PM   #3
Calif99x
LQ Newbie
 
Registered: May 2008
Location: Silicon Valley
Distribution: Ubuntu
Posts: 2

Rep: Reputation: 0
Having the same problem of Samba (shared folders) stopped working with Ubuntu 8.04

Hi:

I am having the same problem of trying to access Samba shares from a Windows system.

Running smbclient on the server (Ubuntu 8.04 LTS) shows the shares are there.

However, Windows does not see the shares, and I get the same error message that I may not be authorized to access the workgroup (System error 64 if I run "net view \\Servername".

I am running with Security = User and Encrypt Passwords = Yes
I have also used smbpasswd to set/ reset the samba user password to make sure.

I have also gone through most of the Samba troubleshooting guide Chapter 39; no problems found by testparm for smb.conf; Server side seems to be fine. I have smbfs installed, and have checked to make sure smbd and nmbd are both running. Client Windows PC is 192.168.1.106 and the [global] section of smb.conf has "host allow = 192.168.1.100/200"

The only out of described behavior was running iptables just gives heading rows.

If it helps, I upgraded from Ubuntu 7.10; which was an upgrade from the original 7.04; both of which worked fine for me.

I too would appreciate any help.

Last edited by Calif99x; 05-19-2008 at 01:56 PM.
 
Old 06-01-2008, 07:52 AM   #4
Thoddy
Member
 
Registered: Jul 2003
Location: Bremen, Germany
Distribution: Ubuntu 9.10
Posts: 106

Original Poster
Rep: Reputation: 15
Angry

Quote:
Originally Posted by cmnorton View Post
Have you tried re-setting your password with smbpasswd?
Sure...

Still no answers here!/
 
Old 06-02-2008, 12:53 PM   #5
Calif99x
LQ Newbie
 
Registered: May 2008
Location: Silicon Valley
Distribution: Ubuntu
Posts: 2

Rep: Reputation: 0
Smile Solved: Samba connectivity problem

I seemed to have stumbled upon a fix/ workaround to the Samba problem with Ubunut 8.04 LTS. Still not quite sure why it works though.

Basically I uninstalled Samba, Sambafs, Nautilus and reinstalled them. I was trying to revert back to an older version (3.026) of Samba, but ended up reinstalling the latest version and realized after the reinstall that I have not remembered to back up smb.conf that I had from before.

I installed webmin to help work on the shares, and used that to recreate the shares I wanted to use. The shares were immediately visible and accessible from my Windows box. I did need to use the smbpasswd utility to set the samba password, but that was the only difference.

I am thinking that something in a common file has changed so that the parameters in the smb.conf are not interpretted the same way. Using the webmin tool seems to deal with the problem, but without the original smb.conf file for comparison it is not obvious what may have changed.

Hopefully the problem will remain fixed and the information may be useful to someone else.

Cheers
 
Old 06-06-2008, 04:28 AM   #6
Thoddy
Member
 
Registered: Jul 2003
Location: Bremen, Germany
Distribution: Ubuntu 9.10
Posts: 106

Original Poster
Rep: Reputation: 15
Whatever went wrong when upgrading...

...when deleting all configuration files and re-configuring everything, then it suddenly works!

Strange, but hey - works!!
 
  


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
ubuntu 8.04 - Samba suddently does not work anymore!? Thoddy Debian 3 05-18-2008 02:06 PM
Can't start Ubuntu anymore lugia Ubuntu 3 07-24-2006 01:12 PM
Ubuntu 6.06 Not Booting Anymore MadScientist305 Ubuntu 13 07-08-2006 02:04 AM
[ubuntu] Audio did work, but not anymore (AC"97) tijdbom Linux - Hardware 2 01-30-2006 03:46 AM
Samba RawQueue Printing Does Not Work Anymore TheEdge Linux - Software 2 04-09-2005 05:27 AM

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

All times are GMT -5. The time now is 08:56 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