summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-02-13 15:00:39 +0000
committerJim McDonough <jmcd@samba.org>2002-02-13 15:00:39 +0000
commit9fc99e3c552a6747a83877bda0410c951d272b81 (patch)
tree5d349f24fa0fb8896760c832396a6289db569151 /source3
parent1f6df6c9ce93cca5ee0d0ad13fb8f2ee4b782c63 (diff)
downloadsamba-9fc99e3c552a6747a83877bda0410c951d272b81.tar.gz
samba-9fc99e3c552a6747a83877bda0410c951d272b81.tar.bz2
samba-9fc99e3c552a6747a83877bda0410c951d272b81.zip
Fix LDAP modification operation. Cut and paste error: was LDAP_MOD_ADD, should be LDAP_MOD_REPLACE. Caught by Alexey Kotovich.
(This used to be commit be48a05ed95f0f4ed02ffb996cb1ecc10811d9a0)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 682524eb4f..763f1bc354 100644
--- a/source3/libads/ldap.c
+++ b/source3/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);
}
}