[Pkg-samba-maint] [samba] 05/07: usershare.patch: refresh

Jelmer Vernooij jelmer at moszumanska.debian.org
Sun Dec 7 16:02:32 UTC 2014


This is an automated email from the git hooks/post-receive script.

jelmer pushed a commit to branch experimental
in repository samba.

commit e59c5400ff6d975308b8a6c4dca917974afd19b7
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sun Dec 7 15:42:02 2014 +0000

    usershare.patch: refresh
    
    Change-Id: I90904ba275764a56f47654602403466d8f85f693
---
 debian/patches/usershare.patch | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/debian/patches/usershare.patch b/debian/patches/usershare.patch
index 7b32557..649f286 100644
--- a/debian/patches/usershare.patch
+++ b/debian/patches/usershare.patch
@@ -21,14 +21,16 @@ Forwarded: not-needed
  .PP
  The usershare commands are:
  .RS 4
+diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
+index 5ab0de7..6ae18d2 100644
 --- a/source3/param/loadparm.c
 +++ b/source3/param/loadparm.c
-@@ -1014,7 +1014,7 @@
- 	string_set(&Globals.szUsersharePath, s);
- 	SAFE_FREE(s);
- 	string_set(&Globals.szUsershareTemplateShare, "");
--	Globals.iUsershareMaxShares = 0;
-+	Globals.iUsershareMaxShares = 100;
+@@ -833,7 +833,7 @@ static void init_globals(struct loadparm_context *lp_ctx, bool reinit_globals)
+ 	string_set(Globals.ctx, &Globals.usershare_path, s);
+ 	TALLOC_FREE(s);
+ 	string_set(Globals.ctx, &Globals.usershare_template_share, "");
+-	Globals.usershare_max_shares = 0;
++	Globals.usershare_max_shares = 100;
  	/* By default disallow sharing of directories not owned by the sharer. */
- 	Globals.bUsershareOwnerOnly = true;
+ 	Globals.usershare_owner_only = true;
  	/* By default disallow guest access to usershares. */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git




More information about the Pkg-samba-maint mailing list