URL: https://github.com/SSSD/sssd/pull/475
Title: #475: AD: Use the right sdap_domain for the forest root

lslebodn commented:
"""
And I can see the same issue as in the beginning. I do not remember whether the 
crash is the same.
I'm checking one more time and I'll provide you an access to problematic env.

```
(gdb) bt
#0  sdap_search_bases_ex_next_base (req=req@entry=0x55bb8d569310) at 
src/providers/ldap/sdap_ops.c:145
#1  0x00007f15d6856812 in sdap_search_bases_ex_done (subreq=0x0) at 
src/providers/ldap/sdap_ops.c:220
#2  0x00007f15d6825879 in generic_ext_search_handler (subreq=0x0, 
opts=<optimized out>) at src/providers/ldap/sdap_async.c:1689
#3  0x00007f15d6827c14 in sdap_get_generic_op_finished (op=<optimized out>, 
reply=<optimized out>, error=<optimized out>, pvt=<optimized out>) at 
src/providers/ldap/sdap_async.c:1579
#4  0x00007f15d68268cd in sdap_process_message (ev=<optimized out>, 
sh=<optimized out>, msg=0x55bb8d55c690) at src/providers/ldap/sdap_async.c:353
#5  sdap_process_result (ev=<optimized out>, pvt=<optimized out>) at 
src/providers/ldap/sdap_async.c:197
#6  0x00007f15e40c5c97 in tevent_common_loop_timer_delay 
(ev=ev@entry=0x55bb8d4bdcc0) at ../tevent_timed.c:369
#7  0x00007f15e40c6ca9 in epoll_event_loop_once (ev=0x55bb8d4bdcc0, 
location=<optimized out>) at ../tevent_epoll.c:915
#8  0x00007f15e40c52a7 in std_event_loop_once (ev=0x55bb8d4bdcc0, 
location=0x7f15e7e72887 "src/util/server.c:721") at ../tevent_standard.c:114
#9  0x00007f15e40c107d in _tevent_loop_once (ev=ev@entry=0x55bb8d4bdcc0, 
location=location@entry=0x7f15e7e72887 "src/util/server.c:721") at 
../tevent.c:726
#10 0x00007f15e40c12ab in tevent_common_loop_wait (ev=0x55bb8d4bdcc0, 
location=0x7f15e7e72887 "src/util/server.c:721") at ../tevent.c:849
#11 0x00007f15e40c5247 in std_event_loop_wait (ev=0x55bb8d4bdcc0, 
location=0x7f15e7e72887 "src/util/server.c:721") at ../tevent_standard.c:145
#12 0x00007f15e7e4f853 in server_loop (main_ctx=0x55bb8d4bf150) at 
src/util/server.c:721
#13 0x000055bb8ba665d9 in main (argc=8, argv=<optimized out>) at 
src/providers/data_provider_be.c:639
(gdb) l 145
140         if (state->cur_base == NULL) {
141             return EOK;
142         }
143
144         /* Combine lookup and search base filters. */
145         filter = sdap_combine_filters(state, state->filter,
146                                       state->cur_base->filter);
147         if (filter == NULL) {
148             return ENOMEM;
149         }
(gdb) p state[0]
$4 = {ev = 0x55bb8d4bdcc0, opts = 0x55bb8d526470, sh = 0x55bb8d542080, filter = 
0x7f15d7ace2e0 "%s\n", attrs = 0x7ffd62628970, map = 0x0, map_num_attrs = 0, 
timeout = 6, 
  allow_paging = false, return_first_reply = false, base_iter = 1, cur_base = 
0xbebebebebebebebe, bases = 0x55bb8d52bab0, reply_count = 0, reply = 0x0}
```
"""

See the full comment at 
https://github.com/SSSD/sssd/pull/475#issuecomment-364946282
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org

Reply via email to