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

sssd-libwbclient conflicts with Samba's and causes crash in wbinfo #3579

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Closed

sssd-libwbclient conflicts with Samba's and causes crash in wbinfo #3579

sssd-bot opened this issue May 2, 2020 · 0 comments
Labels
Bugzilla Closed: Fixed Issue was closed as fixed.

Comments

@sssd-bot
Copy link

sssd-bot commented May 2, 2020

Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/2537


Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1175705

+++ This bug was initially created as a clone of Bug #1175511 +++

Description of problem:
wbinfo -K <user> causes a segfault

Version-Release number of selected component (if applicable):
4.1.13-1


How reproducible:
100%

Steps to Reproduce:
1. In cases where kerberos auth fails, do:
2. wbinfo -K <user>
3.

Actual results:
Enter vverma7's password:
plaintext kerberos password authentication for [vverma7] failed (requesting
cctype: FILE)
Segmentation fault (core dumped)

Expected results:


Additional info:

Backtrace:
(gdb) r
Starting program: /usr/bin/wbinfo -K vverma7
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Enter vverma7's password:
plaintext kerberos password authentication for [vverma7] failed (requesting
cctype: FILE)

Program received signal SIGSEGV, Segmentation fault.
wbinfo_auth_krb5 (username=0x5555557625e0 "vverma7", cctype=0x55555555e588
"FILE", flags=28690)
    at ../nsswitch/wbinfo.c:1572
1572                    d_fprintf(stderr,
Missing separate debuginfos, use: debuginfo-install
bzip2-libs-1.0.6-14.fc21.x86_64 libtdb-1.3.1-1.fc21.x86_64
libtevent-0.9.21-3.fc21.x86_64
(gdb) bt
#0  wbinfo_auth_krb5 (username=0x5555557625e0 "vverma7", cctype=0x55555555e588
"FILE", flags=28690)
    at ../nsswitch/wbinfo.c:1572
#1  0x00005555555584bb in main (argc=<optimized out>, argv=<optimized out>,
envp=<optimized out>)
    at ../nsswitch/wbinfo.c:2557
(gdb) p *error
Cannot access memory at address 0x1
(gdb) q

--- Additional comment from David Woodhouse on 2014-12-17 18:56:21 EST ---

Oh, this system has sssd-libwbclient installed, and it was using that. Removing
it makes it use the real libwbclient which works.

--- Additional comment from David Woodhouse on 2014-12-17 19:04:35 EST ---

If you're going to install a higher-priority 'alternative' for Samba's
libraries, please make sure they *work*.

Comments


Comment from mkosek at 2014-12-19 11:47:13

Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=1175511 (Fedora)

rhbz: [https://bugzilla.redhat.com/show_bug.cgi?id=1175705 1175705] => [https://bugzilla.redhat.com/show_bug.cgi?id=1175705 1175705], [https://bugzilla.redhat.com/show_bug.cgi?id=1175511 1175511]


Comment from dwmw2 at 2014-12-19 11:58:55

Fields changed

blockedby: =>
blocking: =>
changelog: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
mark: no => 0
review: True => 0
selected: =>
testsupdated: => 0


Comment from dwmw2 at 2014-12-19 11:59:25

Fields changed

cc: => dwmw2@infradead.org


Comment from sbose at 2014-12-19 13:22:09

I move this ticket to 1.12.3 directly, because we already agreed to fix this issue as soon as possible.

milestone: NEEDS_TRIAGE => SSSD 1.12.3
patch: 0 => 1


Comment from sbose at 2014-12-19 17:49:34

master: 082e13d

resolution: => fixed
status: new => closed


Comment from dwmw2 at 2014-12-19 22:52:08

Now the crash should be fixed. But wbinfo still isn't going to work, is it? There is more to be done here.


Comment from mkosek at 2017-02-24 14:36:11

Metadata Update from @mkosek:

  • Issue set to the milestone: SSSD 1.12.3
@sssd-bot sssd-bot added Bugzilla Closed: Fixed Issue was closed as fixed. labels May 2, 2020
@sssd-bot sssd-bot closed this as completed May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugzilla Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

1 participant