mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
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)
This commit is contained in:
parent
1f6df6c9ce
commit
9fc99e3c55
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user