diff options
author | Jim McDonough <jmcd@samba.org> | 2003-02-19 15:04:04 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2003-02-19 15:04:04 +0000 |
commit | 4560329abbdbdc9dea75f32422ba9b08bcfee726 (patch) | |
tree | e6f9ea2d9d524b14b09e20bcca3635513f0dfff0 | |
parent | 26488953e72c33f95419585e400312b2ae2e99db (diff) | |
download | samba-4560329abbdbdc9dea75f32422ba9b08bcfee726.tar.gz samba-4560329abbdbdc9dea75f32422ba9b08bcfee726.tar.xz samba-4560329abbdbdc9dea75f32422ba9b08bcfee726.zip |
Fix segv in net ads join...an extra & was the culprit
(This used to be commit 1a9050a6fe419e14fc82674d34cc4685a7532059)
-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 b7cfc8d84c5..67669fc0783 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -1506,7 +1506,7 @@ ADS_STATUS ads_set_machine_sd(ADS_STRUCT *ads, const char *hostname, char *dn) ret = ADS_ERROR(LDAP_NO_MEMORY); goto ads_set_sd_error; } - prs_copy_all_data_out((char *)&bval.bv_val, &ps_wire); + prs_copy_all_data_out(bval.bv_val, &ps_wire); ads_mod_ber(ctx, &mods, attrs[0], &bval); ret = ads_gen_mod(ads, dn, mods); |