mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
If we can't open the username map file, at least print the strerror.
Jeremy. (This used to be commit abf436153a476b7c5a7bff31f1e657b8f53b9dee)
This commit is contained in:
parent
68c8638b36
commit
fd4c525d58
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user