You are not logged in.

#1 2009-11-20 10:34:10

beatbreaker
Member
Registered: 2009-07-13
Posts: 46

Latest Samba Broken (Version samba-3.4.3-2)

This is the last thing I was hoping to happen in the plethora of things that stopped working when i updated Gnome, srsly wtf. sad


ok so I go into nautilus and try to go into my "MSHOME" network.... and i'm being prompted for a password. WHY do i all of a sudden need a password to get into MSHOME when never before have i needed a password there?

Needless to say, because it's asking me for A PASSWORD THAT DOESN'T EXIST it can't authenticate me and let me view my network shares. I've tried every password I've ever used in Arch and logging in as Root and trying, NO LUCK.

even XP in virtual box will allow me to view and exchange with my network shares, so there's nothing wrong with the network, it's a problem with Nautilus

passwordnotrequired.png
(password_not_required.jpg)

this error message is often followed several minutes after by this error message:

17756878.png

Edit: Problem exists with samba version 3.4.3-2 Read below for the solution. It is still unconfirmed that this is an issue with samba and Gnome combined or just Samba.

Last edited by beatbreaker (2009-11-21 22:32:38)

Offline

#2 2009-11-20 11:05:28

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: Latest Samba Broken (Version samba-3.4.3-2)

Run it from the terminal and check if it's working, Then check if samba works:
You can use smbclient to browse shares from the shell:

$ smbclient -L <hostname> -U%

And report wich version of gnome u are using.

Last edited by jelly (2009-11-20 11:06:00)

Offline

#3 2009-11-20 13:25:32

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Latest Samba Broken (Version samba-3.4.3-2)

There were some issues with the last samba update. The fix was to re-enter the samba password iirc.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#4 2009-11-21 09:02:28

Luis Sousa
Member
From: Portugal
Registered: 2009-07-19
Posts: 36

Re: Latest Samba Broken (Version samba-3.4.3-2)

grey wrote:

There were some issues with the last samba update. The fix was to re-enter the samba password iirc.

I have exactly the same problem, cant access my mediacenter (xp OS), this is a f***ing stupid bug. What do you mean with 're-enter password irc'? I used smbpasswd to change password, rebooted and the problem still remains...

On the other hand, this past few weeks were disapointing in updates, samba crashed my network, GDM crashed my keyboard, cant place icons where i want in the desktop... i think i will install xfce as second hand option...

update: Sadly i installed xfce before realising that if the problem is with samba, it will still remain in xfce. Also, thunar doesnt support navigate networked folders. Back to the beginning...

Last edited by Luis Sousa (2009-11-21 09:47:06)


XP -> Ubuntu -> Arch

Offline

#5 2009-11-21 11:05:41

beatbreaker
Member
Registered: 2009-07-13
Posts: 46

Re: Latest Samba Broken (Version samba-3.4.3-2)

thanks for the tips, here's an update:

Ok so i'm still not sure where the problem is to be honest. i'm leaning on the side of Gnome because of the following:

I can access samba shares from other computers on the network and in an XP virtual box inside the problem PC

the command:

sudo smbclient -L <HostName> -U

will list all the computers in the network, I don't know how to navigate from there but it's defanately saying that samba is up and running a-ok

the command

sudo smbpasswd -a <user>

and then restarting the samba server results in nothing at all as Luis above has reported.

This is extremely frustrating. I've lost the dbus errors now so that's one step better but not exactly where i'd like to be though.

Any more suggestions?

Offline

#6 2009-11-21 11:35:17

Luis Sousa
Member
From: Portugal
Registered: 2009-07-19
Posts: 36

Re: Latest Samba Broken (Version samba-3.4.3-2)

Ok, i kinda solved the problem by downgrading samba, smbclient and tdb to previous version and it worked. I can confirm that the problem is in samba and not nautilus, after the downgrade it works like a charm...

http://wiki.archlinux.org/index.php/Downgrade_packages - I followed this tutorial.

Looked for the version 3.3.8-1 of all 3 packages in http://www.schlunix.org/archlinux/extra/os/ in my case x86_64.
Downloaded them and installed them with 'pacman -Ud /where they are/package.tar.gz' (-d switch makes it ignore dependencies)
Installed them by this order: first tdb, then smbclient, then samba.
Restarted an voila, it works ok again.
After that added these three packages to /etc/pacman.conf like this: 'IgnorePkg   =samba smbclient tdb' (you have to uncomment the line).
So, next time you pacman -Syyu it wont upgrade any of those packages until you remove them from the line.

Last edited by Luis Sousa (2009-11-21 11:37:48)


XP -> Ubuntu -> Arch

Offline

#7 2009-11-21 12:16:24

beatbreaker
Member
Registered: 2009-07-13
Posts: 46

Re: Latest Samba Broken (Version samba-3.4.3-2)

Wow Luis thanks for the tips, i read the downgrade guide and was lucky that i kept the old versions still in /var/cache/pacman/pkg

So here's essentially what i've done:

cd /var/cache/pacman/pkg 
 
sudo pacman -U samba-3.3.8-1-i686.pkg.tar.gz smbclient-3.3.8-1-i686.pkg.tar.gz tdb-3.3.8-1-i686.pkg.tar.gz

Offline

#8 2009-11-21 12:30:53

Luis Sousa
Member
From: Portugal
Registered: 2009-07-19
Posts: 36

Re: Latest Samba Broken (Version samba-3.4.3-2)

Iep, glad i helped. Dont forget to add these three packages to /etc/pacman.conf like this: 'IgnorePkg   =samba smbclient tdb' or they will be upgraded to the crappy version...


XP -> Ubuntu -> Arch

Offline

#9 2009-11-21 22:40:38

beatbreaker
Member
Registered: 2009-07-13
Posts: 46

Re: Latest Samba Broken (Version samba-3.4.3-2)

Great ,thanks. I've updated the Wiki reflecting the basic procedure of downgrading and pointed it to this thread.

Offline

#10 2009-12-01 19:35:57

juanmah
Member
From: Barcelona
Registered: 2009-04-02
Posts: 28
Website

Re: Latest Samba Broken (Version samba-3.4.3-2)

I posted a solution in http://wiki.archlinux.org/index.php/Sam … sion_3.4.3

There are two options:

If you would like to stick to the 'smbpasswd' backend try changing this to /etc/samba/smb.conf

passdb backend = smbpasswd

or convert your smbpasswd entries using:

sudo pdbedit -i smbpasswd -e tdbsam

Last edited by juanmah (2009-12-01 19:36:21)

Offline

#11 2009-12-01 20:46:14

dmartins
Member
Registered: 2006-09-23
Posts: 360

Re: Latest Samba Broken (Version samba-3.4.3-2)

This thread is a little old now, but in case anyone is still having this problem, it should be fixed in smbclient-3.4.3-3.

See this thread: http://bbs.archlinux.org/viewtopic.php?id=84441

Offline

Board footer

Powered by FluxBB