diff options
author | Jim McDonough <jmcd@samba.org> | 2003-02-19 15:03:04 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2003-02-19 15:03:04 +0000 |
commit | ad03d0a4f885a87b5dbe7c88e507b302cf06ece2 (patch) | |
tree | c590e303a4efe5b678c15330db979d3eaacb2def /source3/libads/ldap.c | |
parent | 02cb49bffae34d0f373f5d400077a7a8b7e809b2 (diff) | |
download | samba-ad03d0a4f885a87b5dbe7c88e507b302cf06ece2.tar.gz samba-ad03d0a4f885a87b5dbe7c88e507b302cf06ece2.tar.bz2 samba-ad03d0a4f885a87b5dbe7c88e507b302cf06ece2.zip |
Fix segv in net ads join...an extra & was the culprit
(This used to be commit 9874b233d55a0b1aea7eb033848f4b63a531833b)
Diffstat (limited to 'source3/libads/ldap.c')
-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 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); |