summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libads/ndr.c2
-rw-r--r--source3/librpc/idl/libnet_join.idl4
2 files changed, 2 insertions, 4 deletions
diff --git a/source3/libads/ndr.c b/source3/libads/ndr.c
index 9ee249fc8e..397aa2ca60 100644
--- a/source3/libads/ndr.c
+++ b/source3/libads/ndr.c
@@ -39,8 +39,6 @@ void ndr_print_ads_auth_flags(struct ndr_print *ndr, const char *name, uint32_t
void ndr_print_ads_struct(struct ndr_print *ndr, const char *name, const struct ads_struct *r)
{
- if (!r) { return; }
-
ndr_print_struct(ndr, name, "ads_struct");
ndr->depth++;
ndr_print_bool(ndr, "is_mine", r->is_mine);
diff --git a/source3/librpc/idl/libnet_join.idl b/source3/librpc/idl/libnet_join.idl
index 9984e9eee6..b67400c7c1 100644
--- a/source3/librpc/idl/libnet_join.idl
+++ b/source3/librpc/idl/libnet_join.idl
@@ -28,7 +28,7 @@ interface libnetjoin
[in] boolean8 create_upn,
[in] string upn,
[in] boolean8 modify_config,
- [in] ads_struct *ads,
+ [in,unique] ads_struct *ads,
[in] boolean8 debug,
[in] boolean8 use_kerberos,
[in] netr_SchannelType secure_channel_type,
@@ -56,7 +56,7 @@ interface libnetjoin
[in] boolean8 delete_machine_account,
[in] boolean8 modify_config,
[in] dom_sid *domain_sid,
- [in] ads_struct *ads,
+ [in,unique] ads_struct *ads,
[in] boolean8 debug,
[in] boolean8 use_kerberos,
[in,noprint] messaging_context *msg_ctx,