[Samba] pdbedit dump core
rpenny at samba.org
Wed Sep 22 09:07:10 UTC 2021
On Wed, 2021-09-22 at 08:32 +0200, Jacques Beigbeder via samba wrote:
> Hello Samba users,
> Environment: Ubuntu 20.04 up to date
> Linux users: 3500 logins
> For 1 user, says cpier:
> # samba-tool user show cpier : seems OK
> # pdbedit -L -w | grep cpier: seems OK
> # smbpasswd cpier : works
> # samba-tool dbcheck : is OK
> # pdbedit -i smbpasswd:FILE : worked for 2306 entries on 3500,
> and failed.
> One experiment:
> # cat s
> # pdbedit -i smbpasswd:s
> Segmentation fault (core dumped)
> syslog then tells:
> kernel: [ 1580.615611] pdbedit: segfault at 0 ip
> 00007f6dd3d2ae34 s... error 4 in libsamba-passdb.so.0.28.0[
> kernel: [ 1580.615617] Code: fd 53 48 8b bf 10 02 00 00 e8 58 75 ff
> ff 4c ...
> Why? Is there a way to fix?
> My purpose is to transfer an smbpasswd file from one computer
> to another. I don't have user passwords to use smbpasswd!
Can you give us more information on how you are running Samba, it
sounds like you are running Samba as a standalone server, but you refer
to samba-tool that only works with AD.
More information about the samba