summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-04-06 17:13:16 +0000
committerJeremy Allison <jra@samba.org>2001-04-06 17:13:16 +0000
commitfd4c525d5832d80fc7684255f94c606bb83c0e28 (patch)
treedd6ea05350974a9dc2a86bfe393299ab4687905f
parent68c8638b36b5326a33f0c7ce09cdb8d400495de3 (diff)
downloadsamba-fd4c525d5832d80fc7684255f94c606bb83c0e28.tar.gz
samba-fd4c525d5832d80fc7684255f94c606bb83c0e28.tar.bz2
samba-fd4c525d5832d80fc7684255f94c606bb83c0e28.zip
If we can't open the username map file, at least print the strerror.
Jeremy. (This used to be commit abf436153a476b7c5a7bff31f1e657b8f53b9dee)
-rw-r--r--source3/lib/username.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/username.c b/source3/lib/username.c
index 9f9fad048d..3c99fc33d5 100644
--- a/source3/lib/username.c
+++ b/source3/lib/username.c
@@ -84,7 +84,7 @@ BOOL map_username(char *user)
f = sys_fopen(mapfile,"r");
if (!f) {
- DEBUG(0,("can't open username map %s\n",mapfile));
+ DEBUG(0,("can't open username map %s. Error %s\n",mapfile, strerror(errno) ));
return False;
}