Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winbindd segfault - PANIC (pid 3500): pdb_get_methods: failed to get pdb methods for backend samba_dsdb #1869

Open
rootless4real opened this Issue Apr 5, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@rootless4real
Copy link

commented Apr 5, 2019

An existing Zentyal 5.1.3 w/ winbindd 4.6.7 doesn't have any problems joining or acting as a DC in a Server 2008 R2 AD environment. However, Zentyal 6.0.1 w/ winbindd 4.7.6 always core dumps. Very repeatable. The options for winbindd don't have an impact. Bringing over and trying idmpa.ldb from Z5.1.3/Samba4.6.7 doesn't help.

winbindd --no-caching -i -S

winbindd version 4.7.6-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2017
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[global]"
added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
added interface lo ip=127.0.1.1 bcast=127.255.255.255 netmask=255.0.0.0
added interface eth1 ip=192.168.1.20 bcast=192.168.1.255 netmask=255.255.255.0
added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
added interface lo ip=127.0.1.1 bcast=127.255.255.255 netmask=255.0.0.0
added interface eth1 ip=192.168.1.20 bcast=192.168.1.255 netmask=255.255.255.0
initialize_winbindd_cache: clearing cache and re-creating with version number 2
Added domain BUILTIN (null) S-1-5-32
ldb_wrap open of idmap.ldb
pdb backend samba_dsdb did not correctly init (error was NT_STATUS_UNSUCCESSFUL)
PANIC (pid 3500): pdb_get_methods: failed to get pdb methods for backend samba_dsdb

BACKTRACE: 9 stack frames:
#0 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(log_stack_trace+0x1f) [0x7f3f4258ca2f]
#1 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f3f4258cb00]
#2 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x2f) [0x7f3f456a98cf]
#3 /usr/lib/x86_64-linux-gnu/libsamba-passdb.so.0(+0xf85b) [0x7f3f4614785b]
#4 /usr/lib/x86_64-linux-gnu/libsamba-passdb.so.0(+0x3c862) [0x7f3f46174862]
#5 winbindd(init_domain_list+0x121) [0x5620301d9281]
#6 winbindd(main+0x958) [0x5620301d3128]
#7 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f3f3ef9fb97]
#8 winbindd(_start+0x2a) [0x5620301d3ada]
dumping core in /var/log/samba/cores/winbindd
Aborted

Whether you try and call it from smbd or directly, that is where the problem is; e.g.

smbd -i
smbd version 4.7.6-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2017
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[global]"
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[sysvol]"
adding IPC service
added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
added interface lo ip=127.0.1.1 bcast=127.255.255.255 netmask=255.0.0.0
added interface eth1 ip=192.168.1.20 bcast=192.168.1.255 netmask=255.255.255.0
loaded services
INFO: Profiling support unavailable in this build.
ldb_wrap open of idmap.ldb
pdb backend samba_dsdb did not correctly init (error was NT_STATUS_UNSUCCESSFUL)

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.