nivanova/samba-autobuild/.git
13 years agoWHATSNEW: Fix typo, indentation.
Jelmer Vernooij [Thu, 23 Dec 2010 23:26:51 +0000 (00:26 +0100)]
WHATSNEW: Fix typo, indentation.

13 years agowafsamba: Fix handling of nick name in VERSION.
Jelmer Vernooij [Thu, 23 Dec 2010 23:14:04 +0000 (00:14 +0100)]
wafsamba: Fix handling of nick name in VERSION.

13 years agotalloc: remove autotools support.
Jelmer Vernooij [Thu, 23 Dec 2010 22:56:36 +0000 (23:56 +0100)]
talloc: remove autotools support.

13 years agotdb: Remove autotools support.
Jelmer Vernooij [Thu, 23 Dec 2010 22:54:51 +0000 (23:54 +0100)]
tdb: Remove autotools support.

13 years agoMAINTAINERS: List rusty and tridge as maintainers for talloc.
Jelmer Vernooij [Sat, 18 Dec 2010 15:01:04 +0000 (16:01 +0100)]
MAINTAINERS: List rusty and tridge as maintainers for talloc.

13 years agoMAINTAINERS: add rusty as the tdb maintainer.
Jelmer Vernooij [Sat, 18 Dec 2010 14:58:09 +0000 (15:58 +0100)]
MAINTAINERS: add rusty as the tdb maintainer.

13 years agoMAINTAINERS: List tridge and me as maintainers of wafsamba and the wscripts.
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.

13 years agotestprogs: testspoolss.exe: pretty print FILETIME in driver info 6 and 8.
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

13 years agos4:acl LDB module - "acl_rename" - memory contexts fixup
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

13 years agos4:acl LDB module - add a missing "talloc_free(tmp_ctx)" in an error path
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

13 years agotdb: add ABI/tdb-1.2.8.sigs
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

13 years agotevent: add ABI/tevent-0.9.10.sigs
Stefan Metzmacher [Thu, 23 Dec 2010 18:19:57 +0000 (19:19 +0100)]
tevent: add ABI/tevent-0.9.10.sigs

metze

13 years agos4:torture/ndr/spoolss.c - add a "ULL" suffix for a 64 bit unsigned integer literal
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

13 years agolib/replace/testsuite.c - fix test output
Matthias Dieter Wallnöfer [Thu, 23 Dec 2010 11:42:37 +0000 (12:42 +0100)]
lib/replace/testsuite.c - fix test output

13 years agos3:libsmb: use 16 zero bytes as channel binding checksum in the gssapi checksum ...
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

13 years agoAll calls to event_add_to_select_args() call GetTimeOfDay() and
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

13 years agos3: Remove unused open_any_socket_out
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

13 years agos3: Use smbsock_any_connect in winbind
Volker Lendecke [Tue, 21 Dec 2010 20:55:01 +0000 (21:55 +0100)]
s3: Use smbsock_any_connect in winbind

13 years agos3: Retry *SMBSERVER in nb_connect
Volker Lendecke [Tue, 21 Dec 2010 17:52:53 +0000 (18:52 +0100)]
s3: Retry *SMBSERVER in nb_connect

13 years agos3: Test smbsock_any_connect
Volker Lendecke [Tue, 14 Dec 2010 11:50:57 +0000 (12:50 +0100)]
s3: Test smbsock_any_connect

13 years agos3: Add smbsock_any_connect
Volker Lendecke [Mon, 13 Dec 2010 16:17:51 +0000 (17:17 +0100)]
s3: Add smbsock_any_connect

13 years agos3: Add an async smbsock_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.

13 years agos3: Add async cli_session_request
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

13 years agos3: Add some const to name_mangle()
Volker Lendecke [Sun, 12 Dec 2010 17:53:49 +0000 (18:53 +0100)]
s3: Add some const to name_mangle()

13 years agos3-waf: fix the build.
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

13 years agos3:lib/gencache: fix memory leak in error path
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

13 years agos3-printing: fix crash bug in print_spool_open().
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

13 years agos3-spoolss: handle NTTIME(0) as "01/01/1601" REG_SZ in driver dates.
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

13 years agos4-smbtorture: always skip addprinter{ex} level 1 tests for now.
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

13 years agos4-smbtorture: fix expected driver date REG_SZ string.
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

13 years agos4-smbtorture: check the returned driver date is equal to the one we passed in.
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

13 years agos4-smbtorture: add torture_assert_nttime_equal macro.
Günther Deschner [Tue, 21 Dec 2010 15:14:20 +0000 (16:14 +0100)]
s4-smbtorture: add torture_assert_nttime_equal macro.

Guenther

13 years agos4-smbtorture: interesting, DriverDate and DriverVersion are different in w2k3 and...
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

13 years agodsdb:ldap.py - transform a test call into the new "msg.add" syntax
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

13 years agolib/util/time.c - make the "strftime" output locale independant ("%c" is not)
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.

13 years agoldb:pyldb.c - remove unused variable
Matthias Dieter Wallnöfer [Wed, 22 Dec 2010 08:56:01 +0000 (09:56 +0100)]
ldb:pyldb.c - remove unused variable

13 years agos4-tests: Tests for Validated-SPN implementation.
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

13 years agos4-acl: Implementation of Validated-SPN validated write
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.

13 years agos4-dsdb: Added a helper function to get the default dns domain as string.
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.

13 years agos3:libsmb/namequery.c: don't leak 'pserver'
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

13 years agodns: fixed dns record format
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

13 years agoFix a warning message.
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

13 years agoMy algorithm for determining whan an incoming sequence number can be allowed is incor...
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.

13 years agoheimdal_build: Use consistent name for heimbase.
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

13 years agoheimdal_build: When using system hbase/hcrypto, don't compile our own versions.
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.

13 years agoheimdal_build: Allow using system hbase and hcrypto.
Jelmer Vernooij [Wed, 22 Dec 2010 00:01:04 +0000 (01:01 +0100)]
heimdal_build: Allow using system hbase and hcrypto.

13 years agos4-devel/pfm_verify: Move schemaInfo getter into separate function
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

13 years agowafsamba: Allow newer or the same python module versions to be installed,
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

13 years agotevent: Remove reference to nonexistant configure.developer from autogen.sh.
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

13 years agotalloc: Remove reference to nonexistant configure.developer in autogen.sh.
Jelmer Vernooij [Tue, 21 Dec 2010 18:24:51 +0000 (19:24 +0100)]
talloc: Remove reference to nonexistant configure.developer in autogen.sh.

13 years agotevent: Bump version number after symbol versioning changes.
Jelmer Vernooij [Tue, 21 Dec 2010 17:57:49 +0000 (18:57 +0100)]
tevent: Bump version number after symbol versioning changes.

13 years agotdb: 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.

13 years agopytdb: Make PyTdb variable static.
Jelmer Vernooij [Tue, 21 Dec 2010 17:48:49 +0000 (18:48 +0100)]
pytdb: Make PyTdb variable static.

13 years agos3:cli_np_tstream: if SMBtrans is desired, the readv needs to wait for the last write...
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

13 years agoldb: Add ldb.Message.add and ldb.Message.elements.
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

13 years agoldb:tools/ldbdel.c - "replace.h" should be the first include
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

13 years agos4-dns: set dwSerial and dwFlags
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

13 years agos4-dns: fixed name comparison in bind9 module
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>

13 years agodns: cope with trailing '.' in dns_name
Andrew Tridgell [Tue, 21 Dec 2010 09:52:24 +0000 (20:52 +1100)]
dns: cope with trailing '.' in dns_name

13 years agos4-dns: return the local hostname as the SOA authority
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

13 years agos4-provision: removed an incorrect debug message
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

13 years agos4-dns: disable segfault handling in dlz_bind9
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

13 years agos4:auth/session.h - use a forward declaration for type "struct ldb_context"
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

13 years agos4-auth Ensure that we always copy across domain groups
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

13 years agos4-auth Remove duplicate copies of session_info creation code
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

13 years agos4-auth rework session_info handling not to require an auth context
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

13 years agos4-auth Remove event context from privilage database handling
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

13 years agos4-auth Remove obsolete comment
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

13 years agos4:dsdb/schema/schema_* - adaptions needed for removed "const" on OIDs
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

13 years agos4:lib/ldb-samba/ldif_handlers.c - adaption 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

13 years agos3/s4:auth SPNEGO - adaptions for the removed "const" from 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.

13 years agolibrpc/ndr/ndr_*.c - remove "const" from OIDs
Matthias Dieter Wallnöfer [Wed, 15 Dec 2010 16:21:04 +0000 (17:21 +0100)]
librpc/ndr/ndr_*.c - remove "const" from OIDs

13 years agolib/util/asn1.c - remove the "const" specifier from OID
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.

13 years agos4:dsdb/common/util.c - remove unused variable "ndr_err"
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"

13 years agos4:auth/gensec/spnego.c - remove unused variable "principal"
Matthias Dieter Wallnöfer [Wed, 15 Dec 2010 16:43:45 +0000 (17:43 +0100)]
s4:auth/gensec/spnego.c - remove unused variable "principal"

13 years agoKeep track of the sparse status of an open file handle. Allows bypass of
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

13 years agodns: fixed the padding for dnsp_name fields in LDAP
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

13 years agodns: auto-calculate the wDataLength field in DNS records
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

13 years agos4-dns: fixed a crash bug in dlz_bind9 code
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

13 years agodnsp: fixed parsing of dns_name structures
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

13 years agoAdded call out to a Linux-compatible fallocate() when we need to extend a file
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

13 years agoCREATE in a compound CREATE/NOTIFY sequence was being passed through set_operation_cr...
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

13 years agoFrom metze's work on sparse attributes. FILE_ATTRIBUTE_SPARSE is valid on get but...
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

13 years agos3-printing: fix printer_list_traverse()
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

13 years agos3: Remove unused "retry" from cli_start_connection
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

13 years agos3: Remove unused "retry" from cli_full_connection
Volker Lendecke [Mon, 20 Dec 2010 15:37:23 +0000 (16:37 +0100)]
s3: Remove unused "retry" from cli_full_connection

13 years agos3: Always retry the DC connection in auth_domain
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

13 years agos3: Remove some unused variables
Volker Lendecke [Mon, 20 Dec 2010 14:58:55 +0000 (15:58 +0100)]
s3: Remove some unused variables

13 years agos4-smbtorture: run the winreg tests also against an added driver.
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

13 years agos4-pydsdb: Use local memory context in py_dsdb_get_oid_from_attid()
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

13 years agodnspython: Merge in new upstream.
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

13 years agotesttools: Merge in new upstream.
Jelmer Vernooij [Mon, 20 Dec 2010 01:31:32 +0000 (02:31 +0100)]
testtools: Merge in new upstream.

13 years agolib: Protect against tevent nterror mismatches
Volker Lendecke [Sun, 19 Dec 2010 13:22:28 +0000 (14:22 +0100)]
lib: Protect against tevent nterror mismatches

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Dec 20 00:12:02 CET 2010 on sn-devel-104

13 years agos3: "make etags" should not grow TAGS infinitely...
Volker Lendecke [Sun, 19 Dec 2010 13:00:05 +0000 (14:00 +0100)]
s3: "make etags" should not grow TAGS infinitely...

13 years agos3: Fix bug 7066 -- wbcAuthenticateEx gives unix times
Volker Lendecke [Sat, 18 Dec 2010 15:02:09 +0000 (16:02 +0100)]
s3: Fix bug 7066 -- wbcAuthenticateEx gives unix times

We might eventually want to change this, but right now we get unix times
out of the winbind pipe struct

13 years agos3: Use the right uid winbindd_raw_kerberos_login()
Volker Lendecke [Sat, 11 Dec 2010 09:29:57 +0000 (10:29 +0100)]
s3: Use the right uid winbindd_raw_kerberos_login()

13 years agowb_reqtrans is not used in libwbclient
Volker Lendecke [Wed, 8 Dec 2010 18:51:14 +0000 (19:51 +0100)]
wb_reqtrans is not used in libwbclient

13 years agoMove wbc_async.[ch] to its only user: smbtorture3
Volker Lendecke [Wed, 8 Dec 2010 19:11:46 +0000 (20:11 +0100)]
Move wbc_async.[ch] to its only user: smbtorture3

13 years agolibwbclient: Put the wb_reqtrans definitions into wb_reqtrans.h
Volker Lendecke [Wed, 8 Dec 2010 19:06:03 +0000 (20:06 +0100)]
libwbclient: Put the wb_reqtrans definitions into wb_reqtrans.h

13 years agos3: wcache_invalidate_samlogon only needs the SID
Volker Lendecke [Sat, 11 Dec 2010 13:27:54 +0000 (14:27 +0100)]
s3: wcache_invalidate_samlogon only needs the SID