Lines Matching defs:database
45 const char *database;
87 "[<database> [<key>] ...]\n\n"
94 "\t -d list attributes for the database instead of its entries\n"
96 "\t -g list the database mappings.\n"
106 "\t database.\n"
108 "\t the requested database.\n"
111 "\t<database> is the database to be searched in. Standard system\n"
119 "\t<key> is the key to search in the database. For the standard\n"
198 list(char *database, char *ldapfilter, char **ldapattribute,
208 if (database) {
209 for (i = 0; databaselist[i].database; i++) {
210 if (strcmp(databaselist[i].database, database) == 0) {
214 if (strcmp(databaselist[i].database,
216 strncmp(database, NS_LDAP_TYPE_AUTOMOUNT,
226 rc = __ns_ldap_list_sort(database, (const char *)ldapfilter,
267 char *database = NULL;
387 database = argv[optind++];
478 * If dumpping a database,
500 if (database && (strcasecmp(database, "publickey") == NULL)) {
506 ldapfilter = set_filter_publickey(key, database, 0, &udata);
510 gettext("+++ database=%s\n"),
511 (database ? database : "NULL"));
526 ldapfilter = set_filter_publickey(key, database, 1, &udata);
530 gettext("+++ database=%s\n"),
531 (database ? database : "NULL"));
565 if (((ldapfilter = set_filter(key, database, &udata)) == NULL) ||
572 (void) fprintf(stdout, gettext("+++ database=%s\n"),
573 (database ? database : "NULL"));
580 if (rc = list(database, ldapfilter, ldapattribute, &err, udata))