summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client')
-rwxr-xr-xsource3/client/mount.cifs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/client/mount.cifs.c b/source3/client/mount.cifs.c
index 1793a9ed7f..d648629f9c 100755
--- a/source3/client/mount.cifs.c
+++ b/source3/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)