ira/wip.git
13 years agotdb: add ABI/tdb-1.2.9.sigs
Stefan Metzmacher [Wed, 29 Dec 2010 09:39:25 +0000 (10:39 +0100)]
tdb: add ABI/tdb-1.2.9.sigs

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Dec 29 11:26:12 CET 2010 on sn-devel-104

13 years agotdb: tdb_summary() support.
Rusty Russell [Wed, 29 Dec 2010 02:20:47 +0000 (12:50 +1030)]
tdb: tdb_summary() support.

Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Wed Dec 29 10:12:05 CET 2010 on sn-devel-104

13 years agoFix bug #7892 - open_file_fchmod() leaves a stale lock.
Jeremy Allison [Wed, 29 Dec 2010 00:25:16 +0000 (16:25 -0800)]
Fix bug #7892 - open_file_fchmod() leaves a stale lock.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Dec 29 02:15:23 CET 2010 on sn-devel-104

13 years agos3: Make name_query return NTSTATUS
Volker Lendecke [Tue, 28 Dec 2010 12:47:35 +0000 (13:47 +0100)]
s3: Make name_query return NTSTATUS

Also use talloc for the result

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 28 18:21:05 CET 2010 on sn-devel-104

13 years agos3: AllowDebugChange is gone
Volker Lendecke [Tue, 28 Dec 2010 16:17:04 +0000 (17:17 +0100)]
s3: AllowDebugChange is gone

13 years agoFix a memleak in nss_wins
Volker Lendecke [Tue, 28 Dec 2010 16:08:57 +0000 (17:08 +0100)]
Fix a memleak in nss_wins

13 years agoFix a crash in libnss_wins
Volker Lendecke [Tue, 28 Dec 2010 16:05:18 +0000 (17:05 +0100)]
Fix a crash in libnss_wins

lp_set_parm accesses the case tables

13 years agos3: Make node_status_query return NTSTATUS
Volker Lendecke [Tue, 28 Dec 2010 11:53:12 +0000 (12:53 +0100)]
s3: Make node_status_query return NTSTATUS

Also make the result talloc'ed

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 28 13:46:59 CET 2010 on sn-devel-104

13 years agos3: Remove an ancient typedef
Volker Lendecke [Tue, 28 Dec 2010 10:55:47 +0000 (11:55 +0100)]
s3: Remove an ancient typedef

13 years agos3: Fix some typos
Volker Lendecke [Tue, 28 Dec 2010 10:48:43 +0000 (11:48 +0100)]
s3: Fix some typos

13 years agoasync_send->sendto, async_recv->recvfrom
Volker Lendecke [Sun, 26 Dec 2010 15:03:58 +0000 (16:03 +0100)]
async_send->sendto, async_recv->recvfrom

13 years agos3:winbindd: remove useless ';'
Stefan Metzmacher [Tue, 28 Dec 2010 10:57:04 +0000 (11:57 +0100)]
s3:winbindd: remove useless ';'

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Dec 28 12:45:20 CET 2010 on sn-devel-104

13 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

13 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)

13 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)

13 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)

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

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

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