[SCM] Samba Shared Repository - branch master updated

2013-08-23 Thread Simo Sorce
The branch, master has been updated
   via  9423d5a Fix bug #10063 - source3/lib/util.c:1493 leaking memory w/ 
pam_winbind.so / winbind
  from  3ddb77f torture: Split the fsinfo check into a separate test

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


- Log -
commit 9423d5afb71e272298f4858d82f436e19ee2b07f
Author: Jeremy Allison 
Date:   Fri Aug 2 15:03:39 2013 -0700

Fix bug #10063 - source3/lib/util.c:1493 leaking memory w/ pam_winbind.so / 
winbind

Don't use talloc_tos() in something that can be linked to in pam_winbindd.so

Signed-off-by: Jeremy Allison 
Reviewed-by: Simo Sorce 

Autobuild-User(master): Simo Sorce 
Autobuild-Date(master): Sat Aug 24 02:28:28 CEST 2013 on sn-devel-104

---

Summary of changes:
 source3/lib/util.c |6 --
 1 files changed, 4 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/util.c b/source3/lib/util.c
index bf6c8c5..5168092 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1462,10 +1462,12 @@ char *myhostname(void)
 
 char *myhostname_upper(void)
 {
-   char *name;
static char *ret;
if (ret == NULL) {
-   name = get_myname(talloc_tos());
+   char *name = get_myname(NULL);
+   if (name == NULL) {
+   return NULL;
+   }
ret = strupper_talloc(NULL, name);
talloc_free(name);
}


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2013-08-23 Thread Jeremy Allison
The branch, master has been updated
   via  3ddb77f torture: Split the fsinfo check into a separate test
   via  e1edffc torture: Split the buffercheck into a separate test
   via  8f96d48 torture: Change smb2.getinfo into a suite
   via  ad8a1e2 libsmb2: Fix opening the rootdirectory, part 2
   via  1927676 libsmb2: Fix opening the rootdirectory, part 1
   via  971b39b torture: Remove an unused variable
   via  83d1495 smbd: Fix a debug message
  from  573b455 pkgconfig: Do not hardcode library version numbers in pc 
files.

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


- Log -
commit 3ddb77f7d8d56376661c9ad26acbb32dc7e6e40d
Author: Volker Lendecke 
Date:   Thu Aug 22 11:47:21 2013 +

torture: Split the fsinfo check into a separate test

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

Autobuild-User(master): Jeremy Allison 
Autobuild-Date(master): Fri Aug 23 20:53:12 CEST 2013 on sn-devel-104

commit e1edffc8075cc0f83e0f05153712298a96063fba
Author: Volker Lendecke 
Date:   Thu Aug 22 11:23:22 2013 +

torture: Split the buffercheck into a separate test

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit 8f96d489715d88c181d88030550a88a7e245e5ae
Author: Volker Lendecke 
Date:   Thu Aug 22 11:06:59 2013 +

torture: Change smb2.getinfo into a suite

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit ad8a1e2a6ee126596abe992bc39da3b8ea1b4f9b
Author: Volker Lendecke 
Date:   Thu Aug 22 15:04:03 2013 +

libsmb2: Fix opening the rootdirectory, part 2

smb2_push_o16s16_blob is wrong for the blob.data==NULL case. It does
not do the same magic that the rest of the routine does with regards to
padding_fix.  padding_fix is wrong in its own respect, with a 0-length
blob we end up with a negative padding fix. It's wrong, but it seems
to work.

Why am I doing this? I want to make smb2.getinfo work against
w2k12. smb2_util_roothandle() always gives NT_STATUS_INVALID_PARAMETER
without this and the preceding fix.

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit 1927676412a5b329b9f6e5e3ec3971bc18e21b31
Author: Volker Lendecke 
Date:   Thu Aug 22 15:04:03 2013 +

libsmb2: Fix opening the rootdirectory, part 1

[MS-SMB2], 2.2.13 says: In the request, the Buffer field MUST be at least 
one
byte in length. Implement that for the 0-length filename without create 
blobs.

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit 971b39bb103410444cfdeaa6e9684c7496a39ab3
Author: Volker Lendecke 
Date:   Thu Aug 22 11:19:33 2013 +

torture: Remove an unused variable

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit 83d1495e587d12211587856bce0f583d188b3e81
Author: Volker Lendecke 
Date:   Thu Aug 22 15:19:32 2013 +

smbd: Fix a debug message

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

---

Summary of changes:
 selftest/knownfail |5 +++--
 source3/smbd/trans2.c  |2 +-
 source4/libcli/smb2/create.c   |   15 +++
 source4/torture/smb2/getinfo.c |   35 +++
 source4/torture/smb2/smb2.c|2 +-
 source4/torture/smb2/util.c|2 +-
 6 files changed, 48 insertions(+), 13 deletions(-)


Changeset truncated at 500 lines:

diff --git a/selftest/knownfail b/selftest/knownfail
index c075ba6..dd536df 100644
--- a/selftest/knownfail
+++ b/selftest/knownfail
@@ -170,7 +170,7 @@
 ^samba4.smb2.oplock.batch10\(.*\)$ # samba 4 oplocks are a mess
 ^samba4.smb2.oplock.batch20\(.*\)$ # samba 4 oplocks are a mess
 ^samba4.smb2.oplock.stream1 # samba 4 oplocks are a mess
-^samba4.smb2.getinfo.getinfo # streams on directories does not work
+^samba4.smb2.getinfo.complex # streams on directories does not work
 ^samba4.ntvfs.cifs.krb5.base.createx_access.createx_access\(.*\)$
 ^samba4.rpc.lsa.forest.trust #Not fully provided by Samba4
 ^samba4.blackbox.kinit\(.*\).kinit with user password for expired 
password\(.*\) # We need to work out why this fails only during the pw change
@@ -206,7 +206,8 @@
 ^samba3.smb2.streams.rename
 ^samba3.smb2.streams.rename2
 ^samba3.smb2.streams.attributes
-^samba3.smb2.getinfo.getinfo
+^samba3.smb2.getinfo.complex
+^samba3.smb2.getinfo.fsinfo # quotas don't work yet
 ^samba3.smb2.setinfo.setinfo
 ^samba3.smb2.session.*reauth5 # some special anonymous checks?
 ^samba3.smb2.compound.interim2 # wrong return code (STATUS_CANCELLED)
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 81f80c3..e7c0da1 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -3374,7 +3374,7 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", 
(unsigned int)bsize

autobuild: intermittent test failure detected

2013-08-23 Thread autobuild
The autobuild test system has detected an intermittent failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey/2013-08-23-1456/flakey.log

The samba3 build logs are available here:

   http://git.samba.org/autobuild.flakey/2013-08-23-1456/samba3.stderr
   http://git.samba.org/autobuild.flakey/2013-08-23-1456/samba3.stdout

The source4 build logs are available here:

   http://git.samba.org/autobuild.flakey/2013-08-23-1456/samba.stderr
   http://git.samba.org/autobuild.flakey/2013-08-23-1456/samba.stdout
  
The top commit at the time of the failure was:

commit 573b455de9a45990446af26eea01539a32fef209
Author: Günther Deschner 
Date:   Thu Aug 22 15:00:32 2013 +0200

pkgconfig: Do not hardcode library version numbers in pc files.

We control version numbers via 'vnum' from the wscript_build files for all 
other
libraries.  In case of libndr we already reported a wrong 0.0.1 version via
pkgconfig while in fact the library is versioned as 0.0.2.

Guenther

Signed-off-by: Günther Deschner 
Reviewed-by: Kai Blin 

Autobuild-User(master): Kai Blin 
Autobuild-Date(master): Thu Aug 22 20:48:44 CEST 2013 on sn-devel-104