#.INCLUDE ../x509if/x509if-exp.cnf #.INCLUDE ../x509af/x509af-exp.cnf #.INCLUDE ../x509sat/x509sat-exp.cnf #.INCLUDE ../pkixcrmf/crmf-exp.cnf #.INCLUDE ../dsp/dsp-exp.cnf #.INCLUDE ../disp/disp-exp.cnf #.INCLUDE ../ros/ros-exp.cnf #.INCLUDE ../acse/acse-exp.cnf #.MODULE_IMPORT ServiceAdministration x509if AttributeCertificateDefinitions x509af BasicAccessControl crmf Remote-Operations-Information-Objects ros #.EXPORTS Filter CommonResults Referral SecurityParameters EntryModification ContextSelection DirectoryBindArgument DirectoryBindError ReadArgument ReadResult ListArgument ListResult SearchArgument SearchResult AddEntryArgument AddEntryResult CompareArgument CompareResult RemoveEntryArgument RemoveEntryResult ModifyEntryArgument ModifyEntryResult ModifyDNArgument ModifyDNResult AbandonArgument AbandonResult AttributeError NameError ServiceError Abandoned SecurityError AbandonFailedError UpdateError #.TYPE_RENAME FamilyEntry/information FamilyInformation AbandonResult/information AbandonInformation AddEntryResult/information AddEntryInformation RemoveEntryResult/information RemoveEntryInformation ModifyEntryResult/information ModifyEntryInformation ModifyDNResult/information ModifyDNInformation EntryInformation/information/_item EntryInformationItem #.FIELD_RENAME ModifyRights/_item/item/attribute attribute-type ModifyRights/_item/item/entry item-entry AddEntryArgumentData/entry add-entry EntryInformation/information entry-information FamilyEntry/information family-information AbandonResult/information abandon-information AddEntryResult/information add-entry-information RemoveEntryResult/information remove-entry-information ModifyEntryResult/information modify-entry-information ModifyDNResult/information modify-dn-information EntryInformation/information/_item entry-information-item Filter/item filter-item NameErrorData/matched matched-name SecurityParameters/name distinguished-name SimpleCredentials/name distinguished-name StrongCredentials/name distinguished-name ModifyDNArgument/object distinguished-name AbandonFailedErrorData/problem abandon-failed-problem ServiceErrorData/problem service-error-problem AttributeErrorData/problems/_item/problem attribute-error-problem NameErrorData/problem name-error-problem SecurityErrorData/problem security-error-problem UpdateErrorData/problem update-error-problem DirectoryBindErrorData/error/securityError securityProblem SecurityError/signedSecurityError/securityError securityErrorData DirectoryBindErrorData/error/serviceError serviceProblem FilterItem/substrings/type sunstringType ModifyRights/_item/item/value value-assertion TokenData/name distinguished-name TokenData/time utctime #.FN_BODY FilterItem/substrings/strings/_item/initial proto_item *it; it = proto_tree_add_item(tree, hf_index, tvb, offset, -1, FALSE); proto_item_append_text(it," XXX: Not yet implemented!"); #.FN_BODY FilterItem/substrings/strings/_item/any /* XXX: not yet implemented */ #.FN_BODY FilterItem/substrings/strings/_item/final /* XXX: not yet implemented */ #.FN_BODY MatchingRuleAssertion/matchValue /* XXX: not yet implemented */ #.FN_BODY SpkmCredentials/req /* XXX: not yet implemented */ #.FN_BODY SpkmCredentials/rep /* XXX: not yet implemented */ #.FN_BODY SecurityErrorData/spkmInfo /* XXX: not yet implemented */ #.FN_BODY DirectoryBindArgument guint32 len; /* check and see if this is an empty set */ dissect_ber_length(actx->pinfo, tree, tvb, offset+1, &len, NULL); if(len == 0) { /* its an empty set - i.e anonymous (assuming version is DEFAULTed) */ proto_tree_add_text(tree, tvb, offset, -1,"Anonymous"); if(check_col(actx->pinfo->cinfo, COL_INFO)) col_append_fstr(actx->pinfo->cinfo, COL_INFO, " anonymous"); } /* do the default thing */ %(DEFAULT_BODY)s #.FN_BODY SimpleCredentials %(DEFAULT_BODY)s if(check_col(actx->pinfo->cinfo, COL_INFO)) col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %%s", x509if_get_last_dn()); #.FN_BODY PagedResultsRequest/queryReference VAL_PTR=&out_tvb tvbuff_t *out_tvb; int i; int len; proto_item *oct_item; %(DEFAULT_BODY)s if(out_tvb) { len = tvb_length(out_tvb); /* now see if we can add a string representation */ for(i=0; ipinfo->cinfo, COL_INFO)) { col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %%s", val_to_str(problem, dap_SecurityProblem_vals, "SecurityProblem(%%d)")); } #.FN_PARS ServiceProblem VAL_PTR = &problem #.FN_BODY ServiceProblem guint32 problem; %(DEFAULT_BODY)s if (check_col(actx->pinfo->cinfo, COL_INFO)) { col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %%s", val_to_str(problem, dap_ServiceProblem_vals, "ServiceProblem(%%d)")); } #.FN_PARS UpdateProblem VAL_PTR = &problem #.FN_BODY UpdateProblem guint32 problem; %(DEFAULT_BODY)s if (check_col(actx->pinfo->cinfo, COL_INFO)) { col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %%s", val_to_str(problem, dap_UpdateProblem_vals, "UpdateProblem(%%d)")); } #.FN_PARS LimitProblem VAL_PTR = &problem #.FN_BODY LimitProblem guint32 problem; %(DEFAULT_BODY)s if (check_col(actx->pinfo->cinfo, COL_INFO)) { col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %%s", val_to_str(problem, dap_LimitProblem_vals, "LimitProblem(%%d)")); } #.END #.FN_BODY SearchArgumentData/subset VAL_PTR=&subset guint32 subset; %(DEFAULT_BODY)s if (check_col(actx->pinfo->cinfo, COL_INFO)) { col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %%s", val_to_str(subset, dap_T_subset_vals, "Subset(%%d)")); } #.FN_BODY Name const char *dn; %(DEFAULT_BODY)s if(check_col(actx->pinfo->cinfo, COL_INFO)) { dn = x509if_get_last_dn(); col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %%s", (dn && *dn) ? dn : "(root)"); } #.FN_BODY ListResultData/listInfo/subordinates/_item proto_item *sub_item; %(DEFAULT_BODY)s if((sub_item = get_ber_last_created_item())) { proto_item_append_text(sub_item," (%%s)", x509if_get_last_dn()); }