summaryrefslogtreecommitdiffstats
path: root/source/client
diff options
context:
space:
mode:
authorSteve French <sfrench@samba.org>2005-02-04 23:30:27 +0000
committerSteve French <sfrench@samba.org>2005-02-04 23:30:27 +0000
commitf8c3cb72f2157ecc125aedc1a92fff9667fb4238 (patch)
treedc9c1a6b537018f8f82d2b3e76089c9bbfbc98a4 /source/client
parent2b5a2368f0855a79d85880d248bf72bd552118fa (diff)
downloadsamba-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-xsource/client/mount.cifs.c6
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)