Stefan Metzmacher [Fri, 24 Dec 2010 10:41:10 +0000 (11:41 +0100)]
testprogs:test_kinit: create tmp files under $PREFIX
metze
Stefan Metzmacher [Fri, 24 Dec 2010 10:40:02 +0000 (11:40 +0100)]
s4:ldb:python/api: use only one ldb file in test_contains()
metze
Stefan Metzmacher [Fri, 24 Dec 2010 10:11:45 +0000 (11:11 +0100)]
s4:ldb:python/api: use filename() instead of hardcoded filenames
This makes sure we use files under $SELFTEST_PREFIX instead of
the source directory.
metze
Jelmer Vernooij [Fri, 24 Dec 2010 00:52:13 +0000 (01:52 +0100)]
Start on alpha 15.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Dec 24 12:59:49 CET 2010 on sn-devel-104
Stefan Metzmacher [Fri, 24 Dec 2010 11:10:43 +0000 (12:10 +0100)]
Merge remote branch 'origin/v4-0-test'
'git merge -s ours origin/v4-0-test' to get the release tag into master.
metze
Brad Hards [Fri, 24 Dec 2010 07:02:06 +0000 (18:02 +1100)]
Typo fix in KDC parameters.
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Dec 24 12:09:00 CET 2010 on sn-devel-104
Jelmer Vernooij [Fri, 24 Dec 2010 01:05:33 +0000 (02:05 +0100)]
Release alpha14.
Jelmer Vernooij [Thu, 23 Dec 2010 23:35:06 +0000 (00:35 +0100)]
mkrelease: Simplify further.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Dec 24 02:01:10 CET 2010 on sn-devel-104
Jelmer Vernooij [Thu, 23 Dec 2010 23:28:58 +0000 (00:28 +0100)]
update whatsnew for alpha14.
Jelmer Vernooij [Thu, 23 Dec 2010 23:26:51 +0000 (00:26 +0100)]
WHATSNEW: Fix typo, indentation.
Jelmer Vernooij [Thu, 23 Dec 2010 23:14:04 +0000 (00:14 +0100)]
wafsamba: Fix handling of nick name in VERSION.
Jelmer Vernooij [Thu, 23 Dec 2010 22:56:36 +0000 (23:56 +0100)]
talloc: remove autotools support.
Jelmer Vernooij [Thu, 23 Dec 2010 22:54:51 +0000 (23:54 +0100)]
tdb: Remove autotools support.
Jelmer Vernooij [Sat, 18 Dec 2010 15:01:04 +0000 (16:01 +0100)]
MAINTAINERS: List rusty and tridge as maintainers for talloc.
Jelmer Vernooij [Sat, 18 Dec 2010 14:58:09 +0000 (15:58 +0100)]
MAINTAINERS: add rusty as the tdb maintainer.
Jelmer Vernooij [Sat, 18 Dec 2010 14:43:03 +0000 (15:43 +0100)]
MAINTAINERS: List tridge and me as maintainers of wafsamba and the wscripts.
Günther Deschner [Thu, 23 Dec 2010 13:43:10 +0000 (14:43 +0100)]
testprogs: testspoolss.exe: pretty print FILETIME in driver info 6 and 8.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Dec 23 23:40:21 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Thu, 23 Dec 2010 20:56:52 +0000 (21:56 +0100)]
s4:acl LDB module - "acl_rename" - memory contexts fixup
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Dec 23 22:49:41 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Thu, 23 Dec 2010 19:54:08 +0000 (20:54 +0100)]
s4:acl LDB module - add a missing "talloc_free(tmp_ctx)" in an error path
Just for consistency.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Dec 23 21:46:38 CET 2010 on sn-devel-104
Stefan Metzmacher [Thu, 23 Dec 2010 18:23:11 +0000 (19:23 +0100)]
tdb: add ABI/tdb-1.2.8.sigs
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Dec 23 20:35:42 CET 2010 on sn-devel-104
Stefan Metzmacher [Thu, 23 Dec 2010 18:19:57 +0000 (19:19 +0100)]
tevent: add ABI/tevent-0.9.10.sigs
metze
Matthias Dieter Wallnöfer [Thu, 23 Dec 2010 11:55:09 +0000 (12:55 +0100)]
s4:torture/ndr/spoolss.c - add a "ULL" suffix for a 64 bit unsigned integer literal
To quiet a warning on Solaris
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Dec 23 13:43:57 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Thu, 23 Dec 2010 11:42:37 +0000 (12:42 +0100)]
lib/replace/testsuite.c - fix test output
Stefan Metzmacher [Thu, 23 Dec 2010 07:17:48 +0000 (08:17 +0100)]
s3:libsmb: use 16 zero bytes as channel binding checksum in the gssapi checksum (bug #7883)
This fixes SMB session setups with kerberos against some closed
source SMB servers.
The new behavior matches heimdal and mit.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Dec 23 09:38:43 CET 2010 on sn-devel-104
Jeremy Allison [Wed, 22 Dec 2010 22:52:50 +0000 (14:52 -0800)]
All calls to event_add_to_select_args() call GetTimeOfDay() and
pass this in as the &now parameter. Push this call inside of
event_add_to_select_args() to the correct point so it doesn't
get called unless needed.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Dec 23 01:08:11 CET 2010 on sn-devel-104
Volker Lendecke [Wed, 22 Dec 2010 13:40:16 +0000 (14:40 +0100)]
s3: Remove unused open_any_socket_out
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Dec 22 17:27:29 CET 2010 on sn-devel-104
Volker Lendecke [Tue, 21 Dec 2010 20:55:01 +0000 (21:55 +0100)]
s3: Use smbsock_any_connect in winbind
Volker Lendecke [Tue, 21 Dec 2010 17:52:53 +0000 (18:52 +0100)]
s3: Retry *SMBSERVER in nb_connect
Volker Lendecke [Tue, 14 Dec 2010 11:50:57 +0000 (12:50 +0100)]
s3: Test smbsock_any_connect
Volker Lendecke [Mon, 13 Dec 2010 16:17:51 +0000 (17:17 +0100)]
s3: Add smbsock_any_connect
Volker Lendecke [Sun, 12 Dec 2010 17:55:06 +0000 (18:55 +0100)]
s3: Add an async smbsock_connect
This connects to 445 and after 5 milliseconds also to 139. It treats a netbios
session setup failure as equivalent as a TCP connect failure. So if 139 is
faster but fails the nb session setup, the 445 still has the chance to succeed.
Volker Lendecke [Sun, 12 Dec 2010 17:54:31 +0000 (18:54 +0100)]
s3: Add async cli_session_request
This does not do the redirects, but I think that might be obsolete anyway
Volker Lendecke [Sun, 12 Dec 2010 17:53:49 +0000 (18:53 +0100)]
s3: Add some const to name_mangle()
Günther Deschner [Wed, 22 Dec 2010 13:50:58 +0000 (14:50 +0100)]
s3-waf: fix the build.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 22 15:55:11 CET 2010 on sn-devel-104
Stefan Metzmacher [Fri, 17 Dec 2010 12:26:16 +0000 (13:26 +0100)]
s3:lib/gencache: fix memory leak in error path
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Dec 22 15:08:30 CET 2010 on sn-devel-104
Günther Deschner [Wed, 22 Dec 2010 10:34:22 +0000 (11:34 +0100)]
s3-printing: fix crash bug in print_spool_open().
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 22 14:21:58 CET 2010 on sn-devel-104
Günther Deschner [Wed, 22 Dec 2010 10:32:24 +0000 (11:32 +0100)]
s3-spoolss: handle NTTIME(0) as "01/01/1601" REG_SZ in driver dates.
Guenther
Günther Deschner [Wed, 22 Dec 2010 10:30:51 +0000 (11:30 +0100)]
s4-smbtorture: always skip addprinter{ex} level 1 tests for now.
Guenther
Günther Deschner [Tue, 21 Dec 2010 16:00:33 +0000 (17:00 +0100)]
s4-smbtorture: fix expected driver date REG_SZ string.
This resolves the "WARNING!: ../torture/rpc/spoolss.c:4688: str was 01/01/1601,
expected 01/01/1970: "DriverDate" - driver_date mismatch" warnings.
Guenther
Günther Deschner [Tue, 21 Dec 2010 15:14:48 +0000 (16:14 +0100)]
s4-smbtorture: check the returned driver date is equal to the one we passed in.
Guenther
Günther Deschner [Tue, 21 Dec 2010 15:14:20 +0000 (16:14 +0100)]
s4-smbtorture: add torture_assert_nttime_equal macro.
Guenther
Günther Deschner [Mon, 20 Dec 2010 15:02:02 +0000 (16:02 +0100)]
s4-smbtorture: interesting, DriverDate and DriverVersion are different in w2k3 and w2k8r2.
While in w2k8 they are REG_SZ date or numerical strings, they are 8 byte REG_BINARY blobs in w2k3.
Guenther
Matthias Dieter Wallnöfer [Wed, 22 Dec 2010 10:57:31 +0000 (11:57 +0100)]
dsdb:ldap.py - transform a test call into the new "msg.add" syntax
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed Dec 22 13:05:53 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Wed, 22 Dec 2010 08:53:27 +0000 (09:53 +0100)]
lib/util/time.c - make the "strftime" output locale independant ("%c" is not)
So that it also works on Solaris.
Matthias Dieter Wallnöfer [Wed, 22 Dec 2010 08:56:01 +0000 (09:56 +0100)]
ldb:pyldb.c - remove unused variable
Nadezhda Ivanova [Wed, 22 Dec 2010 10:27:50 +0000 (12:27 +0200)]
s4-tests: Tests for Validated-SPN implementation.
Test setting spn on RWDC, RODC and regular computer object.
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Wed Dec 22 12:20:24 CET 2010 on sn-devel-104
Nadezhda Ivanova [Wed, 22 Dec 2010 10:27:15 +0000 (12:27 +0200)]
s4-acl: Implementation of Validated-SPN validated write
If this right is granted to a user, they may modify the SPN of an object with some value restrictions
serviceName can be set only if the object is a DC, and then only to the default domain and netbios name, or ntds_guid._msdsc_.forest_domain. If the serviceType is GC, only to the forest root domain. If the serviceType is ldap, then to forest_domain or netbiosname.
InstanceType can be samAccountName or dnsHostName.
Nadezhda Ivanova [Wed, 22 Dec 2010 10:19:46 +0000 (12:19 +0200)]
s4-dsdb: Added a helper function to get the default dns domain as string.
Stefan Metzmacher [Fri, 17 Dec 2010 12:06:13 +0000 (13:06 +0100)]
s3:libsmb/namequery.c: don't leak 'pserver'
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Dec 22 09:54:31 CET 2010 on sn-devel-104
Andrew Tridgell [Wed, 22 Dec 2010 01:13:44 +0000 (12:13 +1100)]
dns: fixed dns record format
based on new WSPP docs from Bryan Burgin
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Dec 22 04:45:46 CET 2010 on sn-devel-104
Jeremy Allison [Wed, 22 Dec 2010 02:11:40 +0000 (18:11 -0800)]
Fix a warning message.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Dec 22 03:59:18 CET 2010 on sn-devel-104
Jeremy Allison [Wed, 22 Dec 2010 02:07:52 +0000 (18:07 -0800)]
My algorithm for determining whan an incoming sequence number can be allowed is incorrect.
(I based it on the text in MS-SMB2, silly me :-). Fix it so incoming sequence numbers
can range over the entire allowable bitmap range. This fixes a repeatable
disconnect against Win7.
Jeremy.
Jelmer Vernooij [Wed, 22 Dec 2010 00:33:50 +0000 (01:33 +0100)]
heimdal_build: Use consistent name for heimbase.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Dec 22 02:24:24 CET 2010 on sn-devel-104
Jelmer Vernooij [Wed, 22 Dec 2010 00:25:20 +0000 (01:25 +0100)]
heimdal_build: When using system hbase/hcrypto, don't compile our own versions.
Jelmer Vernooij [Wed, 22 Dec 2010 00:01:04 +0000 (01:01 +0100)]
heimdal_build: Allow using system hbase and hcrypto.
Kamen Mazdrashki [Tue, 21 Dec 2010 23:09:59 +0000 (01:09 +0200)]
s4-devel/pfm_verify: Move schemaInfo getter into separate function
so it can be used against Windows DC without fetching prefixMap
Fetching prefixMap doesn't work against WinDCs for some reason at the moment
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Dec 22 01:28:49 CET 2010 on sn-devel-104
Jelmer Vernooij [Tue, 21 Dec 2010 22:52:15 +0000 (23:52 +0100)]
wafsamba: Allow newer or the same python module versions to be installed,
not older.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Dec 22 00:42:23 CET 2010 on sn-devel-104
Jelmer Vernooij [Tue, 21 Dec 2010 18:31:40 +0000 (19:31 +0100)]
tevent: Remove reference to nonexistant configure.developer from autogen.sh.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Dec 21 20:29:21 CET 2010 on sn-devel-104
Jelmer Vernooij [Tue, 21 Dec 2010 18:24:51 +0000 (19:24 +0100)]
talloc: Remove reference to nonexistant configure.developer in autogen.sh.
Jelmer Vernooij [Tue, 21 Dec 2010 17:57:49 +0000 (18:57 +0100)]
tevent: Bump version number after symbol versioning changes.
Jelmer Vernooij [Tue, 21 Dec 2010 17:56:18 +0000 (18:56 +0100)]
tdb: Bump version number after symbol versioning changes.
Jelmer Vernooij [Tue, 21 Dec 2010 17:48:49 +0000 (18:48 +0100)]
pytdb: Make PyTdb variable static.
Stefan Metzmacher [Tue, 21 Dec 2010 14:43:44 +0000 (15:43 +0100)]
s3:cli_np_tstream: if SMBtrans is desired, the readv needs to wait for the last writev chunk.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Dec 21 17:43:06 CET 2010 on sn-devel-104
Jelmer Vernooij [Tue, 21 Dec 2010 13:05:18 +0000 (14:05 +0100)]
ldb: Add ldb.Message.add and ldb.Message.elements.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Dec 21 15:03:17 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Tue, 21 Dec 2010 10:46:29 +0000 (11:46 +0100)]
ldb:tools/ldbdel.c - "replace.h" should be the first include
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Dec 21 12:50:54 CET 2010 on sn-devel-104
Andrew Tridgell [Tue, 21 Dec 2010 09:53:58 +0000 (20:53 +1100)]
s4-dns: set dwSerial and dwFlags
we are waiting on full docs on these, but this is better than zero
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Dec 21 12:05:51 CET 2010 on sn-devel-104
Andrew Tridgell [Tue, 21 Dec 2010 09:53:11 +0000 (20:53 +1100)]
s4-dns: fixed name comparison in bind9 module
we need to compare without the trailing '.'
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Tue, 21 Dec 2010 09:52:24 +0000 (20:52 +1100)]
dns: cope with trailing '.' in dns_name
Andrew Tridgell [Tue, 21 Dec 2010 02:26:15 +0000 (13:26 +1100)]
s4-dns: return the local hostname as the SOA authority
this is done by all DCs in the domain to ensure that updates go to the
right place
Andrew Tridgell [Tue, 21 Dec 2010 01:42:49 +0000 (12:42 +1100)]
s4-provision: removed an incorrect debug message
this is now used as part of the main join
Andrew Tridgell [Tue, 21 Dec 2010 01:42:23 +0000 (12:42 +1100)]
s4-dns: disable segfault handling in dlz_bind9
we don't want bind9 calling the Samba segv handler
Matthias Dieter Wallnöfer [Tue, 21 Dec 2010 09:13:41 +0000 (10:13 +0100)]
s4:auth/session.h - use a forward declaration for type "struct ldb_context"
And remove the now obsolete one for "struct tevent_context"
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Dec 21 11:17:34 CET 2010 on sn-devel-104
Andrew Bartlett [Tue, 21 Dec 2010 03:08:34 +0000 (14:08 +1100)]
s4-auth Ensure that we always copy across domain groups
Even if we can't calculate the local groups (because we don't have a
local SAM to do it with) we still need to include the domain groups in
the session_info token.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Dec 21 05:56:22 CET 2010 on sn-devel-104
Andrew Bartlett [Tue, 21 Dec 2010 00:43:04 +0000 (11:43 +1100)]
s4-auth Remove duplicate copies of session_info creation code
We now just do or do not call into LDB based on some flags.
This means there may be some more link time dependencies, but we seem
to deal with those better now.
Andrew Bartlett
Andrew Bartlett [Mon, 20 Dec 2010 23:19:53 +0000 (10:19 +1100)]
s4-auth rework session_info handling not to require an auth context
This reverts a previous move to have this based around the auth
subsystem, which just spread auth deps all over unrelated code.
Andrew Bartlett
Andrew Bartlett [Mon, 20 Dec 2010 10:26:35 +0000 (21:26 +1100)]
s4-auth Remove event context from privilage database handling
These local TDB operations can quite safely be handled in a new/nested
event context, rather than using the main event context.
Andrew Bartlett
Andrew Bartlett [Mon, 20 Dec 2010 05:07:40 +0000 (16:07 +1100)]
s4-auth Remove obsolete comment
The code that this referred to went away in September with
7dbfeb0dc040889244a1110940af2d070f823374
Andrew Bartlett
Matthias Dieter Wallnöfer [Sun, 19 Dec 2010 15:37:04 +0000 (16:37 +0100)]
s4:dsdb/schema/schema_* - adaptions needed for removed "const" on OIDs
Matthias Dieter Wallnöfer [Sun, 19 Dec 2010 15:36:16 +0000 (16:36 +0100)]
s4:lib/ldb-samba/ldif_handlers.c - adaption needed for removed "const" on OIDs
Matthias Dieter Wallnöfer [Wed, 15 Dec 2010 16:17:09 +0000 (17:17 +0100)]
s3/s4:auth SPNEGO - adaptions for the removed "const" from OIDs
This is needed in order to suppress warnings.
Matthias Dieter Wallnöfer [Wed, 15 Dec 2010 16:21:04 +0000 (17:21 +0100)]
librpc/ndr/ndr_*.c - remove "const" from OIDs
Matthias Dieter Wallnöfer [Wed, 15 Dec 2010 16:02:49 +0000 (17:02 +0100)]
lib/util/asn1.c - remove the "const" specifier from OID
There is no reason to have it "const" since it's an allocated thing.
Matthias Dieter Wallnöfer [Sun, 19 Dec 2010 15:30:10 +0000 (16:30 +0100)]
s4:dsdb/common/util.c - remove unused variable "ndr_err"
Matthias Dieter Wallnöfer [Wed, 15 Dec 2010 16:43:45 +0000 (17:43 +0100)]
s4:auth/gensec/spnego.c - remove unused variable "principal"
Jeremy Allison [Tue, 21 Dec 2010 01:58:33 +0000 (17:58 -0800)]
Keep track of the sparse status of an open file handle. Allows bypass of
strict allocation on sparse files. Files opened as POSIX opens are always
sparse.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Dec 21 04:12:22 CET 2010 on sn-devel-104
Andrew Tridgell [Tue, 21 Dec 2010 00:59:54 +0000 (11:59 +1100)]
dns: fixed the padding for dnsp_name fields in LDAP
all names are NUL terminated, but may have additional padding as well
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Dec 21 03:26:26 CET 2010 on sn-devel-104
Andrew Tridgell [Tue, 21 Dec 2010 00:59:05 +0000 (11:59 +1100)]
dns: auto-calculate the wDataLength field in DNS records
we need this for creating new records
Andrew Tridgell [Tue, 21 Dec 2010 00:57:50 +0000 (11:57 +1100)]
s4-dns: fixed a crash bug in dlz_bind9 code
we need to keep el_ctx for the next part of the loop
Andrew Tridgell [Wed, 15 Dec 2010 12:52:32 +0000 (23:52 +1100)]
dnsp: fixed parsing of dns_name structures
its not a pad byte, its a trailing zero
Jeremy Allison [Tue, 21 Dec 2010 00:53:16 +0000 (16:53 -0800)]
Added call out to a Linux-compatible fallocate() when we need to extend a file
allocation extent without changing end-of-file size.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Dec 21 02:41:24 CET 2010 on sn-devel-104
Ken Harris [Mon, 20 Dec 2010 18:44:48 +0000 (10:44 -0800)]
CREATE in a compound CREATE/NOTIFY sequence was being passed through set_operation_credits()
twice (ultimately perhaps because of bug 7331 involving this compound sequence and the need
to be ready for any incoming CANCEL of the NOTIFY). This had the server thinking it had
granted more credit than it actually had, which lead to zero-credits being granted in interim
NOTIFY responses.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Dec 20 20:59:55 CET 2010 on sn-devel-104
Jeremy Allison [Mon, 20 Dec 2010 18:23:27 +0000 (10:23 -0800)]
From metze's work on sparse attributes. FILE_ATTRIBUTE_SPARSE is valid on get but not on set.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Dec 20 20:11:22 CET 2010 on sn-devel-104
David Disseldorp [Mon, 20 Dec 2010 15:08:02 +0000 (16:08 +0100)]
s3-printing: fix printer_list_traverse()
The tdb traverse function returns the number of elements traversed, or
less than zero on error, printer_list_traverse() is incorrectly checking
for non-zero return.
Autobuild-User: Andreas Schneider <asn@samba.org>
Autobuild-Date: Mon Dec 20 18:44:41 CET 2010 on sn-devel-104
Volker Lendecke [Mon, 20 Dec 2010 15:43:39 +0000 (16:43 +0100)]
s3: Remove unused "retry" from cli_start_connection
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Dec 20 17:58:33 CET 2010 on sn-devel-104
Volker Lendecke [Mon, 20 Dec 2010 15:37:23 +0000 (16:37 +0100)]
s3: Remove unused "retry" from cli_full_connection
Volker Lendecke [Mon, 20 Dec 2010 15:22:02 +0000 (16:22 +0100)]
s3: Always retry the DC connection in auth_domain
The only condition that cli_full_connection marks as non-retryable is the basic
name lookup and TCP connect. To me this is pretty fishy. For example if the
negprot fails, this is supposed to be more retryable than a NetBIOS name lookup
failure? I'd rather think the opposite is true.
Jeremy, this is code from 2002,
389a16d9d533. If you have any comments from
back then, let me know :-)
Volker
Volker Lendecke [Mon, 20 Dec 2010 14:58:55 +0000 (15:58 +0100)]
s3: Remove some unused variables
Günther Deschner [Fri, 17 Dec 2010 15:34:47 +0000 (16:34 +0100)]
s4-smbtorture: run the winreg tests also against an added driver.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Dec 20 14:31:43 CET 2010 on sn-devel-104
Kamen Mazdrashki [Mon, 20 Dec 2010 09:39:26 +0000 (11:39 +0200)]
s4-pydsdb: Use local memory context in py_dsdb_get_oid_from_attid()
This version reverts changes from commit
b974966cc2b4d0b5b0d83206070b5f7c5c6495d1
and is what Matthieu Patou had commited in
d784ecec555a3d9737e6f4b3894f27904d2b833c
with added reference to the schema cache.
I think referencing schema here is the right thing to be done
as thus we garantee that schema cache will stay in memory
for the time our function is executed
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Mon Dec 20 12:01:53 CET 2010 on sn-devel-104
Jelmer Vernooij [Mon, 20 Dec 2010 01:31:40 +0000 (02:31 +0100)]
dnspython: Merge in new upstream.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Dec 20 03:21:52 CET 2010 on sn-devel-104