The Samba-Bugzilla – Attachment 883 Details for
Bug 2234
Linux 2.6 does not like the "users" mount parameter with cifs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Will filter out the "users" option so Linux 2.6 won't complain.
mount.cifs.c.patch (text/plain), 889 bytes, created by
Dirk Jagdmann
on 2005-01-11 10:43:45 UTC
(
hide
)
Description:
Will filter out the "users" option so Linux 2.6 won't complain.
Filename:
MIME Type:
Creator:
Dirk Jagdmann
Created:
2005-01-11 10:43:45 UTC
Size:
889 bytes
patch
obsolete
>--- 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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2234
: 883