diff options
Diffstat (limited to 'source/client/mount.cifs.c')
-rwxr-xr-x | source/client/mount.cifs.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/client/mount.cifs.c b/source/client/mount.cifs.c index 1793a9ed7fe..d648629f9c3 100755 --- a/source/client/mount.cifs.c +++ b/source/client/mount.cifs.c @@ -290,7 +290,11 @@ static int parse_options(char * options, int * filesys_flags) value++; } - if (strncmp(data, "user", 4) == 0) { + if (strncmp(data, "users",5) == 0) { + if(!value || !*value) { + strncpy(data,",,,,,",5); + } + } else if (strncmp(data, "user", 4) == 0) { if (!value || !*value) { if(data[4] == '\0') { if(verboseflag) |