--- mount.cifs.c Mon Oct 25 23:05:11 2004 +++ mount.cifs.c.doj Tue Dec 21 15:19:59 2004 @@ -276,21 +276,29 @@ /* value = next value ie stuff after equal sign */ next_keyword = strchr(data,','); - + /* temporarily null terminate end of keyword=value pair */ if(next_keyword) + { *next_keyword = 0; + if(verboseflag) + printf("\nparsing: %s\n", data); + } /* if (!*data) continue; */ - + /* temporarily null terminate keyword to make keyword and value distinct */ if ((value = strchr(data, '=')) != NULL) { *value = '\0'; value++; } - if (strncmp(data, "user", 4) == 0) { + if (strncmp(data, "users", 5) == 0) { + /* Linux does not like this option */ + strncpy(data, ",,,,,", 5); + + } else if (strncmp(data, "user", 4) == 0) { if (!value || !*value) { if(data[4] == '\0') { if(verboseflag)