diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-05-17 14:35:54 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-05-17 14:35:54 +0000 |
commit | 31cda568c05624ef5e7fd2970c5f2733e67eedc3 (patch) | |
tree | 68c7864159db099c0f169e946ad61be3a41a8e5a | |
parent | caf62523675fd4cc692f66bb9ba9d63a271ba970 (diff) | |
download | samba-31cda568c05624ef5e7fd2970c5f2733e67eedc3.tar.gz samba-31cda568c05624ef5e7fd2970c5f2733e67eedc3.tar.bz2 samba-31cda568c05624ef5e7fd2970c5f2733e67eedc3.zip |
This is meant to be accessed via the helper fn, not directly.
(This used to be commit b84882a628b3f2f0890322f25694c1932aa3e5ec)
-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 543e53bcf8..ab2828c23d 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -1192,7 +1192,7 @@ ADS_STATUS ads_set_machine_sd(ADS_STRUCT *ads, const char *hostname, char *dn) #endif if (!(mods = ads_init_mods(ctx))) return ADS_ERROR(LDAP_NO_MEMORY); - ads_mod_repl_len(ctx, &mods, attrs[0], sd_size, ps_wire.data_p); + ads_mod_repl_len(ctx, &mods, attrs[0], sd_size, prs_data_p(&ps_wire)); ret = ads_gen_mod(ads, dn, mods); prs_mem_free(&ps); |