Home
last modified time | relevance | path

Searched refs:dbname (Results 1 – 25 of 48) sorted by relevance

12

/titanic_50/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkdb5_destroy.c75 char *dbname; local
102 dbname = global_params.dbname;
119 "are you sure?\n"), dbname);
129 dbname);
133 printf(gettext("OK, deleting database '%s'...\n"), dbname);
161 gettext("deleting database '%s'"), dbname);
166 if (strlcpy(ufilename, dbname, MAX_FILENAME) >= MAX_FILENAME) {
179 printf(gettext("** Database '%s' destroyed.\n"), dbname);
H A Dkdb5_stash.c101 char *dbname = (char *) NULL; local
129 dbname = global_params.dbname;
178 dbname);
218 gettext("closing database '%s'"), dbname);
H A Dkdb5_create.c239 global_params.dbname, global_params.realm, mkey_fullname);
307 global_params.dbname);
319 if ((retval = krb5_db_set_name(util_context, global_params.dbname))) {
323 global_params.dbname);
330 global_params.dbname);
/titanic_50/usr/src/lib/libnwam/common/
H A Dlibnwam_backend.c105 const char *dbname, const char *objname, uint64_t flags, in nwam_create_backend_door_arg() argument
156 if (dbname != NULL) in nwam_create_backend_door_arg()
157 (void) strlcpy(arg->nwbda_dbname, dbname, MAXPATHLEN); in nwam_create_backend_door_arg()
175 char *dbname, char *name, void *objp) in nwam_read_object_from_backend_door_arg() argument
197 if (dbname != NULL && strcmp(dbname, arg->nwbda_dbname) != 0) in nwam_read_object_from_backend_door_arg()
198 (void) strlcpy(dbname, arg->nwbda_dbname, strlen(dbname) + 1); in nwam_read_object_from_backend_door_arg()
379 nwam_backend_door_call(nwam_backend_door_cmd_t cmd, char *dbname, in nwam_backend_door_call() argument
387 if ((err = nwam_create_backend_door_arg(cmd, dbname, objname, flags, in nwam_backend_door_call()
398 err = nwam_read_object_from_backend_door_arg(req, dbname, in nwam_backend_door_call()
420 nwam_read_object_from_backend(char *dbname, char *objname, in nwam_read_object_from_backend() argument
[all …]
H A Dlibnwam_object.c72 nwam_read(nwam_object_type_t type, const char *dbname, const char *name, in nwam_read() argument
80 if (dbname != NULL) in nwam_read()
81 (void) strlcpy(dbname_copy, dbname, sizeof (dbname_copy)); in nwam_read()
89 (dbname != NULL ? dbname_copy : NULL, in nwam_read()
96 if (type == NWAM_OBJECT_TYPE_NCP && dbname != NULL) { in nwam_read()
121 nwam_create(nwam_object_type_t type, const char *dbname, const char *name, in nwam_create() argument
128 if (nwam_read(type, dbname, name, 0, &hp) == NWAM_SUCCESS) { in nwam_create()
200 nwam_walk(nwam_object_type_t type, const char *dbname, in nwam_walk() argument
223 if ((err = nwam_read_object_from_backend((char *)dbname, NULL, flags, in nwam_walk()
252 err = nwam_read(type, dbname, object_names[i], in nwam_walk()
[all …]
/titanic_50/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dclientinit.c280 buildDBName(const char *basename, const char *dbname) in buildDBName() argument
293 len = pathlen + PL_strlen(dbname) + 1; in buildDBName()
307 PL_strcpy(result+pathlen, dbname); in buildDBName()
320 char dbname[128]; in GetCertDBName() local
329 sprintf(dbname, "cert%d.db",dbVersion); in GetCertDBName()
330 return(buildDBName(source, dbname)); in GetCertDBName()
341 GetDBName(const char *dbname, const char *path) in GetDBName() argument
347 if ( dbname == NULL ) { in GetDBName()
348 dbname = ""; in GetDBName()
352 result = ldapssl_strdup(dbname); in GetDBName()
[all …]
/titanic_50/usr/src/cmd/nscd/
H A Dnscd_admin.c101 char *dbname; in _nscd_server_setadmin() local
175 dbname = cache_name[j]; in _nscd_server_setadmin()
179 dbname); in _nscd_server_setadmin()
182 rc = _nscd_cfg_get_handle(group, dbname, &h, NULL); in _nscd_server_setadmin()
186 dbname, group); in _nscd_server_setadmin()
195 dbname, group); in _nscd_server_setadmin()
224 dbname); in _nscd_server_setadmin()
261 _nscd_add_admin_mod(char *dbname, char opt, in _nscd_add_admin_mod() argument
287 (void) strlcpy(dbn, dbname, sizeof (dbn)); in _nscd_add_admin_mod()
H A Dcache.c210 get_cache_idx(char *dbname) { in get_cache_idx() argument
216 if (strcmp(nsc_name, dbname) == 0) in get_cache_idx()
227 get_cache_ctx(char *dbname, nsc_ctx_t **ctx) { in get_cache_ctx() argument
232 i = get_cache_idx(dbname); in get_cache_ctx()
960 nsc_info(nsc_ctx_t *ctx, char *dbname, nscd_cfg_cache_t cfg[], in nsc_info() argument
974 if (dbname) { in nsc_info()
975 rc = get_cache_ctx(dbname, &ctx1); in nsc_info()
978 (me, "%s: no cache context found\n", dbname); in nsc_info()
983 dbname); in nsc_info()
995 ctx2.dbname = cache_name[i]; in nsc_info()
[all …]
H A Dnscd_cfgfile.c98 char *dbname, *str; in _nscd_cfg_read_file() local
137 dbname = NULL; in _nscd_cfg_read_file()
142 dbname = fields[1]; in _nscd_cfg_read_file()
173 rc = _nscd_cfg_get_handle(fields[0], dbname, &h, errorp); in _nscd_cfg_read_file()
H A Dgetauth.c39 ctx->dbname = NSS_DBNAM_AUTHATTR; in auth_init_ctx()
H A Dgetbootp.c39 ctx->dbname = NSS_DBNAM_BOOTPARAMS; in bootp_init_ctx()
H A Dgetnetmasks.c40 ctx->dbname = NSS_DBNAM_NETMASKS; in netmask_init_ctx()
H A Dgetprinter.c40 ctx->dbname = NSS_DBNAM_PRINTERS; in printer_init_ctx()
H A Dgetprof.c39 ctx->dbname = NSS_DBNAM_PROFATTR; in prof_init_ctx()
H A Dgetuser.c39 ctx->dbname = NSS_DBNAM_USERATTR; in user_init_ctx()
H A Dgettnrhtp.c44 ctx->dbname = TNRHTP_PATH; in tnrhtp_init_ctx()
H A Dgetproto.c42 ctx->dbname = NSS_DBNAM_PROTOCOLS; in proto_init_ctx()
H A Dgetrpc.c42 ctx->dbname = NSS_DBNAM_RPC; in rpc_init_ctx()
H A Dnscd_config.c2745 char *dbname; in _nscd_srcs_in_db_nsw_policy() local
2769 dbname = _nscd_cfg_nsw_db[i].name; in _nscd_srcs_in_db_nsw_policy()
2774 dlen += strlen(dbname) + 1; in _nscd_srcs_in_db_nsw_policy()
2777 if (strcmp(dbname, "passwd") == 0) { in _nscd_srcs_in_db_nsw_policy()
2780 } else if (strcmp(dbname, "group") == 0) { in _nscd_srcs_in_db_nsw_policy()
2785 dlen += strlen(dbname) + 1; in _nscd_srcs_in_db_nsw_policy()
2802 dbname = _nscd_cfg_nsw_db[db[j]].name; in _nscd_srcs_in_db_nsw_policy()
2803 if (strstr(dbname, "group_compat") != NULL) { in _nscd_srcs_in_db_nsw_policy()
2805 dbname = "group"; in _nscd_srcs_in_db_nsw_policy()
2808 } else if (strstr(dbname, "passwd_compat") != NULL) { in _nscd_srcs_in_db_nsw_policy()
[all …]
H A Dnscd_admin.h78 int _nscd_add_admin_mod(char *dbname, char opt,
/titanic_50/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c392 const char *dbname, int dbop, size_t *rlen, const char *typestr) in nss_pack_key2str() argument
405 dbname == NULL || rlen == NULL || typestr == NULL) in nss_pack_key2str()
747 const char *dbname, int dbop, size_t *rlen) in nss_default_key2str() argument
752 dbname == NULL || rlen == NULL) in nss_default_key2str()
760 if ((index = nss_dbop_search(dbname, (uint32_t)dbop)) < 0) in nss_default_key2str()
763 return (nss_pack_key2str(buffer, length, arg, dbname, in nss_default_key2str()
871 nss_upack_key2arg(void *buffer, size_t length, char **dbname, in nss_upack_key2arg() argument
1118 nss_packed_getkey(void *buffer, size_t length, char **dbname, in nss_packed_getkey() argument
1127 arg == NULL || dbname == NULL) in nss_packed_getkey()
1137 *dbname = (char *)buffer + off + pdbd->o_name; in nss_packed_getkey()
[all …]
/titanic_50/usr/src/lib/krb5/kadm5/
H A Dalt_prof.c529 params.dbname = strdup(params_in->dbname);
530 if (params.dbname)
534 params.dbname = svalue;
537 params.dbname = strdup(DEFAULT_KDB_FILE);
538 if (params.dbname)
546 params.admin_dbname = (char *) malloc(strlen(params.dbname) + 7);
548 sprintf(params.admin_dbname, "%s.kadm5", params.dbname);
1021 if (params->dbname) {
1022 krb5_xfree(params->dbname);
1023 params->dbname = NULL;
/titanic_50/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_db2.c822 destroy_file_suffix(char *dbname, char *suffix) in destroy_file_suffix() argument
833 filename = gen_dbsuffix(dbname, suffix); in destroy_file_suffix()
912 krb5_db2_db_destroy(krb5_context context, char *dbname) in krb5_db2_db_destroy() argument
927 retval1 = destroy_file_suffix(dbname, ""); in krb5_db2_db_destroy()
928 retval2 = destroy_file_suffix(dbname, KDB2_LOCK_EXT); in krb5_db2_db_destroy()
940 assert (strlen(dbname) + strlen("%s.kadm5") < sizeof(policy_db_name)); in krb5_db2_db_destroy()
941 sprintf(policy_db_name, "%s.kadm5", dbname); in krb5_db2_db_destroy()
1456 char *dbname = NULL; in krb5_db2_open() local
1468 if (dbname) free(dbname); in krb5_db2_open()
1469 dbname = strdup(val); in krb5_db2_open()
[all …]
/titanic_50/usr/src/cmd/krb5/kproplog/
H A Dkproplog.c248 params.dbname); in main()
252 "%s.ulog\n\n"), params.dbname); in main()
261 "%s.ulog\n\n"), params.dbname); in main()
/titanic_50/usr/src/lib/libnisdb/
H A Ddb.cc63 db::db(char* dbname) in db() argument
65 int len = strlen(dbname); in db()
80 sprintf(dbfilename, "%s", dbname); in db()
81 sprintf(logfilename, "%s.log", dbname); in db()
82 sprintf(tmpfilename, "%s.tmp", dbname); in db()
90 (void) internal_db.configure(dbname); in db()

12