summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-02-19 15:04:04 +0000
committerJim McDonough <jmcd@samba.org>2003-02-19 15:04:04 +0000
commit4560329abbdbdc9dea75f32422ba9b08bcfee726 (patch)
treee6f9ea2d9d524b14b09e20bcca3635513f0dfff0 /source3
parent26488953e72c33f95419585e400312b2ae2e99db (diff)
downloadsamba-4560329abbdbdc9dea75f32422ba9b08bcfee726.tar.gz
samba-4560329abbdbdc9dea75f32422ba9b08bcfee726.tar.bz2
samba-4560329abbdbdc9dea75f32422ba9b08bcfee726.zip
Fix segv in net ads join...an extra & was the culprit
(This used to be commit 1a9050a6fe419e14fc82674d34cc4685a7532059)
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 b7cfc8d84c..67669fc078 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);