You are not logged in.

#1 2009-11-09 17:09:46

cleanrock
Member
Registered: 2008-11-17
Posts: 109

samba 3.4.3 update

I had to readd users, seems default passwd type/file has changed from
/etc/samba/private/smbpasswd
to
/etc/samba/private/passdb.tdb

It would be interesting to know if more people have this problem with 3.4.3 so replies here are welcome.

Offline

#2 2009-11-10 00:42:49

ptchinster
Member
Registered: 2008-12-27
Posts: 45

Re: samba 3.4.3 update

Same problem for me.

It would be nice to have had a message telling me this during the install/update.

Offline

#3 2009-11-10 04:27:41

cleanrock
Member
Registered: 2008-11-17
Posts: 109

Re: samba 3.4.3 update

Perhaps its even worth a post on the arch web page, took me some time to figure this out.

Offline

#4 2009-11-10 05:15:37

johnr
Member
From: NYC, NY
Registered: 2004-04-19
Posts: 27

Re: samba 3.4.3 update

I got nailed on this one too. Glad you guys were here to point me in the correction direction.

Offline

#5 2009-11-10 05:51:59

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: samba 3.4.3 update

Yes after the upgrade the user is to be added again.In smbpasswd file tho' the user name is already there. sad .I don't have much users and hence the process took less time. smile. In the samba release notes also the change is not mentioned.

Last edited by kgas (2009-11-10 07:40:44)

Offline

#6 2009-11-10 08:40:32

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 359

Re: samba 3.4.3 update

Got this one too. But for me this was no fun because it killed a production server  sad
You can also stick to the old passdb backend by pasting the entry

passdb backend = smbpasswd

to the [global] section of your smb.conf. This would have been worth a note in the update progress mad

Harvey


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

#7 2009-11-10 09:57:44

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

Re: samba 3.4.3 update

I didn't get hit by this one thanks to this thread. You probably just saved me an hour of my life - much appreciated.


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

Offline

#8 2009-11-10 15:33:35

Raws
Member
From: Campo Grande - Brazil
Registered: 2009-08-19
Posts: 47

Re: samba 3.4.3 update

Sorry posted on the wrong thread

Last edited by Raws (2009-11-10 15:34:28)

Offline

#9 2009-11-16 15:54:32

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: samba 3.4.3 update

mad This is driving me mad! Ever since the upgrade I get these messages about every second in my everything.log (which gets huge) on various systems:

Nov 16 15:45:54 host nmbd[3266]: [2009/11/16 15:45:54,  0] lib/util_tdb.c:385(tdb_log)
Nov 16 15:45:54 host nmbd[3266]:   tdb(/var/cache/samba/gencache.tdb): tdb_oob len 980837756 beyond eof at 12288

I've tried:
- deleting the cache files in /var/cache/samba/
- deleting the /etc/samba/private/*.tdb
and letting Samba recreate them, all to no avail. Samba seems to work normally, however.
What's really frustrating is that the above seems to work when you restart the samba daemon - no further error messages are logged. But when you reboot the computer, all the error messages start appearing again!

Can any kind soul find a permanent way of suppressing these error messages?
(I'm using 'security = share' in my smb.conf file, by the way.)

Last edited by ninian (2009-11-16 22:14:34)

Offline

#10 2009-11-16 20:56:29

cro
Member
From: Germany
Registered: 2006-01-02
Posts: 101

Re: samba 3.4.3 update

Strange, neither re-adding users nor option "passdb backend = smbpasswd" seem to work for me.
I can't log on to my samba shares since the update.

Offline

#11 2009-11-16 23:29:52

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: samba 3.4.3 update

tongue Found the culprit - Samba 3.4.3-2 is a screw-up!

Not only was it logging error messages every second, but it was also killing DNS lookups in both Firefox and Opera. They were about 10x slower, even though I have a /etc/modprobe/modprobe.conf containing 'alias net-pf-10 off' and Firefox's preference 'network.dns.disableIPv6' is set to true. This was checked on three different systems, confirming the diagnosis. (Tried reverting back to kernel26-2.6.31.5 but this made no difference.)
Just don't ask me to explain why this was happening - I'm just reporting the phenomenon.

So, I have had to uninstall samba and downgrade the other packages as follows, to get everything happy again:

smbclient-3.3.8-1-i686.pkg.tar.gz <- smbclient-3.4.3-2-i686.pkg.tar.gz
tdb-3.3.8-1-i686.pkg.tar.gz <- tdb-3.4.3-2-i686.pkg.tar.gz

But I do notice that some of the 'tdb(/var/cache/samba/gencache.tdb): tdb_oob len 980837756 beyond eof at 12288' errors still get logged when you run some commands such as smbtree. Otherwise smbclient works fine, I think.

Anyone got any technical insight on why Samba is causing these problems?

Last edited by ninian (2009-11-19 23:06:23)

Offline

#12 2009-11-19 22:08:01

Raws
Member
From: Campo Grande - Brazil
Registered: 2009-08-19
Posts: 47

Re: samba 3.4.3 update

Greetings

For those who cant log into their shares... Maybe a look at this thread may be useful.

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

Offline

#13 2009-11-23 16:34:41

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: samba 3.4.3 update

with the latest sama/smbclient update these problems solved.

Offline

#14 2009-11-25 02:37:31

n17ikh
Member
Registered: 2008-09-15
Posts: 11

Re: samba 3.4.3 update

I got bitten by this as well. A message on upgrading would have been nice, or a post on the Arch front page. A lot of people use Samba. This wasn't even a version bump, just a pkgrel. Bah.

Offline

Board footer

Powered by FluxBB