nivanova/samba-autobuild/.git
8 years agoWHATSNEW: fix indentation
Stefan Metzmacher [Mon, 27 Dec 2010 15:55:31 +0000 (16:55 +0100)]
WHATSNEW: fix indentation

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 27 17:50:05 CET 2010 on sn-devel-104

8 years agoWHATSNEW: Update changed parameters.
Karolin Seeger [Sun, 26 Dec 2010 22:16:54 +0000 (23:16 +0100)]
WHATSNEW: Update changed parameters.

Karolin
(cherry picked from commit 6148d5eb84d0a15442d689e0265e1172096e9110)

8 years agoWHATSNEW: Update changed parameters.
Karolin Seeger [Sun, 26 Dec 2010 22:06:09 +0000 (23:06 +0100)]
WHATSNEW: Update changed parameters.

Karolin
(cherry picked from commit 23341ca37e165ed3fa615030b87d8d65ea166970)

8 years agoWHATSNEW: Add information on changed security defaults.
Karolin Seeger [Fri, 17 Dec 2010 19:39:57 +0000 (20:39 +0100)]
WHATSNEW: Add information on changed security defaults.

Thanks to Andrew Bartlett for providing this text!
(cherry picked from commit 2e867d9db26865012c8a210331c0f0541024f57f)

8 years ago.gitignore: cleanup old stuff
Stefan Metzmacher [Mon, 27 Dec 2010 10:52:59 +0000 (11:52 +0100)]
.gitignore: cleanup old stuff

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 27 16:43:24 CET 2010 on sn-devel-104

8 years agos4:ldb: setup TEST_DATA_PREFIX for make test
Stefan Metzmacher [Mon, 27 Dec 2010 11:29:07 +0000 (12:29 +0100)]
s4:ldb: setup TEST_DATA_PREFIX for make test

metze

8 years agos4:ldb:python/api: use filename() instead of hardcoded filenames
Stefan Metzmacher [Mon, 27 Dec 2010 13:07:50 +0000 (14:07 +0100)]
s4:ldb:python/api: use filename() instead of hardcoded filenames

metze

8 years agos4:ldb/tests: there's no need to copy samba4.png
Stefan Metzmacher [Mon, 27 Dec 2010 12:17:00 +0000 (13:17 +0100)]
s4:ldb/tests: there's no need to copy samba4.png

metze

8 years agotdb: setup TEST_DATA_PREFIX for make test
Stefan Metzmacher [Mon, 27 Dec 2010 11:20:47 +0000 (12:20 +0100)]
tdb: setup TEST_DATA_PREFIX for make test

metze

8 years agos4:selftest: specify the gentest_seeds.dat location
Stefan Metzmacher [Mon, 27 Dec 2010 13:16:19 +0000 (14:16 +0100)]
s4:selftest: specify the gentest_seeds.dat location

metze

8 years agos4:selftest: selftest.pl already sets TEST_DATA_PREFIX
Stefan Metzmacher [Mon, 27 Dec 2010 11:46:39 +0000 (12:46 +0100)]
s4:selftest: selftest.pl already sets TEST_DATA_PREFIX

metze

8 years agoselftest: setup $ENV{TEST_DATA_PREFIX}
Stefan Metzmacher [Mon, 27 Dec 2010 11:57:18 +0000 (12:57 +0100)]
selftest: setup $ENV{TEST_DATA_PREFIX}

metze

8 years agos3:selftest: mark samba3.posix_s3.smb2.lock (dc).rw-exclusive as known to fail
Stefan Metzmacher [Mon, 27 Dec 2010 10:18:44 +0000 (11:18 +0100)]
s3:selftest: mark samba3.posix_s3.smb2.lock (dc).rw-exclusive as known to fail

This sometimes fails like this:

[218/271 in 22m22s] samba3.posix_s3.smb2.lock (dc)
UNEXPECTED(failure): samba3.posix_s3.smb2.lock (dc).rw-exclusive
REASON: _StringException: _StringException: ../torture/smb2/lock.c:406: status was NT_STATUS_END_OF_FILE, expected NT_STATUS_OK: (../torture/smb2/lock.c:406)

command: LD_LIBRARY_PATH=/memdisk/tridge/flakey/b18675/source3/source3/bin/shared:/memdisk/tridge/flakey/b18675/source3/source3/bin: bin/smbtorture4 --configfile=$SMB_CONF_PATH --maximum-runtime=1200 --target=samba3 --basedir=/memdisk/tridge/flakey/b18675/source3/source3/st --option="torture:winbindd_netbios_name=$SERVER" --option="torture:winbindd_netbios_domain=$DOMAIN" --option=torture:localdir=/memdisk/tridge/flakey/b18675/source3/source3/st/dc/share --option=torture:sharedelay=100000 //$SERVER_IP/tmp -U$USERNAME%$PASSWORD smb2.lock 2>&1 | ../selftest/filter-subunit --prefix "samba3.posix_s3.smb2.lock (dc)."
expanded command: LD_LIBRARY_PATH=/memdisk/tridge/flakey/b18675/source3/source3/bin/shared:/memdisk/tridge/flakey/b18675/source3/source3/bin: bin/smbtorture4 --configfile=/memdisk/tridge/flakey/b18675/source3/source3/st/client/client.conf --maximum-runtime=1200 --target=samba3 --basedir=/memdisk/tridge/flakey/b18675/source3/source3/st --option="torture:winbindd_netbios_name=LOCALDC2" --option="torture:winbindd_netbios_domain=SAMBA-TEST" --option=torture:localdir=/memdisk/tridge/flakey/b18675/source3/source3/st/dc/share --option=torture:sharedelay=100000 //127.0.0.2/tmp -Utridge%localdc2pass smb2.lock 2>&1 | ../selftest/filter-subunit --prefix "samba3.posix_s3.smb2.lock (dc)."
ERROR: Testsuite[samba3.posix_s3.smb2.lock (dc)]
REASON: Exit code was 1

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 27 12:08:51 CET 2010 on sn-devel-104

8 years agotevent: More documentation updates
Volker Lendecke [Sun, 26 Dec 2010 14:00:53 +0000 (15:00 +0100)]
tevent: More documentation updates

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Dec 26 15:49:59 CET 2010 on sn-devel-104

8 years agotevent: More doc fixes
Volker Lendecke [Sat, 25 Dec 2010 22:45:30 +0000 (23:45 +0100)]
tevent: More doc fixes

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Dec 26 10:20:51 CET 2010 on sn-devel-104

8 years agotevent: Some documentation fixes
Volker Lendecke [Sat, 25 Dec 2010 22:09:19 +0000 (23:09 +0100)]
tevent: Some documentation fixes

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Dec 25 23:58:20 CET 2010 on sn-devel-104

8 years agotevent: Fix a typo
Volker Lendecke [Sat, 25 Dec 2010 14:19:16 +0000 (15:19 +0100)]
tevent: Fix a typo

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Dec 25 22:56:18 CET 2010 on sn-devel-104

8 years agotdb:tdbtorture: use TEST_DATA_PREFIX for files
Stefan Metzmacher [Fri, 24 Dec 2010 10:54:51 +0000 (11:54 +0100)]
tdb:tdbtorture: use TEST_DATA_PREFIX for files

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Dec 24 18:17:53 CET 2010 on sn-devel-104

8 years agotdb:tdbtest: use TEST_DATA_PREFIX for files
Stefan Metzmacher [Fri, 24 Dec 2010 10:54:03 +0000 (11:54 +0100)]
tdb:tdbtest: use TEST_DATA_PREFIX for files

metze

8 years agotestprogs:test_kinit: create tmp files under $PREFIX
Stefan Metzmacher [Fri, 24 Dec 2010 10:41:10 +0000 (11:41 +0100)]
testprogs:test_kinit: create tmp files under $PREFIX

metze

8 years agos4:ldb:python/api: use only one ldb file in test_contains()
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

8 years agos4:ldb:python/api: use filename() instead of hardcoded filenames
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

8 years agoStart on alpha 15.
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

8 years agoMerge remote branch 'origin/v4-0-test'
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

8 years agoTypo fix in KDC parameters.
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

8 years agoRelease alpha14. samba-4.0.0alpha14
Jelmer Vernooij [Fri, 24 Dec 2010 01:05:33 +0000 (02:05 +0100)]
Release alpha14.

8 years agomkrelease: Simplify further.
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

8 years agoupdate whatsnew for alpha14.
Jelmer Vernooij [Thu, 23 Dec 2010 23:28:58 +0000 (00:28 +0100)]
update whatsnew for alpha14.

8 years agoWHATSNEW: Fix typo, indentation.
Jelmer Vernooij [Thu, 23 Dec 2010 23:26:51 +0000 (00:26 +0100)]
WHATSNEW: Fix typo, indentation.

8 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.

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

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

8 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.

8 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.

8 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.

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

8 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.

8 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

8 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()

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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.

8 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

8 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

8 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.

8 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.

8 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

8 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

8 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

8 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.

8 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

8 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.

8 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.

8 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

8 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

8 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

8 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.

8 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.

8 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.

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

8 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

8 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

8 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

8 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

8 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>

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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.

8 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