svn commit: samba r5236 - in branches/SAMBA_3_0/source/client: .
sfrench at samba.org
sfrench at samba.org
Fri Feb 4 23:30:27 GMT 2005
Author: sfrench
Date: 2005-02-04 23:30:27 +0000 (Fri, 04 Feb 2005)
New Revision: 5236
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5236
Log:
Ignore users mount parm (since unneeded by cifs kernel code). Suggested by Dirk Jagdmann.
Modified:
branches/SAMBA_3_0/source/client/mount.cifs.c
Changeset:
Modified: branches/SAMBA_3_0/source/client/mount.cifs.c
===================================================================
--- branches/SAMBA_3_0/source/client/mount.cifs.c 2005-02-04 23:01:52 UTC (rev 5235)
+++ branches/SAMBA_3_0/source/client/mount.cifs.c 2005-02-04 23:30:27 UTC (rev 5236)
@@ -290,7 +290,11 @@
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)
More information about the samba-cvs
mailing list