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_be crashes when looking up users in the LDAP provider with ID mapping #2964

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Closed
Assignees
Labels
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/1922

  • Created at 2013-05-10 18:25:54 by kaushikub
  • Closed as Fixed
  • Assigned to jhrozek

sssd version: sssd-1.10.0-5.fc20.beta1

The domain section in sssd.conf has:

[domain/ADTEST]
debug_level = 0xFFF0
id_provider = ldap
ldap_uri = ldap://example.adtest.com
ldap_schema = ad
ldap_default_bind_dn = cn=Administrator,cn=Users,dc=adtest,dc=com
ldap_default_authtok = XXXXXX
ldap_tls_cacert = /etc/openldap/certs/ad_cert.pem
ldap_referrals = false

"getent passwd " causes sssd_be to crash

The initial part of the backtrace shows:

Core was generated by `/usr/libexec/sssd/sssd_be --domain ADTEST --debug-to-files'.
Program terminated with signal 11, Segmentation fault.
#0  0xb679ae8c in sdap_attrs_get_sid_str (mem_ctx=mem_ctx@entry=0xb7d19828, idmap_ctx=0x0, sysdb_attrs=sysdb_attrs@entry=0xb7d1ae48, sid_attr=0xb68264e5 "objectSID", _sid_str=_sid_str@entry=0xbfda9f88) at src/providers/ldap/ldap_common.c:1586
1586	    err = sss_idmap_bin_sid_to_sid(idmap_ctx->map,

Thread 1 (Thread 0xb6e31900 (LWP 32722)):
#0  0xb679ae8c in sdap_attrs_get_sid_str (mem_ctx=mem_ctx@entry=0xb7d19828, idmap_ctx=0x0, sysdb_attrs=sysdb_attrs@entry=0xb7d1ae48, sid_attr=0xb68264e5 "objectSID", _sid_str=_sid_str@entry=0xbfda9f88) at src/providers/ldap/ldap_common.c:1586
        ret = 0
        err = <optimized out>
        el = 0xb7d1af58
        sid_str = 0x1 <Address 0x1 out of bounds>

Comments


Comment from jhrozek at 2013-05-13 10:16:49

Fields changed

owner: somebody => jhrozek
status: new => assigned


Comment from jhrozek at 2013-05-13 10:28:54

Fields changed

patch: 0 => 1


Comment from jhrozek at 2013-05-13 17:06:12

milestone: NEEDS_TRIAGE => SSSD 1.10 beta
resolution: => fixed
status: assigned => closed


Comment from dpal at 2013-05-23 15:58:14

Fields changed

rhbz: => 0


Comment from kaushikub at 2017-02-24 14:38:34

Metadata Update from @kaushikub:

  • Issue assigned to jhrozek
  • Issue set to the milestone: SSSD 1.10 beta
@sssd-bot sssd-bot added the Closed: Fixed Issue was closed as fixed. label 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
Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

2 participants