[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-5016-gdca993d

simo idra at samba.org
Tue Feb 24 16:12:55 MST 2009


Don't forget to commit to master as well.

On Tue, 2009-02-24 at 17:09 -0600, sfrench at samba.org wrote:
> The branch, v3-3-test has been updated
>        via  dca993dbd100c8119dc6facda86dbe48b7d34a94 (commit)
>        via  dc2f9854c400a9bde604a8c3ababb29fb3e9747f (commit)
>       from  a70bb435d339df52eef56fb0c5788534252d7ab7 (commit)
> 
> http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
> 
> 
> - Log -----------------------------------------------------------------
> commit dca993dbd100c8119dc6facda86dbe48b7d34a94
> Merge: dc2f9854c400a9bde604a8c3ababb29fb3e9747f a70bb435d339df52eef56fb0c5788534252d7ab7
> Author: Steve French <smfrench at gmail.com>
> Date:   Tue Feb 24 17:09:22 2009 -0600
> 
>     Merge branch 'v3-3-test' of git://git.samba.org/samba into 3-3
> 
> commit dc2f9854c400a9bde604a8c3ababb29fb3e9747f
> Author: Steve French <smfrench at gmail.com>
> Date:   Tue Feb 24 17:07:12 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:
>  source/client/mount.cifs.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> 
> Changeset truncated at 500 lines:
> 
> diff --git a/source/client/mount.cifs.c b/source/client/mount.cifs.c
> index 67e964d..d05115b 100644
> --- a/source/client/mount.cifs.c
> +++ b/source/client/mount.cifs.c
> @@ -650,7 +650,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) {
> 
> 
-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the samba-technical mailing list