_PUBLIC_ void ndr_print_echo_TestDoublePointer(struct ndr_print *ndr, const char *name, int flags, const struct echo_TestDoublePointer *r) { ndr_print_struct(ndr, name, "echo_TestDoublePointer"); ndr->depth++; if (flags & NDR_SET_VALUES) { ndr->flags |= LIBNDR_PRINT_SET_VALUES; } if (flags & NDR_IN) { ndr_print_struct(ndr, "in", "echo_TestDoublePointer"); ndr->depth++; ndr_print_ptr(ndr, "data", r->in.data); ndr->depth++; ndr_print_ptr(ndr, "data", *r->in.data); ndr->depth++; if (*r->in.data) { ndr_print_ptr(ndr, "data", **r->in.data); ndr->depth++; if (**r->in.data) { ndr_print_uint16(ndr, "data", ***r->in.data); } ndr->depth--; } ndr->depth--; ndr->depth--; ndr->depth--; } if (flags & NDR_OUT) { ndr_print_struct(ndr, "out", "echo_TestDoublePointer"); ndr->depth++; ndr_print_uint16(ndr, "result", r->out.result); ndr->depth--; } ndr->depth--; }
_PUBLIC_ void ndr_print_dnsp_srv(struct ndr_print *ndr, const char *name, const struct dnsp_srv *r) { ndr_print_struct(ndr, name, "dnsp_srv"); if (r == NULL) { ndr_print_null(ndr); return; } ndr->depth++; ndr_print_uint16(ndr, "wPriority", r->wPriority); ndr_print_uint16(ndr, "wWeight", r->wWeight); ndr_print_uint16(ndr, "wPort", r->wPort); ndr_print_dnsp_name(ndr, "nameTarget", r->nameTarget); ndr->depth--; }
_PUBLIC_ void ndr_print_echo_info2(struct ndr_print *ndr, const char *name, const struct echo_info2 *r) { ndr_print_struct(ndr, name, "echo_info2"); ndr->depth++; ndr_print_uint16(ndr, "v", r->v); ndr->depth--; }
_PUBLIC_ void ndr_print_echo_TestCall2(struct ndr_print *ndr, const char *name, int flags, const struct echo_TestCall2 *r) { ndr_print_struct(ndr, name, "echo_TestCall2"); ndr->depth++; if (flags & NDR_SET_VALUES) { ndr->flags |= LIBNDR_PRINT_SET_VALUES; } if (flags & NDR_IN) { ndr_print_struct(ndr, "in", "echo_TestCall2"); ndr->depth++; ndr_print_uint16(ndr, "level", r->in.level); ndr->depth--; } if (flags & NDR_OUT) { ndr_print_struct(ndr, "out", "echo_TestCall2"); ndr->depth++; ndr_print_ptr(ndr, "info", r->out.info); ndr->depth++; ndr_print_set_switch_value(ndr, r->out.info, r->in.level); ndr_print_echo_Info(ndr, "info", r->out.info); ndr->depth--; ndr_print_NTSTATUS(ndr, "result", r->out.result); ndr->depth--; } ndr->depth--; }
_PUBLIC_ void ndr_print_initshutdown_Abort(struct ndr_print *ndr, const char *name, int flags, const struct initshutdown_Abort *r) { ndr_print_struct(ndr, name, "initshutdown_Abort"); if (r == NULL) { ndr_print_null(ndr); return; } ndr->depth++; if (flags & NDR_SET_VALUES) { ndr->flags |= LIBNDR_PRINT_SET_VALUES; } if (flags & NDR_IN) { ndr_print_struct(ndr, "in", "initshutdown_Abort"); ndr->depth++; ndr_print_ptr(ndr, "server", r->in.server); ndr->depth++; if (r->in.server) { ndr_print_uint16(ndr, "server", *r->in.server); } ndr->depth--; ndr->depth--; } if (flags & NDR_OUT) { ndr_print_struct(ndr, "out", "initshutdown_Abort"); ndr->depth++; ndr_print_WERROR(ndr, "result", r->out.result); ndr->depth--; } ndr->depth--; }
_PUBLIC_ void ndr_print_PAC_LOGON_NAME(struct ndr_print *ndr, const char *name, const struct PAC_LOGON_NAME *r) { ndr_print_struct(ndr, name, "PAC_LOGON_NAME"); ndr->depth++; ndr_print_NTTIME(ndr, "logon_time", r->logon_time); ndr_print_uint16(ndr, "size", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?2 * strlen_m(r->account_name):r->size); ndr_print_string(ndr, "account_name", r->account_name); ndr->depth--; }
_PUBLIC_ void ndr_print_xattr_NTACL(struct ndr_print *ndr, const char *name, const struct xattr_NTACL *r) { ndr_print_struct(ndr, name, "xattr_NTACL"); ndr->depth++; ndr_print_uint16(ndr, "version", r->version); ndr_print_set_switch_value(ndr, &r->info, r->version); ndr_print_xattr_NTACL_Info(ndr, "info", &r->info); ndr->depth--; }
_PUBLIC_ void ndr_print_dnsp_DnssrvRpcRecord(struct ndr_print *ndr, const char *name, const struct dnsp_DnssrvRpcRecord *r) { ndr_print_struct(ndr, name, "dnsp_DnssrvRpcRecord"); if (r == NULL) { ndr_print_null(ndr); return; } ndr->depth++; ndr_print_uint16(ndr, "wDataLength", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?ndr_size_dnsRecordData(&r->data, r->wType, ndr->flags):r->wDataLength); ndr_print_dns_record_type(ndr, "wType", r->wType); ndr_print_uint8(ndr, "version", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?5:r->version); ndr_print_dns_record_rank(ndr, "rank", r->rank); ndr_print_uint16(ndr, "flags", r->flags); ndr_print_uint32(ndr, "dwSerial", r->dwSerial); ndr_print_uint32(ndr, "dwTtlSeconds", r->dwTtlSeconds); ndr_print_uint32(ndr, "dwReserved", r->dwReserved); ndr_print_uint32(ndr, "dwTimeStamp", r->dwTimeStamp); ndr_print_set_switch_value(ndr, &r->data, r->wType); ndr_print_dnsRecordData(ndr, "data", &r->data); ndr->depth--; }
_PUBLIC_ void ndr_print_security_ace(struct ndr_print *ndr, const char *name, const struct security_ace *r) { ndr_print_struct(ndr, name, "security_ace"); ndr->depth++; ndr_print_security_ace_type(ndr, "type", r->type); ndr_print_security_ace_flags(ndr, "flags", r->flags); ndr_print_uint16(ndr, "size", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?ndr_size_security_ace(r, ndr->iconv_convenience, ndr->flags):r->size); ndr_print_uint32(ndr, "access_mask", r->access_mask); ndr_print_set_switch_value(ndr, &r->object, r->type); ndr_print_security_ace_object_ctr(ndr, "object", &r->object); ndr_print_dom_sid(ndr, "trustee", &r->trustee); ndr->depth--; }
_PUBLIC_ void ndr_print_SYSTEMTIME(struct ndr_print *ndr, const char *name, const struct SYSTEMTIME *r) { ndr_print_struct(ndr, name, "SYSTEMTIME"); if (r == NULL) { ndr_print_null(ndr); return; } ndr->depth++; ndr_print_uint16(ndr, "year", r->year); ndr_print_uint16(ndr, "month", r->month); ndr_print_uint16(ndr, "dayofweek", r->dayofweek); ndr_print_uint16(ndr, "day", r->day); ndr_print_uint16(ndr, "hour", r->hour); ndr_print_uint16(ndr, "minute", r->minute); ndr_print_uint16(ndr, "second", r->second); ndr_print_uint16(ndr, "milliseconds", r->milliseconds); ndr->depth--; }
_PUBLIC_ void ndr_print_echo_Surrounding(struct ndr_print *ndr, const char *name, const struct echo_Surrounding *r) { uint32_t cntr_surrounding_0; ndr_print_struct(ndr, name, "echo_Surrounding"); ndr->depth++; ndr_print_uint32(ndr, "x", r->x); ndr->print(ndr, "%s: ARRAY(%d)", "surrounding", (int)r->x); ndr->depth++; for (cntr_surrounding_0=0;cntr_surrounding_0<r->x;cntr_surrounding_0++) { char *idx_0=NULL; if (asprintf(&idx_0, "[%d]", cntr_surrounding_0) != -1) { ndr_print_uint16(ndr, "surrounding", r->surrounding[cntr_surrounding_0]); free(idx_0); } } ndr->depth--; ndr->depth--; }
_PUBLIC_ void ndr_print_xattr_DOSATTRIB(struct ndr_print *ndr, const char *name, const struct xattr_DOSATTRIB *r) { char *attrib_hex; ndr_print_struct(ndr, name, "xattr_DOSATTRIB"); ndr->depth++; if (ndr->flags & LIBNDR_PRINT_SET_VALUES) { attrib_hex = ndr_compat_xattr_attrib_hex(ndr, r); } else { attrib_hex = talloc_strdup(ndr, r->attrib_hex); } ndr_print_string(ndr, "attrib_hex", attrib_hex); ndr_print_uint16(ndr, "version", r->version); ndr_print_set_switch_value(ndr, &r->info, r->version); ndr_print_xattr_DosInfo(ndr, "info", &r->info); ndr->depth--; }
_PUBLIC_ void ndr_print_security_acl(struct ndr_print *ndr, const char *name, const struct security_acl *r) { uint32_t cntr_aces_0; ndr_print_struct(ndr, name, "security_acl"); ndr->depth++; ndr_print_security_acl_revision(ndr, "revision", r->revision); ndr_print_uint16(ndr, "size", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?ndr_size_security_acl(r, ndr->iconv_convenience, ndr->flags):r->size); ndr_print_uint32(ndr, "num_aces", r->num_aces); ndr->print(ndr, "%s: ARRAY(%d)", "aces", (int)r->num_aces); ndr->depth++; for (cntr_aces_0=0;cntr_aces_0<r->num_aces;cntr_aces_0++) { char *idx_0=NULL; if (asprintf(&idx_0, "[%d]", cntr_aces_0) != -1) { ndr_print_security_ace(ndr, "aces", &r->aces[cntr_aces_0]); free(idx_0); } } ndr->depth--; ndr->depth--; }
_PUBLIC_ void ndr_print_PERF_DATA_BLOCK(struct ndr_print *ndr, const char *name, const struct PERF_DATA_BLOCK *r) { uint32_t cntr_Signature_0; uint32_t cntr_objects_0; ndr_print_struct(ndr, name, "PERF_DATA_BLOCK"); if (r == NULL) { ndr_print_null(ndr); return; } ndr->depth++; ndr->print(ndr, "%s: ARRAY(%d)", "Signature", (int)4); ndr->depth++; for (cntr_Signature_0=0;cntr_Signature_0<4;cntr_Signature_0++) { ndr_print_uint16(ndr, "Signature", r->Signature[cntr_Signature_0]); } ndr->depth--; ndr_print_uint32(ndr, "LittleEndian", r->LittleEndian); ndr_print_uint32(ndr, "Version", r->Version); ndr_print_uint32(ndr, "Revision", r->Revision); ndr_print_uint32(ndr, "TotalByteLength", r->TotalByteLength); ndr_print_uint32(ndr, "HeaderLength", r->HeaderLength); ndr_print_uint32(ndr, "NumObjectTypes", r->NumObjectTypes); ndr_print_uint32(ndr, "DefaultObject", r->DefaultObject); ndr_print_SYSTEMTIME(ndr, "SystemTime", &r->SystemTime); ndr_print_uint32(ndr, "Padding", r->Padding); ndr_print_hyper(ndr, "PerfTime", r->PerfTime); ndr_print_hyper(ndr, "PerfFreq", r->PerfFreq); ndr_print_hyper(ndr, "PerfTime100nSec", r->PerfTime100nSec); ndr_print_uint32(ndr, "SystemNameLength", r->SystemNameLength); ndr_print_uint32(ndr, "SystemNameOffset", r->SystemNameOffset); ndr_print_ptr(ndr, "data", r->data); ndr->depth++; if (r->data) { ndr_print_uint8(ndr, "data", *r->data); } ndr->depth--; ndr->print(ndr, "%s: ARRAY(%d)", "objects", (int)r->NumObjectTypes); ndr->depth++; for (cntr_objects_0=0;cntr_objects_0<r->NumObjectTypes;cntr_objects_0++) { ndr_print_PERF_OBJECT_TYPE(ndr, "objects", &r->objects[cntr_objects_0]); } ndr->depth--; ndr->depth--; }
_PUBLIC_ void ndr_print_security_descriptor_type(struct ndr_print *ndr, const char *name, uint16_t r) { ndr_print_uint16(ndr, name, r); ndr->depth++; ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_OWNER_DEFAULTED", SEC_DESC_OWNER_DEFAULTED, r); ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_GROUP_DEFAULTED", SEC_DESC_GROUP_DEFAULTED, r); ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_DACL_PRESENT", SEC_DESC_DACL_PRESENT, r); ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_DACL_DEFAULTED", SEC_DESC_DACL_DEFAULTED, r); ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_SACL_PRESENT", SEC_DESC_SACL_PRESENT, r); ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_SACL_DEFAULTED", SEC_DESC_SACL_DEFAULTED, r); ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_DACL_TRUSTED", SEC_DESC_DACL_TRUSTED, r); ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_SERVER_SECURITY", SEC_DESC_SERVER_SECURITY, r); ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_DACL_AUTO_INHERIT_REQ", SEC_DESC_DACL_AUTO_INHERIT_REQ, r); ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_SACL_AUTO_INHERIT_REQ", SEC_DESC_SACL_AUTO_INHERIT_REQ, r); ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_DACL_AUTO_INHERITED", SEC_DESC_DACL_AUTO_INHERITED, r); ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_SACL_AUTO_INHERITED", SEC_DESC_SACL_AUTO_INHERITED, r); ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_DACL_PROTECTED", SEC_DESC_DACL_PROTECTED, r); ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_SACL_PROTECTED", SEC_DESC_SACL_PROTECTED, r); ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_RM_CONTROL_VALID", SEC_DESC_RM_CONTROL_VALID, r); ndr_print_bitmap_flag(ndr, sizeof(uint16_t), "SEC_DESC_SELF_RELATIVE", SEC_DESC_SELF_RELATIVE, r); ndr->depth--; }
_PUBLIC_ void ndr_print_xattr_DosEAs(struct ndr_print *ndr, const char *name, const struct xattr_DosEAs *r) { uint32_t cntr_eas_1; ndr_print_struct(ndr, name, "xattr_DosEAs"); ndr->depth++; ndr_print_uint16(ndr, "num_eas", r->num_eas); ndr_print_ptr(ndr, "eas", r->eas); ndr->depth++; if (r->eas) { ndr->print(ndr, "%s: ARRAY(%d)", "eas", (int)r->num_eas); ndr->depth++; for (cntr_eas_1=0;cntr_eas_1<r->num_eas;cntr_eas_1++) { char *idx_1=NULL; if (asprintf(&idx_1, "[%d]", cntr_eas_1) != -1) { ndr_print_xattr_EA(ndr, "eas", &r->eas[cntr_eas_1]); free(idx_1); } } ndr->depth--; } ndr->depth--; ndr->depth--; }
_PUBLIC_ void ndr_print_initshutdown_InitEx(struct ndr_print *ndr, const char *name, int flags, const struct initshutdown_InitEx *r) { ndr_print_struct(ndr, name, "initshutdown_InitEx"); if (r == NULL) { ndr_print_null(ndr); return; } ndr->depth++; if (flags & NDR_SET_VALUES) { ndr->flags |= LIBNDR_PRINT_SET_VALUES; } if (flags & NDR_IN) { ndr_print_struct(ndr, "in", "initshutdown_InitEx"); ndr->depth++; ndr_print_ptr(ndr, "hostname", r->in.hostname); ndr->depth++; if (r->in.hostname) { ndr_print_uint16(ndr, "hostname", *r->in.hostname); } ndr->depth--; ndr_print_ptr(ndr, "message", r->in.message); ndr->depth++; if (r->in.message) { ndr_print_lsa_StringLarge(ndr, "message", r->in.message); } ndr->depth--; ndr_print_uint32(ndr, "timeout", r->in.timeout); ndr_print_uint8(ndr, "force_apps", r->in.force_apps); ndr_print_uint8(ndr, "do_reboot", r->in.do_reboot); ndr_print_uint32(ndr, "reason", r->in.reason); ndr->depth--; } if (flags & NDR_OUT) { ndr_print_struct(ndr, "out", "initshutdown_InitEx"); ndr->depth++; ndr_print_WERROR(ndr, "result", r->out.result); ndr->depth--; } ndr->depth--; }
_PUBLIC_ void ndr_print_RemoteActivation(struct ndr_print *ndr, const char *name, int flags, const struct RemoteActivation *r) { uint32_t cntr_pIIDs_1; uint32_t cntr_protseq_0; uint32_t cntr_ifaces_0; uint32_t cntr_results_0; ndr_print_struct(ndr, name, "RemoteActivation"); if (r == NULL) { ndr_print_null(ndr); return; } ndr->depth++; if (flags & NDR_SET_VALUES) { ndr->flags |= LIBNDR_PRINT_SET_VALUES; } if (flags & NDR_IN) { ndr_print_struct(ndr, "in", "RemoteActivation"); ndr->depth++; ndr_print_ORPCTHIS(ndr, "this_object", &r->in.this_object); ndr_print_GUID(ndr, "Clsid", &r->in.Clsid); ndr_print_ptr(ndr, "pwszObjectName", r->in.pwszObjectName); ndr->depth++; ndr_print_string(ndr, "pwszObjectName", r->in.pwszObjectName); ndr->depth--; ndr_print_ptr(ndr, "pObjectStorage", r->in.pObjectStorage); ndr->depth++; ndr_print_MInterfacePointer(ndr, "pObjectStorage", r->in.pObjectStorage); ndr->depth--; ndr_print_uint32(ndr, "ClientImpLevel", r->in.ClientImpLevel); ndr_print_uint32(ndr, "Mode", r->in.Mode); ndr_print_uint32(ndr, "Interfaces", r->in.Interfaces); ndr_print_ptr(ndr, "pIIDs", r->in.pIIDs); ndr->depth++; ndr->print(ndr, "%s: ARRAY(%d)", "pIIDs", (int)r->in.Interfaces); ndr->depth++; for (cntr_pIIDs_1=0;cntr_pIIDs_1<r->in.Interfaces;cntr_pIIDs_1++) { ndr_print_GUID(ndr, "pIIDs", &r->in.pIIDs[cntr_pIIDs_1]); } ndr->depth--; ndr->depth--; ndr_print_uint16(ndr, "num_protseqs", r->in.num_protseqs); ndr->print(ndr, "%s: ARRAY(%d)", "protseq", (int)r->in.num_protseqs); ndr->depth++; for (cntr_protseq_0=0;cntr_protseq_0<r->in.num_protseqs;cntr_protseq_0++) { ndr_print_uint16(ndr, "protseq", r->in.protseq[cntr_protseq_0]); } ndr->depth--; ndr->depth--; } if (flags & NDR_OUT) { ndr_print_struct(ndr, "out", "RemoteActivation"); ndr->depth++; ndr_print_ptr(ndr, "that", r->out.that); ndr->depth++; ndr_print_ORPCTHAT(ndr, "that", r->out.that); ndr->depth--; ndr_print_ptr(ndr, "pOxid", r->out.pOxid); ndr->depth++; ndr_print_hyper(ndr, "pOxid", *r->out.pOxid); ndr->depth--; ndr_print_ptr(ndr, "pdsaOxidBindings", r->out.pdsaOxidBindings); ndr->depth++; ndr_print_DUALSTRINGARRAY(ndr, "pdsaOxidBindings", r->out.pdsaOxidBindings); ndr->depth--; ndr_print_ptr(ndr, "ipidRemUnknown", r->out.ipidRemUnknown); ndr->depth++; ndr_print_GUID(ndr, "ipidRemUnknown", r->out.ipidRemUnknown); ndr->depth--; ndr_print_ptr(ndr, "AuthnHint", r->out.AuthnHint); ndr->depth++; ndr_print_uint32(ndr, "AuthnHint", *r->out.AuthnHint); ndr->depth--; ndr_print_ptr(ndr, "ServerVersion", r->out.ServerVersion); ndr->depth++; ndr_print_COMVERSION(ndr, "ServerVersion", r->out.ServerVersion); ndr->depth--; ndr_print_ptr(ndr, "hr", r->out.hr); ndr->depth++; ndr_print_WERROR(ndr, "hr", *r->out.hr); ndr->depth--; ndr->print(ndr, "%s: ARRAY(%d)", "ifaces", (int)r->in.Interfaces); ndr->depth++; for (cntr_ifaces_0=0;cntr_ifaces_0<r->in.Interfaces;cntr_ifaces_0++) { ndr_print_ptr(ndr, "ifaces", r->out.ifaces[cntr_ifaces_0]); ndr->depth++; ndr_print_MInterfacePointer(ndr, "ifaces", r->out.ifaces[cntr_ifaces_0]); ndr->depth--; } ndr->depth--; ndr->print(ndr, "%s: ARRAY(%d)", "results", (int)r->in.Interfaces); ndr->depth++; for (cntr_results_0=0;cntr_results_0<r->in.Interfaces;cntr_results_0++) { ndr_print_WERROR(ndr, "results", r->out.results[cntr_results_0]); } ndr->depth--; ndr_print_WERROR(ndr, "result", r->out.result); ndr->depth--; } ndr->depth--; }
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); ndr_print_struct(ndr, name, "server"); ndr->depth++; ndr_print_string(ndr, "realm", r->server.realm); ndr_print_string(ndr, "workgroup", r->server.workgroup); ndr_print_string(ndr, "ldap_server", r->server.ldap_server); ndr_print_bool(ndr, "foreign", r->server.foreign); ndr->depth--; ndr_print_struct(ndr, name, "auth"); ndr->depth++; ndr_print_string(ndr, "realm", r->auth.realm); #ifdef DEBUG_PASSWORD ndr_print_string(ndr, "password", r->auth.password); #else ndr_print_string(ndr, "password", "(PASSWORD ommited)"); #endif ndr_print_string(ndr, "user_name", r->auth.user_name); ndr_print_string(ndr, "kdc_server", r->auth.kdc_server); ndr_print_ads_auth_flags(ndr, "flags", r->auth.flags); ndr_print_uint32(ndr, "time_offset", r->auth.time_offset); ndr_print_time_t(ndr, "tgt_expire", r->auth.tgt_expire); ndr_print_time_t(ndr, "tgs_expire", r->auth.tgs_expire); ndr_print_time_t(ndr, "renewable", r->auth.renewable); ndr->depth--; ndr_print_struct(ndr, name, "config"); ndr->depth++; ndr_print_netr_DsR_DcFlags(ndr, "flags", r->config.flags); ndr_print_string(ndr, "realm", r->config.realm); ndr_print_string(ndr, "bind_path", r->config.bind_path); ndr_print_string(ndr, "ldap_server_name", r->config.ldap_server_name); ndr_print_string(ndr, "server_site_name", r->config.server_site_name); ndr_print_string(ndr, "client_site_name", r->config.client_site_name); ndr_print_time_t(ndr, "current_time", r->config.current_time); ndr_print_string(ndr, "schema_path", r->config.schema_path); ndr_print_string(ndr, "config_path", r->config.config_path); ndr->depth--; #ifdef HAVE_LDAP ndr_print_struct(ndr, name, "ldap"); ndr->depth++; ndr_print_ptr(ndr, "ld", r->ldap.ld); ndr_print_sockaddr_storage(ndr, "ss", &r->ldap.ss); ndr_print_time_t(ndr, "last_attempt", r->ldap.last_attempt); ndr_print_uint32(ndr, "port", r->ldap.port); ndr_print_uint16(ndr, "wrap_type", r->ldap.wrap_type); #ifdef HAVE_LDAP_SASL_WRAPPING ndr_print_ptr(ndr, "sbiod", r->ldap.sbiod); #endif /* HAVE_LDAP_SASL_WRAPPING */ ndr_print_ptr(ndr, "mem_ctx", r->ldap.mem_ctx); ndr_print_ptr(ndr, "wrap_ops", r->ldap.wrap_ops); ndr_print_ptr(ndr, "wrap_private_data", r->ldap.wrap_private_data); ndr_print_struct(ndr, name, "in"); ndr->depth++; ndr_print_uint32(ndr, "ofs", r->ldap.in.ofs); ndr_print_uint32(ndr, "needed", r->ldap.in.needed); ndr_print_uint32(ndr, "left", r->ldap.in.left); ndr_print_uint32(ndr, "max_wrapped", r->ldap.in.max_wrapped); ndr_print_uint32(ndr, "min_wrapped", r->ldap.in.min_wrapped); ndr_print_uint32(ndr, "size", r->ldap.in.size); ndr_print_array_uint8(ndr, "buf", r->ldap.in.buf, r->ldap.in.size); ndr->depth--; ndr_print_struct(ndr, name, "out"); ndr->depth++; ndr_print_uint32(ndr, "ofs", r->ldap.out.ofs); ndr_print_uint32(ndr, "left", r->ldap.out.left); ndr_print_uint32(ndr, "max_unwrapped", r->ldap.out.max_unwrapped); ndr_print_uint32(ndr, "sig_size", r->ldap.out.sig_size); ndr_print_uint32(ndr, "size", r->ldap.out.size); ndr_print_array_uint8(ndr, "buf", r->ldap.out.buf, r->ldap.out.size); ndr->depth--; ndr->depth--; #endif /* HAVE_LDAP */ ndr->depth--; }