[Pkg-samba-maint] Bug in pdbedit

Joao Luis Meloni Assirati assirati at nonada.if.usp.br
Tue Aug 26 05:26:50 UTC 2008


Em Monday 25 August 2008 23:53:55 Steve Langasek escreveu:
> On Mon, Aug 25, 2008 at 10:43:30PM -0300, Joao Luis Meloni Assirati wrote:
> > I am installing samba (3.2.0)  in my new to be etch server. I chose
> > tdbsam, as Debian recommend this now, hoping that a migration
> > smbpasswd->tdbsam would be fully documented an easilly found in Debian's
> > docs, but that turned out not to be the case. Struglling with google, I
> > found the following:  backup your old smbpasswd (in
> > /root/smbpasswd.backup for instance) and run
> >
> > pdbedit -i smbpasswd:/root/smbpasswd.backup
> >
> > Nothing happened. No user was added, no password was changed. I had
> > precisely zero error messages. The return status was a bright 0. Running
> >
> > pdbedit -v -i smbpasswd:/root/smbpasswd.backup
> >
> > showed the same merciless results. Now I am wondering if the bug is in
> > pdbedit not doing what it is supposed to do, in Debian's doc for not
> > properly instructing people, or in Debian's default configuration  for
> > recommending a broken, alpha quality password backend.
> >
> > Or I may be using pdbedit the wrong way.
> >
> > I also tried
> >
> > pdbedit -v -i smbpasswd:/root/smbpasswd.backup -e tdbsam
> >
> > but got again only nothing.
> >
> > In case this message gets an answer, please CC me as I am not in the
> > list.
>
> Do you have any accounts in smbpasswd to even import?  pdbedit works fine
> in the Debian packages.

I found the problem. User IDs did not match. Sorry for that. pdbedit could 
issue an error message, though.

Thank you,
João Luis.



More information about the Pkg-samba-maint mailing list