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 | 9fc99e3c552a6747a83877bda0410c951d272b81 (patch) | |
| tree | 5d349f24fa0fb8896760c832396a6289db569151 | |
| parent | 1f6df6c9ce93cca5ee0d0ad13fb8f2ee4b782c63 (diff) | |
| download | samba-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)
| -rw-r--r-- | source3/libads/ldap.c | 2 | 
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);  	}  }  | 
