--- a/mnss.c +++ b/mnss.c @@ -126,7 +126,7 @@ goto out; } } while(!feof(file)); - + IDMAP_LOG(1, ("Name for uid %d not found in " MNSS_FILE_UID "\n", uid)); out: fclose(file); free(buff); @@ -163,7 +163,7 @@ goto out; } } while(!feof(file)); - + IDMAP_LOG(1, ("Name for gid %d not found in " MNSS_FILE_GID "\n", gid)); out: fclose(file); free(buff); @@ -211,10 +211,11 @@ if(strcmp(name, buff) == 0) { *uid = u; err = 0; + IDMAP_LOG(3, ("Match %s vs %s in " MNSS_FILE_UID "\n", name, buff)); goto out; } } while(!feof(file)); - + IDMAP_LOG(1, ("Uid for name %s not found in " MNSS_FILE_UID "\n", name)); out: fclose(file); free(buff);