Home
last modified time | relevance | path

Searched refs:db_args (Results 1 – 21 of 21) sorted by relevance

/titanic_41/usr/src/lib/krb5/kadm5/srv/
H A Dserver_init.c63 static int dup_db_args(kadm5_server_handle_t handle, char **db_args) in dup_db_args() argument
68 for (count=0; db_args && db_args[count]; count++); in dup_db_args()
70 handle->db_args = NULL; in dup_db_args()
74 handle->db_args = calloc(sizeof(char*), count+1); in dup_db_args()
75 if (handle->db_args == NULL) { in dup_db_args()
80 for (count=0; db_args[count]; count++) { in dup_db_args()
81 handle->db_args[count] = strdup(db_args[count]); in dup_db_args()
82 if (handle->db_args[count] == NULL) { in dup_db_args()
89 if (ret && handle->db_args) { in dup_db_args()
90 for (count=0; handle->db_args[count]; count++) in dup_db_args()
[all …]
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/
H A Ddb2_exp.c103 char **db_args,
105 (kcontext, conf_section, db_args, mode));
108 ( krb5_context kcontext, char *conf_section, char **db_args ),
109 (kcontext, conf_section, db_args));
111 ( krb5_context kcontext, char *conf_section, char **db_args ),
112 (kcontext, conf_section, db_args));
146 char **db_args),
147 (ctx, d, i, db_args));
160 char **db_args),
161 (ctx, s, f, p, db_args));
[all …]
H A Dkdb_db2.h89 char **db_args
102 char **db_args );
132 char **db_args);
149 char **db_args);
164 char **db_args,
169 char **db_args );
173 char **db_args );
H A Dkdb_db2.c1053 char **db_args) in krb5_db2_db_put_principal() argument
1067 if (db_args) { in krb5_db2_db_put_principal()
1071 db_args[0]); in krb5_db2_db_put_principal()
1384 krb5_pointer func_arg, char **db_args) in krb5_db2_db_iterate() argument
1386 char **t_ptr = db_args; in krb5_db2_db_iterate()
1451 char *conf_section, char **db_args, int mode) in krb5_db2_open() argument
1454 char **t_ptr = db_args; in krb5_db2_open()
1548 krb5_db2_create(krb5_context kcontext, char *conf_section, char **db_args) in krb5_db2_create() argument
1551 char **t_ptr = db_args; in krb5_db2_create()
1641 status = krb5_db2_open(kcontext, conf_section, db_args, KRB5_KDB_OPEN_RW); in krb5_db2_create()
[all …]
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dmain.c163 char *def_tcp_ports, krb5_boolean def_manual, char **db_args) argument
260 if ((kret = krb5_db_open(rdp->realm_context, db_args,
263 if ((kret = krb5_db_open(rdp->realm_context, db_args,
464 char **db_args = NULL; local
510 char **temp = realloc( db_args, sizeof(char*) * (db_args_size+1)); /* one for NULL */
518 db_args = temp;
520 db_args[db_args_size-1] = optarg;
521 db_args[db_args_size] = NULL;
530 default_tcp_ports, manual, db_args))) {
537 free(db_args), db_args=NULL, db_args_size = 0;
[all …]
/titanic_41/usr/src/lib/krb5/kdb/
H A Dkdb5.h38 char ** db_args,
45 char ** db_args);
49 char ** db_args);
83 char **db_args);
94 char **db_args);
160 char *db_args);
188 char **db_args);
H A Dkdb_default.c212 char *db_args) in krb5_db_def_fetch_mkey() argument
230 if (!(kf = fopen((db_args) ? db_args : defkeyfile, "rbF"))) in krb5_db_def_fetch_mkey()
232 if (!(kf = fopen((db_args) ? db_args : defkeyfile, "rF"))) in krb5_db_def_fetch_mkey()
H A Dkdb5.c609 krb5_db_open(krb5_context kcontext, char **db_args, int mode) in krb5_db_open() argument
640 dal_handle->lib_handle->vftabl.init_module(kcontext, section, db_args, in krb5_db_open()
664 krb5_db_create(krb5_context kcontext, char **db_args) in krb5_db_create() argument
693 dal_handle->lib_handle->vftabl.db_create(kcontext, section, db_args); in krb5_db_create()
737 krb5_db_destroy(krb5_context kcontext, char **db_args) in krb5_db_destroy() argument
766 dal_handle->lib_handle->vftabl.db_destroy(kcontext, section, db_args); in krb5_db_destroy()
992 char **db_args = NULL; in krb5_db_put_principal() local
1023 t = realloc(db_args, sizeof(char *) * (db_args_size + 1)); /* 1 for NULL */ in krb5_db_put_principal()
1029 db_args = t; in krb5_db_put_principal()
1030 db_args[db_args_size - 1] = (char *) curr->tl_data_contents; in krb5_db_put_principal()
[all …]
/titanic_41/usr/src/cmd/krb5/kadmin/cli/
H A Dkadmin.c210 char **db_args = NULL; local
231 char **temp = realloc(db_args, sizeof(char*) * (db_args_size+1));
238 db_args = temp;
240 db_args[db_args_size-1] = optarg;
241 db_args[db_args_size] = NULL;
278 char **temp = realloc(db_args, sizeof(char*) * (db_args_size+1)); /* one for NULL */
286 db_args = temp;
288 db_args[db_args_size-1] = db_name;
289 db_args[db_args_size] = NULL;
510 db_args,
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/include/krb5/
H A Dkdb.h246 krb5_error_code krb5_db_open( krb5_context kcontext, char **db_args, int mode );
248 krb5_error_code krb5_db_create ( krb5_context kcontext, char **db_args );
250 krb5_error_code kdb5_db_create ( krb5_context kcontext, char **db_args );
253 krb5_error_code krb5_db_destroy ( krb5_context kcontext, char **db_args );
254 krb5_error_code krb5_db_promote ( krb5_context kcontext, char **db_args );
283 char **db_args );
307 char *db_args,
464 char *db_args);
/titanic_41/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_init.c87 char **db_args,
96 char **db_args, in kadm5_init_with_creds() argument
101 struct_version, api_version, db_args, in kadm5_init_with_creds()
111 char **db_args, in kadm5_init_with_password() argument
116 api_version, db_args, server_handle); in kadm5_init_with_password()
124 char **db_args, in kadm5_init() argument
129 api_version, db_args, server_handle); in kadm5_init()
137 char **db_args, in kadm5_init_with_skey() argument
142 api_version, db_args, server_handle); in kadm5_init_with_skey()
584 char **db_args, in _kadm5_init_any() argument
/titanic_41/usr/src/lib/krb5/kadm5/
H A Dadmin.h395 char **db_args,
407 char **db_args,
419 char **db_args,
428 char **db_args,
705 char **db_args,
713 char ** db_args,
721 char **db_args,
H A Dserver_internal.h58 char **db_args; member
/titanic_41/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c442 char **db_args = NULL; in main() local
518 char **temp = realloc( db_args, in main()
526 db_args = temp; in main()
528 db_args[db_args_size-1] = optarg; in main()
529 db_args[db_args_size] = NULL; in main()
558 db_args, in main()
573 if( db_args ) in main()
575 free(db_args), db_args=NULL; in main()
/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_principal.c141 krb5_ldap_iterate(context, match_expr, func, func_arg, db_args) in krb5_ldap_iterate() argument
147 char **db_args;
165 if (db_args) {
169 db_args[0]);
H A Dldap_principal2.c230 process_db_args(context, db_args, xargs, optype) in process_db_args() argument
232 char **db_args;
243 if (db_args) {
244 for (i=0; db_args[i]; ++i) {
245 arg = strtok_r(db_args[i], "=", &arg_val);
452 krb5_ldap_put_principal(context, entries, nentries, db_args) in krb5_ldap_put_principal() argument
456 char **db_args;
518 if ((st=process_db_args(context, db_args, &xargs, optype)) != 0)
H A Dldap_create.c56 krb5_ldap_create (krb5_context context, char *conf_section, char **db_args) in krb5_ldap_create() argument
59 char **t_ptr = db_args; in krb5_ldap_create()
H A Dkdb_ldap.c281 char **db_args, in krb5_ldap_open() argument
285 char **t_ptr = db_args; in krb5_ldap_open()
H A Dkdb_ldap.h289 char **db_args,
H A Dldap_realm.c1495 krb5_ldap_delete_realm_1(krb5_context kcontext, char *conf_section, char **db_args) in krb5_ldap_delete_realm_1() argument
/titanic_41/usr/src/cmd/krb5/kadmin/dbutil/
H A Ddump.c1361 char *db_args[3] = {NULL, NULL, NULL}; local
1419 db_args[db_arg_index++] = "rev";
1422 db_args[db_arg_index++] = "recurse";
1574 db_arg_index > 0 ? (char **)&db_args : NULL))) {