SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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:
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).
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.
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.
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.
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:
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
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.
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).
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.