[Pkg-samba-maint] Bug in pdbedit

Steve Langasek vorlon at debian.org
Tue Aug 26 02:53:55 UTC 2008


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.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org



More information about the Pkg-samba-maint mailing list