URL:
https://github.com/SSSD/sssd/pull/899
Title: #899: sss_ptr_hash: pass new hash_entry_t to custom delete callback
pbrezina commented:
"""
This works evertime:
```bash
# rm -f /var/log/sssd/* && systemctl start sssd && sleep 5 &&
systemctl stop sssd && grep "Invalid data type detected"
/var/log/sssd/sssd_ldap.vm.log
(Fri Oct 18 12:15:05 2019) [sssd[be[ldap.vm]]] [sss_ptr_hash_check_type] (0x0020): Invalid
data type detected. Expected [struct sss_ptr_hash_value], got [struct sbus_connection].
(Fri Oct 18 12:15:05 2019) [sssd[be[ldap.vm]]] [sss_ptr_hash_check_type] (0x0020): Invalid
data type detected. Expected [struct sss_ptr_hash_value], got [struct sbus_connection].
(Fri Oct 18 12:15:05 2019) [sssd[be[ldap.vm]]] [sss_ptr_hash_check_type] (0x0020): Invalid
data type detected. Expected [struct sss_ptr_hash_value], got [struct sbus_connection].
(Fri Oct 18 12:15:05 2019) [sssd[be[ldap.vm]]] [sss_ptr_hash_check_type] (0x0020): Invalid
data type detected. Expected [struct sss_ptr_hash_value], got [struct sbus_connection].
(Fri Oct 18 12:15:05 2019) [sssd[be[ldap.vm]]] [sss_ptr_hash_check_type] (0x0020): Invalid
data type detected. Expected [struct sss_ptr_hash_value], got [struct sbus_connection].
(Fri Oct 18 12:15:05 2019) [sssd[be[ldap.vm]]] [sss_ptr_hash_check_type] (0x0020): Invalid
data type detected. Expected [struct sss_ptr_hash_value], got [struct sbus_connection].
(Fri Oct 18 12:15:05 2019) [sssd[be[ldap.vm]]] [sss_ptr_hash_check_type] (0x0020): Invalid
data type detected. Expected [struct sss_ptr_hash_value], got [struct sbus_connection].
(Fri Oct 18 12:15:05 2019) [sssd[be[ldap.vm]]] [sss_ptr_hash_check_type] (0x0020): Invalid
data type detected. Expected [struct sss_ptr_hash_value], got [struct sbus_connection].
```
"""
See the full comment at
https://github.com/SSSD/sssd/pull/899#issuecomment-543708753