summaryrefslogtreecommitdiffstats
path: root/source/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-16 12:16:04 +0200
committerGünther Deschner <gd@samba.org>2008-05-16 12:16:04 +0200
commit452a9ea4af19d3aebc35929edaf4e5adf8c1fd11 (patch)
tree15d282dbd5bf3310d959592ce0a902e7ab63bb3c /source/librpc
parentae60695a349bccd1128e6c439664b0607627ef23 (diff)
downloadsamba-452a9ea4af19d3aebc35929edaf4e5adf8c1fd11.tar.gz
samba-452a9ea4af19d3aebc35929edaf4e5adf8c1fd11.tar.xz
samba-452a9ea4af19d3aebc35929edaf4e5adf8c1fd11.zip
libnetjoin: for informational reasons, report forest_name.
Guenther
Diffstat (limited to 'source/librpc')
-rw-r--r--source/librpc/gen_ndr/libnet_join.h2
-rw-r--r--source/librpc/gen_ndr/ndr_libnet_join.c2
-rw-r--r--source/librpc/idl/libnet_join.idl2
3 files changed, 6 insertions, 0 deletions
diff --git a/source/librpc/gen_ndr/libnet_join.h b/source/librpc/gen_ndr/libnet_join.h
index e5ec438bb58..f4c44e4e2ea 100644
--- a/source/librpc/gen_ndr/libnet_join.h
+++ b/source/librpc/gen_ndr/libnet_join.h
@@ -35,6 +35,7 @@ struct libnet_JoinCtx {
const char * account_name;
const char * netbios_domain_name;
const char * dns_domain_name;
+ const char * forest_name;
const char * dn;
struct dom_sid *domain_sid;/* [ref] */
uint8_t modified_config;
@@ -66,6 +67,7 @@ struct libnet_UnjoinCtx {
struct {
const char * netbios_domain_name;
const char * dns_domain_name;
+ const char * forest_name;
uint8_t modified_config;
const char * error_string;
uint8_t disabled_machine_account;
diff --git a/source/librpc/gen_ndr/ndr_libnet_join.c b/source/librpc/gen_ndr/ndr_libnet_join.c
index 753859f0ed7..a9241f61e16 100644
--- a/source/librpc/gen_ndr/ndr_libnet_join.c
+++ b/source/librpc/gen_ndr/ndr_libnet_join.c
@@ -50,6 +50,7 @@ _PUBLIC_ void ndr_print_libnet_JoinCtx(struct ndr_print *ndr, const char *name,
ndr_print_string(ndr, "account_name", r->out.account_name);
ndr_print_string(ndr, "netbios_domain_name", r->out.netbios_domain_name);
ndr_print_string(ndr, "dns_domain_name", r->out.dns_domain_name);
+ ndr_print_string(ndr, "forest_name", r->out.forest_name);
ndr_print_string(ndr, "dn", r->out.dn);
ndr_print_ptr(ndr, "domain_sid", r->out.domain_sid);
ndr->depth++;
@@ -104,6 +105,7 @@ _PUBLIC_ void ndr_print_libnet_UnjoinCtx(struct ndr_print *ndr, const char *name
ndr->depth++;
ndr_print_string(ndr, "netbios_domain_name", r->out.netbios_domain_name);
ndr_print_string(ndr, "dns_domain_name", r->out.dns_domain_name);
+ ndr_print_string(ndr, "forest_name", r->out.forest_name);
ndr_print_uint8(ndr, "modified_config", r->out.modified_config);
ndr_print_string(ndr, "error_string", r->out.error_string);
ndr_print_uint8(ndr, "disabled_machine_account", r->out.disabled_machine_account);
diff --git a/source/librpc/idl/libnet_join.idl b/source/librpc/idl/libnet_join.idl
index 7f6e3464556..5af6b05433f 100644
--- a/source/librpc/idl/libnet_join.idl
+++ b/source/librpc/idl/libnet_join.idl
@@ -35,6 +35,7 @@ interface libnetjoin
[out] string account_name,
[out] string netbios_domain_name,
[out] string dns_domain_name,
+ [out] string forest_name,
[out] string dn,
[out] dom_sid *domain_sid,
[out] boolean8 modified_config,
@@ -58,6 +59,7 @@ interface libnetjoin
[in,noprint] messaging_context *msg_ctx,
[out] string netbios_domain_name,
[out] string dns_domain_name,
+ [out] string forest_name,
[out] boolean8 modified_config,
[out] string error_string,
[out] boolean8 disabled_machine_account,