mirror of
https://github.com/samba-team/samba.git
synced 2025-02-05 21:57:51 +03:00
Fix segv in net ads join...an extra & was the culprit
(This used to be commit 9874b233d55a0b1aea7eb033848f4b63a531833b)
This commit is contained in:
parent
02cb49bffa
commit
ad03d0a4f8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user