Lines Matching defs:selected
685 static NTSTATUS make_pdb_methods_name(struct pdb_methods **methods, struct pdb_context *context, const char *selected)
687 char *module_name = smb_xstrdup(selected);
705 DEBUG(5,("Attempting to find an passdb backend to match %s (%s)\n", selected, module_name));
729 DEBUG(5,("pdb backend %s has a valid init\n", selected));
731 DEBUG(0,("pdb backend %s did not correctly init (error was %s)\n", selected, nt_errstr(nt_status)));
802 NTSTATUS make_pdb_context_list(struct pdb_context **context, const char **selected)
813 if (!selected) {
818 while (selected[i]){
819 if (strcmp(selected[i], "guest") == 0) {
823 DEBUG(5,("Trying to load: %s\n", selected[i]));
824 if (!NT_STATUS_IS_OK(nt_status = make_pdb_methods_name(&curmethods, *context, selected[i]))) {
825 DEBUG(1, ("Loading %s failed!\n", selected[i]));
862 NTSTATUS make_pdb_context_string(struct pdb_context **context, const char *selected)
865 char **newsel = str_list_make(selected, NULL);