Samba smbd dousn't start suse 13.2

I have a new installation of opensuse 13.2
on boot the smbd deamon wil not start the smbd.log file gives de following message

[2014/11/23 19:16:03, 0] …/source3/smbd/server.c:1194(main)
smbd version 4.1.12-2.1-3307-SUSE-oS13.2-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/23 19:16:04.286258, 0] …/source3/passdb/pdb_interface.c:169(make_pdb_method_name)
No builtin nor plugin backend for /etc/samba/passdb.tdb found
*

When i try to add an new user passdb.tdb with pdbedit
i get the message

# pdbedit -a -u Crauwel
No builtin nor plugin backend for /etc/samba/passdb.tdb found
Can’t initialize passdb backend.

Wen i start samba manually
# /sbin/service smb start
Job for smb.service failed. See “systemctl status smb.service” and “journalctl -xn” for details.

De status is then

*# systemctl status smb.service
smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled)
Active: failed (Result: exit-code) since Sun 2014-11-23 19:42:07 CET; 2min 34s ago
Process: 10303 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)
Process: 10295 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
Main PID: 10303 (code=exited, status=1/FAILURE)
Status: “Starting process…”

Nov 23 19:42:07 Hektor smbd[10303]: [2014/11/23 19:42:07.160415, 0] …/source3/passdb/pdb_interface.c:169(make_pdb_m…d_name)
Hint: Some lines were ellipsized, use -l to show in full.*

Who can tel me what the problem is?

nmbd deamon starts normaly

2014/11/23 19:16:03, 0] …/source3/nmbd/nmbd.c:904(main)
nmbd version 4.1.12-2.1-3307-SUSE-oS13.2-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/23 19:16:03.469128, 0] …/lib/util/become_daemon.c:137(daemon_ready)
STATUS=daemon ‘nmbd’ finished starting up and ready to serve connections

This:

*# pdbedit -a -u Crauwel
No builtin nor plugin backend for /etc/samba/passdb.tdb found
Can't initialize passdb backend.*

Do you have samba-libs installed?
Are all files there, in particular /usr/lib(64)/samba/pdb/tdbsam.so ?

rpm -V samba-libs

(no output means everything’s ok)

What exact samba packages do you have installed?

rpm -qa | grep samba

It is a new OpenSuse 13.2 installation.
So I expected all needed samba stuff will be installed

The files " /usr/lib(64)/samba/pdb/tdbsam.so" is available

The command " rpm -V samba-libs" gives no output

The output of “rpm -qa | grep samba”

rpm -qa | grep samba

libsamba-util0-4.1.12-2.1.x86_64
libsamba-hostconfig0-32bit-4.1.12-2.1.x86_64
samba-libs-4.1.12-2.1.x86_64
libsamba-credentials0-4.1.12-2.1.x86_64
samba-client-4.1.12-2.1.x86_64
samba-32bit-4.1.12-2.1.x86_64
yast2-samba-server-3.1.10-2.1.10.noarch
samba-client-32bit-4.1.12-2.1.x86_64
yast2-samba-client-3.1.14-4.1.noarch
libsamba-util0-32bit-4.1.12-2.1.x86_64
samba-libs-32bit-4.1.12-2.1.x86_64
libsamba-credentials0-32bit-4.1.12-2.1.x86_64
libsamba-hostconfig0-4.1.12-2.1.x86_64
samba-4.1.12-2.1.x86_64

try installing

samba-winbind-32bit
samba-winbind

Yes, should be.
But something might have gone wrong, some file might have been deleted somehow after the installation, filesystem corruption, …

The files " /usr/lib(64)/samba/pdb/tdbsam.so" is available

The command " rpm -V samba-libs" gives no output

The output of “rpm -qa | grep samba”

rpm -qa | grep samba

Looks ok, although I do have samba-winbind installed as well (and samba-doc, but that’s only documentation…).
So try to install that in addition as suggested, though I don’t really think it will help with your particular problem.

Please post your /etc/samba/smb.conf, and/or try to set “passdb backend = tdbsam” in there.
PS: I just noticed something in your original post:

*Process: 10303 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE) *

This cannot work. $SMBDOPTIONS should have been replaced by the actual options.
Do you have the file /etc/sysconfig/samba? Is there a line like this?

SMBDOPTIONS="-D"

Probably not, so reinstall samba to create it:

sudo zypper in -f samba

Then it might work.
PPS: On second though, this is probably not your problem, the “systemctl status” just prints the actual ExecStart line before the variable is substituted.
The status does include an error message from passdb/pdb_interface.c.
But it’s truncated, so please also post the ouput of:

sudo systemctl status -l smb

Because it was e fresh installation a have decided to start again from scratch
And now it works fine

Thanks all
For thinking with me!