diff options
author | Sean Bright <sean.bright@gmail.com> | 2017-02-20 06:53:47 -0500 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-02-20 07:06:00 -0500 |
commit | e84353b8a8107b370d5e7ec9c9536642d877c8e8 (patch) | |
tree | cab04701fb285a854b19c52e26a10f5bfe698345 /res/res_ari_device_states.c | |
parent | 9f392574f933e4c2d4e5e6b11c6baf02e227630d (diff) |
res_config_ldap: Don't try to delete non-existent attributes
OpenLDAP will raise an error when we try to delete an LDAP attribute
that doesn't exist. We need to filter out LDAP_MOD_DELETE requests
based on which attributes the current LDAP entry actually has. There
is of course a small window of opportunity for this to still fail,
but it is much less likely now.
Change-Id: I3fe1b04472733e43151563aaf9f8b49980273e6b
Diffstat (limited to 'res/res_ari_device_states.c')
0 files changed, 0 insertions, 0 deletions