1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-19 21:57:57 +03:00

r5236: Ignore users mount parm (since unneeded by cifs kernel code). Suggested by Dirk Jagdmann.

This commit is contained in:
Steve French 2005-02-04 23:30:27 +00:00 committed by Gerald (Jerry) Carter
parent 00b5990617
commit 076485169e

View File

@ -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)