LinuxQuestions.org
Review your favorite Linux distribution.
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 07-20-2006, 01:09 AM   #1
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Samba package in Slackware current


Anyone who is on the Slackware security mailing list, you saw the Samba fix that came out a few days ago that resolved the DoS issue. But it mistakenly made Samba depend on dmapi.

Well, today another email went out, explaining how the new dependency was not intentional, and there was a new package that would resolve that issue.

That is my problem. I have installed the new package directly from the link given in the email, but Samba is still failing on the missing libdm file.

Anyone else having this problem?
 
Old 07-20-2006, 03:21 AM   #2
ExplodingTurnip
LQ Newbie
 
Registered: May 2005
Location: Los Angeles, CA USA
Distribution: Slackware, Knoppix
Posts: 23

Rep: Reputation: 15
I'm running Slackware 10.0 and I ended up having more that just libdm.so.0 missing. I had to install the following packages to get Samba back on its feet:

acl-2.2.34-i486-1.tgz
attr-2.4.28-i486-1.tgz
cyrus-sasl-2.1.22-i486-1.tgz
dmapi-2.2.3-i486-2.tgz
openldap-client-2.3.24-i486-1.tgz

I'm unsure whether xfsprogs would've fixed my issues, though. I was previously using Samba 3.0.10.

Incidentally, I didn't need xfsprogs to get libdm.so.0. Looks like it's also included in the dmapi package too.
 
Old 07-20-2006, 10:35 PM   #3
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
my samba is totally broken now too
 
Old 07-20-2006, 11:35 PM   #4
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
I cant even roll back these updates....drive image to the rescue I guess.
 
Old 07-21-2006, 12:09 AM   #5
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Original Poster
Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Well, glad I'm not the only one with this problem.

Perhaps "glad" isn't exactly the right word...
 
Old 07-21-2006, 03:46 AM   #6
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
Pat must be banging his head on the wall. Or maybe it is just you and me LOL.
 
Old 07-21-2006, 04:06 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,390

Rep: Reputation: Disabled
Are you guys sure you used the updated Samba package for Slackware 10.0 /10.1 / 10.2 and not for -current??? The packages in the respective /patches directories for the official releases are not linked to any of those packages mentioned in this thread as far as I can determine (using ldd).

Eric
 
Old 07-21-2006, 04:33 AM   #8
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
Hi,

I only run slackware 10.2 on all my slackware box's. Current scares me.

I use slapt-get to fetch and apply updates as required.

I'm using the latest slapt-get; stable that is.

I'm using the primary mirror ((http://osuosl.org)

But I tell slapt-get to download them only for me, then I manually gpg verify them. e.g. "slapt-get --upgrade -d"

Then I have slapt-get perform the upgrades. "slapt-get --upgrade -s" to simulate, and make sure It's all good, then "slapt-get --upgrade"

The problem I get is, no KDE connection over lan. If I go to 'cli' and use "smbmount //" I get an error of "ERRDOS: directory tree structure does not exist" or something like that.

I then ran package tool, turned off samba to auto-load, rebooted. Then removed the packages, then rebooted. Put in the default slackware 10.2 samba on all the pc's, and they get the same error.

However, a windows PC can connect.

So basically now I'm just restoring all the slack boxen from images I made, then I'll put in my updates, less the samba. Then turn off the samba until I figure out what's going on.

Last weeks patch blew my printer share's on samba but I just got past that with making my print jobs pdf's then moved them over; but this is weird.

The pc's do ping each other too.

I went to slackware's site, and was thinking of sending him an email or see if he had an irc channel or something that he might idle, but couldnt find one.

But I dont see anyone else but me and MS3GFX getting this issue, so I figured maybe slapt-get is doing me wrong I dont know.
 
Old 07-21-2006, 05:15 AM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,390

Rep: Reputation: Disabled
Please check that slapt-get installed samba-3.0.23-i486-2_slack10.2 for you. If your box got samba-3.0.23-i486-2 instead, the version from -current got inadvertantly installed.

Eric
 
Old 07-21-2006, 03:05 PM   #10
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
Quote:
root@pooter:~# slapt-get --update
Retrieving package data [http://slackware.osuosl.org/slackware-10.2/]...Cached
Retrieving patch list [http://slackware.osuosl.org/slackware-10.2/]...Done
Retrieving checksum list [http://slackware.osuosl.org/slackware-10.2/]...Done
Retrieving ChangeLog.txt [http://slackware.osuosl.org/slackware-10.2/]...Done
Reading Package Lists...Done
Retrieving package data [http://software.jaos.org/slackpacks/10.2/]...Cached
Retrieving patch list [http://software.jaos.org/slackpacks/10.2/]...Cached
Retrieving checksum list [http://software.jaos.org/slackpacks/10.2/]...Cached
Retrieving ChangeLog.txt [http://software.jaos.org/slackpacks/10.2/]...Cached
Reading Package Lists...Done
root@pooter:~# slapt-get --upgrade -d
Reading Package Lists... Done
The following packages will be upgraded:
samba
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 18MB of archives.
Get http://slackware.osuosl.org/slackware-10.2/ samba 3.0.23-i486-2_slack10.2 [1 8MB]...Done

root@pooter:~# md5sum /var/slapt-get/patches/packages/samba-3.0.23-i486-2_slack10.2
196783e4e3a6e11afcd015df51a18c34 /var/slapt-get/patches/packages/samba-3.0.23-i486-2
root@pooter:~# slapt-get --upgrade
Reading Package Lists... Done
The following packages will be upgraded:
samba
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0kB/18MB of archives.
After unpacking 10kB disk space will be freed.
Do you want to continue? [y/N] y

Preparing to replace samba-3.0.23-i486-1_slack10.2 with samba-3.0.23-i486-2_slack10.2

Now I'm back to "isane" packetloss between linux clients using samba.

Windows talks but is really slow at first, about 20 second pause clicking on mapped network drive; but then does work so I'm assuming I'm getting loss on windows too.
 
Old 07-21-2006, 04:00 PM   #11
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
I run slackware -current here and I had the same problem. I upgraded to samba-3.0.23-i486-2 (after reading this thread and congratulating myself on waiting this long ). I ended up having to install dmapi-2.2.3-i486-2 to get libdm installed. Here's the output from ldd for smbd:
Code:
$ ldd /usr/sbin/smbd | grep libdm
        libdm.so.0 => /lib/libdm.so.0 (0xb7cf7000)
Maybe a dodgy version of samba-3.0.23-i486-2 got to my mirror? I run my own mirror rsynced from slackware.mirrors.tds.net. But since it's working with dmapi-2.2.3-i486-2 I'm more confused than anything given the email about not needing libdm
 
Old 07-21-2006, 04:15 PM   #12
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,390

Rep: Reputation: Disabled
Well, I think you're right about dmapi and that the Samba package in -current should not depend on it. IMO you can report this as a bug to volkerdi at slackware dot com and see what he has to say.

Eric
 
Old 07-21-2006, 04:40 PM   #13
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
this is on a computer that was totally bamboozled, then I pulled out the patches, and went back to default install on.

presently getting packetloss to this machine.

maybe this helps to understand what I did,

Quote:
root@pooter:/var/slapt-get/patches/packages#: dir

samba-3.0.20b-i486-1.tgz*
samba-3.0.23-i486-2_slack10.2.tgz

root@pooter:/var/log/packages# dir
samba-3.0.20-i486-2

root@pooter:/var/lob/removed_packages:
samba-3.0.20-i486-2-upgraded-2006-04-24,08:18:17
samba-3.0.20b-i486-1
samba-3.0.20b-i486-1-upgraded-2006-07-20,18:57:26
samba-3.0.23-i486-2_slack10.2
slapt-get-0.9.11b-i386-1-upgraded-2006-05-31,18:47:02
 
Old 07-21-2006, 04:52 PM   #14
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by Alien Bob
IMO you can report this as a bug to volkerdi at slackware dot com and see what he has to say.
Thanks for the advice. Just in case I had the wrong package, I checked the md5sum of my samba-3.0.23-i486-2.tgz against the slackware-security email and since they're the same I emailed Pat with the info (including a link to this thread).
 
Old 07-21-2006, 05:30 PM   #15
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Hi everyone - I received a reply from Pat about this. He pointed out that the slackware-security email states that the 10.0, 10.1, and 10.2 packages have been rebuilt on systems without the dm library. It doesn't mention the -current package in relation to libdm, only regarding reported problems with winbind. Also, the dmapi (and possible acl) packages will probably move to the A series in -current RSN since a lot of stuff is starting to depend on them.

The confusion for me was that I assumed the 10.2 changelog quote applied to -current. It doesn't and the -current changelog only has the following for Samba:
Code:
n/samba-3.0.23-i486-2.tgz:  Patched a problem in nsswitch/wins.c that
  caused crashes in the wins and/or winbind libraries.  Thanks to
  Mikhail Kshevetskiy for pointing out the issue and offering a
  reference to the patch in Samba's source repository.
For me, installing dmapi-2.2.3-i486-2 to get libdm on my Slackware -current boxes got things back to normal. I don't have any other configurations (10.2 or earlier) to test against though...
 
  


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
Anyone know of a dvb-tools package for slackware 10.2 current? slothpuck Slackware 1 07-01-2006 11:36 AM
slackware current bittorent package install question cinchel Linux - Software 3 10-25-2004 01:25 AM
Current Package INfo apocolpse Linux - Newbie 3 10-09-2004 08:54 PM
Problem with samba-3.0.3 from slackware-current MobileC Slackware 2 09-09-2004 08:43 PM
Slackware-current Perl 5.8.1 Package tuxq Slackware 0 10-24-2003 08:37 AM


All times are GMT -5. The time now is 03:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration