[SCM] Samba Shared Repository - branch v3-6-test updated

2012-10-12 Thread Karolin Seeger
The branch, v3-6-test has been updated
   via  3c71fa3 packaging: Add support for reloading systemd services.
  from  a1db9aa autoconf: fix --with(out)-sendfile-support option handling

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -
commit 3c71fa399705f91baae764a43b436e83f14c4024
Author: Andreas Schneider a...@samba.org
Date:   Wed Oct 10 11:30:15 2012 +0200

packaging: Add support for reloading systemd services.

Signed-off-by: Andreas Schneider a...@samba.org

Fix bug #9280 - Add support for reloading the daemons using systemctl 
reload.

---

Summary of changes:
 packaging/systemd/nmb.service |1 +
 packaging/systemd/smb.service |1 +
 packaging/systemd/winbind.service |1 +
 3 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/packaging/systemd/nmb.service b/packaging/systemd/nmb.service
index a2ecd22..e5e81a1 100644
--- a/packaging/systemd/nmb.service
+++ b/packaging/systemd/nmb.service
@@ -7,6 +7,7 @@ Type=forking
 PIDFile=/run/nmbd.pid
 EnvironmentFile=-/etc/sysconfig/samba
 ExecStart=/usr/sbin/nmbd $NMBDOPTIONS
+ExecReload=/usr/bin/kill -HUP $MAINPID
 
 [Install]
 WantedBy=multi-user.target
diff --git a/packaging/systemd/smb.service b/packaging/systemd/smb.service
index 70d9842..d0d945a 100644
--- a/packaging/systemd/smb.service
+++ b/packaging/systemd/smb.service
@@ -8,6 +8,7 @@ PIDFile=/run/smbd.pid
 LimitNOFILE=16384
 EnvironmentFile=-/etc/sysconfig/samba
 ExecStart=/usr/sbin/smbd $SMBDOPTIONS
+ExecReload=/usr/bin/kill -HUP $MAINPID
 
 [Install]
 WantedBy=multi-user.target
diff --git a/packaging/systemd/winbind.service 
b/packaging/systemd/winbind.service
index 9ce1b52..eff266f 100644
--- a/packaging/systemd/winbind.service
+++ b/packaging/systemd/winbind.service
@@ -7,6 +7,7 @@ Type=forking
 PIDFile=/run/winbindd.pid
 EnvironmentFile=-/etc/sysconfig/samba
 ExecStart=/usr/sbin/winbindd $WINBINDOPTIONS
+ExecReload=/usr/bin/kill -HUP $MAINPID
 
 [Install]
 WantedBy=multi-user.target


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-6-test updated

2012-10-12 Thread Karolin Seeger
The branch, v3-6-test has been updated
   via  5166e0b s3-printing: Increase debug level for info that the db is 
empty.
  from  3c71fa3 packaging: Add support for reloading systemd services.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -
commit 5166e0bde86619f477645cca9642be85d567ffe8
Author: Andreas Schneider a...@samba.org
Date:   Thu Sep 20 10:20:31 2012 +0200

s3-printing: Increase debug level for info that the db is empty.

(cherry picked from commit c80d70da1364349a5329d17a68033163c5025264)

Signed-off-by: Andreas Schneider a...@samba.org

See bug #9112 - smbd.log is flooded by 'printer_list_get_printer: Failed to
fetch record!' for details.

---

Summary of changes:
 source3/printing/printer_list.c |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/printing/printer_list.c b/source3/printing/printer_list.c
index 6ddd774..8f196a5 100644
--- a/source3/printing/printer_list.c
+++ b/source3/printing/printer_list.c
@@ -91,7 +91,8 @@ NTSTATUS printer_list_get_printer(TALLOC_CTX *mem_ctx,
 
data = dbwrap_fetch_bystring_upper(db, key, key);
if (data.dptr == NULL) {
-   DEBUG(1, (Failed to fetch record!\n));
+   DEBUG(6, (Failed to fetch record! 
+ The printer database is empty?\n));
status = NT_STATUS_NOT_FOUND;
goto done;
}


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v4-0-test updated

2012-10-12 Thread Karolin Seeger
The branch, v4-0-test has been updated
   via  1f1bc49 docs: Add very basic samba manpage.
   via  e2d1cb7 s3-printing: Increase debug level for info that the db is 
empty.
   via  8bd3ada packaging: Add support for reloading systemd services.
   via  5881b1e s4:torture/smb2: improve the smb2.create.blob test
  from  ba24443 autoconf: fix --with(out)-sendfile-support option handling

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -
commit 1f1bc49feb87a05e4c3d7b8fe8c5f92be0fbb5b9
Author: Karolin Seeger ksee...@samba.org
Date:   Wed Oct 10 10:43:02 2012 +0200

docs: Add very basic samba manpage.

Please feel free to extend.

Karolin

Autobuild-User(master): Karolin Seeger ksee...@samba.org
Autobuild-Date(master): Thu Oct 11 11:40:37 CEST 2012 on sn-devel-104
(cherry picked from commit a11595bd2e6895f734e621c69c1ad0ee3e1a685a)

Addresses bug #8802 - Create missing manpages for new binaries.

Autobuild-User(v4-0-test): Karolin Seeger ksee...@samba.org
Autobuild-Date(v4-0-test): Fri Oct 12 11:12:32 CEST 2012 on sn-devel-104

commit e2d1cb7e081fafff92fb8219d9600d39ed598d6c
Author: Andreas Schneider a...@samba.org
Date:   Thu Sep 20 10:20:31 2012 +0200

s3-printing: Increase debug level for info that the db is empty.

Autobuild-User(master): Andreas Schneider a...@cryptomilk.org
Autobuild-Date(master): Thu Sep 20 12:01:48 CEST 2012 on sn-devel-104
(cherry picked from commit d52d7efba31e3f1e63ed365900aba0a8cb960930)

See bug #9112 - smbd.log is flooded by 'printer_list_get_printer: Failed to
fetch record!' for details.

commit 8bd3ada2bb3d67f3fa8499e1b2f8450b12aba45e
Author: Andreas Schneider a...@samba.org
Date:   Wed Oct 10 11:30:15 2012 +0200

packaging: Add support for reloading systemd services.

Signed-off-by: Andreas Schneider a...@samba.org

Fix bug #9280 - Add support for reloading the daemons using systemctl 
reload.

commit 5881b1ed197a15c235405df19b31afe69c8e0e78
Author: Stefan Metzmacher me...@samba.org
Date:   Wed Sep 19 21:18:46 2012 +0200

s4:torture/smb2: improve the smb2.create.blob test

metze
(cherry picked from commit e6c600aa2c751e694917322378417816c3e58eb6)

(See bug #9209 - Parse of invalid SMB2 create blob can cause smbd crash for
details.)

---

Summary of changes:
 docs-xml/manpages/samba.8.xml |  181 +
 packaging/systemd/nmb.service |1 +
 packaging/systemd/samba.service   |1 +
 packaging/systemd/smb.service |1 +
 packaging/systemd/winbind.service |1 +
 source3/printing/printer_list.c   |3 +-
 source4/torture/smb2/create.c |   93 +++-
 7 files changed, 278 insertions(+), 3 deletions(-)
 create mode 100644 docs-xml/manpages/samba.8.xml


Changeset truncated at 500 lines:

diff --git a/docs-xml/manpages/samba.8.xml b/docs-xml/manpages/samba.8.xml
new file mode 100644
index 000..229e941
--- /dev/null
+++ b/docs-xml/manpages/samba.8.xml
@@ -0,0 +1,181 @@
+?xml version=1.0 encoding=iso-8859-1?
+!DOCTYPE refentry PUBLIC -//Samba-Team//DTD DocBook V4.2-Based Variant 
V1.0//EN http://www.samba.org/samba/DTD/samba-doc;
+refentry id=samba.8
+
+refmeta
+   refentrytitlesamba/refentrytitle
+   manvolnum8/manvolnum
+   refmiscinfo class=sourceSamba/refmiscinfo
+   refmiscinfo class=manualSystem Administration tools/refmiscinfo
+   refmiscinfo class=version4.0/refmiscinfo
+/refmeta
+
+
+refnamediv
+   refnamesamba/refname
+   refpurposeServer to provide AD and SMB/CIFS services to 
clients/refpurpose
+/refnamediv
+
+refsynopsisdiv
+   cmdsynopsis
+   commandsamba/command
+   arg choice=opt-D/arg
+   arg choice=opt-i/arg
+   arg choice=opt-M lt;modelgt;/arg
+   arg choice=opt--maximum-runtime=lt;secondsgt;/arg
+   arg choice=opt-b/arg
+   arg choice=opt--help/arg
+   arg choice=opt--usage/arg
+   arg choice=opt-d lt;debug levelgt;/arg
+   arg choice=opt--debug-stderr/arg
+   arg choice=opt-s lt;configuration filegt;/arg
+   arg 
choice=opt--option=lt;smb_conf_paramgt;=lt;valuegt;/arg
+   arg choice=opt-l lt;log directorygt;/arg
+   arg choice=opt--leak-report/arg
+   arg choice=opt--leak-report-full/arg
+   arg choice=opt-V/arg
+   /cmdsynopsis
+/refsynopsisdiv
+
+refsect1
+   titleDESCRIPTION/title
+   paraThis program is part of the 
citerefentryrefentrytitlesamba/refentrytitle
+   manvolnum7/manvolnum/citerefentry suite./para
+
+   paracommandsamba/command is the server daemon that
+   provides Active Directory, filesharing and printing services to clients.
+

[SCM] Samba Shared Repository - branch master updated

2012-10-12 Thread Christian Ambach
The branch, master has been updated
   via  bddd118 s3:smb2_getinfo ensure proper error for not yet present 
quota support
   via  6d1be1c s3:vfs_gpfs re-indent run-away lines
   via  fa728d1 s3:vfs_gpfs fix the build
   via  e4946cf s3:vfs_gpfs remove a trailing space
   via  12ae181 s3:vfs_gpfs skip local flock when gpfs sharemodes are 
disabled
  from  ff82afb selftest: Move more tests to common list script.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit bddd1182ea44875f28e12cf15fd07a86f43d8716
Author: Christian Ambach a...@samba.org
Date:   Thu Sep 27 22:09:23 2012 -0700

s3:smb2_getinfo ensure proper error for not yet present quota support

non-existing quota support needs to be signaled by NT_STATUS_NOT_SUPPORTED,
not NT_STATUS_INVALID_PARAMETER

Autobuild-User(master): Christian Ambach a...@samba.org
Autobuild-Date(master): Fri Oct 12 13:37:37 CEST 2012 on sn-devel-104

commit 6d1be1caf925f80badabcbca3a2676398647f4a3
Author: Christian Ambach a...@samba.org
Date:   Fri Oct 12 11:47:04 2012 +0200

s3:vfs_gpfs re-indent run-away lines

some lines added by the acl_blob additions were longer than 80 chars

commit fa728d1c0b6583c7d11b5540a8d13942a14701f4
Author: Christian Ambach a...@samba.org
Date:   Fri Oct 12 11:45:59 2012 +0200

s3:vfs_gpfs fix the build

make it compile again after the recent (untested) additions of the acl_blob 
functions

commit e4946cf10cdc112aaa61291442ce29690fe1c105
Author: Christian Ambach a...@samba.org
Date:   Fri Oct 12 10:32:20 2012 +0200

s3:vfs_gpfs remove a trailing space

commit 12ae1812d0f123b6b988f597efaabf610f352d30
Author: Christian Ambach a...@samba.org
Date:   Fri Oct 12 10:31:10 2012 +0200

s3:vfs_gpfs skip local flock when gpfs sharemodes are disabled

no sense in calling local flock when clustered sharemodes should be disabled

---

Summary of changes:
 source3/modules/vfs_gpfs.c  |   39 +++
 source3/smbd/smb2_getinfo.c |4 
 2 files changed, 31 insertions(+), 12 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index b3cdca5..8e8c694 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -50,7 +50,7 @@ struct gpfs_config_data {
 };
 
 
-static int vfs_gpfs_kernel_flock(vfs_handle_struct *handle, files_struct *fsp, 
+static int vfs_gpfs_kernel_flock(vfs_handle_struct *handle, files_struct *fsp,
 uint32 share_mode, uint32 access_mask)
 {
 
@@ -61,12 +61,15 @@ static int vfs_gpfs_kernel_flock(vfs_handle_struct *handle, 
files_struct *fsp,
struct gpfs_config_data,
return -1);
 
+   if(!config-sharemodes) {
+   return 0;
+   }
+
START_PROFILE(syscall_kernel_flock);
 
kernel_flock(fsp-fh-fd, share_mode, access_mask);
 
-   if (config-sharemodes
-!set_gpfs_sharemode(fsp, access_mask, fsp-share_access)) {
+   if (!set_gpfs_sharemode(fsp, access_mask, fsp-share_access)) {
ret = -1;
}
 
@@ -362,7 +365,8 @@ static NTSTATUS gpfsacl_fget_nt_acl(vfs_handle_struct 
*handle,
return NT_STATUS_INTERNAL_ERROR);
 
if (!config-acl) {
-   return SMB_VFS_NEXT_FGET_NT_ACL(handle, fsp, security_info, 
ppdesc);
+   return SMB_VFS_NEXT_FGET_NT_ACL(handle, fsp, security_info,
+   mem_ctx, ppdesc);
}
 
result = gpfs_get_nfs4_acl(fsp-fsp_name-base_name, pacl);
@@ -395,7 +399,8 @@ static NTSTATUS gpfsacl_get_nt_acl(vfs_handle_struct 
*handle,
return NT_STATUS_INTERNAL_ERROR);
 
if (!config-acl) {
-   return SMB_VFS_NEXT_GET_NT_ACL(handle, name, security_info, 
ppdesc);
+   return SMB_VFS_NEXT_GET_NT_ACL(handle, name, security_info,
+  mem_ctx, ppdesc);
}
 
result = gpfs_get_nfs4_acl(name, pacl);
@@ -709,22 +714,28 @@ static SMB_ACL_T gpfsacl_sys_acl_get_fd(vfs_handle_struct 
*handle,
 GPFS_ACL_TYPE_ACCESS, mem_ctx);
 }
 
-static int gpfsacl_sys_acl_blob_get_file(vfs_handle_struct *handle, const char 
*path_p,
+static int gpfsacl_sys_acl_blob_get_file(vfs_handle_struct *handle,
+ const char *path_p,
  TALLOC_CTX *mem_ctx,
  char **blob_description,
  DATA_BLOB *blob)
 {
struct gpfs_config_data *config;
+   SMB4ACL_T *pacl = NULL;
+   int result;
 
SMB_VFS_HANDLE_GET_DATA(handle, config,
   

[SCM] Samba Shared Repository - branch v4-0-test updated

2012-10-12 Thread Karolin Seeger
The branch, v4-0-test has been updated
   via  d5c51e9 WHATSNEW: Start release notes for Samba 4.0.0rc3.
  from  1f1bc49 docs: Add very basic samba manpage.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -
commit d5c51e95ff8dbd4f5f50a7ea3f1d211194bb2809
Author: Karolin Seeger ksee...@samba.org
Date:   Fri Oct 12 12:15:46 2012 +0200

WHATSNEW: Start release notes for Samba 4.0.0rc3.

To be continued...

Karolin

Autobuild-User(v4-0-test): Karolin Seeger ksee...@samba.org
Autobuild-Date(v4-0-test): Fri Oct 12 13:58:45 CEST 2012 on sn-devel-104

---

Summary of changes:
 WHATSNEW.txt |   62 -
 1 files changed, 60 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index f214087..d920c8a 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,7 +1,7 @@
 Release Announcements
 =
 
-This is the second release candidate of Samba 4.0.  This is *not*
+This is the third release candidate of Samba 4.0.  This is *not*
 intended for production environments and is designed for testing
 purposes only.  Please report any defects via the Samba bug reporting
 system at https://bugzilla.samba.org/.
@@ -58,7 +58,7 @@ Samba3-like logon services provided over CIFS.  We correctly 
generate
 the infamous Kerberos PAC, and include it with the Kerberos tickets we
 issue.
 
-Samba 4.0.0rc2 ships with two distinct file servers.  We now use the
+Samba 4.0.0rc3 ships with two distinct file servers.  We now use the
 file server from the Samba 3.x series 'smbd' for all file serving by
 default.
 
@@ -162,6 +162,64 @@ smb.conf changes
winbindd socket directory   New
 
 
+CHANGES SINCE 4.0.0rc2
+==
+
+o   Jeremy Allison j...@samba.org
+* BUG 8966: Fix 'net rpc share allowedusers' to work with 2008r2.
+* BUG 9209: Parse of invalid SMB2 create blob can cause smbd crash.
+* BUG 9214: Bad user supplied SMB2 credit value can cause smbd to call
+  smb_panic.
+
+
+o   Andrew Bartlett abart...@samba.org
+* BUG 9235: Update Samba3-HOWTO Collection.
+
+
+o   Björn Baumbach b...@sernet.de
+* BUG 9235: Fix opening and ending tag mismatch in Samba3-HOWTO.
+
+
+o   Kai Blin k...@samba.org
+* BUG 9225: Fix return code for deleted DNS records.
+
+
+o   Volker Lendecke v...@samba.org
+* BUG 9223: Fix uninitialized variable in the cldap server.
+* BUG 9268: Make tdb robust against improper CLEAR_IF_FIRST restart.
+
+
+o   Stefan Metzmacher me...@samba.org
+* BUG 9196: Don't take 'state-te' as indication for was_deferred.
+
+
+o   Matthieu Patou m...@matws.net
+* BUG 9240: Remove unused variable in DNS server.
+
+
+o   Rusty Russell ru...@rustcorp.com.au
+* BUG 9268: Make tdb robust against shrinking tdbs.
+
+
+o   Andreas Schneider a...@samba.org
+* BUG 9244: Build pam_smbpass module only if enabled.
+* BUG 9245: Make sure the registry is set up before we init printing.
+
+
+o   Karolin Seeger ksee...@samba.org
+* BUG 7826: Remove link to Using Samba.
+* BUG 9243: Remove duplicate synonym min protocol.
+
+
+o   Jelmer Vernooij jel...@samba.org
+* BUG 9243: Add basic documentation for 'server min protocol'.
+
+
+o   Matthias Dieter Wallnöfer m...@samba.org
+* BUG 9183: Introduce the wildcard binding feature to allow DNS to listen 
on
+  localhost.
+
+
 CHANGES SINCE 4.0.0rc1
 ==
 


-- 
Samba Shared Repository


Re: [SCM] Samba Shared Repository - branch master updated

2012-10-12 Thread Kai Blin
On 2012-10-11 21:23, Stefan (metze) Metzmacher wrote:
 Hi Jelmer,
 
 - Log -
 commit c2d14747d608d406de6410556807d467cd0b85ef
 Author: Jelmer Vernooij jel...@samba.org
 Date:   Thu Oct 11 14:45:10 2012 +0200

 provision: Always create DNS user.
 
 The DNS user is currently only used by the bind9 plugin. This makes it
 easier to later on switch between the builtin DNS server and bind
 backend.
 
 In addition, ideally the internal DNS server would use that (separate)
 user too.
 
 Why? Isn't that the job of samba_upgradedns?
 I removed this behavior because I want us to match windows as much as
 possible.

+1

Cheers,
Kai

-- 
Kai Blin
Worldforge developer http://www.worldforge.org/
Wine developer http://wiki.winehq.org/KaiBlin
Samba team member http://www.samba.org/samba/team/