git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00b5990
)
r5236: Ignore users mount parm (since unneeded by cifs kernel code). Suggested by...
author
Steve French
<sfrench@samba.org>
Fri, 4 Feb 2005 23:30:27 +0000
(23:30 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:55:34 +0000
(10:55 -0500)
source/client/mount.cifs.c
patch
|
blob
|
history
diff --git
a/source/client/mount.cifs.c
b/source/client/mount.cifs.c
index 1793a9ed7fe1bfa32b7034a07b49d384d3d43830..d648629f9c31fd59b0f117db3a0d33f8954f8c12 100755
(executable)
--- 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)