diff options
author | Günther Deschner <gd@samba.org> | 2008-05-16 12:16:04 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-05-16 12:16:04 +0200 |
commit | 452a9ea4af19d3aebc35929edaf4e5adf8c1fd11 (patch) | |
tree | 15d282dbd5bf3310d959592ce0a902e7ab63bb3c /source/librpc/gen_ndr | |
parent | ae60695a349bccd1128e6c439664b0607627ef23 (diff) | |
download | samba-452a9ea4af19d3aebc35929edaf4e5adf8c1fd11.tar.gz samba-452a9ea4af19d3aebc35929edaf4e5adf8c1fd11.tar.xz samba-452a9ea4af19d3aebc35929edaf4e5adf8c1fd11.zip |
libnetjoin: for informational reasons, report forest_name.
Guenther
Diffstat (limited to 'source/librpc/gen_ndr')
-rw-r--r-- | source/librpc/gen_ndr/libnet_join.h | 2 | ||||
-rw-r--r-- | source/librpc/gen_ndr/ndr_libnet_join.c | 2 |
2 files changed, 4 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); |