Folder sharing fails - libtalloc.so.1 not found - U10.04

Asked by joe whitaker

I just upgraded from U9.10 to U10.04 via the automatic update screen.
It discarded my previous folder shares that were working in U9.10.
My MSWindows machines on my local LAN were seeing my Ubuntu shares just fine before the upgrade.

I try to share folders (by right clicking on folder and selecting sharing options and click create share)
and now I get this error message:
  Samba's testparm returned error 127:
  testparm: error while loading shared libraries:
  libtalloc.so.1: cannot open shared object file:
  No such file or directory

I have tried: locate libtalloc.so.1 - but it's not found.
On the other hand libtalloc.so.2 is found.
So I am guessing that the error is that samba can't find the libtalloc.so.1 library.

Could it be that my samba is old and doesn't know about libtalloc.so.2?
How do I upgrade samba to a version that will recognize the new library?
Or how do i install the old libtalloc.so.1 library?(it's not in the synaptic package installer list)

Also, my ubuntu machine is not announcing itself on the LAN in a way that makes my MSWindows machines
translate the name to an IP address. I can ping the Ubuntu machines IP address but if I ping the machine
name then mswindows says it could not find host. I suspect this is a netbios thing that will fix itself once samba is working properly.

-joew

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
bdbdbd (bdugan) said :
#2

It's several months later, but I wanted to report that I just performed the same upgrade that Joe mentioned, from Ubuntu 9.10 to 10.04, via the distribution upgrade; and am having identical symptoms. (This page is the first hit when I googled "ubuntu samba's testparm returned error 127".)

bdbdbd

Revision history for this message
bdbdbd (bdugan) said :
#3

It's several minutes later, and I have solved the problem on my system. From a terminal prompt, I went into /usr/lib and created libtalloc.so.1 as a symbolic link to libtalloc.so.2.0.1 with the command:

sudo ln -s libtalloc.so.2.0.1 libtalloc.so.1

Then I tried sharing the desired folder again, and saw that everything was allowed and was OK; I restarted the machine for good measure, and now I can see it from Windows machines using its good old server name.

bdbdbd