This is meant to be accessed via the helper fn, not directly.
authorAndrew Bartlett <abartlet@samba.org>
Fri, 17 May 2002 14:35:54 +0000 (14:35 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 17 May 2002 14:35:54 +0000 (14:35 +0000)
(This used to be commit b84882a628b3f2f0890322f25694c1932aa3e5ec)

source3/libads/ldap.c

index 543e53bcf8ee7f2d7490773842594034dc663889..ab2828c23de629070a1b76443cce9b1c824fb64a 100644 (file)
@@ -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);