diff options
author | Steve French <sfrench@samba.org> | 2005-02-04 23:30:27 +0000 |
---|---|---|
committer | Steve French <sfrench@samba.org> | 2005-02-04 23:30:27 +0000 |
commit | f8c3cb72f2157ecc125aedc1a92fff9667fb4238 (patch) | |
tree | dc9c1a6b537018f8f82d2b3e76089c9bbfbc98a4 /source/client | |
parent | 2b5a2368f0855a79d85880d248bf72bd552118fa (diff) | |
download | samba-f8c3cb72f2157ecc125aedc1a92fff9667fb4238.tar.gz samba-f8c3cb72f2157ecc125aedc1a92fff9667fb4238.tar.xz samba-f8c3cb72f2157ecc125aedc1a92fff9667fb4238.zip |
r5236: Ignore users mount parm (since unneeded by cifs kernel code). Suggested by Dirk Jagdmann.
Diffstat (limited to 'source/client')
-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) |