diff options
author | Martin Nagy <mnagy@redhat.com> | 2009-07-16 13:40:15 +0200 |
---|---|---|
committer | Martin Nagy <mnagy@redhat.com> | 2009-08-04 16:50:53 +0200 |
commit | 9adee8bd82ac73a497439a756d07d67e7c556768 (patch) | |
tree | eb72003a8a645d0cd80f04e5b05ba1a0a60f0476 /src/Makefile.am | |
parent | 7eff993a45adcd9bed2b9710465ea600adee443a (diff) | |
download | ldap_driver-9adee8bd82ac73a497439a756d07d67e7c556768.tar.gz ldap_driver-9adee8bd82ac73a497439a756d07d67e7c556768.tar.xz ldap_driver-9adee8bd82ac73a497439a756d07d67e7c556768.zip |
Improve addition operation by using ldap_add_ext_s()
Until now, we only used ldap_modify_ext_s() when adding a new record.
This is not right, because the label might have not existed before. We
solve this now by checking for LDAP_NO_SUCH_OBJECT error and using
ldap_add_ext_s() if needed.
Partially resolves ticket #1
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions