search for: lp_username_map

Displaying 1 result from an estimated 1 matches for "lp_username_map".

1998 Jun 15
0
Username map issue with 1.9.18p8
...15 14:51:32 1998 @@ -46,7 +46,6 @@ ********************************************************************/ BOOL map_username(char *user) { - static int depth=0; static BOOL initialised=False; static fstring last_from,last_to; FILE *f; @@ -54,7 +53,7 @@ pstring buf; char *mapfile = lp_username_map(); - if (!*mapfile || depth) + if (!*mapfile) return False; if (!*user) @@ -82,8 +81,6 @@ DEBUG(4,("Scanning username map %s\n",mapfile)); - depth++; - while((s=fgets_slash(buf,sizeof(buf),f))!=NULL) { char *unixname = s; char *dosname = strchr(unixname,...