[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha6-1180-gd75df71
sfrench at samba.org
sfrench at samba.org
Wed Feb 25 02:55:08 GMT 2009
The branch, master has been updated
via d75df717336e063f52af1415f99b6e16ccbf918c (commit)
from d8b70278e20b276566a3893d288101ff4826df61 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit d75df717336e063f52af1415f99b6e16ccbf918c
Author: Steve French <smfrench at gmail.com>
Date: Tue Feb 24 20:53:46 2009 -0600
Fix guest mounts
guest session setup, login (user id) as anonymous.
This patch is for samba bugzilla bug 4640.
Signed-off-by: Shirish Pargaonkar <shirishp at us.ibm.com>
Acked-by: Jeff Layton <jlayton at redhat.com>
Signed-off-by: Steve French <sfrench at samba.org>
-----------------------------------------------------------------------
Summary of changes:
source3/client/mount.cifs.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/client/mount.cifs.c b/source3/client/mount.cifs.c
index ae8a7fd..8623d3c 100644
--- a/source3/client/mount.cifs.c
+++ b/source3/client/mount.cifs.c
@@ -649,7 +649,9 @@ static int parse_options(char ** optionsp, int * filesys_flags)
} else if (strncmp(data, "exec", 4) == 0) {
*filesys_flags &= ~MS_NOEXEC;
} else if (strncmp(data, "guest", 5) == 0) {
- got_password=1;
+ user_name = (char *)calloc(1, 1);
+ got_user = 1;
+ got_password = 1;
} else if (strncmp(data, "ro", 2) == 0) {
*filesys_flags |= MS_RDONLY;
} else if (strncmp(data, "rw", 2) == 0) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list