Lines Matching refs:auth_type
117 const char *auth_type; member
562 char *auth_type, *username, *password; in ndmp_enable_auth() local
574 auth_type = strdup(optarg); in ndmp_enable_auth()
591 if ((auth_type) && (username)) { in ndmp_enable_auth()
595 free(auth_type); in ndmp_enable_auth()
602 free(auth_type); in ndmp_enable_auth()
611 free(auth_type); in ndmp_enable_auth()
617 if (strncmp(auth_type, ndmp_auth_table[i].auth_type, in ndmp_enable_auth()
618 strlen(ndmp_auth_table[i].auth_type)) == 0) { in ndmp_enable_auth()
642 free(auth_type); in ndmp_enable_auth()
655 char *auth_type; in ndmp_disable_auth() local
666 auth_type = strdup(optarg); in ndmp_disable_auth()
678 if (strncmp(auth_type, ndmp_auth_table[i].auth_type, in ndmp_disable_auth()
679 strlen(ndmp_auth_table[i].auth_type)) == 0) { in ndmp_disable_auth()
702 free(auth_type); in ndmp_disable_auth()