svn commit: samba r22781 - in
branches/SAMBA_3_0_RELEASE/source/client: .
jerry at samba.org
jerry at samba.org
Thu May 10 21:16:37 GMT 2007
Author: jerry
Date: 2007-05-10 21:16:36 +0000 (Thu, 10 May 2007)
New Revision: 22781
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22781
Log:
grab Steve's patch for mount.cifs and sec=none
Modified:
branches/SAMBA_3_0_RELEASE/source/client/mount.cifs.c
Changeset:
Modified: branches/SAMBA_3_0_RELEASE/source/client/mount.cifs.c
===================================================================
--- branches/SAMBA_3_0_RELEASE/source/client/mount.cifs.c 2007-05-10 21:12:53 UTC (rev 22780)
+++ branches/SAMBA_3_0_RELEASE/source/client/mount.cifs.c 2007-05-10 21:16:36 UTC (rev 22781)
@@ -419,6 +419,11 @@
printf("password too long\n");
return 1;
}
+ } else if (strncmp(data, "sec", 3) == 0) {
+ if (value) {
+ if (!strcmp(value, "none"))
+ got_password = 1;
+ }
} else if (strncmp(data, "ip", 2) == 0) {
if (!value || !*value) {
printf("target ip address argument missing");
@@ -567,8 +572,6 @@
*filesys_flags &= ~MS_NOEXEC;
} else if (strncmp(data, "guest", 5) == 0) {
got_password=1;
- /* remove the parm since it would otherwise be logged by kern */
- goto nocopy;
} else if (strncmp(data, "ro", 2) == 0) {
*filesys_flags |= MS_RDONLY;
} else if (strncmp(data, "rw", 2) == 0) {
More information about the samba-cvs
mailing list