]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_config_ldap: Fix erroneous LDAP_MOD_REPLACE in LDAP modify 09/5009/2
authorSean Bright <sean.bright@gmail.com>
Mon, 20 Feb 2017 11:27:38 +0000 (06:27 -0500)
committerSean Bright <sean.bright@gmail.com>
Mon, 20 Feb 2017 12:01:30 +0000 (07:01 -0500)
commit91d209e59032cf34e2954676ba95b676fe9af9d9
tree7173675e76cbc6360c34f25fdd1704b9285cb1ae
parentf341917ed7e602977bff18c341f8efec93cbaf8e
res_config_ldap: Fix erroneous LDAP_MOD_REPLACE in LDAP modify

We always treat the first change of our modification batch as a
replacement when it sometimes is actually a delete. So we have to pass
the correct arguments to the OpenLDAP library.

ASTERISK-26580 #close
Reported by: Nicholas John Koch
Patches:
res_config_ldap.c-11.24.1.patch (license #6833) patch uploaded
by Nicholas John Koch

Change-Id: I0741d25de07c9539f1edc6eff3696165dfb64fbe
res/res_config_ldap.c