diff options
author | Günther Deschner <gd@samba.org> | 2010-07-01 01:19:39 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-07-01 21:19:52 +0200 |
commit | eb634e8c7fcce424186514a8e0a8a799d6e7fc8d (patch) | |
tree | aa20750f54e73128444db46118e4c805054b177a | |
parent | 2f9076ac29904c98e1a794d04c79db637283f888 (diff) | |
download | samba-eb634e8c7fcce424186514a8e0a8a799d6e7fc8d.tar.gz samba-eb634e8c7fcce424186514a8e0a8a799d6e7fc8d.tar.bz2 samba-eb634e8c7fcce424186514a8e0a8a799d6e7fc8d.zip |
s3-libnet_join: small IDL enhancement.
Guenther
-rw-r--r-- | source3/libads/ndr.c | 2 | ||||
-rw-r--r-- | source3/librpc/idl/libnet_join.idl | 4 |
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, |