/titanic_50/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | kdb5_destroy.c | 75 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 D | kdb5_stash.c | 101 char *dbname = (char *) NULL; local 129 dbname = global_params.dbname; 178 dbname); 218 gettext("closing database '%s'"), dbname);
|
H A D | kdb5_create.c | 239 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 D | libnwam_backend.c | 105 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 D | libnwam_object.c | 72 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 D | clientinit.c | 280 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 D | nscd_admin.c | 101 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 D | cache.c | 210 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 D | nscd_cfgfile.c | 98 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 D | getauth.c | 39 ctx->dbname = NSS_DBNAM_AUTHATTR; in auth_init_ctx()
|
H A D | getbootp.c | 39 ctx->dbname = NSS_DBNAM_BOOTPARAMS; in bootp_init_ctx()
|
H A D | getnetmasks.c | 40 ctx->dbname = NSS_DBNAM_NETMASKS; in netmask_init_ctx()
|
H A D | getprinter.c | 40 ctx->dbname = NSS_DBNAM_PRINTERS; in printer_init_ctx()
|
H A D | getprof.c | 39 ctx->dbname = NSS_DBNAM_PROFATTR; in prof_init_ctx()
|
H A D | getuser.c | 39 ctx->dbname = NSS_DBNAM_USERATTR; in user_init_ctx()
|
H A D | gettnrhtp.c | 44 ctx->dbname = TNRHTP_PATH; in tnrhtp_init_ctx()
|
H A D | getproto.c | 42 ctx->dbname = NSS_DBNAM_PROTOCOLS; in proto_init_ctx()
|
H A D | getrpc.c | 42 ctx->dbname = NSS_DBNAM_RPC; in rpc_init_ctx()
|
H A D | nscd_config.c | 2745 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 D | nscd_admin.h | 78 int _nscd_add_admin_mod(char *dbname, char opt,
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | nss_dbdefs.c | 392 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 D | alt_prof.c | 529 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 D | kdb_db2.c | 822 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 D | kproplog.c | 248 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 D | db.cc | 63 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()
|