diff options
author | Jim McDonough <jmcd@samba.org> | 2002-02-13 15:00:39 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-02-13 15:00:39 +0000 |
commit | be48a05ed95f0f4ed02ffb996cb1ecc10811d9a0 (patch) | |
tree | 2fd4359e84bbe5898aac6c235ab9dbf7e1ffbad0 /source | |
parent | e18a7c26476e05f95850ac2bbeb42c2588115741 (diff) | |
download | samba-be48a05ed95f0f4ed02ffb996cb1ecc10811d9a0.tar.gz samba-be48a05ed95f0f4ed02ffb996cb1ecc10811d9a0.tar.xz samba-be48a05ed95f0f4ed02ffb996cb1ecc10811d9a0.zip |
Fix LDAP modification operation. Cut and paste error: was LDAP_MOD_ADD, should be LDAP_MOD_REPLACE. Caught by Alexey Kotovich.
Diffstat (limited to 'source')
-rw-r--r-- | source/libads/ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libads/ldap.c b/source/libads/ldap.c index 682524eb4f9..763f1bc354e 100644 --- a/source/libads/ldap.c +++ b/source/libads/ldap.c @@ -343,7 +343,7 @@ ADS_STATUS ads_mod_repl_len(TALLOC_CTX *ctx, ADS_MODLIST *mods, return ADS_ERROR(LDAP_NO_MEMORY); bval->bv_val = val; bval->bv_len = size; - return ads_mod_add_ber(ctx, mods, LDAP_MOD_ADD, name, + return ads_mod_add_ber(ctx, mods, LDAP_MOD_REPLACE, name, bval, NULL); } } |