1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

79357 Commits

Author SHA1 Message Date
Jelmer Vernooij
48c2f803e8 libsmbclient-raw: Install smb_composite.h.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Mar 15 02:57:59 CET 2012 on sn-devel-104
2012-03-15 02:57:59 +01:00
Andrew Bartlett
180b3a3bbe build: Do not build with utmp when we do not have utmp.h
This matches the autoconf build, and should partially address bug #8709.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Mar 15 01:12:15 CET 2012 on sn-devel-104
2012-03-15 01:12:15 +01:00
Andrew Bartlett
04593da301 build: param must require cups to get the cups headers path in -I 2012-03-15 09:29:02 +11:00
Andrew Bartlett
49bb7f248a s3-krb5: Remove GSS_WRAP_IOV conditional
We already confirm that we have this functionality before we set HAVE_KRB5 at
configure time.

Andrew Bartlett
2012-03-15 09:29:02 +11:00
Andrew Bartlett
9e22b096cc wintest: test wbinfo --krb5auth
This will ensure that this functionality is tested with MIT krb5, as the
make test system only reaches this code with Heimdal.

Andrew Bartlett
2012-03-15 09:29:02 +11:00
Andrew Bartlett
8b10d6848f selftest: test wbinfo --authenticate and --krb5auth 2012-03-15 09:29:02 +11:00
Andrew Bartlett
3a23c66357 build: Ensure that we clean build objects from auth/ as well 2012-03-15 09:29:01 +11:00
Stefan Metzmacher
7e7aa330bf selftest/flapping: mark ^samba3.rpc.spoolss.*printserver.enum_printers_servername as flakey
I got this:

[370/1371 in 21m20s] samba3.rpc.spoolss.printserver (s3dc)
Testing servername behaviour in EnumPrinters and GetPrinters
Testing EnumPrinters(\\127.0.0.2) level 2
Testing OpenPrinterEx()
WARNING!: ../source4/torture/rpc/spoolss.c:5907: r.out.result was
WERR_INVALID_PARAM, expected WERR_OK: OpenPrinterEx failed
WARNING!: ../source4/torture/rpc/spoolss.c:6417: Expression
`call_OpenPrinterEx(tctx, p, short_name, ((void *)0), &handle)' failed: failed
to open printer
UNEXPECTED(failure): samba3.rpc.spoolss.printserver
.printserver.enum_printers_servername
REASON: _StringException: _StringException:
../source4/torture/rpc/spoolss.c:6499: Expression
`test_OnePrinter_servername(tctx, p, b, servername, info[i].info2.printername)'
failed: failed to check printer

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Mar 14 23:02:46 CET 2012 on sn-devel-104
2012-03-14 23:02:46 +01:00
Stefan Metzmacher
003162c76e selftest/flapping: mark ^samba3.rpc.spoolss.*printserver.openprinter_badnamelist as flakey
I saw this a few times today:

[370/528 in 19m28s] samba3.rpc.spoolss.printserver (s3dc)
Using seed 1331739572
Testing OpenPrinter(\\127.0.0.2)
Testing GetPrinterData(Architecture)
Testing OpenPrinter(__INVALID_PRINTER__) with bad name
Testing OpenPrinterEx(__INVALID_PRINTER__) with bad name
Testing OpenPrinter(\\__INVALID_HOST__) with bad name
Testing OpenPrinterEx(\\__INVALID_HOST__) with bad name
Testing OpenPrinter() with bad name
Testing OpenPrinterEx() with bad name
Testing OpenPrinter(\\\) with bad name
Testing OpenPrinterEx(\\\) with bad name
Testing OpenPrinter(\\\__INVALID_PRINTER__) with bad name
Testing OpenPrinterEx(\\\__INVALID_PRINTER__) with bad name
Testing OpenPrinter(\\127.0.0.2\) with bad name
WARNING!: ../source4/torture/rpc/spoolss.c:5765: op.out.result was WERR_OK,
expected WERR_INVALID_PRINTER_NAME: unexpected result
UNEXPECTED(failure): samba3.rpc.spoolss.printserver
.printserver.openprinter_badnamelist
REASON: _StringException: _StringException:
../source4/torture/rpc/spoolss.c:5821: Expression
`test_OpenPrinter_badname(tctx, b, badname)' failed:

metze
2012-03-14 21:20:26 +01:00
Stefan Metzmacher
a986f3fe82 selftest/flapping: mark samba4.blackbox.gentest as flakey
https://git.samba.org/autobuild.flakey/2012-03-14-1307/samba4.stdout

    [1228/1371 in 1h19s] samba4.blackbox.gentest(dc)
    UNEXPECTED(failure): samba4.blackbox.gentest(dc).gentest
    REASON: _StringException: _StringException: seed=1
    Connecting to \localdcest1 as Administrator - instance 0
    Connecting to \localdcest1est1 as Administrator - instance 1
    Connecting to \localdcest1est2 as Administrator - instance 0
    Connecting to \localdcest1est2 as Administrator - instance 1
    0
    OPEN num_open_handles=1 h=0 (gentestoo4)
    Notify count inconsistent 1 0
    Failed at operation 88 - MKDIR
    gentest failed

I saw this more than 10 times in the last year already.

metze
2012-03-14 21:20:26 +01:00
Stefan Metzmacher
89511d28bf s3:selftest: add support for 'make test FAIL_IMMEDIATELY=1'
This is what autobuild uses in order to let the build abort on the first
failure.

metze
2012-03-14 21:20:26 +01:00
Michael Adam
94af1581ef s4:selftest: fix a message-typo in the "samba-tool user" testsuite.
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Mar 14 21:19:11 CET 2012 on sn-devel-104
2012-03-14 21:19:11 +01:00
Michael Adam
a85d86129a s4:selftest: add a new test for "samba-tool user list" 2012-03-14 19:39:18 +01:00
Michael Adam
e625a319e2 testtools/matchers.py: fix a comment typo 2012-03-14 19:39:18 +01:00
Andreas Schneider
db0ea16604 s3-spoolss: Check return type of update_dsspooler().
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Mar 14 19:38:45 CET 2012 on sn-devel-104
2012-03-14 19:38:45 +01:00
Andreas Schneider
c3c3d3ac3f s3-spoolss: Check return codes in update_dsspooler. 2012-03-14 17:56:14 +01:00
Andreas Schneider
fd85cd25e0 s3-printing: Check for browseable too. 2012-03-14 17:56:14 +01:00
Andreas Schneider
1a65f90a34 s3-printing: Make printer a const char *. 2012-03-14 17:56:14 +01:00
Andreas Schneider
034489718c s3-rpc_client: Add debug message for printer dataex errors. 2012-03-14 17:56:14 +01:00
Andreas Schneider
4bccc911b8 s3-rpc_server: Increase debug level for policy handle. 2012-03-14 17:56:13 +01:00
Jelmer Vernooij
26d68c3c28 samba3util: Add ccan to dependency list now that str_checksum() uses a ccan function.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Mar 14 17:55:51 CET 2012 on sn-devel-104
2012-03-14 17:55:50 +01:00
Christian Ambach
a5ddc2da10 s3:smb2_server: fix a compiler warning
Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Wed Mar 14 16:06:48 CET 2012 on sn-devel-104
2012-03-14 16:06:48 +01:00
Stefan Metzmacher
a3e2151edd s3:smbd: also create ncalrpc/np directory before forking rpc daemons
After the fixes to directory_create_or_exist(), this should not be
needed anymore, but lets try to make autobuild reliable first.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Mar 14 13:44:41 CET 2012 on sn-devel-104
2012-03-14 13:44:41 +01:00
Stefan Metzmacher
800209aad5 lib/util: only change umask during mkdir()
metze
2012-03-14 12:00:46 +01:00
Stefan Metzmacher
bfe990af89 lib/util: cope with races between lstat and mkdir in directory_create_or_exist()
metze
2012-03-14 12:00:46 +01:00
Stefan Metzmacher
e03059fc96 lib/util: use a helper variable in directory_create_or_exist()
metze
2012-03-14 12:00:46 +01:00
Stefan Metzmacher
f306261119 lib/util: do an early return on error directory_create_or_exist()
metze
2012-03-14 12:00:46 +01:00
Stefan Metzmacher
bd492befc0 lib/util: remove unneeded else branch in directory_create_or_exist()
metze
2012-03-14 12:00:46 +01:00
Stefan Metzmacher
687606b452 lib/util: don't start DEBUG output with 'error '
This confused the subunit code.

metze
2012-03-14 12:00:46 +01:00
Amitay Isaacs
ab375526e8 s4-dsdb: Fix the case for attribute name msDS-hasMasterNCs
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Wed Mar 14 11:59:02 CET 2012 on sn-devel-104
2012-03-14 11:59:02 +01:00
Rusty Russell
3272ba0d2d lib/tdb: remove unnecessary XOPEN and FILE_OFFSET_BITS defines in test/
These were relics: they don't need to be defined here as long as we are
careful to include the replace headers before any standard headers (we are).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Wed Mar 14 10:12:26 CET 2012 on sn-devel-104
2012-03-14 10:12:26 +01:00
Rusty Russell
4d613d9ceb lib/tdb2: remove unneccessary _FILE_OFFSET_BITS define in test/.
This was a relic from testing; it can interfere with compile.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-14 08:32:34 +01:00
Matthieu Patou
442f1c81df autoconf: make autoconf build work on OS X 10.6
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Mar 14 08:31:19 CET 2012 on sn-devel-104
2012-03-14 08:31:19 +01:00
Matthieu Patou
b68f72c7f5 lib/crypto: Detect CommonCrypto and use it if available
CommonCrypto/CommonDigest is available on Mac and there is function in
the libc for MD5 calculation. MD5Final is a C define of CC_MD5_Final.
Under some circumstance we have the symbol defined twice in samba
binaries on Snow Leopard at least.

By detecting CommonCrypto/CommonDigest we end up always using the system
version if available.
2012-03-14 06:52:27 +01:00
Rusty Russell
6dea4f24dc lib/tdb2: make summary handle capabilities properly.
Another PPC issue (endian?) revealed that the summary code did not handle
capabilities correctly: in fact, it went into an endless loop.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Wed Mar 14 06:51:43 CET 2012 on sn-devel-104
2012-03-14 06:51:43 +01:00
Rusty Russell
5ba2e4fc39 lib/tdb2: fix error string formatting.
This caused a crash on PPC64 when we failed the mmap (found by failtest,
reported by Amitay)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-14 05:09:30 +01:00
Rusty Russell
ee0d1daa27 lib/tdb2: Add gcc-style format attribute to tdb_logerr.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-14 05:09:30 +01:00
Jeremy Allison
2d35fd7259 Fix bug #8811 - sd_has_inheritable_components segfaults on an SD that se_access_check accepts.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Mar 14 05:08:03 CET 2012 on sn-devel-104
2012-03-14 05:08:03 +01:00
Richard Sharpe
44590c1b70 Fix bug #8795 - Samba does not handle the Owner Rights permissions at all
Signed-off-by: Jeremy Allison <jra@samba.org>

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Mar 14 02:26:34 CET 2012 on sn-devel-104
2012-03-14 02:26:34 +01:00
Jeremy Allison
0e376db8b8 Second part of fix for bug #7933 - samba fails to honor SEC_STD_WRITE_OWNER bit with the acl_xattr module.
Error found by Andrew Bartlett <abartlet@samba.org> and Ricky Nance
<ricky.nance@weaubleau.k12.mo.us>.

Don't use a pointer when you really mean a bool flag.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Mar 13 21:56:15 CET 2012 on sn-devel-104
2012-03-13 21:56:15 +01:00
Christian Ambach
7936fb0ab8 Fix bug #8807 - dcerpc_lsa_lookup_sids_noalloc() crashes when groups has more than 1000 groups
Use correct talloc heirarchy.

Signed-off-by: Jeremy Allison <jra@samba.org>
2012-03-13 12:17:31 -07:00
Andreas Schneider
8458043457 s4-python: Add missing python source file encoding.
See http://www.python.org/dev/peps/pep-0263/

Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Tue Mar 13 19:31:09 CET 2012 on sn-devel-104
2012-03-13 19:31:09 +01:00
Andreas Schneider
4faba7615a s4-python: Remove env from non-executable webserver script. 2012-03-13 17:52:30 +01:00
Andreas Schneider
e5425743c2 s4-python: Remove env from non-executable samba_tool scripts. 2012-03-13 17:52:30 +01:00
Andreas Schneider
f9fda92376 s4-python: Remove env from non-executable dcerpc scripts. 2012-03-13 17:52:30 +01:00
Andreas Schneider
070828f791 s4-python: Remove execute flag from non-executable rpc_talloc script. 2012-03-13 17:52:30 +01:00
Andreas Schneider
ab1e52e09d s4-python: Remove env from non-executable blackbox test scripts. 2012-03-13 17:52:30 +01:00
Andreas Schneider
3caf954b85 s4-python: Remove execute flag from ndrdump blackbox script. 2012-03-13 17:52:29 +01:00
Andreas Schneider
cae282b5c2 s4-python: Remove env from non-executable test scripts. 2012-03-13 17:52:29 +01:00
Andreas Schneider
82c2bca89b s4-python: Remove env from non-executable netcmd scripts. 2012-03-13 17:52:29 +01:00