Searched refs:policyname (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Ddelete.c45 char *policyname = NULL; local
57 policyname = get_string(optarg_av, &rv);
58 if (policyname == NULL) {
96 if (policyname == NULL) {
102 strcmp(policyname, KMF_DEFAULT_POLICY_NAME) == 0) {
120 kmfrv = kmf_delete_policy_from_db(policyname, filename);
128 if (policyname != NULL)
129 free(policyname);
H A Dexport.c45 char *policyname = NULL; local
62 policyname = get_string(optarg_av, &rv);
63 if (policyname == NULL) {
103 if (policyname == NULL) {
118 strcmp(policyname, KMF_DEFAULT_POLICY_NAME) == 0) {
132 if (strcmp(policyname, pnode->plc.name) == 0) {
151 policyname, filename);
159 if (policyname != NULL)
160 free(policyname);
H A Dimport.c46 char *policyname = NULL; local
63 policyname = get_string(optarg_av, &rv);
64 if (policyname == NULL) {
105 if (policyname == NULL) {
120 strcmp(policyname, KMF_DEFAULT_POLICY_NAME) == 0) {
134 if (strcmp(policyname, pnode->plc.name) == 0) {
153 policyname, infile);
161 if (policyname != NULL)
162 free(policyname);
H A Dlist.c224 char *policyname = NULL; local
247 policyname = get_string(optarg_av, &rv);
248 if (policyname == NULL) {
306 if (policyname == NULL ||
307 strcmp(policyname, pnode->plc.name) == 0) {
327 if (policyname)
329 "Cannot find policy '%s'\n"), policyname);
343 if (policyname != NULL)
344 free(policyname);
/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)
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)
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 Dpolicy.c938 kmf_set_policy(KMF_HANDLE_T handle, char *policyfile, char *policyname) argument
954 policyname == NULL ? KMF_DEFAULT_POLICY_NAME : policyname,
H A Dgeneralop.c434 kmf_initialize(KMF_HANDLE_T *outhandle, char *policyfile, char *policyname) argument
493 policyname == NULL ? KMF_DEFAULT_POLICY_NAME : policyname);

Completed in 151 milliseconds