Samba can't access Windows shares in Jaunty Beta
Lucio M Nicolosi
lmnicolosi at gmail.com
Fri Apr 3 18:09:20 UTC 2009
2009/4/3 Leo Cacciari <leothehobbit at gmail.com>:
> Il giorno gio, 02/04/2009 alle 16.30 -0300, Lucio M Nicolosi ha scritto:
>> On Wed, Apr 1, 2009 at 8:33 PM, Lucio M Nicolosi <lmario at philippe.com.br> wrote:
>> > Tried Samba on Jaunty Beta, but found an issue with libpam-mount that, I
>> > guess, is required to mount Windows shares.
>> >
>> > Could not find any bug reference in Launchpad, but I believe it is something
>> > that will be fixed before the final release.
>> >
>> > Has anyone experienced something similar?
>> >
>>
>> If anyone stops by, please disregard this thread, a full restart fixed
>> things magically.
>> There are a lot of bugs in Samba Package but it seems this is not one of them.
>>
> Sure it is not a bug, just expected (but unsignaled, I agree) behavior.
> Installing samba add the main user to the sambashare group. Unless you
> are in thios group, you'll be unable to mount shares. It turns out that
> just adding you to the group is not enough: to make adding effective you
> must logout and log back in, as groups' membership is, since the
> beginning of *nix systems, evaluated only at login. Of course a reboot
> solved the problem, but a simple logout/login would have done the same.
>
>
> --
> Leo Cacciari
>
It would, but it didn't.
I have Samba installed in my 8.10 i386 partition. As I'm testing 9.04
64, decided to install Samba on it, same /home. Observed that although
the Linux shares were visible, shared Directories on a Windows machine
nearby were not.
Then noticed that, contrary to 8.10, libpam-mount would not show on a
"Samba" search in Synaptic. Noticed that this file seemed to be the
only difference from the i386 install, along with smb.cfg, and it was
needed for mounting Windows shares. (had to restart the machine to
check this at the other install).
Searched for libpam-mount, installed it, restarted Samba, but got
error messages, this time with libpam-mount. Wondered that it might be
the reason why it didn't show in the "samba" search.
Gave up.
The next day, after a restart, noticed that everything was working as
well as the i386 install.
Although still baffled, it now seems to me that the full restart after
libpam-mount install or the Windows machine restart did the trick.
Thanks for your remarks.
Lucio
--
Lucio M Nicolosi, Eng. - Sao Paulo - Brazil
skype: lmnicolosi1
Lat.: 23°34'4.79"S - Long.: 46°39'59.53"W
Linux Regist. User #481505 - http://counter.li.org/
More information about the ubuntu-users
mailing list