Home
last modified time | relevance | path

Searched refs:policyname (Results 1 – 7 of 7) sorted by path

/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Ddelete.c45 char *policyname = NULL; in kc_delete() local
57 policyname = get_string(optarg_av, &rv); in kc_delete()
58 if (policyname == NULL) { in kc_delete()
96 if (policyname == NULL) { in kc_delete()
102 strcmp(policyname, KMF_DEFAULT_POLICY_NAME) == 0) { in kc_delete()
120 kmfrv = kmf_delete_policy_from_db(policyname, filename); in kc_delete()
128 if (policyname != NULL) in kc_delete()
129 free(policyname); in kc_delete()
H A Dexport.c45 char *policyname = NULL; in kc_export() local
62 policyname = get_string(optarg_av, &rv); in kc_export()
63 if (policyname == NULL) { in kc_export()
103 if (policyname == NULL) { in kc_export()
118 strcmp(policyname, KMF_DEFAULT_POLICY_NAME) == 0) { in kc_export()
132 if (strcmp(policyname, pnode->plc.name) == 0) { in kc_export()
151 policyname, filename); in kc_export()
159 if (policyname != NULL) in kc_export()
160 free(policyname); in kc_export()
H A Dimport.c46 char *policyname = NULL; in kc_import() local
63 policyname = get_string(optarg_av, &rv); in kc_import()
64 if (policyname == NULL) { in kc_import()
105 if (policyname == NULL) { in kc_import()
120 strcmp(policyname, KMF_DEFAULT_POLICY_NAME) == 0) { in kc_import()
134 if (strcmp(policyname, pnode->plc.name) == 0) { in kc_import()
153 policyname, infile); in kc_import()
161 if (policyname != NULL) in kc_import()
162 free(policyname); in kc_import()
H A Dlist.c224 char *policyname = NULL; in kc_list() local
247 policyname = get_string(optarg_av, &rv); in kc_list()
248 if (policyname == NULL) { in kc_list()
306 if (policyname == NULL || in kc_list()
307 strcmp(policyname, pnode->plc.name) == 0) { in kc_list()
327 if (policyname) in kc_list()
329 "Cannot find policy '%s'\n"), policyname); in kc_list()
343 if (policyname != NULL) in kc_list()
344 free(policyname); in kc_list()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_tkt_policy.c197 krb5_ldap_read_policy(context, policyname, policy, omask) in krb5_ldap_read_policy() argument
199 char *policyname;
215 if (policyname == NULL || policy == NULL) {
224 if ((st = krb5_ldap_name_to_policydn (context, policyname, &policy_dn)) != 0)
236 if ((lpolicy->policy = strdup (policyname)) == NULL) {
292 krb5_ldap_delete_policy(context, policyname) in krb5_ldap_delete_policy() argument
294 char *policyname;
304 if (policyname == NULL) {
314 if ((st = krb5_ldap_name_to_policydn (context, policyname, &policy_dn)) != 0)
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c434 kmf_initialize(KMF_HANDLE_T *outhandle, char *policyfile, char *policyname) in kmf_initialize() argument
493 policyname == NULL ? KMF_DEFAULT_POLICY_NAME : policyname); in kmf_initialize()
H A Dpolicy.c938 kmf_set_policy(KMF_HANDLE_T handle, char *policyfile, char *policyname) in kmf_set_policy() argument
954 policyname == NULL ? KMF_DEFAULT_POLICY_NAME : policyname, in kmf_set_policy()