summaryrefslogtreecommitdiffstats
path: root/source/libads
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-05-17 14:35:54 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-05-17 14:35:54 +0000
commitb84882a628b3f2f0890322f25694c1932aa3e5ec (patch)
tree25f47c321df26e63a7d15969306b904108a2796b /source/libads
parente5b4331ffa99d769b062053d6afc4772355fa5b2 (diff)
downloadsamba-b84882a628b3f2f0890322f25694c1932aa3e5ec.tar.gz
samba-b84882a628b3f2f0890322f25694c1932aa3e5ec.tar.xz
samba-b84882a628b3f2f0890322f25694c1932aa3e5ec.zip
This is meant to be accessed via the helper fn, not directly.
Diffstat (limited to 'source/libads')
-rw-r--r--source/libads/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libads/ldap.c b/source/libads/ldap.c
index 543e53bcf8e..ab2828c23de 100644
--- a/source/libads/ldap.c
+++ b/source/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);