Index: nfs-utils-1.3.4/utils/nfsidmap/nfsidmap.c =================================================================== --- nfs-utils-1.3.4.orig/utils/nfsidmap/nfsidmap.c +++ nfs-utils-1.3.4/utils/nfsidmap/nfsidmap.c @@ -418,13 +418,15 @@ int main(int argc, char **argv) return EXIT_FAILURE; } + if (!verbose) + verbose = conf_get_num("General", "Verbosity", 0); + if (verbose) + nfs4_set_debug(verbose, NULL); + if ((rc = nfs4_init_name_mapping(PATH_IDMAPDCONF))) { xlog_errno(rc, "Unable to create name to user id mappings."); return EXIT_FAILURE; } - if (!verbose) - verbose = conf_get_num("General", "Verbosity", 0); - if (display) return display_default_domain(); if (list) @@ -444,9 +446,6 @@ int main(int argc, char **argv) return EXIT_FAILURE; } - if (verbose) - nfs4_set_debug(verbose, NULL); - key = strtol(argv[optind++], NULL, 10); arg = strdup(argv[optind]);