Re: Problem with Samba on Squeeze [SOLVED]
> From: Roger Morgan <firstname.lastname@example.org>
> To: Camaleón <email@example.com>; firstname.lastname@example.org
> Sent: Mon, May 2, 2011 11:32:16 AM
> Subject: Re: Problem with Samba on Squeeze
> > From: Camaleón <email@example.com>
> > To: firstname.lastname@example.org
> > Sent: Sun, May 1, 2011 8:15:10 PM
> > Subject: Re: Problem with Samba on Squeeze
> > On Sun, 01 May 2011 10:58:01 -0700, Roger Morgan wrote:
> > >> From: Camaleón
> > >
> > >> It looks something related to authentication.
> > >>
> > >> Is there anything interesting at samba logs? I know samba logs are
> > >> pretty hard to understand :-) but maybe there is something in there
> > >> that give you any clue.
> > >>
> > > Here are the logs for the relevant time.
> > (...)
I eventually solved this as follows.
1. Uninstall samba completely including configs: the following packages:
and their dependencies.
2. Check samba directories /var/lib/samba and /etc/samba don't exist any more.
4. Install packages:
5. List users with pdbedit. (the installation, trying to be smart, had added 4
smbclient -L lyra
and responding with my password, still didn't work, but produced an error
message instead of timing out.
I googled for it and found somebody else had had the same problem and fixed it
deleting the users which installation had added with pdbedit, and re-creating
them with smbpasswd -a.
6. Delete the users found in step 5 with pdbedit, and add the users needed with
Then everything works.
This is an old installation of Samba, going back to lenny, and I conclude that
the upgrades didn't do exactly
what they should have. The clean install should not be different from an
upgraded install but it clearly was.
Thanks to Camaleón for helping with this.