[SCM] SAMBA-CTDB repository - branch v3-6-ctdb created - b7c95dd82d9561ed3b731b4c085c6291b82962e2
Michael Adam
obnox at samba.org
Mon Feb 28 15:57:16 MST 2011
The branch, v3-6-ctdb has been created
at b7c95dd82d9561ed3b731b4c085c6291b82962e2 (commit)
- Log -----------------------------------------------------------------
commit b7c95dd82d9561ed3b731b4c085c6291b82962e2
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 00:37:30 2011 +0100
v3-6-ctdb: VERSION bump vendor patch level to 3
commit 4b96e9456dc8791c998f8af7df2417c6022b11b2
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 25 06:55:28 2011 -0700
s3: Pass the aio_force operation through vfs_gpfs
commit 4e91bd0ed227bfa50b5da5143c83358088debb3a
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 25 06:50:19 2011 -0700
s3: Ask GPFS for the IS_OFFLINE operation
commit 2de7e11229a183c6568c46ad44bf5994d048310f
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 25 07:18:46 2011 -0700
s3: Announce HSM in the gpfs module
commit 35c13833ce9e30f4fa13bf08ca6f13d28213d36f
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 25 06:43:52 2011 -0700
s3: Pass smb_filename through the set_offline vfs op
commit 0b2c9b07f8fbc2a6ffc661436e15783ae982ad4a
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 25 06:37:34 2011 -0700
s3: Pass smb_filename through the is_offline vfs op
commit eb5409c2cec0b91712be24b30c32cde895603071
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 25 06:28:30 2011 -0700
s3: Fix operation names in vfs_full_audit.c
commit 222dce31cbe523cdfb8128c08b96f620eb0f4920
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 00:37:30 2011 +0100
v3-6-ctdb: VERSION bump vendor patch level to 2
commit f2778696d8854b734cf22ab69ead2db9592ed6e3
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 07:33:56 2011 +0100
v3-6-ctdb: packaging/RHEL-CTDB: replace Prereq by Requires.
In RHEL6, Prereq is deprecated.
commit ddf368541d2dbf403c320422dc0673ca7c8df697
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 15 00:16:56 2008 +0100
v3-6-ctdb: s3: Add the "net groupfilter" command
This is the start of a bad hack for even worse systems: Many Unix systems still
have the NGROUPS problem: A user can not be member of more than a very limited
number of groups. Solaris for example limits this to 16 by default. Many
Windows environments have a *LOT* more groups per user, some even go to
hundreds. Whether that is efficient is debatable, but it's there.
This patch implements the
"net groupfilter"
command with the "addsid", "delsid" and "list" subcommands. If any SIDs are
present according to "net groupfilter list" (they are stored in secrets.tdb),
then only the SIDs in that list are converted to GIDs for a user at login time.
This gives the Administrator the possibility to define a set of groups that are
used on the Unix box, making sure that no user is in more than NGROUPS of those
at a time.
This patch is incomplete in the sense that winbind is not aware of this, only
smbd. So it is kind of an emergency hack for smbd-only machines.
Volker
Signed-off-by: Michael Adam <obnox at samba.org>
commit 2369ed2f3183f9bf54f583c0cb3b1fef5dc60c65
Author: Michael Adam <obnox at samba.org>
Date: Fri Dec 3 02:13:46 2010 -0700
v3-6-ctdb: packaging/RHEL-CTDB: improve fix for debuginfo builds
commit fb2522bb90cbe603a48b74477915cd9fb4546e42
Author: Volker Lendecke <vl at samba.org>
Date: Fri Dec 3 02:13:46 2010 -0700
v3-6-ctdb: packaging/RHEL-CTDB: Fix debuginfo builds
commit 8a1154d1baa0bc2d3f3976c93b594f23d68ab951
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 21 15:44:53 2011 +0100
Revert "v3-6-ctdb: s3:vfs: Add a gpfs_prefetch module."
This reverts commit 36713652a1f0ccee3e84c3c58d46f03141e43513.
The gpfs_prefetch module needs to be properly merged:
The vfs API has changed.
commit 6e70827ffb9145636d3fcfb8efb4fce17f633c9e
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 21 15:44:18 2011 +0100
Revert "v3-6-ctdb: packaging/RHEL-CTDB: Fix the RPM build: list the gpfs_prefetch vfs module"
This reverts commit 18296ef666202ae15cba6b7a6f25c3692f13f7e4.
The gpfs prefetch mdule needs to be properly merged:
The vfs api has changed.
commit 539e5b08add7ec84930619b45d861ce0e2664246
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 5 16:10:49 2010 +0100
v3-6-ctdb: packaging/RHEL-CTDB: Fix the RPM build: list the gpfs_prefetch vfs module
commit f872181335e0e53b5546bf0a82209a5e861b314e
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jan 21 14:07:15 2011 +0100
v3-6-ctdb: s3:vfs: Add a gpfs_prefetch module.
This can not go upstream yet because it uses the gpfs_fcntl call
from the non-GPL libgpfs.
commit d89792e20e3023f0eb7c999f7667b4e45b22e3e8
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 21 18:41:32 2008 +0200
v3-6-ctdb: apply patch from v3-0-ctdb to special case root in libnss_winbind
This is needed to ensure the administrator can login to a node even
when ctdbd and winbindd are stuck
commit 0f3b94a66564441ddf9a82d3fd6e36b40cdb1abd
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 18 13:19:55 2011 +0100
v3-6-ctdb: add README.v3-6-ctdb
commit 22972ce019b8bbe4ccf449b9da7dfffec65c9b6a
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 23 16:41:38 2009 +0200
v3-6-ctdb: VERSION: add vendor-suffix "ctdb" and vendor-patch level "1"
Michael
following the versioning scheme of the v3-2-ctdb branch
Michael
commit 72ff770889e2af27264cf631afa18591b3dafabc
Author: Michael Adam <obnox at samba.org>
Date: Wed Apr 8 19:28:52 2009 +0200
v3-6-ctdb: VERSION: set version to non-snapshot..
commit 3470f2f19e93be3e2821fedf9ccb7dffa8117f27
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 18 13:57:35 2011 +0100
nsswitch: Eliminate select from wb_common
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Feb 28 17:26:18 CET 2011 on sn-devel-104
commit 961d40893730031d3d2c4ec5cb922d6360cd8529
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 18 12:34:08 2011 +0100
Remove sys_select[_intr]
commit a8f47581c85431368a75f357fb198c5144815c60
Author: Volker Lendecke <vl at samba.org>
Date: Wed Feb 9 15:28:10 2011 +0100
tevent: Add a poll backend
commit 2fa65d286bd9de715cf3f2cb25e4a49649f6eaf9
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 14 12:14:12 2011 +0100
libcli: Eliminate select from smb_readline_replacement
commit 78f7259208de665bf3c237b332327746d124895f
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 10 11:01:54 2011 +0100
s3: Eliminate select from libaddns
commit 11fc407104cc5222c046d9647c5ead9b69170742
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 7 17:19:03 2011 +0100
s3: Eliminate sys_select from do_smb_resolve() -- untested
commit eebe73caf5f460b190a7857bbe2e3598db6ba09f
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 7 17:17:26 2011 +0100
s3: Eliminate sys_select from do_smb_browse() -- untested
commit 5c5ca243a397b481486983e5f6ccbbd9e3422fe4
Author: Volker Lendecke <vl at samba.org>
Date: Wed Feb 9 13:38:06 2011 +0100
s3: Eliminate sys_select_intr from smbfilter
commit 46838626a44d1f5ffd46c6ad60eb3404a5917f47
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 18 12:32:12 2011 +0100
s3: Remove unused receive_packet
commit 6c003313615679a1f7b2395c2f3d6c727b4249b0
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 8 17:57:12 2011 +0100
s3: Eliminate sys_select_intr from read_fd_with_timeout
commit 72018af1beb5c83d7ab0d65440960d1f7a900f2e
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 8 17:56:10 2011 +0100
s3: Eliminiate sys_select_intr from client.c
commit 62aa2a88d45737e27d847e511bb304325739cf0a
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 8 17:33:59 2011 +0100
s3: Add poll_intr_one_fd
commit 845d387e6c6b983e6cafc9592e0ac66fdaaeb676
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 8 17:28:27 2011 +0100
s3: Add sys_poll_intr
commit 01260b72096529be21bf8a6c29396d37fce93689
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 8 11:59:04 2011 +0100
s3: Eliminate sys_select from g_lock_lock
commit 46f3b40c8e7aab9bc46621951412b91a700e0432
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 7 17:02:44 2011 +0100
s3: Eliminate sys_select from fd_is_readable
commit 48c9c0762d212285571867b28bb7095d80d04784
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 7 16:59:38 2011 +0100
s3: Eliminate select from packet_fd_read_sync
commit 5c3e0b79b8fc7a05cb96c7af30139c081ef47076
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 7 16:55:16 2011 +0100
s3: Add poll_one_fd()
commit fa14ca5493f56782733645d6f714fb76701a23ce
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 7 15:24:07 2011 +0100
s3: Remove select-based s3 event backend
commit ade1ba24f9db9393203fad916bd78688ab780716
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 7 15:20:39 2011 +0100
s3: Use poll in nmbd
commit 46c760e1ba773bc240b2317b4a1e8386ee88ccc7
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 3 22:05:30 2011 +0100
s3: Use poll in winbind
commit 1194a63aa54623cb8f4207c449f53342e5b87cc5
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 3 21:55:02 2011 +0100
s3: Use poll in smbd
commit 8aa2502c87be1da726fe3c1917795715a0fca2c5
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 3 16:34:07 2011 +0100
s3: Use poll for the event loop
commit 782067d231207d4da0bb056c43e5144f662b34c4
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 7 16:29:13 2011 +0100
s3: Add sys_poll
commit 29cb7fc2cbc3a0f0b3497032428cccde88666627
Author: Volker Lendecke <vl at samba.org>
Date: Wed Feb 9 19:22:25 2011 +0100
libreplace: poll based on select
commit 1243274e5a93b900be59cc7c239b19d9ae848e6c
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 8 12:55:02 2011 +0100
s3: Add timeval_to_msec
commit ac2ccbd871a81f41ee43f5fd1beb3f162cabfe3c
Author: Michael Adam <obnox at samba.org>
Date: Mon Feb 28 15:52:25 2011 +0100
s3:msg_idmap: The solaris cc compiler does not like unnamed unions as struct members - fix the build
commit bd4ac8dd239ce778b5d5f8e7e5588a4aaf1951cd
Author: Michael Adam <obnox at samba.org>
Date: Mon Feb 28 15:36:11 2011 +0100
s3: fix the waf build after adding smbd/msg_idmap.c
commit 903deb0b22426068b9e145b024ddb635665d1fc1
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Wed Feb 23 11:10:15 2011 +0100
s3: Survive an idle child that was killed
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Feb 28 14:53:20 CET 2011 on sn-devel-104
(cherry picked from commit 3854413c246a3a69d100af6e827ce8f217bf408e)
commit 1018345c45fd104399285a30659cf6c29be77539
Author: Gregor Beck <gbeck at sernet.de>
Date: Thu Feb 3 16:30:29 2011 +0100
s3: smbcontrol to notify smbd about idmap changes
commit d1f603d64080cbeae9d53b839f7943a73616f080
Author: Gregor Beck <gbeck at sernet.de>
Date: Fri Feb 18 14:47:03 2011 +0100
s3: add functions to remove entries from idmap cache
commit 5c5c04f0f363b2e7d6155b0ac4a1be8c00f8bb20
Author: Gregor Beck <gbeck at sernet.de>
Date: Fri Feb 18 14:45:14 2011 +0100
s3: add functions to remove entries from idmap memcache
commit 82e2cf4e9cca2df9da8a27654f5baed76077a431
Author: Gregor Beck <gbeck at sernet.de>
Date: Fri Feb 18 14:42:18 2011 +0100
s3: add functions to flush the idmap memcache
commit 89afbcf0f581327ee283191fedb160f75846e18f
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 1 11:59:25 2011 +0100
WHATSNEW: document removed parameter "idmap alloc backend"
commit 009fac4fda37918405fc8ae8179aa612a3ee9bda
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 1 12:06:11 2011 +0100
WHATSNEW: document new nfs quota backend for linux
commit a4fb3ddd5774fb1a5ceb436c945f4465bde46d2f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 26 14:01:08 2011 +0100
s3: Fix a typo
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Feb 27 20:14:20 CET 2011 on sn-devel-104
commit 9f06c02193e8b7b7cc3b82e80503013a306d0fd6
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 26 13:41:43 2011 +0100
s3: Fix a comment
commit aad224853d67bd0cd49ba91b6cc5a2525a332d72
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 26 12:36:19 2011 +0100
s3: Fix some nonempty blank lines
commit d3b7c56fbc4e27696ac7de8226e84a799fc62604
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 26 11:53:21 2011 +0100
s3: Use strndup in parse_nss_param
commit d00f35def385c522533668da4e343cef5d30beed
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 27 19:09:28 2011 +0100
s3: properly find our standard nss_info backends
Right now, the nss_info backends are tied to the idmap backends (which is wrong
IMHO). In the domain child we don't load the idmap backend anymore, so we don't
have the nss info modules. This needs fixing properly.
commit 3c49c06cb15acf26233d8c5c3427e0318b9c5681
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 16 11:45:52 2011 +0100
s3:net: fix usage for "net rpc registry export"
commit 5be91839d3ba70c5d2eafdcb3a17cef1fe3e0de5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 27 16:11:36 2011 +0100
s3: Fix a debug message
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Feb 27 16:59:19 CET 2011 on sn-devel-104
(cherry picked from commit 0decc29b3a641b735ac1b0e71435490cd5958b73)
commit b20c14f2b5a65379c159e0df2e0991070cede65e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 27 09:57:18 2011 +0100
s3: Make is_zero_addr take a sockaddr_storage
All callers had to cast this anyway
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
(cherry picked from commit fec0baacb658eb1bfc15c8ca4dfeecc1cf84eb79)
commit e53854888d18c1a3458b3bba1661f592cb7e5c50
Author: Volker Lendecke <vl at samba.org>
Date: Wed Feb 23 11:09:32 2011 +0100
s3: Improve a dbg msg in aio_fork
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Feb 26 17:42:37 CET 2011 on sn-devel-104
(cherry picked from commit 48200c27eaaa961dd17f27a973ab07ccb7afbd8f)
commit 03c7777fa9c4454c5c69aaba937f665dde253d3e
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 25 17:25:36 2011 -0800
dirfd doesn't exist in some platforms.
Hack that should get the buildfarm back to green.
Ensure dirfd() needs to be defined before we properly return fdopendir.
This will do until we get a proper dirfd() defined in libreplace.
From http://www.gnu.org/software/hello/manual/gnulib/dirfd.html
This function is missing on some platforms: AIX 7.1, HP-UX 11, OSF/1 5.1, Solaris 10, mingw.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Sat Feb 26 04:19:55 CET 2011 on sn-devel-104
(cherry picked from commit c8a242d9fcb16df41a36b67ce2a8d43a3853b103)
commit 88b192fc85b315643116dbb8f88b19673afdc570
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 25 06:09:58 2011 -0700
s3: Fix a 64-bit warning in vfs_gpfs.c
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Feb 25 14:56:51 CET 2011 on sn-devel-104
(cherry picked from commit 242a63e95ab5ee286dd02dc0b25dceb6b4f82561)
commit 7b047e3f0d27771996df0ad1435816405c38b80d
Author: Jonathan Nieder <jrnieder at gmail.com>
Date: Sun Jan 2 02:40:09 2011 -0600
s3-param: Make "rlimit_max below minimum Windows limit" notification less scary
The fix to bug #6837 results in messages from testparm that look
like a misconfiguration even though they aren't:
rlimit_max: rlimit_max (8192) below minimum Windows limit (16384)
Apply a slight change in wording ("increasing rlimit_max to minimum
Windows limit") to make it clearer that the user has done nothing
wrong. (Similarly for sysctl_max.)
Reported-by: Miguel Medalha <miguelmedalha at sapo.pt>
Signed-off-by: Jonathan Nieder <jrnieder at gmail.com>
commit 59cddbd468fec3da20b73cc229ccbf1f681ff7d4
Author: Justin Maggard <justin.maggard at netgear.com>
Date: Thu Feb 24 16:25:30 2011 -0800
Detect Mac OS X as a separate client type.
(cherry picked from commit 8dcdebe6ea5a1f2074a60ead803379fcd22df549)
commit 8bfbdf54153246689783f90472128f1b4666e86f
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 24 16:04:09 2011 -0800
Ensure we don't return an incorrect access mask.
From the Microsoft test suite @ Connectathon:
Test Case: TestSuite_ScenarioNo009GrantedAccessTestS0
File created with access = 0x7 (Read, Write, Delete)
Query Info on file returns 0x87 (Read, Write, Delete, Read Attributes)
Jeremy.
(cherry picked from commit 1f2433c719b3a64353a730b963a9b0ff7a8357cb)
commit 2e191484b1f6e0c5c59fb321b2599c37a6e320e1
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 24 14:52:58 2011 -0800
Implement the SMB2 close flag SMB2_CLOSE_FLAGS_FULL_INFORMATION (and move definition to correct place).
Thanks to Nick Meier @ Microsoft for finding this @ Connectathon.
Jeremy.
(cherry picked from commit c0171feb2c6b912916c780679b1c21f28fab6bb4)
commit 6a7d42f5fc93fcb0f059d4b642bbb691d75dada2
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 24 11:59:35 2011 -0800
Batch oplocks conflict with exclusive as well as themselves.
(cherry picked from commit b3c74eceb0c871e9f782b88ad1678573ca38b3b8)
commit 54b81eb784d7cfb84cb749c5e9a31f515fc476c7
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 23 21:42:25 2011 +0100
s3:rpc_client: we need to pass a non-blocking socket to tstream_bsd_existing_socket()
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Thu Feb 24 07:43:59 CET 2011 on sn-devel-104
(cherry picked from commit 1f13d512d45eaa99023bc41cf6ec03db8cb4508e)
commit 5b4e40c0b0fe495dd38c5599e792aabcde6322e9
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 23 18:32:35 2011 -0800
Remember to free the second temporary string.
(cherry picked from commit c23e7292bc6406588182f87b61186087ba472ac3)
commit ed06e4576d39e47a4dc1b4a8314edc0accf990fc
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 23 18:24:41 2011 -0800
Fix bug 7950 - Samba 3.5.x fails BASE-CREATEX_SHAREMODES_DIR smbtorture4 test
We need to revalidate the pathname once re-constructed from a root fsp.
Jeremy.
(cherry picked from commit 916e82823b56a70d7761644b38a250ea8c38e204)
commit eab07557cfa0badfb94ca99419090f7cc50ac31f
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 23 15:48:23 2011 +0100
s3-docs: document all wbinfo options.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Feb 23 23:45:40 CET 2011 on sn-devel-104
(cherry picked from commit 29f850ac4330909afa426474686be363d0249d73)
commit 92bba5eb35abcbad58e52fcb9b72cb926c7516be
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 23 13:29:00 2011 +0100
s3-proto: remove some prototypes of non-existing functions.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Feb 23 15:42:35 CET 2011 on sn-devel-104
(cherry picked from commit ab64634a2070042d96da7aadc7fff2ea97199c0e)
commit 304d7ece570ccf786a061dd4819bda05fc2b98a0
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 22 22:56:23 2011 +0100
s3-waf: add check for getspnam().
Guenther
(cherry picked from commit 8bca9df258527125e6b7ec9b9ad060cc0fdc3ddf)
commit d837ba84c5eb8858dc03ca41920547d5afc3f759
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 22 22:34:05 2011 +0100
s3-waf: add check for TDB_ERR_NESTING.
Guenther
(cherry picked from commit b1e5dc716e1d968edf7e2686ba1dda3a42381541)
commit 08beb48b8a9a86c58dbe16aafe22af179e48e7ca
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 22 21:36:35 2011 +0100
s3-waf: add check for sendfile on AIX.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Feb 22 22:36:53 CET 2011 on sn-devel-104
(cherry picked from commit 7f0ef4fb4ad430190d143b0ed73fb3a68dde17fd)
commit 67476cb3d8275e02399aa6e100753152fd153612
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 22 21:33:06 2011 +0100
s3-waf: add check for sendfile on solaris.
Guenther
(cherry picked from commit 2b53e7eec75b3ea210eceeec4361d14fc4576f27)
commit d5e12c70bba17a5a7fe67ae32613e5486ad5e9f1
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 22 21:24:39 2011 +0100
s3-waf: add check for sendfile on hpux.
Guenther
(cherry picked from commit 6c32fe5207c4baab12212e9d53b80b41986ed1d7)
commit 52e1b95d7d16b85adac88c4c1907c90713547cb8
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 22 21:16:39 2011 +0100
s3-waf: add check for sendfile on freebsd.
Guenther
(cherry picked from commit 2babc4fcf47ad865e301ce22cceff4e0b0429de9)
commit ec926be00e23ebc762286bc2a1dc5c4168b56407
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 22 21:11:15 2011 +0100
s3-waf: add check for sendfile on linux.
Guenther
(cherry picked from commit d71c024131d4b108e5c6b4eacf5a75fef8c69215)
commit a9c8601db5f100fd8631d80280f9004c5348da79
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 22 20:43:23 2011 +0100
s3-waf: make sure ENABLE_BUILD_FARM_HACKS is enabled when run on the buildfarm.
Guenther
(cherry picked from commit ef896e647a1b19f8d0fc35dad823401e24354435)
commit 5baca4dac701251bad96d1acbb0116cb852f65c0
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 22 19:45:24 2011 +0100
s3-includes: move some chgpasswd related defines to the locations where they are used.
Guenther
(cherry picked from commit 28b4b059386b4369d6ad85c82bbc150aa81609c4)
commit d0f402ceb079828899aabd21ee2cb58ec15f17ff
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 22 12:43:12 2011 +0100
s3-waf: add check for ftruncate extend.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Feb 22 13:35:48 CET 2011 on sn-devel-104
(cherry picked from commit 79b41dcae14764612946cef012ca20c61dace919)
commit bc9f8058313a095f74492d3fa941181e3d486480
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 22 11:57:23 2011 +0100
s3-waf: add check for realpath() NULL arg.
Guenther
(cherry picked from commit 4fe3ecefa04d7ca1321109574014950503fca5b8)
commit 794bda5efbd85eac87c3553320fb60b71e629be2
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 22 11:53:51 2011 +0100
s3-waf: add check for makedev().
Guenther
(cherry picked from commit 33d676cd7e34ca5b9ed5ea0c99bcbda441b3b95f)
commit 7e44d0f2d9539c596c8f0b2bc8bf52b79022ca70
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 22 11:49:52 2011 +0100
s3-waf: add check for TIME_T_MAX.
Guenther
(cherry picked from commit bd333551bd5a2436773a1541a28e3e47c0e08533)
commit 328b8b3f427c933425ca74ecebf1e904ec0a9ab1
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 22 11:41:06 2011 +0100
s3-waf: add check for /proc/sys/kernel/core_pattern.
Guenther
(cherry picked from commit 2984003275ed415268b2e135bf71380ab9ae9ef3)
commit 6f30626a4be749d6975c9a2bb53e61e1d56f2a79
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 21 14:03:23 2011 +0100
s4-smbtorture: use torture_comment() instead of printf in raw.write test.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Feb 21 15:26:38 CET 2011 on sn-devel-104
(cherry picked from commit fb45c8890458dd15db1add360f5761d3ef4d60ee)
commit 360c39de8f37ebecee578d12469a309d6d6dbcbb
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 21 14:01:27 2011 +0100
s4-smbtorture: fix some indent in raw.write test.
Guenther
(cherry picked from commit 138533da3c7cdfb8fc1c35b7c051347dfa8f821b)
commit d876fa45f21056455d40b7dc71d8d3e12b3d0f73
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 21 14:00:08 2011 +0100
s4-smbtorture: fix trailing whitespace in raw.write test.
Guenther
(cherry picked from commit e1f4f0b6052662eabf63d127eff0c3ea8df16972)
commit 5ddb084376da201fd3a3cc985b396dbe1677f74e
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 18 15:54:51 2011 +0100
s3-smbsharemodes: libsmbsharemodes does neither depend on krb5 or ldap.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Feb 18 16:46:35 CET 2011 on sn-devel-104
(cherry picked from commit 927792b21235bf8409ea04022b2912728f21d79e)
commit 6a2d9f46c57c2896fe27cda4eca4df3017d47783
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 18 15:40:59 2011 +0100
nsswitch: make libwbclient a public library again.
Guenther
(cherry picked from commit 9154f0b4510ec9e3c7916b5fd3f37c441bd8c490)
commit 18e048e04426fb24a2f5cb7ef04bb1748ae3f7bc
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Tue Feb 22 15:45:44 2011 +0100
s3:libsmb only log a dead connection if it was not closed
in case the cli was closed before (e.g. via a dropped ip message)
it can be expected that the read here returns with an error and so
we should not log that a connection is dead when it was closed before
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Feb 23 16:51:03 CET 2011 on sn-devel-104
(cherry picked from commit 051611256b043a8841c456ce34a37ef4ac806155)
commit 8cca1d3927c9d46ef5a5978efa9ce82c0a1932aa
Author: Volker Lendecke <vl at samba.org>
Date: Wed Feb 23 15:26:38 2011 +0100
s3: Fix 64-bit errors
Casting those variables will lead to sscanf believing that it sees pointers to
unsigned longs. These might be 64 bit long, thus sscanf will overwrite memory
it should not overwrite. Assigning the vars later is okay, there we get
automatic type conversion. C can be nasty ...
Christian, please check!
(cherry picked from commit dfd33bcbb81998e68c00d2a01aab6b5c468ecf87)
commit e953d4df99f056c2cfd6dad376ecbc731283c18d
Author: Volker Lendecke <vl at samba.org>
Date: Wed Feb 23 15:25:36 2011 +0100
s3: Fix an uninitialized variable use
The "goto error;" lead to the invalid talloc_free.
Christian, please check!
(cherry picked from commit 9671615592a2e539a661698373dd3f7c7dd82d73)
commit 6d360c4e9cf6a9e5a99c415ced707e27cb217f96
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Wed Feb 16 19:05:21 2011 +0100
s3:idmap:autorid prevent fatal configuration changes
as the autorid module relies on a stable minimum uid/gid value
and rangesize, it now saves the values used at first successful start
and refuses to work if these values get changed in smb.conf later.
Changing the values after the first mapping was done will result
in unpredictable behaviour.
Another check covers the maximum uid value. If this gets decreased
later and domain range mappings already exist that would result
in uid values higher than the new uid value, initialization will
be aborted
(cherry picked from commit 8283cdbb1f28517d3e25a958aede0e5a31131f90)
commit 171cc2dfce95f679dc8cb10048afd37f169698ca
Author: Volker Lendecke <vl at samba.org>
Date: Wed Feb 23 13:25:12 2011 +0100
s3: Improve an error msg in vfs_gpfs
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Feb 23 14:12:39 CET 2011 on sn-devel-104
(cherry picked from commit 148252331ab7f236858febb9bfc52c66ea8a2ff3)
commit 8421b9a25f4d3d573e3242215d36c5db906c211c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 20 15:08:41 2011 +0100
s3: Protect tldap_errstr against a NULL ld
(cherry picked from commit e99d1de3c4fe3c1ff678270f51ef7e6d3812e878)
commit 0c4bcb8fdd25c7f7a3b6c9efd6b11476b1c7bec4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 20 15:20:26 2011 +0100
s3: Improve a debug message, we have more than pdb_tdb.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Feb 20 16:50:05 CET 2011 on sn-devel-104
(cherry picked from commit b85a323d02c69beffc9e20fc2164930cc5e91234)
commit 82422b9e978e20ad480a27cd7139b539f4899608
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Feb 22 11:21:53 2011 +1100
smbtorture Remove random file name before we start RW2
(cherry picked from commit b73cfabdf5cc28a91a72df8b64cf57021e08f0b0)
commit 98172133e395a75482ce4843632e79ab692cb0b6
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 21 12:45:14 2011 +0100
s3: Fix a typo
(cherry picked from commit c85607d8ecd97c242662ca391e24269df1686fb8)
commit 8353150d475873e6a4f931b9a41a1bb329077734
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 22 16:40:23 2011 -0800
Torture test added to run_opentest() to ensure we don't regress on
the previous change.
(cherry picked from commit ed9861cad6576861953a10706af818f38e7955bd)
commit d4d8a55009a78c1b51d6d4ea175e6cce22c2efd5
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 22 16:38:42 2011 -0800
Fix bug found against the new Mac client @ Connectathon. Mac clients
don't open with FILE_WRITE_ATTRIBUTES when just doing a write, so updating
the write time on close fails as smb_set_file_time() now (correctly) checks
for FILE_WRITE_ATTRIBUTES in the access_mask before allowing client time
update. This is an internal time update being done on a close, not a handle-based
client request.
(cherry picked from commit 064a46c8ebf7a93805200d665b748ceff44be628)
commit 776f83ee3d4d1e92b0e9f886d4d3e75c0fd77154
Author: Holger Hetterich <hhetter at novell.com>
Date: Sun Feb 13 18:20:00 2011 +0100
vfs_smb_traffic_analyzer shall also transfer the clients IP address.
commit 3766fab194d8312e733ce462fbca3227aee4b17a
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 14 20:56:09 2011 +0100
s3: Fix a C++ warning
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Feb 14 21:44:55 CET 2011 on sn-devel-104
(cherry picked from commit 64c63a3e1ca7206cb3bb11ff6c8c206bb9a00444)
commit d4c0a2b9fdd05fe1e1ff0b57ee8a6b557bb857ee
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 7 14:43:09 2011 +0100
s3: Fix a typed-punned warning
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Feb 14 11:46:50 CET 2011 on sn-devel-104
(cherry picked from commit e9f552925d0c007379d81af6ea9b0973011aed80)
commit f6ac3bb3cf499b658774fe9317d91b7570d2fa32
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 18 09:01:46 2011 -0800
Fix alignment issues in SPOOLSS "BUFFER" marshalling.
Guenther and Metze please check !
(cherry picked from commit 8b881e7b6f3b0089ea874b3decd49379b963eb63)
commit b7acfce50b21389fd391c228a6e4444ef7fcf91e
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Fri Feb 18 13:03:52 2011 +0100
s3:vfs:syncops add option to disable metasync per share
introduce an option to disable the metadata sync
in case the filesystem handles this correctly the sync can be
skipped, but synchronization of the data that was written can still
be configured (in opposition to the disable flag disabling all
sync operations)
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Feb 18 17:31:59 CET 2011 on sn-devel-104
(cherry picked from commit d05aa90384082c348113021500ac15716d060ead)
commit 8c86c2585173a79443930a5c082a9672b5b446a9
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 17 16:45:46 2011 +0100
tevent: Fix a comment
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Feb 17 18:16:18 CET 2011 on sn-devel-104
(cherry picked from commit 7720facd424b67cc9b49a5111a3b74df5129d3c1)
commit b39adf95488fc744f5d1aa4393838d28e50309ca
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 17 15:24:00 2011 +0100
s4-smbtorture: add more complex spoolss_EnumPrinterDataEx test.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Feb 17 16:46:28 CET 2011 on sn-devel-104
(cherry picked from commit d4892f38761b29e911762d15e5518ee5965a2530)
commit 5d3dc195045bb935be9005dbff1246bc511bbdff
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 17 10:59:44 2011 +0100
s3-waf: add check for "struct sigevent" and some of its members.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Feb 17 12:01:58 CET 2011 on sn-devel-104
(cherry picked from commit 2045cd7ed7235f68947720f4a2da84f05284791c)
commit 44a676444b9b6ae7b8c1b1235b6bd0afa021a191
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 17 10:53:25 2011 +0100
s3-waf: add check for "struct utimbuf".
Guenther
(cherry picked from commit ce718bb521d3f3a83d07303373889d2c834fbe14)
commit 799152fecc08de0f789a1b285f453dcb886acef5
Author: David Disseldorp <ddiss at suse.de>
Date: Wed Feb 16 17:23:25 2011 +0100
s3: increase the log level for missing PIDs on SIGCHLD
Since the fix for bso#7836, the parent smbd is responsible for
maintaining an up-to-date printcap cache. It does this by forking a
child process to asynchronously fetch printcap data from CUPS.
When the child process exits after fetching all printcap data, the
parent smbd is sent SIGCHLD. This triggers smbd_sig_chld_handler() which
looks for the exited process PID on a "children" list.
Child smbd process PIDs are added to the "children" list to ensure
cleanup on unclean shutdown and log level change notification messages.
Printcap update process PIDs are not added to the list as they do not
maintain any state that requires cleanup, nor do they wait on tevent for
messages.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Feb 17 11:11:45 CET 2011 on sn-devel-104
(cherry picked from commit 9c12232f1ae36e00d04114ad73edd8ba3c2c6a5c)
commit b9b65a225a5baf60e4e6d48ff2e12022898abfc7
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 17 01:12:04 2011 +0100
s3-selftest: make sure we really use --format=subunit when calling smbtorture4.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Feb 17 02:01:56 CET 2011 on sn-devel-104
(cherry picked from commit 78c4b2170eaa29f38d9b2904c8a6e71edfeb831b)
commit f4bf8432dd623c98d0302f81653899ce7523dd35
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 16 00:43:30 2011 +0100
libndr: remove prototype for nonexisting function ndr_print_ipv4_addr().
Guenther
(cherry picked from commit 0aed229710b8058878f25ce7b738ef807fb1faaa)
commit 0d3d93e01524cf4fa0dc095392782db1ffd80452
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 17 00:49:11 2011 +0100
s3-waf: move libsmb/clikrb5.c and libads/kerberos.c into KRBCLIENT.
This avoids two duplicates...
Guenther
(cherry picked from commit 0e156e7d62df9178c89d1beae4d0c3c936ea2827)
commit 8c37adcbc21fbfd740198a79b33a029684b0f9a5
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 17 00:43:05 2011 +0100
nsswitch: make wb_reqtrans a common subsystem.
Guenther
(cherry picked from commit bc83400d8102d7f01e00d71d86cd28f7dc1fbfc9)
commit 7a81f837c9780938de713da52be52cad88745ff2
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 17 00:11:18 2011 +0100
s3-waf: make most of the nsswitch common.
Guenther
(cherry picked from commit 743b13b8e0bb1a79219d4cd89a4c3e3f75344d2c)
commit 9aa300b7229928e0ff59d19a818aeff2b9833b7e
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 16 23:53:25 2011 +0100
s4-waf: move wbinfo buildrule to winbind.
Will be moved back later, once we have a more common samba-util.so
Guenther
(cherry picked from commit 9867b7bf34c80a12b936682ab6cb686ab45ca51c)
commit 476cd3bc76ab579b63a8f17a30a8fc6dbfb4526b
Author: Matthieu Patou <mat at matws.net>
Date: Sun Dec 12 12:06:31 2010 +0300
build: change lib order to fix build on netbsd
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Sun Dec 12 10:54:02 CET 2010 on sn-devel-104
(cherry picked from commit 24cac449a1910ce55cbc5e83180b6dd89940223f)
commit f134d5ad788ee4eb285e366bb1848dfd42ff93e7
Author: Björn Jacke <bj at sernet.de>
Date: Wed Dec 1 15:26:11 2010 +0100
s4/waf: add intl dependency for nss_winnbind
needed to fix a build issue on NetBSD and other platforms
Autobuild-User: Björn Jacke <bj at sernet.de>
Autobuild-Date: Wed Dec 1 16:15:19 CET 2010 on sn-devel-104
(cherry picked from commit ffc3f943cd9fbcc7dfdae6e843b2759a81e5b110)
commit aee5e955c8fabd5950c980fe21e2cf8e3db598f3
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 16 22:15:20 2011 +0100
s3-waf: add check for struct stat st_flags member.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Feb 16 23:04:35 CET 2011 on sn-devel-104
(cherry picked from commit 9e822f103298519db0671a1dced7d8a43cd96f6c)
commit 166242260411e42116d158ac703ce7dec8ac27b8
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 16 21:58:47 2011 +0100
s3-waf: add some missing checks for macosx.
Guenther
(cherry picked from commit afb77d135e31b7aa5f6dbd10113b0bf43a734986)
commit 34b24e6e83c90fef9d459c2085d21543d2d3561d
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 16 18:38:19 2011 +0100
s3-waf: add check for __NR_inotify_init declaration.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Feb 16 19:28:18 CET 2011 on sn-devel-104
(cherry picked from commit 5d3f9569252cc329cd95b405768a93c4c19c4b4e)
commit ee8c85aa35a573fee4d459be8035e9f007aa48bc
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 16 18:29:33 2011 +0100
s3-waf: add check for various sysconf() variables.
Guenther
(cherry picked from commit a029235b3e152988b6964c1cbdf2b20bbea9b55c)
commit 6eed4063e2704ec3c81be37c8a909df4019f1ee1
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 16 17:55:26 2011 +0100
s3-waf: add check for posix_fadvise().
Guenther
(cherry picked from commit 9d78512b2bb85547f955552801d8770f92e0b2f5)
commit 8bac04b79db1f8fca8f041ccc6ee4ab755e0402c
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 16 17:33:05 2011 +0100
s3-waf: add check for hires timestamps in struct stat.
Guenther
(cherry picked from commit 1cc0fb5a9aa9f7c90c27972b2c347fbcb3df5fe3)
commit 932f0a568c665635a2a92222ec1796b11fea2f17
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 16 17:03:24 2011 +0100
s3-waf: add check for "struct flock64".
Guenther
(cherry picked from commit 3b3f13a7fb6816563ae1334e821ea37f9175b16e)
commit 4a20c74b5a7a1869be0120233749cb12eb0bfd10
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 16 16:52:45 2011 +0100
s3-waf: add check for broken (glibc2.1/x86) 64 bit fcntl locking.
Guenther
(cherry picked from commit 8701b0d6454f846472a186f1e44dd4a9368631f4)
commit 15faf9e1f80c46e482b5c68a08cae67a7246e7fc
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 16 16:51:14 2011 +0100
s3-waf: add check for fcntl locking.
Guenther
(cherry picked from commit 4e32fd9d5cb9360fb32f765ba7018a8f609e287f)
commit 8a4076afa84f13c29b42b0f9b8416243e1525ceb
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 16 16:42:33 2011 +0100
s3-waf: add check for "struct dirent64".
Guenther
(cherry picked from commit b3f76482d250511ddf3b75f276c48c51db939691)
commit 518f1a2a35920ebf43c29b163a5091a9d92b5264
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 11 11:34:56 2011 +1100
s3-auth Fix memory leak in security=share and force user =
In these cases, the server_info was not stolen onto a long term memory
context, and so remained on the NULL context where it was created.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Wed Feb 16 01:08:19 CET 2011 on sn-devel-104
(cherry picked from commit 1354d3dc747344390302e3fd2a202ff372985a9c)
commit 320e5492d037a7bbd4a42af43db70d3a14f5477d
Merge: 25e21dc92ecd29f0b4be23bd730ff7886818e0eb ccb3d5edc9bd6e6c4da7aadd166151ee44819431
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 15 17:22:32 2011 -0800
Merge branch 'v3-6-test' of ssh://git.samba.org/data/git/samba into v3-6-test
commit ccb3d5edc9bd6e6c4da7aadd166151ee44819431
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 15 17:37:03 2011 +0100
s3-librpc: move server_id marshalling to own helper file.
(in preparation of merging struct server_id).
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Feb 16 00:02:33 CET 2011 on sn-devel-104
(cherry picked from commit e34ba447ec8a54db744f0103d91ec05f7cfd60ce)
commit 575ac170e3778f4931121f4ffb2b3fd105c3dac6
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 15 14:32:26 2011 +0100
s3-waf: fix the build.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Feb 15 15:24:11 CET 2011 on sn-devel-104
(cherry picked from commit 0085d6e21a131c76cef76d468bfed4fe5ece4eb6)
commit 29db91386cf2e639e7fa5dd683427e71a27cb7cd
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 15 18:16:43 2011 +0100
s3-amend: Don't overwrite existing values
This saves a ton of tdb transactions on smbd startup
Andreas, Günther, please check!
(cherry picked from commit f56432c348d0243b43a8cce42c0a438902854272)
commit 4f9a0a08f6a6e8084a2e12c2abab6c751f498b3e
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 15 11:15:19 2011 +0100
s3-selftest: move all skipped test to skiplist.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Feb 15 12:52:22 CET 2011 on sn-devel-104
(cherry picked from commit 0bfdb3e2495a1f40ead2ee6b8ad70614f43fc939)
commit 5103147a8d96b91bb9316329ebbb129050617d31
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 7 14:27:55 2011 +0100
s3-waf: TLDAP is only needed by pdb_ads (and smbtorture).
Guenther
(cherry picked from commit a32f0ff2f095350197ffe3776c125681571e9f83)
commit 42ce00a7ab32c342ee707a0389a48fc4a66b10bb
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 14 12:02:00 2011 +0100
s3: no need to globally include intl.h.
Guenther
(cherry picked from commit ca574482b889d42d9e8fbc6bea62acaa4bc15137)
commit acb9a569826dfaeaaeb30e1c193d7dd72e85a15c
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 14 11:29:00 2011 +0100
s3-selftest: when skipping tests, use the selftest/skip file.
Guenther
(cherry picked from commit c575d30a32092665d104a06a12139528730b1287)
commit 25e21dc92ecd29f0b4be23bd730ff7886818e0eb
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 12 17:30:11 2011 +0100
tdb: Fix a C++ warning
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Feb 12 19:50:55 CET 2011 on sn-devel-104
(cherry picked from commit 91cad71390bd2a0330891083c65d3f9000b74657)
commit 3493ca66c6d00417f8ccbef60ab00da01e8af696
Author: Stephen Gallagher <sgallagh at redhat.com>
Date: Mon Feb 14 10:29:49 2011 -0500
Return NULL if tevent_add_fd() is passed a negative fd
Autobuild-User: Simo Sorce <idra at samba.org>
Autobuild-Date: Mon Feb 14 17:47:03 CET 2011 on sn-devel-104
(cherry picked from commit d6a41c2723cda59b3cd6ae9a1e77b62f25067663)
commit 8e8ef4538485e8b26dc643064ecdd6d9ca2683eb
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 14 13:37:59 2011 +0100
s4-readline: remove leftover from readline merge.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Feb 14 14:26:12 CET 2011 on sn-devel-104
(cherry picked from commit d3c082e53984fa8069180ed712030f8bd2a109ca)
commit 05e221fbcf67135dbb737389c4e3514fcfc6bede
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 8 08:56:45 2011 +0100
s3-waf: add UTIL_TEVENT subsystem (as in ../lib/util/wscript)
Guenther
(cherry picked from commit 89db591b2a79a85cc9127c67a2697bbc6f326ec6)
commit ae4aa2e5f7e151a2b5224c6559330d3467643ad5
Author: Günther Deschner <gd at samba.org>
Date: Sat Feb 12 03:09:41 2011 +0100
s3-librpc: no need to globally include endpointmapper headers.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Feb 14 12:31:56 CET 2011 on sn-devel-104
(cherry picked from commit b3ea56ae16a35adc974287b83d6061ce5ffe454e)
commit ebe3122912b68ae4e46e9c12232f766f08ca9415
Author: Günther Deschner <gd at samba.org>
Date: Sat Feb 12 02:51:19 2011 +0100
s3: move some defines to a better place.
Guenther
(cherry picked from commit 80b4e1e9856ed180015e32af2d8762a9acd83910)
commit a9ecea546d79bad175b4fb2eeb99585027a33f30
Author: Günther Deschner <gd at samba.org>
Date: Sat Feb 12 02:24:26 2011 +0100
s3-proto: remove prototype for non-existing functions.
Guenther
(cherry picked from commit f10cba1a0133199f1e7a6db0d70c50834e41b4bd)
commit 251bc67da3eea2c1891cb75735abc7c42156442e
Author: Günther Deschner <gd at samba.org>
Date: Sat Feb 12 02:23:57 2011 +0100
s3-librpc: remove duplicate prototypes.
Guenther
(cherry picked from commit 9d9659896bd8d765a77b967d3c98806acc327bde)
commit fdc14dc00f91ebee3f952b2daeeac27ae7c17972
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 12 14:28:40 2011 +0100
s3: Make "smbpasswd <user>" work with pdb_ads
(cherry picked from commit 22b69b2927bf10aa78be686894a425cfda02d916)
commit bd891b41717ae921da1bf5e17c4644ff05d18b8d
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 11 23:48:26 2011 +0100
s3-waf: try to fix the netbsd build and add -lintl to the 'net' binary.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Sat Feb 12 00:48:11 CET 2011 on sn-devel-104
(cherry picked from commit 13e820cd104d086603d83464b72581a1d4d4fc2f)
commit ca683c44a8d2ed2601605577c62bfc5865d28077
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 11 22:59:31 2011 +0100
libcli/auth: fix PAM_ERRORS subsystem build.
(waf-)god knows why, without this (fake) dependency, ./configure && make fails
while including replace.h while ./configure.developer && make succeeds...
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Feb 11 23:50:40 CET 2011 on sn-devel-104
(cherry picked from commit 3e9faf7efd5c424232503d3aa3950d272ad8d6e8)
commit d580ace3a61dc75445668bc37e71d195be78eaa4
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 11 15:49:00 2011 +0100
s3: Skip the CHAIN1 tests
They are broken with signing. I'll fix that.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Feb 11 17:42:09 CET 2011 on sn-devel-104
(cherry picked from commit 822a5113241c2ec6c7d0dba4c0e9e1162d5c2c1f)
commit ac14dcf763ae3ea0c029fc2775f3dede5ecc93d2
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 11 16:10:07 2011 +0100
s3-waf: next attempt to fix cups and non-cups builds.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Feb 11 16:57:40 CET 2011 on sn-devel-104
(cherry picked from commit 6531ac6a650a04a332082f38fe4ffabdaceec6de)
commit 04605c329867694c23a7b889159eda855b519d03
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 11 16:04:28 2011 +0100
s3-rpc_server: fix some buildwarnings in non-developer mode.
Guenther
(cherry picked from commit 7ff5bf56c85851a58f80ed9122f0817f60d11d69)
commit f7b6da4b5cadbf7d8faa7dc2b0034feb65d7fc75
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 11 15:30:27 2011 +0100
s3-selftest: revamp selftest wscript with s4 one.
Guenther
(cherry picked from commit 16af2539dc94bb35a629bc5a16efae8dd8cb5f91)
commit 93bfcc06155a44a76f150b23bb5267f439f454d3
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 11 14:37:13 2011 +0100
s3-waf: try to deal with underlinked cups libraries.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Feb 11 15:28:32 CET 2011 on sn-devel-104
(cherry picked from commit 414f39872dd2fa8541cfd93e3d3b22cc941c5477)
commit 055e35dbc5f8e1ef282020ac62de306d98afb9d9
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 8 22:37:09 2011 +0100
s3-waf: move all error mappings to errors subsystem.
Guenther
(cherry picked from commit 59c8839dec275fd252e4570cbc9561f66a689a56)
commit 31e8e12fc487dc0805c2ce1a88918e389368f6ea
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 8 01:04:57 2011 +0100
waf: pure cosmetic reformatting of the two samba-util object lists (to ease comparing).
Guenther
(cherry picked from commit 3eb7e125ab2488221a70fdf5fb7ddcb9194a5b6a)
commit 91751c915066dd8f52fd19d637df6bfa7f764740
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 11 10:39:37 2011 +1100
s4-build: fixed export of krb5pac.h, needed by other public headers
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Fri Feb 11 01:45:55 CET 2011 on sn-devel-104
(cherry picked from commit 5507d6850fa2872c65b0a0e2fcac59e8db7f6bf4)
commit 1a90fff5d5ebfabdf461e61204b18cd43c21f918
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 4 15:28:32 2011 +1100
s4-waf Don't include ../librpc in paths
The paths here are relative to the librpc directory the wscript_build
file is in, and so these don't actually change anything.
Andrew Bartlett
(cherry picked from commit 4ae013c01b2936e7fd80e674a617f10b54179010)
commit 41906e2907142cd3328219dbe21519109d84ca9d
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 11 12:09:25 2011 +0100
s3-waf: use bld.env.HAVE_LDAP in some more places, hopefully fixes the builds w/o ldap.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Feb 11 13:08:38 CET 2011 on sn-devel-104
(cherry picked from commit 8015514c5b19acf37e6121eefdc8464fb89e60c2)
commit 8a95c44ef7cf3be361c01511dfddc7d41b677730
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 11 12:07:39 2011 +0100
s3-waf: rework the way SMBLDAP subsystem is built a little.
Guenther
(cherry picked from commit 1bad50f648fff0a145d56bf3094c14b6e0845fa2)
commit 8fa7d4e7ae57f668691e61fab68e81371fb3e5bf
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 11 12:05:10 2011 +0100
waf: substitute '/' in -D static defines as well.
Tridge, please check.
Guenther
(cherry picked from commit d08ddf08a8f008909e3cf4ff1c1933566f1ec275)
commit 071c2fefbde566d699ffd6af3e9491c248851e01
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 11 11:16:08 2011 +0100
s3-libsmb: fix ifdef check in ads_dc_name.
We are accessing an LDAP structure here, so we better check that LDAP support
was there as well as Kerberos support.
Guenther
(cherry picked from commit e4bf69285b25f709740fc688b304e2f000112380)
commit a83db7edb121eebb5243f9a1dfd6ec0058f0e7e1
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 11 11:14:57 2011 +0100
s3-libnet: fix a WITH_ADS / HAVE_ADS mismatch.
Guenther
(cherry picked from commit c7d0850ee8d938c8742d62cc887ed784ec8b1b25)
commit 168bb60b658d7b39a1480b915001402b5ad57412
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 11 11:14:27 2011 +0100
s3-libads: make ads_guess_service_principal static.
Guenther
(cherry picked from commit f076c76260f24e15be11394ea0bb9456564dda49)
commit feb446ae83b72ef9e157dac97bfcee86e09c7afc
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 11 11:25:13 2011 +0100
s3: Avoid a select call per smb
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Feb 11 12:13:54 CET 2011 on sn-devel-104
(cherry picked from commit 16229e4cefb01c3bdf1cb1cef81f0eab1f1cc0e6)
commit f6805ed53a3362a5d32240dd2ec89a89a6496b22
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 11 01:31:37 2011 +0100
s3-waf: try to deal with system w/o ldap; also move module processing to the end of wscript.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Feb 11 02:30:40 CET 2011 on sn-devel-104
(cherry picked from commit 44f2344a927fb28fa698de4ac6378b92d4333062)
commit c285601802ab8199a5ac877b8010bfbefecc1cb7
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 23:38:08 2011 +0100
s3-selftest: remove some more unused test functions.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Feb 11 00:33:58 CET 2011 on sn-devel-104
(cherry picked from commit 06d4e4cb2e80d5e8965877e1f71e42a6342351fc)
commit 5c62f0622efe0bea85bb9f24a66a7b8205608040
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 23:37:52 2011 +0100
s3-waf: try to fix the {net|free|open}bsd build.
Guenther
(cherry picked from commit 6bc6d5dcfb27fba14ea32b4c07cbce012386e9b5)
commit e4caec200a8fb5c2d38d673c8322211d4d1ff4f9
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 22:43:38 2011 +0100
s3-selftest: run the three net tests individually.
Guenther
(cherry picked from commit 961f6295a9cdbaf63c83e49386c2732737c2d4df)
commit b7e1e646a89ed258b27c37cb61c6d37eb886c12a
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 22:42:58 2011 +0100
s3-waf: dont try to redefine 'pam', we checked above...
Found by solaris waf buildfarm build.
Guenther
(cherry picked from commit 80d87e68dee28cde8f897dc9cbd5207b62491f8e)
commit b5b911df0c86e8347339048a952b4fa58b4a9263
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 8 14:17:14 2011 +0100
s3-rpc_server: move services into individual directories.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Feb 10 22:13:17 CET 2011 on sn-devel-104
(cherry picked from commit 4063bde3edd15b241f2b93bb5aedfef57ec4df91)
commit 704d15ed12805811f046580e033cdfc4700ba822
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 21:10:53 2011 +0100
s3-waf: do not make pam support mandatory.
Guenther
(cherry picked from commit 1fc14a6543bfc5f087ed0ddf02bc7ce28a4d9ed4)
commit 115a5f771b67a89ecb8cd2cc076c2a882a21bfe7
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 11 08:44:36 2011 +0100
s3: Add more checks and better fallback to addrchange
From http://netsplit.com/2011/02/09/the-proc-connector-and-socket-filters/ I
learned a bit more about netlink...
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Feb 11 10:47:09 CET 2011 on sn-devel-104
(cherry picked from commit 90c8de54a002d2038a1382c0d147026921a64227)
commit e0935a843db65887a3237b99eeb4af8e2a112208
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 10 22:21:19 2011 +0100
s3: Align the args in tldap_modify
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Feb 10 23:20:05 CET 2011 on sn-devel-104
commit af84bb8605c12738a6d1c74bb3c562f641127626
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 10 22:12:14 2011 +0100
s3: Align tldap_add and tldap_add_send
commit 4da4e94adfec603bdb6603cc4de6cb7f79bad8d2
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 20:37:02 2011 +0100
s3-waf: fix cups checks when lib is there but headers aren't.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Feb 10 21:24:37 CET 2011 on sn-devel-104
(cherry picked from commit 4de3e733da8d37a16bce0fb7383d176f8a7ac0b1)
commit 6d59ab9cfb9135251bd68f2e8f8fb0ac4ac3b1b7
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 18:23:12 2011 +0100
s3-waf: better checks for gssapi support.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Feb 10 19:24:12 CET 2011 on sn-devel-104
(cherry picked from commit 5ecda05967211834d085e5cdc7ea1862acf6fcc5)
commit 676a7ad1f63dfc52e36d0f44f4bd716f8320d669
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 18:01:46 2011 +0100
s3-system: fix malloc/talloc mismatch in sys_popen().
Guenther
(cherry picked from commit fa0c6c1a9e9c853d3f3bf66ff20ed5a024c68924)
commit 1293e76932c14a4383c2138a81e5a082b2070047
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 17:46:22 2011 +0100
s3-oldtest: remove unused tests_all.sh file.
Guenther
(cherry picked from commit 97b03d5bfb820be521ce3314dbb09e6558e7c11e)
commit 4bb610a66158dfdf2ae09fe0574e2821574679df
Author: Andreas Schneider <asn at samba.org>
Date: Wed Feb 9 09:46:43 2011 +0100
s3-rpc_client: Fixed an uninitialized variable.
Signed-off-by: Günther Deschner <gd at samba.org>
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Feb 10 18:32:08 CET 2011 on sn-devel-104
(cherry picked from commit da9cd736d2e9e32de9b5259aa06f9cf4634377bc)
commit 84a7c49c297804e9407bc8c003a5bd3c09f5f67c
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 8 11:54:15 2011 +0100
s3-rpc_client: Added dcerpc_winreg_int_openkey() which dectects the hive.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 8cffe147eb609fe6aef05124d2ba93ec21b88715)
commit 2130f3f299f7d66ee8f13524fe4652c5e0f484eb
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 8 11:53:40 2011 +0100
s3-rpc_client: Fixed winreg int documentation.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 8ed5808390ccb449c7c6dfdc510101c1ad8feb4c)
commit 183d168d2f8e089407cbdfbcc051a8da089a2014
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 8 15:33:51 2011 +0100
s3-rpc_server: Fixed possible segfaults in svcctl server.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit f0a90551b279c2dc7ab9d4c0e4b16b3e724548e2)
commit 0d7a2d28867fbfdf609b988facbf27adb5a56d47
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 16:09:34 2011 +0100
s3:smbd: fix switch indentation level in get_ea_dos_attribute()
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Thu Feb 10 17:46:12 CET 2011 on sn-devel-104
commit a1305f2a3dcc4eb4636e96688860179cc2513628
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Thu Feb 10 15:55:50 2011 +0100
nsswitch: fix a segfault in the krb5 locator plugin
after the number of retries was exceeded, the loop did not
bail out correctly with an error and went on using a null pointer
commit 61629ff07d56862b6eeb5bd4600571a5f81fe9b5
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 10 14:59:39 2011 +0100
s3: Slightly simplify winbind_write_sock
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Feb 10 17:00:46 CET 2011 on sn-devel-104
commit b25aeae433ea0fd9c386fb687a1e2c6aea93aa1d
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 10 11:00:18 2011 +0100
s3: Fix some nonempty blank lines
commit 1daeb4a87f3ae3afeb6fe00c6afce9c7a04e4f9d
Author: Sumit Bose <sbose at redhat.com>
Date: Tue Feb 8 10:55:06 2011 +0100
replace: Add missing eval to m4 script
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Feb 10 16:14:21 CET 2011 on sn-devel-104
(cherry picked from commit d02b5cd65574a3f0af3fa73439af251e728c87d8)
commit a87aee592f39899d9d32eeb88469f65c22e45630
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 14:20:34 2011 +0100
socket_wrapper: avoid c++ style comments.
Seen on the aix s3-waf build where it causes the build to fail.
Guenther
(cherry picked from commit 2f6d76a95fea8aa1696c039516818d9e3bfe35d1)
commit 310a478c3df664f81add385304a4cfca38df3618
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 12:48:01 2011 +0100
libwbclient: doxygen: mark wbcSetGidHwm deprecated
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Thu Feb 10 14:42:24 CET 2011 on sn-devel-104
commit 75770b88f07e80451fdcb16097e896a9d3e80037
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 12:48:01 2011 +0100
libwbclient: doxygen: mark wbcSetUidHwm deprecated
commit a76e707ccad731452b7875b8bf30655ca6dbe3cb
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 12:48:01 2011 +0100
libwbclient: doxygen: mark wbcRemoveGidMapping deprecated
commit ea49d7ca06e6d621fed24efc7c53fe14d0b86709
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 12:48:01 2011 +0100
libwbclient: doxygen: mark wbcRemoveUidMapping deprecated
commit 03e8e450042bbcf6390625ad06b8d8ee16042cd9
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 12:48:01 2011 +0100
libwbclient: doxygen: mark wbcSetGidMapping deprecated
commit 3d941615de35fc898e0ae43c9b359a67656be021
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 12:48:01 2011 +0100
libwbclient: doxygen: mark wbcSetUidMapping deprecated
commit ed4268af3b041b94357e1129ad6b75840eb42c2a
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 11:08:02 2011 +0100
Revert "libwbclient: bump the libwbclient SOVER 0 -> 1 due to ABI changes"
This reverts commit 5dd63c6c1439f5dde00e56144c38771d81455ada.
Undo the library version bump.
commit f4ca9ef73ff2d5f859ed86bd943433ad377dc5fa
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 11:04:51 2011 +0100
Revert "wbinfo: remove --set-uid-mapping - winbindd does not implement that any more."
This reverts commit 0e90d01d53ee197a6451b7c55c2afa74e0d8b0bb.
Undo the library version bump.
commit ce986e7999ccc6f8b8713c1b8a6e342c94a4b0a5
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 11:04:47 2011 +0100
Revert "wbinfo: remove --set-gid-mapping - winbindd does not implement that any more."
This reverts commit 9de1fd4352346cb71b232b7198155e157396f6ec.
Undo the library version bump.
commit 95b16ec07066aa3e8b297871d2d36208b6fee933
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 11:04:44 2011 +0100
Revert "wbinfo: remove --remove-uid-mapping - winbindd does not implement that any more."
This reverts commit 36e2baa8da3de559ce0f6c927f6262a8e4648a97.
Undo the library version bump.
commit 6284c4ddc0162e268567531dc52d1bf374b49956
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 11:04:41 2011 +0100
Revert "wbinfo: remove --remove-gid-mapping - winbindd does not implement that any more."
This reverts commit 48ad64aa78568c4ce743345448c9d39305752d73.
Undo the library version bump.
commit 05d56cbfb8e266ca0d41c68061cb2a44e92550a9
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 11:04:35 2011 +0100
Revert "libwbclient: remove two unused defines"
This reverts commit 58bf6f9ff0b29df14eee2900fb847b96ef28411f.
Undo the library version bump.
commit 82ea5dbfa16b198d685410d87433494eae6dc06d
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 11:04:32 2011 +0100
Revert "libwbclient: remove wbcSetUidMapping() - not implemented any more"
This reverts commit 25a0dc44f7e180d96dcccb8701e9817ecfd54955.
Undo the library version bump.
commit dc260eccafd3e08c896734e59d74e49555be2bcd
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 11:04:27 2011 +0100
Revert "libwbclient: remove wbcSetGidMapping() - not implemented any more"
This reverts commit 52e1be2139d370bf0ce99371bc9ab73db41c6236.
Undo the library version bump.
commit e7c8631101ac54d0c585bfe8fc8c3711d2830595
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 11:04:23 2011 +0100
Revert "libwbclient: remove wbcRemoveUidMapping() - not implemented any more"
This reverts commit 1ed5961df2da73b61666a4565d0633e34f72d04d.
Undo the library version bump.
commit b23921462c84f61c6859a2318bd99942fc1f2288
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 11:04:19 2011 +0100
Revert "libwbclient: remove wbcRemoveGidMapping() - not implemented any more"
This reverts commit 393c866c517636e94b48ca6030a57b712892d568.
Undo the library version bump.
commit c0a47f25114befe4b20873ddcf682ab0ad18cffe
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 11:04:15 2011 +0100
Revert "libwbclient: remove wbcSetUidHwm() - not implemented any more"
This reverts commit 6558323c84cdd929716c59ba66d2ae6b699931d2.
Undo the library version bump.
commit d239ac8fc5d7fe7a2108c7e1be57093e9c7413f4
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 11:04:11 2011 +0100
Revert "libwbclient: remove wbcSetGidHwm() - not implemented any more"
This reverts commit 68a9b726be84aaaaa340f19e175da448409430b3.
Undo the library version bump.
commit a777cc8ccc423e3f469f36ca66ada7fcf0cf2e27
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 11:04:06 2011 +0100
Revert "libwbclient: bump version to 0.6 -> 1.0 due to ABI change (removed symbols)"
This reverts commit 128bed20c4570fa23bea4d0d49deae811a67a624.
Undo the library version bump.
commit 09640cf2434957c62ca75c8341cd1cc2eaa44bfa
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 11:03:59 2011 +0100
Revert "nsswitch: libwbclient has vnum 1 now."
This reverts commit c9cb42a27634a0a711d48762c779c6b2f7c338e2.
Undo the library version bump.
commit 0572bc56993b92357bbd9d36d44c4b9ae7be3fcc
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 10 10:59:18 2011 +0100
Revert "nsswitch: remove unused code from wbinfo.c"
This reverts commit 3bdd2efff8d11448275965b464ac194a2ee0d3ae.
Undo the library version bump.
commit 3d8a5c6311c9aa495532c8ea9cc47b1fef3c0dd1
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 12:54:27 2011 +0100
librpc: move preg.idl to main directory.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Feb 10 13:56:49 CET 2011 on sn-devel-104
(cherry picked from commit ad0a3185ce4d9918597d1de3decb9080b88277ef)
commit 3cb75d835f733a410de0dc914e544ac8c7adb5e9
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 12:42:47 2011 +0100
s3-waf: fix krb5 checks logic.
Guenther
(cherry picked from commit 7de21e62946fdd74250be56bd33e9598237307c5)
commit eebfe86ae676c781042fae080f60818c48bb1152
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 10 00:11:38 2011 +0100
s3: give ../librpc/ndr/util.c its own header.
Guenther
(cherry picked from commit fdd4d56405544b8c25fa3f24889726cb98506345)
commit 6c231c2384a1e7bdc8ed5105a09500e82082cf66
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 9 16:31:06 2011 -0800
Put OpenDir() back the way it was - don't overload with an fsp arg. Create OpenDir_fsp for new usage.
(cherry picked from commit 558eeb860e3e3475f5ab39c52fab3414b5b8b478)
commit 739f7dc567f9e2eb43a0010a56d9b04816ff14d7
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 9 15:06:40 2011 -0800
Make it clear we're using the open file pathname.
(cherry picked from commit 417621d799436c2583514ede02301cf1bb30efb2)
commit 61d4edfefe97b7e67b0add97bd27f18d361f4dff
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 9 15:05:58 2011 -0800
Allow SMB2_FIND to actually use the open fd handle if we support fdopendir. Fallback to pathname opendir if not.
(cherry picked from commit 1607ebfe8632fa13c5ffb466b8c9f416d7ab20aa)
commit a2ff5cbfa675e96b348151878c939c8e15efb82b
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 9 15:00:56 2011 -0800
Correctly plumb in VFS_FDOPENDIR.
(cherry picked from commit 61c1f312d2665197d34245537a8f5b641bda1243)
commit dad0ef4f89118ac84fe5226a97826445a87f7f7a
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 9 22:43:41 2011 +0100
s3-waf: make ads support detection a little more robust.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Feb 9 23:38:50 CET 2011 on sn-devel-104
(cherry picked from commit d0406ab7f035c7a777b9494712e7b9b52df95a19)
commit ef7b513227da4073363865bcb291dde852aa0994
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 9 20:56:57 2011 +0100
s3: move some stuff out of smb.h to better locations.
Guenther
(cherry picked from commit 65bb6b35241a29a514fef3be547398c9cd3c2e09)
commit 6445bb187661e290c70fc6f2f55b2583a315d41b
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 9 20:51:47 2011 +0100
s3: remove unused struct uuid_flat.
Guenther
(cherry picked from commit 4303d34da9c0da048348c63468c25381d8d0084c)
commit 0696a5cde3647fadd21e0b8becb2027646449cb9
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 9 20:51:12 2011 +0100
s3-waf: make sure we dont activate dnsupdate support w/o gssapi.
Guenther
(cherry picked from commit 9239db35e6c77e645a85dbb9a315902d24b87503)
commit ff769d5131a20da5128bc1c4ede5ce27186ee1d8
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 9 12:18:55 2011 -0800
Oops. Need to test for if(!NT_STATUS_IS_OK(..)) for error.
(cherry picked from commit 5218fe4d9282c863c8c2f55db08983b20eb72f26)
commit 0797ddd9cb4fbc66e069dacebe6b5df49c39d322
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 9 10:43:56 2011 -0800
Fix up some buildfarm warnings.
(cherry picked from commit ea10006ef857d112477f9cb3294a1439b34259e8)
commit 127691c1b76e9be52b7cf016a2b7f26961ad0d8a
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 9 10:28:08 2011 -0800
Don't use asprintf in this library - breaks the build on many systems. Fake with malloc/memcpy.
(cherry picked from commit 8d0c16a68bac7c75b4b637c6d6e3377c5461e5d4)
commit bd01d8638f49714541913922a22e39af66068e8e
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 8 17:04:19 2011 -0800
Move to opening an fd on directory opens. Get more careful about symlink races.
commit bf48da1c6c4fc67fd8db9277594e4edd34f7deb0
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 8 16:51:17 2011 -0800
Remove unneeded stat call.
commit 36915388da90b4e5f71ba40936c34391a8c16a83
Author: Volker Lendecke <vl at samba.org>
Date: Wed Feb 9 15:50:34 2011 +0100
tevent: Fix typos
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Feb 9 18:13:18 CET 2011 on sn-devel-104
(cherry picked from commit dcd6764dad7ec636201faf724b011cf03edd4beb)
commit f35ecd0986704850a18a500ce6636266c5010528
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jan 30 10:59:14 2011 +0100
dlinklist: Change license to LGPLv3+ (checked with tridge).(cherry picked from commit d2740976cde8b875c91cff311a688e8a10e4bf30)
commit 2dd37f675c783a9ab6b46959d69a71f2c3e24517
Author: Andreas Schneider <asn at samba.org>
Date: Wed Feb 9 14:21:24 2011 +0100
s3-rpc_server: We need a messaging context for rpc.
Autobuild-User: Andreas Schneider <asn at cryptomilk.org>
Autobuild-Date: Wed Feb 9 17:26:00 CET 2011 on sn-devel-104
(cherry picked from commit edbd6f4a93fffb1ccbf678b462ccffe09977c9d0)
commit ce6e8667d0c8e6245c79fcbc5a9d0a6d37fe3d99
Author: Andreas Schneider <asn at samba.org>
Date: Wed Feb 9 14:08:34 2011 +0100
s3-rpc_server: Fixed possible segfault with client_id.
(cherry picked from commit 1b5609aa4d72fe3e8bd916440844cc380d75d96a)
commit d0d92ce9d4f68a0e1df7b0881f75987c8d3fd768
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 9 17:56:45 2011 +0100
s3-waf: we check for attr in ../lib/util/script already, so we cannot set to EMPTY here.
Hopefully fixes the irix build.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Feb 9 18:58:15 CET 2011 on sn-devel-104
(cherry picked from commit a0e576178b886a68af5b5fce7e315fda2516df6d)
commit 2465fe4bd321fff25a7dd155ed0230fd09a31ae4
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 9 17:37:40 2011 +0100
s3-waf: as long as we dont have --with-featureX=yes|no|auto handling, avoid exiting.
Guenther
(cherry picked from commit ada4c66ea3e91725e8ce950a71a4bbd8324b5e66)
commit 0bde5e0006fbd0cf0375e5aec4060edafe7ec20f
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 9 17:43:54 2011 +0100
s3-waf: check k5crypto in some more locations.
Guenther
(cherry picked from commit 9081cb0fd8580d3915d076d7a17af08cca3ef64f)
commit ef98f6434e67b6bbdc61b9c7bc4471768f25fcfa
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 9 17:43:30 2011 +0100
s3-waf: support non-default krb5-config and cups-config locations.
Guenther
(cherry picked from commit 62cd1e08b3df15ae1c35213f7ebf6d495ec5e703)
commit dd7f8ae5b6a1631c43a02404503f53a0579e8d39
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Wed Feb 9 15:35:24 2011 +0100
s3:utils enable sharesec for registry shares
Signed-off-by: Michael Adam <obnox at samba.org>
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Wed Feb 9 16:41:31 CET 2011 on sn-devel-104
commit 8a5c06486096c54749f174eb8b1ad7f82d17e253
Author: Gregor Beck <gbeck at sernet.de>
Date: Wed Feb 9 00:04:48 2011 +0100
s3:net idmap: implement net idmap delete
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Wed Feb 9 15:06:06 CET 2011 on sn-devel-104
commit cdd4e8f543597cecfad8c1a79160d78ad1e8a358
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 9 13:47:21 2011 +0100
s3:net idmap dump: report correct database file when failed to open idmap db.
commit bfeec5d71254f0574607b31d572a61d1966c8b80
Author: Gregor Beck <gbeck at sernet.de>
Date: Tue Feb 8 12:40:23 2011 +0100
s3:net idmap dump: use net_idmap_dbfile
commit 400bc40645132bea5cec1be87a1381ddcf4e1952
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 8 23:24:57 2011 +0100
s3:net idmap restore: correctly abort operation if dbfile could not be determined
commit 307a6a09bb4f9b77efa0f9bfd5eb1ddf65a0327f
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 8 23:16:31 2011 +0100
s3:net idmap: fix error reporting in net_idmap_dbfile()
The last case which results in dbfile == NULL is not an
out of memory case but means no --db has been specified
and the idmap backend is not supported for auto-determining
the idmap tdb file.
commit 934378881eeca28974bba43ce61559fe794b0539
Author: Gregor Beck <gbeck at sernet.de>
Date: Tue Feb 8 12:06:07 2011 +0100
s3:net factor out net_idmap_dbfile
commit 5ac5852d434208502cdb206cb0c810927e2ccda5
Author: Gregor Beck <gbeck at sernet.de>
Date: Tue Feb 8 12:03:08 2011 +0100
s3:net idmap restore: fix segfault on missing input file
commit a185d48ba466d5718a4bb0f6cc8b26bac99ae963
Author: Gregor Beck <gbeck at sernet.de>
Date: Tue Feb 8 12:01:34 2011 +0100
s3:net add option --db
commit b6a199c475bca2dc78936522b018dce6b8cf9eef
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 9 13:45:22 2011 +0100
s3:testparm: add "--option" to testparm
This way one can test the --option feature with testparm.
E.g.:
testparm -s -v --option="parameter=value" | grep parameter
should print "parameter = value"
commit f1401f26545f4b2261ca8df5229b0d9c553d2984
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 9 13:44:42 2011 +0100
s3:popt: add POPT_COMMON_OPTION to provide only the "--option" feature
commit 0e6a7c3a4643826ca0c274a39c3b0385679ce66c
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 9 13:42:38 2011 +0100
s3:loadparm: skip leading spaces in parameter values from the command line
commit 9c5c31c0d21033f53e76b021a71e98fbdc90dd4e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 9 06:56:25 2011 +0100
s3:rpc_server: create binding_handle in rpc_pipe_open_external()
metze
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Feb 9 12:30:50 CET 2011 on sn-devel-104
commit 3710996d9d2b32598a93d03ee3735b873b24c262
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 9 06:55:33 2011 +0100
s3:rpc_client: make rpccli_bh_create() non-static for now
metze
commit e58ac20a8ac5ae4cf717f7f8f9fb4679a8106068
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 8 15:07:48 2011 -0800
Add fdopendir to the VFS. We will use this to reuse a directory fd already open by NtCreateX.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Wed Feb 9 00:55:22 CET 2011 on sn-devel-104
(cherry picked from commit a674a56a97c78a44bf43f1c175d106fbe70c7485)
commit d0e5477d89f3e0f8c06ebb3c2345ae4e0896b475
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 8 15:05:00 2011 -0800
Pass fsp to dptr_CloseDir(). Cope with setting the fd if we're closing an fd that opendir knows about.
(cherry picked from commit 224fc03cb56b0d76f6ad7f18dd0528d6b0e57fb1)
commit 07fa270bc016e4f81b1e1c675a965081b340287a
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 8 15:04:47 2011 -0800
Add configure checks for fdopendir.
(cherry picked from commit ad3d1adea3cdf42aee644dd853193b53a142c2f1)
commit 6bbd85d00ac0399a6f1021ebb089a85000db05ef
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 8 14:43:07 2011 -0800
Add fdopendir().
(cherry picked from commit 1911d483e552a6ec73b2c107b968268e7e9111e5)
commit 84b98e548e27bfaf01cdceddc97dd37cc508d6fa
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 8 23:08:21 2011 +0100
s3: Fix some nonempty blank lines and some typos
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Feb 9 00:01:45 CET 2011 on sn-devel-104
(cherry picked from commit 5a0ee95b95d22f8eee7cc86d350fb0e60ab54b69)
commit c7cb524dd3d7d2bda0ee1ed1e8919def5f85a67c
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 8 14:56:32 2011 +0100
selftest: remove make oldtest.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Feb 8 22:16:31 CET 2011 on sn-devel-104
(cherry picked from commit 698d339ffd8abf59f0f000d4155241c267975c68)
commit 08801aa1f92721c467b5bc748dfda3ec0561c39d
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 8 14:55:12 2011 +0100
s3-selftest: let valgrindtest use the new make test.
Guenther
(cherry picked from commit 480671481e69f0646ab78086dc275f798f713af6)
commit c7344c49188a2b2149327db82712f693eba96f17
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 7 20:46:36 2011 -0800
If possible (O_DIRECTORY exists) open an fd for a directory open.
Start of the move towards handle-based code for directory access.
Currently makes fstat/fchown code work for directories rather than
falling back to pathnames.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Tue Feb 8 06:34:41 CET 2011 on sn-devel-104
(cherry picked from commit e68f6adca9494166bf7c24c358ea1af718970b0d)
commit 5624aa8eafa9220d93db4bd47e6a383e9bca47ef
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 8 17:19:23 2011 +0100
s3-spoolss: Dont wipe out all drivers when only one should be deleted.
Great catch from Bjoern Baumbach <bb at sernet.de> !
Andreas, Simo, please check.
We now have a torture test (rpc.spoolss.driver.driver.multiple_drivers) for this.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Feb 8 18:11:48 CET 2011 on sn-devel-104
(cherry picked from commit 8b64d0607bc3b5e3182d8a879a7fa382dbdf0fc7)
commit abd4a396ca25433dfcbbffe76911baea065a706e
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 8 17:16:51 2011 +0100
s4-smbtorture: add torture test to check proper add and delete driver operations.
Thanks to Bjoern Baumbach <bb at sernet.de> for pushing us to test and verify this.
Guenther
(cherry picked from commit 9e6d61fb8571683ddf02a7796e569ee8e4da907e)
commit 1065ecca34e1aa0ce9807867961a93be67359d69
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 8 15:16:44 2011 +0100
s3-selftest: mark the driver timestamp test as knownfail for now.
Guenther
(cherry picked from commit 541bf8068d5f9236ba63630f09cbc3cf02a8882f)
commit 4d9492ed6b965b912d7f31d5664f373306f0f722
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 8 15:16:20 2011 +0100
s4-smbtorture: also run the driver timestamp spoolss test against samba.
Guenther
(cherry picked from commit 7d107cda8936edfe3e0ce916600cc3cea91cd490)
commit 519a85b10ed184c9c22f14805191f6dc28cac8a5
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 28 14:02:55 2011 +0100
s4-waf: split out wscript_build for ndrdump binary.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Feb 8 14:50:54 CET 2011 on sn-devel-104
(cherry picked from commit 4086c1e382a22f08a5b138bb6617451de2042ad9)
commit 0c3034fee492fc0a8814c13d57bf3880b9be6510
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 8 14:00:02 2011 +0100
lib/compression: add shared wscript_build.
Guenther
(cherry picked from commit 56fe080d87952c6f1f1175444327769c67c55167)
commit 3a013a1a765e036a8af547985778c91707d7d7d3
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 8 11:49:33 2011 +0100
libndr: apply some const and make is_valid_policy_hnd a callback to policy_handle_empty.
Guenther
(cherry picked from commit 947ba448a4d52bfbf03f6ed96e96d172a0c69dce)
commit 67b67ad9cf8edb09f49276f27252a4b3b34780e0
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 8 10:45:39 2011 +0100
pam: share pam errors in a common location.
Guenther
(cherry picked from commit 34722c72f687ad8a357656152aed9f6bafab1cad)
commit f31861e02e01cba20f42495b37ddf4b4119dac12
Author: Gregor Beck <gbeck at sernet.de>
Date: Fri Jan 28 10:58:03 2011 +0100
s3:net: remove unused net_idmap_help
Signed-off-by: Michael Adam <obnox at samba.org>
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Tue Feb 8 11:50:37 CET 2011 on sn-devel-104
commit 3720d13da442eba35c17680add9750bbbded5e08
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 8 00:04:20 2011 +0100
libndr: share some uuid helpers.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Feb 8 09:52:56 CET 2011 on sn-devel-104
(cherry picked from commit be5edba117d3af9c9289bc5d37e7e037cb0a05f1)
commit 0474eca66f6c1d54c6fd045a4bf5c2e13241c36c
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 7 23:27:57 2011 +0100
ndr: merge ndr_map_error2string and ndr_errstr.
Guenther
(cherry picked from commit 84dbc2a82de0531c49fa7aa16fbdf8aba6324aac)
commit 0f2753dcea164e0a769afbaeab59bb7822fd64c6
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 7 23:21:41 2011 +0100
ndr: move null_ndr_syntax_id to the common libndr location.
Guenther
(cherry picked from commit 8b55ae178586d25854a929ace05f203d547242ad)
commit a4216a338cbb6194a10f50704d454cb77d403b32
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 28 23:38:21 2011 +0100
ndr: merge duplicate ndr_map_error2ntstatus() functions.
Guenther
(cherry picked from commit 724c9821313b5289dc6fa29bbe930c19dfd230fb)
commit eb2d8f7844d1e02f60f091e84d4c1a2bc858e10b
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 7 17:34:22 2011 -0800
Use corrcet function instead of cut-and-paste code.
(cherry picked from commit 1121091f8bf857948c335f326088cfafa78ed013)
commit d39d8dba6e5b762ab3c6e2b4e10527c4a46d22e6
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 7 17:33:26 2011 -0800
Fix leak in error path.
(cherry picked from commit 0a7f1af82ca94a9ea3f2fbe6b4bf64ff17c76cce)
commit c9b1ab02ef2fa88d0e6820d874e6a6c4665096e3
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 3 05:23:50 2011 -0700
libcli/security: Make add_sid_to_array_unique use a uin32_t counter
Logical consequence of the previous commit
Signed-off-by: Michael Adam <obnox at samba.org>
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Mon Feb 7 19:24:19 CET 2011 on sn-devel-104
(cherry picked from commit 1d58fcc9259d929093d381f0bd6690345e7c8040)
commit e1fad192989c59ab3af38498dbcd255d6940de42
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 3 05:22:36 2011 -0700
libcli/security: Make del_sid_from_array take a uint32_t
This aligns it with add_sid_to_array
Signed-off-by: Michael Adam <obnox at samba.org>
(cherry picked from commit 91a56b420a7a6f71d69b0bb88143748d834d4a80)
commit ac001745b07b481125ae48afa12faac8e6770bbd
Author: Michael Adam <obnox at samba.org>
Date: Mon Feb 7 13:30:11 2011 +0100
s3:net conf: fix a comment typo
(cherry picked from commit 3bccd2f3f365d5b8f227d0ddf9397921c1622c44)
commit 0655e11e968dd4166ef4d349b59d215b0f5e314b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 6 20:42:52 2011 +0100
s3: Make "endpoint_table" static
Andreas, this is only used in srv_epmapper right now. Make public again when
this will be used somewhere else.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Feb 6 21:33:04 CET 2011 on sn-devel-104
(cherry picked from commit a61b17ce564a1fcd77102f51466844bef6431797)
commit 6c0ce4769eaf99343fc635f52353160fc71febbd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 6 19:56:22 2011 +0100
s3: Use the right credentials in check_netlogond_security
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Feb 6 20:43:03 CET 2011 on sn-devel-104
(cherry picked from commit 40a46a9cca88cc06b028b415e8d1c49d54076307)
commit 16caa415bfe3f10257e7a7f849a899018db6d2d9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 6 19:10:40 2011 +0100
s3: Only build auth_netlogond for the developer build
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Feb 6 19:55:49 CET 2011 on sn-devel-104
(cherry picked from commit 007dc95b143e41d068bb0d83310212cd67b56586)
commit f70c91cb2a1e618b04657cbb8c72dd215aef1fe2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 6 17:53:37 2011 +0100
s3: Add primary group in pdb_ads_enum_group_memberships
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Feb 6 18:41:08 CET 2011 on sn-devel-104
(cherry picked from commit 0539ca51ab450753997d2333d3f4fc44654fa1f5)
commit 5633cab3551695289f759551ee731e035494c49e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 6 15:50:04 2011 +0100
s3: Fix auth_netlogond to cope with netlogon_creds_CredentialState
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Feb 6 17:30:48 CET 2011 on sn-devel-104
(cherry picked from commit d515c6cd5c4884d781f6a84290f16925a3e34af6)
commit 1da26c33212f1275bddb7a09abc6b2f839238cce
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 6 15:33:26 2011 +0100
s3: Fix a potential memleak in secrets_fetch_trusted_domain_password
(cherry picked from commit 47d07df37f5b089ff16ee0e28cde23ed9470f214)
commit 05386e5ac316f98b39eee0acead341ea2c3c2485
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 5 14:42:01 2011 +0100
s3: Fetch the machinepw via ldapi in pdb_ads
(cherry picked from commit 843825f56728a6cec2b0b00cc32f97b4b05b3ea8)
commit bb4edbdee9a88f5214fd5061bbd9e1f25f084f1e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 6 10:15:50 2011 +0100
s3: In pdb_ads, cope with artificial samu structs
(cherry picked from commit 8c367162f09c7772091a80d8426de6bead0c030d)
commit 0e4d78e3f8400ccce4f53171b9570a1f119c835c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 5 14:41:52 2011 +0100
s3: Use strlcpy in pdb_ads_connect
(cherry picked from commit 08f2a8562f67982f69f4bbf5b1034a42529ab226)
commit 9e3224af50815f4912c9cdcd23afbecd454cf53e
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 3 21:47:42 2011 +0100
s3: Fix some nonempty blank lines
(cherry picked from commit 8af7400d553f9552df78ab4958da7536f15eddf2)
commit 4265815208e432ecdcc7219e3920d5c6c58ce0e4
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 7 13:21:35 2011 +0100
s3-waf: add --with-automount option.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Feb 7 14:11:03 CET 2011 on sn-devel-104
(cherry picked from commit 4b7d0492bbc92ca8ebcfa0c58fa2b692dc5585d5)
commit 1668b4b2e010b6a039a3e373c3e5cdb01e3098ab
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 7 13:12:17 2011 +0100
waf: add clock_gettime clock ID checks to libreplace wscript.
Guenther
(cherry picked from commit 6baa3ef648b430232077199dfd48c37b5683dace)
commit 782cf1e492c977fa6fe02f3d965e9f4ba5baed80
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 7 12:38:48 2011 +0100
s3-waf: fix wrong check for vfs_aio_fork dependencies.
Guenther
(cherry picked from commit 13d8290d0d4f574cadd0c5daabe4e527ce78db30)
commit 991eaa766f8414f6eb15a39c47d122dceb5147b4
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 3 12:25:24 2011 +0100
s3-waf: fix the build after winreg and rpc services changes.
Andreas, please check.
Guenther
Signed-off-by: Günther Deschner <gd at samba.org>
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Feb 7 13:18:41 CET 2011 on sn-devel-104
(cherry picked from commit 7637e1df8eca417a78d9949b3b776b51ae250d74)
commit 90a3e5a9a1e322e89efa5b1c300bef9a1fc8e0d9
Author: Andreas Schneider <asn at samba.org>
Date: Wed Feb 2 11:47:37 2011 +0100
s3-perfcount: Create the directory on tdb open.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit a3ee831f2dda047d32750a8c7b4a30b6b7eb7519)
commit e400e58976368dc932095e6bbebd7b3f025713e2
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 1 15:33:02 2011 +0100
s3-rpc_server: Migrated spoolss to dcerpc_winreg_set_multi_sz.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 1c6276ce7a917d7599205e7b3f9640811c0be24b)
commit 4ae49fb434853e31213409967661cd4f4f0b516f
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 1 15:29:48 2011 +0100
s3-rpc_server: Migrated spoolss to dcerpc_winreg_query_dword.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 1f0c766fa6f776f7ec25cab8634e2ad1f6c7aa50)
commit c5dbecb7ec7e848cb481d7158c8d42a8fecdd56d
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 1 15:25:13 2011 +0100
s3-rpc_server: Migrated spoolss to dcerpc_winreg_set_X.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit df75045e0d52b01f650f40e62c65426b5ce2264e)
commit 4f8c96c7b87ca513bbd4ad3f0255d029c841b2ae
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 1 15:11:05 2011 +0100
s3-rpc_server: Migrated spoolss to dcerpc_winreg_set_X.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit ee817f63cec1036ff332667b1e1b0a2478bf51e5)
commit a5050d558bbecee7c705bd010c40cab0c2f66cd6
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 1 14:58:08 2011 +0100
s3-rpc_server: Migrated spoolss to dcerpc_winreg_set_dword.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit e8bf397eb0765db529f9caad7d70639071bcf00c)
commit e4c6204252551eaf358a170486c7ed9d5db7f622
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 1 14:48:11 2011 +0100
s3-rpc_server: Migrated spoolss to dcerpc_winreg_set_sz..
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 460aedc4b1e97a7721183e164f5231e735368b14)
commit ae51aed9dd61e5ea9b649c9fee68a8d0e33b0995
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 1 14:28:39 2011 +0100
s3-rpc_server: Migrated spoolss to dcerpc_winreg_enum_keys.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 8238732330d3dde73b23750d9b5646bfe3d4a39a)
commit 7635e232c64372aea4610a7ac03027852aa1a99e
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 1 13:38:16 2011 +0100
s3-services: Remove obsolete services_db.c.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit c6255adc6f027cafeca7247ce58bbeae0733d45a)
commit e1c786f91d0d34ac0d5bca748db127020eaadc58
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 1 11:50:10 2011 +0100
s3-smbd: Init the svcctl registry keys on service startup.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit b2ddfc642d0d6a39e6962c61dd178c69f0cd801b)
commit 48b65b061c07f804eccc393c0993c62af97a26a3
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jan 31 16:40:16 2011 +0100
s3-rpc_server: Added a winreg based svcctl registry init.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit f1d5cea322f26aae23ee5fb57207648ec15f8218)
commit beacad3570af1f934f9cbfd860fe5e48ffa434f2
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 1 11:49:33 2011 +0100
s3-rpc_server: Added a svcctl shutdown function.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 09dafc4a256c14db6ca8ed68b99d774e118f7051)
commit e5a4ad3c68645654462d170bc4d83273f1c3e1c7
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jan 31 16:40:33 2011 +0100
s3-services: Migrated svcctl registry functions to winreg.
This is a bigger commit. It moves the relevant function to
svc_winreg_glue. We need to use them in the same commit else we have
problems with prototypes in proto.h.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 96565db5f66f791968ed354fc8f39464ff0a7e5a)
commit c42bbfb84bfab0b5b94c61372da2145da9baf0c5
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jan 28 12:37:18 2011 +0100
s3-registry: Remove obsolete reg_eventlog.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 1adbbeef32b71450b6c878ea34b431d19ea39523)
commit 2d9df2488eaac31cbfcd2adba678e0fc075bdfa5
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jan 28 12:33:20 2011 +0100
s3-smbd: Init the eventlog registry on service startup.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit a3a38fdb553f978ae58bc0b62db93e1ca2908658)
commit f9f350ca1feeb08d81fa1f06c5c6f70a23dbea47
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jan 27 18:06:16 2011 +0100
s3-util: Moved eventlog_add_source to admin util.
This function is only used in the admin util.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 34e8a50e5a71ab0d31bd0c5375a84d3b3ecf61e9)
commit 0665a11a049b681ebf278cead7417688d5d39772
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jan 27 19:22:02 2011 +0100
s3-rpc_server: Added a winreg based eventlog registry init.
This enumerates the keys first and only creates them if they don't exist
yet.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 22ea2933818824eb6cf2d760fc474922ca8bbe2c)
commit 2bc06e8a56b9119396f7195012c2140c58d784f2
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jan 27 15:32:48 2011 +0100
s3-rpc_server: Migrated eventlog to winreg.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 75abfa6f949bcc2e472ae19084fa3309025caa1d)
commit b62eea7ee3235124bb79cb26b0978193bc27874d
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 1 11:04:16 2011 +0100
s3-rpc_client: Added a winreg query security descriptor helper.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 01b49b1a2b0442954a088035e133bd8f34fd811d)
commit 64fa681f15066cd381483c3e5187e318f4835749
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jan 31 18:40:06 2011 +0100
s3-rpc_client: Added a winreg set security descriptor helper.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 35439a7b182c235eb8adfc2a6864867b486d1b6a)
commit 7404d5b5530d15b1d31712acbf67e7dbd501cc41
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jan 31 18:35:06 2011 +0100
s3-rpc_client: Added a winreg set binary helper.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit a370b9605c98551c9dee5c34b53b92943182a1be)
commit 49ab5806a0d779ca9d42469f59eb998f679839fa
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jan 31 16:39:34 2011 +0100
s3-rpc_client: Added a winreg query sz helper.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 56963d1f44d137581627eec672b63993585ebf64)
commit 0a49f4b300242dfe4c3b685a26b2dee8b073533d
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jan 28 12:08:58 2011 +0100
s3-rpc_client: Added a winreg helper to enum keys.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 69e6db1a5354c09f038ca158e08f4426863dab34)
commit 74b7e6261f7fd3be4c2919f4799d179772086709
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jan 28 10:43:49 2011 +0100
s3-rpc_client: Added a winreg add multi sz helper.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 8ed91d602774155859b9d9acaa5909a1a0a68079)
commit 1a90e2bf9df63b7e7d60e1644dd800c063acbd75
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jan 28 10:07:57 2011 +0100
s3-rpc_client: Added a winreg query multi sz helper.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 8c119e47578e5dadaad32330a77a0cab8557a4a0)
commit 3c6b1cd32145fd5fc74721afa57239cace59e9fd
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jan 28 09:57:41 2011 +0100
s3-rpc_client: Added a winreg set multi sz helper.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 913426b0c3cd319aa120d4170a99706a007fcd51)
commit 07ff94f76fe993760ed53bd7fcac9b425111a2ea
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jan 28 09:50:48 2011 +0100
s3-rpc_client: Added a winreg set expand sz helper.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 34d3e85f35f5e1c38e686276bc8411fe6d559177)
commit dc2440708cccda23d0573f310ca29fc9a65df5f8
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jan 28 09:45:44 2011 +0100
s3-rpc_client: Added a winreg set sz helper.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 4b32f6c9d54f0fef6b6f3ae056336221bfe867a3)
commit 02aff4dace4aedb48c9d60a501ee3e047e703694
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jan 27 16:57:34 2011 +0100
s3-rpc_client: Added a winreg set dword helper.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit e5eb7582d30ec10c3fb89b380b35dffdc55595e1)
commit cd9b8da82ab329f36763c225f03f96cfcff85b35
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jan 27 16:20:30 2011 +0100
s3-rpc_client: Added winreg query binary helper.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit d24bd4be9186d43c6b438b399aafa2bdff82737e)
commit 7d4f6fcfecb7b036f9615a524e7eaa63e53ad181
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jan 27 15:20:58 2011 +0100
s3-rpc_client: Added winreg query dword helper.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 9c7607d3d384240b2777aafa3ea634383431ec4d)
commit 1362574b93a3b50beb31122b54ce518df4eff03b
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jan 27 12:27:23 2011 +0100
s3-rpc_client: Added dcerpc_winreg_int_openkey().
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 12cd4002e66164a0a85ae0e4a17f1f0abaef7e42)
commit b12b0940f888b303aba90d38448522a45f899fdd
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 7 11:40:06 2011 +0100
s3-waf: add support for --with-aio-support.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Feb 7 12:30:57 CET 2011 on sn-devel-104
(cherry picked from commit bcdacff168daf3392a030290397e5dbe4bf58c47)
commit 5cbb798064a3f80f6f8bba7bfd36b83702dce685
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 7 11:39:42 2011 +0100
s3-waf: only build auth_netlogond in developer build.
Volker, please check.
Guenther
(cherry picked from commit 3a60e5496f4bac94506e996ce079b36fb99cb836)
commit 8fdf2507be8f3f0d113c0872e099a5e60642c5bd
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 7 10:29:55 2011 +0100
s3:rpc_server: fix make_external_rpc_pipe_p() and create read and write queues
They are needed for the callers in rpc_server/srv_pipe_hnd.c.
It seems I only looked at the caller in rpc_server/rpc_ncacn_np.c
when I've done the change of commit e55426fe7926ae6f8afe5fa6cfc009e0c3b54e38.
Thanks Volker for finding this :-)
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Feb 7 11:40:20 CET 2011 on sn-devel-104
(cherry picked from commit 8111d95655c23e0cd6fac21d0dc323e86ba9f128)
commit 0074c8505dffd5967e2c7269d81dfb96eea35729
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 4 17:42:10 2011 +0100
s3-waf: add --with-syslog option.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Feb 7 10:50:39 CET 2011 on sn-devel-104
(cherry picked from commit 81a3f7a5207d8e97e324578e7385303e9b7e8b3d)
commit 28401574a384173ed089ee473b422ac0a66ef697
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 4 17:31:13 2011 +0100
s3-netlogon: fix typo.
Guenther
(cherry picked from commit f1d51aa6f24fd30e719c661f7790e5ecc502cb2d)
commit 6504933ea3f67a8faf471f4ee7f63bbe1f071df1
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 4 17:27:26 2011 +0100
s3-waf: recurse into ../lib/util/wscript_configure
This gets us all the statvfs checks.
Guenther
(cherry picked from commit 45f86fd681c5413146303fbab49d1deceee8103b)
commit c4ed33decfb7886fe36e0df178972c44c5fc6d93
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 4 16:49:30 2011 +0100
s3-waf: add support for iprint.
Guenther
(cherry picked from commit 72910c34dff23958587f73ac27e38d6e92cb7bea)
commit a1902c22ef9686fc9a8c2991a9aa2406ba83030b
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 5 09:54:40 2011 +0100
s3:Makefile.in: use waf directly to build smbtorture4 and ndrdump4
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Sat Feb 5 11:53:05 CET 2011 on sn-devel-104
(cherry picked from commit 49cfb2ebdfdf94df963078a4905b9a287250ea8e)
commit 57b267ee2bc9ff67555e3b926e5035362c9ba638
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 4 17:48:10 2011 -0800
Fix try_chown code. Use new vfs_chown_fsp() which always trys fd first.
(cherry picked from commit b8035a9b353ac63d421402748d7bd7ec71cbb076)
commit f96b11d61b8a32dbbf321d0c85b0b0e7514e61de
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 4 15:32:09 2011 -0800
Move the "oplock file with byte range locks" check to the correct place, where we're making oplock decisions.
(cherry picked from commit 8d8242cdfd4aec4be87c81022b7a53acfa8ffaaf)
commit 1b1d52a39df782fa04b53f06e210cf48d38a0e4e
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 4 16:04:30 2011 +1100
charcnv: removed call to setlocale() (bug 7519)
We don't need this setlocale() call, and it can break applications
that use our libraries
Thanks to Milan Crha for pointing this out
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Fri Feb 4 06:51:01 CET 2011 on sn-devel-104
(cherry picked from commit 13470f11ee47da446eb7094c29dbc8ff402aede9)
commit 7add712498fe93603b1bffff2c633e097ce8fbdf
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 7 17:28:29 2011 +0100
s3-winbindd: let winbind try to use samlogon validation level 6. (bug #7945)
The benefit of this that it makes us more robust to secure channel resets
triggered from tools outside the winbind process. Long term we need to have a
shared tdb secure channel store though as well.
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Fri Feb 4 18:11:04 CET 2011 on sn-devel-104
(cherry picked from commit f60398d7b20869d7b09d81854f3727fdcd897430)
commit 0a1d8c2b2218bdc77938ab0f33aa4431e6aae3ea
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 15:08:41 2011 +0100
s3-auth: add copy_netr_SamBaseInfo().
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit ac4127a9f432f762cb728c161d7fbf80de31b60e)
commit 3eb4f829cca3299cec22f54d3e4906ca71f10994
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 4 12:54:36 2011 +0100
s3:lib/addrchange: set ctx->sock to -1 after close
The makes the code more consistent with similar destructors.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Fri Feb 4 15:52:55 CET 2011 on sn-devel-104
(cherry picked from commit e9c45a3973c85fbe40c017724c7909fefa05b656)
commit cc62408ba58b1f8c4a18a2d565c692203cb124b3
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 4 12:53:38 2011 +0100
s3:lib/addrchange: remove unused pointer
metze
(cherry picked from commit d8d5a3fb3a7754a71ba78399ab0fdcd8b3854dfa)
commit b53b40157cc9ea390b30cdf07085d85f721dcf28
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 4 12:32:41 2011 +0100
s3:lib/addrchange: let addrchange_done() retry and ignore unknown message types
Messages like RTM_NEWLINK should be just ignored.
metze
(cherry picked from commit ff935ddf8b22be269abb730904d324efb1e3e8f2)
commit 060ee243e758db4281a0ce10e959a67dd2d13494
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 4 12:29:42 2011 +0100
s3:winbindd: fix segfaults on addrchange errors and make DEBUG() statements more usefull
metze
(cherry picked from commit 902fbd91a19c414b61bc18ef24d7d84b30d37b1b)
commit 7ebb874c0cd863b61ef9655db1579e6efd788949
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 3 16:11:32 2011 +0100
s3:rpc_server/netlogon: reject validation level 6 without ads support
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Fri Feb 4 10:06:26 CET 2011 on sn-devel-104
(cherry picked from commit 17c01a5e900d77d622f3c33a440de739e64940e4)
commit da8eb5f0d21ffa4f092a8317ed8b8e6005ac4249
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 14:47:05 2011 +0100
s4:rpc_server/netlogon: add dcesrv_netr_LogonSamLogon_check()
We need to check for invalid parameters before we check for
access denied.
metze
(cherry picked from commit a4d4217dfa03bda9ace25bb4f54be5e94c09abbf)
commit fde8450a210267e315262b78168dabb4e2f4b0cb
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 10:27:35 2011 +0100
s4:rpc_server/netlogon: set *r->out.authoritative = 1 even on INVALID_PARAMETER/INFO_CLASS
metze
(cherry picked from commit 578e87dbf223c2ad529ef5de07630ed5c25a3ad6)
commit c1ecb9930f8fc9e1271d932643d6771765514991
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 10:21:05 2011 +0100
s4:rpc_server/netlogon: return INVALID_INFO_CLASS for invalid netr_Validation levels
metze
(cherry picked from commit 97727e106878fef1a260ab6310992fff36ea5294)
commit 9df59dda6bd2c51f1d9640f9d2979dd1c07b4c0e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 18 07:20:26 2011 +0100
pidl:wscript: don't warn about pidl gammar file changes for now
We may add some logic that uses git diff HEAD to detect this changes
in developer mode later again.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Jan 18 08:10:06 CET 2011 on sn-devel-104
(cherry picked from commit d5173ca189a080d0bb3a56200203c32a40c4b6e3)
commit db59945ac15901d90ccd12e20fe649e5f9cc4c49
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jan 6 13:41:08 2011 +0100
pidl/wscript: only warn about grammar file changes
autobuild should protect us from having grammar files
and generated files out of sync.
metze
(cherry picked from commit ce7cb972b0ba7ec20d05bb1c4243fa0e2b5f05c0)
commit 5af6ff3e2c004ac41778cfe97d83e2d3b3abda86
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 5 12:00:01 2011 +0100
pidl/wscript: let the developer use the standalone build with yapp
Waf isn't happy when files in the source directory are changed.
metze
(cherry picked from commit 5d8f916619b5324e33d4a1bc3c97d6cc784f4bb9)
commit 39a3be57e19736af1b640c71f2c5722516aa8e07
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 2 12:20:18 2011 -0800
Fix a couple of missing checks on talloc returns.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Wed Feb 2 22:23:46 CET 2011 on sn-devel-104
(cherry picked from commit 40850b3b275494b91b59ebc5e25e11e2235ed722)
commit f4bc9df100f37b69160c50a87009bba43d8f2e35
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 2 10:40:06 2011 +0100
replace: Try to fix broken sys/capabilites.h on Linux.
As this is more or less a broken header we need to include linux/types.h
before sys/capabilities.h to avoid redefinitions.
Systems like ClearOS 5.2 need linux/types.h very early.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Thu Feb 3 05:26:12 CET 2011 on sn-devel-104
(cherry picked from commit 1e42aa6b3a2912426caebaf89596fa7c9f19ba2e)
commit 0539d2a1a75dcc0a3f20b42890121e71691a00a6
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 3 03:32:21 2011 +0100
Revert "replace: Try to fix broken sys/capabilites.h on Linux."
This reverts commit c2207e9b2cdec9cd4c32184c668a2c469edb7148.
This still doesn't build for me on ClearOS 5.2.
metze
(cherry picked from commit 5f18925e695d0c271aea456a4ee63aeb1e8bbf96)
commit e025a21c604bb854474b84b45bc3d94d05a5dea5
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 3 02:11:41 2011 +0100
s3:libnet_dssync_passdb: remove useless DEBUG statements
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Thu Feb 3 04:20:54 CET 2011 on sn-devel-104
(cherry picked from commit c1c3cb0a237b1ba075e67979f9aad329d6e5914f)
commit 7b30c02846ae037167f0d5f654e740ccce6112ff
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 2 18:50:39 2011 +0100
s3-epmap: use correct dcerpc client header in dcerpc_ep.c
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Feb 2 19:50:02 CET 2011 on sn-devel-104
(cherry picked from commit 586b2ee82655d5849c8483eb787f5ba77c80f478)
commit d24d0e21e4d0036803cf04ac3ec8e13fe1bc3c7c
Author: Andreas Schneider <asn at samba.org>
Date: Mon Oct 4 18:32:35 2010 +0200
s3-selftest: Enable RPC-EPMAPPER tests.
Autobuild-User: Andreas Schneider <asn at cryptomilk.org>
Autobuild-Date: Wed Feb 2 13:28:41 CET 2011 on sn-devel-104
(cherry picked from commit 5aae1f462ed09decfc41d77a10dd4f135336986b)
commit 13c5a5e122aa46b24864a55ba085d7bf10ee2cea
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jan 20 15:37:46 2011 +0100
s3-smbd: Disable the endpoint mapper by default.
(cherry picked from commit d0d5d59943ac7958e95279cd8f8be3097e5e7db8)
commit 7d8b04f397cddb1399cc70849378eb835b3dd448
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 5 17:16:46 2011 +0100
s3-smbd: Added a function to setup rpc services.
Move the complete setup of the rpc service to its own file and use
callbacks to register at the endpoint mapper.
(cherry picked from commit e3bdfd2d46cb09a42eda1012287bb82af5b8ee9b)
commit 1a5b8754400467e093e86a1cc0aaf868970a330a
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jan 4 09:52:57 2011 +0100
s3-rpc_server: Only allow registering endpoints on priviledged pipes.
(cherry picked from commit 612060d677ac64de1b9261beb2d98496cec2ab46)
commit fe6044c0d748fa8200fffc11cee5ed264f64dc88
Author: Andreas Schneider <asn at samba.org>
Date: Thu Sep 16 10:48:33 2010 +0200
s3-librpc: Added dcerpc_binding_vector_create function.
(cherry picked from commit 31779662b728fa6cefd21df742273fd31d8d8dfb)
commit b8ff339532b42f97d3aeef52c5d569c959037e6f
Author: Andreas Schneider <asn at samba.org>
Date: Thu Sep 2 16:24:26 2010 +0200
s3-librpc: Added dcerpc register endpoint functions.
(cherry picked from commit 20afe971777811c8e645a4d37b5159cd8300d3a8)
commit 4f9a3c2fd950e7ac3f376f2106be917f9ab595d2
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jan 18 09:48:35 2011 +0100
s3-epmapper: Commented unimplemented functions.
(cherry picked from commit bd5d14e6fa778b77217ca326828fd61cf516bd9b)
commit 402423cae91785481dc0f7f6bd70219d17d12067
Author: Andreas Schneider <asn at samba.org>
Date: Tue Dec 21 19:38:40 2010 +0100
s3-epmapper: Improved the epm_Map function.
(cherry picked from commit c451a454b3a87301ed17b3e7a06de37e6cfcb41e)
commit 370df0cd61e65b2278f443845137e5b599a8ff1a
Author: Andreas Schneider <asn at samba.org>
Date: Tue Oct 5 11:56:47 2010 +0200
s3-epmapper: Implemented epm_Lookup.
(cherry picked from commit 1d33f5c6d641f2c4c18eae47f7d9ef464396f471)
commit 0d4b083ce84c6b380c802387fe8fc7ba1966a7e8
Author: Andreas Schneider <asn at cynapses.org>
Date: Mon Oct 11 11:42:26 2010 +0200
s3-epmapper: Implemented epm_LookupHandleFree.
(cherry picked from commit 5b93e06e6c6a67640ee3cd4de1ffbbaa3018721f)
commit 9a8c3d580a61770745a39b6174c1e4abff8e6017
Author: Andreas Schneider <asn at cynapses.org>
Date: Mon Oct 11 17:22:22 2010 +0200
s3-epmapper: Added arg to match uuid in build_ep_list().
(cherry picked from commit 3584dd18df1179ecb41791e2b14929699fc09660)
commit 3cccede18106a7c514ac35b2bd65fa6746856187
Author: Andreas Schneider <asn at samba.org>
Date: Mon Oct 4 17:58:33 2010 +0200
s3-epmapper: Added epm_Map function from Samba4.
(cherry picked from commit 658c05b939e0a96cb385bf2808b01595ae838f06)
commit 2a82d2ebefa336276055d1cb11699728d1555170
Author: Andreas Schneider <asn at samba.org>
Date: Tue Oct 5 11:45:41 2010 +0200
s3-epmapper: Added epm_Delete function.
(cherry picked from commit 6747b89b3ce0e234c6129696825c59b68cada8cd)
commit eb0cb3b075775529d3396dc43116228cf0731675
Author: Andreas Schneider <asn at samba.org>
Date: Thu Sep 16 10:50:25 2010 +0200
s3-epmapper: Added epm_Insert function.
(cherry picked from commit c31ee9a152d64c8236cc20af1a78ac0feb999f81)
commit 031154100d642a7ceb233595a50564fd4ba5880a
Author: Andreas Schneider <asn at samba.org>
Date: Mon Oct 4 15:56:49 2010 +0200
s3-epmapper: Added a endpoint mapper skeleton.
(cherry picked from commit 84995397a7f24961065b17693afc1fda22b7bfd5)
commit f8366d71550998694fd32345f4a318f16f65baf8
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 2 17:47:19 2011 -0800
Fix value overflow (one too many 'f's ).
(cherry picked from commit 9f83a1ba188975b24ebc3819037c9c10e09ec00d)
commit 358abb289efc0ce9e0a6bf1b3c6c26091446943b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 5 09:26:02 2011 +0100
pidl: regenerate lib/Parse/Pidl/Expr.pm from expr.yp
metze
(cherry picked from commit 2868fc8a91c5ba410cb004aa56084dd906da4177)
commit 9ce79daeeee1d5ef69dfe008d6ae31afd24566fd
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 5 09:24:22 2011 +0100
pidl: sync idl.yp with the CPP changes
This is taken from commit 21b0d5e3b10711e6ce3bfad0c1ee2da09a60e232.
metze
(cherry picked from commit c1c9e4a1c8fc8c38f8996e760da34976b97cfb6c)
commit d26a08548e979f752ab0382f4aee656d8966cc6a
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 15 08:59:16 2011 +0100
pidl:Samba4/NDR/Client: remove compat mode for dcerpc_pipe based bindings
The only consumer "openchange" uses the dcerpc_binding_handle based
functions now.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Fri Jan 21 08:16:25 CET 2011 on sn-devel-104
(cherry picked from commit 1a96ec21095c3524558b9a28643f84a28701db13)
commit dfc277e08c844108a1dffeca2e4574faaa045182
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Dec 28 17:33:30 2010 +0100
wmi: Remove unnecessary noprint statements.(cherry picked from commit 9529fdab26270f4d35119e87f9ca8a7693c24a3f)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 60003fdc070693f9958e273d163e12b8868fcb24
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 13:10:04 2011 +0100
pidl:Samba4/NDR/Parser: fix ndr_pull/ndr_push mismatch
metze
(cherry picked from commit 34b7b552e85fddedf012af90eb13a4cfdcc16a74)
commit 756ba9f4577be646d9e060b1ff416ba576884ef3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Dec 28 16:30:47 2010 +0100
Fix some formatting.(cherry picked from commit b320cc799096fb07870c5e5d6d69d485cb1d1ea5)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 31d272e2e3d4d446c67b7b804ba4b6d978c89715
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 2 23:41:17 2011 +0100
s3:lib: allow_trailing_dollar should only allow '$'
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Thu Feb 3 00:33:48 CET 2011 on sn-devel-104
(cherry picked from commit 91e1c8dc383757c3ff0e67c499db4b11242f5800)
commit a651b96e59fc69edf5dbf4dd60aa15b82e08ae53
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 2 18:51:45 2011 +0100
s3-waf: no need to call pidl with --samba3-ndr-client anymore.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Feb 2 21:38:23 CET 2011 on sn-devel-104
(cherry picked from commit 885887ac1b7de1dbbc3da63843600d69efd5f6e8)
commit 92c9a355c876b30ca903b71a6941aed964e9f6df
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 2 18:53:54 2011 +0100
s3-build: remove --samba3-ndr-client from build_idl.sh script.
Guenther
(cherry picked from commit 2534e01a3ac187f42c0d359da2fd72b11ea0f5ae)
commit 62153fb407e49ef2a2b1442e765485a519f3a644
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 18:07:04 2011 +0100
s3-waf: remove RPCCLI_LSA subsystem.
Guenther
(cherry picked from commit d57ddc64c5a0551554756de01acb5135d4cb3a6f)
commit 2d48a9423e84ecd7c48ba7f49ac2d5a7d45993ed
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 18:06:52 2011 +0100
s3-build: remove RPCCLI_LSA subsystem.
Guenther
(cherry picked from commit ad15128d78065e56f1a2c630dd96cc4aa115d3d0)
commit 44241c2494ecb2f6c13d21a3651f67129da8e366
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 18:05:49 2011 +0100
s3-winbind: prefer dcerpc_lsa_X functions in winbindd/winbindd_rpc.c.
Guenther
(cherry picked from commit 387d1543ed8ac16389ace7a09cb9a452e2d220db)
commit 42c3818198ff3bf1f137a40a859f372362e4ee42
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 18:02:27 2011 +0100
s3-winbind: prefer dcerpc_lsa_X functions in winbindd/winbindd_samr.c.
Guenther
(cherry picked from commit 04ac046a46fe59b0551e2898ebc8940da601c406)
commit 055761b4a7b3742862d0dbf0ca0434d2694163af
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 17:54:24 2011 +0100
s3-winbind: prefer dcerpc_lsa_X functions in winbindd/winbind_cm.c
Guenther
(cherry picked from commit a85b20a1649980e17077e64de4d474fe6cd6f202)
commit 90dfdd9cae4415f81398f7a7056a75403b30a28e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 5 16:56:14 2011 +0100
s3-dssync-passdb: implement accounts, aliases and groups
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Wed Feb 2 16:30:26 CET 2011 on sn-devel-104
(cherry picked from commit 8ddfe78a5fdbae99856fd935a3103fad9df812f2)
commit 0307141bf81d80f09044350db4978a7f94bd18e6
Author: Günther Deschner <gd at samba.org>
Date: Sat Nov 22 00:35:20 2008 +0100
s3-dssync-passdb: fill in passdb_process_objects
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit 6e0498d0e289ed596a86a1b084475bdeec9b7105)
commit d55466e4d7129645bf3df444fc7eb6d1b2c65464
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 21 23:59:55 2008 +0100
s3-dssync-passdb: fill in passdb_finish.
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit 41ba1d3a1cdb1ecf3f3e607cea73c35dc19a3deb)
commit 20a03465da45232ae7ff75174d1eadb307388e5e
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 21 23:58:42 2008 +0100
s3-dssync-passdb: fill in passdb_startup.
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit 1f884cfbcb126c8f8bfeeabd349e082ae8fae3b6)
commit 3b86275cb6ba7aae675963ef73db45195a96a4b7
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 21 23:48:45 2008 +0100
s3-dssync-passdb: add basic routines and net function.
Guenther
(cherry picked from commit 91e6dad7494421c764c2fd701931f7053f15bda1)
commit 2ab85a58fe7d61ee240f0c68d429519db2a84e1e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 4 13:02:35 2011 +0100
s3:net: make some net_rpc_samsync.c functions static
metze
(cherry picked from commit 1c1aebae827d68feb5a94247787e97c9f4ba43a3)
commit 6604de80e731c7ae845ce6563089310a20b946ba
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 4 08:50:20 2011 +0100
s3:net: "net rpc vampire" is an alias for "net rpc vampire passdb"
The should use exactly the same code path for both.
metze
(cherry picked from commit 0313969aed6b6a5c7d75a3ec92b1797362a99046)
commit dfaf05cfe7da34b61743f03b8bb2f3600685190a
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jan 13 17:18:24 2011 +0100
s3:libnet: add 'process_links' to dssync_ops
This allows the backend to handle linked attributes.
metze
(cherry picked from commit bf7a27c3975c3822e0de8ff15730e6d6d1f46457)
commit 67bbb6f700345dc46ff79ca85bba6822a5dcf33a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 21 11:55:10 2011 +0100
s3:groupdb: allow machine accounts as members.
metze
(cherry picked from commit cecf54b32bf15b0e05af899ab12f06f110dd45ec)
commit a699ac50f7c9a5eeb57215879e17631c9a1f534f
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 18:46:57 2011 +0100
s3:winbindd: catch lookup_names/sids schannel errors over ncacn_ip_tcp (bug #7944)
If winbindd connects to a domain controller it doesn't establish the lsa
connection over ncacn_ip_tcp direct. This happens only on demand.
If someone does a 'net rpc testjoin' and then a
wbinfo -n DOMAIN\\administrator, we'll get DCERPC faults with
ACCESS_DENIED/SEC_PKG_ERROR, because winbindd's in memory copy
of the schannel session key is invalidated.
This problem can also happen on other calls, but the
lookup_names/sids calls on thet lsa ncacn_ip_tcp connection
are the most important ones.
The long term fix is to store the schannel client state in a
tdb, but for now it's enough to catch the error and invalidate
the all connections to the dc and reestablish the schannel
session key.
The fix for bug 7568 (commit be396411a4e1f3a174f8a44b6c062d834135e70a)
made this worse, as it assumes winbindd's in memory session key is
always the current one.
metze
(cherry picked from commit 255f2e06991aa543cd2c6f4d0123664b2a76c99d)
commit 37a9ed0f923e825e961e1f24b157798c6895b2e6
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 31 14:09:02 2011 +0100
pidl:Samba4/NDR/Parser: add support for 'ms_union' style aligment
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Feb 1 12:13:45 CET 2011 on sn-devel-104
(cherry picked from commit 9fe4b695feefb2a94559ce978048fb8a2189f5ab)
commit 66f81fcbf067fd4ca64f6662d8b97e9aee4b47bd
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 31 14:05:52 2011 +0100
pidl:Samba4/NDR/Parser: only do the switch type alignment when we have a switch type
This doesn't change the logic, it just doesn't call the same aligment function
twice.
metze
(cherry picked from commit 6124148d66d90064ebe3fa2ecb2c6588705495a0)
commit 90817e47f6edacc47b01cba703be9952b0c5053d
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 31 13:23:08 2011 +0100
pidl:NDR: add support for 'ms_union' property.
metze
(cherry picked from commit 76f2ddf5a9cef9e8253b11dec1304d51e47eda54)
commit e602bddaaa2e619f0e2d076b768f2294bf8b7450
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 13:04:48 2011 +0100
s4:torture/rpc/netlogon: add invalid level tests for netr_LogonControl2
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Wed Feb 2 12:43:32 CET 2011 on sn-devel-104
(cherry picked from commit eca7292aeca5de494a39fff67f719d8e9c34aaf6)
commit 713975ec8553b9b7ec3f2c1919c7c164d335b007
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 13:03:49 2011 +0100
s4:torture/rpc/netlogon: improve comments in test_LogonControl2()
metze
(cherry picked from commit 1f9caef3622097965525fcbc5bf98e17228330e7)
commit 15f27754c22e50f5132bc922bc7dbeaf2f24f12b
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 12:44:59 2011 +0100
s4:torture/rpc/netlogon: test invalid netr_LogonControl() level
metze
(cherry picked from commit 89dd048bdfb463c1e9a7393f5298dc0a8125f75f)
commit 108548e271d81813170f413ca7bf87d7198a9ea1
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 08:32:40 2011 +0100
s4:torture/rpc/netlogon: test invalid LogonSamLogon levels
This proves that the invalid parameter/info class checks
need to be done before the credential chain checks.
metze
(cherry picked from commit d3e4d90d41b0fdd64bd65a2f440942b478e23e20)
commit f40571b2f7d4d7736f3b636c25b2272ae00fcf6f
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 10:52:33 2011 +0100
s4:torture/rpc/netlogon: test validation levels 2 and 3
metze
(cherry picked from commit e9807916af0b145cd85d01d90f6bab107a313812)
commit 7843a78d55e8c9c16f20f2b42c31a5449c7c189d
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 12:42:45 2011 +0100
netlogon.idl: remove pointless union arms of netr_DELTA_UNION
These were just padding, which was needed as we didn't have
'ms_union' support.
metze
(cherry picked from commit d63e7506f0be5bac014a83df4faf33c3ea0de3ea)
commit 21931e3e888dd12b473999b1c3ce61e27f0e846e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 08:33:41 2011 +0100
netlogon.idl: use 'ms_union' as specified in [MS-NRPC]
metze
(cherry picked from commit 46348c34b77a1efe558314a8d058ebd8e05b7eed)
commit cc1dfd1295825ffae20c89b89890a6b2aecb57b8
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 10:28:28 2011 +0100
netlogon.idl: add missing [default]; union arms
metze
(cherry picked from commit 64ea7bd2c41186a877c0554968193b445de00680)
commit 037f4f2cf25c54920f042599852559a4c69b6349
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 14:47:05 2011 +0100
s3:rpc_server/netlogon: add _netr_LogonSamLogon_check()
We need to check for invalid parameters before we check for
access denied.
metze
(cherry picked from commit 4507d2b9eb2ddabf8b101ed1c744981014298049)
commit 050e1447a9927aa44256f704f7d9a9fb518092fb
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 17:25:02 2011 +0100
s3-net: prefer dcerpc_lsa_X functions in "net rpc".
Guenther
(cherry picked from commit 00478b0559023d6e54e07053cb21c6e6e6936f35)
commit ef44525b273dcf996b4ff2c3cd4ed721c236ee0b
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 16:46:39 2011 +0100
s3-net: prefer dcerpc_lsa_X functions in "net rpc rights".
Guenther
(cherry picked from commit eab00491f3d25085aa3ba55c137acb1c87c4066b)
commit f8135da1e05ad5af31cc40b454a1fd6f2faa5831
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 16:37:05 2011 +0100
s3-net: use status variable in "net rpc rights".
Guenther
(cherry picked from commit 8055bc82b0949473e3defa3cd419713525967424)
commit 3ccf1d9b609d2a36c51c4210a5e6bc30d43ac3e9
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 16:35:14 2011 +0100
s3-net: prefer dcerpc_lsa_X functions in net_util.c
Guenther
(cherry picked from commit 32064346f08ee936f41a6114c2226664055e036e)
commit 58cbc3881ccb982fcfe27e40d69dd943f2c49929
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 16:24:12 2011 +0100
s3-net: prefer dcerpc_lsa_X functions in "net rpc join".
Guenther
(cherry picked from commit 63de60c2bc7049866cb8233817b6342ec4ce970b)
commit 10ecbcb03427a6fadd5371a749bc830e2b1c4079
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 16:21:24 2011 +0100
s3-net: prefer dcerpc_lsa_X functions in "net rpc audit".
Guenther
(cherry picked from commit 61d18b7f086eef4e9a6366306dfc441710d57209)
commit 3a53147c95305516c68fe9788282aa9b6598dd97
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 16:14:35 2011 +0100
s3-net: use status variable in "net rpc audit".
Guenther
(cherry picked from commit d38d7431660e36628a1edebdf1557d4eae0f981c)
commit 1c8d9ec3d56b97ac6dc7a59efafa04a3bbc8d5af
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 16:29:16 2011 +0100
s3-rpcclient: prefer dcerpc_lsa_X functions.
Guenther
(cherry picked from commit fe6c5353a085bb295bafb28feedcd571abed09ff)
commit 0622ea3154a44f9a1c5c98243528030a0445f894
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 16:11:46 2011 +0100
s3-rpcclient: prefer dcerpc_lsa_X functions.
Guenther
(cherry picked from commit 204eeacfc51bd3fae7c1a349c5d03dbdd8a00f68)
commit 288d4e3c4e6acf4bb9606b0461d25d6958abb267
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 16:08:05 2011 +0100
s3-rpcclient: prefer dcerpc_lsa_X functions.
Guenther
(cherry picked from commit 36cd79f14b31b571b3be01656190210a8171e281)
commit 5abec5cffb3404c63bd145d8d3b85e0ba135a0e2
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 15:42:47 2011 +0100
s3-rpcclient: use status variable.
Guenther
(cherry picked from commit 707d572f622b2144702d1c616ad9662382dfda82)
commit a4022fe18b7ef151818fc42b36e16ccef881bbec
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 14:59:20 2011 +0100
s3-libsmb: prefer dcerpc_lsa_X functions.
Guenther
(cherry picked from commit fcaba0fb59a883baff3ee6608d377d73addd6deb)
commit bb92589494a9bce453a96215fb4de3aa4568724c
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 14:55:48 2011 +0100
s3-libnet: prefer dcerpc_lsa_X functions.
Guenther
(cherry picked from commit 95cf60a2e5aadeb75a680bedaa6090817caa8276)
commit 3ed1e04d9f9f471b736491927b87d5905914e3cb
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 14:48:58 2011 +0100
s3-libnetapi: prefer dcerpc_lsa_X functions.
Guenther
(cherry picked from commit e32b50894ba6e163c1c483fff668ff6161414541)
commit cfd7c1f6e7a1224f4ae805b179e88d7941017a32
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 14:41:22 2011 +0100
s3-waf: remove RPCCLI_SAMR subsystem.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Feb 2 18:54:38 CET 2011 on sn-devel-104
(cherry picked from commit ee5de71796ad1985a3c0da0280567b301cc8204a)
commit 6d6b28b99b6fc84d950a27c7be9982656115242a
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 14:41:07 2011 +0100
s3-build: remove RPCCLI_SAMR subsytem.
Guenther
(cherry picked from commit 364ef35afdee11202bdc657bc94b1ad84133d5ad)
commit 73479f6e5ac7bd6b7ffc64aa653a75115aeff638
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 14:24:56 2011 +0100
s3-net: prefer dcerpc_samr_X functions in net_rpc_join_newstyle.
Guenther
(cherry picked from commit 50170d7fd5ef208755ed60f66bfa513f948a68f4)
commit 71bc367d398ddfe4023d304b7b1fd841d7db62e0
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 14:13:23 2011 +0100
s3-net: use status variable in net_rpc_join_newstyle.
Guenther
(cherry picked from commit b53c0c8c85a8a8bf35fc200bb340ef7cf3bf6949)
commit 4d5356ff5a7c0c4ce6baccce9256acf12168532e
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 2 17:01:08 2011 +0100
s3-waf: fix the build after libnet changes.
Guenther
(cherry picked from commit 175fbe0bfc9c2754b202d06185d59358f0ac2ee9)
commit 37d1ce96cd29b3f165cac1bbc927af78e5cdc64e
Author: Volker Lendecke <vl at samba.org>
Date: Wed Feb 2 17:24:13 2011 +0100
s3: Fix a typo
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Feb 2 18:10:45 CET 2011 on sn-devel-104
commit 2e0df4c513a01b0c6f742d675370f9c5266e1f4a
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 2 16:17:12 2011 +0100
s3-waf: fix the build after epmapper changes.
Andreas, please check.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Feb 2 17:14:40 CET 2011 on sn-devel-104
(cherry picked from commit 62048fa95c436dfaf616349622a0a9f131d69d32)
commit 1f1cbf3b1133cfa08f8fc91b42f583ee01e75817
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 2 12:50:42 2011 +0100
s3: Remove superfluous ;
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Feb 2 15:44:21 CET 2011 on sn-devel-104
(cherry picked from commit 50be0b2c1e7e0573245e21df886ab491a0738226)
commit 9d9d376b6ad8cba19db59666c8c041e0a3953976
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 2 12:43:59 2011 +0100
nsswitch: remove unused code from wbinfo.c
Guenther
(cherry picked from commit 3bdd2efff8d11448275965b464ac194a2ee0d3ae)
commit c97e23fb08757b9d4245ef6fcefd01357c9c5173
Author: Volker Lendecke <vl at samba.org>
Date: Wed Feb 2 13:34:53 2011 +0100
s3: Fix a typo
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Feb 2 14:58:52 CET 2011 on sn-devel-104
commit 30aea57d4585c3a474cf64f6d3b15d360a040906
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 14:06:48 2011 +0100
s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_msrpc.c.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Feb 2 14:14:43 CET 2011 on sn-devel-104
(cherry picked from commit e026685b7cb579471f64835c6e527cf1818eb384)
commit 4937ee610f72ebec74399adc2064912b2957bb34
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 13:56:26 2011 +0100
s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_pam.c.
Guenther
(cherry picked from commit 6c20ba3f971984279767899c329b0d21e8e1b436)
commit 8887005eb67c71cafcccc5368c4c647cf506b5bb
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 13:07:18 2011 +0100
s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_rpc.c.
Guenther
(cherry picked from commit 924f60c77cb931d29ee6bb99b2bfd7298585b039)
commit bb13f3250f4fe96bb74e79e20689dc9c8339c90e
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 12:43:02 2011 +0100
s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_samr.c.
Guenther
(cherry picked from commit 58cdc56acc51de618a806a80b251f8ef6d573658)
commit f96b0f7587ddef48e4dcfa0a3cf0efd4d4da2b6f
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 12:42:00 2011 +0100
s3-winbind: prefer dcerpc_samr_X functions in invalidate_cm_connection.
Guenther
(cherry picked from commit f21f9192f140d326d9904f1b936f1f8ceb707a02)
commit e814e34d9ec9e9a1b781d81ad6f5c4c826edb46a
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 12:40:47 2011 +0100
s3-winbind: prefer dcerpc_samr_X functions in cm_connect_sam.
Guenther
(cherry picked from commit 39c6809eeb46a2be3de5b586483c28d32138229c)
commit f482c03449a849f4b43bf325fc9d271bca371ce3
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 12:25:10 2011 +0100
s3-winbind: use status variable name in cm_connect_sam.
Guenther
(cherry picked from commit 02a8e1e490de7fca82cc689f4281bab86430a2df)
commit b70e87c9b1f5eb6725dc6e763c7448e0eae0dd44
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jan 31 13:08:29 2011 -0800
Add knownfail for s4 for the new oplock test.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Mon Jan 31 22:55:00 CET 2011 on sn-devel-104
(cherry picked from commit e18b8c0730ba800ab2864c65c6cd46aff4848585)
commit a1b5d8ef31cfba0bb7a3a690e4fea52edb3d161f
Author: Andreas Schneider <asn at samba.org>
Date: Wed Feb 2 10:40:06 2011 +0100
replace: Try to fix broken sys/capabilites.h on Linux.
As this is more or less a broken header we need to include linux/types.h
before sys/capabilities.h to avoid redefinitions.
Autobuild-User: Andreas Schneider <asn at cryptomilk.org>
Autobuild-Date: Wed Feb 2 11:57:04 CET 2011 on sn-devel-104
commit a5b754953412aa6daedbf97f680fadf3c545b95d
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 1 16:01:57 2011 -0800
Based on a conversation with Volker, refactor some of the oplock code to make it comprehensible.
delay_for_oplocks() did 4 things.
1). Validation of existing oplock types.
2). Check for compatibility with batch oplocks (pass 1).
3). Check for compatibility with exclusive oplocks (pass 2).
4). Set the correct oplock type from the requested value.
Refactor into 4 separate functions:
1). find_oplock_types() - does validation of oplock types and
returns pointers to specific values.
2). delay_for_batch_oplocks() - the pass 1 phase above.
3). delay_for_exclusive_oplocks() - the pass 2 phase above
4). grant_fsp_oplock_type() - Set the correct oplock type from the requested value.
Now separated out this code should be much easier to understand
and modify. This also fixes an erroneous SMB_ASSERT which was
hidden by the previous complexity of the single delay_for_oplocks()
code.
Jeremy.
(cherry picked from commit 8c226c3c9db422ee6cb35cecdc3fe39130c64752)
commit db1f553a446e7b70192202a8a99d06666033b120
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 29 10:59:14 2011 +0100
s3: Fix bug 7940 -- fall back for utimes calls
There are systems where ./configure has detected advanced utimes calls which
are then not available on other kernels. We should do a proper fallback.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Feb 1 22:37:35 CET 2011 on sn-devel-104
(cherry picked from commit ba4ec70529c0fa9cf4dc797176dbae1a2c949dbc)
commit ac8fa0749e93dff51fea29fa88bbd99c7e4f59cd
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 17:38:02 2011 +0100
s3:rpcclient/cmd_samr: remove useless ';'
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Feb 1 19:19:24 CET 2011 on sn-devel-104
(cherry picked from commit ff0f63329a884d74d088436958b963787426dc7c)
commit af692c25ef111ff751c5bc316333486d11489a1c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 17:37:13 2011 +0100
s3:libnet/libnet_samsync_display: fix netr_DELTA_* display
metze
(cherry picked from commit a152f20dd10288ce51ac987af8fb87ab30eb5654)
commit 0c668fea6587cd6e68bb57af5700f6effcb5b126
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 1 17:36:33 2011 +0100
s3:rpcclient/cmd_netlogon: fix netr_DELTA_* display
metze
(cherry picked from commit 5e4691e70e92e12dd08e88f6abd046637f7b4210)
commit 75493e6f5085410ac08b995db3b4dcccd7ae353d
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 12:10:02 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_list.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Feb 2 00:21:19 CET 2011 on sn-devel-104
(cherry picked from commit a19c1cbb8d74307e05cba379903c739e7abc0943)
commit 3dea5be68d1c2799cff38c5427ed9437012e3457
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 12:08:02 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_del_internals.
Guenther
(cherry picked from commit c7b1432b6eeba79aa8cfe22f68c983cd2532ac5f)
commit d8ab6bf98d911f016be930a72a12a1ac23564b31
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 12:06:42 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_add_internals.
Guenther
(cherry picked from commit 95ee07d8abbd7d487003d3b07e67cbcc7e0816c5)
commit 01df26f716c1f0dd3354b69a770c5948c0b2d87b
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 12:05:38 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_aliaslist_internals.
Guenther
(cherry picked from commit 49f08d1d7cd9a8bd9e7757ec2575175b79255e14)
commit ee56b1942b7d8ac499fbc71f4ec340cd1c8a58dd
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 12:04:56 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_fetch_domain_aliases.
Guenther
(cherry picked from commit 37f2f518bed220a83025884e4b345ba2b0a08dd6)
commit 26cb5555b38a91e17a3beecebf50b323873c47fc
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 12:02:53 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_group_members_internals.
Guenther
(cherry picked from commit bf10bbc074decbdffe9f094cdf6a7ec859dd708e)
commit 48660763c9b5557bb354bd31ab489819e80926e3
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 12:01:35 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_list_alias_members.
Guenther
(cherry picked from commit 20edb2d48bc0b7c4d4d44baf491480838d1e38ba)
commit 613fa6888635b4ee3f2e8c378f611f4cb5f9387c
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 12:00:09 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_list_group_members.
Guenther
(cherry picked from commit 2a63433e942a8b75c27291fba6d6c230be020b09)
commit 3e952b164f25322a735c1761dc302a11fb2410ee
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 11:59:16 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_group_list_internals.
Guenther
(cherry picked from commit d280a52fdd04a02d68525f341ede4d39534f0b4c)
commit dfcbade483be28e0fb158a7489425a0f20039c13
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 11:57:33 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_del_aliasmem.
Guenther
(cherry picked from commit 84e3d14f7a1cc9a0d03235a95a2813cb54947ded)
commit e75826bc4552fea7aeaf81e64594e61102cd8564
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 11:56:52 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_del_groupmem.
Guenther
(cherry picked from commit b9b2325f4566423f67b93309b47401d992257c38)
commit 738202dd2e42ebde20dd393e65c87e31d51c4b56
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 11:56:12 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_add_aliasmem.
Guenther
(cherry picked from commit 55e042a4f2689ecc9c78933792047b6426950662)
commit b04f5f3ed09ea15cf267ada61c2345a66430521a
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 11:44:42 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_add_groupmem.
Guenther
(cherry picked from commit f8147fbb149574023d6e0ed3662b0a0a43f4bbb9)
commit b2f3f9dce8d83c6b5e0a298d8f17bae2fd5cbfba
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 11:43:15 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_group_delete_internals.
Guenther
(cherry picked from commit e14c214ab38024b37e460a1160f11ddfbef5d3c6)
commit db91b4c158f3f8274452b1201ea7b27722f1bb13
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 11:38:53 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_flag_edit_internals.
Guenther
(cherry picked from commit 54b74c781df6d297043366827af7ea283ee31da0)
commit cf32f14c182b51ba89f396885610efcf30e95267
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 11:37:52 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_str_edit_internals.
Guenther
(cherry picked from commit 1d3b3780012b15b6287cb5f649680ad3eff0e8dc)
commit c9f20cca247e49f46442ab60bb8bfab23185717b
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 11:36:48 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_show_internals.
Guenther
(cherry picked from commit a87a9fc9ce68438526d5146feab04986c719f11b)
commit c004fdc27586cb7d664fde9bd43b53c393d0f458
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 11:35:50 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_sh_handle_user.
Guenther
(cherry picked from commit 021e0b4cdaf430e55e84a8b26fe1eb3d1edd88b7)
commit 6f4cd791ff264b3d9ccacc1ef6b70677ac22599c
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 11:34:33 2011 +0100
s3-net: prefer dcerpc_samr_X functions in rpc_info_internals.
Guenther
(cherry picked from commit f140e892f65f6d3492f5f36db081ad425a86afd8)
commit a06774824327d2be62d15fbb9a81cd55eaf16204
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 17 18:16:06 2011 +0100
s3-net: prefer dcerpc_samr_X functions in net_rpc_sh_acct.c.
Guenther
(cherry picked from commit e3aafb2a7f68ce0827f424e92c85434d28f5d906)
commit 2fb2c5c480c9f036aadb614d2efce0ce37c9c974
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 1 19:22:04 2011 +0100
s3-waf: fix the build after linux netlink changes.
Volker, please check.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Feb 1 23:21:50 CET 2011 on sn-devel-104
(cherry picked from commit fbbe321d19d0774bf141eddf6dea86e8ae2cf64a)
commit 743e887b88a8451e384e4ea09ff46bbd3501d017
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 1 17:24:47 2011 +0100
s3: Fix the build on sles8
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Feb 1 18:34:33 CET 2011 on sn-devel-104
commit 21d060a001b207469c6e7be8d6dab183a7d8f0cd
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 1 16:44:06 2011 +0100
s3-net: add net_scan_dc non-ad variant.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Feb 1 17:48:40 CET 2011 on sn-devel-104
(cherry picked from commit 753094d5d2525ef738939cae4362fc12f882f60b)
commit 755a5a96d4f1af0a75bb76f7f1d6ebb03a3638c5
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 17 17:35:21 2011 +0100
s3-lanman: prefer dcerpc_samr_X functions.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Feb 1 16:45:10 CET 2011 on sn-devel-104
(cherry picked from commit 600ff3a74e0a69ee0c239f324a5a32dd4ec14546)
commit cfb9506ed4c132775a571ae6e6b704040510cba7
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 17 16:35:13 2011 +0100
s3-rpcclient: prefer dcerpc_samr_X functions.
Guenther
(cherry picked from commit a51ab04cced1edc1977d72b07ae42f40ee1f8ccf)
commit ad537bcdddf12b261c25140fc6db78cf9a37a0fd
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 17 15:19:18 2011 +0100
s3-libnet: prefer dcerpc_samr_X functions.
Guenther
(cherry picked from commit a0c1c219168c8c4ba2e0c3b0cf243b2cc845ba19)
commit 7f2a129a229c9f0c3a24e92e3d2483494c06eda4
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 31 17:25:55 2011 +0100
s3: Send a dropped_ip message if we lose an IP
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Feb 1 15:59:17 CET 2011 on sn-devel-104
commit 8e5a17b55635f1d3d892bf068fcc95277fc84fe4
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jan 27 16:56:13 2011 +0100
s3: test addrchange
commit 6d7c96d0b1ea2f5178bf6ad2f3633d13bde250d0
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jan 27 12:58:22 2011 +0100
s3: Add support for AF_NETLINK addr notifications
Via an AF_NETLINK socket, the Linux kernel can inform us when IP addresses are
added or dropped.
This will first be used in winbind, it was triggered by clustering with ctdb.
When winbind is connected to a domain controller and ctdb decides to move away
the IP address that winbind used locally for the connection to the DC, the next
request will run into a timeout. winbind sends out its request, but the
response will never arrive: The IP is gone.
It will also be interesting for more reliable online/offline detection, but
this is something for future winbind refactoring.
commit a2eb55e2d060464146186e47a17ac8d2786a3fa3
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 14 17:05:32 2011 +0100
s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/user.c.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Feb 1 13:41:42 CET 2011 on sn-devel-104
(cherry picked from commit f9af242886ac014baa3247bfdc1fe8be6cb8366e)
commit da312fc2f34e872315ad6866625260a43802f142
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 14 16:16:31 2011 +0100
s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/samr.c.
Guenther
(cherry picked from commit 32fb4f5206bf754cecc761e5c2634f84a073e1eb)
commit 7a22e9cefb9fad9c5a4235fc972aa78084adf2de
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 14 16:11:19 2011 +0100
s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/localgroup.c.
Guenther
(cherry picked from commit b76657f8d9fea54430b048e61ed7c8c78eb582e5)
commit ba6c8f36d0c7b4915bcfa319620ea54eab83702d
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 14 15:49:37 2011 +0100
s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/group.c.
Guenther
(cherry picked from commit 7f6301811781675a7f8f5509e67fb34820a9806d)
commit 95c135509927f1a528721024acbc0eb6edbc0d23
Author: Pavel Shilovsky <piastry at etersoft.ru>
Date: Mon Jan 31 14:52:11 2011 -0800
Ensure we send the direct levelII oplock break to the correct fid.
(cherry picked from commit 24883229e3ec6237d28b88a2bacc812e1e98b931)
commit fe1f2339744e0616f30aaca0467d3364de66e5e0
Author: Pavel Shilovsky <piastry at etersoft.ru>
Date: Mon Jan 31 12:03:17 2011 -0800
smbtorture4 test for bug #7928 - Samba problems with kernel oplocks option set to "no"
commit c6524c349b4debb99e0f984895255e84b2e12720
Author: Pavel Shilovsky <piastry at etersoft.ru>
Date: Mon Jan 31 12:00:15 2011 -0800
Fix bug #7928 - Samba problems with kernel oplocks option set to "no"
We should not grant levelII oplocks on a file with existing
byte range locks.
commit 5e705b53d6456e140e87aa92fd1c5fe2aa55ffd3
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jan 30 17:34:35 2011 +0100
librpc/rpc: add dcerpc_fault_to_nt_status() mapping from DCERPC_FAULT_SEC_PKG_ERROR
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Sun Jan 30 18:24:04 CET 2011 on sn-devel-104
(cherry picked from commit 4d66e0ef93177d6029ffcd57299f15e876f25ff9)
commit 85358c0534472fde71e304ddada678b61637ba40
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jan 30 17:34:11 2011 +0100
dcerpc.idl: add DCERPC_FAULT_SEC_PKG_ERROR
metze
(cherry picked from commit 8d07deaeaacbd376f9824ac350c01510e05a76ca)
commit cf4380aa002754ae69d9eee1bee0b4ebbd57223d
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jan 30 17:33:48 2011 +0100
s4:libcli/util: display NT_STATUS_RPC_SEC_PKG_ERROR in error strings
metze
(cherry picked from commit f284acf9e1b19efb7e1357b1098b3bb5c26fa377)
commit 7bc01d23934cbdfdd5c8f8f83d06331d249aa053
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jan 30 17:33:13 2011 +0100
s3:libsmb: display NT_STATUS_RPC_SEC_PKG_ERROR in error strings
metze
(cherry picked from commit e2e426588bc6b011e0096c7fc3cb0823d7796bb3)
commit c01a67494d1775bcd0cadfa8d3b6884e8f237928
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jan 30 17:32:19 2011 +0100
libcli/util: add NT_STATUS_RPC_SEC_PKG_ERROR define
metze
(cherry picked from commit 24acddf8063fa5cdbd281f3f30a78d5e0ba4d882)
commit 3d2f72844a221dbdfe94fbf6e2b45c98ee158a9b
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 24 08:47:12 2011 +0100
s3:lib/events: use DLIST_DEMOTE() for fd events
This makes sure that fd events doesn't dry out,
because a fd with a lower number is busy.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Jan 31 16:59:44 CET 2011 on sn-devel-104
(cherry picked from commit ad10289ebcc78ab62ec86abb29f81eb769d17f4e)
commit d677921237c66e6cdf83de04e16c576a101d6493
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 24 09:00:53 2011 +0100
s3:smbd: let smbd_server_connection_loop_once() check for select errors
metze
(cherry picked from commit 0bbe7334d69bcaa476f0741e0bd9685b023a4208)
commit d506b574bb94fdc23c5a62c5326cd478b5b63a11
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 24 08:57:47 2011 +0100
s3:lib/events: don't loop over fd events is select gave -1
metze
(cherry picked from commit 1f2be10ebf4cc06e3b7aac41ea35bfc4a41ce828)
commit 8e7bb97409da74de7a9712f9c6504fb56f1f440a
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 24 08:56:56 2011 +0100
Revert "s3: Fix starving the echo responder"
This reverts commit d5cf6482ed0cd9a11448ca04944b2e01200a7c89.
I'll add a more generic fix for this problem.
metze
(cherry picked from commit 6953e2fa66410d466832b5e582921a291d224c5b)
commit 089bf22c7355aa715a76233f9313559b8bf25fab
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 24 08:47:38 2011 +0100
Revert "s3:events: Call all ready fd event handlers on each iteration of the main loop"
This reverts commit 455fccf86b6544cd17a2571c63a88f8aebff3f74.
I'll add a more generic fix for this problem.
metze
(cherry picked from commit 19d3779274314bb4ce76e3afaa21cf37de7b2b98)
commit a619d6158e42224d48605e3c8e99aab46bfa374d
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 31 14:19:25 2011 +0100
s4-smbtorture: add samr_changepassworduser3 ndr torture tests.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Jan 31 16:07:14 CET 2011 on sn-devel-104
(cherry picked from commit 1537f5dab1d947fddee05b27c7feb5c7e83e83a2)
commit 84f22ceb7226a40ba7051c6fe54a5ca4c5d7862c
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 31 15:13:09 2011 +0100
s4-smbtorture: make it more obvious this are w2k dumps in netlogon ndr test.
Guenther
(cherry picked from commit 8f4eee905488fccb56443b1f2d80e804ffc9422a)
commit 19e1465b2734a7e183b28cae64944ba8363051d8
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 31 09:38:21 2011 +0100
s3-waf: On FreeBSD, compile zfsacl if sunacl.h is around.
Volker, please check.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Jan 31 10:51:10 CET 2011 on sn-devel-104
(cherry picked from commit 35a7bebe2bc2c26ad2ee0a2ef9ce4217ca42e0ef)
commit 64a13b745622cae5971366097ac00eb5e67fc9fd
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 28 18:33:41 2011 +0100
nsswitch: libwbclient has vnum 1 now.
Michael, please check.
Guenther
(cherry picked from commit c9cb42a27634a0a711d48762c779c6b2f7c338e2)
commit b75f20648a0221af67bcd51c3c74f0b6e6240b84
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 28 18:31:41 2011 +0100
s3-waf: these libs are not private libs.
Guenther
(cherry picked from commit eb5d884b15b7d36559ab5961167a0277e93086e7)
commit a49339e3152db984f21ef4e99fdad40cc7988904
Author: Michael Adam <obnox at samba.org>
Date: Sun Jan 30 13:49:14 2011 +0100
s3:net registry: ignore WERR_BADFILE when --force is given in deletekey[_recursive]
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Sun Jan 30 14:53:13 CET 2011 on sn-devel-104
commit 831e7490d78a7780c8e169f4e3b70002e89105a2
Author: Michael Adam <obnox at samba.org>
Date: Sun Jan 30 13:44:31 2011 +0100
s3:registry: in deletekey_recursive, fix return code upon error.
correctly keep the werr from inside the transaction when the opearation
inside the transaction fails.
What is the correct behaviour if the cancel operation fails?
commit ede74fab144912bc6c47edb50f5ed0559b41674a
Author: Michael Adam <obnox at samba.org>
Date: Sun Jan 30 12:33:13 2011 +0100
s3:net registry: fix a debug message.
commit 9f292f4ca815cc723bf00d8d73d3d3c1a0319f2a
Author: Michael Adam <obnox at samba.org>
Date: Sun Jan 30 12:21:31 2011 +0100
s3:net registry: fix a debug message.
commit cf700e5bef947c3658cc6c68e6d91c55a40986e0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 29 09:19:54 2011 +0100
s3: On FreeBSD, compile zfsacl if sunacl.h is around
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Jan 30 12:17:49 CET 2011 on sn-devel-104
commit 31f569f6559e0f50e66c8c1072367d247c1feb54
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 29 15:20:41 2011 +0100
s3: Make _lp_maxprotocol static
commit 4a176246579f472d6458d46d9be8efa71dd49a73
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 29 14:07:59 2011 +0100
s3: Remove an unneeded check
In many other places we already assume that if asprintf returns !=-1 then the
result is allocated.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Jan 29 15:00:09 CET 2011 on sn-devel-104
commit 1772ad58dcca732e0213ce9625fcea873beb045a
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jan 28 19:07:40 2011 +0100
s3: inline get_uid_from_state
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Jan 28 23:38:16 CET 2011 on sn-devel-104
commit 5758f9391134d6f9eb573f821f7cbd065384460b
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jan 28 19:05:37 2011 +0100
s3: Lift winbindd_cli_state from fillup_password_policy
commit f6102c02b9ba0e3377f37db49713254ebea0d31c
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jan 28 19:04:04 2011 +0100
s3: Do not use state->mem_ctx in fillup_password_policy
commit ca5111561bc7b45b30ad18ca09316decbb47b711
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 11 11:54:18 2010 +0100
s3: Lift winbindd_cli_state from winbindd_dual_pam_auth_samlogon
commit 043a9e44f3cf02942e2774d5b2dc2d9ec1971daa
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 11 10:41:38 2010 +0100
s3: Lift winbindd_cli_state from winbindd_raw_kerberos_login
commit e7535f1472e4465ced667536b365f193a2caf8f5
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 28 18:17:00 2011 +0100
s3-net: use struct based dcerpc_spoolss_EnumPrinterData_r() call.
This is a workaround for a string issue we currently have with argument based
generated dcerpc client code (see bug #7804 for details).
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Jan 28 22:05:20 CET 2011 on sn-devel-104
(cherry picked from commit fc16baaf91f21addb42d41d60a1d0453c00843b2)
commit aad03ea3c45d366a76b1757b8fcd9fc316dcf82a
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 28 18:07:07 2011 +0100
s3-rpcclient: use struct based dcerpc_spoolss_EnumPrinterData_r() call.
This is a workaround for a string issue we currently have with argument based
generated dcerpc client code (see bug #7804 for details).
Guenther
(cherry picked from commit d4414f08cb5e52d03ddd07b21d07cb4e9516c53c)
commit 2b78be93aaaf79ab2ff236350a017c3418de913b
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jan 28 13:07:08 2011 -0800
We need to reply to SMB2_GETINFO_FILE with a class of SMB2_FILE_STANDARD_INFO on an IPC$ share.
Otherwise a Win7 client issues this request twice (2xroundtrips)
if we return NOT_SUPPORTED. We do the same for SMB1 in call_trans2qpipeinfo()
Jeremy.
(cherry picked from commit 4fb2313d5b9b946da6923d1ed65ccd8404770b3f)
commit d9bd62fcc2bdb89b9f082f4564989eab4187d831
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 28 15:33:51 2011 +0100
s4-smbtorture: add (disabled) ndr torture test to check for a w2k samlogon reply we can't currently parse.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Jan 28 16:23:30 CET 2011 on sn-devel-104
(cherry picked from commit 7182da7f919b9201126129cb2628004b588a2e60)
commit 3a7fc304fe2755e72223e14e103e28a2d2a40afc
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 28 14:18:31 2011 +0100
s4-smbtorture: add NDR tests for netr_LogonSamLogon.
Guenther
(cherry picked from commit 6957109e8deb5e6761195c1e69b2b1514ff5b788)
commit aad7d7632d022b9b51631ef0cf5345e1136fb6b4
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 28 10:31:39 2011 +0100
s3-rpc_client: remove some more obsolete cli_X.h header files.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Jan 28 11:18:44 CET 2011 on sn-devel-104
(cherry picked from commit 1232fb5a1ef22de76217f854158b10400a770b45)
commit c902eb4b98a7c876d1c6699124aecdc24d6ea7c2
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 27 23:47:44 2011 +0100
docs: update wbinfo manpage: remove documentation of removed parameters
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Fri Jan 28 02:09:09 CET 2011 on sn-devel-104
commit 6cdcf562f1a64680d0407afe8cc432e2617c0b52
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 27 23:11:42 2011 +0100
libwbclient: bump the libwbclient SOVER 0 -> 1 due to ABI changes
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Fri Jan 28 00:25:11 CET 2011 on sn-devel-104
commit 82802a41079004e128bd0574799fdca5937e2084
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 27 22:00:33 2011 +0100
libwbclient: bump version to 0.6 -> 1.0 due to ABI change (removed symbols)
commit 08a8cb9dbab5437439bf8de52ab0ee61d22c029f
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 27 21:54:25 2011 +0100
libwbclient: remove wbcSetGidHwm() - not implemented any more
commit 4423dd709e862fc470b063dc7031f6876fd8964a
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 27 21:54:25 2011 +0100
libwbclient: remove wbcSetUidHwm() - not implemented any more
commit dbee103957e5f13123c668d295e5897ddba58572
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 27 21:54:25 2011 +0100
libwbclient: remove wbcRemoveGidMapping() - not implemented any more
commit 864d201d5c6372b2335ba80f65135fcc05cee42e
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 27 21:54:25 2011 +0100
libwbclient: remove wbcRemoveUidMapping() - not implemented any more
commit c987cf6a31f170f476b31804f7be4aefd23860ea
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 27 21:54:25 2011 +0100
libwbclient: remove wbcSetGidMapping() - not implemented any more
commit c39cccafe9345934800aa3f61d91cf9b5ab52e86
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 27 21:54:25 2011 +0100
libwbclient: remove wbcSetUidMapping() - not implemented any more
commit 41184fd57384851074cbe2bfe291c8d2dcc6d1c3
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 27 21:46:12 2011 +0100
libwbclient: remove two unused defines
commit d229819e29ec11d8e5413fa8c16bdf3188962b4e
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 26 22:00:22 2011 +0100
wbinfo: remove --remove-gid-mapping - winbindd does not implement that any more.
commit 9062d12abd593f9276c2b4d57ced4e89b3e2b5ab
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 26 22:00:22 2011 +0100
wbinfo: remove --remove-uid-mapping - winbindd does not implement that any more.
commit ac65fee79df7a0c704a7fc9b5c058b7fab6d7f49
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 26 22:00:22 2011 +0100
wbinfo: remove --set-gid-mapping - winbindd does not implement that any more.
commit d459367821a3fa91f8a5d3d92839b6231d70d438
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 26 22:00:22 2011 +0100
wbinfo: remove --set-uid-mapping - winbindd does not implement that any more.
commit 2299ed4470fbb44207ff5c93e7e33605f93fc9e5
Author: Michael Adam <obnox at samba.org>
Date: Mon Jan 24 17:37:33 2011 +0100
s3:registry: fix comments in regdb_store_regdb_version()
commit 68753898e24dd0f9b431a70af5923bd360b0482d
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jan 27 15:37:25 2011 -0800
Add delete-ln test now we can correctly delete hardlinks.
(cherry picked from commit 0efb143877710706cd3812ad2247813a68f2fd98)
commit a253dc0f610c44653a36c225fba8761959d8c8e7
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jan 27 15:00:14 2011 -0800
Change "security=share" to downgrade to SMB1 from SMB2, rather than trying to fake it.
(cherry picked from commit 31d780df0da35cf30f666bf6ef1579872faacca0)
commit 374e70cf3a08c27d855e8efaf8b04c1a4897f82e
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 26 14:18:15 2011 +0100
s4-torture: Reorder the epmapper tests.
It works like a stack!
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Jan 27 15:28:05 CET 2011 on sn-devel-104
(cherry picked from commit dbb184ab7b354768f956ef2df29ba1be8177c41e)
commit 09f201e0912185f9dd4b1da576c863c9ad3d87d7
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jan 25 18:49:32 2011 +0100
s4-torture: Added a full epm_Map test.
(cherry picked from commit 3e29bb0b925051aa2398bff6eef7b01ea9ca6e2f)
commit f3b58ea6357e5a1da55c5d18780641c5a5e03555
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jan 25 22:51:26 2011 +0100
s4-torture: Added a test_Insert for epmapper.
(cherry picked from commit 357fd2cecc6ee1cd0eb8b3d377454d3f02825ea1)
commit 3b5c38094cf46d5e5f1be86cc81e7a5d4691a345
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jan 25 22:50:42 2011 +0100
s4-torture: Use binding handle in epm_Delete test.
(cherry picked from commit 43f766dd0494e4b6c52a5e8bdffd5e82740d13ae)
commit 8c59083b12627e3cfb65482d8b7ca782715d7f39
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jan 18 16:42:34 2011 +0100
s4-torture: Comment out the test_InqObject.
(cherry picked from commit fed2b6167a1c01e2492d03c0293a7cb8994d470d)
commit 4736f105c20dd900c8f0a6105080b9e35cb5aa1c
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 12 17:41:05 2011 +0100
s4-torture: Added a clean test_Map_simple.
(cherry picked from commit dd9feec3df4d4b6c8070467b5a1c85d54f6d7c8e)
commit 096eb05c8c26a7484524c21ebaf567d9137fb36f
Author: Andreas Schneider <asn at samba.org>
Date: Fri Dec 24 10:35:47 2010 +0100
s4-torture: Added a clean test_Lookup_terminate_search.
(cherry picked from commit c3c650623a70f3ccc47c235a52eafc92751afd0e)
commit 64b825b549c2f3690240364110bb1bca1aea4f90
Author: Andreas Schneider <asn at samba.org>
Date: Thu Dec 23 20:57:28 2010 +0100
s4-torture: Added a clean test_Lookup_simple.
(cherry picked from commit 548c7120825fe1a1593b87f627223562beb222b2)
commit 3ba6c6e6266eda2c67cdfbcbc7094391a8421bdc
Author: Andreas Schneider <asn at samba.org>
Date: Thu Dec 23 13:07:39 2010 +0100
s4-torture: Added test_LookupHandleFree.
(cherry picked from commit 0ccb374c6a72100560417326538b0642ad6feb18)
commit d26c982015824bc0727e36a8f0211753ae2625c6
Author: Andreas Schneider <asn at samba.org>
Date: Tue Oct 5 11:17:31 2010 +0200
s4-torture: Start with a clean epm_Insert_noreplace test.
(cherry picked from commit 9a771f17c84d8dbe8cbb1fdb86631a1fc7c9899b)
commit 1e5f748a4841ea28ea17c06303b4c58ba39adfdc
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 26 10:01:26 2011 +0100
s4-selftest: Mark epmapper as knownfail.
(cherry picked from commit 6cb2fb1c4a997df912940a7a74d0d5dee1ba2756)
commit 4909a76ff70323162091da699f5fa291504396ad
Author: Andreas Schneider <asn at samba.org>
Date: Tue Oct 5 15:32:54 2010 +0200
idl: Added missing endpoint mapper defines.
[MS-RPCE] 2.2.1.2.4 ept_lookup Method
(cherry picked from commit eacc9d659afa0b2273be350440c506c5ca5b0205)
commit a8b99652f3768dc4ba8c6fed8381fb05548166d3
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jan 4 10:11:09 2011 +0100
librpc: Added support to accept netbios names.
If we have a NCACN_NP pipe, the binding host is the netbios name an not
an IP address.
(cherry picked from commit da3e057b6fdb40b6cf6bdb61b35467f34024a246)
commit c97e1049f0027fec9f60e316b86de3f8a359a119
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 25 12:10:25 2011 +0100
s3-build: remove another leftover of -I../source4.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Jan 27 13:30:30 CET 2011 on sn-devel-104
(cherry picked from commit 9d04f2bd68ca80f2a3270b40e9744e28a04f8646)
commit f22ff13a6c46bb716049ff2250b29c670e555052
Author: David Disseldorp <ddiss at suse.de>
Date: Wed Jan 26 14:32:01 2011 -0800
Looking into printer driver issues, I ran across some peculiarities in
copy_file():
- Firstly, if the source file is zero bytes, NT_STATUS_DISK_FULL is
returned.
- Secondly, the conditional lseek is confusing. It fires when
OPENX_FILE_EXISTS_OPEN is set and I can't see why the lseek is
necessary in this case.
- Finally, the lseek error path also results in NT_STATUS_DISK_FULL.
Proposed fix for first and third point below.
(cherry picked from commit aa3bba8d778862c82e48a7c6f7bd51f5c78c7d90)
commit e396ae005e36e2af8b1d8c22a8295b6be1e49521
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 19 23:15:21 2011 +0100
s3-utils: Fixed a resource leak in net_afs.
s3-utils: Fixed a resource leak in net_afs.
(cherry picked from commit 92f8a5747bf74adedc97ea3a63819d6e58f010c3)
commit 948ceb0dcf10578a8276ad75778384ae755c2f4c
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 19 23:13:47 2011 +0100
s3-utils: Fixed a resource leak in smbta-util.
s3-utils: Fixed a resource leak in smbta-util.
(cherry picked from commit 4fc75c755d0b20ba4f4e1c42471a0355fd85990d)
commit 702549a4ec668a51ec4cea5096ef6af493e50aed
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 19 23:07:33 2011 +0100
s3-utils: Fixed possible resource leak in net_usershare.
s3-utils: Fixed possible resource leak in net_usershare.
(cherry picked from commit f419c2b0911788cdd0474bd543ebdbfa52954889)
commit 096679cff55808a1484d627ee3e0c8a25a169a24
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 19 15:18:10 2011 +0100
s3-utils: Fixed possible resource leak in smbget.
s3-utils: Fixed possible resource leak in smbget.
(cherry picked from commit de4ef101c165cf735938f914f7da620daea91762)
commit 6b3d0d8f3524f35240624e17eff68cbf6d248f34
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 19 15:20:34 2011 +0100
s3-utils: Fixed possible resource leak in smbfilter.
s3-utils: Fixed possible resource leak in smbfilter.
(cherry picked from commit 08dc51d3caabcebf9cc2dc02aac74632831c09b7)
commit 22b0b8069d7b1e1900ef3be60a8e4734a88eeefb
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 19 23:11:32 2011 +0100
s3-modules: Fixed the for-loop code block.
s3-modules: Fixed the for-loop code block.
(cherry picked from commit f6f0dac4271b2bd1304c2b592c4d2dcbc795afaf)
commit 7e7d28369eabfca59ab21f1541c78f9fd76a66be
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 19 23:04:13 2011 +0100
s3-lib: Fixed a missing return value in tldap.
s3-lib: Fixed a missing return value in tldap.
(cherry picked from commit 2c47368d682ee908e79bc43d5c865049397440e1)
commit 795516f550e84f60e956b2673093017849eb985d
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 26 22:17:43 2011 +0100
errormap: Add unix_to_werror() function
While this function technically is closest to the
map_nt_status_from_unix() function, I think it is better to keep the new
function in line with our usual fooerror_to_barerror() naming scheme.
Signed-off-by: Kai Blin <kai at samba.org>
Autobuild-User: Kai Blin <kai at samba.org>
Autobuild-Date: Wed Jan 26 23:07:24 CET 2011 on sn-devel-104
(cherry picked from commit 278c6f8fc538ad8ee069f0682229fad34abb3513)
commit 7bc073743c9c9d892ab00ed236af3ab8c074e75d
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jan 26 10:50:44 2011 -0800
Allow "security = share" with SMB2. We already handle this in smb2/smb2_server.c
(cherry picked from commit de53c1e30ddbc640fd0755cf38a40e9e0acac309)
commit fd74ee5f3e480407cd543d547cdf441a6641a853
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 26 08:48:34 2011 +0100
pidl:Typelist: fix perl warnings about recursiv function calls
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Wed Jan 26 10:59:04 CET 2011 on sn-devel-104
(cherry picked from commit 34664338f3c0bd9acbb2ada3d92d482e30cbdf1c)
commit c10a24dc199963b9ca726c735266582dd46d287c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 25 19:46:18 2011 +0100
pidl:Samba3/ServerNDR: correctly initialise ndr_push struct
We need to copy the ptr_count from the ndr_pull struct to the ndr_push struct,
otherwise we'll reuse full pointer ids, which will cause the client to
fail in the ndr unmarshalling.
metze
(cherry picked from commit 4b068bb91994a0fc3a76abd45bff4e2fe53e9a34)
commit b271a9fdfcc4b5c465fd644f211658f07a8bad21
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jan 26 08:43:43 2011 -0800
From Metze - make sure we're using the same string length for the hash.
(cherry picked from commit 30065ac02e825bd0202294202069a0bc890cbdf1)
commit 7819c94193c314d891fae58ae01a28b2b53ee223
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 24 20:52:24 2011 +0100
s3-winbind: share a common winbind_samlogon_retry_loop().
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Jan 26 12:41:14 CET 2011 on sn-devel-104
(cherry picked from commit abb7c07de5d07d5378dafbfdf0d0213a2b0e0b05)
commit 47ef6e44c119da378d3113e16d6be07e1e3a2fdb
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 24 20:45:35 2011 +0100
Revert "s3: These assignments are overwritten immediately"
This reverts commit 18962ea3852d0d0fc7371e99813bebd54fae0a19.
(cherry picked from commit 035a0d2fb36af2be655a19103bc3e01e036375a4)
commit c43b6c3af6957f78bee4f6629aca05501c920a9f
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 24 20:43:56 2011 +0100
Revert "s3-winbind: fix winbindd_dual_pam_auth_samlogon() for NT4 domains."
This reverts commit cea36aeacf8778493463f31e6afc3f58384639e2.
(cherry picked from commit 36cfa1792ed1d13268de792cb4df20d6743d1e55)
commit 21ebf5ff7699c9ac8e6d7c59de64c4ac82adc983
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 25 14:59:44 2011 -0800
Missed one debug printf of name_hash. Ensure always use %x.
(cherry picked from commit 9e67184d0f5cc151091faa8e5db24d5569a3fead)
commit 34952ac438db81d23caaf5c46a2c55d77bfcc97a
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 25 14:23:19 2011 -0800
Fix bug #7863 - Unlink may unlink wrong file when hardlinks are involved.
Do this by keeping a linked list of delete on close tokens, one for
each filename that identifies a path to the dev/inode. Use the
jenkins hash of the pathname to identify the correct token.
(cherry picked from commit 44732734cca2328a8aceb2db9b577c923920f644)
commit f818e57efe68a4ec6a53ce0bba384c14c9f299ef
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 25 13:57:38 2011 -0800
Add uint32_t name_hash argument (currently unused) to get_file_infos().
Will be used when we store more than one delete on close token.
(cherry picked from commit a65bce4e38d0b940286c7c93c226651e5fb45082)
commit d2bf919d7145079fbd81fd16792c11f4b6024edd
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 25 14:01:52 2011 -0800
Add name_hash into the share mode entry struct (as yet only use for renames to identify a specific path).
(cherry picked from commit b97f1ce68a512cb0da71ee1de9ddaa49dd466068)
commit 6189fcd839b85dff7d1f4736e141114641bafee6
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 25 13:49:01 2011 -0800
Add name_hash to files_struct. Set within fsp_set_smb_fname().
(cherry picked from commit 76418e23bcde1eba4dfefbc10c51c083567a52e6)
commit 4d36084e05ca8a87e775b570215efd41eef7fc10
Author: Björn Baumbach <bb at sernet.de>
Date: Thu Jan 20 14:38:30 2011 +0100
s3-smbclient: Fix cli_errstr() usage (part of bug #7864)
Convert cli_errstr() to nt_errstr()
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Jan 25 11:41:53 CET 2011 on sn-devel-104
(cherry picked from commit 07ccc2905dc5d0d74dc688ff830f504ea9665029)
commit dd4f80a6dc99f3f811a909f0c37940774e03ef15
Author: Björn Baumbach <bb at sernet.de>
Date: Thu Jan 20 14:08:42 2011 +0100
s3-masktest: Fix cli_errstr() usage (part of bug #7864)
Convert cli_errstr() to nt_errstr()
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit 5d8ada549e629cfe53ed973d66f5fcf0a3bd0a8c)
commit 33f14a75ceaacc179c406f2689198946054c0396
Author: Björn Baumbach <bb at sernet.de>
Date: Mon Jan 17 12:02:39 2011 +0100
s3-smbclient: Fix cli_errstr() usage (part of bug #7864)
Convert cli_errstr() to nt_errstr()
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit 09c612f377749b79b850ee6c52ae49699e256359)
commit df6c3b20dc7d059ffb50b09aac2112499990aaa0
Author: Björn Baumbach <bb at sernet.de>
Date: Mon Jan 17 13:03:05 2011 +0100
s3-torture: Fix cli_errstr() usage (part of bug #7864)
Convert cli_errstr() to nt_errstr()
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit 99f8f5e5945c5cd694dbb37fa947c04a24e25957)
commit 26bc25ef442869c627f5fa6d5c0d3954098b8b68
Author: Björn Baumbach <bb at sernet.de>
Date: Mon Jan 17 09:51:45 2011 +0100
s3-docs: fix deldriver option
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit 3bb212a3a96164121d345a8c8f81294b0f988261)
commit c5c4f872f7b2e02a68855824c28693e61d24b373
Author: Björn Baumbach <bb at sernet.de>
Date: Fri Jan 14 12:35:55 2011 +0100
s3-docs: add some long opts to smbclient(1) man
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit b8d5ee9de3bb8c24efd2a7fab89d7d814b98aa2d)
commit 7ad77c2eab787801946689ba462c20c2b26dbda6
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 25 02:42:59 2011 +0100
idl: add file_id idl.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Jan 25 12:27:00 CET 2011 on sn-devel-104
(cherry picked from commit c9f4fad75cf9749709cbebfe55c59f3c2d01858e)
commit 4538a217368eabf5a0649d1168ecfb19a7919d94
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 25 02:52:18 2011 +0100
s3-libndr: remove cmdline_lp_ctx.
Guenther
(cherry picked from commit f0b3c72bcc119f497a4379c549bc55fb1031ce90)
commit 64620cbba4fe18731760e39990db41f13e29b042
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 25 02:01:56 2011 +0100
waf: share libndr.so between samba3 and samba4.
Guenther
(cherry picked from commit dd35fe181c2397a970fa956afa5f4da534841b99)
commit b50f096f37dfe3d50e097797c9b84f4b8064faeb
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 25 00:52:10 2011 +0100
libndr: move ndr_print_bool to ndr_basic.c
Guenther
(cherry picked from commit 7eac3100ea77eca64152444336180418938d5843)
commit 20e09d269b0f0d3ec5433566809dbe369774a713
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 25 00:47:05 2011 +0100
s3-waf: add PKGCONFIGDIR.
Guenther
(cherry picked from commit 62e1c80cf532681c02ecd2ddcb7c920381a0465e)
commit 802e2a918e3db282f2cfd282c1341437fa126e12
Author: Matthieu Patou <mat at matws.net>
Date: Sat Nov 20 18:06:12 2010 +0300
idl: remove protected storage
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit 9d9c2128585a1d5fdb9090215750427df6a883ff)
commit 3ee3cbd49fa06bd3d17fe6a52920d5d1dd557444
Author: Matthieu Patou <mat at matws.net>
Date: Sat Nov 20 18:19:06 2010 +0300
idl: Add IDL for remote key backup protocol (rkbp)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit 25ae380fabfd2d7e5141dadb48b8e30b5b723c1f)
commit d6ab52177397fab496edd570c64c5673eda1ea48
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 24 16:55:05 2011 +0100
s3-build: remove source4 include path for autoconf build as well.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Jan 24 17:40:56 CET 2011 on sn-devel-104
(cherry picked from commit 39ea30de0fb9ebf64b7c7ab8f6731fcf98ed294b)
commit bb21a5def93877ff6f524998e7e806222c1163e8
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 21 16:58:32 2011 +0100
s3-rpcclient: allow to define validation level for samlogon.
Guenther
(cherry picked from commit 99437614fa8028d60356ee79611d94051ec756ec)
commit f08f449cc074e32d54da62521c2598d5ac9b3eb5
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 12 15:48:30 2011 +0100
drsuapi.idl: add some more DRSUAPI_ATTID_* values
These will be use for "net rpc vampire passwd" in source3.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Wed Jan 12 19:51:53 CET 2011 on sn-devel-104
(cherry picked from commit c39e80094b91ac7055faee61a8137d47e9e76c43)
commit 7d0b03e676fbb977c3e83bb077f19551be796587
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Dec 23 12:42:37 2010 +0100
lib/replace/testsuite.c - fix test output
(cherry picked from commit da78e24ca201dcdac8a498a5d0da8c30154d4d9a)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 9d2567e7a0c602afdcf8e2146bcaee509dec902a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jan 5 13:52:34 2011 +0100
tdbrestore: Update to GPLv3+, remove old FSF address.
(cherry picked from commit 24d5a7202ab521b92eb07c93647ae2d381e181a5)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d132658fbe61a2904dd04e915adc7c5d0f686ea2
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 15 02:24:51 2011 +0100
s4-dns: disable segfault handling in dlz_bind9
we don't want bind9 calling the Samba segv handler
(cherry picked from commit da5c328b4b4a793053a8b1c942ceda56da01625c)
Only the lib/util part...
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 5cb58b7d29ee142df864b0d844adff865ba04454
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Dec 22 09:53:27 2010 +0100
lib/util/time.c - make the "strftime" output locale independant ("%c" is not)
So that it also works on Solaris.
(cherry picked from commit 07bcf6197d9fbdc038513ae3db7f83a9bb8a6cd9)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 5617a71e2ed28eb129c8854aa3ae18c98c409c59
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Dec 6 11:28:22 2010 +0100
Revert "lib/util:tests/time.c - "test_timestring" - fix it on Solaris"
This reverts commit 654e0102ddb0acaaf45fb55c15818722235fcc9f.
This should better be handled by the replace library.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Dec 6 12:17:31 CET 2010 on sn-devel-104
(cherry picked from commit bd3e5804a41fdfc8a43bebd95c53e4f0ff1d7a10)
commit fa98c8ec3fa805790491d2fed76c9fa79ed289d1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Dec 5 22:20:06 2010 +0100
lib/util:tests/time.c - "test_timestring" - fix it on Solaris
Solaris returns "Thu Jan 01" and not "Thu Jan 1" - therefore proof for
both.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Dec 5 23:09:13 CET 2010 on sn-devel-104
(cherry picked from commit 654e0102ddb0acaaf45fb55c15818722235fcc9f)
commit e08e530974c8f1042f27fba5b47921cc1c6c5e13
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 24 15:27:52 2011 +0100
s3-waf: fix lib/addns include path.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Jan 24 16:15:58 CET 2011 on sn-devel-104
(cherry picked from commit ef0a3903f007cee5a564699fc9750d6e8a472d7d)
commit a4f9ad8f2f8790d13421affd9952f891e5632465
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 24 15:26:11 2011 +0100
s3-waf: no need anymore to include "source4" globally.
Guenther
(cherry picked from commit c675b1c827f792e19cbacd91d2356e0df2ee87e3)
commit f670bb40a3d978fbbbf0e41808efc3f67ce9177b
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 24 13:29:14 2011 +0100
libcli/ldap: use lib/ldb_compat.h for the s3 build
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Jan 24 14:55:50 CET 2011 on sn-devel-104
(cherry picked from commit 0dc1eee0b8174d591ea02de40bb564088a25fd97)
commit b88ca1307b0ddf9181eb4fc85dd1d3fd6d766ede
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 24 11:48:36 2011 +0100
s3-winbind: fix winbindd_dual_pam_auth_samlogon() for NT4 domains.
After failing the netr_LogonSamLogonEx, we failed to retry with
netr_LogonSamLogon.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Jan 24 12:35:42 CET 2011 on sn-devel-104
(cherry picked from commit cea36aeacf8778493463f31e6afc3f58384639e2)
commit 8645941125a50bd9cc77676f481b44e52362ac75
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 24 09:25:01 2011 +0100
Revert "s3: Fix an infinite loop"
This reverts commit 61f7d7cdeccb1f733590e8bdb8229b32363a815e.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Jan 24 10:10:43 CET 2011 on sn-devel-104
commit 0a84c3041a8f6f776d0c7811a30b77177ca150c0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 23 09:12:43 2011 +0100
s3: Fix an infinite loop
If select returns EBADF (which should NEVER happen), then we loop infinitely
because the select masks seem all active.
I've been given an strace where smbd floods syslog with inotify-related
error messages. The strace shows that select returns EBADF, and we're calling
the inotify event callback. It then complains there's no data on the inotify
fd.
Metze, please check!
We might need to fix this in 3.4 and 3.5 as well. And we need to find the
deeper reason where we close a file descriptor and don't tell the events
system about it.
Volker
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Jan 23 10:05:39 CET 2011 on sn-devel-104
commit 60ceb0bdc79427d29c1076a0094d9250d36e42c0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 22 16:22:42 2011 +0100
s3: Fix connecting to port-139 only servers
When the TCP RST came before the 5 msecs timeout kicked in, we
viewed this as final, as state->req_139 was not set yet.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Jan 22 17:42:41 CET 2011 on sn-devel-104
commit 1007dd323bb701dc4cfa07d9cfd8a8361cceeccc
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 21 15:35:11 2011 +0100
s3-torture: fix uninitialized status code.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Jan 21 16:52:34 CET 2011 on sn-devel-104
(cherry picked from commit 6ee39a2f42e83768f99e742f76dd4a1b785fcdae)
commit 0e0cdc162aa5d8fb331ca5054c7e3ffcd919fe31
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 21 16:02:18 2011 +0100
s3-rpc_client: fix dcerpc_try_samr_connects().
Only return when both results are ok.
Guenther
(cherry picked from commit 6923cc801669ad31741a9e2a024e0d35f1a16d58)
commit 1324924d54a354cd5e564c8ff81560a6b17e661c
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 21 16:00:31 2011 +0100
s3-rpc_client: no need to include gen_ndr/cli_samr.h anymore.
Guenther
(cherry picked from commit e873ce9b651b665b1b0e3755b016587f02a9f99d)
commit 30be636a97838b80b078c41e10fcef96321afbda
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 21 15:51:05 2011 +0100
s3-rpc_client: fix uninitialized variable found by -O3.
Guenther
(cherry picked from commit 1f26b101ed594ed55f9679fe595ddba2ef1ecee0)
commit d4fa4fc3c1c0f3f10a60b059b51dae5c5c555297
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 23:16:42 2011 +0100
s3-waf: remove RPCCLI_SPOOLSS subsystem.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Jan 21 16:06:40 CET 2011 on sn-devel-104
(cherry picked from commit 5e89574dceb80b170444631bcffdf02fc8f7af76)
commit 6c822b1851e07826b3eb2477fec7a04cdfddee90
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 23:16:24 2011 +0100
s3-build: remove RPCCLI_SPOOLSS subsystem.
Guenther
(cherry picked from commit 24c51a7d2a3e6cdcf8cf55278d3e4151b7271d3b)
commit 7483d7837980a051485101633ea618dfc4ab6d0d
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 22:10:30 2011 +0100
s3-rpcclient: prefer dcerpc_spoolss_X functions.
Guenther
(cherry picked from commit cf7a78b64f83be4c2ccc0b1fd2b074954179bcb1)
commit 215a3f774c978361c56688cb18c25a245e02843e
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 18:37:52 2011 +0100
s3-rpc_client: prefer dcerpc_spoolss_X functions.
Guenther
(cherry picked from commit e94ffc790e7206f76d9ea43d0620511143547457)
commit 038f101a26e69939ae39ebb3fe36489571d6889b
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 19 00:43:33 2011 +0100
s3-lanman: remove trailing whitespace.
Guenther
(cherry picked from commit 831f3eec16623e8c96aa58a4e03db5f0fcda8b5c)
commit 7107405396f94b617a2151005be21bcb447869d4
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jan 13 17:30:52 2011 +0100
tdb: Added doxygen documentation.
Autobuild-User: Andreas Schneider <asn at samba.org>
Autobuild-Date: Wed Jan 19 11:26:34 CET 2011 on sn-devel-104
(cherry picked from commit b42afa0edf375c944d39a888f4db422e8d2b13cf)
commit a1f5754ce6b33c80d73fdbf3408bd258a88bfb6a
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 12 15:51:49 2011 +0100
s3-rpc_client: Added dcerpc_try_samr_connects.
Autobuild-User: Andreas Schneider <asn at samba.org>
Autobuild-Date: Fri Jan 21 15:19:01 CET 2011 on sn-devel-104
(cherry picked from commit 5db115a3041faee7c924cf26c1635f6028ae7df8)
commit 68afebf217797188fab785afc2d08d66ce073b93
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 12 15:36:19 2011 +0100
s3-rpc_client: Rename get_query_dispinfo_params.
(cherry picked from commit 089c25cbbb44547bbb03d54ec4e2c1f5ebd10f86)
commit 7e6fcf81e2ef8c4bb1163dedbeb6b56913d2a6e3
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 12 15:14:35 2011 +0100
s3-rpc_client: Added dcerpc_samr_chgpasswd_user3.
(cherry picked from commit e6475f2151eb94b2e9010f9e0f4d3d8c2c315b81)
commit cf21b02ee5f53351a6e8825f4841ed61e4d8c90b
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 12 09:04:19 2011 +0100
s3-rpc_client: Added dcerpc_samr_chng_pswd_auth_crap.
(cherry picked from commit 200772653ae295b4c5142d943faf7a2c878121a9)
commit ab1ea9ac59edf53f6baf9ad6519cba59915c6b7f
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 12 08:46:28 2011 +0100
s3-rpc_client: Added dcerpc_samr_chgpasswd_user2.
(cherry picked from commit 3de564b9b6559690578ca649f8acf52d82bc592e)
commit 5bbabae6f74b18c82d56c79606ae980a3e635e31
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jan 11 13:07:02 2011 +0100
s3-rpc_client: Added dcerpc_samr_chgpasswd_user.
(cherry picked from commit 78c4f72c311fb23ab37ed892fe67b75421736803)
commit ef46a0f61901983196ba74c0141639232a6c8128
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jan 11 12:56:44 2011 +0100
s3-rpc_client: Added header information to cli_samr.h.
(cherry picked from commit 8b1ffc770c50b789ce923f585b20a74d9b42f2ee)
commit ba7dcd0aab61d5937951e9a3c4c04a622cd98b62
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jan 11 12:56:08 2011 +0100
s3-rpc_client: Added header information to cli_lsarpc.h.
(cherry picked from commit 1efa9b1cbd5576e1985a909afa43d24cc3fa2bb0)
commit 3f8b53e6bb2d3fbb5bd802a461373b0403789320
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 15 12:06:09 2011 +0100
s3:printing: use dcerpc_spoolss_X() functions
metze
Signed-off-by: Andreas Schneider <asn at samba.org>
Autobuild-User: Andreas Schneider <asn at samba.org>
Autobuild-Date: Fri Jan 21 13:14:49 CET 2011 on sn-devel-104
(cherry picked from commit 7a2fa9fc1cf5b26419c9cd915e85030c7f14e764)
commit 281bb107a70da21744362bd95936fc384cc5674c
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 15 11:55:39 2011 +0100
s3:srv_spoolss: use dcerpc_spoolss_X() functions
metze
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 1f8332526102e879c8a8f847d6b43efaf69d03ba)
commit fc01d4ab45706aae9b086c63537eb2994953d064
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 15 11:53:11 2011 +0100
s3:smbd: use dcerpc_spoolss_X() functions
metze
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit e830e37c9c0ef6597e92e31915b2f41310ac1cad)
commit 5ccc1421236fd86995073fcc502b5babd36ebe15
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 15 11:50:59 2011 +0100
s3:net: use dcerpc_spoolss_X() functions
metze
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 81443447a116460911a9235a8f9a60e3c8dea502)
commit 7042891e1c5ce5727670c3bc01c057727edc0bae
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 15 11:44:23 2011 +0100
s3:libads: use dcerpc_spoolss_X() functions
metze
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit a34aa148ca9789ddd7f1f09d548e7c2668876151)
commit a554efc92e54d3e94fa1656df85209eba11c83d3
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 21 13:49:06 2011 +0100
s3:docs: document "winbind max domain connections"
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Fri Jan 21 14:33:57 CET 2011 on sn-devel-104
commit fb9e65735526080cb6cb90ae42ea20c474d90268
Author: Volker Lendecke <vl at samba.org>
Date: Wed Apr 7 17:45:12 2010 +0200
s3:winbind: Fork multiple children per domain
This makes us scale better with many simultaneous winbind requests,
some of which might be slow.
This implementation breaks offline logons, as the cached credentials are
maintained in a child (this needs fixing). So, if the offline logons are
active, only allow one DC connection.
Probably the offline logon and the scalable file server cases are
separate enough so that this patch is useful even with the restriction.
commit d35fc973d966eebff204665a728a1639a19d198c
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jan 21 10:30:13 2011 +0100
s3: Fix a deadlock between smbd and ctdbd
Do the notification after we released the share mode lock. Inside notify_fname
we take out another tdb lock. With ctdb also accessing our databases, this can
lead to deadlocks. Putting this notify after the TALLOC_FREE(lck) above we
avoid locking two records simultaneously. Notifies are async and informational
only, so calling the notify_fname without holding the share mode lock should
not do any harm.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Jan 21 12:29:21 CET 2011 on sn-devel-104
commit 1e67bf44e2b7882edcd932a8cce0365d520b1804
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 21 09:46:42 2011 +0100
s3:vfs:shadow_copy2: fix indentation in _SHADOW2_NEXT_SMB_FNAME
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Fri Jan 21 10:57:45 CET 2011 on sn-devel-104
commit 091f5b199ec145561ee5840903c73a26d14e3319
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 16 04:26:02 2010 -0700
s3:vfs:shadow_copy2: Fix shadow-copy module for drag&drop from a snapshot
We have to return NT_STATUS_NOT_SAME_DEVICE to trigger the Windows client to
start a copy itself. Unbeknownst to us via the ACLs snapshots are read-only, so
a rename would trigger a EACCES. Unfortunately the MacOS/X finder does not do
the smart NOT_SAME_DEVICE fallback that Windows does.
commit 05e0002b9d2140a57f8edb2c9341ec62b5e19999
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Thu Dec 9 11:25:17 2010 +0100
s3:registry correct a debug level
this is not a level 0 message, move it to 10
commit fa5089cfe589b3e575cf55597d5ea0f7e036c824
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 23 14:49:12 2010 +0100
s3:winbind: Protect against invalid winbindd_cache entries in lookuprids
commit f2922ace5be4f91c4c6d394da6f1d0cb1a32b9b8
Author: Gregor Beck <gbeck at sernet.de>
Date: Wed Sep 29 15:13:55 2010 +0200
s3-net: add roundtrip tests for registry import/export
commit ee2292227a5e849497206971c9013521e62bb05d
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 8 17:59:35 2010 +0100
packaging(RHEL-CTDB): explicitly build the tsm vfs module.
commit 435d15c02e924627410675871d76c073d762e22f
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 3 01:55:52 2009 +0100
s3: Fix the code to immediately disconnect from a non-working ctdbd
commit 013eb30421c58431f3b25a0b4655f86d1dce140f
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Nov 20 10:39:57 2009 +0100
s3:vfs:gpfs: fix logic when gpfs:winattr is false (the default!)
On my autocluster setup, it's not set. Maybe it should be? Otherwise
smbclient and some Windows client programs will get errors like:
# smbclient //localhost/data -Uadministrator%XXX
Domain=[VSOFS1] OS=[Unix] Server=[Samba 3.4.2-ctdb-10]
smb: \> put /etc/resolv.conf resolv.conf
NT_STATUS_ACCESS_DENIED closing remote file \resolv.conf
smb: \>
Caused by attempting to update the time on close.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Signed-off-by: Michael Adam <obnox at samba.org>
commit 404a40350d8140f4d49b9fae83971fd5e9a8a587
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 21 10:38:23 2011 +0100
s3-spoolss: make it more obvious what winreg_create_printer() does.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Jan 21 11:43:29 CET 2011 on sn-devel-104
(cherry picked from commit 8db3258983bcf4ad73679a5bd5a554adc062a324)
commit f3bd75c5b017a82c333f4902d0051420444c818b
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 21 10:34:38 2011 +0100
s3-rpcclient: rename duplicate enumkey command to winreg_enumkey.
Guenther
(cherry picked from commit 621fb88e331bb247d1726e7ffcd2a3c4819e6e14)
commit 620c09edcbf22bb8e9145b106f27f20090146bf0
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 19 14:39:50 2011 +0100
s3-spoolss: as smbtorture testing proves: devmode size is the size of the devicemode minus the driverdata extra size.
Jeremy, please check.
Guenther
(cherry picked from commit be884c1bfdfec24c067705af132a4d7dce807376)
commit 773830d2da1b0199286c268a9a01d86b1e79ad94
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 19 14:39:36 2011 +0100
s4-smbtorture: make sure there is always driverextra data in spoolss devmode size tests.
Guenther
(cherry picked from commit 1f3fb30ed938d1ffdf4fbdcbc8b429becbbdb801)
commit d191c2e3af202a37202f629c4f461eb751523ec6
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 19 13:49:51 2011 +0100
s3-spoolss: disallow storing an invalid devmode size.
Guenther
(cherry picked from commit 9b1878e538a39b5459a74790b371ef5c098e0642)
commit b9b226680a941cff7a805158b9099ff754041e10
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 19 13:48:17 2011 +0100
s4-smbtorture: add tests for the size member of spoolss devicemodes.
Guenther
(cherry picked from commit aefbec52703a10ebe49ddd4883ea728116825114)
commit 611ff18b7a1cedbdfd1baa9e3603f18314864718
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 19 13:44:46 2011 +0100
s4-smbtorture: prepare devicemode test for expected result tests.
Guenther
(cherry picked from commit 7a7b61ef082070de9407c937a86e299a98a6ef58)
commit 0524e247610942acb0ee13ac8c5ec29f3107ed8c
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 19 00:15:09 2011 +0100
s4-smbtorture: add some paranoia checks for 0 sized devmodes.
Guenther
(cherry picked from commit bb51c050149c2e2ea5bf81f283da862fc1e840d2)
commit f52c2942ff2817f5521784a854460dd6b1f4484f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 19 11:04:05 2011 +1100
waf: change private libraries to use the same soname as public libraries
See
http://lists.samba.org/archive/samba-technical/2011-January/075816.html
for a description of the reason behind this change
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Jan 19 02:21:06 CET 2011 on sn-devel-104
(cherry picked from commit 7d8e9706f7829feaef928424e76bd7df6e223762)
commit 0f4c89b0bebedeb8f0800a59a0bb02a7570f6d84
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 8 12:02:51 2010 +0100
buildtools: add the PRIVATE_EXTENSION for private libraries
metze
(cherry picked from commit aee086c4d5a5b591814e7e78b3f24420a8ffff48)
commit 0fec411dcf8906afeeece01a6827ac4d01d85379
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Dec 21 23:52:15 2010 +0100
wafsamba: Allow newer or the same python module versions to be installed,
not older.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Wed Dec 22 00:42:23 CET 2010 on sn-devel-104
(cherry picked from commit e43de85b97dfa584ba9cfb7b18ed302fddb767ae)
commit ad73c7262727e0c8a82c4b032ded3c63db34b006
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 5 12:16:15 2011 +0100
buildtools/wafsamba: import 'sys' and 'Logs' if we use them
We should avoid generating a backtrace in a normal
error case, just because sys.exit(1) isn't known.
metze
(cherry picked from commit e0a9b58de8bd86122d17c0330cb1f0330207c023)
commit c68f4af4f9c4e580ec4192a6e1c0e67fbba52455
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jan 20 16:32:57 2011 -0800
Remove all uses of "./" in pathnames - make canonical. This will become important when we need to guarantee canonical names for hashing.
(cherry picked from commit f278cc1a1f253b6492ef60c2879bdae6a2730084)
commit 4f84d6720779bf1a3cc855e9d4508a7026eb4e59
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jan 20 16:30:28 2011 -0800
Ensure we don't use "./" in findfirst pathnames. Use a directory open of "." instead.
(cherry picked from commit de4b09ca01b1747c49bb0058147977ff39d054bb)
commit f97f6a061ef497de3eade580bcf0a008bba33002
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jan 20 16:27:56 2011 -0800
Make processing of incoming stream rename paths common between reply_mv and ntrename. Ensure we don't depend on "./" in the streams module.
(cherry picked from commit bb54f72b94dca9206bf377b0d6a4b669e389e339)
commit fabfc89df297113ea5df7689575d886935121e22
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Oct 26 22:49:46 2010 +0200
s3:smbd: use anonymous_shared_free() for shared memory signing state
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Thu Jan 20 07:48:29 CET 2011 on sn-devel-104
(cherry picked from commit c3ad9bf1572abda699d88f48eabec680094b30de)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit fb6004d01ff4a3342e3cde174391edb8ea4e34ca
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 18 17:00:26 2011 +0100
lib/util: add tests for anonymous_shared_allocate/free()
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Thu Jan 20 06:25:03 CET 2011 on sn-devel-104
(cherry picked from commit c9e6bf047dc92a75d31b686d4e759743fc7386f8)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 278f07c89f7e8c15a6e57cd7a51eeead3ea221a0
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Oct 26 22:45:19 2010 +0200
lib/util: add anonymous_shared_free()
metze
(cherry picked from commit cc59f347ee6ca5d48ba2790a8f5d843b76c470a7)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d57a0ff11adec9d358c6e7586f08903425e40216
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Oct 26 22:41:46 2010 +0200
lib/util: s/allocate_anonymous_shared/anonymous_shared_allocate/
metze
(cherry picked from commit 34ea9096366fe475891a0aee7b3bbc74bfe07032)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 54efccf2ee028e1a111895124b507e853408e8f4
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 19 17:55:13 2011 +0100
lib/util: fix rounding to page size in allocate_anonymous_shared()
metze
(cherry picked from commit 9e00d2a9a47d03b41e88407eb89395b870a104a5)
commit 4d2ff96823d4e15d5e39eee71802ae57fd308a19
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 19 16:13:42 2011 +0100
s3-param: Fixed code block in max_open_files().
When the HAVE_GETRLIMIT and RLIMIT_NOFILE macros are defined the block
isn't closed.
Autobuild-User: Andreas Schneider <asn at samba.org>
Autobuild-Date: Wed Jan 19 23:10:50 CET 2011 on sn-devel-104
(cherry picked from commit 4744da8762c492654204b0ee0b3c47631f44ce29)
commit 16eea763590f151bd15ac6c0afaa82fbaad0ba4f
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 19 16:22:28 2011 +0100
s3-smbd: Fixed a possible null pointer dereference.
(cherry picked from commit 7a97518e12054e1f84236501322b756c5c09d7dd)
commit fb05a0791de10692fd846129ef6add3c95f3c79a
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 10 17:25:00 2011 +0100
s3: Add wbinfo --dc-info
wbinfo --dc-info prints the current DC name and IP address. This helps
diagnosing problems that might happen when a later wbinfo --ping-dc fails.
This patch started out by using the SAF and NBT cache entires, but those are
relatively short-lived. So I decided to invent a new gencache entry with a very
long timeout. We need to go via the gencache because when for some reason a
winbind child process is stuck, we can't query it for the current DC it's
connected to. This must eventually go away again when we have a fully async
winbind.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Jan 19 08:40:28 CET 2011 on sn-devel-104
commit 6197253ad8ca5b8bba63865156911cecb1e1907b
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 18 16:57:25 2011 -0800
Add DELETE-LN test to show bug #7863 - Unlink may unlink wrong file when hardlinks are involved
(cherry picked from commit 0ab05aabc2a9d51821b2b4238b97b7e516a2e450)
commit bf352d2e0eb2c855c686c562077ad27790b694b7
Author: Olly Betts <olly at survex.com>
Date: Tue Jan 18 10:07:13 2011 +0000
Fix "net usersidlist" not to skip every other user
Remove double increment from for loop over users in get_user_tokens(),
left over from when this used to be a while loop. Bug was introduced
in 1e39a619.
commit 147134d552ae92660ca80351afec7d91e75b5fd2
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 18:05:29 2011 +0100
s3-winbind: no need to include ../librpc/gen_ndr/cli_lsa.h in
winbindd/winbindd_msrpc.c.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Jan 19 00:37:46 CET 2011 on sn-devel-104
(cherry picked from commit 49969e6aeb6607620177146461e114820a4c002c)
commit aeaa5679fc502a5fbb23212e0e7f910748113a48
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 16:32:20 2011 +0100
s3-rpc_client: no need to include ../librpc/gen_ndr/ndr_lsa_c.h anymore.
Guenther
(cherry picked from commit 5efe6566a0c6fb668df81eb5e524244cff442271)
commit 6ca2a508ed7e08084138b4e327bdd8f9f1b8c0cb
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 16:32:05 2011 +0100
s3-netlogon: no need to include ../librpc/gen_ndr/ndr_lsa_c.h anymore.
Guenther
(cherry picked from commit 6feed0c9d293426c05b4b1167fd01be35844be2c)
commit a7d51f36f18cffcf950a4ebdb600879e9ff99dae
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 14:27:17 2011 +0100
s3-netlogon: no need to include ../librpc/gen_ndr/cli_samr.h anymore.
Guenther
(cherry picked from commit 6ed4121d5400598b58521807c2caa41a4422f778)
commit 1b496df812b19a2fab27f1e45d259748053c04ec
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 22:53:59 2011 +0100
s3-net: use correct spoolss header in net rpc.
Guenther
(cherry picked from commit 430664d7696c8265adf6ed144fdefd1e424844a1)
commit 4ac245f8256ff8bc6abb33a076def5d31c0f6aad
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 18 22:35:17 2011 +0100
s3-net: use correct spoolss header in net_ads.c.
Guenther
(cherry picked from commit 66bc2f912712f74c646d6e619d73a8b6a1eb9478)
commit ec9c8d2b8f4f5304dfb2ab2f9618a66c9107b3c6
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 18 14:00:44 2011 -0800
Fix error where Windows client spoolss returns WERR_INVALID_DATA W_ERROR(0x0000000D)
on opening a printer. We can't return zero for devmode->size. Guenther please check !
(cherry picked from commit e78e3e396ae812ed9e5897eb2833c51c85e49b83)
commit 13c318d5417bdb8d807a1c4e5e845d091f387768
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 14 15:24:22 2010 +0100
s4:tls_tstream: also use a dynamic buffer for the pull side
Maybe that fixes the remaining issues with some gnutls versions.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Jan 18 17:26:08 CET 2011 on sn-devel-104
(cherry picked from commit 93733e4e316dc7f80bbc002778914b9dc09fe6d7)
commit c436d7e9e75d4642f91f1d0a86b97dedd3cf5b4c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 14 15:00:15 2010 +0100
s4:tls_tstream: fix partial reads, so that the gnutls layer doesn't read the same data twice
metze
(cherry picked from commit 361b4ed016a06717682e4071aa499a52b6c29dda)
commit f6861c4b0ead5259242e857c162a3168679b2707
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 15 09:17:55 2011 +0100
s3:build: don't use librpc/gen_ndr/cli_echo.[ch] anymore
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Jan 17 09:34:12 CET 2011 on sn-devel-104
(cherry picked from commit 528bcedbc55e9fa9e700db74c2f7e7323c3f08c1)
commit e181920573caea5b4784f7cf5e21385c2955fff8
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 15 09:15:34 2011 +0100
s3:torture: use dcerpc_echo_X() functions
metze
(cherry picked from commit 494e57d913ba2502b9a4bd3172228949590e0ae6)
commit b0f9f30ba4057487e4241a7da4325875a7edcc64
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 15 09:14:56 2011 +0100
s3:rpcclient: use dcerpc_echo_X() functions
metze
(cherry picked from commit 85db5c9f8f76822999765650def55b8342ef6244)
commit ee048dac3e7f073727b84cbc6772e158152f1a67
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 18 14:20:12 2011 +0100
release-scripts: add build-htmlman-nogit
non-git version of a script to ease building of html version of manpages
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Tue Jan 18 15:07:09 CET 2011 on sn-devel-104
commit 61f1064ada52f21c61a8e7743cfb5c4461db0b47
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 18 14:20:12 2011 +0100
release-scripts: add build-htmlman-git
git version of a script to ease building of html version of manpages
commit a9d7d79c89ef97f425aba6490161fe7de6d59903
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 18 14:17:15 2011 +0100
release-scripts: add gpl header comment to build-manpages-nogit
commit 92848330bc574948394adf5113ed4df3fa01c6a6
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 18 14:18:08 2011 +0100
release-scripts: add gpl header comment to build-manpages-git
commit 3f10470f00fc81ab0dc7cb25866854fb4072abd9
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 18 14:17:15 2011 +0100
release-scripts: remove commented out line from git-version
commit 796452aa234fcc57b1fcf5cdeca09bbdd1316403
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 18 01:06:32 2011 +0100
packaging/RHEL-CTDB: add the smbta-util manpage
commit e405c4081a874726adf76fdf97030adb71ccfce6
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 18 01:06:18 2011 +0100
packaging/RHEL-CTDB: add the pam_winbind.conf manpage
commit d4a1ec61cbea3a2381db1a06c3a76d6188a472e3
Author: Michael Adam <obnox at samba.org>
Date: Thu Sep 9 17:56:03 2010 +0200
packaging/RHEL-CTDB: do not use an external docs tarball but build the manpages
commit 94d8c98b042eeb4a8983906f600d172378baaac2
Author: Michael Adam <obnox at samba.org>
Date: Thu Sep 9 17:14:20 2010 +0200
packaging/RHEL-CTDB: untangle the various %doc entries to single lines
commit c510a5e08e4aefdf01dca5123abab6a74060682e
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 18 13:00:51 2011 +0100
docs: Remove template "itemizedlist/listitem" from man.xsl
This seems to have been basically taken from the manpages/lists.xls
from the docbook-xsl stylesheets. But it references a variable list-indent
that older versions of docbook-xsl (e.g. 1.69) do not provide.
This makes the manpage build break on older systems. Removing
the definition lets the build succeed, using the system-definition
of the itemizedlist/listitem.
The diff between the docbook's (version 1.75.1) definition of
itemizedlist/listitem and the definition in our man.xls is this:
-- with this patch
-- without this patch
@@ -53,5 +53,7 @@
<!-- * seems to require the extra space. -->
<xsl:call-template name="roff-if-end"/>
<xsl:apply-templates/>
- <xsl:text>.RE </xsl:text>
+ <xsl:if test=" following-sibling::listitem">
+ <xsl:text> .RE </xsl:text>
+ </xsl:if>
</xsl:template>
I.e. the version of man.xsl made insertion if ".RE" conditional.
I hope this does not break anything severely.
The diff for e.g. the resulting winbindd.8 manpage is this:
--- with this patch
+++ witout this patch:
@@ -375,7 +375,6 @@
\m[blue]\fBwinbind: rpc only\fR\m[]
Setting this parameter forces winbindd to use RPC instead of LDAP to retrieve information from Domain Controllers\&.
-.RE
.SH "EXAMPLE SETUP"
.PP
To setup winbindd for user and group lookups plus authentication from a domain controller use something like the following setup\&. This was tested on an early Red Hat Linux box\&.
Cheers
commit b561963883e825e1d7e43ebd45cbb6a4a666d2e6
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jan 17 12:53:40 2011 +0100
s3-auth: Fixed account lockout check.
(cherry picked from commit ad6560564350616b2925d097460876bd56555acf)
commit a0f277f6b05fdddc3ed87366658573ac399fb011
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jan 17 13:40:12 2011 +0100
s3-rpc_client: Fixed status check of dcerpc_lsa_lookup_sids_noalloc.
Autobuild-User: Andreas Schneider <asn at samba.org>
Autobuild-Date: Mon Jan 17 17:35:50 CET 2011 on sn-devel-104
commit 43e8c8e28fda1f70f706e364c8b07794161dd65e
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jan 17 13:39:21 2011 +0100
s3-rpc_client: Fixed return values of dcerpc_lsa_lookup_sids_generic.
commit 9d0f33a75bd99bd0e12ed5a0fb125902a8d8dc4c
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jan 14 05:14:22 2011 -0700
s3: Make sure we call wbcAuthenticateUserEx correctly
There are cases where we fill in params.password.response.lm_data with non-NULL
where params.password.response.lm_length is 0. wbcAuthenticateUserEx does not
like that.
I haven't been able to reproduce this with smbclient yet, I've seen it with a
proprietary smb client implementation.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Jan 17 16:30:11 CET 2011 on sn-devel-104
commit 7d637632dff47f11dd291930779c1b1514c4fe54
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 21:13:29 2011 +0100
s3: Avoid a few calls to cli_errstr
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Jan 17 08:47:25 CET 2011 on sn-devel-104
commit 4e21d00e9495fdeceb7960adca6b7fc43304b457
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 20:16:25 2011 +0100
s3: Remove some unused code
commit 7ce911f8675aa20549985a2d6d30a40c4c11622b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 20:09:17 2011 +0100
s3: Convert cli_lock64 to cli_smb
commit 9b0054a615b56ae53154f1f8adc1c039208140f2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 20:04:17 2011 +0100
s3: Convert cli_lock to use cli_locktype
commit 59c9d390987ad8dc6205cff0504b623a91445983
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 19:50:46 2011 +0100
s3: Convert cli_locktype to cli_smb
commit 7e12286d299bca07e3c9fa64c38e48de18b65cd2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 19:20:43 2011 +0100
s3: Make passing up "result_parent" from cli_smb optional
commit 691c60812495033e4bca0ef7bcd225a29a41ffe9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 19:11:45 2011 +0100
s3: Remove unused cli_send_keepalive
commit 7e59340d7c472c196d5a63363478fd9d5b739a83
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 13:13:20 2011 +0100
s3: Remove unused cli_send/receive_trans
commit bcc286d5170c03727d92c71134fd4b91cd3c87d4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 13:12:16 2011 +0100
s3: Convert try_trans2 to cli_trans
commit 1f8e986577bf5737eba7b6f49ec905ec5e853fc4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 13:07:35 2011 +0100
s3: Convert cli_api to cli_trans
commit 9af4f3333262a0d846afb75827f2626edb3e11f8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 12:56:09 2011 +0100
s3: Make cli_setpathinfo_basic use cli_setpathinfo
commit 1153ee0197deb9f15353484a098d24f8e709da22
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 12:49:59 2011 +0100
s3: Add cli_setpathinfo
commit abe22e6772cdcc400d60c020e58ae420c171c08f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 12:45:22 2011 +0100
s3: Rename cli_setpathinfo->cli_setpathinfo_basic
commit 5462da80a2df8e1e498bc7fd63ae31ca5c0da1cd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 12:34:43 2011 +0100
s3: Remove unused cli_send/receive_nt_trans
commit 7b21fbc91ddf5aeffa0d5cb3d93bd3ee91283c37
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 12:33:24 2011 +0100
s3: Convert try_nttrans to cli_trans
commit 54cde57c03d54b40886486da0076adf9b2adc834
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 12:26:45 2011 +0100
s3: Move dump_ntquota* to smbcquotas.c
commit b5a3820b25793c07a0b90b9a69eadc03b56c0184
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 12:14:26 2011 +0100
s3: Convert cli_set_fs_quota_info to cli_trans
commit 06dce8e1ffc5e30512897623e9a7ef10d665bf8c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 12:03:07 2011 +0100
s3: Convert cli_get_fs_quota_info to cli_trans
commit 1e62f0d81e117d4a132f81d03532a6b6dedee83d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 11:53:03 2011 +0100
s3: Convert cli_list_user_quota to cli_trans
commit c8462682d7b426c658aeea5277e85c4cc99e90f7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 11:33:35 2011 +0100
s3: Convert cli_set_user_quota to cli_trans
commit ea909554fedf370175c06e2dc362fbface3897e5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 16 08:34:58 2011 +0100
s3: Convert cli_get_user_quota to cli_trans
commit d0648065581e9ec1901e93a05ff5f0384f9cc936
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 15 16:07:31 2011 +0100
s3: Fix some nonempty blank lines
commit d0b7a481cf0e46fd741000eff08cf8e673278a17
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 9 19:54:33 2011 +0100
s3: Fix a C++ warning
commit 54c60f00c490d157903226df9b99dec4b572d3dc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 9 19:44:13 2011 +0100
s3: Remove cli_send_trans from cli_qpathinfo_alt_name
commit aa1fa272e51d67d4affc1f44278e1c6da2049db4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 9 19:13:15 2011 +0100
s3: Remove cli_send_trans from cli_oem_change_password
commit 313b42aa671517df4b19c7968ecb64d583439e88
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 15 16:32:00 2011 +0100
s3: Avoid some calls to cli_errstr
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Jan 15 17:18:54 CET 2011 on sn-devel-104
commit fc8f2fbcc02d27e1be9c4441aaf0de5f036b2566
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 15 16:20:37 2011 +0100
s3: Convert cli_set_secdesc to cli_trans
commit 3bf18d80d1fdd290e15bd78eaa567d0fa21ba9de
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 15 16:07:31 2011 +0100
s3: Fix some nonempty blank lines
commit aa16bf476c203930099652b0c685d620f49c373c
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jan 14 15:15:01 2011 -0800
Add OPLOCK4 test which explores how Windows copes with oplock and share mode breaks on hard links.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Sat Jan 15 00:59:46 CET 2011 on sn-devel-104
(cherry picked from commit dbaeb52ebe4056fc50a1533fc66fe58442c57ac5)
commit c17f3e741d3dd574f7a2a6f8e3208462f610d214
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jan 14 16:43:00 2011 +0100
s3: Fix bug 7917: Yet another bug in chain_reply
Found by Michael Hanscho <samba at micha.priv.at> with a WinCE client.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Jan 14 17:42:05 CET 2011 on sn-devel-104
(cherry picked from commit 109cbe37a2cf819f297b1ebf63f1817579bedf02)
commit 7028b291d1c9578b661236645cd468de081d4924
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 14 10:53:17 2011 +0100
s3-waf: fix the build after rpc_winreg removal.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Jan 14 11:38:40 CET 2011 on sn-devel-104
(cherry picked from commit d7af8753abf7dfea6af334e2a6eb9e175127a139)
commit 67f35d2151d23e951444163b2a0c6eb4e152ae19
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Thu Jan 13 16:04:36 2011 +0100
s3:vfs aio_fork children do not go away
on RHEL 5.5, recvmsg() does not return when it is reading
from the socket and the process on the other side closes
its connection. This left aio children around that should
have gone already and were just wasting system resources.
This patch makes the child go away by writing invalid
data to it so that the child exits.
Pair-Programmed-With: Volker Lendecke <vl at samba.org>
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Jan 14 09:57:18 CET 2011 on sn-devel-104
commit 381aaa3247c7e3c4cf6f99462543bbeed40b3d39
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Thu Jan 13 15:59:18 2011 +0100
s3:vfs fix children cleanup in aio_fork
the cleanup loop in aio_fork always stopped operation
on the first inactive child it found. In case lots of
children need to be reaped, it will take multiple runs
before all children are gone
commit 8b821f3dceb68b429ff3c32a1323596c1cb3ed14
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 22:55:43 2011 +0100
s3-build: remove RPCCLI_WINREG subsystem.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
Autobuild-User: Andreas Schneider <asn at samba.org>
Autobuild-Date: Thu Jan 13 15:06:36 CET 2011 on sn-devel-104
(cherry picked from commit a556896d1e2c79c39e95f0903fb365fe3a308a2c)
commit a0af4286a24d2a293c5aac6e17e700f82148dca6
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 22:55:34 2011 +0100
s3-waf: remove RPCCLI_WINREG subsystem.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 2e54b01bde9af9df1a00a7b3df5cf6270b3fe56a)
commit 6843e286c3477714a6ddc18b4d1738289d924d75
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 22:53:52 2011 +0100
s3-net_registry: prefer dcerpc_winreg_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 166504adb711e0bf582d71c38f5b08beb2806978)
commit 0503876636c7ec9bcd0e5c5b0e8668dfd93d71dd
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 21:59:23 2011 +0100
s3-net: prefer dcerpc_winreg_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit da433458e5ba82e9cf94aed04ecfcda89b287331)
commit fa760803580cd74c556bde0af6b4119d0262f0c2
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 21:11:44 2011 +0100
s3-spoolss: no need to include cli_winreg header anymore.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit a451c54b3db9da5f0cfda0b72c7af1eae3ada6f8)
commit 4bf214b4dad4566a2c056a7f6cc055031642a3b1
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 21:11:17 2011 +0100
s3-rpcclient: prefer dcerpc_winreg_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit d97eb89c2a0f7ab4543922a417f1fb9fcd8fbaec)
commit c762b26fd94c24718e7e0115be5b99c670eaad8b
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 13:25:51 2011 +0100
s3-build: remove RPCCLI_SRVSVC subsystem.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 7e959004d790536cc932285c2d38a566ea130b5d)
commit b937ac133ec8fa6f54a1a1719de20642b29f3d86
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 13:25:42 2011 +0100
s3-waf: remove RPCCLI_SRVSVC subsystem.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 9204e04f274b69b34dd3da8bf63e4eeb7050cb50)
commit 5bb34107a7ece6293184849cb98e4f9f149ecf49
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 13:22:08 2011 +0100
s3-rpcclient: prefer dcerpc_srvsvc_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit bded49f5d637c30ae33564d0642d1e58adddaaec)
commit d13af6c247c3a962d8254fe2127f9835cb35dbbf
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 13:11:41 2011 +0100
s3-net: prefer dcerpc_srvsvc_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 8aa5b067b9dfa1897dc12316987686d1e1c5946d)
commit 94694e3692f87b384939aeb2a84586d60045c860
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 13:01:57 2011 +0100
s3-smbtree: prefer dcerpc_srvsvc_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 1ea6dd35f4ebca968e23602ba009f45e4f914161)
commit a17b8ec89efe79967d7f5c64b239bb8ce8a6e8ce
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 13:00:49 2011 +0100
s3-lanman: prefer dcerpc_srvsvc_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 4189c00caeaa9cdd71d9e5cbb35e2efdd9ad3ac6)
commit 7b9ce6fa65b002fd1f593e722f819ff82e70f905
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 12:58:44 2011 +0100
s3-libsmbclient: prefer dcerpc_srvsvc_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 44e048f7a89a2fd26cca680cb9e53c02103d7750)
commit 16dfb6551f60a3a42401393a71c9365f81b51703
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 12:56:55 2011 +0100
s3-smbclient: prefer dcerpc_srvsvc_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit fccfd29283154d9ec252fcb4c26f21301150dc5f)
commit 52b0f1cadae996375245c66049d1e2b03c15d943
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 12:51:07 2011 +0100
s3-libnetapi: prefer dcerpc_srvsvc_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 1ef94dffe6e0b86e0ff30f7d37dc81fc251f6d95)
commit f26c759326eb47db638ec3be87dcfb4821a0b966
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 12:12:32 2011 +0100
s3-build: remove RPCCLI_NETLOGON subsystem.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit aa4efa154f9f7b2d152a99f822c3970f3b736705)
commit 116bd99611d10ea770b5039aae44387996243a99
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 12:12:22 2011 +0100
s3-waf: remove RPCCLI_NETLOGON subsystem.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 9a9ee03ae8331e81281c12b159df1dd66b5cc851)
commit 24d92c5e240011f034b3db4379a869c31e6a015d
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 12:08:42 2011 +0100
s3-rpcclient: prefer dcerpc_netr_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 5e4b327c4f1a9a09cb46514e7ed5c213031f1218)
commit 9e34167824df5cc88220658c2cfeb4b3e78a28af
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 11:55:34 2011 +0100
s3-winbind: prefer dcerpc_netr_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit c9b3404c68b0b5b1f2f3008736d77c476cc0e398)
commit cd6e7f13cc3a239d4a9ad9ab5b61999ecb8b6627
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 11:36:06 2011 +0100
s3-rpc_client: prefer dcerpc_netr_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 232378c6e5b1db9facd3c74b7fa82ed9a3b4ef67)
commit 1376fbab84ec4c85b5deb58f102cdcdbc1e6ad8f
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 11:27:26 2011 +0100
s3-net: prefer dcerpc_netr_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 1259e93ac07fa86eacf0870744b7c6a056a30c57)
commit 662ba308dc3c84c116748486109ba7baaada8106
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 11:21:18 2011 +0100
s3-libnet: prefer dcerpc_netr_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit f3eb5c234e3c4e07c9839c940c4558a169087dbf)
commit 27e7f92e5f0042a78447ed0cc6a24c29ad58a801
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 11:17:48 2011 +0100
s3-libnetapi: prefer dcerpc_netr_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 425753ebe3e85e1e7ea939937269c10bc5f7fd73)
commit 34d1e21b90fe7dbd1bd1319e5f67ea380b8ae5ca
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 19:12:07 2011 +0100
s3-net: remove some pointless fstrings in "net rpc service".
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit f9ca6904a474e8c33532708977878940ad5696e0)
commit c64837e5f7ddd75ea9caed062df8e03ea9da4eed
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 19:08:48 2011 +0100
s3-net: restructure "net rpc service" and add open_scm().
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit d0c05ab2ec5af5090048091d65a48736dcc2ba6b)
commit d510583b03e99c06a3f31d8aa4f68a7cce1e2980
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 19:00:16 2011 +0100
s3-net: restructure "net rpc service" and add open_service().
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 3e2821acda1dd2197b82048e80ef190f46068832)
commit 102a81e2ccebcfede391a32d324e23ade00b7f5b
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 23:22:18 2011 +0100
s3-build: remove RPCCLI_SVCCTL subsystem.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 5ad7d6aaa8f0067e23ce5ef892026a0898fc1068)
commit 6f27c46d04185c6a5a250e0e0d3bf8da64317cd9
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 23:22:07 2011 +0100
s3-waf: remove RPCCLI_SVCCTL subsystem.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 067e54881846baf35a456fcc546a7cc9e3180ac4)
commit 88a04a6e281840963c62456d5f065f0838887ee9
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 23:21:41 2011 +0100
s3-svcctl: prefer dcerpc_svcctl_X functions.
Guenther
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 8e588550b9c373b0be50c27978782a4574b92728)
commit 10faf6c9fdb7798c5dfb6ca11fe36ead9d1a85c9
Author: Paul B. Henson <henson at acm.org>
Date: Thu Jan 13 10:16:13 2011 -0800
Fix bug #7909 - map SYNCHRONIZE acl permission statically in zfs_acl vfs module.
(cherry picked from commit 75132a58c77257da5c90b92f08941dadb6aab00c)
commit f53a322a72855bbd8cfdd0024f3c874de25ddc24
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jan 12 18:12:29 2011 +0100
s3: Fix some nonempty blank lines
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Jan 12 19:04:25 CET 2011 on sn-devel-104
(cherry picked from commit 8c6b0b61e5a19de3b1d710e84a7a773321b8a257)
commit be96c4c180d56429d9512affc452d707e391e30d
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jan 12 10:26:49 2011 +0100
s3: Remove a pointless else
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Jan 12 11:12:56 CET 2011 on sn-devel-104
(cherry picked from commit 35f08a2958455dfe747d068fad9b383d07c9e9eb)
commit 3007c98c5e917c924539d41a4946adbca2ed48f4
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 10 10:06:37 2011 +0100
m4: Don't AC_MSG_ERROR when too old python is found
This broke the pure S3 build with an old python
Matthias Dieter Wallnöfer, please check!
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Jan 10 11:26:18 CET 2011 on sn-devel-104
(cherry picked from commit 1c6d89660ea6687df55248e1f45699e59562792a)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 9243c4e594f8ed146d499520aaa5147adceeb1d4
Author: Björn Baumbach <bb at sernet.de>
Date: Tue Jan 11 14:28:26 2011 +0100
s3-docs: Typos in rpcclient man page
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Wed Jan 12 18:13:54 CET 2011 on sn-devel-104
(cherry picked from commit 4fe0765d911c2a08351805f4a953dc0cd512200d)
commit b8df394a846b751e8c0fdd9919559f1e8d1d08cb
Author: Björn Baumbach <bb at sernet.de>
Date: Tue Jan 11 12:43:59 2011 +0100
s3-docs: Typos in smbclient man page
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit 98af6738f6d006c58fca8560a2b78a60cdbefaa8)
commit 25ada2407c5695d958fe04a5c053e1d60997c16d
Author: Björn Baumbach <bb at sernet.de>
Date: Wed Dec 22 15:20:29 2010 +0100
s3-rpcclient: Fix bug #7880: cmd_spoolss_deletedriver() returned without checking all architectures.
Continues now with next architecture if no driver is available.
Because of the broken behavior of the rpccli_*() functions,
we need special error code handling.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit f5af66e67d7c6d62315671c0cf57f47973316226)
commit b7a6ad5f609ea65331ffea6294e629646e9ac60c
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Jan 11 21:18:57 2011 +0100
s3/docs: Remove superfluous bracket.
Karolin
(cherry picked from commit 3bf51a9e2853d8ce4f8c573eda7fb1d2ede6f8cb)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 45e96047cf650cedafc610c2bf4352bc5c984757
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 13:57:08 2011 +0100
s3-net: fix query_service_state() error handling.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Jan 12 15:22:56 CET 2011 on sn-devel-104
(cherry picked from commit dac7ccee9ff01407bfadbfe466425f0266eafd52)
commit ca1c338bc6868bf57bad8156100a938948388156
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 13:10:28 2011 +0100
s3-net: add missing breaks in switch statement in get_share_info().
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Jan 12 14:31:05 CET 2011 on sn-devel-104
(cherry picked from commit 9bad1507050046de553c842e2ca0112437b705c1)
commit 699b06ac81bf483c8d330482e3ef470546f141c1
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 13:41:16 2011 +0100
s3-drsuapi: fix error handling after converting to dcerpc_drsuapi_X functions.
Guenther
(cherry picked from commit 1cd7f6c0e1c52ad09f3c66d89809bae859285880)
commit ed79d15ae0d18e76560e408ccb6db5b6ad37675f
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 13:32:10 2011 +0100
s3-libnetapi: add missing error check after switchting to dcerpc_wkssvc_X functions.
Guenther
(cherry picked from commit 415a390ba87f2227eee5312eb3838beb9a7abc30)
commit 9a534beea904648b47c6a3b68b74390b089913c5
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 10:34:45 2011 +0100
s3-waf: finally enable large file support.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Jan 12 11:59:22 CET 2011 on sn-devel-104
(cherry picked from commit fa5fdb1a4e1033944f3fdb5584e950b7ed9ee632)
commit 4fc077c03a72843456a79f389c3311635a6c6f83
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 00:56:29 2011 +0100
s3-waf: add check for SO_PEERCRED.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Jan 12 02:29:48 CET 2011 on sn-devel-104
(cherry picked from commit e2a3ff184e7e6133b3536c5a40c9f05849b1f196)
commit 7be94654940344c0c8ad29e4c30f3173cbe49ece
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 00:49:53 2011 +0100
s3-waf: add checks for Linux readahead.
Guenther
(cherry picked from commit 4c8b9bee14ba9bcf4cc0a00985247fda3a29deef)
commit ae3d500abce44c5d12d40bd1b811c06d4b800908
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 00:43:26 2011 +0100
s3-waf: more fallocate checks stolen from autoconf.
Guenther
(cherry picked from commit 4412eb9d008d259cebafa7062d4826d69e67d89c)
commit 2201ce04cee99cbde46136a32672c03f84e766f6
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 11:43:28 2011 +0100
s3-waf: add checks for fallocate fallocate64.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Jan 12 00:56:57 CET 2011 on sn-devel-104
(cherry picked from commit b0f4f6f464c36e987eaaaccdbd8a49d18dd5d28f)
commit 3b49e625e12a83b4407bce6509d2f16370f623d8
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 18:04:19 2011 +0100
s3-build: remove RPCCLI_DRSUAPI subsystem.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Jan 11 23:01:24 CET 2011 on sn-devel-104
(cherry picked from commit 6f39c3b52663ee9e4b1c1d1e4fd0377d4fdb17f7)
commit 7278a361e3553eb46c58b8bcccc1d317b61646a0
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 18:04:04 2011 +0100
s3-waf: remove RPCCLI_DRSUAPI subsystem.
Guenther
(cherry picked from commit 9fe0cfef6ac408396e2415faa91f9ee8ae5e3774)
commit 48b4aa68f059d1c814becefadc18542423803ee8
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 17:46:11 2011 +0100
s3-drsuapi: prefer dcerpc_drsuapi_X functions.
Guenther
(cherry picked from commit 4f057230ca979021dfa0b279392ff820599e54a0)
commit 2127864793fd98930aa1aa4cf6ba9b8bcc2a3253
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 16:48:52 2011 +0100
s3-build: remove RPCCLI_INITSHUTDOWN subsystem.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Jan 11 17:59:21 CET 2011 on sn-devel-104
(cherry picked from commit a76dde61bc88ee139d92f4e00f5f390a105e064b)
commit de86ea682805dfb844a234197ab94e60bd1a056c
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 16:48:40 2011 +0100
s3-waf: remove RPCCLI_INITSHUTDOWN subsystem.
Guenther
(cherry picked from commit 5473d1b81c8b1374bef8a537091454a53128dfaa)
commit 419ed0eb780cc23d4ba55562273481be812ff0d9
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 16:47:34 2011 +0100
s3-initshutdown: prefer dcerpc_initshutdown_X functions.
Guenther
(cherry picked from commit d1954ce8e7bf80c19366dd8313ab616b583c9fe7)
commit e196838fa5b87a1e7b1d8c1bd85537f969e14e36
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 16:24:01 2011 +0100
s3-build: remove RPCCLI_EVENTLOG subsystem.
Guenther
(cherry picked from commit 2a05561e354dd8b6e96deca7243e49e1168a6951)
commit c1216c4e9fb762971f6f0587675fc65e3e859da7
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 16:23:49 2011 +0100
s3-waf: remove RPCCLI_EVENTLOG subsystem.
Guenther
(cherry picked from commit 6cbe4da599bd892b0ddcafe85de23a867c683453)
commit f80bc11616d7bf62ec304d64fa94252649f76360
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 16:22:55 2011 +0100
s3-eventlog: prefer dcerpc_eventlog_X functions.
Guenther
(cherry picked from commit fe2b89edee0ced4c4995a0db49128329c7d7f7f2)
commit 8e8ea1384dd61fef3ce1fd4388bddd2c64abe64c
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 17:11:48 2011 +0100
s3-build: remove RPCCLI_WKSSVC subsystem.
Guenther
(cherry picked from commit e5c4f69d40d4a6161a83195253122594000bde70)
commit de70e8cdffc696d0c31af85e98ba9e00d7bf848e
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 16:05:27 2011 +0100
s3-waf: remove RPCCLI_WKSSVC subsystem.
Guenther
(cherry picked from commit 7c14048f94ba3a26a9832326521f57e72a13446f)
commit 35797993d8308f602d5d1e0d7c3f3d8689b7b514
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 11 16:03:24 2011 +0100
s3-wkssvc: prefer dcerpc_wkssvc_X functions.
Guenther
(cherry picked from commit 4920390913f8b9eb8601a318be56fb272cc9a43b)
commit 2a2e9edc21919cbb4b9ffeb84a203e69a9379cf6
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 11 13:38:16 2011 +0100
s3:winbindd: use ndr_wbint_c.h instead of cli_wbint.h
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Jan 11 15:40:22 CET 2011 on sn-devel-104
(cherry picked from commit 4f305f438b69b24f803d1b4f27b90d2c81794471)
commit a0818ae60b4df756a697bb034744a102c0303db8
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 11 13:35:23 2011 +0100
s3:winbindd: use ndr_dssetup_c.h instead of cli_dssetup.h
metze
(cherry picked from commit cbc7db99d07bfcf7c1e282eaf05567809ce72d96)
commit 3763b9e84b4e3005e2043628140f7c84790a6ca5
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 11 13:35:08 2011 +0100
s3:net: use ndr_dssetup_c.h instead of cli_dssetup.h
metze
(cherry picked from commit a175473e342864ce8b43cb5ac64278ca191a200f)
commit 8f9be253ccb28770cc6c39f333e24639d97b918a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 11 13:34:41 2011 +0100
s3:rpcclient: use ndr_dssetup_c.h instead of cli_dssetup.h
metze
(cherry picked from commit f2044d0d116f84a2e737d2739cf83be6a83568f9)
commit 48016535e9f1c3c1b936b16ac234cea5d52947c9
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 11 11:24:41 2011 +0100
s3:rpcclient: use ndr_dfs_c.h instead of cli_dfs.h
metze
(cherry picked from commit f936cfe505b63b8b27089667fd057ff8dce1600b)
commit 1b8e1453ca1063fb7971975eaab74bd3107b0605
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jan 10 14:24:51 2011 -0800
Fix "make test" - ensure nmbd runs with -S (log to stdout).
Also ensure nmbd socket directory isn't created (nmbd will create it).
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Tue Jan 11 00:30:52 CET 2011 on sn-devel-104
(cherry picked from commit 86d06ad1035c4cc3861a20f064aa9d9dc3b72cd4)
commit ec3a7863f3b98d9c537153bf1fa2a331b0e4c237
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jan 6 17:09:56 2011 +0100
s3: Fix some warnings in the zfsacl module
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Jan 8 13:42:20 CET 2011 on sn-devel-104
(cherry picked from commit bdff4591ca80b0589954e812d8fe498038c87837)
commit 9f35139682e93b87510b5588bfe249e3ab53e962
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 9 10:53:04 2011 +0100
s3: Convert enc_blob_send_receive to cli_trans()
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Jan 9 11:40:04 CET 2011 on sn-devel-104
(cherry picked from commit b57721faafad749f01df22bf555841aac158fa71)
commit d91fc9dea83976b4c7bd3987eba05cfe7195341e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 9 10:20:29 2011 +0100
s3: Fix two incompatible pointer type warnings on Solaris
(cherry picked from commit 3274d80ffd19ccb5e5783f7577909121d8111854)
commit 88337fa257a6418dfa4cdaedd4744bdec115b8ba
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 5 17:35:36 2011 +0100
s3-rpc_client: Fixed the dcerpc_lsa_LookupNames4 client_revision.
The spec states that the ClientRevision value MUST be one of the
following: LSA_CLIENT_REVISION_1 or LSA_CLIENT_REVISION_2.
LSA_CLIENT_REVISION_2 means Windows 2000 and newer.
Signed-off-by: Günther Deschner <gd at samba.org>
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Jan 10 19:05:31 CET 2011 on sn-devel-104
(cherry picked from commit 3f21b971a9fda418e1a96ada9e6778b04004e005)
commit 0ea00cae5b41506c02bd658d76ce72e7ee5ffccf
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 5 17:34:30 2011 +0100
s3-rpc_client: Fixed the dcerpc_lsa_LookupNames4 lookup_options.
Use the enum value in dcerpc_lsa_LookupNames4 for _lookup_options.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit b1df95cbc5c5f0f5272ea047f9f8d93d5d732fcc)
commit dd8956a906109c78bc4d48458a16e25d25b79717
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 5 17:24:51 2011 +0100
s3-rpc_client: Fixed the dcerpc_lsa_LookupSids3 client_revision.
The spec states that the ClientRevision value MUST be one of the
following: LSA_CLIENT_REVISION_1 or LSA_CLIENT_REVISION_2.
LSA_CLIENT_REVISION_2 means Windows 2000 and newer.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit e02916c4532c8cdd185624e1fe26b0496ef60419)
commit 46a1ef376790330caed4025b51b76299f1afcf3e
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jan 5 17:22:18 2011 +0100
s3-rpc_client: Fixed the dcerpc_lsa_LookupSids3 lookup_options.
Use the enum value in dcerpc_lsa_LookupSids3 for _lookup_options.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit a53e0831d2491268b9fe808a3f9fda7dd9ebce5d)
commit 7d58409abffb1764795d7f0fb8f06705b105fd76
Author: Andreas Schneider <asn at samba.org>
Date: Fri Sep 3 11:15:25 2010 +0200
s3-netlogon: Move to new dcerpc client funtions.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit b17eb8256d28f0ec2b6376f0bd3c90e0d664bd8f)
commit de60af3b2f0dc36742b4f00586b97e8c35d67600
Author: Andreas Schneider <asn at samba.org>
Date: Tue Sep 7 15:49:00 2010 +0200
s3-rpc_client: Added dcerpc_lsa_lookup_names.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit fd1fff608c03bd45741ff89ccfefe549b3abfada)
commit bd9bce67ad8586f754d0995271e28cf376e2f421
Author: Andreas Schneider <asn at samba.org>
Date: Tue Sep 7 14:58:19 2010 +0200
s3-rpc_client: Added dcerpc_lsa_lookup_sids and dcerpc_lsa_lookup_sids3.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit c91e756f8d406abee41f9644bd82353fdee347cb)
commit 32d692e5a57df0fdd7ee7a5f208bf3fff7afe774
Author: Andreas Schneider <asn at samba.org>
Date: Tue Sep 7 12:19:25 2010 +0200
s3-rpc_client: Added dcerpc_lsa_open_policy2.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 8f14229b28321e82f6f444d48f514c54cbc24f9b)
commit 57a4b462b30b5c5718e5a5b25b408bf595555fb8
Author: Andreas Schneider <asn at samba.org>
Date: Tue Sep 7 11:24:52 2010 +0200
s3-rpc_client: Added dcerpc_lsa_open_policy.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 2f819505afe2a5f1bd244a625861f7b07c78ae8f)
commit 83f5ac4035b672e48469a5458a522cd5a705e3f1
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 10 14:40:40 2011 +0100
s3: Remove superfluous ;
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Jan 10 15:26:50 CET 2011 on sn-devel-104
commit fc293463fcc9764ee4c700ea2c7862b55494ecb2
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 10 12:28:57 2011 +0100
s3-selftest: re-sync with s4-selftest wscript.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Jan 10 13:41:38 CET 2011 on sn-devel-104
(cherry picked from commit a44f76e2c42f725f6c8f3b4c5b834fe449751997)
commit 1aaccebf0cc354ff9b6000d052a61911105f4090
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 10 11:57:18 2011 +0100
libcli/security: fix sid_type_lookup().
It *always* returned "SID *TYPE* is INVALID".
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Jan 10 12:47:00 CET 2011 on sn-devel-104
(cherry picked from commit 45227e96c2cff017dd0ecd29d9e93e89d71b7573)
commit 625118daf6dacbbfd260b4c755c40acda16bc74f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 8 11:51:17 2011 +0100
s3: Avoid a ton of registry writes at startup
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Jan 8 12:39:09 CET 2011 on sn-devel-104
commit d73e2dd2aeecd4377e214a6eec02dce93431ec50
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 8 11:28:47 2011 +0100
s3: Fix a type error
commit f29a453cc8d0bb57aab8c1833ca6d746a896d3d8
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 8 11:28:27 2011 +0100
s3: Fix some nonempty blank lines
commit 85cbe4af615d9b2c6edc456bcee6475fa9ee88c0
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jan 7 21:28:45 2011 -0800
Explicitly set "nmbd: socket dir" in the test environment.
(cherry picked from commit 12277bb5f5e6b3cd0e9158ebda3c1746fc25bb4a)
commit adfacdcfac94e7646dae3ed38a6ff3eeea9f5e84
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jan 7 15:27:51 2011 -0800
Move wins_lookup_open_socket_in() to remove a compile warning.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Sat Jan 8 01:48:27 CET 2011 on sn-devel-104
commit 57dcab12d1ac2098ec77a1c5533a85f5b31f8a0e
Author: David Disseldorp <ddiss at suse.de>
Date: Tue Dec 28 15:54:54 2010 +0100
s3-printing: remove printer_list_need_refresh
printer_list_need_refresh() was used previously to ensure one smbd
process did not attempt to update the printer_list tdb during or soon
after update by another smbd.
It is no longer needed, as pcap updates are now only performed by the
parent smbd process following startup, SIGHUP, config update or printcap
cache time expiry.
commit cde4ebd2bf9c2288fe954e3c51c8cf3b0ec3fb2d
Author: David Disseldorp <ddiss at suse.de>
Date: Tue Dec 28 14:55:01 2010 +0100
s3-printing: remove old entries in pcap_cache_replace
Callers of pcap_cache_replace() assume the existing printcap cache is
replaced by the new values provided. This is not currently the case,
old entries should be removed.
commit 29d67d615278f00e9bc6ae4583c209fa836f3b72
Author: David Disseldorp <ddiss at suse.de>
Date: Thu Dec 23 12:14:21 2010 +0100
s3-printing: Initiate pcap reload from parent smbd
Since commit 7022554, smbds share a printcap cache (printer_list.tdb),
therefore ordering of events between smbd processes is important when
updating printcap cache information. Consider the following two process
example:
1) smbd1 receives HUP or printcap cache time expiry
2) smbd1 checks whether pcap needs refresh, it does
3) smbd1 marks pcap as refreshed
4) smbd1 forks child1 to obtain cups printer info
5) smbd2 receives HUP or printcap cache time expiry
6) smbd2 checks whether pcap needs refresh, it does not (due to step 3)
7) smbd2 reloads printer shares prior to child1 completion (stale pcap)
8) child1 completion, pcap cache (printer_list.tdb) is updated by smbd1
9) smbd1 reloads printer shares based on new pcap information
In this case both smbd1 and smbd2 are reliant on the pcap update
performed on child1 completion.
The prior commit "reload shares after pcap cache fill" ensures that
smbd1 only reloads printer shares following pcap update, however smbd2
continues to present shares based on stale pcap data.
This commit addresses the above problem by driving pcap cache and
printer share updates from the parent smbd process.
1) smbd0 (parent) receives a HUP or printcap cache time expiry
2) smbd0 forks child0 to obtain cups printer info
3) child0 completion, pcap cache (printer_list.tdb) is updated by smbd0
4) smbd0 reloads printer shares
5) smbd0 notifies child smbds of pcap update via message_send_all()
6) child smbds read fresh pcap data and reload printer shares
This architecture has the additional advantage that only a single
process (the parent smbd) requests printer information from the printcap
backend.
Use time_mono in housekeeping functions As suggested by Björn Jacke.
commit 60b7c19739acf3c18dc4071e96e3311a32237506
Author: David Disseldorp <ddiss at suse.de>
Date: Sun Dec 19 19:52:08 2010 +0100
s3-printing: reload shares after pcap cache fill
Since commit eada8f8a, updates to the cups pcap cache are performed
asynchronously - cups_cache_reload() forks a child process to request
cups printer information and notify the parent smbd on completion.
Currently printer shares are reloaded immediately following the call to
cups_cache_reload(), this occurs prior to smbd receiving new cups pcap
information from the child process. Such behaviour can result in stale
print shares as outlined in bug 7836.
This fix ensures print shares are only reloaded after new pcap data has
been received.
Pair-Programmed-With: Lars Müller <lars at samba.org>
commit 0838466c5db640c5a8cd146d0339f77b16d75f42
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 7 15:21:26 2011 +0100
s3-waf: add NMBDSOCKETDIR variable.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Jan 7 16:33:55 CET 2011 on sn-devel-104
(cherry picked from commit 286c3d6d8ed0b50b8da0e9416df200c9162bc4cf)
commit d3a475d56bbb1947b33f99b5615bf650bcc69322
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 7 12:36:38 2011 +0100
s3-build: fix classic build after libcli netlogon changes.
Guenther
(cherry picked from commit 5c9eca6fc4060d9780264fe3576f12ac1d9d9759)
commit ecdb498b3e0b927a22b5dab569650a6b9b95cc2a
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 7 12:01:42 2011 +0100
netlogon: move netlogon helpers to ../libcli/netlogon.
Guenther
commit c4262ade8d2128bbdee35d6bb05f91691fbefec7
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 7 12:19:00 2011 +0100
s3-waf: rename LIBCLI_NETLOGON subsystem to LIBRPCCLI_NETLOGON.
Guenther
(cherry picked from commit 75c8e429383d0d5d4cb13e769d66d87a64252e42)
commit 7e1902e3700be864b6fd4ac5c5ed0ecf9e4be665
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 7 12:08:54 2011 +0100
s3-waf: rearrange waf recurses in main wscript_build.
Guenther
(cherry picked from commit 358c8ec292868b8674577b41e46fc447e657b396)
commit 8dcedd5fe81aaf9fd00d79fe94f82dfd4c5c57bf
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 7 11:45:33 2011 +0100
s3-waf: cleanup wscript_build a little.
Guenther
(cherry picked from commit ccf15ebcc3ee318415028cf449a0b2efa914548e)
commit a5d07e81d6b94a51fe8e29947caa06df691bcdef
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 7 11:41:15 2011 +0100
s3-waf: recurse into ../lib/smbconf.
Guenther
(cherry picked from commit 0a7d6dc8a886c0e4cd98efadc193e43df05ab172)
commit 59d5f422f17878b877a60a89085c24dcc197c447
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 7 00:37:02 2011 +0100
s3-waf: fix winbind_krb5_locator.so realname.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Jan 7 11:13:29 CET 2011 on sn-devel-104
(cherry picked from commit 2187c490137b420fd09343fcc03c04320b9f8183)
commit 4e72d9bdb3b737b3e13b65a863515ba840e1daab
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jan 6 12:33:44 2011 +0100
s3: Make nmbd socket dir configurable
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Jan 7 14:14:19 CET 2011 on sn-devel-104
commit 082040d4ee69763e0355bc87b23d51dfff87bce0
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jan 5 14:50:21 2011 +0100
s3: Remove some unused code
commit 84e48356790a3c5390e6a97c5e36f9b5c4546d75
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jan 5 14:35:11 2011 +0100
s3: Limit the number of unexpected clients to 200
DoS protection like the max winbind clients. Settable by
nmbd:unexpected_clients
commit b2d10b7e295fd298cbcd997b67656f064c6c9ab5
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jan 5 14:34:04 2011 +0100
s3: Limit the number of unexpected packets per client to 10
Non-reading clients could maliciously make nmbd allocate memory
commit ef77aa754852c7c6e1694c4aa669c5df210bc298
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jan 5 14:13:00 2011 +0100
s3: Use the new nbt_getdc in winbindd_cm
commit 8ba97675dbfde418352e2b2fbca77974391285e5
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jan 5 14:12:44 2011 +0100
s3: Use the new nbt_getdc in dsgetdcname()
commit 01f60a6d9fae0214133431280acb062530bd7f24
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 2 12:49:08 2011 +0100
s3: Add nbt_getdc
This is a getdc version that uses /tmp/.nmbd/unexpected
commit 4934d841bd4af3553c0ea00ca4e054a1ca3cafc6
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jan 6 02:12:00 2011 +0100
s3: Fix a valgrind error
commit cdaf2f8cfe65c8be92593de47ce555fff71d8e38
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 2 14:43:18 2011 +0100
s3: Factor out parse_getdc_response
commit c070a3956dbee29003d9720d7fc0a025ff124d94
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 2 12:42:47 2011 +0100
s3: Lift my_mailslot from prep_getdc_request
commit 6e32aac073a1527ac2f30bc861002d7a947114a6
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 4 18:48:47 2011 +0100
s3: Make name_query use /tmp/.nmbd/unexpected
commit f40375e955140f5d1fa59c4ef6ceda386eeaa7fc
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 4 18:34:38 2011 +0100
s3: Make node_status_query use /tmp/.nmbd/unexpected
commit 063f50a0c06fe268c8ec38d91946fa3128adc665
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 4 18:22:38 2011 +0100
s3: Add nb_trans_send/recv
This does an async port 137 transaction: It connects to /tmp/.nmbd/unexpected,
sends out the query and then waits for a reply on both the socket as well as
data from /tmp/.nmbd/unexpected. Every packet is passed through a validator. If
that returns true, the packet received is finally accepted.
commit 9abeeae58a259a7a623176f2af4e44ce5252b2b2
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 4 18:17:33 2011 +0100
s3: Add sock_packet_read
Read packets from both a socket and from /tmp/.nmbd/unexpected simultaneously
commit 6bbba0a80673cd3bab3d589f828e87a2805a4c07
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 4 18:07:12 2011 +0100
s3: Add packet_trn_id()
commit 71ade76c304ba8412a8be28a059279e2e5a1d129
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 4 17:58:12 2011 +0100
s3: Make nmbd listen on the unexpected socket
commit 60ef871acee2342445d420c7f96642683c0061b6
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 4 17:12:17 2011 +0100
s3: Basic infrastructure for /tmp/.nmbd/unexpected
This provides the framework to replace the unexpected.tdb file. Nmbd will
listen on /tmp/.nmbd/unexpected. A client interested in unexpected packets
connects there. It sends a nb_packet_query plus a potential mailslot name for
dgram packets. It waits for a single ack byte to avoid races. After that has
happened, nmbd will pass down all matching packets through that socket.
nb_packet_server_create and nb_packet_dispatch are the nmbd routines,
nb_packet_reader_send/recv and nb_packet_read_send/recv are the client ones.
commit fb58d94f297529c3b3388b564b3866658b91c957
Author: Björn Baumbach <bb at sernet.de>
Date: Fri Jan 7 15:53:13 2011 +0100
s3-nmbd: Fix bug #7875
nmbd --port didn't work
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Fri Jan 7 17:44:08 CET 2011 on sn-devel-104
(cherry picked from commit 617e342a14e4fa8046ea456a89a0760f7deab8d5)
commit 2cc005a32f1ee25186e9da793120e72d0af845f2
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 8 11:25:28 2010 +1100
s4-waf: get the version number right on private libraries
use the first digit of the version number for the library version
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
(cherry picked from commit d5bf5255917862f35bb6849a407539c43cde2b04)
commit 837333e5407c034f71dce383d4920b9e616910d5
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 7 00:05:27 2011 +0100
s3-waf: make the --with-Xdir options work more like in the classic build.
Also remove duplicates and sort the tables.
Still not sure if I understand the reason of processing the flags table after
the diroptions table, as every option you give it via configure was overwritten
immediately.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Jan 7 00:57:10 CET 2011 on sn-devel-104
(cherry picked from commit f405384ad840ebe438ecf3a2ce05893857c952b2)
commit cbaecf495ef997d08fe563fa29eb19f85a70b5ac
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 5 17:26:39 2011 +0100
s3-waf: no need to compile librpc/gen_ndr/cli_dfs.c anymore.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Jan 6 15:20:14 CET 2011 on sn-devel-104
(cherry picked from commit 2958a43fad6b714e3f2bfe5f0e43b344395de179)
commit 68833a0793e1cacca85385546613a543bcdf85e5
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 5 17:26:16 2011 +0100
s3-build: no need to compile librpc/gen_ndr/cli_dfs.c anymore.
Guenther
(cherry picked from commit 577b4e527c27ff074ea375ff31a339a5ad4e8071)
commit 59121419c3901df5d9f4d5c6c01a9759dc91c253
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 5 17:22:24 2011 +0100
s3-rpcclient: use dcerpc_dfs_X functions.
Guenther
(cherry picked from commit 7888108e89995b0bacbd5915bd70778fe901820a)
commit f2a4eeca185d40bc4f94522c82215349f1d95c73
Author: Günther Deschner <gd at samba.org>
Date: Thu Jan 6 16:23:54 2011 +0100
s3-net: Fix bug #7690: retry DNS updates when connection to one nameserver has failed.
Initial patch from Patrik Martinsson <patrik.martinsson at smhi.se>.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Jan 6 17:29:11 CET 2011 on sn-devel-104
(cherry picked from commit fa1fd85eea549d2944974ddbc67e21ef9231c49b)
commit 061b1e1dcc94f119a594944f70cf7c4aa148335b
Author: Günther Deschner <gd at samba.org>
Date: Thu Jan 6 14:53:04 2011 +0100
lib/addns: move DNS client library to the main directory.
Guenther
(cherry picked from commit 7ee75c95481f0d13598577361d18e96cb8394b9c)
commit 4a40f716268b3738eebe7d824ebf79a9b246746f
Author: Günther Deschner <gd at samba.org>
Date: Fri Dec 24 01:55:08 2010 +0100
s4-smbtorture: check driver_version equality as well.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Jan 4 11:22:09 CET 2011 on sn-devel-104
(cherry picked from commit 0279422c83e42a6c903e82a069a5236dd01a0f21)
commit 76f607afd2a5cf2179704081798f23c8c9f91a19
Author: Günther Deschner <gd at samba.org>
Date: Fri Dec 24 01:25:49 2010 +0100
s4-smbtorture: always setup full driver level 8 in test_add_driver_arg().
Guenther
(cherry picked from commit 64576106b10b8cde8970d82301fba66c0ee1995e)
commit 59f5df9dcb02aa631881ea5d9206ee2bb445fb77
Author: Günther Deschner <gd at samba.org>
Date: Fri Dec 24 01:25:04 2010 +0100
s4-smbtorture: in test_GetDriverInfo_winreg() always test level 6 for samba3 as
well.
Guenther
(cherry picked from commit 69174fea5b2c580356693d33b2ab980a44a34259)
commit 860d37e5d00ba4ef24bfff7dcdd8b6c3db13bc97
Author: Günther Deschner <gd at samba.org>
Date: Fri Dec 24 01:22:24 2010 +0100
s4-smbtorture: setup help and dependent files in spoolss driver unc path tests.
Guenther
(cherry picked from commit 19a295dee8b9b9b9844c564fb5b856c7268f650a)
commit d94eb8dfb846214fc8b91367ebb58bd46fe41d95
Author: Günther Deschner <gd at samba.org>
Date: Fri Dec 24 01:14:49 2010 +0100
s4-smbtorture: fix DriverDate and DriverVersion comparison checks against w2k3.
Guenther
(cherry picked from commit 8fc28818b974042712b5c11776de0562755ed59d)
commit 7ccebe3dcf8eed90087d7fdc1da97c5d7793c82b
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 23 23:50:23 2010 +0100
s4-smbtorture: add more tests for driver_dates.
Guenther
(cherry picked from commit 9c46370e915d8b32f0307eb0a491aeacd2b617b9)
commit 517aa779ff8f97f5286fe7c689b313a61ee77d48
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jan 5 14:38:33 2011 +0100
s3: Fix some nonempty blank lines
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Jan 5 16:03:24 CET 2011 on sn-devel-104
(cherry picked from commit 4de4703bb9f4443278ca1fb5bc3641706f5ca955)
commit f8d2e9564261bfaeec901ab7d43c3ca6a8d545e0
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 4 13:11:35 2011 +0100
s3-waf: convert SAMBA_VERSION into a subsystem.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Jan 4 15:10:52 CET 2011 on sn-devel-104
(cherry picked from commit 4ebf2f97459b4214748255aa1f40015f8dc511cc)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 36e7bf9b0b0be8a8776163f7f7d1f9a7f869627f
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 4 13:05:51 2011 +0100
s3-waf: convert PASSCHANGE into a subsystem.
Guenther
(cherry picked from commit 589d1bf57eb8f561de3cf2a05990a5d2edf69095)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e28717c3cdcae114fd7bbe63adcaf46c03a73d25
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 4 12:56:29 2011 +0100
s3-waf: add UTIL_TDB subsystem.
Guenther
(cherry picked from commit 34596493bada8ce9fb00fd7d4d60ac245a71d5e6)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 539a9669e94e607a7bb07174697077e5662ec0d0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 8 14:58:12 2010 +1100
s3-waf: fixed version number handling
(cherry picked from commit 16c36a8cb56f3a74927cdb7c46dfb6158f328beb)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 58687c8fda2c12052104c76127570adf87968f3d
Author: Björn Jacke <bj at sernet.de>
Date: Thu Dec 2 10:24:52 2010 +0100
s3/selftest: add some FIXMEs
this needs some rework. Sourced shell code cannot take arguments, at least no
portable shell. This generates errors on the buildfarm sind quite a while.
(cherry picked from commit 72a322ed9c2dd3eb0177f91fac8b4368938695ac)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 02e743f0dff7a5180e54ff78c5d87f5a15c95b8c
Author: Björn Jacke <bj at sernet.de>
Date: Thu Dec 2 10:20:59 2010 +0100
tests: avoid bash in shebang and fix wrong "==" in test
(cherry picked from commit eeade1596df7bd52fab3b3a4b39266f39ffa6fb1)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 52a2dd8bc5ada2cfeb96f5e512723b08ed18c4b7
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 4 13:56:05 2011 +0100
s3:build: don't use cli_dssetup.c any more
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Jan 4 22:21:48 CET 2011 on sn-devel-104
(cherry picked from commit 899adcaec97f5f8781507a221d0ffcbe73e59b0c)
commit c5ba32bd2d08d4e6949e2f5080d04f00aeb06a8e
Author: Volker Lendecke <vl at samba.org>
Date: Wed Dec 1 07:57:38 2010 +0100
s3: Attempt to please autobuild
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Dec 1 08:43:37 CET 2010 on sn-devel-104
(cherry picked from commit bf9c3eedf834e5637a23f051e0c8db6687c6dcf1)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 863330e4affeb8866e758e22b99032656c09b311
Author: Brad Hards <bradh at frogmouth.net>
Date: Tue Jan 4 08:42:20 2011 +1100
talloc: Typo fix for api docs
(cherry picked from commit 564830ef909b62be064590b865bde5d41a7ceac3)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e47ced633c905756d2651ad41d682e217765f3fc
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 5 16:33:13 2011 +1100
talloc: fixed a use after free error
this is the minimal fix for the problem Rusty found. I previously
thought that the best fix would be to change tc->parent to be valid
for all pointers, but that is expensive for realloc with large numbers
of child pointers, which is much more commmon than I expected it to
be.
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Jan 5 07:22:27 CET 2011 on sn-devel-104
(cherry picked from commit 6f51a1f45bf4de062cce7a562477e8140630a53d)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 1d08998db859422e5995ed3e7b74ca5402057775
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 22 15:29:37 2010 +1100
talloc: added a test for the use after free Rusty found
(cherry picked from commit 66db49e35f87f0e0a9d82cfa661d2cc604758406)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 59f1fbc6b99bf3e3a9ea9d61aa35a35c82d93f96
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jan 5 01:01:28 2011 +0100
talloc: Clarify error message on access after free.
(cherry picked from commit 733bc1c1ca31df2b61d86f5ee8783ee9c3867faa)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 2bd76502610c13ef86286d44368feed417bd345d
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jan 4 16:53:33 2011 +0100
s3-rpcecho: Only register rpcecho in the developer build.
Autobuild-User: Andreas Schneider <asn at samba.org>
Autobuild-Date: Tue Jan 4 18:56:38 CET 2011 on sn-devel-104
(cherry picked from commit 8925b03b5997d9e4fff604a2417eb1f4d8958e86)
commit 5771748cd1dfcc53e4bb7860e9a2f0ad3e301a2c
Author: Andreas Schneider <asn at samba.org>
Date: Mon Dec 20 14:29:34 2010 +0100
s3-waf: Fixed the static rpc service build.
Autobuild-User: Andreas Schneider <asn at samba.org>
Autobuild-Date: Tue Jan 4 12:09:48 CET 2011 on sn-devel-104
(cherry picked from commit d2e93cce88b69bdf489984f34376ca30934684ad)
commit 6f4ec180eec41cd7f6c788e474ad9f0902fa5aa8
Author: Andreas Schneider <asn at samba.org>
Date: Mon Dec 20 11:42:17 2010 +0100
s3-smbd: Call the rpc service shutdown functions.
(cherry picked from commit d4f5bf0c36e3d5a0a13d1a03e7c6fac956dbf954)
commit d7395648661fe2357f64c6312f4168efed0d18b3
Author: Andreas Schneider <asn at samba.org>
Date: Mon Dec 20 11:24:07 2010 +0100
s3-build: Remove broken RPC modules support.
With the current module support for rpc we're not able to call the init
functions with the rpc callback structure. So init functions and
shutdown functions aren't called. These init functions are needed to
setup pre requirements like migrating the printer databases and register
at the endpoint mapper. The shutdown functions cleanup memory and
deregister from the endpoint mapper.
(cherry picked from commit 8ece780d1b90125514a1afb3e145a413cc342b98)
commit 39a042edbe6a4e78687eef0a008f00f4f2f2a54e
Author: Andreas Schneider <asn at samba.org>
Date: Mon Dec 20 11:00:45 2010 +0100
s3-smbd: Call all the rpc services in the right order.
(cherry picked from commit 9aa876397601554df5f6b6e4b690755ed0eb405e)
commit c5a3b64b75f9de970f92719263c921f762baf6ed
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 4 17:18:22 2011 +0100
s3:net_utils: use dcerpc_dssetup_DsRoleGetPrimaryDomainInformation()
metze
(cherry picked from commit 4c37257f16cf2b34550a993f5423ee772254870f)
commit 557d96f45953137a81e1e11cf2455af34c87e5f8
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 4 13:55:15 2011 +0100
s3:winbindd: use dcerpc_dssetup_DsRoleGetPrimaryDomainInformation()
metze
(cherry picked from commit f016e4d4bd86d34a39822e9fdc0f83dbf67442b7)
commit 9e81430ca721ca5c1abd1f97a481a31bb9f82804
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 4 13:51:34 2011 +0100
s3:rpcclient: use dcerpc_binding_handle based client stubs in cmd_dssetup.c
metze
(cherry picked from commit c6aedc9750aff42a6d201addf0d4ed745743b9a2)
commit de8f82318fa177dc3548963134da3b8ab1f416c0
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 4 13:36:24 2011 +0100
s3:build: don't use cli_epmapper.c anymore
metze
(cherry picked from commit 62aa019a1b5b0ec17e0b4494de44e80ffc793fdd)
commit b86d609e1e93884a0e9dfd931c9a2ea7271d584b
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 4 21:24:17 2011 +0100
s3:rpcclient: improve "epmmap" output
metze
(cherry picked from commit 6dd5ccd04130a7d33bebca1a2340d339ab7b34c9)
commit b87d6600c7a4475b1a6b5083c13831d053324136
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 4 13:33:46 2011 +0100
s3:rpcclient: use dcerpc_binding_handle bases client stubs in cmd_epmapper.c
metze
(cherry picked from commit 697d4ea8fff6fbc48aa59b17fa0ecc91bf1d233d)
commit 67a9ea8f66e002c17db9693093f577e386b4e5a1
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 4 13:32:28 2011 +0100
s3:rpc_client: use dcerpc_epm_Map() and don't ignore 'result' anymore.
metze
(cherry picked from commit fba2fdf2651bd4ffaabb41d5e0506cbf3bcb0699)
commit 324ea1000d6db261c7147e22fc4b2dde53ec1f68
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 4 10:55:48 2011 +0100
s3:build: don't use cli_ntsvcs.c any more.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Jan 4 17:23:17 CET 2011 on sn-devel-104
(cherry picked from commit e1e869352565b8e1d7865a2338f8f0f3ef154519)
commit 7952a49385867378945bdbab1c3a99b1597d0520
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 4 10:52:14 2011 +0100
s3:rpcclient: use dcerpc_binding_handle client stubs in cmd_ntsvcs.c
metze
(cherry picked from commit d99e9c389b6c0d8ed84a7b36ccadd8b43e3b19f2)
commit 8380829c3e5bb9b492ce09ec805e1bd0050f6862
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 4 13:58:25 2011 +0100
s3:build: don't use cli_wbint.c any more
metze
(cherry picked from commit fbcbeabd655029309ee42627a0bb75d6a5820f50)
commit 0754428083e1356fe7200a68934837bbdd326873
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 4 08:43:16 2011 +0100
Revert "nsswitch Add talloc depencency for nsstest"
This reverts commit 640028d158583825ea5ffd1266f099cf8776db5d.
This is not needed anymore.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Jan 4 09:38:57 CET 2011 on sn-devel-104
(cherry picked from commit b79c0e1adbe8ad591157d92b36106484c2c18313)
commit 015290058e990a16b443578138e5fdfcca2b9167
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 4 08:42:16 2011 +0100
nsswitch: remove includes.h dependency from nsstest.c
metze
(cherry picked from commit ce113ea02980563133c547bb0693864951ce16a5)
commit 7daee57a4aaa7f456d826dfdd7236a1ba0df24a7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jan 4 14:41:38 2011 +1100
nsswitch Add talloc depencency for nsstest
nsstest does not use talloc, but it includes talloc.h via includes.h,
and so without this it cannot find the right internal header.
This wasn't noticed before, as most linux developer boxes have a talloc.h.
The issue was reported by Adam Tauno Williams <awilliam at whitemice.org>
Andrew Bartlett
(cherry picked from commit 640028d158583825ea5ffd1266f099cf8776db5d)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 32d111bef6d38bc3f946e68f133d37e1f1cc25bc
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 3 16:58:56 2011 +0100
s3:net_rpc_vampire_keytab: don't return -1 on success (bug #7899)
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Jan 3 19:05:11 CET 2011 on sn-devel-104
(cherry picked from commit ddbbc7b12ae8e51bc9658e3356bbeefe314f55bb)
commit 270893eef13fd5ea020fed263b4a8b5401906e49
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 2 05:57:09 2011 +0100
s3: Fix a memleak in receive_getdc_response
It's the free_packet() that was missing. On the way, I've changed the
"return false;" to a "goto fail;", which makes the patch a bit larger.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Jan 2 14:27:56 CET 2011 on sn-devel-104
(cherry picked from commit 593c004b74693aeddfffdf80945d37bac7276969)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 97c676b982e208babbd94353b60b3318933ca7fc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Dec 15 17:17:09 2010 +0100
s3/s4:auth SPNEGO - adaptions for the removed "const" from OIDs
This is needed in order to suppress warnings.
(cherry picked from commit 13fa6743d86ef6e51b3243cf3045242850358b43)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 5ea1dd5e79633a7d91e5c43f93446c3bc8a84e91
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 3 16:53:00 2011 +0100
s3-waf: fix the build.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Jan 3 18:19:01 CET 2011 on sn-devel-104
(cherry picked from commit 4316895bc7eafde146541ee522ec4d575402d67d)
commit 710b083f25db16d6754492cbb7b85ca3a3db841c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 18 01:04:02 2009 +0200
lib/crypto: add aes_cfb8_encrypt()
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Jan 3 17:32:07 CET 2011 on sn-devel-104
(cherry picked from commit ea5940e7eb099feb693f53bb725fc55f3d5d5ef0)
commit b41068c03016dbb618c4b292a4aafe32abd378e9
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Sep 26 02:59:59 2009 +0200
s3:librpc: use netsec_outgoing_sig_size() instead of a hardcoded signature
size
metze
(cherry picked from commit 2d466b41cd20d0162d3fa4cd29a83bbc20d00454)
commit f72e70f8fad6ab28a76ac174027ca6a9c464be72
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 09:10:27 2009 +0200
s4:gensec/schannel: use netsec_outgoing_sig_size() to get the signature size
metze
(cherry picked from commit cbf6c88aa8ff2ee1e31aed4773cec5266773d213)
commit b7923a2d922e5141c472a2235107204f1c86d4ce
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 09:00:57 2009 +0200
libcli/auth: add netsec_outgoing_sig_size()
The size of the signature blob depends on the used
algorithm.
metze
(cherry picked from commit e22c4c5632e4172c2056cec07c842a69f24e068a)
commit 07a4db9db087ffe7a773a893b045691a75917689
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Jan 2 12:33:12 2011 +1100
talloc: Fix warnings in test code
This should not change any behaviour - the intent is just to reduce
the "nuisance" warnings.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Jan 3 11:12:39 CET 2011 on sn-devel-104
(cherry picked from commit 10b1ed670f215d1cd4252374b4040e4cbf58723a)
commit 6ab39cb5417b5fabf57d38fda02a39d138165bb1
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jan 2 17:55:55 2011 +0100
s4: Happy New Year 2011
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Sun Jan 2 18:42:12 CET 2011 on sn-devel-104
(cherry picked from commit 4d5c0c3ec5a0c7a95b25eed5149e8cf665f295c9)
commit 3415b9340c2d54f7d30d3bb358ee3ca910c2d1cd
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jan 2 17:55:05 2011 +0100
s3: Happy New Year 2011
metze
(cherry picked from commit 81a167b5df47e8964fbd0f12d9ba16b41a0625a4)
commit d27093f3351477009b8ba4c7f04be33b4c34bfed
Author: Michael Adam <obnox at samba.org>
Date: Sun Jan 2 22:08:13 2011 +0100
s3:winbindd/idmap_ad.c: update my C
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Mon Jan 3 09:19:07 CET 2011 on sn-devel-104
commit 5df47fe2ca7ad1af4b5200fa8d30eefd19d378df
Author: Michael Adam <obnox at samba.org>
Date: Sun Jan 2 22:05:36 2011 +0100
s3:winbindd/idmap_util.c: add my C
commit f8a6ce9f5f232b68c78a1d820459e94e3de57957
Author: Michael Adam <obnox at samba.org>
Date: Sun Jan 2 22:04:53 2011 +0100
s3:winbindd/idmap.c: add my C
commit 9d30733496f0a53d556dacff6284f4642ae00dce
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 8 00:43:34 2010 +0100
s3:net: make idmap_store_secret static.
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Sun Jan 2 13:41:07 CET 2011 on sn-devel-104
commit ed31148c4838789a2ad30da8db2f0a82cb702143
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 8 00:41:28 2010 +0100
s3:net: fix the usage for net idmap secret (removing alloc)
commit 57beac091a4c8284c268c9c40951643718cccb3a
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 8 00:39:28 2010 +0100
s3:net: remove alloc parameter from idmap_store_secret() (net idmap store).
commit ef2cc5f9b9568b843d95b81d9f751f0d3e6a66b2
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 8 00:32:53 2010 +0100
s3:idmap_ldap: remove special handling of alloc secret (not used any more).
commit 2b87f84c26c411b69be28e109d631ccd93bbe5be
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 8 00:26:29 2010 +0100
s3:idmap_ldap: remove unused idmap_ldap_alloc_context.
commit 0819160898a64249a685c0be1944fd9e04ba875f
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 8 00:26:05 2010 +0100
s3:idmap_ldap: remove alloc context member from ldap_idmap_context
commit c4bb7843ab787469a2150f7bb66da7919dac1e90
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 8 00:24:01 2010 +0100
s3:idmap_ldap: remove use of alloc context from idmap_ldap_allocate_id().
commit 3aab0703754fdd2652da9402c7fab9b94f5aaf75
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 8 00:07:29 2010 +0100
s3:idmap_ldap: remove unused idmap_ldap_alloc_close_destructor().
commit 84a28a1893d918bb9588d9eea843156c6a956ab1
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 8 00:06:50 2010 +0100
s3:idmap_ldap: remove unused idmap_ldap_alloc_init().
commit c32e15493a27bf606c4b409bd1a4d9c41a4f0949
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 8 00:04:20 2010 +0100
s3:idmap_ldap: don't call idmap_ldap_alloc_init in idmap_ldap_init.
Call verify_idpool() instead.
commit e814929cd69bbe198fdcec47969f603a3713d145
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 8 00:19:23 2010 +0100
s3:idmap_ldap: remove use of the ldap_idmap_alloc_context from verify_idpool().
Allocation is now subsumed in the idmap ldap config.
This is the beginning of the removal of the idmap ldap alloc parameters.
commit a31f75606079b8a408974f4f25d7c23577955655
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 2 02:48:03 2011 +0100
Fix a valgrind error
Thanks to Tridge for the hint.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Jan 2 10:58:51 CET 2011 on sn-devel-104
commit f08009e6d262a88e0f5de513ff6e9d09f580df66
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 1 16:21:12 2011 +0100
s3: Remove unused mem_ctx arg from set_getdc_request
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Jan 1 23:00:24 CET 2011 on sn-devel-104
(cherry picked from commit 9ccef4e62b72a42b7281e6ad6bc1127ed9504bbb)
commit 5d0a00cf2a6376b50a5ec2de79831ed0fa5bb2be
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 1 16:18:48 2011 +0100
s3: Factor out prep_getdc_request
(cherry picked from commit b2ba2b956e2b6e8552c74afe65902aae70203843)
commit 85e8a2db0551068b51f16203d45dc88a3754a9e9
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 1 15:29:11 2011 +0100
s3: cli_send_mailslot -> cli_prep_mailslot
(cherry picked from commit e0abc5c15f8e3b226366d32925d1c50f42a9b225)
commit 709bd63880df7f66fd3538ac642b945f5c4cae60
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 1 15:13:30 2011 +0100
s3: Fix some nonempty blank lines
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Jan 1 16:03:23 CET 2011 on sn-devel-104
(cherry picked from commit bb6da9f06c1159b3b904d654f845442c5a7dec3e)
commit 1c11ad8fea82d160dace3300dd6b14915ba0b21a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 1 15:08:42 2011 +0100
nss_wins: Fix a type-punned warning
(cherry picked from commit 407a1b3e7463f02d22670ab033c1a2df89c0ce06)
commit 95cae3e0b97571d5b97aeea76e91df28555968d8
Author: Jeremy Allison <jra at samba.org>
Date: Sat Jan 1 20:23:49 2011 -0800
Fix memory leak I introduced when refactoring unexpected packet code.
Found by Volker.
Jeremy.
(cherry picked from commit 991db9faeaa019a8d9c1e1981f063654e3ad5908)
commit aa61900dcce418c6a0be295ed793db8859ff7595
Author: Volker Lendecke <vl at samba.org>
Date: Fri Dec 31 14:01:05 2010 +0100
s3: Add some const to receive_getdc_response
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Dec 31 14:48:57 CET 2010 on sn-devel-104
(cherry picked from commit 659bb646e45dd408b8922b2812ef9f6379ded64e)
commit 05dcfcaa6d2ad4ebd691eb37dee8e72ff805c64f
Author: Volker Lendecke <vl at samba.org>
Date: Fri Dec 31 14:00:43 2010 +0100
s3: Add some const to send_getdc_request
(cherry picked from commit ba15b7af0708ed838a0589d3c9c6ade3dfadac9c)
commit e7e79b16f51e32356a0211263c4d0f01473db7c0
Author: Volker Lendecke <vl at samba.org>
Date: Fri Dec 31 10:07:45 2010 +0100
s3: Fix some nonempty blank lines
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Dec 31 10:58:31 CET 2010 on sn-devel-104
(cherry picked from commit 8e861852c0d30f74a56df3b33e356248c8fc964a)
commit 06e02dfb9316ec96d711fa7455b4e947587a7f9a
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 30 12:42:50 2010 +0100
s3: Fix two uninitialized variables
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Dec 30 12:52:47 CET 2010 on sn-devel-104
(cherry picked from commit d05fb4b7b79fa5ef240864f0f0f544bbba1b59e3)
commit 61186b5281d23823a7ee99b7d552b2d8d7e07acc
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 23 15:20:22 2010 +0100
s3: Allow more control over smbsock_[any_]connect
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Dec 29 23:30:44 CET 2010 on sn-devel-104
(cherry picked from commit 86ff8cf227c759189080ade0deb4f5b184bb14f7)
commit 5ea88afaf4982d4f327897c6474034f9aae04d85
Author: Volker Lendecke <vl at samba.org>
Date: Wed Dec 29 08:46:08 2010 +0100
Use sockaddr_storage in async sendto/recvfrom
(cherry picked from commit 65f4f22cb4a201fb3f4f4adbb576d3a8909d4bfd)
commit 2a833a4621f3d7155dc7dfc5a7633dc68eba2dd0
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 28 13:47:35 2010 +0100
s3: Make name_query return NTSTATUS
Also use talloc for the result
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Dec 28 18:21:05 CET 2010 on sn-devel-104
(cherry picked from commit 4622812a41eb5ce07dd8f74534217e858743883f)
commit d7c32ae6fcab9205abf86b0d8fd1f92f410ccecf
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 28 17:17:04 2010 +0100
s3: AllowDebugChange is gone
(cherry picked from commit 28d997a89056f144de6a7b95af0e54a044c5e5b3)
commit 030f2ff39a64a8d378c1c2a9027e5152e17e83b3
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 28 17:05:18 2010 +0100
Fix a crash in libnss_wins
lp_set_parm accesses the case tables
(cherry picked from commit 181cd3281c4f2c53dc507f59d281a2517579cfe1)
commit 073f0023dac2be067f15f29d6efd02491de457ed
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 28 12:53:12 2010 +0100
s3: Make node_status_query return NTSTATUS
Also make the result talloc'ed
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Dec 28 13:46:59 CET 2010 on sn-devel-104
(cherry picked from commit 571711431885e8e556822c14b3d117025860bf81)
commit ef6cb55db8457654d5d19d4c4f9d859864d40ca8
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 28 11:55:47 2010 +0100
s3: Remove an ancient typedef
(cherry picked from commit e1ab3c3470a7f1159d52ed0c1eacf4a5a7b6bc2b)
commit 522cbb353ff988d3275f4449d97485a42a76d5af
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 28 11:48:43 2010 +0100
s3: Fix some typos
(cherry picked from commit b0ff97d8d37957fc34861214b6cbab513072bef1)
commit 80ef0195bd42a3d4fcd1a03e85ea06dc85cee757
Author: Volker Lendecke <vl at samba.org>
Date: Sun Dec 26 16:03:58 2010 +0100
async_send->sendto, async_recv->recvfrom
(cherry picked from commit c4b18bd860bc18529249a8c54c7db6aba2347591)
commit 7371bf53f793e5857c4bb43fdd58e8f121e7007d
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Dec 24 11:54:51 2010 +0100
tdb:tdbtorture: use TEST_DATA_PREFIX for files
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Fri Dec 24 18:17:53 CET 2010 on sn-devel-104
(cherry picked from commit b83672b36c1ea8c35833c40c3919b63809f16624)
commit 8b916ab9203188bd47c8f9afcdb17d183ccd2167
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Dec 24 11:54:03 2010 +0100
tdb:tdbtest: use TEST_DATA_PREFIX for files
metze
(cherry picked from commit d81ceeb9833ec80d7ab21b34e4b3af3d79aeb845)
commit 94d4655d04c02d79e5ce4517a8bf9c4f63719688
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 23 14:43:10 2010 +0100
testprogs: testspoolss.exe: pretty print FILETIME in driver info 6 and 8.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Dec 23 23:40:21 CET 2010 on sn-devel-104
(cherry picked from commit 821b2a9d1197d927ab6081bcd953a0540888dcf3)
commit 72b35f9a81029c1c336df8a48a7534970d4d89f6
Author: Volker Lendecke <vl at samba.org>
Date: Sun Dec 26 15:00:53 2010 +0100
tevent: More documentation updates
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Dec 26 15:49:59 CET 2010 on sn-devel-104
(cherry picked from commit b2c983149cd498e633c5c17c1d39e10c70fef630)
commit 489b1c17c2ae93ceccb97b6d941cb20075aba4d2
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 29 12:08:19 2010 +0100
s3:lib/netapi: don't set SAMR_FIELD_FULL_NAME if we just want to set the account name (bug #7896)
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Thu Dec 30 18:09:13 CET 2010 on sn-devel-104
(cherry picked from commit f1d15ea54c313e71fc032b2ed191bdecad868858)
commit dd10098fd59fe4903376b82016b21aa3b6239665
Author: Michael Adam <obnox at samba.org>
Date: Thu Dec 30 16:34:59 2010 +0100
examples:createdombj: default prefix to target-type, not "group"
It can be irritating to create users named group00001, group00002, ... :-)
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Thu Dec 30 17:22:57 CET 2010 on sn-devel-104
commit e5ac067fb0a1340f62ce17b90bcfe2dddf30e280
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Dec 23 19:23:11 2010 +0100
tdb: add ABI/tdb-1.2.8.sigs
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Thu Dec 23 20:35:42 CET 2010 on sn-devel-104
(cherry picked from commit 46ee6908be64c4405b3a8f7477abc119aa060020)
commit c416367e9a8a8c4efd1ee15e91be5c85fe6159d3
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 29 10:39:25 2010 +0100
tdb: add ABI/tdb-1.2.9.sigs
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Wed Dec 29 11:26:12 CET 2010 on sn-devel-104
(cherry picked from commit b222615b5978aa78e82af79359b7cc3baec0bc87)
commit 7034481c80f5f75b4bb930c0d26ab93ce5845f80
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Dec 29 12:50:47 2010 +1030
tdb: tdb_summary() support.
Autobuild-User: Rusty Russell <rusty at rustcorp.com.au>
Autobuild-Date: Wed Dec 29 10:12:05 CET 2010 on sn-devel-104
commit 6def6847f770e828286c37c456de8423ddcc4e46
Author: Jeremy Allison <jra at samba.org>
Date: Tue Dec 28 16:25:16 2010 -0800
Fix bug #7892 - open_file_fchmod() leaves a stale lock.
(cherry picked from commit 079da9a83d12945e8e7bc86ef27abd0bd1599fa4)
commit 9eb0084726c18a43e581388032dd59c31525adb3
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Dec 27 11:18:44 2010 +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 at samba.org>
Autobuild-Date: Mon Dec 27 12:08:51 CET 2010 on sn-devel-104
(cherry picked from commit e1de884eaa28d8ac67d4060e76e146e0216447ff)
commit c86299b76a05746f12d2c5b576ec01d27c759ce6
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 25 23:45:30 2010 +0100
tevent: More doc fixes
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Dec 26 10:20:51 CET 2010 on sn-devel-104
(cherry picked from commit d2de01f95bc55529281e2860222330d5021d3d69)
commit 86772b9a7a0a6c30203c84b2a9cd28fa8217e417
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 25 23:09:19 2010 +0100
tevent: Some documentation fixes
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Dec 25 23:58:20 CET 2010 on sn-devel-104
(cherry picked from commit f16740a408a7a5f648a4cb4b5bef098cf3aec458)
commit d2881592fd0bfc9f25e863a608c032fdb24bfb54
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 25 15:19:16 2010 +0100
tevent: Fix a typo
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Dec 25 22:56:18 CET 2010 on sn-devel-104
(cherry picked from commit 5353eaea33f34752a27ed47fee26426227f5a752)
commit cef866ad8021f85a9c89d1749d47fb2178930244
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 28 17:08:57 2010 +0100
Fix a memleak in nss_wins
commit 02f21dc060fcec9cd9dffffd68edc645902f54f9
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 28 11:57:04 2010 +0100
s3:winbindd: remove useless ';'
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Dec 28 12:45:20 CET 2010 on sn-devel-104
(cherry picked from commit c604388ec3daa69184f9c45d48599353ddb54240)
commit 896d58bf9898f658f6bdcb9ff9cdd2acb78f404b
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Dec 27 16:55:31 2010 +0100
WHATSNEW: fix indentation
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Dec 27 17:50:05 CET 2010 on sn-devel-104
(cherry picked from commit 7ea7ba64e1520af336b28c1e5f39233f9f7c526e)
commit a61fe4dbd88157662ea127cf7b9d530f7edea760
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Dec 24 00:26:51 2010 +0100
WHATSNEW: Fix typo, indentation.
(cherry picked from commit c19a90aafe56437c9d37a00825601ca2c86af06c)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6148d5eb84d0a15442d689e0265e1172096e9110
Author: Karolin Seeger <kseeger at samba.org>
Date: Sun Dec 26 23:16:54 2010 +0100
WHATSNEW: Update changed parameters.
Karolin
commit 23341ca37e165ed3fa615030b87d8d65ea166970
Author: Karolin Seeger <kseeger at samba.org>
Date: Sun Dec 26 23:06:09 2010 +0100
WHATSNEW: Update changed parameters.
Karolin
commit 3356192af5d36fbe986c4728162d10fe883ba2fd
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Dec 23 08:17:48 2010 +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 at samba.org>
Autobuild-Date: Thu Dec 23 09:38:43 CET 2010 on sn-devel-104
(cherry picked from commit e9dddc55e324c62973e6a561477b532cf9ed79af)
commit 32057f3c865c3743e36de345c6fa2398f7df88b2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Dec 19 14:00:05 2010 +0100
s3: "make etags" should not grow TAGS infinitely...
(cherry picked from commit fd49ed238c5e82c8444eec35a09c32c191b76074)
commit 77a6ab1eee261f4f83f7747804ec1a80da801feb
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 11 10:29:57 2010 +0100
s3: Use the right uid winbindd_raw_kerberos_login()
(cherry picked from commit 92e138f920126f417a20bc49aebe0c3cbab5056d)
commit b8d541d3425d0a7356319d828353be2c65f34977
Author: Volker Lendecke <vl at samba.org>
Date: Wed Dec 8 19:51:14 2010 +0100
wb_reqtrans is not used in libwbclient
(cherry picked from commit a881d6ab867a1d28c08a993a6212bd8bbdea6038)
commit 87777cff56665b3bb0f314ee76ed4fbeec1c4ee7
Author: Volker Lendecke <vl at samba.org>
Date: Wed Dec 8 20:11:46 2010 +0100
Move wbc_async.[ch] to its only user: smbtorture3
(cherry picked from commit c0a7c9f99188ebb3cd27094b9364449bcc2f80d8)
commit f551cf7908db4dfac5d0cd9a4a3f6d968b255811
Author: Volker Lendecke <vl at samba.org>
Date: Wed Dec 8 20:06:03 2010 +0100
libwbclient: Put the wb_reqtrans definitions into wb_reqtrans.h
(cherry picked from commit 6bfd745c61458308c3a05a1678cf6507d1a8a375)
commit f60e96e9b9b040286901a620aec95b40369cee5b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 11 14:27:54 2010 +0100
s3: wcache_invalidate_samlogon only needs the SID
(cherry picked from commit a159958065e195413f459a82643c780d80b6c088)
commit 5da3528988258afc74a7771063f520d9435df1ff
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 11 14:19:50 2010 +0100
s3: netsamlogon_clear_cached_user only needs the SID
(cherry picked from commit e113b1c64f1dfd84911050379d06d9ffc4958db3)
commit ec67223f6e96a67179d7a254e8370814d97e426d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 11 14:16:51 2010 +0100
s3: Remove two pointless slprintf calls
(cherry picked from commit ff5f767d0e31ea0c5311ce48d8e0387eebd84ce8)
commit aec389a086cb2b320afe2cb5bc8e308f1297ac3f
Author: Volker Lendecke <vl at samba.org>
Date: Fri Dec 10 23:02:19 2010 +0100
s3: FreeBSD has getpeereid(), use it
(cherry picked from commit d39fedaa69b20e8f29fff9cd9a09c1bb1ecec7be)
commit d9ce86cc3a6b07a64e455b3e3f353325d7a94c7b
Author: Volker Lendecke <vl at samba.org>
Date: Fri Dec 10 08:48:19 2010 -0700
s3: Reply correctly to FSCTL_IS_VOLUME_DIRTY
(cherry picked from commit d082701ea5131b02a49321ef29d1aa58a80ee92a)
commit d9f072ea1652cf1b2a872b79b939f9ccf3436627
Author: Volker Lendecke <vl at samba.org>
Date: Fri Dec 10 19:59:06 2010 +0100
s3: Fix some nonempty blank lines
(cherry picked from commit 356add8a638b737cf72181beaa13342ab920ace8)
commit 44a05b3b85c4f7eae4311dd7b02d83a1a7fdec8b
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 7 14:40:13 2010 +0100
s3: Did I say this module is from hell?
(cherry picked from commit cf74a4857c051b43b1f6a06b714a93a65e8a1f90)
commit 1181bfaefa52b8a8e1e7ad4367537f8a60a53f80
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 30 18:21:46 2010 +0100
s3: re-add some debugs to check_reduced_name
(cherry picked from commit 98a2fff2e5dbcc6f125136f94ff552c3fb05cc01)
commit 92fd198a595c7ead3739dc2c53f6cdb26e93a487
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 20 16:43:39 2010 +0100
s3: Remove unused "retry" from cli_start_connection
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Dec 20 17:58:33 CET 2010 on sn-devel-104
(cherry picked from commit bfc4fe401259085f9e17c75a7ec171be0bc5f35f)
commit c13e63fec85b7828e05b20926efa764a26adef7b
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 20 16:37:23 2010 +0100
s3: Remove unused "retry" from cli_full_connection
(cherry picked from commit d096de56b16c50c7cc22df08895dc29567ee15d7)
commit fe84aa479d708665cbb833a1821fb2f617ac87e9
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 20 16:22:02 2010 +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
(cherry picked from commit 660190632e4f8ace65f4944f4686ea42444056c0)
commit 2251de7564fa67a777fb833eecfbb34fa400b418
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 20 15:58:55 2010 +0100
s3: Remove some unused variables
(cherry picked from commit 09cccee27302044dd2fa3e94c60bf7854c4d2e45)
commit 7a1e041252e47e3bece0c1d44c6c2da2a4d55cdd
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Dec 17 13:26:16 2010 +0100
s3:lib/gencache: fix memory leak in error path
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Wed Dec 22 15:08:30 CET 2010 on sn-devel-104
(cherry picked from commit d9be7e9368fc373a2b7978228ce723869f0ad0ac)
commit 591a22dd079e069d1e5540af5fa913376a0d3d2a
Author: Volker Lendecke <vl at samba.org>
Date: Wed Dec 22 14:40:16 2010 +0100
s3: Remove unused open_any_socket_out
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Dec 22 17:27:29 CET 2010 on sn-devel-104
(cherry picked from commit 03b8b8e19952c40eb3eb22e16e7fbae4073b7b4b)
commit e5cd7c56d5954c5af75f6291e305202bbef3a929
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 21 21:55:01 2010 +0100
s3: Use smbsock_any_connect in winbind
(cherry picked from commit 5d4ac40f69aed6de033c0ca637dbab02db01740b)
commit 54e258cc2fa589ca9873638bb9e0c3aa40c43679
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 21 18:52:53 2010 +0100
s3: Retry *SMBSERVER in nb_connect
(cherry picked from commit d5188fcd185f518c2b2b78f9e4aa6c49b3d139c7)
commit a3097d028e0223a6824fb06e071683f791429e74
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 14 12:50:57 2010 +0100
s3: Test smbsock_any_connect
(cherry picked from commit 3ae7ef73b020789634df40d4b74dd4bad36ba4fa)
commit b21ee1a40b5a90ba79a281004ee93a939888cac0
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 13 17:17:51 2010 +0100
s3: Add smbsock_any_connect
(cherry picked from commit d8e3d0af9e52c46fa2ab37dc263ae3a5ea5ce020)
commit fbfd083de828d18e853f9a1d886b5cff5ce7b52a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Dec 12 18:55:06 2010 +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.
(cherry picked from commit 49cd92b2186addebba79efffc435083e6086aab1)
commit 9c879ee628a0d5e3ce7eb80b06dcce4f6c8d488b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Dec 12 18:54:31 2010 +0100
s3: Add async cli_session_request
This does not do the redirects, but I think that might be obsolete anyway
(cherry picked from commit 02a74fd36db962eaf6da14b920bccbee7d25f07e)
commit 8f64b1bb510a07b062bae187f55010e085478ab6
Author: Volker Lendecke <vl at samba.org>
Date: Sun Dec 12 18:53:49 2010 +0100
s3: Add some const to name_mangle()
(cherry picked from commit 444dcc59c2b0fe616c833efa75a061c46ac12274)
commit 7cdea6983a63a9ca29dcd89d46b853f99dae355d
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 22 14:52:50 2010 -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.
(cherry picked from commit 053e30f2fc62a83d678414158558b27de80615df)
commit 4e58621fa1c3515668d25125898b8794c38a0fdc
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 22 14:50:58 2010 +0100
s3-waf: fix the build.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Dec 22 15:55:11 CET 2010 on sn-devel-104
(cherry picked from commit 87934d8c7906887df08c5556cea3b061f7e5c893)
commit f1414d5890df616a66796c7f9194f46b36558f57
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 22 11:34:22 2010 +0100
s3-printing: fix crash bug in print_spool_open().
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Dec 22 14:21:58 CET 2010 on sn-devel-104
(cherry picked from commit 94e83e385e5ba66f1415164214f7afd5e4ad7536)
commit dc30e4b167b05180c3c3ccbd01aac05c98aef9cd
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 22 11:32:24 2010 +0100
s3-spoolss: handle NTTIME(0) as "01/01/1601" REG_SZ in driver dates.
Guenther
(cherry picked from commit d0e164458d33228f74b41023b11f234837cc9668)
commit d5c2f4b6e78b39a4b742348abb4d175eab5d8970
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 22 11:30:51 2010 +0100
s4-smbtorture: always skip addprinter{ex} level 1 tests for now.
Guenther
(cherry picked from commit a204c45e59c35a9c5bfcd85a96d99bc12d727d07)
commit 04fb3c0af2f27cd1092747a0a5cf9751c1ea2d9e
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 21 17:00:33 2010 +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
(cherry picked from commit 9626487a14c8dfd23f8743cb85a2bc12cf454887)
commit 36394d3867f112f0c66e9e79ee4a73c5e54ffaa3
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 21 16:14:48 2010 +0100
s4-smbtorture: check the returned driver date is equal to the one we passed in.
Guenther
(cherry picked from commit 3931d4aa65aa6edf75c6593e43d74441168ed299)
commit 3e119eb9d27e40d348e9d88b83f5d6d8c275b8b2
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 21 16:14:20 2010 +0100
s4-smbtorture: add torture_assert_nttime_equal macro.
Guenther
(cherry picked from commit 2e2cb8d96d786c0c9f1b45f41f0758ee07bebf4c)
commit ac45b2051226e94cd7b4b06792afbf6a7d654600
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 20 16:02:02 2010 +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
(cherry picked from commit 340d2df123813196247d3b1aff38048cfe93c1ec)
commit 6bfbf5f5a4cc5e5b5150af32adaad9e0875d5c99
Author: Günther Deschner <gd at samba.org>
Date: Fri Dec 17 16:34:47 2010 +0100
s4-smbtorture: run the winreg tests also against an added driver.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Dec 20 14:31:43 CET 2010 on sn-devel-104
(cherry picked from commit 9dce43a809eae4b44bf1e2b301844a0753c037e9)
commit 92ec3abd17df60a8f57983f3ab006f9ed9f7fc5c
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 16 16:06:02 2010 +0100
s4-smbtorture: allow to call test_GetDriverInfo_winreg without printer handle.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Dec 17 17:35:21 CET 2010 on sn-devel-104
(cherry picked from commit 4e9d67b7c0a6fb3de56a0703ba1479360364071c)
commit 469893d26d8a57905756c3dc63bd725f805bc27e
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 15 17:44:56 2010 +0100
s4-smbtorture: check if returned driver paths match requested architecture.
Guenther
(cherry picked from commit 92f1029e87e62fb20e9505f9315caefe1c3a8535)
commit 972ca1d98d74385f8e707a512bb41116c6f7a204
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 16 15:59:19 2010 +0100
s4-smbtorture: pass down driverosversion to test_DriverInfo_winreg.
Guenther
(cherry picked from commit 545d3a013cc9965e167ffc3d12951df0b27060bd)
commit c725e48a278a8c646aa929d83cc8b616ee008abb
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 21 15:43:44 2010 +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 at samba.org>
Autobuild-Date: Tue Dec 21 17:43:06 CET 2010 on sn-devel-104
(cherry picked from commit 7a47aed770c60af56be65bf7c8c64cdb162754ae)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit f1dea849ba4e77e23290a35fefd86c9fcb2ce64f
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Sep 6 17:31:15 2010 +0200
s3:rpc_client: implement rpc_transport_np_init() on top of rpc_transport_tstream_init()
This also makes use of tstream_cli_np_open() to get the tstream.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Wed Dec 15 16:12:30 CET 2010 on sn-devel-104
(cherry picked from commit 8b47fcea043086e4ec7abbc4d4394f69caac08d0)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 651cb0e5684857ea274ba6da4adc0609c13f6f25
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Sep 6 17:31:27 2010 +0200
s3:rpc_client: implement rpc_transport_sock_init() on top of rpc_transport_tstream_init()
metze
(cherry picked from commit 0342ed3ee0f8d9f29c6fcabbca1fab4f6514b78b)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit f01e117226a5733c31592c0d6d463f08c4a9a711
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 14 18:20:25 2010 +0100
s3:rpc_client/rpc_transport_tstream.c: add some logic to handle cli_np tstreams
metze
(cherry picked from commit 122dc1e213d1049568cc49f305f82063b3fa20ba)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 5f3100d079997525d400ab171104625ae9db6e9a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 14 18:19:14 2010 +0100
s3:rpc_client/rpc_transport_tstream: timeout should be unsigned int
metze
(cherry picked from commit 9a14dace227245c7b5bb751f7c534e338337bea9)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 13920b080f43a8b7e68b2807245d675a4872987c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jun 22 18:01:45 2010 -0400
s3:rpc_client: let rpc_transport_tstream_init() create read and write queue
metze
(cherry picked from commit e55426fe7926ae6f8afe5fa6cfc009e0c3b54e38)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a58a8d20d4c55479aa498ee076af75adc90abd5d
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 14 18:18:13 2010 +0100
s3:libsmb: add tstream_cli_np_get_cli_state()
metze
(cherry picked from commit 07ba35adcbb9feb551125034f091e8d4cb4aa0e8)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 609094bc0143dc9620219bdf12f5aeaa60dbe9a6
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 14 18:17:45 2010 +0100
s3:libsmb: add tstream_cli_np_set_timeout()
metze
(cherry picked from commit c0f9e963b66fa8c97a4c0ea38367443dd6127509)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 98a0c5816bf3e21e2a73b37f0005f09def455608
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Sep 4 11:01:55 2010 +0200
s3:libsmb: add tstream_cli_np_use_trans() and the needed logic
tstream_cli_np_use_trans() defers the next tstream_writev
to the next tstream_readv and send both as an SMBtrans request.
metze
(cherry picked from commit 0df669e14111de741ded8445a2acc00a51a50413)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit ce61a391cbc0eb88240d40b12cfab9153b7eb3b6
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Sep 4 11:00:31 2010 +0200
s3:libsmb: add tstream_is_cli_np()
metze
(cherry picked from commit e08c324fc5ed9d7d4970fc7a7b6b13bff38ace59)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e12452b2ef66522b139b94ee26aea5ec159314a9
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 12:00:15 2010 +0200
s3:libsmb: add cli_np_tstream.c
This abstracts a named pipe over smb as a tstream,
which will make it easier to implement the dcerpc
layer in a more generic way.
metze
(cherry picked from commit c0ac1cebfbf7b562bad368b14d8004495a59e574)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 1d4196d858c7faf109420716580f6d3b6c6f0900
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 6 14:05:49 2010 +0100
s3: Fix some typos
(cherry picked from commit 43e42b4e77244602e6eb85f64bfc9d50d1c5f6ab)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit f6b40be811555ce2bb20247daec288379be60b69
Author: Matthieu Patou <mat at matws.net>
Date: Fri Dec 10 02:03:40 2010 +0300
pidl: use $CC -E if $CPP is not defined, if both undefined use cpp
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Fri Dec 10 01:26:44 CET 2010 on sn-devel-104
(cherry picked from commit 21b0d5e3b10711e6ce3bfad0c1ee2da09a60e232)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 87926375bbfb539d25c7981e891e6952ff9c4d89
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Dec 11 18:21:58 2010 +0100
selftest: Support multiple instances of $LISTOPT.
(cherry picked from commit 002acbbbd03d506b3a2280fa85b719792178f75d)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit ae5324884ffcc2cd50dff35811ae8af445ee1cb4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Dec 11 18:21:27 2010 +0100
filter-subunit: Add --list argument.
(cherry picked from commit 3b1ed52f2f067c8bb895c6058de08c0b07e6f80c)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3ac8128a903794a8a9e15ee3fe426b452facbdfa
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Dec 9 16:48:24 2010 +0100
selftest: Check exit code when listing tests.
(cherry picked from commit 5f6dd9a608271948bb1d4a1fb975e889db70512c)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit c4d831dbfb2cd38b00f40027403b4faaa18871d4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Dec 9 15:35:23 2010 +0100
selftest: Rename $LIST to $LISTOPT for consistency with testrepository.
(cherry picked from commit a957d8c80f532654f502fdd37aecd34b231a00e8)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 8e4035cc2649343c9c2dd33422994535d7df197e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Dec 9 14:46:09 2010 +0100
selftest: add --list option.
(cherry picked from commit e6974b0ff0100bb292d57e58ae11bc2e6b0d4053)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 32539b9d677c471c67b4475ac65f894081c8fe78
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Dec 9 13:37:13 2010 +0100
selftest: Document --testenv in --help output, remove documentation for
now obsolete --analyse-cmd.
(cherry picked from commit 34adc745efa242b7e4167b581d6770560e759e40)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit f936eaf333d953918e5cf46cf0d8c1c942978895
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Dec 9 14:17:54 2010 +1100
s4-lsa Implement kerberos ticket life policy
We now no longer print tickets with a potentially infinite life, and
we report the same life over LSA as we use in the KDC. We should get
this from group policy, but for now it's parametric smb.conf options.
Andrew Bartlett
(cherry picked from commit f681859eb819b441da41e2985586bfc59dff2ec5)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 7075fcd72153c85b0d8ebfb89145ff3a14169474
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Dec 15 17:21:04 2010 +0100
librpc/ndr/ndr_*.c - remove "const" from OIDs
(cherry picked from commit 464b8fa3173de7cc801195a28b84786cb1c63833)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 0a120c814cdefac205e504d39f4b0e3fc267053a
Author: Kai Blin <kai at samba.org>
Date: Mon Dec 6 07:43:35 2010 +0100
ndr: Another try to support the build on non-IPv6 systems
Signed-off-by: Matthieu Patou <mat at matws.net>
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Wed Dec 8 10:26:00 CET 2010 on sn-devel-104
(cherry picked from commit af3414feb6cb9f3d4ca602725582220e7b626df3)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 04f8d07c02370affb0b756c65731b586bf1bb45e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Nov 22 12:38:41 2010 +0100
lib/torture: add torture_assert_u64_equal_goto()
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Sat Dec 4 12:55:44 CET 2010 on sn-devel-104
(cherry picked from commit 929063bb126b45cfe175a0e9518905bfcc8c95a2)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit de35420a1bc790906eb4cdbdc4920698c4c76a95
Author: Matthieu Patou <mat at matws.net>
Date: Sun Dec 12 12:04:51 2010 +0300
replace: add comments to make the #ifdef/#else/endif more readable
(cherry picked from commit 993b4aa07e35b612a4f9b6eddecae704b8e01aaa)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 8c47c368910d62d5ed38573b7b9cf2dd648fc6d2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Dec 15 17:02:49 2010 +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.
(cherry picked from commit 3b591caed00790c5d21b8774c7af87357c329d1c)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 33ed1f0cca9f73dee31137c295c35bda07b9445c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Dec 6 11:27:05 2010 +0100
lib/util/fault.c - fix "pid_t" printf warning on Solaris
According to "http://www.ibm.com/developerworks/linux/library/l-solar/"
it's generally a 32bit "int" - therefore this cast should fit.
(cherry picked from commit 619a49c4219282bf8776183e76c1b4f0629a6d4c)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit c2a6ee26a9b13c0ea7125c4ee3171149b29eab2b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Dec 19 14:22:28 2010 +0100
lib: Protect against tevent nterror mismatches
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Dec 20 00:12:02 CET 2010 on sn-devel-104
(cherry picked from commit 49dc973586b4b9b72ffcac3bbb5dc7fda0d1ad4e)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit aba8a285ad693abf5cb782f7bacdc1dd295ec541
Author: Günther Deschner <gd at samba.org>
Date: Fri Dec 17 12:47:13 2010 +0100
libcli/security: remove unused variable.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Dec 17 13:56:27 CET 2010 on sn-devel-104
(cherry picked from commit 10eaad29777589e8bd797e3f0bad3a3a9fbf8577)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 65170ebd6dd5d040793a058fb5dde249b685c903
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Dec 15 15:47:01 2010 +1100
libcli/security Add sid_blob_parse() to directly parse a binary SID blob
(cherry picked from commit 4a4d8e4b0fae1288cbdf6c8a95a2863c84676106)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit b7bd87b856ee6c37ac432ddd2a1da8c0a7b19113
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Dec 6 11:06:27 2010 +0100
s4:fix some shadowed declaration warnings on Solaris by renaming the symbols
(cherry picked from commit 93d85ca5fd57d87e720ab627865f0e5af25e07b5)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 8dc88f1b98d8d6071d53080d34104f602f723d99
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Dec 17 13:06:13 2010 +0100
s3:libsmb/namequery.c: don't leak 'pserver'
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Wed Dec 22 09:54:31 CET 2010 on sn-devel-104
commit 7978f8b10edf9df09290fcb2d2255354bb9ad376
Author: Jeremy Allison <jra at samba.org>
Date: Tue Dec 21 18:11:57 2010 -0800
Fix a warning message.
commit f162f9055773cb7f15ec8b69705eb14ce10c50b2
Author: Jeremy Allison <jra at samba.org>
Date: Tue Dec 21 18:07:52 2010 -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.
(cherry picked from commit e8f7c60ec25fd6ab40357ad44baf98918346a22a)
commit a2956e7d2b66a828d7355841bcb3edfe188a12d3
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 20 17:58:33 2010 -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.
(cherry picked from commit 3db2614ccd1948792cc403f0302c7516319461b2)
commit 132c57df21571ad0400e3d26e5e0a0db3a9d9fd7
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 20 16:53:16 2010 -0800
Added call out to a Linux-compatible fallocate() when we need to extend a file
allocation extent without changing end-of-file size.
(cherry picked from commit 00d2d16262909fde2c144a504d7d554767b7fd45)
commit 7dff32fb7263cfdce015ffd66ea9997685edf817
Author: Ken Harris <Ken.Harris at mathworks.com>
Date: Mon Dec 20 10:44:48 2010 -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.
(cherry picked from commit 0a9b65262c76fdad8331fbc580dbe578a403407b)
commit eb03383e8a51f489f30412f7be23aace4a36c24c
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 20 10:23:27 2010 -0800
From metze's work on sparse attributes. FILE_ATTRIBUTE_SPARSE is valid on get but not on set.
(cherry picked from commit e9f9e803f03be20e5f573484be7b5e7351472786)
commit 22d979142941ac4135b20c937156a83d8439fb06
Author: David Disseldorp <ddiss at suse.de>
Date: Mon Dec 20 16:08:02 2010 +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 at samba.org>
Autobuild-Date: Mon Dec 20 18:44:41 CET 2010 on sn-devel-104
(cherry picked from commit 139e2cbb13ca230b65ad4b1f5ff91a795d8cca02)
commit f1c3c4b8fe5e25c2f4c06f668815de7b3b309aeb
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 18 16:02:09 2010 +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
commit 71b20bb48735bf3cf6be55e8d46fb0412535b7b9
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 4 18:47:56 2010 +0100
s3: Document wbinfo -P/--ping-dc
commit f17dfc0b2603b15cb3448871d1b2da5073d747fb
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 4 18:43:27 2010 +0100
s3: Add -P as an alias for --ping-dc
This is a much less intrusive version of the DC connectivity check
than wbinfo -t is. Make it simple to use.
commit c0079336142db86cae55e696c2bb9e9ea525fb66
Author: Volker Lendecke <vl at samba.org>
Date: Fri Dec 3 01:34:02 2010 -0700
s3: Fix serverid_exists
In the cluster case it can happen that a node just died and we did not yet have
the time to clean up serverid.tdb. If the corresponding serverid.tdb record
that represented a process was migrated away from the dead record, it
represents existence of a process where it is already dead.
commit 9e3d52433d8fe8358d90fa881cba1a11f9a80fe9
Author: Jeremy Allison <jra at samba.org>
Date: Fri Dec 17 23:08:01 2010 -0800
Rename vfs operation posix_fallocate to just fallocate and add the vfs_fallocate_mode parameter.
It turns out we need the fallocate operations to be able to both
allocate and extend filesize, and to allocate and not extend
filesize, and posix_fallocate can only do the former. So by defining
the vfs op as posix_fallocate we lose the opportunity to use any
underlying syscalls (like Linux fallocate) that can do the latter
as well.
We don't currently use the non-extending filesize call, but now
I've changed the vfs op definition we can in the future. For the
moment simply map the fallocate op onto posix_fallocate for the
VFS_FALLOCATE_EXTEND_SIZE case and return ENOSYS for the
VFS_FALLOCATE_KEEP_SIZE case.
Jeremy.
commit 17baec616fb66c9927902b56513e8b8389792120
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 16 16:50:31 2010 -0800
Move checks inside file_set_sparse() to allow it to be called from anywhere.
commit 485b8b45df0768d846dcd74dddb37136a9b26535
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 16 16:42:33 2010 -0800
file_set_sparse needs to be a handle based call.
commit 659e627424a011bb3cad33e50976036fd55c7010
Author: Björn Jacke <bj at sernet.de>
Date: Thu Nov 18 17:24:00 2010 +0100
s3:smbd: implement FSCTL_SET_SPARSE more correctly
this is a port of a patch from metze for 3.3:
We don't do the "strict allocation" when the sparse bit isn't
set, but that shouldn't matter.
We now allow windows applications to set and unset the sparse
bit.
Note that in order to implement this 100% like described
in [MS-FSA], we'd have to change our data model and support
the sparse flag per stream.
commit f00383bc3bfc190ed690b0f564a9465d8a1947ea
Author: Jeremy Allison <jra at samba.org>
Date: Fri Dec 17 10:22:58 2010 -0800
Update our attribute flags.
commit 27f543a02e6973a3a52200f7d749ca4b7aa6a87e
Author: Björn Jacke <bj at sernet.de>
Date: Tue Dec 14 10:03:07 2010 +0100
s3:smbd: add file_set_sparse() function
this is based on a patch for 3.3 from metze
commit 43df00a112b52e5a1e04e2b286b358b6bc319154
Author: Björn Jacke <bj at sernet.de>
Date: Thu Nov 18 17:22:31 2010 +0100
s3/vfs_gpfs: map SPARSE attribute to/from WINATTRs, too
commit 669ee9b2dd6591ab9bfc137060bdfb9a59dd9742
Author: Björn Jacke <bj at sernet.de>
Date: Thu Nov 18 17:03:01 2010 +0100
s3: remove set_sparse_flag
we need to determine sparseness from the sparse flag we store not from the
allocation size on the POSIX filesystem. This is how Windows works - in the
first place sparseness is a file flag, not the allocation state of the file
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 13988e44c3402d03808e096e59c4878cefd56f84
Author: Björn Jacke <bj at sernet.de>
Date: Thu Nov 18 16:04:03 2010 +0100
s3: add FILE_ATTRIBUTE_SPARSE to get_stat_dos_flags
commit 2e867d9db26865012c8a210331c0f0541024f57f
Author: Karolin Seeger <kseeger at samba.org>
Date: Fri Dec 17 20:39:57 2010 +0100
WHATSNEW: Add information on changed security defaults.
Thanks to Andrew Bartlett for providing this text!
commit 9a40e5f6a500571cc752383ca7fa27347e4efa45
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Dec 16 12:07:24 2010 +0100
s3:net ads dns register: use "cluster addresses" option if configured (bug #7871)
metze
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Fri Dec 17 16:49:14 CET 2010 on sn-devel-104
(cherry picked from commit 1dc2fa7616207a2d3a9f1cbe69b2ec1fc61634fd)
commit 9ed3d33fb3d7365a127ea2752032840272697902
Author: Michael Adam <obnox at samba.org>
Date: Thu Dec 16 01:49:14 2010 +0100
s3:net ads dns register: add support for specifying addresse on the commandline (bug #7871)
In the clustering case, this is also made the only possiblity to do dns updates,
since the list addresses on the local interfaces is not suitable in that case.
This fixes the "net ads dns register" part of bug #7871.
It might be extended by a parsing of the "cluster addresses" setting.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit 5e83a05009787d8a2086db1adc1ed58d61b3725d)
commit 4b7775500b1055acf62decbc0fc8283b088da452
Author: Michael Adam <obnox at samba.org>
Date: Thu Dec 16 00:52:41 2010 +0100
s3:net: add net_update_dns_ext() that accepts a list of addresses as parameter (bug# 7871)
This generalized form of net_update_dns() will be used to
add support for specifying a list of addresses on the commandline
of "net ads dns register".
This prepares the "net ads dns register" part of the fix for bug #7871.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit 4d91f98b433e07922373bf4e3ba9668b7af71a00)
commit 1c73d52ddddfcec25cf079da4a0d6bf81fb030da
Author: Michael Adam <obnox at samba.org>
Date: Thu Dec 2 00:42:21 2010 +0100
s3:net: disable dynamic dns updates at the end of "net ads join" in a cluster (bug #7871)
In a clustered environment, registering the set of ip addresses that are
assigned to the interfaces of the node that performs the join does usually
not have the desired effect, since the local interfaces do not carry
complete set of the cluster's public IP addresses. And it can also contain
internal addresses that should not be visible to the outside at all.
In order to do dns updates in a clustererd setup, use net ads dns register.
This fixes the net ads join part of bug #7871.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit b8f19df53e66bf0260b4ae6c49acea87ac379deb)
commit 06cd853faa809d019f6a8d10b1ce89492bb28df1
Author: Michael Adam <obnox at samba.org>
Date: Thu Dec 16 00:24:00 2010 +0100
util_net: fix a comment typo in interpret_string_addr_internal()
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit b3d4b2052534395c97cd959db5db87f78d108d4e)
commit af428d722a15047cbaa5855ef8c8af257b22137c
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 15 15:39:47 2010 +0100
s4-waf: nsstest only needs replace.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Dec 16 11:40:52 CET 2010 on sn-devel-104
(cherry picked from commit ba21b6e3d439d7c1890900b1b0b88c42548f63f0)
commit 6a3a9a7818adf7a040b165553e9157985e7969b3
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 15 10:21:16 2010 +0100
s3-waf: use shared libwbclient wscript_build.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Dec 15 11:42:16 CET 2010 on sn-devel-104
(cherry picked from commit af99f0a06714e56149bf2c6f801d28ae808cc34a)
commit f7a30bd99004b160d48efb43a5e881b70b428570
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 15 10:11:34 2010 +0100
s3-waf: fix winbind-client subsystem.
Guenther
(cherry picked from commit 550046a4d93cd700a18063f13f5a61ef6427e7cd)
commit 9c6d43d6793879ac5a4f2b0f9f43e8d9387f864b
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 15 10:04:34 2010 +0100
s3-waf: add libkrb5 winbind locator plugin.
Guenther
(cherry picked from commit 7ecec74a002b2decde1be01b8389de1b9d227acd)
commit 696b3631e1e9d86901b34e24b3def1f1f96fdfb5
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 15 00:33:21 2010 +0100
s3-waf: rework rpc_server handling a bit.
Guenther
(cherry picked from commit 5130e4a6226115817cb18be265c47f5290d1aedc)
commit 31c671de0b327f899bab01041d3fb6ad0a6525dc
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 16 16:01:51 2010 +0100
s4-smbtorture: skip level 8 checks in test_GetDriverInfo_winreg for w2k3.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Dec 17 12:20:38 CET 2010 on sn-devel-104
(cherry picked from commit 4f4ac6462a191418ff358d28ac298352861107d4)
commit 626a0469b5c7bfaab47613c37209a6d4a522a4ce
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 16 11:58:36 2010 +0100
s4-smbtorture: skipping level 8 driveradds against w2k3.
Guenther
(cherry picked from commit 5083be506eaa58c59d867f04a941c0e5707ca44c)
commit eb51592a87b9aad19e1e7931e7e9a2ba2d863cc2
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 15 17:44:23 2010 +0100
s4-smbtorture: add torture_assert_strn_equal macro.
Guenther
(cherry picked from commit 28d618ddf015f502ef0fa8a5f8472123c7cd9102)
commit 9a0b7c60e982e8e49d306d79cb336a58dfd7b1e9
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 16 12:40:47 2010 +0100
s3-net: fix net sid type build warning.
Guenther
(cherry picked from commit f08fdfae27ee0da5750c3f843ad829e1fa8f57b1)
commit 333380953c6fe62b9ce583d37177e96d6bda597f
Author: Björn Jacke <bj at sernet.de>
Date: Fri Dec 17 01:00:49 2010 +0100
s3/net: tz argument should be NULL of course
commit c3a5b6e76135ca20735c6631b4ab0e3ddd2edbef
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 16 13:24:13 2010 -0800
Do more vfs_stat_fsp calls instead of FSTAT - ensures fsp->fsp_name->st is kept up to date.
commit da309120d6f14d3bb671f43d534ee6357f536886
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 4 15:03:08 2010 +0200
spoolss: fill in PerMachineConnections add and delete IDL.
Guenther
(cherry picked from commit 1b293c90be3905911d401b2d5bb6dd5da979c809)
commit 6d6dc074280259221de203a5d3c4cf149e69f3b6
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 15 16:49:04 2010 -0800
Fix old bug in openX code, exposed when "strict allocate" is set to true.
We need to return the file size here, not the allocation size, but
we were not updating the stat struct after the vfs_set_filesize()
call. Ensure we always use fresh data in openX replies.
Jeremy.
(cherry picked from commit 8764576e1068455fd2f5035ac1ea31962e471361)
commit 716e36d39e3fb80495034af5988afd9c8d106d3b
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 15 13:32:09 2010 -0800
Change strict allocate to default to true.
(cherry picked from commit 820ea22a07b062b1717d35de8fa7051fc1067c3f)
commit a9c24af5ff228e862401189e45d24640887af853
Author: Björn Jacke <bj at sernet.de>
Date: Tue Dec 14 13:28:49 2010 +0100
s3/net: don't use external "date" to make "net time set" more portable
the "date" syntax is different for example on *BSD
Autobuild-User: Björn Jacke <bj at sernet.de>
Autobuild-Date: Tue Dec 14 15:31:03 CET 2010 on sn-devel-104
(cherry picked from commit 4fd57cbe1ba35d3b3deb01b2eb6aba1d0aa4ddfd)
commit 858c790e56555dac4c014c4ab723c563ffa129a9
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 15 10:57:23 2010 -0800
Fix bug 7866 - "net" in v3-6-test broken.
Someone wasn't careful about testing when not running as root :-).
(cherry picked from commit 921104e7a462c9552fcd04372d852325b457c827)
commit d6d907d7e37608389e38ff95166d04f2d35a75f3
Author: Jeremy Allison <jra at samba.org>
Date: Tue Dec 14 17:17:16 2010 -0800
Protect the onefs sendfile from EAGAIN/EWOULDBLOCK.
commit d07d3bae90c20256c480ab1fe688c2e17ce14e10
Author: Jeremy Allison <jra at samba.org>
Date: Tue Dec 14 13:36:08 2010 -0800
Implement "use sendfile = yes" for SMB2. (cherry picked from commit 95cb7adcd03a1abbd0af395b6c96dd8e0eebd3d1)
commit 9c7e8df878bf848fea8bd312709d0f9cbc175189
Author: Jeremy Allison <jra at samba.org>
Date: Tue Dec 14 15:30:06 2010 -0800
Fix read/write calls over sockets to cope with EAGAIN/EWOULDBLOCK for non-blocking sockets.
commit ee798d03eaf0dbd945dc637e6472547d4c1b97a1
Author: Jeremy Allison <jra at samba.org>
Date: Tue Dec 14 16:32:10 2010 -0800
Change interface of schedule_smb2_aio_read() to allocate the return DATA_BLOB. Change smb2_read code to allocate return DATA_BLOB just before the read.
Preparing for SMB2 sendfile change which will not need to allocate
return buffer.
Jeremy
commit d42a9003495ff4021e4c85b64ccea62aa6dd342e
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 14 22:54:01 2010 +0100
s3-waf: libwbclient does not depend on talloc anymore.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Dec 15 00:50:08 CET 2010 on sn-devel-104
(cherry picked from commit 4bcedda7d8c446bb3864312881aa63b892b55b7e)
commit 4ef45278d8aa93dcb7f049b952997385cc1c9754
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 14 22:18:43 2010 +0100
s3-waf: add missing libnss_wins.so.2 library.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Dec 14 23:29:25 CET 2010 on sn-devel-104
(cherry picked from commit 4f4f7694c1a8d973b808f7a6b68fbc04147fcfab)
commit 0d5e27ecf0ad968cca7c6f89ca1ce0f6bbaea82d
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 14 22:09:44 2010 +0100
s3-waf: recurse into ../libcli/ldap.
Guenther
(cherry picked from commit 9e6736cafd5ea86294b780f32511a1317df94b3f)
commit 4e1d8dee4350528e3ab52a7b747bbe2eef78a406
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 14 17:47:46 2010 +0100
s3-waf: recurse into ../libcli/smb.
Guenther
(cherry picked from commit 3e6d507246705be877eda61c38868ef29bef6265)
commit 9272cecfb108d7529bae5c1981600a292d380658
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 14 17:45:33 2010 +0100
s3-waf: recurse into ../libcli/samsync.
Guenther
(cherry picked from commit f2bd9e52b80a1059f4eb22d9aa85097afe939e16)
commit b41f4ee7055124a40ea4b1801b71567bad9b6b8b
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 14 17:36:06 2010 +0100
s3-waf: recurse into ../libcli/named_pipe_auth.
Guenther
(cherry picked from commit baabd56ce94143d6ebf92c8818f53e364152fe19)
commit 8f44a9561dc1b7285a9835963d71fb3ad0b5e44c
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 14 17:33:49 2010 +0100
s3-waf: recurse into ../libcli/drsuapi.
Guenther
(cherry picked from commit 217ca2a2c9e9914ba02a8cc5477c2b8ea5e5372e)
commit a26515cce158396552155606d46d38210fddfb6b
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 14 17:14:58 2010 +0100
s3-waf: add pam_ and nss_winbind.
Guenther
(cherry picked from commit d860281cd9248b699875a1c4791c7e0cb841da6a)
commit 811637e874a4b68e4a3fa30a641db50f26db1cb8
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 14 17:14:30 2010 +0100
s3-waf: check for "WITH_PAM_MODULES" to determine pam_smbpass build.
Guenther
(cherry picked from commit a13b99323712a3bdd362de06179d0c23dbda0d79)
commit 06f3d2dd6d98d895b8ce797bfcb9dbf1245ac756
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 14 17:13:46 2010 +0100
s3-waf: fix pamsmbpass libwbclient dependency.
Guenther
(cherry picked from commit 1202e6328bb6009f8fb490c44d13a6930cdd3646)
commit 6ec694b4e83f57623ff5082db098abb533eba474
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 14 14:03:22 2010 +0100
s3-waf: recurse into ../libcli/auth.
Guenther
(cherry picked from commit 906e489af921a6e66d36aad1778d0cd486ce8287)
commit 725ee7096f96a494e38f69bb89d1737deeb872ea
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 14 16:47:35 2010 +0100
s3-waf: add CHARSET subsystem.
Guenther
(cherry picked from commit 4c459a926f5e5aade9068497276953bbe3d49a97)
commit bf2e38785616e609926e3aee2ae179126d4eb120
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 14 13:50:30 2010 +0100
s3-waf: convert UTIL_SRC into a subsystem samba-util, similar to the s4 one.
Guenther
(cherry picked from commit 943f485ef187d66fdc98dcc30b91968b30c3dc5a)
commit 431d7331e6067b5896f5694dc4d6797deb04e7aa
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 14 13:27:24 2010 +0100
s3-waf: convert lib/util_tdb.c into a subsystem.
Guenther
(cherry picked from commit 192838aafdf2e696c33e7443b9e74893309158b2)
commit 1aa6b7b8976a5abe4c7d3a6390ef75e6db253abf
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 14 13:14:00 2010 +0100
s3-waf: use shared LIBASYNC_REQ subsystem.
Guenther
(cherry picked from commit 2407e33c7667fbaabff84edf81c13526a06ebac5)
commit 799bdfd618498fc723131f853c2504d9c0e2cb39
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 13 15:46:05 2010 +0100
s4-smbtorture: paranoia check for architectures in request and reply for enumdrivers test.
Guenther
(cherry picked from commit 0990f6342ed3f765c482ddf0baddeac850422352)
commit 5277392d9441baecced0fce98e33d22b8ef310e7
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 13 12:56:38 2010 +0100
s3-waf: try to fix the build with snow leopard.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Dec 13 15:03:08 CET 2010 on sn-devel-104
(cherry picked from commit a5cfdde558314ea8bd8b9421d0fffd9acbfb7de9)
commit 56b67fd48a3bf3dba20a07af32505c30208887c4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Dec 13 12:40:25 2010 +1100
s3-libsmb Improve error message when denying LM encryption
Now that 'client ntlmv2 auth = yes' is the default, make it more clear
what options a user may need to enable to get this to work.
Andrew Bartlett
(cherry picked from commit d97492e42a65540febae93dd0255b91d034f9def)
commit 98edb35d73bd1b9be05e0d53ed81f79137e3f4ad
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Dec 10 15:32:08 2010 +1100
s3-dns Don't use DELEG_FLAG in DNS update, Windows 2008R2 does not like it
(cherry picked from commit 280caa6b3bb1199939f9349ea5a436a491c81791)
commit be088324479bd852a7561ba2eaa5c0489398b061
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Dec 10 15:30:22 2010 +1100
s3-dns Don't use SEQUENCE_FLAG in DNS update, Windows 2008R2 does not like it
Andrew Bartlett
(cherry picked from commit 0f1cc889a26477e9a98629f120fe5890b2e106fa)
commit 10c5a59315ef69eeb4d8bc19237de9787284a63d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Dec 10 15:08:53 2010 +1100
s3-net Allow 'net ads dns register' to take an optional hostname argument
This allows the administrator to more carefully chose what name to register.
Andrew Bartlett
(cherry picked from commit c2a1ad9047508cf2745a9019e6783c8b8f7ef475)
commit c4346f50b706c3fbe0f909ce2371fdca0f1f7230
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Dec 10 12:12:23 2010 +1100
s3-winbind Improve memory handling in NTLMv2-backend plaintext authentication
Andrew Bartlett
(cherry picked from commit 6195dfc0eb310a2362cb949a000979514a52c648)
commit cd37c4c42f0896b2cfe9588b4491c542991c0dc9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Dec 10 12:10:07 2010 +1100
s3-winbind Don't send the LM password to the server, ever
This is for the case where we have the plaintext password locally, and
can construct the challenge-response values here.
We should never ever use the LM password in domain authentication.
The last domain controller to only have LM passwords stored was NT
3.5.
Andrew Bartlett
(cherry picked from commit 5cfe949108f253a8e20c835cb53fe6f5eae7fbb5)
commit ce2651ddfc9de0d4fcfd169cdb4437194707b4a6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Dec 10 07:57:59 2010 +1100
s3-libsmb Don't ever ask for machine$ principals as a target.
It is never correct to ask for a machine$ principal as the target of a
kerberos connection. You should always connect via the
servicePrincipalName.
This current code appears to have built up from a series of minimal
changes, as the codebase adapted the to lack of a SPNEGO principal
from Windows 2008.
Andrew Bartlett
(cherry picked from commit f13404e27b00f826a11684e69cff82ae0023fc91)
commit 9c3b5d4d286e5850091d843551a936b88f677c58
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Dec 9 17:37:14 2010 +1100
s3-docs Add docs for 'client use spnego principal' and 'send spengo principal'
Andrew Bartlett
(cherry picked from commit 45d784e929b37edddea4c472d288a46b37aa7415)
commit 8e4827163b68d048b61154bc938b4150f0415542
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Dec 9 16:47:08 2010 +1100
s3-docs Explain change to NTLMv2 by default in the client
(cherry picked from commit d69b4f13f7edda8d8457315936051cc9d3fb103f)
commit 620e41c69a939d822e1a6908a2946b53ccaf918c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Dec 4 14:57:46 2010 +1100
s3-client Use NTLMv2 by default in the Samba client
This matches the improved security measures of Windows Vista.
Andrew Bartlett
(cherry picked from commit 635fbf2b5498df5698e240728add95f8ff8cda0f)
commit 807c42ff71ec20c8ccb535c42f9d92a6bbdb4a8e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Dec 4 14:11:57 2010 +1100
s3-smbd Don't send SPNEGO principal (rfc4178 hint) by default
This patch, based on the suggestion by Goldberg, Neil R. <ngoldber at mitre.org>
turns off the sending of the principal in the negprot by default, matching
Windows 2008 behaviour.
This slowly works us back from this hack, which from an RFC
perspective was never the right thing to do in the first place, but we
traditionally follow windows behaviour. It also discourages client
implmentations from relying on it, as if they do they are more open to
man-in-the-middle attacks.
Andrew Bartlett
(cherry picked from commit b3c2df5e0d0ba1c17c3248bf9d238de3c54613ef)
commit 27ac2e277dde057e9af40f3c4500ae068f601b79
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Dec 4 13:48:37 2010 +1100
s3-libads Default to NOT using the server-supplied principal from SPNEGO
This principal is not supplied by later versions of windows, and using
it opens up some oportunities for man in the middle attacks. (Becuase
it isn't the name being contacted that is verified with the KDC).
This adds the option 'client use spnego principal' to the smb.conf (as
used in Samba4) to control this behaivour. As in Samba4, this
defaults to false.
Against 2008 servers, this will not change behaviour. Against earlier
servers, it may cause a downgrade to NTLMSSP more often, in
environments where server names are not registered with the KDC as
servicePrincipalName values.
Andrew Bartlett
(cherry picked from commit bb7806283e71f3b8029aae0eed326b5847a36d83)
commit ff413c5269bc4c97d5e0dfe9f213ff6ccb36411d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Dec 9 17:51:36 2010 +1100
s4-spnego Match Windows 2008, and no longer supply a name in the CIFS Negprot
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Thu Dec 9 08:50:28 CET 2010 on sn-devel-104
(cherry picked from commit 154b431093db68b30c429316eb660f776958a56f)
commit 54fb657d61e4015054f44b7f9859ea850cddba8e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Dec 4 17:02:49 2010 +1100
s4-tests Workaround new default of 'client ntlmv2 auth = yes' in tests
The new default breaks some tests that were assuming LM or NTLM auth
Andrew Bartlett
(cherry picked from commit 22d67758efd20e62d6050fd10c8b922db75747c9)
commit a93dc43407c73a984f3d8ab47d80ccd3584e4514
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Dec 4 14:59:29 2010 +1100
s4-client Use NTLMv2 by default in the Samba4 client.
(cherry picked from commit 54ee213fa5da6b138ab367b537c5e084edf35ff2)
commit ad5dec43b638e85a67fe8c7e096b333f5f3d5d1a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Dec 8 18:52:33 2010 +1100
s4-spnego use "not_defined_in_RFC4178 at please_ignore" if no principal specified
We need to make this the default, but for now just send it if we have
not been given a target principal.
Andrew Bartlett
(cherry picked from commit 94f4929e04ce4357e3c74b6a14a4b8fccde30fda)
commit 1d4468617d0a7929166c32d6cbe57684cd66880b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Dec 4 15:23:44 2010 +1100
libcli/auth bring ADS_IGNORE_PRINCIPAL in common
(cherry picked from commit a21cb5a0a11c63f7746a483dca845c12dcfdf1b2)
commit 274fc732d751429c7a6ce9d4257b3bde68ffa8cd
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 13 19:17:57 2010 -0800
Ensure we use vfs_fsp_stat(), not VFS_STAT directly, and store into fsp->fsp_name->st
instead of a SMB_STRUCT_STAT on the stack.
Jeremy.
(cherry picked from commit 68f8f220dcd20f4f04bc95916ae04da81a2cdda1)
commit 2ff682226bed8ac1f55caee4aaa7cc1e8c0d1a47
Merge: dc38715527d282545ba7b05051bda70067fe5d6a 1ef50b15da1ca23afc2d3af6abe7f375e57946a1
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 13 17:08:08 2010 -0800
Merge branch 'v3-6-test' of ssh://git.samba.org/data/git/samba into v3-6-test
commit 1ef50b15da1ca23afc2d3af6abe7f375e57946a1
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 13 15:22:47 2010 -0800
Change crediting so that the credits are returned on the interim async response.
(cherry picked from commit 58ebe1de32050fca71059c521f74488cfa5b3729)
commit a9ee3e2e8f273f214e329fcbeb8645613ee55149
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 13 14:00:34 2010 -0800
As we handle missing sendfile() inside lib/sendfile.c, remove the WITH_SENDFILE ifdefs.
(cherry picked from commit 605afc631c212fc070ef5bb951f4d80d342f377d)
commit 280fd56b17eeae82abc0676049ad19ebb74b93e8
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 13 13:34:50 2010 -0800
We need to start off with smb2.credits_granted == 0. That way
when processing the faked up SMB2 NegProt from the SMB1 packet we
always allocate one credit on reply.
Jeremy.
(cherry picked from commit 6ce365b238755ccd64b1c2aca0933f8e717300b0)
commit 839196fddbce84fcb152e29f0b85d2b4499cc8be
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 13 13:17:49 2010 -0800
Remove extra unused credit arg. to smbd_smb2_request_setup_out()
(cherry picked from commit 7a835a6b42c49d70b599ab7c651f7aa871d8c605)
commit 663ed4583f60ad4a6c26514e072faf6b19e9dd42
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Dec 13 12:04:28 2010 +0100
s3:selftest: fix knownfail for samba3.posix_s3.rpc.spoolss.*printserver.enum_printers_old
The name is in lowercase since commit 35fbc7bbda5851f7172538f79fc79be201f1d521
(s4-smbtorture: Make test names lowercase and dot-separated.)
This should avoid intermittent failures in make test.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Dec 13 13:52:18 CET 2010 on sn-devel-104
(cherry picked from commit 4ce3b53f122afb1eb3eaa3fbc2b8ef7fa8d075f5)
commit bccb901658ceb4ff301ac1e30b332342717f2f59
Author: Günther Deschner <gd at samba.org>
Date: Fri Dec 10 17:15:18 2010 +0100
s3-selftest: support differing VFSLIBDIR in autoconf and waf build.
With this change make test in the s3 waf build (w/o s4 smbtorture yet) works!
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Dec 13 13:06:05 CET 2010 on sn-devel-104
(cherry picked from commit a43a1d922611a0610f8d815285e91dff6d77d629)
commit e082fb6055e250aa298617ff4da9d0e6f18b8208
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 9 15:44:30 2010 +0100
s3-waf: add -Wl,--export-dynamic to LDFLAGS.
Our binaries did not export symbols so e.g. smbd could not load vfs modules.
Patch from tridge.
We might remove this later on, once we decide to resolve all symbols and fix all
dependencies in s3 modules.
Guenther
(cherry picked from commit b4d398f8e3f5f073f0424395b792c1487a2f2ca8)
commit 73afa49c2958ae2ac866e0ea1d66dcbc22011671
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 9 15:33:25 2010 +0100
nss_wrapper: make nss_wrapper.pl executeable.
Guenther
(cherry picked from commit cb15d73c0bb8526b99f7f5067680a39bd8fbf03f)
commit ce4a7dcd9c76bacd1c9a327ac79206cd70297b7f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Dec 11 03:26:31 2010 +0100
s4-smbtorture: Make test names lowercase and dot-separated.
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
(cherry picked from commit 35fbc7bbda5851f7172538f79fc79be201f1d521)
commit a73f539b7cffb75734fb892acafc6ff740a82c0d
Author: James Peach <jpeach at samba.org>
Date: Mon Dec 6 11:27:31 2010 -0800
smbtorture: correct error handling in BASE-OPEN.
There are a number of cases in BASE-OPEN where an initial failure cascades
into multiple failures due to lack of cleanup between test phases. Fix
all these so that they close open file handles correctly. Replace
torture_comment with torture_result where appropriate so that the results
output contains a useful diagnostic.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Sat Dec 11 03:19:39 CET 2010 on sn-devel-104
(cherry picked from commit 7ef1de3973ea694abb7e330dd538a0f3679365fb)
commit dc38715527d282545ba7b05051bda70067fe5d6a
Author: James Peach <jpeach at samba.org>
Date: Mon Dec 6 11:27:31 2010 -0800
smbtorture: correct error handling in BASE-OPEN.
There are a number of cases in BASE-OPEN where an initial failure cascades
into multiple failures due to lack of cleanup between test phases. Fix
all these so that they close open file handles correctly. Replace
torture_comment with torture_result where appropriate so that the results
output contains a useful diagnostic.
commit 5dd10a43d45f66b6da9b3273d2c4b044db97006d
Author: Jeremy Allison <jra at samba.org>
Date: Fri Dec 10 14:40:17 2010 -0800
Add documentation for "smb2 max credits".
(cherry picked from commit 5562a97ece27c26019504f589d4e7992617f1846)
commit 309db0a55cea2d504217a8689005b31d41d5542e
Author: Jeremy Allison <jra at samba.org>
Date: Fri Dec 10 15:46:41 2010 -0800
Add a SMB2 crediting algorithm, by default the same as Windows. Defaults to 128 credits.
Jeremy.
(cherry picked from commit 2ac579ca76452c58022e8b9e41d5168dd25fe3b0)
commit 7d4e274d6ba5acffbd8572f11d4aecabe837fffb
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 9 22:41:58 2010 +1100
s3-vfstest: fixed paths in vfstest
vfstest tries to create /messages.tdb as loadparm has not been
initialised
(cherry picked from commit 283686af75c4ca3b8317f04754dab64bbf9f64e8)
commit aab5998ac9a2b103776c6707369480bf8afb0f08
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Dec 2 00:40:01 2010 +0100
libcli/auth: let spnego_write_mech_types() check the asn1_load() return
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Dec 7 18:23:41 CET 2010 on sn-devel-104
(cherry picked from commit 15c33ada6b897ac46141aaae0f0333816b94448b)
commit da8ea0363d8cd5a2d86a02d61bbd43a598fd5a44
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Dec 2 00:39:23 2010 +0100
s3:ntlm_auth: support clients which offer a spnego mechs we don't support
Before we rejected the authentication if we don't support the
first spnego mech the client offered.
We now negotiate the first mech we support.
This fix works arround problems, when a client
sends the NEGOEX (1.3.6.1.4.1.311.2.2.30) oid,
which we don't support.
metze
(cherry picked from commit f802075f08fe0d86f3d176f2302236aeb5834f3d)
commit 3dc4eb518d7efd2c4b5b89cb3b999729594d2dcb
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 1 05:52:29 2010 +0100
s3:ntlm_auth: free session key, as we don't use it (at least for now)
metze
(cherry picked from commit ee4f5ac6182969bcab91955e6d6581e408d222f1)
commit 84b4754a36d453fb35d002ce24a8301b970cdc67
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 1 05:50:59 2010 +0100
s3:ntlm_auth: fix memory leak in the raw ntlmssp code path
metze
(cherry picked from commit 9a56ade6b1d627126418c75de4602610b4482503)
commit 329d865e326673dd534456189b1b52ed052ace62
Author: Michael Adam <obnox at samba.org>
Date: Tue Dec 7 17:30:27 2010 +0100
docs: clarify the idmap_rid manpage (bug #7788)
The idmap_rid module should not be used as a default backend.
Also mention that the old snytax "idmap backend = rid:domain=range ..."
is not supported any more.
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Tue Dec 7 19:07:57 CET 2010 on sn-devel-104
(cherry picked from commit a52a587783e058f75815fa8add1f46b1c1d6f2d3)
commit 18cd0fe87277e08d4fbcf59be7b5ccba225f6750
Author: Michael Adam <obnox at samba.org>
Date: Tue Dec 7 15:47:52 2010 +0100
docs: clarify the idmap_ad manpage (bug #6322)
The idmap_ad module can not be used as a default backend.
(cherry picked from commit 91d9cb48a5224c7dc443747505f9dd1071f822ed)
commit f7073e9dd30292beeb62dcb7178e637e2b58dd85
Author: Bjoern Baumbach <bb at sernet.de>
Date: Tue Dec 7 14:36:44 2010 +0100
Make sure that user exists after running add user script before adding sam account.
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Tue Dec 7 17:37:52 CET 2010 on sn-devel-104
(cherry picked from commit 6acbcd1b0ce6529eb381ea94573a707e677eebb4)
commit 5fad400d15915f490f5344f452a53ec8ed4303f7
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 7 15:33:51 2010 +0100
s3-waf: add configure/declaration checks for fdatasync, readahead and splice.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Dec 7 16:50:23 CET 2010 on sn-devel-104
(cherry picked from commit 94cfb49bb7051c7e979bcf168e467328b96ee631)
commit d1fa3f4d782b1c20b8ae5b41425bcfba387341b6
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 7 14:59:53 2010 +0100
s3-waf: add valgrind configure checks.
Guenther
(cherry picked from commit c5b2fd05afcf3e4e3e733ed917539add9c12e0b8)
commit 504538bdb030601cbe2966a496b2fda18ff7834f
Author: Michael Adam <obnox at samba.org>
Date: Fri Oct 22 12:16:20 2010 +0200
s3:registry: improve debug messages about regdb refcount changes
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Tue Dec 7 15:18:03 CET 2010 on sn-devel-104
commit 9ae26920ac46af94baf3cb96b9fa6a9b8cb69e99
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 7 12:46:50 2010 +0100
s3-waf: build vfs_fileid module if possible.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Dec 7 14:01:46 CET 2010 on sn-devel-104
(cherry picked from commit af4a4f58b5192ba7c80f096f9c7bc26c128c007c)
commit db725582bf29cadca3ea585960d4619850f9554c
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 7 12:20:09 2010 +0100
s3-waf: add support for --with-dnsupdate.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Dec 7 13:07:51 CET 2010 on sn-devel-104
(cherry picked from commit 6b1ba79fbf64afd7a8bc77eec7c8bdce48bb620f)
commit d1e9cf1df20888635cefc6de0b12eb9ead936437
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 7 12:04:35 2010 +0100
s3-waf: fix the build of nsstest in the non-devel build.
Guenther
(cherry picked from commit 0745f3fef920d81228366ecaa90f224718ad29dc)
commit 174238156fefed4399455394012c7f4be20de19c
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 7 12:04:11 2010 +0100
s3-waf: fix library names (we installed liblibsmbclient, etc.)
Guenther
(cherry picked from commit ffc7434e2b58ea66b21a48c0d9b8ab02f9ded22a)
commit cc99f6ae3b91bb8f2ac2ad7fec6499c4f0c02778
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 7 11:49:57 2010 +0100
s3-waf: fix pam dependencies of the RPC_SAMR server.
Guenther
(cherry picked from commit 8be11b247701fb704d1c0ac0a19daa7c4fca8232)
commit bead53a52b33a36f4145ceef27f790fff39be986
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 1 21:26:49 2010 +0100
s3-waf: add pam configure checks.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Dec 6 17:34:45 CET 2010 on sn-devel-104
(cherry picked from commit b73e4e36f5307316e2896d9731377f4252d0e444)
commit deaf310bf9b7556b6b002e346381a732f58dd30a
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 6 12:45:21 2010 -0800
s3: Fix bug 7844: Race in winbind
If a child dies, the parent process right away closes the socket.
This is wrong, with tevent we still have events pending. This works
fine for epoll but does not for at least the FreeBSD select variant.
Tevent sticks a closed socket into the select masks. This then
returns an error EBADF. When this happens, the parent winbind dies
instead of forking a new child.
This moves the socket close from the SIGCHLD cleanup function to
the socket receiver. I could not reproduce the parent death anymore
and it did not create an obvious fd leak.
commit aa8dde606ad6f052c674c3490836e802655e129b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 4 20:16:00 2010 +0100
s3: Fix bug 7842: WINBIND_LOOKUPRIDS does not return the proper domain name
commit f0454dd5d367fc83d4625b344cf3b51dabe9d8ae
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 4 20:31:36 2010 +0100
s3: Fix bug 7841: WINBINDD_LOOKUPRIDS asks the wrong domain
commit 4520c99f088f214a86fe9ab34618a5e7d5b49053
Author: Jeremy Allison <jra at samba.org>
Date: Sun Dec 5 20:40:21 2010 +0100
s3: Fix bug 7843: Expand the local SAMs aliases
commit a8da472643c9a9e7babdfcf7b77d1d8a3154101b
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Dec 6 13:35:50 2010 +1030
idtree: fix overflow for v. large ids on allocation and removal
Chris Cowan tracked down a SEGV in sub_alloc: idp->level can actually
be equal to 7 (MAX_LEVEL) there, as it can be in sub_remove.
(We unfairly blamed a shift of a signed var for this crash in commit
2db1987f5a3a).
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty at rustcorp.com.au>
Autobuild-Date: Mon Dec 6 05:02:22 CET 2010 on sn-devel-104
(cherry picked from commit 521e96ca751df072e5c71d3844ed5708b79ac69d)
commit 714c6c4f12e93427ab7de1669a1cabffcd28d15d
Author: Holger Hetterich <hhetter at novell.com>
Date: Sat Dec 4 11:28:12 2010 -0500
Updated french translations from Jean Delvare <jdelvare at suse.de>
Autobuild-User: Jim McDonough <jmcd at samba.org>
Autobuild-Date: Sat Dec 4 18:23:54 CET 2010 on sn-devel-104
commit 77f118041025312ba2766b02b7f91ab548b5a87d
Author: Holger Hetterich <hhetter at novell.com>
Date: Fri Dec 3 16:43:47 2010 -0800
Fix bug #3185 - testparm exits 0 if it can read the config file regardless of errors
(cherry picked from commit 3b5bd37016d794526c230f81d725c9daa238a9d7)
commit 613ac16d0ed054017d92a647a1cfadff8a318615
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Dec 3 22:56:19 2010 +0100
s3/s4:lsa.idl - QueryDomainInformationPolicy - the "unknown6" field is called "reserved"
MS-LSAD 3.1.1.1 - http://msdn.microsoft.com/en-us/library/cc234319(v=PROT.13).aspx
(cherry picked from commit 70eaa3fd0cc1622724852039d63121a2c5ee22d1)
commit e3de87b9351943b17c88558e0c2e575ef6365ad4
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Dec 3 10:40:33 2010 +0100
talloc: add ABI/talloc-2.0.4.sigs
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Fri Dec 3 11:35:45 CET 2010 on sn-devel-104
(cherry picked from commit 88ff7e3c5ca69a331aa96e0db389cf3e14b1279c)
commit 78688b2c6041f858731956d7a5da839b67304917
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 1 23:15:34 2010 +0100
s3-waf: add krb5 configure check for WRFILE_KEYTAB.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Dec 3 13:54:25 CET 2010 on sn-devel-104
(cherry picked from commit 189b4bc1c27f0bfe08d86236ce20e281ff4215dd)
commit 1bab5afd213187dc1e85753ea0565aa7eaca2da5
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 1 23:07:41 2010 +0100
s3-waf: add krb5 configure checks for enctype 23.
Guenther
(cherry picked from commit 704f138b8e553de846e9d3d022d5ea26429a8e37)
commit d53ffff2ae37a93b3f31297e967e68debdc3febb
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 1 21:26:29 2010 +0100
s3-waf: more krb5 configure checks.
Guenther
(cherry picked from commit 5676acbb73270edb7ef6d7e0e64c2bc35b4ffd45)
commit 9a04ae232a3da869526834a41178e5ab660e924c
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 2 17:52:11 2010 -0800
Replace lseek()/write()/lseek() triple with pwrite call. We already emulate this
inside pwrite under the covers.
Jeremy.
(cherry picked from commit 6a528564cb2f19905b3d4380bcad05f5c6ef8550)
commit e6124ea671e842a60ac3e15eda1e83bb4697d677
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 2 17:46:30 2010 -0800
posix_fallocate() returns an errno, not -1 on error.
(cherry picked from commit 54df836341b170c58e99f65fa4c822a83ea9f05d)
commit f41361ed0e172aeea77268f021741d09878daa70
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 2 17:26:00 2010 -0800
Merge the two conflicting allocation codes into one function, vfs_slow_fallocate()
and use that from both the truncate and fill_sparse functions.
Jeremy.
(cherry picked from commit b1b74d30e8133a2567d94a8cc8e235547956907e)
commit f8ce757f3b0da676f916267285ef6d6630c2f03b
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 2 16:40:00 2010 -0800
Oops. Missed adding vfswrap_posix_fallocate to vfs_default_fns table.
Jeremy.
(cherry picked from commit 3ab952cc18306aaff08c89bb8a6f57e6088b4257)
commit a88b89dfc18b3cf4ab01441dfb0a12b33157eb6d
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 2 16:25:59 2010 -0800
Move posix_fallocate into the VFS where it belongs.
Jeremy.
(cherry picked from commit 5819a36aef030772f1e9da81655c1f911a10372c)
commit 6fb840ddeec3c5edd7060a6a96de6780c524a90d
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 2 15:38:36 2010 -0800
Fix bug #7835 - vfs_fill_sparse() doesn't use posix_fallocate when strict allocate is on
Tries posix_fallocate() and then falls back to old code.
Jeremy.
(cherry picked from commit de8ceb5364de86f9b016251201474f011c16f6cb)
commit 6b836d7c3c3a3880b8e8ff372d13ab70bad49996
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 1 15:04:55 2010 +0100
s3-waf: more krb5 configure checks.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Dec 1 19:35:50 CET 2010 on sn-devel-104
(cherry picked from commit 71e2d9e7e825e57e8240d61ed1091edca0089ed5)
commit 63d570c8c0e3b27d65ebfb0f0e31fd7a07a1c054
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 1 13:24:55 2010 +0100
s3-waf: add configure check for dirfd and build vfs_syncops vfs_dirsort if possible.
Guenther
(cherry picked from commit 4c2ef4ffaa8846fa941037f6cbaf35c85d4b7327)
commit b47cd108e2ebca828b10f4a7df6447e671761e2a
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 1 13:02:15 2010 +0100
s3-waf: add idmap_ldap to default static module list.
Guenther
(cherry picked from commit a69972944768cdb5a3fcfcfd7c37099241b0e127)
commit d46a15185f50338cdbb0e29bfae8837141e0fcef
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 1 12:48:15 2010 +0100
s3-waf: align some krb5/gssapi configure checks with classic build.
Guenther
(cherry picked from commit 651a15d2521a55cb69d5f8d35c8f6840f8a297c5)
commit 6e1832789d75b52d1fa02f7bf76bac5bc01c367d
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 1 12:10:03 2010 +0100
s3-waf: avoid module name uppercasing.
This finally allows mixed case module names like the classic build
(./configure --shared_modules=charset_CP850)
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Dec 1 18:39:14 CET 2010 on sn-devel-104
(cherry picked from commit 133a2ffd006062c1e55e79a1ed4fb756b182a63c)
commit 1b85863a989fc52152a0f1d51c01de7e99052753
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 1 17:39:30 2010 -0800
Turns out there are lots of places in S3 where token passed in
here can be NULL (become_root() sets the current security token to
NULL for example). Ensure we don't crash.
Jeremy.
(cherry picked from commit 5e4f445d633879e9ee09383357700e1cc6f373ba)
commit d1658ab71fe710853ca0ca035d037522dc7ebccb
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 1 17:29:05 2010 -0800
Fix a typo - should be '&&' not '&' when checking for privileges.
Jeremy.
(cherry picked from commit c8395ac6cfe3ee66c8fa8ad47f48353ae14ba8c4)
commit e4fc77ba66e41508509001903040f55b004ef74b
Author: Michael Adam <obnox at samba.org>
Date: Thu Oct 28 13:58:31 2010 +0200
s3:smbd: remove some commented out legacy code
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Thu Dec 2 01:18:19 CET 2010 on sn-devel-104
(cherry picked from commit 813fe0bc4d21678627fcf4f0249bb51ab5c0498a)
commit 695f070ccd6517cd0fc944e2a3d7dc8cc8a9dc30
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 23:06:53 2010 +0100
s3-waf: convert RPC_LSARPC into a subsystem.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Dec 1 00:13:58 CET 2010 on sn-devel-104
(cherry picked from commit 2b0905aeaecdc7fabad5661b4c726500f613be39)
commit 3b0181cb60f2addcbab1115b1f27f2388fb49b56
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 23:04:23 2010 +0100
s3-waf: convert RPC_SAMR into a subsystem.
Guenther
(cherry picked from commit c2911952519089ed472d33143511d55d10752304)
commit da46020dac8a163d4ce6789e410864fe38b667ca
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 22:41:41 2010 +0100
s3-waf: convert INIT_SAMR into a subsystem.
Guenther
(cherry picked from commit ef129716a4d0d44df5fcb5039398c6e5d9c0e589)
commit ec297bd22dc53b1c5ba90ae248c5382c3e2d7710
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 22:37:37 2010 +0100
s3-waf: convert INIT_NETLOGON into a subsystem.
Guenther
(cherry picked from commit f5e1f5f1259c1a02a9e839f0d9e8ca78ea48cf4a)
commit 29cb25eb0c739659983ac223e2eebd7aa86b2dd0
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 22:34:54 2010 +0100
s3-waf: convert INIT_LSA into a subsystem.
Guenther
(cherry picked from commit 42fe021f560649064d058ac4d9efc28fd97d9403)
commit cc9e7c991f2d860e613f109d075733ab17905474
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 21:50:56 2010 +0100
s3-waf: fix LIBNBT deps.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Nov 30 22:39:05 CET 2010 on sn-devel-104
(cherry picked from commit 783264e97c5230063abc601bc7f90c752141a9d6)
commit 03e298ec7098837a28dc327b7c101c0b550a0e62
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 21:46:31 2010 +0100
s3-waf: convert IDMAP_AD into a subsystem.
Guenther
(cherry picked from commit c5559bb7ea6ea95ef333f1deb0bedfec10be39b7)
commit c6b82f8af0c562ddffe8f8eae5bd1fc079bbdb12
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 21:44:25 2010 +0100
s3-waf: convert IDMAP_HASH into a subsystem.
Guenther
(cherry picked from commit 3a91e407cb4034442150559980ba87db55ba6739)
commit b0e325507424708919dc8a6c3fa860288ffa3b0e
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 21:42:17 2010 +0100
s3-waf: convert IDMAP_ADEX into a subsystem.
Guenther
(cherry picked from commit e702b54cf83cde07512e1fea151b589fc07638c6)
commit 22fc5f27b80b3eb597508126447cde74bae7ac5e
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 30 22:59:13 2010 +0100
s3: Fix a typo
commit edee50f9a9672684ec5e855cbdbd3400fd9e94e5
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 30 22:57:00 2010 +0100
s3: Attempt to fix the shadow_copy2 module
This module is from hell. Please make 100% sure that you did test it
properly when touching it! This module has probably given me more grey
hair than any other piece of Samba, so PLEASE PLEASE PLEASE be careful here!!!
commit 7d3e3e8a031dd7b48d683bd6d41f37f23872e54f
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 19:05:36 2010 +0100
s3-waf: no need to compile ../librpc/ndr/ndr_compression.c twice.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Nov 30 19:52:59 CET 2010 on sn-devel-104
(cherry picked from commit 88b61a3b295f83e18d3e3b8900e39b741d2c6b86)
commit 911a067a305a35587fb2e137b8b8a1aa6781c47f
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 19:00:09 2010 +0100
s3-waf: use LIBCLI_NDR_NETLOGON.
Guenther
(cherry picked from commit 9d6bfdf92d06bd3420299aee2e5c2445c62d70a5)
commit dfa4baf301f77b9dddb03699c5e70ed6acd9a458
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 18:56:26 2010 +0100
s3-waf: convert LIBNBT into a subsystem.
Guenther
(cherry picked from commit 8333b029eaf9f7582cd2c9b928db40bf0c3b571d)
commit 2eef9ce18d3456bafc01f9861848746957897fe1
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 18:52:21 2010 +0100
s3-waf: convert SPNEGO_PARSE into a subsystem.
Guenther
(cherry picked from commit 72b6936534d38d333fc518de14270d8048ab4541)
commit e5730ea247fd615b9626f237c4555e91ec418820
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 18:48:38 2010 +0100
s3-waf: use SLCACHE in ntlm_auth.
Guenther
(cherry picked from commit b31c0e41045b90e4f1593c762a0ce07f06676a48)
commit ea37b47244d40562c3fa930d150b6c175158f6e0
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 18:40:30 2010 +0100
s3-waf: use TLDAP in smbtorture.
Guenther
(cherry picked from commit 313123705be011334654ce0c8ebaaf21d8ced8cb)
commit a8b61b2f07413e39e9e02245e75c885754304ef5
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 18:17:40 2010 +0100
s3-waf: convert NPA_TSTREAM into a subsystem.
Guenther
(cherry picked from commit 67f2d4f45c2f0b3f0845f7c688fdc8a230d3e1f9)
commit 2ee0df47ab4f1844ed130f33a3b91ab637a17d05
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 18:07:21 2010 +0100
s3-waf: add LIBDRSUAPI subsystem.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Nov 30 18:58:42 CET 2010 on sn-devel-104
(cherry picked from commit d245ec848280f2120626e984dea2756c033c93f1)
commit 53cba28e842fa6cdc389b07bc41fa17c12a51b9c
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 18:01:13 2010 +0100
s3-waf: let SMBD_BASE depend on NDR_NOTIFY.
Guenther
(cherry picked from commit 193daf857729073d3166ea5e377ed1743cd2b26b)
commit 27709de90a5c09f8081281a72a4020eeddc12f30
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 17:58:13 2010 +0100
s3-waf: let LIBSMB (in fact LIBNBT) depend on NDR_NBT.
Guenther
(cherry picked from commit a5ede16bb7462eed6f709ab2b4118db3e498d6a3)
commit 846a879a7834bd7521a576a5bdd0a408584c080f
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 17:56:03 2010 +0100
s3-waf: let LIBSMB (in fact LIBNBT) depend on NDR_SVCCTL.
Guenther
(cherry picked from commit 4ca43d9bc1295e3bc28fb8b11ce8746c5af6524e)
commit abf9accfc11847adc3047eff1ccbd471d7b24f32
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 17:50:32 2010 +0100
s3-waf: convert LIBCLI_SPOOLSS into a subsystem.
Guenther
(cherry picked from commit 5db1a399d586fd665382e625a5cdd0d1b995df27)
commit 4592d69b5317e47e3f587e05d5bf0552d0aae231
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 17:46:56 2010 +0100
s3-waf: convert RPCCLI_EPMAPPER into a subsystem.
Guenther
(cherry picked from commit e80e5c5b8a88a23d3fdf11e52d5f3bef2cdeb31b)
commit 63a3119952683ce7478f5a77dbd6159e81167b4e
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 17:45:25 2010 +0100
s3-waf: convert RPCCLI_EVENTLOG into a subsystem.
Guenther
(cherry picked from commit aaa31e7b22342157c9982107a6af67c06b01ef93)
commit 6e61e84dd3f4a66408f0c6828830194022496d69
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 17:44:25 2010 +0100
s3-waf: convert RPCCLI_NTSVCS into a subsystem.
Guenther
(cherry picked from commit d29f9e4846d86002732f37703a5b21b759be745a)
commit 9131ebfd7350c195ba70ffb36ea8060d41777a41
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 17:43:09 2010 +0100
s3-waf: convert RPCCLI_DRSUAPI into a subsystem.
Guenther
(cherry picked from commit d37f54d8807166b9008c9d3fa11789e1936f4c0e)
commit 74f2b0347fd420c01a6effea20212ff622406da0
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 17:40:38 2010 +0100
s3-waf: convert RPCCLI_DFS into a subsystem.
Guenther
(cherry picked from commit ac290574e2ff49c9be880e545d1255f687dcc9ec)
commit 7b38f018b46862b81f89306c179616e6f523a6f8
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 17:38:44 2010 +0100
s3-waf: convert RPCCLI_INITSHUTDOWN into a subsystem.
Guenther
(cherry picked from commit 5cedef39d7f4208d22ce3c7fd48c19d5f8a8e4d1)
commit cd6b18004b2e27c371f63d3b1f55a4f0d58a275d
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 17:36:13 2010 +0100
s3-waf: convert RPCCLI_DSSETUP into a subsystem.
Guenther
(cherry picked from commit 82b440835dfc24be114f08ee1f2824aba7ac7260)
commit dbc371311abe9dc9a7bf7361882586d393db337b
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 17:21:38 2010 +0100
s3-waf: convert RPCCLI_SVCCTL into a subsystem.
Guenther
(cherry picked from commit 2013c9c391ee0324039842ec2f8acd4addd33d85)
commit 6fa22f2f7c370d6330fd1c6a988d1e78f9d5e37e
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 17:19:12 2010 +0100
s3-waf: convert RPCCLI_WKSSVC into a subsystem.
Guenther
(cherry picked from commit a8d005d439489c939051436eb8dbb75ff1cf9fbe)
commit 1585a2c1a872b85006bd25bbcd779d7eeb0b8fed
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 17:15:43 2010 +0100
s3-waf: convert RPCCLI_SRVSVC into a subsystem.
Guenther
(cherry picked from commit f9f9b798599262390cdec14d410fd3c8b94cd871)
commit 74d129c2a3b29a624bac788f10bc369c8762111f
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 17:27:37 2010 +0100
s3-waf: convert LIBCLI_NETLOGON into a subsystem.
Guenther
(cherry picked from commit 75f088f898993f7417520f2623611c689a58563b)
commit 2733c70622401cb55202dfb12fa5f77be6ab7a4d
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 17:09:34 2010 +0100
s3-waf: convert LIBCLI_LSA into a subsystem.
Guenther
(cherry picked from commit 656e849ce84c4b35e6f93ae8f4fe8780a4109e34)
commit e635a955e95af434f0cc516bb38181816562ee9c
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 16:43:34 2010 +0100
s3-waf: convert LIBCLI_SAMR into a subsystem.
Guenther
(cherry picked from commit d16e77e1233b912d90d4c586176529d3361cc85e)
commit 4466ab25ca7eba2a9ff32fa4fee39a402580093d
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 16:25:37 2010 +0100
s3-waf: convert PARAM_UTIL into a subsystem.
Guenther
(cherry picked from commit 2beab2d6e5704ecbac278ecd4c00dd162cda4197)
commit 41a538f8146967a2249c6751191df650325432dc
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 16:16:22 2010 +0100
s3-waf: convert TOKEN_UTIL into a subsystem.
Guenther
(cherry picked from commit 33c82cd5dd67c8fa509c326fed85a90045d896d0)
commit 1cb441b76a9cc586bd04b643b902d41034df3478
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 15:12:52 2010 +0100
s3-waf: convert REG_EVENTLOG into a subsystem.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Nov 30 16:25:51 CET 2010 on sn-devel-104
(cherry picked from commit b2a1c1e425411eb1a12ddb3a230cbcd5240f771e)
commit d394701c2f272c6d1b36c2e97bb20470f7c8d0d3
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 14:56:26 2010 +0100
s3-waf: convert LIBNMB into a subsystem.
Guenther
(cherry picked from commit 254dea0596b32431b70f48a8a9413c54b66c9925)
commit 36aea8c81f09e25d6d32c18eeb78706a071182b6
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 30 14:29:31 2010 +0100
s3-waf: convert FNAME_UTIL into a subsystem.
Guenther
(cherry picked from commit 12d73f2cb8aec5e54fb21c0844624ab0b02c6228)
commit 8268e030235b6cb5e6288a53133bba1faa9e63b1
Author: Kai Blin <kai at samba.org>
Date: Tue Nov 30 15:58:05 2010 +0100
s3 docs: Reword posix locking text to answer a common question
vl recently pointed me to a valid reason to use posix locking = no.
Fix the smb.conf manpage to explain this reason, as this question
comes up on the samba mailing list from time to time as well.
(cherry picked from commit fd17979293ecb37bdb16c5078fefb3f63cfb3730)
commit e6d31465fe62b300964dad325f3d9ed02823ac26
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 30 12:31:39 2010 +0100
s3: Fix bug 7832
Signed-off-by: Günther Deschner <gd at samba.org>
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Nov 30 14:39:34 CET 2010 on sn-devel-104
commit d6000ed8cc852ddf18f2f39e4013b762f6c72b17
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 29 18:09:49 2010 +0100
s3: Add shadow copy info to smbclient allinfo
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Nov 30 12:23:50 CET 2010 on sn-devel-104
(cherry picked from commit e0e4dc1c2282253cfaac5bae39b75361d13c843e)
commit 4e3347f4cbe21e7765acd759360017d31258b478
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 29 17:39:43 2010 +0100
s3: Add cli_shadow_copy_data
(cherry picked from commit 3f6705e8e3055133cc155797e66233d8a5919795)
commit e6c93277d32a2bd4fd302da1a8aad2ace63e3839
Merge: 10d1cd7af7962a2ce012f426947e9b0538e9f653 71386a36a9782c43c675cc8580d849a30be0ab2f
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Nov 30 11:50:39 2010 +0100
Merge master into v3-6-test again.
Karolin
commit 10d1cd7af7962a2ce012f426947e9b0538e9f653
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 30 08:32:22 2010 +0100
s4:torture - partially revert "s4:torture - prefer the termination "return"s at the end of two unittests"
This partially reverts commit 54a5c398aaa1d53b5892c9b0aa5539ae7da651da.
As tridge pointed out I've overseen the nested loop in "run_iometer".
Therefore we end in a infinite loop. Obviously it wasn't run by "make
test" since then I would have detected it.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Tue Nov 30 09:23:00 CET 2010 on sn-devel-104
commit 2a5daa7ddb67e103ed173559bd2ec60dbe06d816
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Nov 30 01:10:31 2010 +0100
wafsamba: Only use private library rpath when linking against private
libraries.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Tue Nov 30 02:23:37 CET 2010 on sn-devel-104
commit 7ab6aa157534921aabb8af2bf2c672d85f217b8e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Nov 29 23:47:00 2010 +0100
samba_dist: Fix dist for subprojects.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Tue Nov 30 00:32:41 CET 2010 on sn-devel-104
commit 05cb5ad87c355126b1440c2c603f7de43e41a0a4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Nov 29 03:05:36 2010 +0100
samdb: Build as public library.
commit 54a5c398aaa1d53b5892c9b0aa5539ae7da651da
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 29 22:42:07 2010 +0100
s4:torture - prefer the termination "return"s at the end of two unittests
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Nov 29 23:29:23 CET 2010 on sn-devel-104
commit 71386a36a9782c43c675cc8580d849a30be0ab2f
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 29 12:36:05 2010 -0800
Fix bug discovered with "encryped passwords = no".
message_push_string() and message_push_blob() both update
the bcc value, so we don't need the old code that tries to
do it manually.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Mon Nov 29 22:24:01 CET 2010 on sn-devel-104
(cherry picked from commit d38cd9b671dcd0b607e2ba265c6578dc78903386)
commit d38cd9b671dcd0b607e2ba265c6578dc78903386
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 29 12:36:05 2010 -0800
Fix bug discovered with "encryped passwords = no".
message_push_string() and message_push_blob() both update
the bcc value, so we don't need the old code that tries to
do it manually.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Mon Nov 29 22:24:01 CET 2010 on sn-devel-104
commit bb45a3460fde3a5d8cd08c0ff6c2a96b0ec4deaf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 20:19:34 2010 +0100
tdb:common/open.c - use "discard_const_p" for certain "tdb->name" assignments
In order to suppress compiler warnings.
(cherry picked from commit 989d8803f28826e6541667127abad801c4fa4566)
commit f4e1c2782b5491a796f398ae8d3eee68d3fd3334
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 18:21:32 2010 +0100
tdb:tdbstore.c - remove an useless '\'
Discovered by a warning of the Tru64 host on the buildfarm.
(cherry picked from commit d2560cd7dc106d7853442133f237001f68bcb971)
commit 0a0f3b4947689ca4ab7015e9a1ace8d204bab9f3
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 29 17:56:40 2010 +0100
s3-spoolss: Fix Bug #7641: handle win9x adddriver calls w/o config file.
This turned cupsaddsmb to run into an infinite loop.
Guenther
(cherry picked from commit c62509c8f2589e7b952517626d61ee34b83e96b3)
commit 53712fbb4fa1988480467e73b3b1ea88f9584abb
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 29 17:59:31 2010 +0100
s4-smbtorture: only run the cupsaddsmb adobe driver test against s3.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Nov 29 18:47:17 CET 2010 on sn-devel-104
commit c62509c8f2589e7b952517626d61ee34b83e96b3
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 29 17:56:40 2010 +0100
s3-spoolss: Fix Bug #7641: handle win9x adddriver calls w/o config file.
This turned cupsaddsmb to run into an infinite loop.
Guenther
commit e722c66b9884cfdd45d944969c582e897f64cd6d
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 29 17:50:05 2010 +0100
s4-smbtorture: add torture test for cupsaddsmb win9x driver install behavior.
Guenther
commit 7f2afe25e7552bf871b68278749742c54b729d76
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 29 17:48:42 2010 +0100
s4-smbtorture: make add-printerdriver test more robust against empty configfiles.
Guenther
commit 118a79719c220ef521088e41ff37aff9da1ad03a
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 29 17:07:02 2010 +0100
s4-smbtorture: make driver upload/removal more robust against empty filenames.
Guenther
commit 800a76dec3ca87b5b98006ea2b4220b4d4b55e8f
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 29 15:18:13 2010 +0100
s3-oldtest: add WIN40 to print$ share.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Nov 29 16:20:37 CET 2010 on sn-devel-104
commit 6a93be43dc28f06ea548d82f48b3eae817104e96
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 29 15:17:41 2010 +0100
s3-selftest: add WIN40 directory to print$ share.
Guenther
commit b9a59ba80d17e20664717ed8dd2a17a708cf4e0b
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 29 15:09:52 2010 +0100
s4-smbtorture: add test for Adobe PostScript driver (Win9x) installation.
Guenther
commit 90a0a7e81babfbad775655e93f08acf15bb4b19d
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 29 15:08:01 2010 +0100
s4-smbtorture: handle driverfile overlap during removal in RPC-SPOOLSS-DRIVER.
Guenther
commit 93582c3d2984ced5a8be8bb3b430c5270048c3e6
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 29 13:08:02 2010 +0100
s4-smbtorture: re-arrange RPC-SPOOLSS-DRIVER test a bit.
Guenther
commit e9c40efdcf46cedd5df9679799ecfe391ccd147f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 29 14:38:21 2010 +0100
s4:wrepl_server - add a cast on "iov_base"
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Nov 29 15:34:32 CET 2010 on sn-devel-104
commit 6ce63655ef1870afc8a9ee0c5e36346c4e92ee12
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 29 14:35:19 2010 +0100
s4:lib/tls/tls_tstream.c - quiet warning on Solaris "cc" by casts
commit bd4006fb9e904f6424e20ac11cd3c04924fdec30
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 29 14:31:53 2010 +0100
s4:auth/gensec/gensec_tstream.c - quiet warnings on Solaris "cc"
commit 205c1e0106184d025643d1f347b22305e04674c9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 29 14:39:06 2010 +0100
s4:wrepl_server - remove unreachable statement
commit 40db0b8386dda20dde5a9f28ff99c600c9fb0e4e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 29 14:37:38 2010 +0100
s4:dcesrv_drsuapi RPC server - remove unreachable statement
commit 821c962d2af0229e755bfbd8da43a24947cf1a33
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 29 14:36:46 2010 +0100
s4:dns_server/dns_update.c - remove unreachable statements
commit 3035fe041fdcd81dea6259d2022b287f790ebd8d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 29 14:46:23 2010 +0100
libcli/security/object_tree.c - remove unreachable statement
commit 87b887f48fdd3d33376c4fdea7d6ef998f484f74
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 29 14:45:33 2010 +0100
s4:torture - remove unreachable statements to quiet warnings of Solaris "cc"
commit 7fb9087e64949ffb0d5e7ed0e28c6719c3fd294f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 29 14:33:08 2010 +0100
s4:auth/ntlmssp/ntlmssp_server.c - remove unnecessary ";"
commit c4625a84dea7fa842623d343c17fe968c01edafc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 29 14:13:05 2010 +0100
heimdal:base/heimbase.c - remove an unused variable
commit 357377d309a05bb8b54d04944a0bd43b8414868d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 28 13:14:38 2010 +0100
s3: Properly print binary values "net cache"
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Nov 28 15:03:26 CET 2010 on sn-devel-104
commit 6662a18f8b0fc02c9018983758ee74811a807925
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 27 15:48:21 2010 +0100
s3: Add gencache_iterate_blobs
commit 576cefdd5e5887d08cc9fa380e5de986e1c6c898
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 27 11:36:52 2010 +0100
s3: Convert gencache_get_data_blob to gencache_parse
commit f0e470d82aea84cc4c3e19e7b0bb533bbbfd29bc
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 27 00:40:25 2010 +0100
s3: Add gencache_parse
commit 9c66cff6cbd19ffd58983748b32f8d44d20f8ef1
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 27 19:52:11 2010 +0100
s3: Use localtime_r, libreplace defines it
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Nov 27 20:50:27 CET 2010 on sn-devel-104
commit 262dd7d6215d1b5d6570bf3e602f343183f0e63d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 27 19:07:40 2010 +0100
libwbclient: Correctly order the wbcAllocateMemory args
In these cases, it does not make a functional difference.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Nov 27 19:56:02 CET 2010 on sn-devel-104
commit e0a080dcfaea689272a3dad41e9f9e33bae266bd
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 27 19:02:33 2010 +0100
libwbclient: Fix a division by zero
If wbinfo -r returns no groups, wbcAllocateMemory divides by zero
commit 0852b0f65397d8e93172b00383104ce12fe02afd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 29 12:03:53 2010 +0100
s4:param/pyparam_util.c - remove unused include
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Nov 29 12:56:12 CET 2010 on sn-devel-104
commit cc553eaf97f0466a89d43a12f9cb843cfa1379fb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 29 11:33:04 2010 +0100
s4:auth/gensec/gensec_gssapi.c - always print error messages on the same talloc context
commit 702508745682c29cb3f9959b7c22d535b767459f
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 29 17:19:55 2010 +1100
wintest: cope with the heimdal version of kinit
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Nov 29 08:49:36 CET 2010 on sn-devel-104
commit dc0c89cf405e7cc1d66540c4f94b1b395da2439a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 29 16:57:25 2010 +1100
s4-samdb: give a better exception if multiple users match in password change
commit c522cd73ac29c0bc2551e679284da71d46f533e1
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 29 14:16:18 2010 +1100
s4-repl_schema: fixed ldb exception handling
commit 37bfc4ec384df71a4cb1c19ceb136fecd3b9afc6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 29 14:15:57 2010 +1100
s4-samba-tool: fixed exception handling in subcommands
this switches to the new pattern of:
except Exception, e:
raise CommandError("some error message", e)
commit 62506903101e8e8e1cfc6c70fee245f97c646844
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 29 14:14:01 2010 +1100
s4-samba-tool: fixed ldb exception handling in domainlevel command
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit a1f96923e655d58ff339e06536cac9d1135dd0cb
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 29 14:11:57 2010 +1100
s4-samba-tool: improved exception handling in samba-tool
we now do reasonable printing on a wide range of common exception
classes, and always force a backtrace on an exception if the debug
level is >= 3
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit 8c59bbd757e834f8dd1037edcd4ad5cf96a602a4
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 29 14:10:57 2010 +1100
s4-join: fixed exception handling in join command
commit abe9ac53f0d240a867d499f184866603143756cf
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 29 14:10:26 2010 +1100
s4-ldapcmp: make ldapcmp a samba-tool command
The ldapcmp tool is very useful, and should be available to Samba
admins, not just developers. This makes it a samba-tool command, which
also gives it the nicer command line handling that samba-tool has
commit f8d73e466b454a63f256021ad2f353e9ad93e8f7
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 29 13:30:46 2010 +1100
s4-ldapcmp: fixed exception handling
This pattern, which is common in our code, is wrong:
except LdbError, (ERR_NO_SUCH_OBJECT, _):
what it actually does it to change the value of ldb.ERR_NO_SUCH_OBJECT
to be equal to whatever ldb error occurred! This led to some really
bizarre behavior
commit 0dd2152b01b93b2a09ea0332ba60e2e0338b1c15
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 29 13:26:48 2010 +1100
s4-pyglue: added get_debug_level() method
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit 33d178767b425510448435748bdd780402106ded
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 29 13:25:59 2010 +1100
s4-loadparm: use loadparm_init_global() instead of loadparm_init()
this prevents us having two lp_ctx contexts in these tools which leads
to bizarre behaviour
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit b20ce4392e2d00c3edff8b4b8f329cf22341ea76
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 29 13:24:51 2010 +1100
s4-loadparm: added loadparm_init_global()
This ensures we use the same loadparm_context in all our command line
tools.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6982a00ded40a70cddea22451482342e99102e58
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 28 14:33:12 2010 +1100
s4-gpo: started on samba-tool gpo list command
commit 6cd01c9665de107e756dc1208727338d05bea98d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 28 14:32:51 2010 +1100
s4-dsdb: give full error message for operational failures
commit 74d373d0f7dfd8b3b7c8bbeb493de1e2bbc99ce4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 28 14:32:01 2010 +1100
s4-pydsdb: two more GPO related flags
commit 7a826d02a386cb2429a992b84ca597b174cfc35d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 28 12:20:15 2010 +1100
s4-samba-tool: started on gpo subcommands in python
this adds the listall GPO command. Currently the python variants are
available as "samba-tool gpo2 SUBCOMMAND". These will replace the
"samba-tool gpo" commands when complete
commit e54c8bef8a926abf7cd52af5906ed0736f52d800
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 28 12:18:29 2010 +1100
s4-pydsdb: added GPO policy flags
commit 97f0d6c27834975256fe21518007807400e61f4b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 28 16:38:27 2010 +0100
samba.tests.hostconfig: Fix import.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Nov 28 18:08:33 CET 2010 on sn-devel-104
commit eb5a8e29cf362ea382da7bb9dd8c9eb175b9ebe3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 28 14:09:30 2010 +0100
s4-python: Some reformatting for the purpose of pydoctor.
commit 20516df27574ad999073b7eb9620e70833e3170d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 28 13:45:56 2010 +0100
samba.upgradehelpers: Simplify code a bit.
commit ca495e67b2c2c8b50e16c5bcfcafdc5c2ae5bc72
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 28 13:39:12 2010 +0100
samba.hostconfig: Move samba.shares into samba.hostconfig.
commit 979d298b0d6e5692f606a5bfe21a64d1ecce5613
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 28 13:37:31 2010 +0100
samba.getopt: Fix missing import of sys.
commit 28b509579df99ee576d5353eada31cd58aaa2508
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 28 13:34:19 2010 +0100
chgtdcpass: Fix program name in usage message.
commit 56969adb3dad6dbaec2410e4e23242b3ce88b696
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 28 16:07:26 2010 +0100
s4:torture/smb2/acls.c - remove two unused variables
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Nov 28 17:22:54 CET 2010 on sn-devel-104
commit 96c1cd762db100a11dd989f1505a265c69885bf9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 28 16:06:19 2010 +0100
s4:introduce casts before outputs of "time_t" variables
Otherwise we are getting warnings on "NetBSD".
commit 7128c15b65381da8e37be3cbd31d3b8310fd49aa
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 28 14:55:28 2010 +0100
replace:wscript - reintroduce the size check for "bool" due to a request of metze
commit 3c0725001eeb2e132d6484a171ce13b5117c0434
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 28 12:28:03 2010 +0100
replace:wscript - change the "bool" checks to be compatible with more platforms
- If the type was found then we are fine and define "HAVE_BOOL"
- Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int"
- This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64
- The length check for "bool" is not really useful and therefore removed
commit c254527386afcbe60fe57bd87fb367486abde52d
Author: Matthieu Patou <mat at matws.net>
Date: Sun Nov 28 17:32:06 2010 +0300
build: update gdb_backtrace to make it search for gdb66 as it work on freebsd
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Sun Nov 28 16:37:08 CET 2010 on sn-devel-104
commit 06beebd1e4e3b4214682dcafd15864ce8fc483e8
Author: Matthieu Patou <mat at matws.net>
Date: Sun Nov 28 17:28:57 2010 +0300
fix bad shell
commit ef8349e28da4ff97874aa08bdb2a67b7e6a9d538
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 28 14:55:28 2010 +0100
replace:wscript - reintroduce the size check for "bool" due to a request of metze
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Nov 28 15:48:40 CET 2010 on sn-devel-104
commit c69b1edcb9a4b41055f82007d223ef18dc04a1d2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 28 13:14:38 2010 +0100
s3: Properly print binary values "net cache"
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Nov 28 15:03:26 CET 2010 on sn-devel-104
commit 1a91fe90b6a1f50c641ce4d778f49ce4c121b9dd
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 27 15:48:21 2010 +0100
s3: Add gencache_iterate_blobs
commit 62afdb9cc056da4ba7a873e6bce00b4f2c32f4a4
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 27 11:36:52 2010 +0100
s3: Convert gencache_get_data_blob to gencache_parse
commit 9843103b7d2a13b1b8a45b3a1d958700bbf1bcfc
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 27 00:40:25 2010 +0100
s3: Add gencache_parse
commit ce55d7c9f0c0720f765f549f9b2617cb9a3d2299
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 28 12:54:02 2010 +0100
Revert "s4:netcmd/drs.py - use "objectClass" for discovering the server and it's NTDS settings object"
This reverts commit b87c3703cf890bd55340a201536073bd2be1e1d8.
Andrew Bartlett told me that exactly the opposite is true - the "objectCategory"
lookup is performing better.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Nov 28 14:18:41 CET 2010 on sn-devel-104
commit b028a6001ad7e440fbd71faa45cad8b5966fac1c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 28 12:28:03 2010 +0100
replace:wscript - change the "bool" checks to be compatible with more platforms
- If the type was found then we are fine and define "HAVE_BOOL"
- Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int"
- This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64
- The length check for "bool" is not really useful and therefore removed
commit 7e2b315ca0f228b617adc7769f3880a8aabd5d67
Author: Matthieu Patou <mat at matws.net>
Date: Sun Nov 28 13:53:40 2010 +0300
add handling for solaris
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Sun Nov 28 13:32:21 CET 2010 on sn-devel-104
commit 736d36a9487336ca8bc47fba4c7565f9d37e06c5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 28 11:53:48 2010 +0100
s4:dsdb/repl/drepl* - move "lib/messaging/irpc.h" include into "drepl_service.h"
This is needed to fix a Tru64 "cc" warning regarding "enum drepl_role_master".
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Nov 28 12:46:19 CET 2010 on sn-devel-104
commit 4cf85a719350942960d131adfd120eb649c5c861
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 28 04:58:52 2010 +0100
s4-selftest: Ignore broken pipe error from grep.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Nov 28 05:45:05 CET 2010 on sn-devel-104
commit 7c65ab12af355ca07c989cd3f1cdffba2a98362a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 28 04:22:46 2010 +0100
samba.provision: Fix setup_path.
commit 8caac9462ac09b7ff99a7032329d0e56c2e0aac5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 28 04:02:28 2010 +0100
samba.provision: Add package with provision and backend modules.
commit a7675bd5010641051096344bffb9ce569193a8fb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 28 03:34:47 2010 +0100
s4-python: Fix formatting of docstrings for the purpose of pydoctor.
commit 6fea6368885a88f100def2aa230dfac1cb26b0d0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 28 03:29:35 2010 +0100
Makefile: Add rule for pydoctor.
commit ae48c626c8587ee01553a0c49df9e32955ee4d3a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 28 03:15:36 2010 +0100
samba.tests: Fix formatting.
commit 092e923e2bfdbc78fa6a551222d778bc1b936a6f
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Nov 28 03:05:05 2010 +0200
s4-tests/bind.py: Use samba.tests.connect_samdb() instead of directly using SamDB class
connect_samdb() functino will correctly handle things like:
- session_info param - it will create system_session() using supplied
LoadParm parameter and thus avoiding creation of multiple LoadParm
instances (LoadParm() will mask certain command line supplied options)
- host url will be prefixed with ldap:// automatically
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Sun Nov 28 03:00:41 CET 2010 on sn-devel-104
commit 60bf020394f5006dc343a8477c7621ca00f7ce88
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 28 10:52:09 2010 +1100
s4-samba-tool: support help, and show description of commands
when you don't specify a subcommand, show the description of the
subcommands in the list of available subcommands. Also show the list
of subcommands when you use 'help', '--help' or '-h' as a subcommand
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sun Nov 28 01:56:46 CET 2010 on sn-devel-104
commit 2a4c6da7835cb6129a68e3e6e6c16e8f0a656eb2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 28 10:41:53 2010 +1100
s4-drs: fixed credit for C version
commit b87c3703cf890bd55340a201536073bd2be1e1d8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 22:44:55 2010 +0100
s4:netcmd/drs.py - use "objectClass" for discovering the server and it's NTDS settings object
Small optimisation: we don't need to look for "nTDSDSARO" since it's a subclass
of "ntDSDSA".
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Nov 27 23:35:13 CET 2010 on sn-devel-104
commit 989d8803f28826e6541667127abad801c4fa4566
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 20:19:34 2010 +0100
tdb:common/open.c - use "discard_const_p" for certain "tdb->name" assignments
In order to suppress compiler warnings.
commit eaac27738145c60133163bff763412d96bc72cbb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 20:13:02 2010 +0100
s4:dsdb/repl/drepl_service.c - return the correct WERR result
commit bfb28243d0a6d37c7ce10641a4b65539152799be
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 20:12:25 2010 +0100
s4:drepl_service.c - fix error macro (use "_werr" and not "werr")
Detected by Tru64 "cc".
commit a13bd32fa90ce0129227805811ed58490d8dba73
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 20:06:18 2010 +0100
s4:dsdb/repl/drepl_out_helpers.c - print out the correct error message (werr)
Also detected by Tru64 "cc".
commit 450b26b9b5917caaa1a8ad87c9107d741434e9e9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 20:03:53 2010 +0100
s4:lib/registry/rpc.c - remove a duplicate assignment
commit 24c5d6b5042fc34a526348ea8a66aab2c994e3dc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 19:52:46 2010 +0100
s4:torture/rpc/samr.c - fix uninitialised "status" variables
Detected by Tru64. I wonder how this tests even worked.
commit 5c8f0c5b9dcd4119ec1ef2e997f3ea75781eb53b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 19:45:45 2010 +0100
s4:torture/rpc/samsync.c - remove uninitialised "nt_status" check
Found by Tru64 compiler.
commit 6df636422047b80f0844d2398fe4124f7bca05df
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 19:42:31 2010 +0100
s4:drsuapi RPC server - fix "enum security_user_level" warning on Tru64
commit c8aa7d5837bdfc7f721ac9fcc12211fd89f3dbcf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 19:32:03 2010 +0100
s4:param/secrets.h - fix "enum netr_SchannelType" include correctly
commit 4010eff80b888fec7cb7e5d43cb0c3ff23188a64
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 19:16:00 2010 +0100
s4:wkssvc RPC server - better solution for srvsvc* enum's in server_info.c
Reworked version of commit 7e710c4de92c310897817acc06d229cce763d2d7
commit 3c343fec8ab6f175edfa8adaad5de07f5a74b2c8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 19:10:27 2010 +0100
Revert "s4:rpc_server/common/common.h - introduce two forward declarations to suppress parameter declaration warnings"
This reverts commit 7e710c4de92c310897817acc06d229cce763d2d7.
This causes more noise than it's useful.
commit 19ea37886c3a469f37d4e9067703d9fff696fdfb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 18:33:42 2010 +0100
s4:libcli/security/session.h - fix include ordering for "enum security_user_level"
commit 4dece699ed84becefbc928896de2525df8b9c84f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 18:30:12 2010 +0100
s4:dsdb/samdb/samdb.h - fix include ordering in order to prevent warnings on Tru64
commit 2f40657ab3259f70c27d88786cdd0453fc845859
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 27 19:52:11 2010 +0100
s3: Use localtime_r, libreplace defines it
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Nov 27 20:50:27 CET 2010 on sn-devel-104
commit 87c67433c8119986cab3d6948c37b85c7962c62e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 27 19:07:40 2010 +0100
libwbclient: Correctly order the wbcAllocateMemory args
In these cases, it does not make a functional difference.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Nov 27 19:56:02 CET 2010 on sn-devel-104
commit a642cb5a927f72acedf1efd7e79b1051c6ce38d5
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 27 19:02:33 2010 +0100
libwbclient: Fix a division by zero
If wbinfo -r returns no groups, wbcAllocateMemory divides by zero
commit 3b71f5df0328ef2c49a76504b6b79a4e726234f0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 27 18:56:41 2010 +0100
s3: Return the correct result from winbindd_dual_auth_passdb
commit 0b877824cbc48c20ae64873a50e0522da5a2fe4f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 18:25:28 2010 +0100
MAINTAINERS.txt - fix typo
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Nov 27 19:09:29 CET 2010 on sn-devel-104
commit d2560cd7dc106d7853442133f237001f68bcb971
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 18:21:32 2010 +0100
tdb:tdbstore.c - remove an useless '\'
Discovered by a warning of the Tru64 host on the buildfarm.
commit caa8a92f528387e047ecc5a03addbd67777b1c05
Author: Matthieu Patou <mat at matws.net>
Date: Sat Nov 27 17:11:35 2010 +0300
build: change compile flags on mac os x if we face pb with common symbols
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Sat Nov 27 18:02:41 CET 2010 on sn-devel-104
commit e5eaed0180467bbe27b1fd6073298c18c3b1af8d
Author: Matthieu Patou <mat at matws.net>
Date: Sat Nov 27 13:44:50 2010 +0300
remove useless debug message :-)
commit 498743bd46b3ab9b2c23140495a1cfeb25f11b8f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Nov 27 16:31:53 2010 +0100
show_test_time: Move to root scripting directory as it's useful for s3
and s4.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sat Nov 27 17:17:29 CET 2010 on sn-devel-104
commit 258dc02a9db9280b43d336eecf4a63df790c1945
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 14:40:53 2010 +0100
s4:role transfer - use always type "enum drepl_role_master" for role specifications
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Nov 27 16:03:43 CET 2010 on sn-devel-104
commit d613f91a74be13cde375ad742b9dab3af2a75935
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 14:17:53 2010 +0100
s4:samba3sam LDB module - correctly print out an unsigned value
Here we can print it out as unsigned since we are generating a string
attribute.
commit 2163c7a2985b750218661552760400ce485bf894
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 14:07:31 2010 +0100
s4:samba3sam LDB module - make the "pw_uid"/"pw_gid" conversion a bit clearer
And remove the "long" specifier since at least on the major platforms
(Linux, BSD and Solaris) these types are defined as "uint32_t".
commit e9f019e28c267b35c1f5e5a232751c2ca920e1e5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 12:32:22 2010 +0100
s4:dsdb tests - make use of "ldb.get_domain_sid()"
commit 7545b5b3db77d3696fb725b1655b82c164647289
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 12:21:59 2010 +0100
s4:dsdb/tests/python/sam.py - we don't need the domain SID
commit 02addbc40d0812d6398d4a9388c5879ae5bae284
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 27 12:08:03 2010 +0100
s4:torture/drs/python/fsmo.py - fix comments and an error message
commit 847b909b6ee70d140ebbd3800b3f1e2d51e15e97
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 27 23:53:00 2010 +1100
s4-samba-tool: removed old C implementation of samba-tool drs
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sat Nov 27 15:16:02 CET 2010 on sn-devel-104
commit 3d8d382fe57125c1752cab85f9edcb094887b9dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 27 23:50:25 2010 +1100
s4-samba-tool: switched over to python version of samba-tool drs
commit d06bf954ba780f915ecff2f450f0c9f4c6b79dc0
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 27 23:48:20 2010 +1100
s4-samba-tool: added python implementation of samba-tool drs commands
much simpler than the C code, and this brings us one step closer to a
python samba-tool
commit f6c2d39d0b7d0f631b26e96abca2982ee404c7fb
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 27 23:47:30 2010 +1100
s4-pyglue: expose the remaining NTTIME functions from glue
commit 8310375a048aeb754539421ac96291d13a4cd3d7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 27 23:47:03 2010 +1100
s4-drs: allow DrsReplicaGetInfo as a DC
commit a589b9a03323ab5a87b85cb0bf54fcc485bb16d1
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 27 23:46:33 2010 +1100
s4-pydsdb: use cpp macro to simplify flags definitions
also added some more from flags.h
commit ed598ac99b8d26645653929c6313b699269bc57f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 27 23:45:53 2010 +1100
libds: added mS-DS-ReplicatesNCReason flags
these define why a KCC connection was made
commit af93f227ad5341b2ceaaa26d0d07ffa1dd9f9aa8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 27 22:03:07 2010 +1100
s4-samba-tool: fixed "-k no" for disabling kerberos auth
The option "-k no" was not correctly disabling kerberos in python
programs
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6a781b52867900bc6085721fd0e2ededa4f98f50
Author: Matthieu Patou <mat at matws.net>
Date: Sat Nov 27 13:00:57 2010 +0300
Add timestamp when running with --maximum-runtime
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Sat Nov 27 11:51:12 CET 2010 on sn-devel-104
commit d237698850f00325346335b53cfe31657026b940
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Nov 27 03:13:08 2010 +0100
blackbox.ldb: Support using system ldbsearch.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sat Nov 27 04:32:11 CET 2010 on sn-devel-104
commit 3483adaf0a66ddda30c828a478b859bd8270a2e5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Nov 27 03:03:50 2010 +0100
selftest: Allow using ldb* utilities from system.
commit dbb9500448ada04094db854aa81118d95cdc687a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 27 12:59:51 2010 +1100
s4-libnet: use the full DNS domain for CLDAP lookups if possible
many of the internal libnet interfaces use the short domain name,
which leads to unreliable NBT lookups. If we are trying to look for
our workgroup, then look for our DNS domain instead
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sat Nov 27 03:47:52 CET 2010 on sn-devel-104
commit 8737baee7c8666b268bff88070ac93164d41470f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 27 11:33:52 2010 +1100
wintest: cope with VMs sometimes not rebooting
my w2k8 image occasionally gets stuck in the early stages of
booting. This adds code to detect a failed reboot, in which case the
VM is reset
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sat Nov 27 02:42:19 CET 2010 on sn-devel-104
commit 353cdd006a467375809eb3c21dc44df7efb9c1d9
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 27 10:28:15 2010 +1100
wintest: avoid adding a blank line to resolv.conf on each run
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sat Nov 27 01:47:48 CET 2010 on sn-devel-104
commit 3bc6145143da320979c867b155bacaf8125adf3a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 27 10:27:22 2010 +1100
wintest: handle missing firewall commands
my w2k3 box doesn't have these firewall commands
commit 1e96da556acc021ed296551f137d5600e2c1a58c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Nov 27 08:17:09 2010 +1100
s3-param Fix lp_set_cmdline() to set the flag on alias values too
Otherwise, -d10 would be overridden by 'debug level = 1', because
debug level is an alias of 'log level' which -d was setting.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Sat Nov 27 01:02:40 CET 2010 on sn-devel-104
commit 58db821de1cc8c3eca9257638e7ed1b250b28400
Author: Matthieu Patou <mat at matws.net>
Date: Fri Nov 26 23:45:13 2010 +0300
Fix endianess problems as discovered on the build farm
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Fri Nov 26 22:32:16 CET 2010 on sn-devel-104
commit e8ae340421aa62d396543d183641eeecf0ab2b96
Author: Matthieu Patou <mat at matws.net>
Date: Wed Nov 24 00:14:10 2010 +0300
ldb-tdb: Add more information about full scan
commit 70a7da0e101910e3ceb08b86d4b840b219e24d7d
Author: Björn Jacke <bj at sernet.de>
Date: Fri Nov 26 15:14:14 2010 +0100
s3/configure: fix GNU ld version detection with old gcc releases
needed as old gcc releases output everything to stderr, even stdout output from
ld
Fixes #7825
Autobuild-User: Björn Jacke <bj at sernet.de>
Autobuild-Date: Fri Nov 26 20:15:24 CET 2010 on sn-devel-104
commit 51d4951304faee26550b9c57c6800363852b988b
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 26 10:55:48 2010 +0100
s3: Fix filling in the pam_auth_crap domain name
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Nov 26 14:43:20 CET 2010 on sn-devel-104
commit 6a2171c7393a8dfff849090b2822200f9f672617
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Nov 26 13:10:20 2010 +0100
s4:rootdse LDB module - remove unused variable
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Fri Nov 26 13:58:27 CET 2010 on sn-devel-104
commit 8680c6f888f76159b6155d055d394a0e1214c3cf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Nov 26 13:08:27 2010 +0100
s4:objectclass LDB module - simply use "msg" when requesting the message
commit 848010b5705eb6e11d1b9361c5a7243c9da4e886
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Nov 26 13:03:59 2010 +0100
s4:objectclass LDB module - move the "mem_ctx" allocation to a better place
It's only needed if we've a schema around.
commit 7048ad11f518b88897a73fb5e0a46520b703a7d6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 26 10:11:30 2010 +1100
s4-dsdb Reorganise and clarify the LSA objectClass check (forbidden on LDAP)
This arranged the check to avoid talloc_strdup() (the schema pointers
are constant, and can be relied upon), and checks the untrusted bit
first (it is faster), before the ldb_attr_cmp().
The strcmp() here was valid, if unusual, because the ldapDisplayName
values are already in the correct case, but strcasecmp() is more
correct, as for the small extra cost, we avoid a difficult to diagnose
bug later.
Andrew Bartlett
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 439a2d69831aea4a737e5e0e35226a551b11ad29
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 26 10:10:01 2010 +1100
s4-objectclass Use a specific local variable name, not 'value'
This makes it clearer what the local variable in use here does.
Andrew Bartlett
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit bf52cffd2587615243a7101868a9038d9aa1b0c2
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 26 12:38:06 2010 +1100
s4-kcc: fixed valgrind errors in drs replicaInfo server side
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Fri Nov 26 03:52:30 CET 2010 on sn-devel-104
commit 5e8cb67605367ffd9dd2a8624df90f2ca5e77fc4
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 26 12:10:55 2010 +1100
s4-provision: fixed eadb automatic and manual setting in provision
we should not set posix:eadb in lp in the acl native test code
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit cfa7510e19b5e593af8c4da6e89b6a99adfe8b2b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 26 11:36:29 2010 +1100
wintest: do an initial replication of CN=Configuration to transfer dnsHostname
this fixes the drs replication in the dcpromo test
commit 23bffff98c7d1bd700509bb3fa6eaca3e1524096
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 26 11:33:49 2010 +1100
wintest: fixed "rndc command" option in provision
we need to point at the generated rndc.conf
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 9409b73290bdbfc82b75c4af8a22ca1ed6165e2a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 26 11:33:10 2010 +1100
wintest: make IPv6 optional in wintest
we need some more work on IPv6 support in s4 before this works
commit eeb29b593a671e16f87e64f01abea47ec898ba77
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 26 10:20:03 2010 +1100
s4-provision: don't try to look for an IPv6 address when not specified
the getaddrinfo() method of finding an IPv6 address is incorrect. We
could do it via the Samba interfaces code, but until we have that it
is better to not try to auto-detect IPv6
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e52ba1fb87ff57052f460246c2026604a8f63bf2
Author: Björn Jacke <bj at sernet.de>
Date: Fri Nov 26 02:17:14 2010 +0100
librpc: fix builds without IPv6 suport (HP-UX 11.00)
Kai, please check.
Autobuild-User: Björn Jacke <bj at sernet.de>
Autobuild-Date: Fri Nov 26 03:07:21 CET 2010 on sn-devel-104
commit 4f27a644070ebfc5c6dcc177047eff0e492103cf
Author: Björn Jacke <bj at sernet.de>
Date: Fri Nov 26 02:14:09 2010 +0100
s3/smbtorture: use $MAKE to build to make sure we use the make that makes our build
commit dbcf73c45782c310cb7ff1f2177d410399e2f06d
Author: Björn Jacke <bj at sernet.de>
Date: Fri Nov 26 01:32:53 2010 +0100
Ñ3/configue: set Tru64 cc's PIC switch right (none)
-fPIC made shared library builds fail there
commit fab9d94006351793fddd7f06eef7a05c62f8817c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 25 16:17:10 2010 +1100
s4-dsdb Remove rootDSE and anonymous checks from acl_read
The rootdse module handles rootDSE requests, and blocks anonymous
access, so we on't need to do it again here.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Fri Nov 26 00:36:19 CET 2010 on sn-devel-104
commit d184da806550c2edb6113206048ea78c3d2d27a0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 25 16:13:17 2010 +1100
s4-dsdb Add 'block anonymous' checks to the rootdse module
This ensures that one single point checks for and blocks anonymous
read access to the database over LDAP.
Andrew Bartlett
commit 885ecd7b6b567a50067c9d3298e67c6e0f85b82a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 25 16:12:39 2010 +1100
s4-dsdb Remove mem_ctx argument from dsdb_module_find_dsheuristics().
A function that does not return memory should not take a memory context.
Andrew Bartlett
commit fad57d8ad05cf6175c87db33a404aff205adddaf
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 25 21:01:05 2010 +0200
s4-tests: Made acl tests to reconnect if dSHeuristics is being manipulated
Also made password tests set dSHeuristics only once rather that once per test.
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Thu Nov 25 20:48:38 CET 2010 on sn-devel-104
commit 1e9a7882bead2a87eedcd5ddfe2b4df6a2b57306
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 25 19:57:51 2010 +0200
s4-tests: Modified create_ou to only accept security.descriptor type for sd to avoid confusion
It used to work with sddl as well, but this is confusing and could lead to errors. It also caused a message about tallocing a security descriptor to appear.
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Thu Nov 25 19:46:42 CET 2010 on sn-devel-104
commit db403ac35dde415231498aee41b2306dfbe6a983
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 25 14:25:28 2010 +0200
s4-dsdb: Switched to using a dictionary in create_ou for consistency.
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Thu Nov 25 14:12:52 CET 2010 on sn-devel-104
commit 05b8e078f4649239bda42c66966dfa5567485b6d
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 25 14:02:51 2010 +0200
s4-dsdb: Fixed wrong assignment of name attribute to description atribute in create_ou.
commit ae61408e2f198ada294a826e375f0f4a1e7da3d6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Nov 25 09:33:47 2010 +0100
s4:lsa RPC server / objectclass LDB module - fix the creation of trusted domain objects
Tridge pointed out that it is to dangerous to allow them to be created
with SYSTEM permissions. The solution using the "untrusted" flag should
be much more viable.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Thu Nov 25 13:05:56 CET 2010 on sn-devel-104
commit fc1da86d403c654fc96a6b1410147fe93dee0a39
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 25 01:16:14 2010 +0200
s4-tests: Modified speedtest.py to use samba.tests.delete_force
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Thu Nov 25 01:28:19 CET 2010 on sn-devel-104
commit 21aceb1374329b9738031d9d6143b2cb24c87f52
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 25 01:15:24 2010 +0200
s4-tests: Modified sec_descriptor.py to use samba.tests.delete_force
commit 9917525b96f7fe4b3e4fb310614499f093ed5ca8
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 25 01:14:58 2010 +0200
s4-tests: Modified sam.py to use samba.tests.delete_force
commit 0d99a5f27c13b1160777a570482d8481ae931375
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 25 01:13:47 2010 +0200
s4-tests: Modified passwords.py to use samba.tests.delete_force
commit 71af5069507ef60bd4b73ee3943716d55e833252
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 25 01:13:24 2010 +0200
s4-tests: delete_force was unused, removed it.
commit 5e7d99a5d84dfc723c9be26cb7617307aaa2fb23
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 25 01:12:42 2010 +0200
s4-tests: Modified ldap_schema.py to use samba.tests.delete_force
commit d21d3e7db8e9b05daa17ca0e84b1b7f82b55a80e
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 25 01:12:18 2010 +0200
s4-tests: Modified ldap.py to use samba.tests.delete_force
commit 66aa40b9d942664722f113f07d6024529da1fb14
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 25 01:11:57 2010 +0200
s4-tests: Modified deletetest.py to use samba.tests.delete_force
commit f42802e22fa0f0a2026036d540cd5f3341870557
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 25 01:11:29 2010 +0200
s4-tests: Modified bind.py to use samba.tests.delete_force
commit d7731f6f39eb4887a4f91a5b5dbc969b1b0596d2
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Nov 24 17:48:56 2010 +0200
s4-tests: Modified acly.py to use common delete_force instead of defining its own.
commit db5bcb7115991bb1289cad471190fd73139ea53e
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Nov 24 17:47:27 2010 +0200
s4-tests: Added a common definition of delete_force.
commit 64424bb1c3a1714371cf7dd9d2e0ff52777b7874
Author: Günther Deschner <gd at samba.org>
Date: Wed Nov 24 10:57:09 2010 +0100
s4-smbtorture: pick a better printer in RPC-SPOOLSS-ACCESS.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Nov 24 22:07:33 CET 2010 on sn-devel-104
commit 1352a9406f3e3067a8e751ac157eab67796bc0c6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 23 15:15:09 2010 +0100
s4:objectclass LDB module - LSA objects - allow them if the SYSTEM control is specified
This fits better than the RELAX one.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Wed Nov 24 18:23:01 CET 2010 on sn-devel-104
commit 8c01d6a837718344b52aa117820d0dba7655f295
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 23 15:07:49 2010 +0100
s4:objectclass LDB module - move one checks into the "objectclass derivation loop"
This denies objects created from possible derivated classes from the prohibited
ones.
Also small cosmetic improvements for another check.
commit 0a6834e6305c99b74662c4bea97e2291d8b42cb3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 24 17:02:35 2010 +0100
s4:objectclass LDB module - some more or less cosmetic return value macro changes
Sometimes "ldb_module_oom" fits better than "ldb_operr" or "ldb_oom".
commit dab4e008a0d133cd1fcbe96cab134fd9b13faac5
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Nov 24 17:18:09 2010 +0200
s4-tests: Modified sec_descriptor to use samdb.newgroup instead of locally defined method.
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Wed Nov 24 17:38:28 CET 2010 on sn-devel-104
commit 19d20dc0b17b328951255a8085d576792bbf3d80
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Wed Nov 24 11:57:59 2010 +0100
s3:winbind correct a copy&paste error
negative results of sid->gid lookups should be stored with
idmap_cache_set_sid2gid instead of idmap_cache_set_sid2uid
This seems to be a copy&paste error when similar logic from the
sid2uid path was copied here in 84b88f4b.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Nov 24 16:53:01 CET 2010 on sn-devel-104
commit 5957f1de89018c14ec38bb6e72c4630a3b6c79d3
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 23 14:28:45 2010 +0100
s3: Correctly calculate the wbinfo -s result
commit c89ecfc2adee20d8f77af45fe2a45985be0fe3ae
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Nov 24 17:17:15 2010 +0200
s4-dsdb: Extended samdb.newgroup to set the group's security descriptor.
commit 650c96725e5648397a15c806ca28c5733b749968
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Wed Nov 24 11:57:59 2010 +0100
s3:winbind correct a copy&paste error
negative results of sid->gid lookups should be stored with
idmap_cache_set_sid2gid instead of idmap_cache_set_sid2uid
This seems to be a copy&paste error when similar logic from the
sid2uid path was copied here in 84b88f4b.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Nov 24 16:53:01 CET 2010 on sn-devel-104
commit 8d28ae10d278d6d2a738d55f47404651a20c17f4
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 23 14:28:45 2010 +0100
s3: Correctly calculate the wbinfo -s result
commit f10dd12b1474bafaf2906b10ed960d1afc92f91c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 24 23:53:38 2010 +1100
s3-test: try to avoid a problem of CFLAGS propogating to the torture build
CFLAGS is set by s3 to include -D_SAMBA_BUILD_=3. We need to ensure
this does not propogate to the smbtorture4 build
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Nov 24 14:40:16 CET 2010 on sn-devel-104
commit ea1889d4b58e80c12de87f3987da49e4da1e9717
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 24 17:48:39 2010 +1100
wintest: added an IPv6 address, and use fully qualified hostname
this also makes the resolv.conf handling more robust
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Nov 24 11:34:30 CET 2010 on sn-devel-104
commit 6ead7fbae534b7cc25310d8ea2875fc2e737a2b7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 24 18:04:02 2010 +1100
s3-libnetapi Load case tables earlier
If we don't load the case tables as the 'first' thing we do, we will
segfault on the first case insensitive string comparison.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Wed Nov 24 09:21:05 CET 2010 on sn-devel-104
commit 11b060d345a0fa8613d2f98b4e7199dbce0e1251
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 24 17:59:41 2010 +1100
s3-libnetapi Add function header comments
Andrew Bartlett
commit 88d020ade07bfe5cd7570b8c9b80a162adb39891
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sun Nov 21 20:40:50 2010 +1100
s3-netapi Add libnetapi_net_init(), don't double-init common Samba subsystems
The issue here is that libnet and net were both trying to load the
smb.conf files, the case tables and set the debug levels. The set of
the debug levels caused problems, because it would force the level to
0, not (say) 10 as requested on the command line.
This regression was apparently introduced in
cf4de8ec2c8df2ceabbe3d836d296b058e7b19fb when eliminating
AllowDebugChange.
Andrew Bartlett
commit 58920aab0237aaa9f4a81577800bddba97e279a5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 3 07:09:45 2010 +1100
lib/debug Add clarifying comments
commit ef46298c6504ab2f5a84295a700e945c6d779eff
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 24 13:46:22 2010 +1100
wintest Don't connect to localhost or unqualified hostname, bind interface only
Instead, connect to ${INTERFACE_IP} and the fully qualified hostname,
so that we talk to the the interface where Samba is (now) bound.
Using 'bind interfaces only' means that the other Samba instances
(properly configured) can still run while the tests progress.
(killall operations that currently terminate other Samba instances
still need work).
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Wed Nov 24 08:33:03 CET 2010 on sn-devel-104
commit 5d65025fde8405745da50ad932697058b1a5e4b9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 24 11:49:18 2010 +1100
s4-setup correct the require BIND version for Dynamic DNS
commit 192f3001aea604f42e1f316b66b75b9bc782c277
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 24 16:42:43 2010 +1100
wintest: fixed cleanup of /etc/resolv.conf
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Nov 24 07:29:49 CET 2010 on sn-devel-104
commit 1252d6bdf4b213dec432dbe1a9e3dd45d8e95c76
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 24 14:16:35 2010 +1100
wintest: remove reliance on hostname in /etc/hosts
- don't setwinvars() in test code
- use fully qualified names where possible
- don't delete named and rndc config
commit f207cc185f228490860151a35e2b94066120f335
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 24 13:36:21 2010 +1100
wintest: fixed interface handling and DNS forwarding
- allow for _IP vars on VMs
- resolve IPs using nmblookup
- forward DNS requests for windows domains
commit b1dacb8195a52b6cfce6ad60a839f7effd35b261
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 23 15:59:33 2010 -0800
Add in fsp->access_mask checks. Not required (underlying system does this)
but makes logic cleaner. Pointed out by Metze.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Wed Nov 24 01:47:13 CET 2010 on sn-devel-104
commit 1f478afe22c5dc68d7a69e4127c3a8cd6dca1def
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 24 10:11:14 2010 +1100
s4-devel: we don't need to override these scripts now
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Nov 24 01:02:43 CET 2010 on sn-devel-104
commit bde0ecf307fb0650659e6613f3ffd123190dd5e3
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 23 15:59:33 2010 -0800
Add in fsp->access_mask checks. Not required (underlying system does this)
but makes logic cleaner. Pointed out by Metze.
Jeremy.
(cherry picked from commit b869df5489b85807fd830c544099e71a058a03ec)
commit 57f9de012e891feb75b40a58d16cf0f63fd158c1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 24 10:06:38 2010 +1100
s3-torture: remove the merged_build tests for building smbtorture4
s3 now builds smbtorture4 if the required packages (perl, python, ads)
are available. This should ensure that smbtorture4 is built in the
build farm when possible
commit 93d311c07e0b38193f823515b068e87dec144312
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Nov 23 22:44:53 2010 +1100
s4-dynconfig: override more paths when running from the build directory
this ensures consistency between binaries and scripts when testing as
a developer
commit 5d014cad087baf4d40af58cec2b6b875356e8548
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Nov 23 22:43:33 2010 +1100
s4-kcc: disable the NDR printing of DRS getinfo requests
commit 6af05f10c1626bbc6206c786af5ba0cec42ec3fa
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 23 14:31:43 2010 -0800
Fix bug #7812 - vfs_acl_xattr/vfs_acl_tdb: ACL inheritance cannot be disabled
We were losing the incoming security descriptor revision number and
most importantly the "type" field as sent by the client. Ensure we
correctly store these in the xattr object.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Wed Nov 24 00:18:57 CET 2010 on sn-devel-104
commit 3439a818c4940a380304d02211651cab5e873c6e
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 23 14:31:43 2010 -0800
Fix bug #7812 - vfs_acl_xattr/vfs_acl_tdb: ACL inheritance cannot be disabled
We were losing the incoming security descriptor revision number and
most importantly the "type" field as sent by the client. Ensure we
correctly store these in the xattr object.
Jeremy.
(cherry picked from commit 306a0c998795ac7d114407757a6ca254c404e6da)
commit df70a4a3b7886660dceab8ec9646ae449098851a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Nov 23 21:39:34 2010 +0100
pyldb: Fix broken test.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Tue Nov 23 23:20:38 CET 2010 on sn-devel-104
commit 90aa16122ec8c2332011e0a25ede7df7b0850a1e
Author: Matthieu Patou <mat at matws.net>
Date: Tue Nov 23 23:47:36 2010 +0300
Make log level of the server configurable in make test
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Tue Nov 23 22:36:37 CET 2010 on sn-devel-104
commit 91b687d42b66c53bf81d49bb41b4597ab1a93b30
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Nov 23 21:59:39 2010 +0200
s4-tests: Modified acl.py to use samdb.newgroup instead of custom methods.
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Tue Nov 23 21:46:07 CET 2010 on sn-devel-104
commit e95a350682f965780841712527e8e0cac282218d
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Nov 23 21:54:09 2010 +0200
s4-dsdb: Changed filter to find the account of a user by samAccountName
In newuser, a filter by dn was given to setpassword to find the account whose password is to be reset.
It appears however that if given filter of type (dn=CN=smth) Windows fails to return the entry, and the
tests that use newuser fail against it. Changed to use samAccountName instead.
commit 5e0130c51e7b82ed82f08d5089cf7cbdbc6b3142
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 23 11:12:17 2010 -0800
Fix bug #7785 - atime limit.
On a 64-bit time_t system make MAX_TIME_T the max value that
can be represented in a struct tm. This allows applications to
set times in the future beyond the 32-bit time_t limit (2037).
This is only in source3/configure.in, needs adding to the waf
configure/build system (but I'll need help with that).
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Tue Nov 23 21:00:14 CET 2010 on sn-devel-104
commit d760315089b97cc105fce4d248374ecf6c9413d0
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 23 11:12:17 2010 -0800
Fix bug #7785 - atime limit.
On a 64-bit time_t system make MAX_TIME_T the max value that
can be represented in a struct tm. This allows applications to
set times in the future beyond the 32-bit time_t limit (2037).
This is only in source3/configure.in, needs adding to the waf
configure/build system (but I'll need help with that).
Jeremy.
(cherry picked from commit cbb3ae6c9964e8ae28f56219b61a1a2e854265b9)
commit 58f6a37f645c8c025923aa38cd9445ae2e0d8d0e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Nov 23 17:15:21 2010 +0200
s4-test/repl_schema: Refactor the test a little bit to
- Cleanup imports
- make sure we have testtools and subunit imported
- use dictionaries instead of LDIFs for schema modification
so now callers for _make_class can easily add new attributes
for created class
- simplify a little bit classSchema creation
- test attributeSchema replication
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Tue Nov 23 18:44:46 CET 2010 on sn-devel-104
commit 1b5807455783653ca5dd1ae715f9cef455545407
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Nov 10 06:15:19 2010 +0200
s4-tests: Make all DRS python tests to start with samba4.drs.* prefix
commit 9e24db1f2b8ba0cbef0ac9bda587a754ee2ab254
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Nov 23 17:19:29 2010 +0200
s4-pfm_verify: Explicitly pass LoadParm() instance to system_session() function
Otherwise system_session() creates a LoadParm() instance
wich resets certain params to their defaults from smb.conf
("log level" for instance)
commit ff822209c158697d7354b91a289b33596b9d33cf
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Nov 23 17:52:55 2010 +0200
s4-tests: Modified sec_descriptor.py to use samdb.newuser instead of custom methods.
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Tue Nov 23 17:58:38 CET 2010 on sn-devel-104
commit 860ad87340e9671a281b066a032eea91112fda00
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Nov 23 17:51:40 2010 +0200
s4-tests: Modified acl.py to use samdb.newuser instead of custom methods.
commit 3001a514dd034f2ab2ab1b8d688302508b545741
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Nov 23 17:48:53 2010 +0200
s4-dsdb: Extended samdb.newuser to accept security descriptor for the object and optionally skip password reset
Sometimes for testing purposes we create users without any permissions on their objects and password reset
cannot be performed at that point, and is not necessary. For this purpose we can now optionally skip this step.
The default is still to reset the user password.
Also, a security.descriptor object can be specified during the user creation to override using the default one.
defaultSecurityDescriptor is still used by default.
commit aa54713615c5d0367528733ff2c3a5650eed96f7
Author: Samba-JP oota <ribbon at samba.gr.jp>
Date: Tue Nov 23 17:06:48 2010 +0100
s3-docs: Update 3.2 features.
commit 5d27aee10733a7928726c5e052234c19b617f6fd
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Nov 23 14:33:11 2010 +0200
s4-tests: Modified sec_descriptor.py to use SamDB.create_ou()
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Tue Nov 23 14:19:34 CET 2010 on sn-devel-104
commit 868dd26efdca5a44b5e91bc8693638720b8a8e14
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Nov 23 14:32:42 2010 +0200
s4-tests: Modified acl.py to use SamDB.create_ou()
commit 0c22316ccfc2e20c39ef2fa3a2c195e931ec1509
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Nov 23 14:31:34 2010 +0200
s4-dsdb: Added a python method to SamDB for creating organizationalUnits
commit f6adad4d25b884ebdeccdf153d6dbbd016f5d65b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Nov 23 20:20:18 2010 +1100
wintest: tidyups and new conf variables
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Tue Nov 23 13:01:10 CET 2010 on sn-devel-104
commit 3a8b67d06cf631f4d883ce40859401eb760bb0f3
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Nov 23 20:19:49 2010 +1100
s4-ldb: added an environment varibale LDB_WARN_UNINDEXED
when LDB_WARN_UNINDEXED is set, we produce warnings about unindexed
searches. This makes it easier to find performance problems caused by
unindexed searches.
commit 439ff8717d41fb641f2a2cf2b14665edf375433d
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Nov 23 11:22:10 2010 +0200
s4-tests: Ldap tests now use the get_dsheuristics and set_dsheuristics from SamDB.
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Tue Nov 23 11:08:37 CET 2010 on sn-devel-104
commit c252dac1b3263361ddac87e782c2230679f22589
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Nov 23 11:21:47 2010 +0200
s4-tests: Password tests now use the get_dsheuristics and set_dsheuristics from SamDB.
commit d6679cb75a68b85c5dc28b5633bead84cc2deba9
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Nov 23 11:21:22 2010 +0200
s4-tests: Acl tests now use the get_dsheuristics and set_dsheuristics from SamDB.
commit eaa9733a83b23da8c54cc2975c4ff3c854bbc30f
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Nov 23 11:20:12 2010 +0200
s4-dsdb: Added python helpers for getting and seting dSHeuristics to SamDB
commit 95edbc382d8167b59a79a570aff664ba806de809
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 23 17:38:31 2010 +1100
wintest Evolve wintest to handle it's own BIND nameserver
The changes here start our own copy of BIND, listening on a new
interface that we create at the start of the script. The user must
specify the IP address etc that this interface will have, and BIND and
Samba will bind to that interface only.
This means that we won't conflict with an existing BIND on the system,
so long as it isn't configured to listen on all interfaces.
We also auto-create the /etc/resolv.conf and restore it at the end of
the script, using the existing server value from the script as a
forwarder.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Tue Nov 23 08:30:34 CET 2010 on sn-devel-104
commit be0f4129a165c0fbfa363f87b52ce733dba4e4bc
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 23 15:04:31 2010 +1100
wintest Improve wintest's handling of IP addresses and add more auto-setup
- Don't change the IP address if DHCP is not in use
The main reason to 'fix' the IP is to get around Dynamic DNS issues caused
by the DHCP server, if the VM is already on a fixed IP, it does not matter.
- Set the maximum telnet connection limit to 1024
This ensures that we can always make a new connection, regardless
of the existing configuration. We also catch more conditions when
the server has restricted the number of connections, and try again.
- Set the route after the connection drops out
My WinXP box always wants to drop the default route
- Set the DNS as a distinct step
My WinXP box drops the connection when we set DNS servers
Andrew Bartlett
commit 39c2fd1c6462aaa91132ef10fbb51254a133864c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 23 15:02:30 2010 +1100
wintest Explian that this is my KVM/libvirt configuration
commit 41f1e3242cf73ff93dafe30e2c80ad6438cb0469
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 22 21:26:13 2010 +1100
wintest example configuration file for a KVM based wintest
Andrew Bartlett
commit e77ea04872dbd4dfab2c798a0b434e8211cd818b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 22 21:24:56 2010 +1100
wintest Allow substitute to cope with objects like pexpect.EOF
These are not strings, but may get passed into this function on the
way to pexpect.
Andrew Bartlett
commit 5767ee96636470b32c7c819bbef75d06fe1004e6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 22 21:23:38 2010 +1100
wintest Set the virtual machine IP to match it's dynamic IP, but don't use DHCP
The idea here is that the virtual machine stays on the address
allocated by DHCP, but is configured statically. This avoids the need
to manually set the address on the host, but avoids the host being
instructed by DHCP not to do Dynamic DNS.
Andrew Bartlett
commit c251c45e7f97128e1066d788ad7fe254f2b64474
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 22 21:21:57 2010 +1100
wintest Force krb5.conf for BIND so we use the one generated for this test
This avoids needing to set the krb5.conf for the whole host to match
the test environment.
Andrew Bartlett
commit c80a672eb7a0a42686cafcde121d005fb5b3f780
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 22 22:39:45 2010 +0100
s3: Add a word of warning about "winbind use default domain"
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Nov 22 23:26:11 CET 2010 on sn-devel-104
commit 979cc1bbd503a264e0289804a50155b84d25cd78
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 22 22:37:56 2010 +0100
s3: Fix some typos
commit 99b69f50c8a3d88d40ffea0bbd43d9fbc09592f6
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 22 22:22:32 2010 +0100
s3: Use sid_check_is..
commit 568a2377cca8b833fe4e2d0d4075399b98acc7d5
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 22 22:39:45 2010 +0100
s3: Add a word of warning about "winbind use default domain"
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Nov 22 23:26:11 CET 2010 on sn-devel-104
commit 076ccc6723edb6b28b16d228eccb26bd64603dba
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 22 22:37:56 2010 +0100
s3: Fix some typos
commit 0a6b684cac1d1f525bff2d58040d572706807c35
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 22 22:22:32 2010 +0100
s3: Use sid_check_is..
commit 1cdc2d7dd692cfea41c58a50a795e9f1a19b0106
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Nov 22 19:42:47 2010 +0100
service_ldap, service_smb: Lowercase output file names.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Nov 22 20:28:14 CET 2010 on sn-devel-104
commit 2c993f0d4eb43d39553857641d0686baba444b4b
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon Nov 22 18:51:55 2010 +0200
s4-tests: Adapted passwords.py to use set_minPwdAge from SamDB.
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Mon Nov 22 18:39:06 CET 2010 on sn-devel-104
commit 2c96be185d7d8222fc7f1aef513ca0e5b0ca2408
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon Nov 22 18:50:35 2010 +0200
s4-tests: Adapted acl.py to use set_minPwdAge from SamDB.
commit c88b90e9f69554832a4932cbc9e44ea1c3bd2b81
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon Nov 22 18:34:18 2010 +0200
s4-dsdb: Added a helper to python SamDB for retrieving and setting minPwdAge.
commit b85dfce74511dac7e623076ef13bf6d3e9f71a20
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Nov 22 15:06:36 2010 +0200
s4-test/repl_schema: Remote global ldb connections
Although unlikely, Jelmer pointed out that using persistent
SamDB connections between test may interfere with tests
behaviour (and is not xUnit compliant anyway)
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Mon Nov 22 15:24:03 CET 2010 on sn-devel-104
commit 9c2bd08498fe6f2caebd42d8a165d282913825bb
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Nov 22 15:03:59 2010 +0200
s4-tests: Wrap connect_samdb() into a connect_samdb_ex() helper
Thus caller will be able to connect to SamDB and fetch
RootDSE info in a single step
commit bc6ba4b04cf063fa01199c2a605b48fa9ecd2055
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Nov 22 00:28:45 2010 +0200
s4-samba.tests: Explicitly pass LoadParm() instance to system_session() function
Otherwise system_session() creates a LoadParm() instance
wich resets certain params to their defaults from smb.conf
("log level" for instance)
commit 6965d1eba55913e17910cd0a49217be20046724d
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Nov 21 22:38:14 2010 +0200
s4-pfm_verify: fix usage string
Thanks Tridge!
commit f01360efadceeb693aefdf34c78c4ba40c033d53
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 19 13:36:22 2010 +0100
s3-net: use dns_errstr() when dns commands fail.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Nov 22 12:31:33 CET 2010 on sn-devel-104
commit 9df126d324618ae44ec32da4ebcd5b2c566cf72c
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 19 13:34:18 2010 +0100
libaddns: add dns_errstr().
Guenther
commit f28b2073b8ca119605658244d5be00542ad47223
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 19 13:33:06 2010 +0100
s3-waf: move build rules into libaddns directory.
Guenther
commit 2ac5cedb719d220db412d0bdc69e34bad9ab26f1
Author: Arnaud Faucher <arnaud.faucher at gmail.com>
Date: Mon Nov 22 00:07:21 2010 +0100
Avoid the use of PyAPI_DATA, which is for internal Python API's.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Nov 22 00:52:56 CET 2010 on sn-devel-104
commit 6534358a1ae0e3540f84ebc531519fe5c5711ad3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 21 23:09:49 2010 +0100
selftest: When running on the buildfarm, pipe everything through
filter-subunit for the exit code.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Nov 21 23:56:23 CET 2010 on sn-devel-104
commit 7f32c21ef0cea606eaf86d36812ba596d65844fc
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 21 22:06:02 2010 +0100
selftest: Even if setting up an environment failed, the next tests may
still work.
commit bbd77cbbac3d2718c6ba9ad26b8b7b64bbeede8d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 21 20:26:59 2010 +0100
subunithelper: Exit with 1 if more than zero testsuites failed or
errorred.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Nov 21 21:13:00 CET 2010 on sn-devel-104
commit 0d85d2b4bf9221213bd86987ff579b08e0049629
Author: Matthieu Patou <mat at matws.net>
Date: Sat Nov 20 12:22:57 2010 +0300
selftest: fix tap2subunit detection on system with tap2subunit but not correct subunit libs
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Sun Nov 21 16:21:54 CET 2010 on sn-devel-104
commit d2184723100382c8b4c346de3ebe092372c20a7f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 21 13:31:19 2010 +0100
s4:provision_rootdse_add.ldif - add all possible LDAP policy values but outcommented for the moment
It would be nice if someone could activate them as needed.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Nov 21 14:41:53 CET 2010 on sn-devel-104
commit 9e2f39484c9b61d115d54dfc81d102d3eab0b586
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 21 23:05:59 2010 +1100
s4-ldb: fixed the build with a space in the ldb modules directory name
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sun Nov 21 13:57:14 CET 2010 on sn-devel-104
commit 69c6e971a244e0837ed95537c9e4ea53e67b8b75
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 21 23:05:37 2010 +1100
heimdal: fixed the waf build with a space in the directory name
commit a3ed70ff96122531ba000123cdf3992d26663f30
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 21 23:05:07 2010 +1100
pidl: fixed call to cpp with a space in the directory name
commit fcdbd0613631b02b991214b2dccbb97eb571ac28
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 21 23:04:43 2010 +1100
waf: fixed the build with a space in the source directory
commit 808edd02936879862df685775a12b1efba5947ea
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 20 17:57:54 2010 +1100
s4-rpc: make rpc connect less verbose
commit e8bae4c40a60777b9d9a06c8b81d1e24d81b63ee
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 20 22:48:05 2010 +0100
waf:lib/util - add missing dependency on talloc
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Nov 20 23:35:48 CET 2010 on sn-devel-104
commit 6d1e00cd249b44ae234b0d378ec4f67fb7bb3ab3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 20 21:45:53 2010 +0100
s4:repl_meta_data LDB module - fix a counter type
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Nov 20 22:32:06 CET 2010 on sn-devel-104
commit f46b76105458772d953d96921523dc02a7a8358f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 20 21:37:31 2010 +0100
s4:repl_meta_data LDB module - move the "objectGUID" checks a bit higher
- they don't need the allocated "ac" context
- some small code cleanups
commit d9f97cd57f9f797c25212f2fc2d9791733a24ca0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 20 21:15:57 2010 +0100
s4:objectclass_attrs LDB module - add more delete protected attributes
And enhance the testsuite
commit 87ddd5a807298348c95ce5cb720fd9cd87618953
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 20 21:01:27 2010 +0100
s4:samldb LDB module - objectclass trigger - reorder template attributes
commit bd7647f0f90c8306fb5868e88e6d46bdb7dfef62
Author: Ricardo Jorge <ricardo.swat.samba at gmail.com>
Date: Sat Nov 20 16:18:10 2010 +0100
pyrpc: Build the samba.dcerpc.srvsvc module.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sat Nov 20 19:52:36 CET 2010 on sn-devel-104
commit bc058b79bc5ae4ce5261334c31005dedf9db4417
Author: Arnaud Faucher <arnaud.faucher at gmail.com>
Date: Sat Nov 20 15:58:30 2010 +0100
heimdal: Don't depend on compile_asn1 and et_compile when using system versions.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sat Nov 20 16:43:47 CET 2010 on sn-devel-104
commit 2036d64e59732f8f80e40d56f64db6594283be75
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 19:46:12 2010 +0100
s3: Remove a #define used just once
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sat Nov 20 15:28:26 CET 2010 on sn-devel-104
commit da75c017624679354b3f3561c106ee0cef36c4bc
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 19:22:17 2010 +0100
s3: Remove unused ads_get_attrname_by_oid
commit d14cf7a50b8ef5740c82028da3eba3a9d7992b45
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 19:20:43 2010 +0100
s3: Make ads_get_attrnames_by_oids static
commit 491fdb24e44c0b4ba6004ce9f4dc071f1632d5d2
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 19:18:56 2010 +0100
s3: Make ads_ranged_search_internal static
commit 365116ea921be0d549aebae65aa2e097108e6917
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 19:17:32 2010 +0100
s3: Fix some nonempty blank lines
commit b3091e0e22acc10e1659c29fa63e2a1bde96c6df
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 19:12:35 2010 +0100
s3: Remove unused ads_search_retry_extended_dn
commit cdf52d56d5476f77c5a594a996a1a7d65dc16ab4
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 19:10:50 2010 +0100
s3: Make ads_do_search_retry_args() static
commit e3017e6411d753e42ecb9002c2a89a5b806d44f5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 20 10:42:01 2010 +0100
s4:acl LDB module - it's more correct to count the password attributes using "unsigned int"
Since these are derived from a LDB result.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Nov 20 11:29:07 CET 2010 on sn-devel-104
commit 817ee962770a8ec5f96775c8ff3e6c52c291129f
Author: olivier <olivier at virtscano.fakenet>
Date: Wed Nov 10 17:48:06 2010 +0100
switch from mtime to ctime which is more reliable if files can be accessed outside samba as well
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Sat Nov 20 03:07:04 CET 2010 on sn-devel-104
commit 9ae818dbf5cdad8dadcecad7281194874c06d9fe
Author: olivier <olivier at virtscano.fakenet>
Date: Wed Nov 10 17:48:06 2010 +0100
switch from mtime to ctime which is more reliable if files can be accessed outside samba as well
commit 2b788aa6ce41c5c0a6892cb412cf40a7cbc73f2a
Author: Jeremy Allison <jra at samba.org>
Date: Fri Nov 19 16:29:26 2010 -0800
Move the uglyness of #ifdef REALPATH_TAKES_NULL into the vfs_default
module, change the signature of VFS_REALPATH to always return a
malloc'ed string.
Needed to make some privileges work I plan on doing shortly
easier to code.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Sat Nov 20 02:15:50 CET 2010 on sn-devel-104
commit 9b0fb1c8ce854604e2429e7b7fab91988cfdc688
Author: Jeremy Allison <jra at samba.org>
Date: Fri Nov 19 16:29:26 2010 -0800
Move the uglyness of #ifdef REALPATH_TAKES_NULL into the vfs_default
module, change the signature of VFS_REALPATH to always return a
malloc'ed string.
Needed to make some privileges work I plan on doing shortly
easier to code.
Jeremy.
(cherry picked from commit 74126e5808e017f0582ae4137a2098c52a81d2cd)
commit 8585de88815490ed3c41571030bf20bff02a67d4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Nov 11 09:12:17 2010 +0100
ldb:rdn_name LDB module - add more RDN name constraints
And some small cleanups
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Nov 20 00:06:35 CET 2010 on sn-devel-104
commit 7fbaa057cf83db4bb75f5b968bd1030db52142c2
Author: Kai Blin <kai at samba.org>
Date: Wed Nov 17 07:07:08 2010 +0100
tevent: Fix docstring, tevent_req_is_in_progress does not destroy private data
Autobuild-User: Kai Blin <kai at samba.org>
Autobuild-Date: Wed Nov 17 07:23:51 UTC 2010 on sn-devel-104
(cherry picked from commit 3f43b7e54205298766d38f250afe0c9285ed427d)
commit bb679a4da3a32c61529fb56a0cbc9f6d6668146e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Nov 19 23:01:39 2010 +0100
ldb:ldb_rename on ldap backends - handle the case when the RDN value is empty
Otherwise we get "<RDN name>=(null),..."
commit 9734bba5802c837772274b866a7c445a48dbb56f
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 18 15:25:13 2010 +0100
s3-spoolss: fix typo in debug message.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Nov 19 12:05:10 CET 2010 on sn-devel-104
(cherry picked from commit 5855194894535c57797a0475640e50c07ed92643)
commit 0bf8ece121399100d94b0310b7c6f6d0f97700f4
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 19 11:04:33 2010 +1100
talloc: added TALLOC_FREE_FILL environment variable
when this environment variable is set, talloc will fill freed memory
with the value from that environment variable. This can be used to
help find use after free bugs when valgrind is too slow to be used
(cherry picked from commit 999f3ed2ce656ecf97b95afa85823115939f9360)
commit d0993e1278a9245fa4e5952c779cabc2e41cd3c7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Nov 18 22:26:13 2010 +0100
s4:netlogon/LogonGetDomainInfo - handle a NULL "dns_hostname"
- Performs the short computer name check against the sam account name.
- Enhances the LogonGetDomainInfo testsuite which checks the NULL
"dns_hostname" behaviour
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Fri Nov 19 12:50:33 CET 2010 on sn-devel-104
commit 3874331edb9a7bb0ff85104ffc4a5cc92bd87523
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Nov 18 22:13:10 2010 +0100
s4:torture/ldb/ldb.c - add a small test for a DN with an escaped comma
commit 8b7f23d644f2c9a0e5eeffeb2f93786c54a43afe
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Nov 19 09:07:53 2010 +0100
s4:dsdb tests - use even more already defined pyldb functions to retrieve NCs
commit 5855194894535c57797a0475640e50c07ed92643
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 18 15:25:13 2010 +0100
s3-spoolss: fix typo in debug message.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Nov 19 12:05:10 CET 2010 on sn-devel-104
commit d50829a812403ccd17f65cdf0b53c90e86b6b5bd
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 19 10:35:04 2010 +0100
s3: Remove some unused code
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Nov 19 11:21:00 CET 2010 on sn-devel-104
commit fcb7729c6cb3430b35ac58fd96b433ba7179d297
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 19 14:08:56 2010 +1100
wintest: the start of a S3 testing script for wintest
this is just a skeleton at this stage.
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Fri Nov 19 06:03:55 CET 2010 on sn-devel-104
commit 7bfc60e40cae4d71301be27d5c44ce99a471a62b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 19 14:08:18 2010 +1100
wintest: added del_files, write_file and casefold
commit 8f1df5726576f045f9c9a3305f388d7d823750e6
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 19 14:07:37 2010 +1100
wintest: move conf files to conf/
commit 10c246567c002f5ae0206b44b0d240814a5eef6b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 19 12:07:02 2010 +1100
wintest: rename test-howto.py to test-s4-howto.py
ready for test-s3.py
commit 24e8bc544169eff6895d73045439ab32e7afa507
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 19 12:06:02 2010 +1100
wintest: moved to top level
the plan is to expand wintest to test a lot more of Samba against
windows, including testing the Samba3 file server, winbind, nmbd etc
commit 999f3ed2ce656ecf97b95afa85823115939f9360
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 19 11:04:33 2010 +1100
talloc: added TALLOC_FREE_FILL environment variable
when this environment variable is set, talloc will fill freed memory
with the value from that environment variable. This can be used to
help find use after free bugs when valgrind is too slow to be used
commit 58c43f74b9bc2d660f58ccfe912bd3fff7cf672e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 18 23:56:22 2010 +1100
s4-wintest: reliability and usability improvements
- allow for missing VMs
- improved VM names
- added join of w2k3 to Samba domain
- cope with w2k3 dcpromo output
- wait for port 139 not 23, to avoid windows telnet server bug
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Thu Nov 18 23:56:11 CET 2010 on sn-devel-104
commit 5b3981acb1e0e0ef6832c1147b1ec5b3659c1aa9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 18 18:48:42 2010 +1100
s4-rodc: enable the DRS_GET_ALL_GROUP_MEMBERSHIP flag for RODC replication
see the description of this flag in [MS-DRSR]
commit 96e55cb1324992607f0abac4b1d63db6beb5341b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 18 18:48:03 2010 +1100
s4-join: initially disable the machine account
enable after a password is set
commit 6a41afba68f5d787b337fac825365a35c01f844a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 18 18:47:21 2010 +1100
s4-drs: fixed a typo
commit 5be4bfdc376ec518c2c1ec10946335f7741f847d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 18 18:47:07 2010 +1100
s4-wintest: remove files in var/ when reprovisioning
commit 27c3bc8c013a75f6b437a2e47b10ec4fb6a2920b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 18 15:27:45 2010 +1100
s4-test: added --rebase and --clean options
commit 498f3c8e5fb64e566ee783893c9e0663add3b25f
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 18 15:27:20 2010 +1100
s4-test: use --fail-immediately for samba_dnsupdate testing
commit 3f952aba2b98ef6dd00861c079b388c8f1652beb
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 18 15:26:48 2010 +1100
s4-spnupdate: only enable NDR print at log level above 5
commit 1ce223017df86b35003a21198b388396e45a2f4d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 18 14:53:20 2010 +1100
s4-dns: added support for --fail-immediately for RODC netlogon dns updates
commit ab379ddd516bf2b77ccf77f542faf6e694ab5d4d
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Nov 18 21:42:26 2010 +0200
s4-ldb.python: Use $SELFTEST_PREFIX/tmp as a temporary directory for testing
This way we won't flood /tmp directory with temp files
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Thu Nov 18 23:11:18 CET 2010 on sn-devel-104
commit 1002f688767ff30030fc5088347726fcc1e29d9a
Author: Björn Jacke <bj at sernet.de>
Date: Wed Nov 17 17:52:06 2010 +0100
s3/vfs_tsmsm: remove unneeded cast to off_t
"off_t" is wrong on 32 bit systems anyhow ...
Autobuild-User: Björn Jacke <bj at sernet.de>
Autobuild-Date: Thu Nov 18 14:47:59 UTC 2010 on sn-devel-104
(cherry picked from commit 92d87e1f677207f9cd8d279168227d216d58ab46)
commit b6a83f11cffcd1f5ebcff3dfbe98a1fe192894c6
Author: Björn Jacke <bj at sernet.de>
Date: Wed Nov 17 17:45:01 2010 +0100
s3/vfs_tsmsm: fix debug output for large files
(cherry picked from commit d5d08d3b50592f8950ab68c654b2116e704d0f30)
commit 05c0bface19e8dfb395da82de6b889744768f8c6
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Nov 18 17:46:33 2010 +0200
s4-ldb.python: add test for ldb.Message.from_dict() method
commit a403d7777e94ffdcdb57045e8a4755aced0e8484
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Nov 18 22:11:30 2010 +0200
s4-pyldb: ldb.Message.from_dict class method to create LdbMessage object from dictionary
commit a09a41f300a4d721c117a95822d272cc5866ac92
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Nov 18 22:09:01 2010 +0200
s4-pyldb: Move code to create a ldb_message from a Python Dictionary object into a separate function
commit c29a8c7ec55b6961a51f52bf75671f7af8abf2df
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Nov 15 07:41:59 2010 +0200
s4-samdb.py: Use ldb.get_default_basedn() to avoid RootDSE search
commit b4809e4a8240de5faa311bf55ade3d63fd376aa5
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Nov 15 07:41:50 2010 +0200
s4-pyldb_util: Move ldb Type searching into separate function
commit 88e460190014880d6e4a4eae063a773d9ff5a09c
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Nov 15 05:30:54 2010 +0200
s4-pyldb: Few miss-alignments aligned
commit 72fcfedd89b3b8c41b527c4f25fdac518e20c8f2
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Nov 15 04:53:05 2010 +0200
s4-pyldb: Move PyLdbMessage_FromMessage() in PyMessage group of functions
commit d42ea3263af581bc3c533ad83b71710fa0b2fa39
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Nov 15 04:20:31 2010 +0200
s4-pyldb: Fix wrong type of 'self' parameter
commit f992dbb9cade1a5ef6ee03f0ea5c378928be3b64
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 18 20:44:22 2010 +0200
s4-tests: Modified descriptor tests to use pyldb api to retrieve configuration and schema dn.
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Thu Nov 18 22:25:07 CET 2010 on sn-devel-104
commit b397a139203781d7df9992a821b1c6c6849c42cf
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 18 20:43:16 2010 +0200
s4-tests: Modified acl tests to use pyldb api to retrieve configuration dn.
commit 0f6a4a2f72b30f8a6b7ab03b5fae33ccae6cfea6
Author: Joerg Pulz <Joerg.Pulz at frm2.tum.de>
Date: Thu Nov 18 11:47:23 2010 -0800
Make 'net rpc printer driver' behave the same as rpcclient enumdrivers
when dealing with unsupported architectures.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Thu Nov 18 21:40:40 CET 2010 on sn-devel-104
commit 9c21cac3533feda61e3b24ebdd854bb35fa38d23
Author: Joerg Pulz <Joerg.Pulz at frm2.tum.de>
Date: Thu Nov 18 11:47:23 2010 -0800
Make 'net rpc printer driver' behave the same as rpcclient enumdrivers
when dealing with unsupported architectures.
(cherry picked from commit c00120fdaf37a12e510218bf3e726c08e4ea4b3f)
commit 0c154720ef033fb946e8f4de6fb70a6c7c922f5b
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 18 11:31:13 2010 -0800
s3-spoolss: make sure members of "BUILTIN\Print Operators" can open printers
with admin privileges.
Guenther
commit b8f27f99d20d5395006c8ca5aaffdda7632cac23
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 15 11:19:23 2010 +0100
s3-spoolss: add debug statement for access denied cases in OpenPrinterEx path.
Guenther
(cherry picked from commit ee8c035c41c08e5ac599cf68214acd12712191fa)
commit bb1acb24ae66f046816a149144d6b7375b72fbf8
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 11 13:26:10 2010 +0100
s3-rpcclient: exit early in cmd_spoolss_enum_data() when there is a failure.
Guenther
(cherry picked from commit b432a3ba194fdd8a12f5198cd6012d4916301da4)
commit 074e490e9360554931401ceee3e1ccbd105d2fc0
Author: André Hentschel <nerv at dawncrow.de>
Date: Sun Nov 14 23:09:03 2010 +0100
net: Add and fix some German translation
typo spotted by Michael Wood
Signed-off-by: Kai Blin <kai at samba.org>
Autobuild-User: Kai Blin <kai at samba.org>
Autobuild-Date: Mon Nov 15 21:44:39 UTC 2010 on sn-devel-104
(cherry picked from commit 6cd92340b6b2003dbe3380819626a1f443b3456c)
commit 469d15e2653bceb669f2202c07f6024341f2e99f
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 18 19:13:41 2010 +0200
s4-tests: Changed descriptor tests to use existing method in samdb for adding users to a group.
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Thu Nov 18 18:30:55 UTC 2010 on sn-devel-104
commit 7c9515cbe26364a5ecfe609f56ac0ee6b6115f67
Author: Jeremy Allison <jra at samba.org>
Date: Thu Nov 18 09:58:38 2010 -0800
Fix our privileges code to display privileges with the "high" 32-bit value set.
SeSecurityPrivilege is the first LUID we have added that has a non-zero
"high" value, ensure our LUID code correctly supports it.
Jeremy.
commit 82335b25e7c9862d8e1a2294e7f633ed6bed110b
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 18 19:12:36 2010 +0200
s4-tests: Changed acl tests to use existing method in samdb for adding users to a group.
commit fa1e8663bc9bcf511ae22c1199214a92f5db32a7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Nov 18 16:37:10 2010 +0100
Revert "s4:api.py - DN tests - test a bit more special DNs and merge the comparison tests"
This reverts commit 732ef9353dff56384e8bb01aa20d2a371cd995c2.
Jelmer doesn't like to have these tests there.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Thu Nov 18 17:46:38 UTC 2010 on sn-devel-104
commit 4c666f3e0ada47c793ecdec0e5c3dd0441a69080
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Nov 18 16:06:46 2010 +0100
s4:dsdb python tests - use "ldb.domain_dn"
By inspiration of Nadya's patches
commit b7dab4692200dd7f3bbc600560648b8e0ec47e70
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Thu Nov 18 16:51:22 2010 +0200
s4/operational: Fix swapped parameters for ldb_msg_copy_attr
Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Autobuild-Date: Thu Nov 18 17:02:07 UTC 2010 on sn-devel-104
commit b388951eea2bb8f609e3a5eae5092e4c0fefc30b
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Thu Nov 18 17:11:55 2010 +0200
s4/ldap: ldap_syntaxes.py cleanup
Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Autobuild-Date: Thu Nov 18 16:16:27 UTC 2010 on sn-devel-104
commit 886471da4ba9bd474a445a085becdcaf75bcbc39
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 18 16:52:23 2010 +0100
s3: Call sid_check_is_domain instead of dom_sid_equal
Keeping 3.6 and master current is a royal PITA these days because all the
routines regarding SIDs have changed names, but what can you do. We have plenty
of time on our hands to deal with this kind of stuff.
commit 92e8fd0513e0b7dd3523c1c5cab066231a38470d
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 18 15:20:38 2010 +0100
s3: Call sid_check_is_domain instead of dom_sid_equal
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Nov 18 15:32:32 UTC 2010 on sn-devel-104
commit e25ee6af8f783c82af6e5b0f12ec19467deabb8a
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 18 13:28:47 2010 +0100
s3: Make winbind recover from a signing error
When winbind sees a signing error on the smb connection to a DC (for whatever
reason, our bug, network glitch, etc) it should recover properly. The "old"
code in clientgen.c just closed the socket in this case. This is the right
thing to do, this connection is spoiled anyway. The new, async code did not do
this so far, which led to the code in winbindd_cm.c not detect that we need to
reconnect.
commit 92d87e1f677207f9cd8d279168227d216d58ab46
Author: Björn Jacke <bj at sernet.de>
Date: Wed Nov 17 17:52:06 2010 +0100
s3/vfs_tsmsm: remove unneeded cast to off_t
"off_t" is wrong on 32 bit systems anyhow ...
Autobuild-User: Björn Jacke <bj at sernet.de>
Autobuild-Date: Thu Nov 18 14:47:59 UTC 2010 on sn-devel-104
commit d5d08d3b50592f8950ab68c654b2116e704d0f30
Author: Björn Jacke <bj at sernet.de>
Date: Wed Nov 17 17:45:01 2010 +0100
s3/vfs_tsmsm: fix debug output for large files
commit 0b3180bbf5933943cf0c5b0e9d47da33cf4ff99c
Author: Simo Sorce <idra at samba.org>
Date: Thu Nov 18 08:01:15 2010 -0500
ldb: error out when modules are not found
We shouldn't proceed without all required modules, it could cause damage to the
ldb if operations are performed w/o the needed modules.
Autobuild-User: Simo Sorce <idra at samba.org>
Autobuild-Date: Thu Nov 18 14:02:34 UTC 2010 on sn-devel-104
commit 8b7ed6b9fb14f92d3dbfdcf3bbee3b757dd38b98
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 18 13:28:47 2010 +0100
s3: Make winbind recover from a signing error
When winbind sees a signing error on the smb connection to a DC (for whatever
reason, our bug, network glitch, etc) it should recover properly. The "old"
code in clientgen.c just closed the socket in this case. This is the right
thing to do, this connection is spoiled anyway. The new, async code did not do
this so far, which led to the code in winbindd_cm.c not detect that we need to
reconnect.
commit 47784a14708827a0272b638c6ab088d74b392908
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 18 13:17:00 2010 +0200
s4-tests: Descriptor tests should use the existing samdb domain_dn method instead of defining a new one
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Thu Nov 18 12:52:48 UTC 2010 on sn-devel-104
commit 763165c7bcff5d4b2c331a75869a7db82f5ec91a
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Nov 18 13:13:35 2010 +0200
s4-tests: Acl tests should use the existing samdb domain_dn method instead of defining a new one
commit 56512fb1da0fb0ffecd07059f8dc43ed3cfcd780
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Nov 18 12:20:56 2010 +0100
ldb:skel.c - don't introduce trailing whitespaces by a module template
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Thu Nov 18 12:08:30 UTC 2010 on sn-devel-104
commit b001f1b255e8b67f86b0797193b4ca6124fdc47e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Nov 18 12:20:10 2010 +0100
s4:password_hash LDB module - remove unused headers
commit ae272acbdba5a8682dcdac98a59636863c129c8a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Nov 18 10:44:52 2010 +0100
s4:repl_meta_data LDB module - allow also special DNs to be renamed correctly
Do always escape RDN values - this fixes bug #7794
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Thu Nov 18 10:43:40 UTC 2010 on sn-devel-104
commit 732ef9353dff56384e8bb01aa20d2a371cd995c2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Nov 18 09:22:07 2010 +0100
s4:api.py - DN tests - test a bit more special DNs and merge the comparison tests
commit ca7979e1a31ae33a99105fe821493fbded8c845f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Nov 18 08:57:00 2010 +0100
ldb:ldb_dn_explode - point out that on error cases "data" is implicitly free'd
commit 1c4807a62f2a7c4199079b7ab13ed6a4b121ff09
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 18 14:43:53 2010 +1100
s4-test: added greater control over tests to run
now supports --list to list tests, and --skip to skip the named tests
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Thu Nov 18 04:29:24 UTC 2010 on sn-devel-104
commit 23e053d4a221f478d9f0dd5f422f64e7f5beccfe
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 18 10:57:28 2010 +1100
s4-test: rename scripting/devel/howto to scripting/devel/wintest
this won't just be for the howto anymore
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Thu Nov 18 00:45:18 UTC 2010 on sn-devel-104
commit f6c66cd6eee6dbaf34b9cb0c38aa83934104a867
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 18 10:56:05 2010 +1100
s4-wintest: added wintest.py library
converted test-howto.py to use the wintest library.
The idea is for us to create other tests that test lots of different
interactions with windows
commit 63029eb24b9a9b57fbf85b611a66b39b8100a5e3
Author: Volker Lendecke <vl at samba.org>
Date: Wed Nov 17 20:54:41 2010 +0100
s3: Fix a missing return value
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Nov 17 20:40:18 UTC 2010 on sn-devel-104
commit 98612fe79321ade72c23ca0c1d966a1c192ec977
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 15 12:22:52 2010 +0100
s3-spoolss: make sure members of "BUILTIN\Print Operators" can open printers
with admin privileges.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Nov 17 15:05:02 UTC 2010 on sn-devel-104
commit ee8c035c41c08e5ac599cf68214acd12712191fa
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 15 11:19:23 2010 +0100
s3-spoolss: add debug statement for access denied cases in OpenPrinterEx path.
Guenther
commit b432a3ba194fdd8a12f5198cd6012d4916301da4
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 11 13:26:10 2010 +0100
s3-rpcclient: exit early in cmd_spoolss_enum_data() when there is a failure.
Guenther
commit 0a4b7bb9a547011c4c39b75acee1c00c90562cd1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 23:48:23 2010 +1100
s4-repl: removed the syncall_workaround code
this isn't needed any more
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Nov 17 13:41:51 UTC 2010 on sn-devel-104
commit 6c8b0d7f2784faf68d08d42227765bdc0ce28b35
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 23:13:32 2010 +1100
s4-repl: save the result of the last replication in repsFrom/repsTo
when a replication fails, we should add the failure to repsFrom
when a notify fails, we need to save it to repsTo
this ensures showrepl always shows the latest status
commit 73016ad40523d4d41114c7b4d6bb2a46815bb597
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 23:12:10 2010 +1100
s4-repl: ensure we don't starve pending replication ops
when there was a continuous sequence of notify ops, we could leave the
replication ops starving. This ensures we run whichever was queued
first
commit e17ea9f3f5019cd95ace6920ba73129cda0adf55
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 23:11:12 2010 +1100
s4-kcc: fixed result_last_attempt in showrepl
commit 9a744c634ff55c166294d63d192649ad238f9bf6
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 23:10:48 2010 +1100
s4-doserr: telling our users to "see Windows help" doesn't seem right
commit 1645190b1c0a4708cb3110bc94c1b9ec3e0d77e4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 21:50:06 2010 +1100
s4-provision: don't test for xattrs if posix:eadb is set
when it is set in smb.conf or on the command line, obey the setting
and don't try to test for system xattr support
commit 333975d84f1f5016ad8d61c8107ef76e43af0c7e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 21:49:19 2010 +1100
s4-provision: setup posix:eadb using lp.set()
this allows it to override a setting made during the automatic testing
of xattr support
commit 9432eabb2f6ba282943e1b7ea4e90c0ed38cefe2
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 20:36:37 2010 +1100
developer: only do the C++ reserved name checking on Linux
this prevents us breaking the solaris build, but will still mean we
prevent C++ vars in our code
commit d7ea449049e6536c4c25274dc24d9eaa90cb7abd
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 20:15:42 2010 +1100
s4-provision: don't try to autodetect xattr is posix:eadb is set
when posix:eadb is set then we know we should be using an eadb
commit 1a6518072899593f64e115e2c8cd5f5f4c523a4c
Author: Andrew Tridgell <tridge at opensolaris.home.tridgell.net>
Date: Mon Nov 15 22:54:09 2010 -0500
s4-heimdal: ask for non-atomic heimdal
this allows us to build with compilers other than gcc
commit e7dad42bc6cdf38d194a564c6ecdeb60cd4204c6
Author: Andrew Tridgell <tridge at opensolaris.home.tridgell.net>
Date: Mon Nov 15 22:53:13 2010 -0500
heimdal: added HEIM_BASE_NON_ATOMIC option
This allows heimdal to build without gcc, by not using atomic
operations. We don't need heimdal to be atomic in Samba.
commit 6041938908962ab89527671dd5fb8ce58f530f34
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 18:29:04 2010 +1100
s4-test: updates to test-howto.py
- handle clock skew using "net time" on windows after we open the
telnet connection
- allow checking for result lists in order
- replicate all partitions after vampiring so we don't need
to wait for periodic replication
- use a krb5 ccache in the prefix for kinit based tests
The complete test suite now passes on my system, taking just over 13
minutes to complete
commit 0cf7189d4a4bf0ae538e0aa82ec90982b7523336
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 17:33:31 2010 +1100
s4-heimdal: implement KERB_AP_ERR_TYPE_SKEW_RECOVERY
this e_data field in a kerberos error packet tells windows to do clock
skew recovery.
See [MS-KILE] 2.2.1 KERB-ERROR-DATA
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5f655e99a1c17ac9d28acb4740585d2100746d69
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 17:09:24 2010 +1100
s4-gensec: zero the gssapi_state
this fixes a use of the target_principal before initialisation
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 1887ce87e49fa593e02807e52fd4b653ca577a66
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 12:54:41 2010 +1100
s4-provision: use the command line lp in provision
this ensures that provision options are stored in the generated
smb.conf
commit 292003343ebf37954eb0862d17f431cc16d8ec54
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 12:54:13 2010 +1100
s4-provision: add log messages about IP lookup
the IPv6 lookup can be very slow if a DNS server in the search list is
unavailable. It's good to let the user know what its doing.
commit 60449d561dd4fdbe5ea9368ea59ef4e8bfa7b420
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 12:33:02 2010 +1100
s4-dns: catch more expections in samba_dnsupdate
commit 2a2d118f729ac4c8f014d3529afbfb0d4956fadd
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 17:58:10 2010 +0100
s3: Remove a reference to "winbindd_cli_state" from append_auth_data
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Nov 17 12:02:34 UTC 2010 on sn-devel-104
commit 9d02adc7ae350ca72c2d442a545439247ef0b550
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 17:56:21 2010 +0100
s3: Remove a reference to "winbindd_cli_state" from append_info3_as_txt
commit 940d4ab44b21c9320269d207c1aae34d5e0fbd08
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 17:52:31 2010 +0100
s3: Remove a reference to "winbindd_cli_state" from append_afs_token
commit 19bfd988a3b8c61694772ac9f33587fdf70c10f8
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 17:50:16 2010 +0100
s3: Remove a reference to "winbindd_cli_state" from append_info3_as_ndr
commit 8f5591d046b75fb04290d7e08027b9ad250c56c9
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 17:44:08 2010 +0100
s3: Remove a reference to "winbindd_cli_state" from append_unix_username
commit 4f20daf7383c33c107fd3beda76e5aae2237d871
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 17:07:33 2010 +0100
s3: Remove a reference to "winbindd_cli_state" from append_auth_data
commit 8a5939f2af62ea4f3dc53372312975c0769595eb
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 16:22:32 2010 +0100
"bool ? true : false" is a bit pointless
commit e105708068d7836dbee97aaf20ff0d3520291118
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 16:11:14 2010 +0100
s3: Move parse_sidlist to the only calling file
commit f70d36fe2d0119db7d67aacc725796c793ed8174
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 16:09:04 2010 +0100
s3: Remove some unused code
commit d1c1aaeb8b9ca662f57e74546c56c9213c7e3920
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 17:58:10 2010 +0100
s3: Remove a reference to "winbindd_cli_state" from append_auth_data
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Nov 17 12:02:34 UTC 2010 on sn-devel-104
commit bdf830ac6171020d18c0a07787c305b766e0ec61
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 17:56:21 2010 +0100
s3: Remove a reference to "winbindd_cli_state" from append_info3_as_txt
commit 75f41c304a8ae65dbb81752d123cf95770a40d1a
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 17:52:31 2010 +0100
s3: Remove a reference to "winbindd_cli_state" from append_afs_token
commit 5b0724d2289fbf14813636f1d5791ed76d56710e
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 17:50:16 2010 +0100
s3: Remove a reference to "winbindd_cli_state" from append_info3_as_ndr
commit 3bfe6765b20904a47b81d9fa7df6d6385f144ceb
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 17:44:08 2010 +0100
s3: Remove a reference to "winbindd_cli_state" from append_unix_username
commit 240edd07b30b20e9914de147d2773a36bc7a3a32
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 17:07:33 2010 +0100
s3: Remove a reference to "winbindd_cli_state" from append_auth_data
commit fd9ea77a7169070d869713ba0bde226ce653ad20
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 16:22:32 2010 +0100
"bool ? true : false" is a bit pointless
commit 0a19617c9785425e3328f82d022930d3fa91e7b3
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 16:11:14 2010 +0100
s3: Move parse_sidlist to the only calling file
commit 705d93d2ad3fffbe69fe19d521631bf6e249e4f1
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 16 16:09:04 2010 +0100
s3: Remove some unused code
commit 3e055cc830eedaddf73456a31c5eeed2b3e9a00f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 17 08:58:21 2010 +0100
ldb:ldb_dn.c - ldb_dn_explode - free also the extended components on error cases
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Wed Nov 17 08:45:53 UTC 2010 on sn-devel-104
commit 3f43b7e54205298766d38f250afe0c9285ed427d
Author: Kai Blin <kai at samba.org>
Date: Wed Nov 17 07:07:08 2010 +0100
tevent: Fix docstring, tevent_req_is_in_progress does not destroy private data
Autobuild-User: Kai Blin <kai at samba.org>
Autobuild-Date: Wed Nov 17 07:23:51 UTC 2010 on sn-devel-104
commit 27df2e544a64385a66e65217c6ce2474dd598829
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 11:29:50 2010 +1100
s4-test: added testing of w2k3 DC join to test-howto.py
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Nov 17 01:16:19 UTC 2010 on sn-devel-104
commit 5524822a7280ca3356f4116d8fd4466b96d14e7f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 11:10:45 2010 +1100
s4-join: fixed join to w2k3
w2k3 does need msDS-Behavior-Version
commit a82bc073e2e7dd5eef13c64ad219fa1179df8aa7
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 11:09:59 2010 +1100
s4-join: show a reasonable error on DsAddEntry() failing
DsAddEntry() gives errors in a reply container
commit 3f9c97dbc55826867d1978e09d69d365cff94643
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 11:08:59 2010 +1100
s4-join: enable NDR printing at debug levels >= 5
this is handy for debugging joins
commit 73fae2b007cdb0a6bfe5740a0d119bbde52dd1ce
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 11:07:12 2010 +1100
s4-loadparm: set debuglevel and logfile in tables
this allows the debug level and logfile to be queried from python
using lp.get(). Otheriwse they are set only in the globals, and not in
the tables.
commit f401930546dc719a9abd5a4b28315388a247dfc6
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 17 11:06:33 2010 +1100
s4-loadparm: fixed a memory leak in handle_realm()
we need to free the lowercase and uppercase varients
commit deed2a935b0ebd615929e21ec423204d44ada067
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 16 21:01:22 2010 +1100
s4-kdc Rework supported encryption type logic to match Microsoft
Thanks to Hongwei Sun for the clear description of the algorithim
involved. Importantly, it isn't possible to remove encryption types
from the list, only to add them over the defaults (DES and
arcfour-hmac-md5, and additional AES for DCs and RODCs).
This changes the behaviour for entries with
msDS-supportedEncryptionTypes: 0, which Angelos Oikonomopoulos
reported finding set by ADUC when attempting to store cleartext
passwords.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Tue Nov 16 21:24:43 UTC 2010 on sn-devel-104
commit d451ac1f3ac7b391e3cb28dca8e665bf1e1beddd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 16 14:22:27 2010 +0100
s4:acl LDB module - use also here "dsdb_find_nc_root" to implement the NC-specific checks
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Tue Nov 16 15:12:13 UTC 2010 on sn-devel-104
commit 856e309b14491849ec65d37fc23e03dd07063e21
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 16 13:17:32 2010 +0100
s4:descriptor LDB module - also "get_default_ag" should make use of "dsdb_find_nc_root"
commit cebad70ee6d8fb3e2f3d306d98fb88a4c8526f28
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 16 13:12:02 2010 +0100
s4:descriptor LDB module - handle the NCs in a more generic way by using "dsdb_find_nc_root"
commit 7cc2f9803801dcae0a4780f46cd2b642fac1b1cf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 16 15:20:04 2010 +0100
s4:"dsdb_find_nc_root" - let it work also when the "namingContexts" attribute isn't available yet
This is needed on provisioning when the modules aren't set up yet.
commit d2453b52d84c148176b7384d0973645423647d38
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 16 13:25:34 2010 +0100
s4:descriptor LDB module - make more clear that special control entries never should be handled by modules
commit f863f434a01d49a27b963ec71a86727f0d95dc59
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 16 13:22:05 2010 +0100
s4:objectclass LDB module - the "olddn" is the special DN for rename requests
commit cce662763efc2843c3dffeb1d43c12e641ce9949
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Nov 11 23:25:35 2010 +0200
s4-schema_load: Don't clean in_transaction flag until transaction is really finished
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Tue Nov 16 11:00:35 UTC 2010 on sn-devel-104
commit 0f2904247ba7f888023bd4ab4e2e42d565d7e840
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 16 08:34:52 2010 +0100
s4:subtree_rename LDB module - make use of "dsdb_find_nc_root"
This is exactly what's needed there.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Tue Nov 16 08:42:07 UTC 2010 on sn-devel-104
commit 71a5ea93ff76dee94f23a4f69dd1ede0a12255f6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 16 08:34:27 2010 +0100
s4:objectclass LDB module - free "nc_root" after name context comparisons
commit f99403e45af7d13e7d2c2184bea391f4a83954cc
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Nov 16 18:14:11 2010 +1100
s4-test: fixes for test-howto.py
this fixes some timing issues, plus ensures we test both with and
without kerberos
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Tue Nov 16 07:58:55 UTC 2010 on sn-devel-104
commit 896d1bdca2fe094d2aef4439903d8e66143d8f64
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Nov 16 15:14:43 2010 +1100
s4-spoolss: fixed warning in call to torture_warning()
commit 2421c0dcfb80665cbb4469767c5bc67b248b94e0
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Nov 16 15:14:18 2010 +1100
s4-eventlog: fixed dcerpc handle return
commit ebd8e66ed0c1aae4d482ea933a8a492a2ab82e13
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 16 16:43:05 2010 +1100
samba-tool Add test for --store-plaintext
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Tue Nov 16 06:29:04 UTC 2010 on sn-devel-104
commit c8c52be4558c1e5bcb0db81f89f5b954f7ac6c05
Author: Brad Hards <bradh at frogmouth.net>
Date: Tue Nov 16 16:42:50 2010 +1100
Update dcerpc_server.pc library name to match reality.
commit 2e44d0d32980eaec236c8cfc80989b7600c0d25a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 16 16:32:55 2010 +1100
samba-tool pwsettings Allow setting 'store cleartext'
This allows the 'store cleartext' password policy flag to be (un)set.
Andrew Bartlett
commit 95d33f2f24d7300f2df54ea62b0595ed7d7d0a2c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 16 16:32:27 2010 +1100
s4-ldif_handlers Add handler for printing supplementalCredentials
commit b8631597f579555416dbd87ded3f329051965e8b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 16 16:01:19 2010 +1100
s4-test_kinit Add tests for lowercase realm combinations
This tests that the handling of lowercase realms works in our KDC and
libraries.
Andrew Bartlett
commit 4908237403543f6b0e3015637c5c49af47b515b0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 16 15:05:33 2010 +1100
heimdal Build ticket with the canonical server name
We need to use the name that the HDB entry returned, otherwise we
will not canonicalise the reply as requested.
Andrew Bartlett
commit d76f11a8bd685517b0e5a3be4684bec41af9e822
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 16 14:16:31 2010 +1100
s4-kdc Fix the realm handling again, this time pay attention to the flags
The KDC sets different flags for the AS-REQ (this is client-depenent)
and the TGS-REQ to determine if the realm should be forced to the
canonical value. If we do this always, or do this never, we get into
trouble, so it's much better to honour the flags we are given.
Andrew Bartlett
commit 5c72c6b760af479b3e88b10cce713025528496c3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 16 14:12:17 2010 +1100
s4-kdc use 'flags' to only create the 'admin data' elements when requested
This avoids setting these values when the caller simply does not care
Andrew Bartlett
commit 935d7a6f72567f09ccc8710079775fef0f077ada
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 16 14:07:18 2010 +1100
s4-kdc Add 'flags' parameter to db fetch calls
This will allow these calls to honour the flags passed in from the KDC
Andrew Bartlett
commit fe5c48cbed29b669f17370436d0cf18ca0ccb474
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Nov 16 12:05:14 2010 +1100
waf: added --git-local-changes configure option
if you use --git-local-changes then the version number that waf
extracts from git will have a '+' on the end if you have local
changes, as determined by running 'git diff'.
This used to be the default, but unfortunately it is far too slow on
some systems. On a NFS build system I was using the first line of
configure took about 2 minutes.
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Tue Nov 16 01:51:54 UTC 2010 on sn-devel-104
commit 96bdcf7ea9d06e4681af012974458d67d264cfda
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 16 09:33:05 2010 +1100
s4-kdc Don't regenerate the PAC for cross-realm tickets
We should never get a cross-realm ticket that was not issued by a full
DC, but if someone claims to have such a thing, reject it rather than
segfaulting on the NULL client pointer.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Mon Nov 15 23:59:34 UTC 2010 on sn-devel-104
commit a32ade647db710ed84565891fca3e65dd609f69d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 16 09:30:55 2010 +1100
s4-kdc Don't always regenerate the PAC
The PAC was being regenerated on all normal DCs, because they don't
have a msDS-SecondaryKrbTgtNumber attribute. Instead we need to check
if it's set and not equal to our RODC number, allowing RODCs to trust
the full DCs and itself, but not other RODCs.
Andrew Bartlett
commit 4041640bd6d7f8747c8229b02dbb847056bdaa35
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 16 09:29:18 2010 +1100
heimdal Fetch the client before the PAC check, but after obtaining krbtgt_out
By checking the client principal here, we compare the realm based on
the normalised realm, but do so early enough to validate the PAC (and
regenerate it if required).
Andrew Bartlett
commit 2b7730d291c49a427135ddf62c3aa2ff4b7997e7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 16 09:28:21 2010 +1100
s4-gensec Indicate if GENSEC is in client or server mode in the debug
commit 329f76c410ec0d8eee9ee471dd79d192e305cdba
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 15 22:42:22 2010 +0100
s4:heimdal - fix the return code of a non-void function
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Nov 15 23:14:57 UTC 2010 on sn-devel-104
commit 59e22ba9c06adba09ef40d9b1f8f01c7accc3ae8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 15 22:38:09 2010 +0100
s4:torture/basic/base.c - fix output warnings regarding "time_t"
"time_t" is generally "long int".
commit 061766e732490b81df3e9ce5968b281efd8c3c0d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 15 22:30:16 2010 +0100
s4:objectclass LDB module - improve the default name context checking on modifications
Pointed out by abartlet
commit 6ff009cacca7f62fc1b67270fb2bee4f20906c70
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Nov 16 07:41:54 2010 +1100
s4-join: not all versions of w2003 have msDS-SupportedEncryptionTypes
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Nov 15 22:28:16 UTC 2010 on sn-devel-104
commit 10a1606baf69addd2d3a079ab007ebb6beffb55d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 15 22:57:00 2010 +1100
s4-devel: a script to test the Samba4 HOWTO
This provides a script that allows testing of most of the steps of the
Samba4 HOWTO. The big difference between this and 'make test' is that
it test against windows, using pexpect to control windows boxes via
telnet.
The info about VMs and other parameters are in separate conf
files. I've included a sample config file that I use on my laptop.
commit 6cd92340b6b2003dbe3380819626a1f443b3456c
Author: André Hentschel <nerv at dawncrow.de>
Date: Sun Nov 14 23:09:03 2010 +0100
net: Add and fix some German translation
typo spotted by Michael Wood
Signed-off-by: Kai Blin <kai at samba.org>
Autobuild-User: Kai Blin <kai at samba.org>
Autobuild-Date: Mon Nov 15 21:44:39 UTC 2010 on sn-devel-104
commit 37f856500cd113ddec420ed455a8f0f75d648386
Author: David Disseldorp <ddiss at suse.de>
Date: Fri Nov 5 15:24:22 2010 +0100
s3-spoolss: fix spoolss GetPrinterData behaviour
Windows sends spoolss GetPrinterData requests with an offered buffer
size of zero, Model and TrayFormTable data is commonly requested in
this way.
Samba's GetPrinterData response for the above case includes the correct
error code (WERR_MORE_DATA), however the type field is set to REG_NONE.
This causes Windows (seen on XP and 2k3) to give up on the request.
If the type field is retained (not set to REG_NONE) when responding with
WERR_MORE_DATA, Windows reissues the GetPrinterData request with an
increased offered buffer size.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 1c579318ae2d2480ee4cc998443c0d1661b39846)
commit 16e73c68cb18fe428e83ee1b5ef9e17af743fae4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 15 13:00:58 2010 +0100
s4:objectclass LDB module - implement the "objectClass" change restrictions on Windows 2000 forest function level
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Nov 15 13:10:05 UTC 2010 on sn-devel-104
commit c3e24bb89f8a50476ac809aaa3fee409e639b0d0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Nov 15 12:42:14 2010 +0100
heimdal_base: Fix include path so heim_threads.h can be found.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Nov 15 12:26:53 UTC 2010 on sn-devel-104
commit f7bccc6628db5434c304bcf42eaa249e87ba1f08
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Nov 15 12:41:58 2010 +0100
smb_server: Build as shared module.
commit ee69c4f4b3d2012037887c4124dd376eebb2f0af
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Nov 15 12:24:45 2010 +0100
heimdal_base: Add missing dependency on replace.
commit f91b7b5dab904613bd48f663ba768521995ed9e6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Nov 15 12:23:46 2010 +0100
nbtd: Build service as shared module.
commit 88d694ac8e808a22495dcdd6af181f4738c1f21c
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 15 21:45:42 2010 +1100
waf: fixed configure again on RHEL5
the fancier cmd_output() broke git versioning
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Nov 15 11:33:41 UTC 2010 on sn-devel-104
commit e409db9da170ae24e3806ccf87d411b42e582945
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 15 19:09:14 2010 +1100
s4-dns: added --fail-immediately option to samba_dnsupdate
this is useful for manual testing
commit deaf7e5995c5120a8009dcd90e17f7e0678d1206
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 15 10:54:50 2010 +1100
s4-dns: fixed registration of multiple IPs in samba_dnsupdate
bitten by python object references again!
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 1e29ee3a70151ca830f5523834d1f669fd8d0a82
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 15 18:43:51 2010 +1100
heimdal Fix handling of backwards cross-realm detection for Samba4
Samba4 may modify the case of the realm in a returned entry, but will no longer modify the case of the prinicipal components.
The easy way to keep this test passing is to consider also what we
need to do to get the krbtgt account for the PAC signing - and to use
krbtgt/<this>/@REALM component to fetch the real krbtgt, and to use
that resutl for realm comparion.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Mon Nov 15 08:47:44 UTC 2010 on sn-devel-104
commit 63583037842417f117f8f3db8f576e1e83d42522
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 15 13:30:03 2010 +1100
s4-kdc Fix realm handling in our KDC
we should reset the realm part of the principal, but not the lowercase
realm embedded in the 'krbtgt/realm at REALM'.
Andrew Bartlett
commit 1409c97899406d48f5b763fc88389bab11e379fc
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Nov 15 03:19:44 2010 +0100
s4: Build ldap and samba3_smb services as shared modules.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Nov 15 03:04:41 UTC 2010 on sn-devel-104
commit 02f77214c2372b33d9b3e6c4075069aa6fae0b9b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Nov 15 03:14:16 2010 +0100
cldap: Build as shared module.
commit caa3935a388da986e84bc36488227c746ed1fe34
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Nov 15 00:46:12 2010 +0100
kdc: Build as shared module by default.
commit e422c2a4a5f491fa6227decbff38445c2e191140
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Nov 15 00:45:48 2010 +0100
auth/ntlm: Use name consistent with other service names.
commit 02d320394fbe485ec706601c3edda7d90c8222da
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 15 12:10:33 2010 +1100
auth/gensec Handle incorrect username or password in Kerberos client code
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Mon Nov 15 02:09:40 UTC 2010 on sn-devel-104
commit be8526a0a1dbc070ce14414b0ab132816ddd20f6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 15 09:08:43 2010 +1100
s4-kdc update startup routines after heimdal update
We should check the errors from krb5_kdc_windc_init and we now need to
additionally run krb5_kdc_pkinit_config()
Andrew Bartlett
commit bbfaa9bbdfc7f3c360a2d79124122a360aa9f493
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 12 15:37:07 2010 +1100
s4-kdc Remove use of heimdal private headers in kpasswd server.
This remains an abuse, because it relies on setting into the krb5_principal
structure, but at least it causes less trouble for the server.
Andrew Bartlett
commit 6a27fbbfc4c51ae1635b8a5fa51c470ebc9f01e2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 12 15:27:43 2010 +1100
heimdal Extra files required for merge up to current heimdal
commit 192a555c9ab425fa8e18ee5bed84a8c2fd527200
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 12 13:15:57 2010 +1100
heimdal regenate lex and yacc files
commit f20cf610809d74aff58a3711a0405f243da5dce4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 12 13:14:00 2010 +1100
Add attribute macros for Heimdal to use
Heimdal uses HEIMDAL_NORETURN_ATTRIBUTE and HEIMDAL_PRINTF_ATTRIBUTE,
and we need to provide a link between these and Samba's function
attribute handling.
Andrew Bartlett
commit 1342185e333cb8139b7a70b7fe43571bcc2716a7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 11 11:27:33 2010 +1100
s4:heimdal: import lorikeet-heimdal-201011102149 (commit 5734d03c20e104c8f45533d07f2a2cbbd3224f29)
commit 13fd22f61017124d2d4964db3e32c667d119b56c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Nov 15 00:44:30 2010 +0100
s4/dns: Build as shared module.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Nov 15 00:57:27 UTC 2010 on sn-devel-104
commit 2d7dc86b5d339986f3c645917a29810d6b33bebf
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 15 08:41:16 2010 +1100
s4-kdc: if "bind interfaces only" is false, then also listen on wildcard
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Nov 15 00:13:59 UTC 2010 on sn-devel-104
commit 9262aafb07eff94b5c6281840e30dce4c8edf338
Author: Jeremy Allison <jra at samba.org>
Date: Sat Nov 13 20:32:36 2010 -0800
Fix the unexpected.tdb database problem. Change nmbd to store the
transaction id of packets it was requested to send via a client, and
only store replies that match these ids. On the client side change
clients to always attempt to ask nmbd first for name_query and
node_status calls, and then fall back to doing socket calls if
we can't talk to nmbd (either nmbd is not running, or we're not
root and cannot open the messaging tdb's). Fix readers of unexpected.tdb
to delete packets they've successfully read.
This should fix a long standing problem of unexpected.tdb
growing out of control in noisy NetBIOS envioronments with
lots of bradcasts, yet still allow unprivileged client apps
to work mostly as well as they already did (nmblookup for
example) in an environment when nmbd isn't running.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Sun Nov 14 05:22:45 UTC 2010 on sn-devel-104
commit 3a5dfa58042f9486d6aaf0b707dd8c58f4153e43
Author: Jeremy Allison <jra at samba.org>
Date: Sat Nov 13 20:28:41 2010 -0800
Move error reporting of messaging context creation fail into
the daemons themselves. Allows client utilities to silently
fail to create a messaging context due to access denied on the
messaging tdb (which I need for the following patch).
Jeremy.
(cherry picked from commit 781c4aabb87e63df77c76a360b6ed5f6a20e6d58)
commit ef7f4a142068757dcf0dc11c5b7cf03755be45a8
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 15 10:12:22 2010 +1100
s4-server: make server sockets a child of the task context
We previously allocated sockets as direct children of the event
context. That led to crashes if a service called
task_server_terminate(), as it left the socket open and handling
events for a dead protocol.
Making them a child of the task allows the task to terminate and take
all its sockets with it.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ec590fc9e37c38891bdd10aaae5bac46f5e71f75
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 15 08:27:04 2010 +1100
samba-tool: fixed crash in "samba-tool drs showrepl"
the source_dsa_obj_dn can be NULL
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f0cdcd940e20bf049ccb19ca68a101a29d2ee8d1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 14 17:36:51 2010 +0100
web_server: Build as module.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Nov 14 17:58:05 UTC 2010 on sn-devel-104
commit f5fbba76c8743d6c4f25b9850e2c2c4353730cdf
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 14 17:31:26 2010 +0100
kcc/drepl: Build as service.
commit f6c8bc6a7bfac1cb13fdf2a4dc76c3d1234de73f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 14 17:26:29 2010 +0100
winbind: Build as shared module.
commit bee3b665a882b03ae6c65de6b9440e1b00994080
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 14 17:09:34 2010 +0100
Build wrepl server as service by default.
commit 6d1d146e8987f515f97b1fa1ef6f726f2c60a884
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 14 14:49:03 2010 +0100
Add myself as maintainer for pytevent, pytalloc, pytdb and pyldb.
commit 6e762f90030b214a24bfae5cf048fad9893f53c8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 14 14:32:13 2010 +0100
Re-enable ldb-cmdline for the moment, as it is used by oLschema2ldif.
commit d2dfa868fd7e77879ff40b7bbe3b52a0ceece277
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 14 13:40:58 2010 +0100
Don't build ldb tools when there is a system provided ldb.
commit c52e6db8a2d5ef56cac59315f16f70eb9624b5d7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 14 15:15:52 2010 +0100
s3: string_to_sid does thorough syntax checking
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Nov 14 14:07:29 UTC 2010 on sn-devel-104
commit a2769b069b11c92f4b4822f4eb3e66b8aadd18ca
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 14 14:11:24 2010 +0100
s3: Avoid two calls cli_errstr
commit 36637a7ced4ac9f0a0846ba75b56ccdf2599ffea
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 11 16:29:33 2010 +0100
s3: Convert cli_get_posix_fs_info() to cli_trans()
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Nov 14 10:24:02 UTC 2010 on sn-devel-104
commit 52f252064817b4be4d45d9fdbb0ad07748a0f317
Author: Jeremy Allison <jra at samba.org>
Date: Sat Nov 13 20:32:36 2010 -0800
Fix the unexpected.tdb database problem. Change nmbd to store the
transaction id of packets it was requested to send via a client, and
only store replies that match these ids. On the client side change
clients to always attempt to ask nmbd first for name_query and
node_status calls, and then fall back to doing socket calls if
we can't talk to nmbd (either nmbd is not running, or we're not
root and cannot open the messaging tdb's). Fix readers of unexpected.tdb
to delete packets they've successfully read.
This should fix a long standing problem of unexpected.tdb
growing out of control in noisy NetBIOS envioronments with
lots of bradcasts, yet still allow unprivileged client apps
to work mostly as well as they already did (nmblookup for
example) in an environment when nmbd isn't running.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Sun Nov 14 05:22:45 UTC 2010 on sn-devel-104
commit 781c4aabb87e63df77c76a360b6ed5f6a20e6d58
Author: Jeremy Allison <jra at samba.org>
Date: Sat Nov 13 20:28:41 2010 -0800
Move error reporting of messaging context creation fail into
the daemons themselves. Allows client utilities to silently
fail to create a messaging context due to access denied on the
messaging tdb (which I need for the following patch).
Jeremy.
commit 7cb0f95bf28c24c45955d6df52f505019341ef31
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 14 14:26:06 2010 +1100
s4-auth: fixed infinite loop in krb5 auth
we were continually trying the first address returned, instead of
moving to the next address
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sun Nov 14 04:11:28 UTC 2010 on sn-devel-104
commit 6582d4739c25a879c58fc768290b3f97ecf795c7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 14 13:40:02 2010 +1100
s4-auth: fixed crash in krb5 auth
remote_addr was used after free
commit f198c901dd8d364cef7f889bac9332b14261d864
Author: Björn Jacke <bj at sernet.de>
Date: Sat Nov 13 16:58:41 2010 +0100
s3/doc: add missing documentation for vfs_time_audit
Autobuild-User: Björn Jacke <bj at sernet.de>
Autobuild-Date: Sat Nov 13 17:13:24 UTC 2010 on sn-devel-104
commit 7d2260cdd18b7354c372d6e8833d1554ab7894d0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 13 12:47:53 2010 +0100
s4:password_hash LDB module - return "ERR_CONSTRAINT_VIOLATION" on password conversion errors
This errors can happen also on a regular basis - then we shouldn't return
ERR_OPERATIONS_ERROR (this error code is reserved for very serious failures).
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Nov 13 12:37:36 UTC 2010 on sn-devel-104
commit ac0dcd1e07e8f2642c01912d9dfbc457a18fdfae
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 13 12:33:26 2010 +0100
s4:upgradeprovision - why not directly use "provision:0"?
commit 113a9c1806863f9794c3a611ed4c4d910c3bf11b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 13 12:25:40 2010 +0100
s4:objectclass LDB module - multiple "objectClass" change elements are unfortunately still allowed
The test message has been compressed - therefore I've now used "modify_ldif".
commit b9cfe109453937f5c2ae5008bee4b12226d68914
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 13 19:08:45 2010 +1100
s4-drs: fixed a crash in writspn
sam_ctx_system may be NULL for non-privileged users
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sat Nov 13 08:52:53 UTC 2010 on sn-devel-104
commit 8e34df462c138440510b48a33ee8fd2730449e7d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 13 12:18:19 2010 +1100
s4-test: we need to import testtools before subunit/python
subunit/python depends on testtools
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sat Nov 13 02:02:45 UTC 2010 on sn-devel-104
commit 7422fd9d00f8aadb1c166b150290a0c41cdd0c4a
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Nov 11 09:36:25 2010 +0100
tdb: set tdb->name early, as it's needed for tdb_name()
tdb_name() might be used within the given log function,
which might be called from within tdb_open_ex().
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Fri Nov 12 11:22:21 UTC 2010 on sn-devel-104
commit 24477cacc9b12cef01ee06cf6ce4db9bb87b5fae
Author: Matthieu Patou <mat at matws.net>
Date: Tue Oct 19 17:24:27 2010 +0400
ktpass: also use userPrincipalName for locating the principal
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Fri Nov 12 20:24:23 UTC 2010 on sn-devel-104
commit f4e9f125e0e4a9ab236595b79315ad26b7ca9d8b
Author: Matthieu Patou <mat at matws.net>
Date: Tue Oct 19 17:23:57 2010 +0400
ktpass: fix the search path for when running in samba's source dir
commit e0f64b77ebb5ecbd1bdabe9f2b3cf368421b34e6
Author: Matthieu Patou <mat at matws.net>
Date: Fri Nov 12 20:45:07 2010 +0300
python: use the ldbMessage + modify notation instead of modify_ldif that we try to avoid
commit 5a6f3f14fbf9bf96904e7f17e75aadac00427f96
Author: Matthieu Patou <mat at matws.net>
Date: Mon Nov 8 14:09:04 2010 +0300
Fix typo
commit f5ea6f4b4ca21b2771b383cf9ed9295c69857bcb
Author: Matthieu Patou <mat at matws.net>
Date: Tue Oct 26 16:38:42 2010 +0400
unit tests: add testing for dns account password change
commit 81eb7985e6d79852b3e25814cd15d6be56245d64
Author: Matthieu Patou <mat at matws.net>
Date: Fri Nov 12 20:00:57 2010 +0300
upgradeprovision: use relaxed control while adding missing object container
commit a9c430bdd2e07e8111d1073238059de6c6f478d5
Author: Matthieu Patou <mat at matws.net>
Date: Tue Oct 26 16:37:50 2010 +0400
upgradeprovision: fix pb with dns-hostname, regenerate a correct keytab
commit 8227d1f68ef7a4750d23d0c34402dbc0c1d14a3e
Author: Matthieu Patou <mat at matws.net>
Date: Sat Oct 23 22:01:30 2010 +0400
upgradeprovision: use the relax/(upgrade)provision when modifying object
For certain attribute we use the relax/provision control so that we
try to respect checks as this is not a good idea to always force
unwanted behavior.
commit 757764ab1bb3056377f050fd91b43bbc45a3c7a2
Author: Matthieu Patou <mat at matws.net>
Date: Sat Oct 23 22:00:04 2010 +0400
upgradeprovision: use the (upgrade)provision control also
commit add39bc40bc89d2f3fac86f1cddea3947caafbfa
Author: Matthieu Patou <mat at matws.net>
Date: Sat Oct 23 21:57:16 2010 +0400
upgradeprovision: update revision for forestupdate and domainupdate objects
commit 2990b4fbb1acf74e98b55ce63fea3e2fe280d60e
Author: Matthieu Patou <mat at matws.net>
Date: Fri Nov 12 19:58:09 2010 +0300
samldb: relax groupType modification checks
Allow programs with the PROVISION control to bypass groupType checks.
This is needed by upgradeprovision for older alpha (11, 10 ...)
commit 35c9c2dc8aaea1019a8d611b52957c84db1feec5
Author: Matthieu Patou <mat at matws.net>
Date: Fri Oct 22 13:37:32 2010 +0400
Update WHATSNEW4 to add information related to samba_backup
commit d1feb03889935425b83e2bd5007bd90fddc62927
Author: Matthieu Patou <mat at matws.net>
Date: Fri Oct 22 13:28:40 2010 +0400
Add a script to make backup of samba provision
commit 37bd3133049eba7ad26aeb74864e732c6efe70e5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Nov 12 19:49:47 2010 +0100
s4:objectclass LDB module - we should not simply ignore additional "objectClass" attribute changes
There first one we perform all other tentatives are terminated with
ERR_ATTRIBUTE_OR_VALUE_EXISTS (tested against Windows).
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Fri Nov 12 19:39:07 UTC 2010 on sn-devel-104
commit 584a2d125ec564ffaa019aba53a2d3b29d4c09c3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Nov 12 19:28:48 2010 +0100
s4:repl_meta_data LDB module - convert two debug messages into error messages
These regarding "objectGUID".
commit 5585591b2e6959bebb005966ad72eb7af4bf1760
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Nov 12 18:57:57 2010 +0100
s4:samldb/objectclass_attrs LDB modules - move "description" logic from "objectclass_attrs" into "samldb"
This according to an answer from dochelp is SAM specific behaviour.
commit e4eba98f831b869bf3894c2940a8131a7a6862be
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 18:27:46 2010 +0100
waf/samba_version: Simplify git show command.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Fri Nov 12 18:38:21 UTC 2010 on sn-devel-104
commit 8d07e6d986322c4954a385b9bfea73f0931b3053
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 18:20:02 2010 +0100
samba_version: Make COMMIT_IS_CLEAN an int rather than a string.
commit 7d961ddc443a31d71cd3d2c02a397128da9be120
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 18:19:00 2010 +0100
samba_version: Simplify dirty tree detection.
commit c338dede1b5bdab240a237581644158ba56249b3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 18:06:43 2010 +0100
waf/samba_version: Support integer defines.
commit ed22f13e7ead1b1ed2fd9dde51a479b9cfaf67aa
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 18:06:20 2010 +0100
s3: Rename GIT_COMMIT_{TIME,DATE} to COMMIT_{TIME,DATE}.
This avoids some special casing in the waf code.
commit 9ebb55d1cb1280a5b8a4d82ec35568c034898e41
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 17:59:07 2010 +0100
s4: Remove obsolete mkversion.sh
commit 7b964c72698054337e1c40df23550edad96de8b5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 17:54:41 2010 +0100
samba_version: When working from git checkout, display git revision SHA1 rather
than Bazaar revision ids.
commit a0c2040ab698c8f053d12b4f53b0ac76a8f5ebac
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 17:26:06 2010 +0100
samba_version: Support retrieving snapshot identity from bzr.
commit 45af495695a83636e79a810e212542d7c292a9ac
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 17:18:30 2010 +0100
samba_version: Cope with building snapshots in directories without git checkout.
Error out when run in a git checkout in which git fails.
commit d9a0a18ddabe9b91e73cc8bf1582af46d208ff27
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 17:13:37 2010 +0100
Put git tree finding into a separate function.
commit 80e2adc9c3412ac7d22ef9ebb0c8451768841b08
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 17:08:09 2010 +0100
sambaversion.py: Some cleanups, make less git-specific.
commit e3b7ce85e2db8cf09202fc2da843cf043e64e81c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 17:00:42 2010 +0100
wafsamba: Support make dist from bzr checkout.
commit 5a482a641e9631e269684d4394864659791b5dec
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 16:23:03 2010 +0100
torture: Only add in tests for socket_wrapper/nss_wrapper when they have been enabled.
commit 7e8ea2ca34462669810f540f7b09cd7475a87a7c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 16:22:43 2010 +0100
unix_privs: Add missing dependency on libreplace.
commit 1f853ee51b46b5a1a3b4e8e2c13023ddcc034fa2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 16:22:16 2010 +0100
socket_wrapper: Only add as global dependency when enabled.
commit 32889f83465a5e943beb47c059572b8cd108df9c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 16:12:14 2010 +0100
heimdal_build: Add missing dependency on replace, necessary because replace.h is included.
commit 5cf904b1d9b4eaa366851d9ab51c0ed4e86d773e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 12:55:14 2010 +0100
s4-waf: Only enable various wrappers if they're actually used.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Fri Nov 12 14:33:34 UTC 2010 on sn-devel-104
commit b6e13627dfca1171cf42e27e415c1fdb325d4926
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 12 12:17:45 2010 +0100
Lowercase DNS_UPDATE_SRV name.
commit dedd064aa825edd57f992b12218a184398db9586
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Nov 11 09:36:25 2010 +0100
tdb: set tdb->name early, as it's needed for tdb_name()
tdb_name() might be used within the given log function,
which might be called from within tdb_open_ex().
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Fri Nov 12 11:22:21 UTC 2010 on sn-devel-104
commit 1ec8d55e275128f2419fb481f88c7d3d87894506
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 12 17:23:34 2010 +1100
s4-kdc: added proxying of kdc requests for RODCs
when we are an RODC and we get a request for a principal that we don't
have the right secrets for, we need to proxy the request to a
writeable DC. This happens for both TCP and UDP requests, for both
krb5 and kpasswd
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Fri Nov 12 08:03:20 UTC 2010 on sn-devel-104
commit e7fb5a6c9142d4dcffd4a331d3aa78ac543db34a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 12 12:32:50 2010 +1100
s4-kdc Return HDB_ERR_NOT_FOUND_HERE on un-revealed accounts on an RODC
This means that when we are an RODC, and an account does not have the
password attributes, we can now indicate to the kdc code that it
should forward the request to a real DC.
(The proxy code itself is not in this commit).
Andrew Bartlett
commit aa1c32ccb08965ff2044b82cbf624404f7fd377b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 12 12:31:33 2010 +1100
heimdal Return HDB_ERR_NOT_FOUND_HERE to the caller
This means that no reply packet should be generated, but that instead
the user of the libkdc API should forward the packet to a real KDC,
that has a full database.
Andrew Bartlett
commit 2fbaa099192f7f3ee6ba2b996ddf2ca17baaacf5
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 11 14:22:40 2010 +1100
s4-kdc: split the kdc process return into a tri-state
this is in preparation for doing forwarding of packets for RODCs
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 4f352a5b6a91d8990506ac33b757fd9afcc0282d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 11 14:13:01 2010 +1100
s4-kdc: we don't need the special include handling now
the special handling was to cope with the conflict with the kdc.h
header
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e26609b667094dde09dbe3fcabdc2d26ded7f37c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 11 14:09:41 2010 +1100
s4-kdc: rename kdc/kdc.h to kdc/kdc-glue.h
kdc.h conflicts with a heimdal header name
commit dcd346c0e541246260507c96283eefaef23edebb
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Nov 10 06:14:20 2010 +0200
s4-tests: Make repl_schema.py test part of Samba4 test suite
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Thu Nov 11 19:38:18 UTC 2010 on sn-devel-104
commit 0868a1598220e2ed73aefcd9ec3517a38704ac9e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Nov 10 03:45:22 2010 +0200
s4-repl: Propagate remote prefixMap in DRSUAPI data conversion functions
commit 2d0cb54ceb8f568f233533ada007822ffb40ee3d
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Nov 10 02:32:29 2010 +0200
s4-dsdb_syntax: Warning message that we can't find requested ATTID in Schema Cache
commit 3ab75524ee11f9121f41b3d4dd452ecdf9847e67
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Nov 9 04:36:24 2010 +0200
s4-prefixMap: dsdb_schema_pfm_oid_from_attid() to use const prefixMap
It is not supposed to change supplied prefixMap
commit e772518a64f1f616ba6c00a8ee45cffd228bd8b3
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Nov 9 04:12:57 2010 +0200
s4-dsdb_syntax: Use remote prefixMap to handle generic cases in drsuapi_to_ldb conversions
commit f65c8402998c0759aac1ff27234a5e841a3bba37
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Nov 9 04:12:16 2010 +0200
s4-dsdb_syntax: Add remote prefixMap member for dsdb_syntax conversions
commit a8495d380ef93f8d236d521c8b1b8bf76f689acf
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Nov 7 23:04:33 2010 +0200
s4-repl: dsdb_extended_replicated_objects_convert -> dsdb_replicated_objects_convert/
It is part of dsdb_replicated_* family of functions
commit 227e8dcfcfeeb5721e4f23c2bc183fd63c5bbe30
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Nov 7 22:51:11 2010 +0200
s4-repl: dsdb_extended_replicated_objects_commit -> dsdb_replicated_objects_commit
It is part of dsdb_replicated_* family of functions
commit 28f41c166a77c0d69f0b1eb3e0d811fb66e696a4
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Nov 7 21:47:39 2010 +0200
s4-repl: dsdb_convert_object -> dsdb_origin_object_convert
It is used in dsdb_origin_objects_commit() func,
hence the dsdb_origin_ prefix
commit 7ada90ec2956fc8fc744676496e847f1a4d2f163
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Nov 11 20:19:47 2010 +0200
s4-test: repl_schema - Make sure LdbError and ERR_NO_SUCH_OBJECT are visible
commit beaf14ec91708b827ac0760a2b23383a989e840f
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 11 19:08:20 2010 +0100
s3: Well... Fix a stupid error
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Nov 11 18:54:00 UTC 2010 on sn-devel-104
commit e7970c02f345a4a5d63ab43c120277de70624c19
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 11 15:58:34 2010 +0100
s3: Make cli_set_ea_fnum return NTSTATUS
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Nov 11 16:59:27 UTC 2010 on sn-devel-104
commit ddd33f035199bce2fc9d8deb3c2c4ad627ad36d4
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 11 15:51:46 2010 +0100
s3: Make cli_set_ea_path return NTSTATUS
commit 1b13a4d22b3f0eca6926ab8ce61147784f6e993e
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 11 15:51:16 2010 +0100
s3: Remove two pointless variables
commit 9c664dbd8c46e54aae4a4cebfafac61d618dd4f2
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 11 15:40:06 2010 +0100
s3: Convert cli_set_ea() to cli_trans()
commit 1d9616113207775916c816708fe442fe84ad0369
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 11 14:54:25 2010 +0100
s3: Convert cli_dfs_get_referral to cli_trans
commit 612ded1abf15bfcc3569f061b18764bff66fe9b6
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 11 14:46:58 2010 +0100
s3: cli_dfs_check_error does not need to depend on cli->inbuf
commit 3a01edd60764723bccd742707153ab4cdf72c079
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 11 14:04:06 2010 +0100
s3: Make split_dfs_path return bool
commit 8a22fac3a01c31732ac843f903689e42cce3a5ae
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 11 13:45:00 2010 +0100
s3: Remove some dead code
commit d320ae7cbed565220529fa0da13ce22498d45096
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 11 13:44:28 2010 +0100
s3: Untangle an if-expression
commit 9cdb0b5cee1210fc44d9e6f2f87ab63d263b4cc6
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon Nov 8 08:11:11 2010 +0200
s4/test: Expand BindTest
The test now binds with user at realm, domain\user, user dn, computer dn
Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Autobuild-Date: Thu Nov 11 16:15:30 UTC 2010 on sn-devel-104
commit 4574d497ce306ef97c196221c1b3d34e478dde01
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Fri Nov 5 09:27:48 2010 +0200
s4/test: Add bind.py to make test
bind.py is a place to have tests for ldb binding with different credentials.
For starter we have a simple bind with machine account.
commit ba127f9849a1ac93c9bab3b8377a880264353b16
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 11 20:44:16 2010 +1100
heimdal Don't dereference NULL in error verify_checksum error path
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Thu Nov 11 10:37:03 UTC 2010 on sn-devel-104
commit a9baabed562fb6858bd82ee7312faa908283dde4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 11 19:55:26 2010 +1100
s4-provision UTF16 encode the password in sam.ldb, not secrets.ldb
The password in secrets.ldb is UTF8, while clearTextPassword in
sam.ldb is UTF16.
This corrects commit bd5039546e520b6d6897a658bc0a358f0511f7c7, which
had these the wrong way around.
Andrew Bartlett
commit 78928f5956d1b593e92875fd46a7071a4c979640
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 11 18:36:06 2010 +1100
s4-dsdb Remove incorrectly declared ** variable used as *.
The cleartext_utf16_str variable was declared char **, but due to the
cast on convert_string_talloc() and the lack of type checking here and
on data_blob_const (due to void *) it was able to be used as if it was
a char *.
The simple solution seems to be to fill in cleartext_utf16 blob directly.
Andrew Bartlett
commit eebbbeac1489a1a6241b4c15064d8aaeeec810ae
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 11 18:33:14 2010 +1100
s4-dsdb Convert new krbtgt_xxx password into UTF16
The new stricter test on clearTextPassword values caught out that
we did not provide a utf16 password here.
Andrew Bartlett
commit 01d10c84134341c17e7b41e42bac8368c26d1201
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 11 17:59:16 2010 +1100
s4-dsdb Return an error if we can't convert UTF16MUNGED -> UTF8
The UTF16MUNGED helper will map all invalid sequences (except odd
input length) to valid input sequences, per the rules. Therefore if
it fails, we need to bail out, somehing serious is wrong.
Andrew Bartlett
commit bb241f5cf8424c2576d5bc33ac149e5720b82068
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 10 16:21:41 2010 +0100
s4:pytevent.c - fix a discard const warning
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Thu Nov 11 09:47:55 UTC 2010 on sn-devel-104
commit f0367905d9a6db76712f1dcf9734f64fe5c5e1b3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 10 16:20:38 2010 +0100
ldb:ldb_ldap.c rename operation - check for the RDN name and value
Make it more similar to "ldb_ildap.c" and also more save
commit feb00fe7cc238a78b3832c116cb4634936597735
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 10 16:05:16 2010 +0100
s4:dsdb - proof against empty RDN values where expected
This should prevent crashes as pointed out on the mailing list.
commit 4fe63d927e5e684d3e2bec9642a1e77b056ab2ed
Author: Zahari Zahariev <zahari.zahariev at postpath.com>
Date: Tue Nov 9 14:55:32 2010 +0200
Cannot create OU using custom Schema class
If we define our own child class 'subClassOf' system Schema class
e.g. organizationalUnit then we cannot create OU in the Dafualt
Naming Context that has this custom Schama class in the objectClass
attribute.
commit e96c9df817326197a0866a18ad53621405b8bee8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 10 15:12:02 2010 +0100
s4:objectclass LDB module - allow RDNs also to come from superclasses
Detected by a testcase written by Zahari Zahariev.
commit 4f86f297a22655067006f88eed5f6cb980742b81
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 9 15:04:47 2010 +0100
s4:passwords.py - add a test for the normal "userPassword" behaviour
Just to make sure that this works now too
commit 7f171a9e0f9b5945bd16a1330ba0908090659030
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 9 14:39:30 2010 +0100
s4:password_hash and acl LDB modules - handle the "userPassword" attribute according to the "dSHeuristics"
commit d6c78fbd3a88e9fc7b625a03d163e9b5098b94d6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 9 14:45:18 2010 +0100
s4:password_hash LDB module - move "samdb_msg_find_old_and_new_ldb_val" into the password_hash LDB module
It's only used there and so I think it doesn't really belong in
"dsdb/common/util.c" (I first thought that it could be useful for ACL checking
but obviously it wasn't).
commit eff1e8cd5d17ca990341e463da03fb1075bdb0d0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 9 18:46:37 2010 +0100
s4:libnet/libnet_samsync_ldb.c - remove "userPassword" remove code
It could also be a normal attribute with a normal content, and if it's not
like that then it's for sure empty.
commit 39f86619f5f30461d3c1896e88b6b3df2b51a26e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 9 18:42:26 2010 +0100
s4:local_password LDB module - remove schema checking code and fix some typos
This is now done by the "objectclass_attrs" LDB module.
commit ed704c28b2f24228b61dee21d873f6b09bf98ca4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 9 19:44:27 2010 +0100
s4:ldb_modules/util.c - "dsHeuristics" -> "dSHeuristics"
commit 79548f0da243884d60845f61fe2404e26eb52f65
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Nov 11 10:01:26 2010 +0100
s4:selftest/tests.py - skip the "passwords.py" suite on Windows 2000 domain function level
The "userPassword" password change functionality isn't available and so it
causes big parts of the testsuite to fail. On the other hand we've basic tests
in "acl.py" and indirectly also over SAMR and kpasswd so I propose to simply
skip it.
commit 5ded90ef66744e8919868362ac455bdbf4b1568b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Nov 11 09:33:06 2010 +0100
s4:acl.py - two password change tests are expected to fails on Windows 2000 function level
commit 2403aaa7591e1827d91644579dbf503d8e9a7df6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 10 14:01:58 2010 +0100
s4:upgradehelpers.py - use "clearTextPassword" rather than "userPassword"
It's the default internal s4 password change attribute
commit 7c59ecec5078c0ab8587bb322a228419f5a8c978
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 10 13:26:31 2010 +0100
s4:speedtest.py - use "unicodePwd" for setting user's password
It's available on all AD hosts (including Windows 2000) and on all configurations!
commit 0e945697f59b7215d46af0709ac698f7483850df
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 10 13:28:22 2010 +0100
s4:speedtest.py - remove duplicated code
commit 0a29e552cb29cadbb75e64d8cc1278891132a7b0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 10 13:37:46 2010 +0100
s4:speedtest.py - fix script name in the help text
commit ed1ca1c49e10c9f97aa1334f9aedf631352d144c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 10 13:29:14 2010 +0100
s4:speedtest.py - make it executable
commit cc7f390bf940a2f009e16c3811e38424d62ca2dd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 10 13:35:30 2010 +0100
s4:python tests - fix script names in the help text
commit bb61529e58e44d62da44fec35cdb16c1feeb696d
Author: Björn Jacke <bj at sernet.de>
Date: Wed Nov 10 00:40:29 2010 +0100
s3/vfs_time_audit: use monotonic clock for time deltas
commit cc2d13f7f3cfdcc1ed710612ebaee985e81d9a25
Author: Jeremy Allison <jra at samba.org>
Date: Wed Nov 10 17:54:57 2010 -0800
Add test that detects problems in the SMB signing code when run through cli_write() (which doesn't use the new async methods).
Unfortunately, and I think due to the socket wrapper code, this doesn't
detect the failure on the build farm, but running the RW-SIGNING test
separately against a Samba or Windows server using signing does.
Jeremy.
(cherry picked from commit ac0ffba004160693ea5829775d732146ef261c47)
commit 254d3da934086e0bbfb74f23167eefbcc0759e1a
Author: Jeremy Allison <jra at samba.org>
Date: Wed Nov 10 17:59:05 2010 -0800
Fix bug #7791 - gvfsd-smb (Gnome vfs) fails to copy files from a SMB share using SMB signing.
The underlying problem is that the old code invoked by cli_write() increments
cli->mid directly when issuing outstanding writes. This should now be done only
in libsmb/clientgen.c to make metze's new signing engine works correctly. Just
deleting this code fixes the problem.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Thu Nov 11 02:50:08 UTC 2010 on sn-devel-104
(cherry picked from commit 0afb2995a2177afa2eb7b8f99887a39cdaf23a15)
commit ee50bdd42f01bfcebb2e75a923a01fa1d18e5694
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 11 13:56:44 2010 +1100
s4-loadparm: fix the FLAG_DEFAULT settings on specially handled parameters
parameters with special handlers also need to clear the FLAG_DEFAULT
flag when set
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Thu Nov 11 03:39:23 UTC 2010 on sn-devel-104
commit 21fe96e8f9e1f3f3d047ed893633228c2aef881c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 11 13:09:29 2010 +1100
s4-provision: include command line provision options in the generated smb.conf
this saves the smb.conf using lp.dump_globals() to ensure that any
command line options (for example directory overrides) are saved in
the generated smb.conf
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 60cb372bd6c874af1050ff3d723bacee8c9cbf8e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 11 11:18:48 2010 +1100
s4-devel: useful script for testing join with empty smb.conf
this sets up all the needed --options for a join with a prefix other
than the one compiled in
commit e908c263916c1e18468054d8a0416e5a1425c25d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 11 11:16:23 2010 +1100
s4-test: use IPC$ instead of ADMIN$ for srvsvc NetShareGetInfo test
IPC$ is guaranteed to exist on servers that do RPC, whereas ADMIN$
isn't
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 81c9b98ecd6b0b4ec412ea7a0963002dc17f4f66
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 11 10:45:13 2010 +1100
s4-join: use the command line loadparm in provision during a join
this allows a join with an empty smb.conf to override locations of
files correctly with --option
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 1d7d09a8f72a9f7f888538b7f7c63969407e9c2d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 11 10:39:19 2010 +1100
s4-loadparm: fixed dumping of non-default parms with testparm
when using testparm without -v we should only dump non-default
parameters. This patch fixes up the handling of the FLAG_DEFAULT flag
in loadparm to correctly mark parameters as default or not, including
parametric options
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ed8ea4ed18f08bfc93190513f2a2e8e058655daf
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 11 10:35:38 2010 +1100
s4-server: move the creation of the IPC$ share into ntvfs
the IPC$ share is only used by the ntvfs backends, and doesn't need to
be created on every load of smb.conf. This fixes a problem with
testparm showing the ipc$ share when it isn't defined in smb.conf.
This also removes the admin$ share, which really shouldn't be on by
default. The admin$ share is used for remote software installation,
and normally exposes the c:\windows directory on a windows
server. That makes no sense on Samba. If for some reason a admin$
share is needed, then the admin can create one as usual. Exposing /tmp
via admin$ by default seems like a bad idea.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0afb2995a2177afa2eb7b8f99887a39cdaf23a15
Author: Jeremy Allison <jra at samba.org>
Date: Wed Nov 10 17:59:05 2010 -0800
Fix bug #7791 - gvfsd-smb (Gnome vfs) fails to copy files from a SMB share using SMB signing.
The underlying problem is that the old code invoked by cli_write() increments
cli->mid directly when issuing outstanding writes. This should now be done only
in libsmb/clientgen.c to make metze's new signing engine works correctly. Just
deleting this code fixes the problem.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Thu Nov 11 02:50:08 UTC 2010 on sn-devel-104
commit ac0ffba004160693ea5829775d732146ef261c47
Author: Jeremy Allison <jra at samba.org>
Date: Wed Nov 10 17:54:57 2010 -0800
Add test that detects problems in the SMB signing code when run through cli_write() (which doesn't use the new async methods).
Unfortunately, and I think due to the socket wrapper code, this doesn't
detect the failure on the build farm, but running the RW-SIGNING test
separately against a Samba or Windows server using signing does.
Jeremy.
commit c4c230bd0fb25a0433e36c4e4a315268ff44fbe0
Author: Björn JACKE <bj at SerNet.DE>
Date: Thu Nov 11 10:12:07 2010 +1100
autobuild: perfer to use git mail address in autobuild comment
Signed-off-by: Andrew Tridgell <tridge at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Nov 10 23:56:37 UTC 2010 on sn-devel-104
commit ec50db61fa6f3cf026c1f0f40528587b3dec8da3
Author: Günther Deschner <gd at samba.org>
Date: Wed Nov 10 15:21:15 2010 +0100
s4-smbtorture: use test_GetPrinterData{Ex}_checktype calls in RPC-SPOOLSS tests.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Nov 10 15:07:12 UTC 2010 on sn-devel-104
commit 1c579318ae2d2480ee4cc998443c0d1661b39846
Author: David Disseldorp <ddiss at suse.de>
Date: Fri Nov 5 15:24:22 2010 +0100
s3-spoolss: fix spoolss GetPrinterData behaviour
Windows sends spoolss GetPrinterData requests with an offered buffer
size of zero, Model and TrayFormTable data is commonly requested in
this way.
Samba's GetPrinterData response for the above case includes the correct
error code (WERR_MORE_DATA), however the type field is set to REG_NONE.
This causes Windows (seen on XP and 2k3) to give up on the request.
If the type field is retained (not set to REG_NONE) when responding with
WERR_MORE_DATA, Windows reissues the GetPrinterData request with an
increased offered buffer size.
Signed-off-by: Günther Deschner <gd at samba.org>
commit fa0b44ed9c31baf19c70aa47a25233c947c0ae05
Author: Günther Deschner <gd at samba.org>
Date: Wed Nov 10 10:19:01 2010 +0100
s4-smbtorture: allow to test returned type after specific error code in PrinterData tests.
Guenther
commit fa203f4541190b01b1f82f1ff9a47c31152c2412
Author: Björn Jacke <bj at sernet.de>
Date: Wed Nov 10 12:39:41 2010 +0100
s3/time_audit: fix a change that was just for debuggin purposeÑ
Autobuild-User: Björn Jacke <bjacke at samba.org>
Autobuild-Date: Wed Nov 10 12:28:41 UTC 2010 on sn-devel-104
commit 7e3419f32f0a46cbd4926cbc98bf54da27749d31
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Nov 9 00:21:57 2010 +0200
s4-pyldb: Handle internal errors in py_ldb_contains() properly
It is an exceptional condition for ldb_search() to return
more than one results during SCOPE_BASE search on DN
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Wed Nov 10 09:02:00 UTC 2010 on sn-devel-104
commit 38585a74905185e87494c7326d248495b5e01e49
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Nov 8 23:57:31 2010 +0200
s4-pydsdb: py_dsdb_am_rodc() may call samdb_rodc() only once to get the job done :)
commit d073c5f23ae6563a65af73fd6dc88886099011da
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Nov 8 23:50:23 2010 +0200
s4-pydsdb: py_dsdb_load_partition_usn() - simplify error handling in
and print on which partition error has occured
commit 89440dd617eb4ff64cda8bf97f1f22ddf94bf717
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Nov 8 23:40:14 2010 +0200
s4-pydsdb-py_samdb_ntds_objectGUID(): Avoid potential memory leak
in case py_ldb is not a valid LDB
commit 06b0596537e66ed928b24af059ada0472a375f3b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Nov 8 23:36:09 2010 +0200
s4-pydsdb-py_dsdb_get_oid_from_attid(): Avoid potential memory leak
in case py_ldb is not a valid LDB
commit ad5a399d54fba103822ba9cbea4515d52eafd1fe
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Nov 8 23:09:44 2010 +0200
s4-pydsdb.c: Fix small memory leak in py_samdb_set_domain_sid()
commit 4b978b36a950ad7082e8d4b89d43020e0b13d8bc
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Tue Nov 9 22:58:39 2010 +0200
s4/syntax: Add tests for DN+String and DN+Binary
These tests aim to verify the behavior for 2.5.5.7 and 2.5.5.14 syntaxes.
Autobuild-User: Anatoliy Atanasov <anatoliy at samba.org>
Autobuild-Date: Wed Nov 10 06:57:04 UTC 2010 on sn-devel-104
commit a95970d3b7eb8913f026395084c909548c5f7b6b
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 9 16:55:43 2010 -0800
Fix memleak I accidently introduced when reading from tdb.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Wed Nov 10 01:56:21 UTC 2010 on sn-devel-104
commit f0dcc90f726e1232a4e0b74a03784281ea9a7cdc
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 9 15:07:49 2010 -0800
Fix bug 7781 - Samba transforms ShareName to lowercase (sharename) when adding new share via MMC
Change the find_service() interface to not depend on fstring, and
create a useable talloc-based interface.
Jeremy.
commit 3878fa4c435140bd2e3c59f8bdb932fe19e4c13a
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 9 13:24:03 2010 -0800
Ensure we check the return from make_user_info before dereferencing the value returned by it.
Jeremy.
commit 9997ee813b8ceeb7016355bbc07651db7f6b2d5a
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 9 12:07:25 2010 -0800
Remove fstring from map_username. Create a more sane interface than the called-parameter-is-modified.
Jeremy.
commit 692a7477dd3b1a40df58de09a02754dbaecb07d6
Author: Björn Jacke <bj at sernet.de>
Date: Wed Nov 10 00:40:29 2010 +0100
s3/vfs_time_audit: use monotonic clock for time deltas
Autobuild-User: Björn Jacke <bjacke at samba.org>
Autobuild-Date: Wed Nov 10 01:13:22 UTC 2010 on sn-devel-104
commit 2791ecb6937bfc280280844829a1abd9477778fe
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 9 16:53:45 2010 -0800
Fix memleak I accidently introduced when reading from tdb.
commit 067b0401e01112c9794684bf21b7c4a40971de9e
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 9 16:39:24 2010 -0800
Fix bug 7781 - Samba transforms ShareName to lowercase (sharename) when adding new share via MMC
Change the find_service() interface to not depend on fstring, and
create a useable talloc-based interface.
Jeremy.
commit db45088ebdd0922bbaa8bf3b277b752d6637cad1
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 9 13:24:03 2010 -0800
Ensure we check the return from make_user_info before dereferencing the value returned by it.
Jeremy.
(cherry picked from commit eb425e9597dc14729d9df697b7767286901f8d9f)
commit dc7a475e98ff2e81bdf3439cc22925034c51380e
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 9 16:32:45 2010 -0800
Remove fstring from map_username. Create a more sane interface than the called-parameter-is-modified.
Jeremy.
commit f7e54c014e8d62356639b366e14373b33ec1ba17
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 10 09:57:25 2010 +1100
s4: point to the wiki howto for s4
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Tue Nov 9 23:38:28 UTC 2010 on sn-devel-104
commit 13020349e16e7692fdbd9b88e3f158edd2e42736
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 10 09:14:57 2010 +1100
s4-join: raise mininum password length to 32 in new join code
commit 3c496f37c46fb2181c3afecc76e0fa9c3b307f11
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 9 19:50:40 2010 +0100
s4:dsdb/operational.c: use DSDB_SECRET_ATTRIBUTES_EX()
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Nov 9 22:43:44 UTC 2010 on sn-devel-104
commit 987898866e2c1ed28538f58fbb2701a43403bccf
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 9 20:29:17 2010 +0100
s3: Quieten a bogus error message
This happens if you set "auth methods = winbind" without a fallback method.
The return NT_STATUS_LOGON_FAILURE; is not strictly require here, because we
fall through to the equivalent statement a few lines down, but it makes the
code a bit clearer IMO.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Nov 9 20:15:59 UTC 2010 on sn-devel-104
commit dedc9e32e57efa86475c32e6196b748df786892d
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 9 22:22:40 2010 +0100
s4:dsdb/common: add DSDB_SECRET_ATTRIBUTES_EX()
metze
commit 2fba9500b380c14abd772a938a5c884521013b14
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 9 19:50:17 2010 +0100
s4:dsdb/local_password: use DSDB_SECRET_ATTRIBUTES
metze
commit 9f39d4bfa4048dceaef98876085fe6a0263c80d5
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 9 19:49:29 2010 +0100
s4:dsdb/schema/schema_filtered.c: make never_in_filtered_attrs static const
metze
commit 44b1c82e845bde1461ff514c54253b0356adebeb
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 9 19:48:55 2010 +0100
s4:dsdb/schema/schema_filtered.c: use DSDB_SECRET_ATTRIBUTES
metze
commit 198049f3c6766b932db0daad9d1d12ccb629edbf
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 9 19:53:45 2010 +0100
s4:rpc_server/drsuapi: don't ask for constructed "distinguishedName" if we don't use it
metze
commit f6e20bf52f5c0a604584a1f50fff1930edc644e1
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 9 19:52:49 2010 +0100
s4:rpc_server/drsuapi: make msg_attrs static const
metze
commit 9fa71f8f573b34c51ec0415917c3c970134eb757
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 9 19:45:31 2010 +0100
s4:rpc_server/drsuapi: let dcesrv_drsuapi_DsGetNCChanges() use DSDB_SECRET_ATTRIBUTES
We should replicate all secret attributes back to other DCs.
metze
commit 0e3a13f8cc2d1d56062945a9ccd9ab33153a2247
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 9 19:44:12 2010 +0100
s4:dsdb/common: create a DSDB_SECRET_ATTRIBUTES define with all secret attributes
We should have them just in one place, so that we don't forget some of them.
metze
commit c83a40ddbfe0710b9206f98f811bbf9056870ebe
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 9 20:29:17 2010 +0100
s3: Quieten a bogus error message
This happens if you set "auth methods = winbind" without a fallback method.
The return NT_STATUS_LOGON_FAILURE; is not strictly require here, because we
fall through to the equivalent statement a few lines down, but it makes the
code a bit clearer IMO.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Nov 9 20:15:59 UTC 2010 on sn-devel-104
commit 00ed020a40b99b55eb489bc583a3d56a249673a2
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 9 08:38:27 2010 -0700
s3: Package autorid module
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Nov 9 16:21:48 UTC 2010 on sn-devel-104
commit 5f3747385776eac1901798aef07364ae8f79f64c
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 9 08:38:27 2010 -0700
s3: Package autorid module
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Nov 9 16:21:48 UTC 2010 on sn-devel-104
commit 8a5649bd0986319a23e3b98599077888e88d0b14
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 9 15:06:48 2010 +0100
raw.h is only needed in the S4 build
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Nov 9 14:49:14 UTC 2010 on sn-devel-104
commit eb769f223470192943a08944426753b5adca3bcb
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 9 15:06:48 2010 +0100
raw.h is only needed in the S4 build
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Nov 9 14:49:14 UTC 2010 on sn-devel-104
commit 3c8283da41de1c47e951e61e33feaa2dc2d86f74
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 9 13:27:57 2010 +0100
s4:provision_self_join.ldif - the object SID in AD is called "objectSid"
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Tue Nov 9 13:18:29 UTC 2010 on sn-devel-104
commit fd9fc251fb506191a0f5b1de1a8274f8d28aefe7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 9 13:25:12 2010 +0100
s4:provision.py - strip trailing whitespaces
commit bd5039546e520b6d6897a658bc0a358f0511f7c7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Nov 9 13:22:00 2010 +0100
s4:provision - switch to "clearTextPassword" for setting passwords
This is the default password set/change attribute for s4 specific purposes
(otherwise in respect to Windows it's "unicodePwd"). We move away from
"userPassword" since on Windows it's not activated by default - and s4 will
follow soon.
commit d1d585e208bf60729e0c064be7f419ead02875b8
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Nov 9 10:22:48 2010 +1100
s4-test: make sure the selftest prefix exists
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Tue Nov 9 00:05:22 UTC 2010 on sn-devel-104
commit 9efb0d0cb8e6470d508be1ec066eb24afa7d6a10
Author: Björn Jacke <bj at sernet.de>
Date: Mon Nov 8 21:14:44 2010 +0100
s3/configure: fix typo and warning
Autobuild-User: Björn Jacke <bjacke at samba.org>
Autobuild-Date: Mon Nov 8 20:58:20 UTC 2010 on sn-devel-104
(cherry picked from commit 842a8e43129d821ebf08cdf4fcba54d3789de756)
commit 9c7228d6aa5e63d4d14cce84349edef04f61bf68
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Nov 9 10:05:49 2010 +1100
s4-drs: reduce verbosity of dreplsrv_out_connection_attach
commit eee27427d23608522f2b20e7bf348a0dd790e643
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Nov 9 08:51:20 2010 +1100
heimdal: fixed a shadowed variable warning for error_message
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0aeb08e2eb1725ef41b6796a55a020520d13c6f7
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Nov 8 16:27:22 2010 +0200
s4-attid: Uppercase ATTID type constants
Thanks Metze for noting this!
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Mon Nov 8 23:06:41 UTC 2010 on sn-devel-104
commit ee34e2c94bccb90f6518c401192c5f04ae509d25
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Nov 7 04:41:50 2010 +0200
s4-test: Initial implementation for Schema replication black box test
commit 3a5f03015bf400268eb9d00747189aa5aefdeda9
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 8 13:41:34 2010 -0800
Second part of fix for bug #7777 - When requesting lookups for BUILTIN sids, winbindd allocates new uids/gids in error.
Ensure we return after calling passdb for SID lookups for which we are
authoritative.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Mon Nov 8 22:24:34 UTC 2010 on sn-devel-104
commit 925b777b4b4d25f553b78546eb208a2235cfbce1
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 8 13:41:34 2010 -0800
Second part of fix for bug #7777 - When requesting lookups for BUILTIN sids, winbindd allocates new uids/gids in error.
Ensure we return after calling passdb for SID lookups for which we are
authoritative.
Jeremy.
(cherry picked from commit c33cf595cd5a98051fb2751a01a86aaa96c97413)
commit b751c99153df2b55eddd931b5882c456148eae5e
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 8 13:39:51 2010 -0800
Ensure we always have a mapped group for "Domain Users".
Needed for DC tests to pass with bugfix for bug #7777.
Jeremy.
(cherry picked from commit 092507c65a1a2fe2c3731248578a265a20bbe14e)
commit 3017bd99d6807c1ac6650a0dbb370d427ef6a950
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 8 13:38:13 2010 -0800
First part of fix for bug #7777 - When requesting lookups for BUILTIN sids, winbindd allocates new uids/gids in error.
Ensure idmap_init_passdb_domain() correctly initialized the default
domain first.
Jeremy.
(cherry picked from commit 42f9ae875659e9e698a2875cf313c0d2173f94b2)
commit 092507c65a1a2fe2c3731248578a265a20bbe14e
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 8 13:39:51 2010 -0800
Ensure we always have a mapped group for "Domain Users".
Needed for DC tests to pass with bugfix for bug #7777.
Jeremy.
commit 42f9ae875659e9e698a2875cf313c0d2173f94b2
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 8 13:38:13 2010 -0800
First part of fix for bug #7777 - When requesting lookups for BUILTIN sids, winbindd allocates new uids/gids in error.
Ensure idmap_init_passdb_domain() correctly initialized the default
domain first.
Jeremy.
commit 842a8e43129d821ebf08cdf4fcba54d3789de756
Author: Björn Jacke <bj at sernet.de>
Date: Mon Nov 8 21:14:44 2010 +0100
s3/configure: fix typo and warning
Autobuild-User: Björn Jacke <bjacke at samba.org>
Autobuild-Date: Mon Nov 8 20:58:20 UTC 2010 on sn-devel-104
commit 124abb37bf6acfe3c5c7d0c9da0ba201629a9444
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 8 15:42:29 2010 +0100
s4:password_hash LDB module - introduce a "userPassword" flag which enables/disables the two "userPassword" behaviours
- Enabled: "userPassword" password change behaviour (will later be linked to the
"dSHeuristics")
- Disabled: "userPassword" plain attribute behaviour (default)
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Nov 8 15:28:06 UTC 2010 on sn-devel-104
commit 422233c563232e784e4fa274782fe60900037762
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 8 15:24:41 2010 +0100
s4:pyldb.c - fix "py_ldb_contains" according to the comment by Jelmer
commit 528edcc789ed4712925e33005fcd5f355ddba1b6
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 8 14:34:51 2010 +0100
s3-waf: add idmap_autorid to the build.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Nov 8 14:17:27 UTC 2010 on sn-devel-104
commit 1b3caef289e96c8a4840068ff73de25da1978ae4
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 8 12:59:59 2010 +0100
s3: Fix an uninitialized variable
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Nov 8 13:22:06 UTC 2010 on sn-devel-104
commit 44acd4c557ce9610763be731184ac20f256a9aa1
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 8 12:54:49 2010 +0100
s3: Build idmap_autorid by default
commit 373c06534987296b9f3fa84222230ca57ad4a7b2
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Wed Jul 7 12:35:36 2010 +0200
s3:idmap: add a new ID mapping module autorid
This is an initial implementation of the idmap_autorid module.
It works similar to the idmap_rid module but requires less
configuration. It will automatically pick ranges for each domain,
so you do not have to bother any more about adding an idmap
configuration for all of the domains in the forest.
This is very easy to use and to configure and much more
deterministic and faster than idmap_tdb, the typical choice
of Samba users up to now.
commit 51e15370e5559084e8849e2dc8f1d65b02f04b83
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Fri Oct 29 15:53:20 2010 +0200
s3:winbind add wcache_tdc_fetch_domainbysid
add a function to lookup a domain in the winbind cache by domain SID
commit 64e5f22175a901fe8df2cd978e694681dfbe179e
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 8 11:55:07 2010 +0100
s3: Put some parentheses around conditionals
commit c616d73cbec1450d21d79e152494e869dc4e93f9
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 8 11:50:51 2010 +0100
s3: Consistently use stdbool types in new code
commit 1d826c24fd4fa9923f79761d00a0e906fab29c2c
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Thu Nov 4 17:10:25 2010 +0100
s3:winbind add timeouts to winbind cache
This adds a timeout value to cache entries and the NDR records
in the winbind cache.
The previous approach of just comparing the sequence number has some issues,
e.g. when retrying a wbinfo -n operation for a user in a not yet trusted
domain was always failing even after the trusted domain was added.
The new approach compares sequence number and timeout value to
determine if a cache entry is still valid or not.
I increased the cache version number so an old cache will be wiped
automatically after upgrade.
commit 8b624c1d2084a58f20fd310a47b241cfb2488e49
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 8 12:59:59 2010 +0100
s3: Fix an uninitialized variable
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Nov 8 13:22:06 UTC 2010 on sn-devel-104
commit d6d2f8a8f2b860cc587d21b3d934ed428edc08ad
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 8 12:54:49 2010 +0100
s3: Build idmap_autorid by default
commit 9aab4149afcfb934057744ce8b9a054d1fdabdc5
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Wed Jul 7 12:35:36 2010 +0200
s3:idmap: add a new ID mapping module autorid
This is an initial implementation of the idmap_autorid module.
It works similar to the idmap_rid module but requires less
configuration. It will automatically pick ranges for each domain,
so you do not have to bother any more about adding an idmap
configuration for all of the domains in the forest.
This is very easy to use and to configure and much more
deterministic and faster than idmap_tdb, the typical choice
of Samba users up to now.
commit 51ddddfa9f832d1a9aa207c7a13393e3c11b5dc3
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Fri Oct 29 15:53:20 2010 +0200
s3:winbind add wcache_tdc_fetch_domainbysid
add a function to lookup a domain in the winbind cache by domain SID
commit 69155e41037d42ca58efa7ef749cb05654ac27e2
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 8 11:55:07 2010 +0100
s3: Put some parentheses around conditionals
commit cbe399155dd2884f9a350d43b4334b504ec57507
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 8 11:50:51 2010 +0100
s3: Consistently use stdbool types in new code
commit 57b3d32c8d87c4273d30d73fe2bfd3de0178945d
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Thu Nov 4 17:10:25 2010 +0100
s3:winbind add timeouts to winbind cache
This adds a timeout value to cache entries and the NDR records
in the winbind cache.
The previous approach of just comparing the sequence number has some issues,
e.g. when retrying a wbinfo -n operation for a user in a not yet trusted
domain was always failing even after the trusted domain was added.
The new approach compares sequence number and timeout value to
determine if a cache entry is still valid or not.
I increased the cache version number so an old cache will be wiped
automatically after upgrade.
commit 58cfa5a82519e2850cb400bb9f1e76d3dbfd3ff2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 1 19:54:07 2010 +0100
s4:passwords.py - test empty password attributes behaviour
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Nov 8 12:09:56 UTC 2010 on sn-devel-104
commit 0bfbf6d5264fb45d9b788a9dabad18826db1a875
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 8 11:33:53 2010 +0100
s4:password_hash LDB module - deleting password attributes is a little more complicated
commit 9154d4dcfc142c0a549993f2e1083eb52a759213
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 7 22:08:19 2010 +0100
s4:samdb_msg_find_old_and_new_ldb_val - rework
- don't crash when no values where specified
- return ERR_CONSTRAINT_VIOLATION on malformed messages
- only check for flags when we are involved in a LDB modify operation
commit 6041ef7442fda2f96c416d333f1dfc6dabd0d252
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 8 11:31:16 2010 +0100
s4:password_hash LDB module - clear the fact that a delete of password attributes isn't possible
commit d4c9a34cf82abea5497dc2a8072ed2a67894e0ea
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 7 22:37:39 2010 +0100
s4:acl LDB module - define the delete passwords special case a bit better
commit acffe258960c261903eefce630bbf02acbef1348
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 7 22:35:29 2010 +0100
s4:passwords.py - add another two failure cases
commit 9aa0ed2c3a74c6d72e42e4bc9e6077a50343fd38
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 17:50:25 2010 +0100
ldb:pyldb.c - "py_ldb_msg_element_get" - here we can safely use "unsigned int" for the element reference
We don't make use of "Py_List*" calls
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Nov 8 11:21:27 UTC 2010 on sn-devel-104
commit ef4861d9263d1a17396c58abc7ad0c5837a1b52c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 17:49:18 2010 +0100
ldb:pyldb.c - "py_ldb_contains" - return only "0" not found, "1" found, "-1" error
commit 7bdbfc96037640dbd352e9ddab9c5e1ded9502fa
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 16:29:27 2010 +0100
ldb:pyldb.c - most of the times "time_t" is defined as "long int"
Therefore use a signed long int for conversions.
http://stackoverflow.com/questions/471248/what-is-ultimately-a-time-t-typedef-to
commit 9e5ca72afbe74d88a1da33b6957b0914262f106c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 18:03:22 2010 +0100
ldb:pyldb.c - fix some "Py_ssize_t" output warnings
commit f6572e5ffc62ac41d3a180e0636129b40980f9dd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 17:48:39 2010 +0100
ldb:pyldb.c - use "Py_ssize_t" for counting list entries
This seems to be the most appopriate type
commit 084c11d600e61b3c1b4c36b8440c67b37731d16c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 16:29:06 2010 +0100
ldb:pyldb.c - fix indentation
commit af84b6d32514525a52e0b6529b36a53943fb7a7a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 16:28:33 2010 +0100
s4:pydsdb.c - use "Py_ssize_t" for Python list counters
Seems to be the most appropriate type
commit 9f2d21561b85edde541d7dbc69ee1fe58c029f81
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 17:54:36 2010 +0100
s4:pydsdb.c - introduce Python 2.4 compatibility defines
commit 4b97e7c8f20b125015417bcf440128f843ac648f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 8 10:16:45 2010 +0100
s4:objectguid/repl_meta_data LDB module - deny "objectGUID" updates
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Nov 8 10:36:50 UTC 2010 on sn-devel-104
commit 8caf0ed90980d4118878f0cda10eba8004a8dd4d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 8 10:26:02 2010 +0100
s4:objectclass LDB module - no idea why we'd need the "objectGUID" here
commit bb2eef52950166bd50b7ea403097504faa5f720a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 8 10:31:49 2010 +0100
s4:objectguid LDB module - make use of "dsdb_next_callback"
commit e2efb098ab5be25f3546c830313218c3f0b7af6e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 8 09:58:59 2010 +0100
s4:drsuapi RPC server - writespn.c - fix indentations
commit b38a9a8999949733e98be52fafd1b3a7a2317116
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 8 19:01:36 2010 +1100
s4-drs: allow bypass of writespn checking for some SPNs
this allows accounts (and in particular RODCs) to make SPN updates on
their own account if they take the form SERVICE/hostname
we may be able to remove this in the future after some changes in our
ACL checking for userPrincipalName
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Nov 8 08:45:16 UTC 2010 on sn-devel-104
commit cb3d6c407e9ab3e5e8dffeae5e2e77769056d75a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 8 17:38:38 2010 +1100
heimdal Add clock-skew handling to DCE-style GSSAPI
The clock skew handling was previously only on properly wrapped
GSSAPI, and was skipped for DCE-style. This allows the ASN.1 errors
from the krb5_rd_req to suggest parsing as a kerberos error packet.
Andrew Bartlett
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Nov 8 07:58:09 UTC 2010 on sn-devel-104
commit 10c82d0619f71e8c6dac5755d2b327c2a543cca4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 8 16:55:17 2010 +1100
s4-auth Supply more useful error messages on Kerberos failure
The practice of returning only NT_STATUS_INVALID_PARAMETER hasn't
helped our users to debug problems effectivly, and so we now return
more errors and try and give a more useful debug message when then
happen.
Andrew Bartlett
commit cd4c3d6d7ba987abf7b2ae7b826b9ef0c8cb0f2f
Author: Brad Hards <bradh at frogmouth.net>
Date: Mon Nov 8 12:15:50 2010 +1100
s4-auth Fix typos in samba4 auth code
commit 3c4376c4d8dbd7c5db52df7442ec410dbfb06e62
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 8 12:13:32 2010 +1100
s4-dsdb Explain why we may not use the GC name in some situations.
This delicate balance caused us a bit of a puzzle when we could not work
out why an DC join failed with the new python scripts.
Andrew Bartlett
commit e77e162b973632b9717b48548b3b88e2ef2fd896
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Nov 6 13:48:31 2010 +1100
s4-selftest fix indentation
commit 11b42022c7f1fe60ce0be0911f17a7ff70881986
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 8 17:14:09 2010 +1100
s4-repl: fixed replication notifications to RODCs
We need a separate source dsa list for RODCs, as they are not in the
repsFrom for our partitions, but are in the repsTo. This adds a new
'notifies' list, which contains all the source dsas for the DCs that
we should send notifies to, but which we don't replicate from
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Nov 8 06:57:43 UTC 2010 on sn-devel-104
commit 2763ede39937f9a0df2c6d0edf8532ce5e6f3e39
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 8 17:13:12 2010 +1100
fix
commit ac0a92b5b325a3be968d2f7384c6a4a119d0ec84
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 8 16:02:21 2010 +1100
s4-debug: lowered the debug level of some unimportant messages
commit 7bd5d402081bd7cd4cfeb2641bf011ad68be6443
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 8 15:46:09 2010 +1100
s4-ldb: don't give an error if a module is already registered
this can happen when both the build and install paths are used to load
ldb modules
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Nov 8 05:28:14 UTC 2010 on sn-devel-104
commit 87595232951cf4d6fe5e3bd9ebdc71f1442b581c
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 8 15:45:18 2010 +1100
waf: go back to the previous method of handling .inst. rules
the change broke the library linkages for some library, as spotted by
Brad
commit e427f2fc813d96a59fc3a98f6a94df209c301d2b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 8 12:47:09 2010 +1100
waf: fixed the names of the installed libraries after the last change
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Nov 8 02:31:18 UTC 2010 on sn-devel-104
commit 5a6a9ea45c248281314bf8d4beb520db79055d02
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 8 11:55:02 2010 +1100
s4-dns: ensure we get the right case on the grant rule for administrator
it may be 'Administrator' in the database, and bind match rules are
case sensitive
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Nov 8 01:41:43 UTC 2010 on sn-devel-104
commit c0297e5e89c48153a6f34f2585f9934bae2b2fbe
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 8 11:11:32 2010 +1100
waf: fixed tabs/spaces for python3.0
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Nov 8 00:55:13 UTC 2010 on sn-devel-104
commit b867dc9ea204cfd449ba26f238f1fe733330fe75
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 8 11:01:13 2010 +1100
waf: prevent us from modifying non-install libs during make install
we need to ensure that 'make install' does not change any of our build
libraries, and only changes the .inst.so libraries, otherwise doing a
make test in the build directory directly after a make install could
use the installed libraries, which would mean using the wrong
LDB_MODULES_PATH
this could cause the "unknown error" loading ldb modules when running
some commands directly after a make install
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d738a0448ddec6b1fb4491aabdf059ce837cb5ac
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 8 10:58:28 2010 +1100
s4-ldb: better error message when we try to register a module twice
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit cc5e23135560f1f298a58ef59ee87f1c195d1854
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 8 10:14:50 2010 +1100
s4-pydrs: validate the DsGetNCChanges response
check that object_count matches up with first_object
commit e59bf5efb5cf23ff21f2a2ac7dff8d211070a916
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 7 13:55:20 2010 +1100
s4-join: modify join behaviour according to domain level
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sun Nov 7 23:32:16 UTC 2010 on sn-devel-104
commit fc5fecb0b7d6bbbcf3613df302785176e4582b52
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 7 13:53:13 2010 +1100
s4-drs: allow override of the replica_flags
commit 18085b12360b5314730e0e82eee2204d44cb0939
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Nov 7 11:25:00 2010 +1100
s4-dsdb: give the DN on a shema attribute failure
commit 9ba7ce6acf0ea0679933fdac5e73925927673761
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 7 20:10:48 2010 +0100
s4:ldap.py - add more "objectGUID" related tests
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Nov 7 21:12:03 UTC 2010 on sn-devel-104
commit 225f1021060cc2a4cede905e84aa41304f273bee
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 7 20:10:29 2010 +0100
s4:objectguid LDB module - fix typo in output message
commit 2c76be76d5edad69c2daf5999266dddcbc2d1270
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 7 20:09:51 2010 +0100
s4:objectguid LDB module - objectGUIDs cannot be specified on add operations
commit c89bc8394d1a8b64cb211346c1de7e382f738a9e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 7 18:51:43 2010 +0100
s4:upgradeprovision - remove some "recalculate_sd" uses
We need "recalculate_sd" only when no external "nTSecurityDescriptor" change
is performed. Otherwise the recalculation is performed automatically.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Nov 7 18:52:42 UTC 2010 on sn-devel-104
commit 9057e603cf58b2fac5473df2999d6d0a704686b1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 1 17:51:36 2010 +0100
s4:descriptor LDB module - make the "nTSecurityDescriptor" attribute fully behave as in AD
- fix crash when provided "nTSecurityDescriptor" attribute is empty
- print out the correct error codes if it's provided multi-valued
- simplify the "recalculate_sd" control handling
commit 786a76720c10c01a9636c6cf892cce42d05d647d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 7 11:27:26 2010 +0100
s4:ldb_modules/util.c - "dsdb_get_single_valued_attr" - support the attribute fetch also on LDB add operations
We've to completely ignore the flags in that case.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Nov 7 11:10:23 UTC 2010 on sn-devel-104
commit d6d5f80348c949c2b4984b9f211d1fff02b50948
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 7 10:04:22 2010 +0100
ldb:ldb_pack.c - the "dn" attribute isn't allowed in the message part, only the "distinguishedName" one
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Nov 7 10:11:02 UTC 2010 on sn-devel-104
commit dbf747b6ffdb3e14a10fa920eefbfa8c2a8dbfcf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Nov 7 09:55:19 2010 +0100
s4:torture/dssync.c - remove unused variable
commit 7813fc4a0e48c40487f80eac9191fbc43508344e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 23:04:55 2010 +0100
s4:descriptor LDB module - save a pointer to the request message on the temporary "ac" context
This prevents two calls of "ldb_msg_copy_shallow".
commit 75ea7bd0045823765e2619456bc79f01e2651345
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 22:49:08 2010 +0100
s4:descriptor LDB module - by "dsdb_next_callback" we don't need anymore the default operation callback implementations
Only customised ones still need to remain.
commit 3b52902c1924606a3102a8fe92c835d387ade92e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 22:39:40 2010 +0100
s4:descriptor LDB module - remove a bit pointless memory context
For only one operation we do not need an additional "mem_ctx". "ac" should be
enough (see for example the samldb LDB module).
commit d58a4c55c1564a1b546a79631c1cc2fa5dcba523
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 22:38:15 2010 +0100
s4:descriptor LDB module - remove a "ldb_msg_sanity_check" call
This check (the structural objectclass) is performed in the objectclass LDB
module.
commit f1a8fbfc980d648253e96bee88676b7ce478c1de
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 22:27:13 2010 +0100
s4:descriptor LDB module - don't ignore referrals if we are executing an ordinary external search operation
Referrals are valid results.
commit 4217734a51adbcdf3dcf45599e119247958802af
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 7 02:05:51 2010 +0100
credentials: Lowercase library name,
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Nov 7 01:48:44 UTC 2010 on sn-devel-104
commit e28cec7817f17d31e054c021f39f13685c55eee9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 7 01:57:34 2010 +0100
ldbsamba: Lowercase library name.
commit 0878399bd57db88aa49ac2a0a139c269feda9137
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 7 01:52:13 2010 +0100
samdb: Lowercase library name.
commit e7c371996deb2d1517d2a7b8d7aa0ff75d7138ce
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 7 01:44:26 2010 +0100
samdb: Make private (at least for the moment).
commit 0d6f1a1630a3b26169fd68535d0ab97aa301913c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 5 13:48:34 2010 +0100
pytalloc: Make some arguments optional.
commit 3d443b3797dd81133990a48b6021dcf529cc5497
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 21:22:53 2010 +0100
ldb:ldb_parse.c - "ldb_parse_hex2char" - always initialise "c"
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Nov 6 21:04:58 UTC 2010 on sn-devel-104
commit 39ed810feb8b042faedaf7bc836f34162ce5fb67
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 20:47:51 2010 +0100
s4:ldap.py - enhance the "distinguishedName" tests
The "dn" shortcut isn't supported by AD.
commit acb8a8d3304c8060e6039eac53a564d86331e264
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 20:23:35 2010 +0100
s4:update_keytab LDB module - we don't need to search for the "distinguishedName" attribute
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Nov 6 20:08:28 UTC 2010 on sn-devel-104
commit a093e10896a4768dba0cd793a04b7d5d1366fee2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 20:18:40 2010 +0100
s4:operational LDB module - "canonicalName" doesn't make use of the "distinguishedName" attribute
It uses the DN from the returned message
commit 1688b71ca4f762e61fde8c5f1bef9ceca6f694c9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 19:46:42 2010 +0100
ldb:ldb_tdb.c - ltdb_check_special_dn - fix indentation
commit 889fa1cac55b79a268dbbd63d836a0917b8a79a3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 19:38:47 2010 +0100
ldb:ldb_tdb.c - make "ltdb_add" more similar to "ltdb_modify"
And remove in "ltdb_add_internal" a cache loading call which has been present
twice.
commit 9ff8428c6f5f965c0811218d0f202bdceb1f1a0f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Nov 6 18:18:44 2010 +0100
s4:samr RPC server - "dcesrv_samr_RemoveMemberFromForeignDomain"
- Remove TODO comment: MS-SAMR 3.1.5.8.7 explicitly states:
"The SamrRemoveMemberFromForeignDomain method removes a member from all
aliases."
- Remove the search attributes since they aren't strictly needed.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Nov 6 18:07:57 UTC 2010 on sn-devel-104
commit 0980a3471ed8fcc3a37296857285dc0235e0e0d2
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Nov 6 13:41:34 2010 +0100
s4:DRS-RPC-DSSYNC: don't try to decrypt secret attributes twice
dsdb_extended_replicated_objects_convert() already decrypts the
attributes in place.
This fixes the usage of --option="dssync:print_pwd_blobs=yes".
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Sat Nov 6 13:30:16 UTC 2010 on sn-devel-104
commit ce203c001db8d9598b6432738abd3081e8d658b8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 6 14:44:33 2010 +1100
s4-cldap: fixed debug message to match content
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sat Nov 6 04:26:45 UTC 2010 on sn-devel-104
commit 2d52eea0289e8c61282eba26b8dbb8036ca6a04b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 6 14:35:30 2010 +1100
s4-join: fixed SPNs, invocationId and dnshostname and python join
- we need the GN/ SPN for replication.
- fixed the string form of the invocationId
- lowercase the dnshostname
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit a162b1a2d865c90441789640104adcd982e2bb75
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 18:57:36 2010 +1100
s4-join: switch over to the new DC join in make test
commit 724599de635608f13e0f2d500a59b8830ceede84
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 14:16:49 2010 +1100
samba-tool: deprecate samba-tool vampire command
commit 097be4b10175c3b2f039f7406aac1d21bb7824b3
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 5 15:48:44 2010 +0100
s3: Make proper use of sid_check_is_in_xx routines
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Nov 5 15:35:59 UTC 2010 on sn-devel-104
commit 26b2a132ffcd8485f06b349901796fb0367b62c7
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 5 15:44:55 2010 +0100
s3: Fix a typo
commit 5915d4a0b63882573a406a543f9cd5b72de061ff
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 5 15:38:28 2010 +0100
s3: Remove some duplicate prototypes
commit c1e3c8b550e10199ad29983cc759f6e259cac613
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Nov 5 09:43:05 2010 +0100
socket_wrapper: fill in sa.sa_len if the system supports it
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Fri Nov 5 14:40:00 UTC 2010 on sn-devel-104
commit 070664c4f790687f319b301b8ff998a0290f829c
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 5 14:58:52 2010 +0200
s3-reg_parse: fix uninitialized variable in srprs_key().
Guenther
(cherry picked from commit caeb819861e0d87aebc6c1253102529cba6dec56)
commit 54f05bbe807d1f09b75e2a49bc559afc75b03bdd
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 22 12:40:42 2010 -0700
s3-registry: fix some c++ build warnings.
Guenther
(cherry picked from commit fe4576dff0dd949d87a099afc6b66e4763537fdd)
commit 20e317e5722cc634f4a38f7fe17636efff41d338
Author: Gregor Beck <gbeck at sernet.de>
Date: Fri Sep 24 11:29:09 2010 +0200
s3:registry: proposed aix build fix for reg_parse_internal
Signed-off-by: Michael Adam <obnox at samba.org>
(cherry picked from commit f4f5ad97741d4c6be32573338baa346808e1f108)
commit 966b98318a4410aec20cdf83b0aad04480cc811a
Author: Michael Adam <obnox at samba.org>
Date: Thu Sep 23 18:48:25 2010 +0200
s3:registry: try to fix the build of reg_parse_internal on HP-UX
The HP compiler does not seem to like {} for char[4].
(cherry picked from commit c3f5d990652aec4b4f1f23a5e1c7b644cd46cbe7)
commit 15d9959d2bd7288b8884b9581bec3e12c688f8fa
Author: Michael Adam <obnox at samba.org>
Date: Wed Sep 22 06:21:38 2010 +0200
s3:registry: remove unneeded TALLOC_CTX argument from reg_deletekey_recursive
(cherry picked from commit 7a25d13742fe190e2b8b97f62d7db85db4e816e9)
commit 7ce98216d0e14c1ba5f217ec7de1624226803fcb
Author: Michael Adam <obnox at samba.org>
Date: Wed Sep 22 06:00:00 2010 +0200
s3:tests: fix misplaced '...' for grep pattern in test_net_registry.sh
(cherry picked from commit a2ea85b68d86ed3651f00626b837cfa8184cc21b)
commit 6dd55751750cd7ac754ee176ace71c8798edb7f7
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 15:32:02 2010 +0200
s3-net: add command rpc registry import
Signed-off-by: Michael Adam <obnox at samba.org>
(cherry picked from commit a52b7e7229174500c8b8d5e52206e68749b99e2b)
commit 3746da177e472bd16c8d10b75b9f6edf9b58ac80
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 16:45:57 2010 +0200
s3-net: add command rpc registry export
Signed-off-by: Michael Adam <obnox at samba.org>
(cherry picked from commit 96ba0cb8f2a02a5f991ef92ed9eeb81d1a42216b)
commit 86fa6231a42b61ef6fd62d0e1c5099074974d894
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 15:01:40 2010 +0200
s3-net: add command registry convert
Signed-off-by: Michael Adam <obnox at samba.org>
(cherry picked from commit 0afc83c25556fc8162415738d1e8743009c4837c)
commit eb801a3b514676ab2776f7ffe14761d466cd1f3c
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 15:01:01 2010 +0200
s3-net: add command registry export
Signed-off-by: Michael Adam <obnox at samba.org>
(cherry picked from commit e7c2724c8148d837d60b5e6cb6204ac5ea28164c)
commit 6e377c13f75522281e548205d872c70c3152e095
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 14:54:30 2010 +0200
s3-net: add command registry import
Signed-off-by: Michael Adam <obnox at samba.org>
(cherry picked from commit 2a10fd769b3e2695433f579cd28c1a6f3bbce26e)
commit bc4e6caf69bb9231ae9e6592a53ac11d7af0f2b3
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 15:24:03 2010 +0200
s3-net: let rpccli_winreg_Connect optionally return WERROR
Signed-off-by: Michael Adam <obnox at samba.org>
(cherry picked from commit 44d10d05464b16082d318b0e7001432484013a29)
commit 7dc1d872126787cbb34b3538356db55454503b09
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 14:46:25 2010 +0200
s3-registry: handle registration entries (.reg) files
Signed-off-by: Michael Adam <obnox at samba.org>
(cherry picked from commit 47313afe97973e1293af2f1ab0d08ecaedb74e1e)
commit 316828f336753a630a06784e40ec9f9a7c8993db
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 14:37:07 2010 +0200
s3-lib: add srprs, primitives to build simple recursive parsers
Signed-off-by: Michael Adam <obnox at samba.org>
(cherry picked from commit f76049422899dc19abe597d990e6ca9ec391c962)
commit c102ac7cdb1e28777e9be977b292258435a243b9
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 14:33:21 2010 +0200
s3-lib: add cbuf, a talloced character buffer
Signed-off-by: Michael Adam <obnox at samba.org>
(cherry picked from commit e5bbc2be05f1d35bebbaea3b120d699467a30304)
commit 16d256092c9e4498b408b226afa90f5ff44ea0ff
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 14:24:00 2010 +0200
s3-docs: document net registry
Signed-off-by: Michael Adam <obnox at samba.org>
(cherry picked from commit 9c2e89da1011fdeb82bcf53a69781c07d18df728)
commit 11ae1046a00d858551692d9bd05935d16734a2ef
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 19:09:45 2010 +1100
s4-join: fixed secure_channel_type
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Fri Nov 5 13:24:32 UTC 2010 on sn-devel-104
commit 351312d8b870698a44dc1a9766ce7aeec7028602
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 18:57:17 2010 +1100
s4-join: don't print all the NDR packets by default
commit 158ae8a1485a7d0d27b8a0cbdd98993f9a98ff67
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 18:56:46 2010 +1100
s4-cldap: print all the DNS servers found
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit eaabb5950fe89c15b575ffb37b35137d8a848c01
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 18:50:29 2010 +1100
s4-ldb: much more memory efficient msg filtering
this ensures we don't leave unnecessary attributes in returned ldb
objects
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5fcb426d9a0bc4e2076a278babe3f0f2a550d54e
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 18:28:04 2010 +1100
s4-drs: reduce the memory usage of the getncchanges server
we now keep just a list of GUIDs around between getncchanges calls,
instead of an entire db search. This makes the overhead of having a
pending getncchanges call much smaller.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 14f455ba9955871fa8882edb8de788d2760c0cb0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 5 17:08:52 2010 +1100
s4-kerberos Mention the remote address we fail to contact the KDC on
commit 0a2642c7dc8589c2fc8524e370a2cfeb3064eb28
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 14:10:30 2010 +1100
s4-ldb: show the reason for module initialization failure
commit 34ce183d6cefe7bb332693d65f48dd1c96d7b7f7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 14:10:11 2010 +1100
s4: net -> samba-tool
commit 506ffcf86f19180a7beeaf3d290f6696a99d1788
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 14:09:49 2010 +1100
s4-join: added DC join to the python join code
this will replace the old vampire code
commit 278778c927b71847e87ce9b43e2a70665906befe
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 14:08:49 2010 +1100
s4-pydrs: added rodc option to python drs replication
commit cbded38ed5f319af4e9836039bfa16c6123e2ba7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 14:06:10 2010 +1100
s4-pydsdb: added DsReplicaAttribute()
this allows us to form a DsReplicaAttribute structure from python
commit 135756c8ac34c4cf82992dce8c7218781e67f39b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 11:52:20 2010 +1100
pidl: use a union assignment instead of memmove
this means we don't lose type checking
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit 6d53d9f2ce68db1cc2cf6fc0ebaca548bcfb9a42
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Nov 5 12:49:42 2010 +0100
s4:password_hash LDB module - fix indentation
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Fri Nov 5 12:31:28 UTC 2010 on sn-devel-104
commit 169a637a4a3c441aae710f63074106c96e540324
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 5 11:41:09 2010 +0100
s3: Allow disabling of mdns registrations
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Nov 5 11:24:41 UTC 2010 on sn-devel-104
commit f2456cd5425b4d006cf35df9dc724d040558e0d6
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 5 11:41:09 2010 +0100
s3: Allow disabling of mdns registrations
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Nov 5 11:24:41 UTC 2010 on sn-devel-104
commit ac3f8d859d1ab8b1bb9d41c465dd10499151a8c4
Author: Matthieu Patou <mat at matws.net>
Date: Tue Nov 2 00:55:25 2010 +1100
fix in_screen so that it works on os that don't chdir to $PWD
That's the case on freebsd 7.2
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Fri Nov 5 09:27:19 UTC 2010 on sn-devel-104
commit c378835cb6d660bcd2e0bc6524fc7da5b29963ea
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Oct 21 07:00:34 2010 +0200
tsocket: fill in sa.sa_len if the system supports it
metze
commit 90b3bf8f62465f4e9925232aacd2045136689bbc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Nov 4 21:58:16 2010 +0100
ldb:ldb.h - reorder extended operations list
We always define the controls and operations with a comment block. The data
structure definitions lie a bit below.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Fri Nov 5 08:44:14 UTC 2010 on sn-devel-104
commit 578a37e806ff1c1194a694dc39f65fdd1cbf7b11
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Nov 4 18:07:18 2010 +0100
s4:dsdb/drepl_notify: reuse dreplsrv_notify_operation structures
Otherwise we'll requeue the same notify events on and on.
(gdb) p *((struct dreplsrv_service *) 0x1b52190)->ops.notifies
$8 = {prev = 0xe4cb30, next = 0x1a25440, service = 0x1b52190, uSN = 123905,
source_dsa = 0x164c100, is_urgent = false, replica_flags = 29}
(gdb) p *((struct dreplsrv_service *) 0x1b52190)->ops.notifies->next
$9 = {prev = 0x80e000, next = 0x1b7bf70, service = 0x1b52190, uSN = 123589,
source_dsa = 0x1a2d930, is_urgent = false, replica_flags = 29}
(gdb) p *((struct dreplsrv_service *) 0x1b52190)->ops.notifies->next->next
$10 = {prev = 0x1a25440, next = 0x1d0c310, service = 0x1b52190, uSN = 1587,
source_dsa = 0x13d3210, is_urgent = false, replica_flags = 29}
(gdb) p *((struct dreplsrv_service *) 0x1b52190)->ops.notifies->next->next->next
$11 = {prev = 0x1b7bf70, next = 0x1ba1420, service = 0x1b52190, uSN = 123905,
source_dsa = 0x164c100, is_urgent = false, replica_flags = 29}
(gdb) p *((struct dreplsrv_service *)
0x1b52190)->ops.notifies->next->next->next->next
$12 = {prev = 0x1d0c310, next = 0x1c43510, service = 0x1b52190, uSN = 123589,
source_dsa = 0x1a2d930, is_urgent = false, replica_flags = 29}
(gdb) p *((struct dreplsrv_service *)
0x1b52190)->ops.notifies->next->next->next->next->next
$13 = {prev = 0x1ba1420, next = 0xed97b0, service = 0x1b52190, uSN = 1587,
source_dsa = 0x13d3210, is_urgent = false, replica_flags = 29}
(gdb) p *((struct dreplsrv_service *)
0x1b52190)->ops.notifies->next->next->next->next->next->next
$14 = {prev = 0x1c43510, next = 0xe4ce80, service = 0x1b52190, uSN = 123905,
source_dsa = 0x164c100, is_urgent = false, replica_flags = 29}
We can reuse this operations, while they're not yet started.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Fri Nov 5 07:15:04 UTC 2010 on sn-devel-104
commit 211f6d5f557c7a737f3ccc1b4ef592c0ea8d7b94
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Fri Nov 5 00:00:13 2010 +0200
s4/auth: Add logon_parameters to authenticate_username_pw
We need to be able to set the logon parameters in the same way as in the
ntlm server so we can handle openldap simple authentication call correctly.
Autobuild-User: Anatoliy Atanasov <anatoliy at samba.org>
Autobuild-Date: Fri Nov 5 06:32:43 UTC 2010 on sn-devel-104
commit d952f6c3918c1bbc96a55ded2e03e4695448a46d
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Thu Nov 4 23:57:48 2010 +0200
s4/test: Added test for simple bind with machine account
Samba4 returns error on simple bind, when we do it using openldap
simple_bind_s api.
commit cd172e77248968c48d2ff7f18a2366c35dd51697
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 5 03:00:45 2010 +0100
talloc: Add python talloc module, move convenience functions to it.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Fri Nov 5 02:48:21 UTC 2010 on sn-devel-104
commit 4edabb3256734dcef4ad0d7a910f1729cd5c956e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 5 02:35:55 2010 +0100
talloc: rename pytalloc.c to pytalloc_util.c
commit c9756cac057444ff7c3a77b9260fa30c35267529
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 5 02:30:01 2010 +0100
waf: Put private libraries in a separate directory when building.
Thanks to Tridge for pointing out what exactly I had to change. :-)
commit 21233bba9663f684cfa1ad129baa988cb52dea4d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 5 02:08:44 2010 +0100
wafsamba: Use project name variable rather than hardcoding 'samba4'.
Suggested-By: Andrew Tridgell <tridge at samba.org>
commit afc332fdb1327d07488552d01316804bff614748
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 5 00:33:51 2010 +0100
wafsamba: Drop private library prefix when installing private libraries
to a custom path.
commit ec7501ea4fe7e7d2bbb94ef5353b8059be3ae0fb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 5 00:20:16 2010 +0100
wafsamba: Support expanding variables in LIBDIR/PRIVATELIBDIR variables.
commit e84e8705a98f3525f680a3d7e35ad55ae5370f51
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Nov 5 00:03:20 2010 +0100
Add --disable-rpath-private-install flag.
commit e15cd9c6d5262b516b43208fd41ac398606caa46
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Nov 4 23:23:39 2010 +0100
Add --with-privatelibdir build option.
commit 0d4fa8514b4825c9b3d2383a9e12197b69b2e80f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Nov 4 23:02:50 2010 +0100
samba_utils: Use LIBDIR rather than assuming it is set to $prefix/lib.
commit 228a9c10d048add9630c8868bcc0939ba26f4d51
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Nov 4 02:07:57 2010 +0100
selftest: Allow some tests to output empty subunit data.
commit 4000ec24aa356b8b896fe256307a23378c560bc9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 5 10:28:04 2010 +1100
s4-ldap_server Don't DEBUG() at level 2 every time a caller disconnects
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Fri Nov 5 00:12:37 UTC 2010 on sn-devel-104
commit 4f8b59edbcb976a8ad40e9c1214d3b1d8abe99c9
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 09:01:47 2010 +1100
s4: don't run etags over .inst files
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Thu Nov 4 22:51:06 UTC 2010 on sn-devel-104
commit a9714246a30107597210077d3c6d7188018fde32
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 09:01:28 2010 +1100
compression: added a simple lzxpress test
commit 199399ef7451482ce6efbb15cbbc165e5d29a800
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 5 09:00:57 2010 +1100
compression: fixed an uninitialised data but in lzxpress
commit a5d485112e464d52eef66d2084de2186d47668dc
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 4 19:23:06 2010 +0100
s3: Remove the use of cli_send_trans from cli_get_fs_full_size_info
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Nov 4 22:08:53 UTC 2010 on sn-devel-104
commit 83f78a30a05ba96e7c599d97feea24aa65cbad51
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 1 17:23:34 2010 +0100
s4:ldap.py/passwords.py - just use objectclass "user" for users
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Thu Nov 4 21:09:00 UTC 2010 on sn-devel-104
commit c133fcc0b1e844103c6454b370f7cd101f09df47
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 4 18:49:55 2010 +0100
s3: Remove an unused prototype
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Nov 4 17:44:09 UTC 2010 on sn-devel-104
commit 8516fad3b49f6ac87e9e17dc2929433116dcb04d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Nov 4 12:37:29 2010 +0100
s4:dsdb/objectclass_attrs: not all objects have delete protected attributes as must contain
Before we got the following error, while starting samba after a
'samba-tool vampire':
Failed to store repsFrom - objectclass_attrs: delete protected attribute
'objectSid' on entry 'DC=ForestDnsZones,DC=alpha,DC=sz,DC=salzgitter-ag,DC=lab'
missing!
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Thu Nov 4 17:01:59 UTC 2010 on sn-devel-104
commit 60691c13224656e6a889eb01246582f10c056b7b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 3 12:33:54 2010 +0100
s4:dsdb/samdb: optimize samldb_prim_group_change()
We should only do searches when we have to.
metze
commit a94fbb9ed592103b55d803497f6fc483e828dc1f
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Nov 4 14:29:12 2010 +0100
s4:dsdb/common: fix memory leak in samdb_ntds_settings_dn()
fetch and set should use the same name!
metze
commit e3276b3ab369207ae88fdd78fbb42d34f0b83f3d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Nov 4 13:32:06 2010 +0100
s4:dsdb/kcc: fix memory leak in kcctpl_copy_output_edges()
metze
commit 8b71438490d51d44d9eceef26eaf141420ea60ec
Author: Günther Deschner <gd at samba.org>
Date: Wed Nov 3 17:16:06 2010 +0100
s3-waf: add check for httpConnect and httpConnectEncrypt.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Nov 4 14:10:40 UTC 2010 on sn-devel-104
commit 78b05a3116b26e57f43f2d27038d8688f245d33e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Nov 4 03:27:10 2010 +0200
s4-ldb_module.h: use LDB error code for ldb_error() macro rather than LDB_DEBUG_FATAL
We end up calling ldb_error_at() which expects an LDB error,
but LDB_DEBUG_FATAL is not such code. It is actually equal to LDB_SUCCESS.
Thus the effect is that we report a *fatal* error, but return
LDB_SUCCESS in many places.
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Thu Nov 4 12:57:33 UTC 2010 on sn-devel-104
commit e7aa7a0c3305240b2d89db81141c5d383e75adc8
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Nov 3 23:43:21 2010 +0200
s4-devel: Verify prefixMap is saved correctly in LDB on disk
commit c4dab7d545d35a90761fcd8b1cb6f2959ae342ab
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Nov 4 12:29:42 2010 +0100
urgent_replication: forbid empty subunit output.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Thu Nov 4 12:13:47 UTC 2010 on sn-devel-104
commit b6cef24463def4b6d52636f2b026abcd6e563d3c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Nov 4 02:07:57 2010 +0100
selftest: Allow some tests to output empty subunit data.
commit 28f1228b01056dc6eefc64a24fe317d68e170195
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 4 13:16:11 2010 +1100
s4-dsdb Fix urgent_replication test not to set an invalid userAccountControl
A userAccountControl value of 0 or 1 is invalid, you must include one of
the account types.
Andrew Bartlett
commit fea02db10f672635bc08b80c32bbd296b0d4fc9d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Nov 4 01:36:57 2010 +0100
urgent_replication: Fix syntax error.
commit 81e5321f5e6bd2c60a6c6ce3850f98bc18458d44
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 4 20:34:37 2010 +1100
s4-dsdb: use LDB_FLAG_MOD_REPLACE for isDeleted
isDeleted could have been set to FALSE previously
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Thu Nov 4 10:18:10 UTC 2010 on sn-devel-104
commit c5f07d33ae72785877b4675aaaa1b446bed14ea4
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 4 20:33:31 2010 +1100
s4-dsdb: use LDB_FLAG_INTERNAL_DISABLE_SINGLE_VALUE_CHECK in dsdb
when we are creating linked attributes with multiple values (some
deleted), use LDB_FLAG_INTERNAL_DISABLE_SINGLE_VALUE_CHECK to disable
that checking.
commit e606298631d9e4659e677041095511c1c353a4b5
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 4 20:27:43 2010 +1100
s4-ldb: implement LDB_FLAG_INTERNAL_DISABLE_SINGLE_VALUE_CHECK
this disables the single value checking for one attribute. It is much
more specific than a general RELAX control, and also more efficient. I
think we should try to have more precise overrides like this, rather
than using RELAX as a general purpose override
commit 1ab7bd1bfbfe5a27c91315d98c4e4949608d83e9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 4 20:13:17 2010 +1100
s4-ldb: don't load modules from the same directory twice
this prevents samba dying if you do a 'make install' while it is
running. Otherwise the make install changes the inode numbers of the
modules in the modules directory, causing them to reload, which causes
multiple modules of the same name to try and load
commit 6a22d8938c36de8e8a6e99eadca896bdb9802b1d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 4 20:05:59 2010 +1100
s4-ldb: honor controls on search in ldbedit
commit cf37c29cd009f9378ffa4d3ee54b38aef9fa066b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 4 20:02:16 2010 +1100
Move the checking of single valued attributes back into the tdb backend.
The backend is the only place that can do this properly. It makes no
sense to do it anywhere else. As a result of it moving out of the
backend we ended up with some bugs causing multiple values in single
valued attributes (eg. isDeleted), which can really damage the
inregrity of the database.
For the override of single valued values needed for deleted linked
attributes we should use attribute flags.
This reverts commit 1949864417f3d10fb8996df7db259649eb777271.
commit f3ad867ab57bfedada5e11cfaa15707f6a455d63
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 4 13:23:47 2010 +1100
s4-test: fixed quoting in deletetest.py
commit 003a36eb5e677406c9f634c3fd66519b73dac487
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 4 12:52:08 2010 +1100
s4-auth: unconditionally set previous_ev
we need the caller to know when the previous_ev was NULL
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e5226a3bd34eafae8870fde8bf4d30ea246bd963
Author: Michael Adam <obnox at samba.org>
Date: Sun Oct 31 02:04:25 2010 +0200
librpc/ndr: use new strlen_m_ext_term() in ndr_charset_length(): fix bug #7594
This fixes the calculation of needed space for destination unicode charset.
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Wed Nov 3 23:28:07 UTC 2010 on sn-devel-104
commit 726b927c67c8e3f607eefc335b2ba81fa38537a9
Author: Michael Adam <obnox at samba.org>
Date: Sun Oct 31 08:21:41 2010 +0100
lib/util/charset/charconv: clarify comments in next_codepoint_convenience_ext()
Give the unicod U+<hexnumber> notation of the codepoints
referred to in the comments. Also reformat the comments some.
commit 2b00a19598b22df0e0413698c4cc1e332ecd1592
Author: Michael Adam <obnox at samba.org>
Date: Sun Oct 31 08:02:17 2010 +0100
lib/util/charset/util_unistr: clarify the comment header for strlen_m().
commit c3d46552602f450be24f08b8ff4d88911b22ec78
Author: Michael Adam <obnox at samba.org>
Date: Sun Oct 31 02:02:16 2010 +0200
lib/util/charset/util_unistr: add strlen_m_ext_term() - variant of strlen_m_ext() counting terminator
commit 8a9fbf594a3d1ab9a4e6efb663ae7e58f8213592
Author: Michael Adam <obnox at samba.org>
Date: Sat Oct 30 02:03:02 2010 +0200
lib/util/charset/util_unistr: add strlen_m_ext that takes input and output charset
The function calculates the number of units (8 or 16-bit, depending
on the destination charset), that would be needed to convert the
input string which is expected to be in in src_charset encoding
to the dst_charset (which should be a unicode charset).
commit 4a4a4c2c1a242d5c067a40e2f38ee4a5993b29bf
Author: Michael Adam <obnox at samba.org>
Date: Sun Oct 31 02:18:46 2010 +0100
lib/charcnv/util_unistr: add next_codepoint_ext() that accepts input charset.
next_codepoint() takes as string in CH_UNIX encoding and returns the
unicode codepoint of the next (possibly multibyte) character of the
input string.
The new next_codepoint_ext() function adds the encoding of the input
string as a parameter. next_codepoint() now only calls next_codepoint_ext()
with CH_UNIX als src_charset argument.
commit 00a163072e6162b0d50139a94356ef2f3256307d
Author: Michael Adam <obnox at samba.org>
Date: Mon Nov 1 15:53:43 2010 +0100
lib/charset/charcnv: rename a parameter of next_codepoint_convenience_ext() for clarity
commit 8288220921e50a72ecc3d03dd7e6b176e8353062
Author: Michael Adam <obnox at samba.org>
Date: Fri Oct 29 22:06:05 2010 +0200
lib/charset/charcnv: add next_codepoint_convenience_ext() that accepts input charset.
next_codepoint_convenience() takes as string in CH_UNIX encoding and returns the
unicode codepoint of the next (possibly multibyte) character of the
input string.
The new next_codepoint_convenience_ext() function adds the encoding of the input
string as a parameter. next_codepoint_convenience() now only calls
next_codepoint_convenience_ext() with CH_UNIX als src_charset argument.
commit 7c6894ee7d4e88d698c4139a67b1d7898a07f765
Author: Michael Adam <obnox at samba.org>
Date: Sun Oct 31 02:02:16 2010 +0200
s3:util_str: add strlen_m_ext_term() - variant of strlen_m_ext() counting terminator
commit aae362e6cf5ff26486463d4a08469071d4f2ea65
Author: Michael Adam <obnox at samba.org>
Date: Sat Oct 30 02:03:02 2010 +0200
s3:lib/util_str: add strlen_m_ext() that takes input and output charset
The function calculates the number of units (8 or 16-bit, depending
on the destination charset), that would be needed to convert the
input string which is expected to be in in src_charset encoding
to the dst_charset (which should be a unicode charset).
commit efd990b581940e98c5128f4d163db4c1f6a8ec29
Author: Michael Adam <obnox at samba.org>
Date: Fri Oct 29 22:21:47 2010 +0200
s3:lib/util_str: clarify the comment header for strlen_m().
commit 7b99de4501e3f221262712f1575f97599d7bbcba
Author: Michael Adam <obnox at samba.org>
Date: Fri Oct 29 22:11:30 2010 +0200
s3:lib/charcnv: clarify comments in next_codepoint_ext()
(giving the unicod U+<hexnumber> notation of the codepoints
referred to in the comments)
commit 93dde9415b50a9a0afeb570848ba553a452849ff
Author: Michael Adam <obnox at samba.org>
Date: Mon Nov 1 15:42:21 2010 +0100
s3:lib/charcnv: rename a parameter for clarity in next_codepoint_ext()
commit db05686db7891c25209b9ed019c8d5eda28dd527
Author: Michael Adam <obnox at samba.org>
Date: Mon Nov 1 15:42:21 2010 +0100
s3:lib/charcnv: reformat comments in next_codepoint_ext()
commit 190d0b28f452ecc427de52da3a6469af3e225488
Author: Michael Adam <obnox at samba.org>
Date: Fri Oct 29 22:06:05 2010 +0200
s3:lib/charcnv: add next_codepoint_ext() that accepts input charset.
next_codepoint() takes as string in CH_UNIX encoding and returns the
unicode codepoint of the next (possibly multibyte) character of the
input string.
The new next_codepoint_ext() function adds the encoding of the input
string as a parameter. next_codepoint() now only calls next_codepoint_ext()
with CH_UNIX als src_charset argument.
commit 977504757270e069b6221ab559830d4a29005812
Author: Michael Adam <obnox at samba.org>
Date: Fri Oct 29 20:50:28 2010 +0200
util/charset: remove a duplicate comment.
This seems to have been copied twice from source3/ code.
commit cb9fba1ed387a1a34f866c13a979ee91cd1d6da8
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 4 10:25:30 2010 +1100
debug: fixed default debug settings
this fixes -d in our command line tools (eg. samba-tool)
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Thu Nov 4 01:48:15 UTC 2010 on sn-devel-104
commit 832cd99ea7168df3d07f5e57fb56a8db438dc62a
Author: Zahari Zahariev <zahari.zahariev at postpath.com>
Date: Fri Oct 29 19:34:13 2010 +0300
Speed test with user objects
This is a modest speed test that aims to show performance difference
between Samba4 vs MS Active Directory. It should be used with Samba-style
credentials and no arguments like every other python unittest.
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Autobuild-User: Anatoliy Atanasov <anatoliy at samba.org>
Autobuild-Date: Thu Nov 4 00:11:20 UTC 2010 on sn-devel-104
commit 7e382a0496efdcbcd1189ab40a15702c54622200
Author: Michael Adam <obnox at samba.org>
Date: Sun Oct 31 02:04:25 2010 +0200
librpc/ndr: use new strlen_m_ext_term() in ndr_charset_length(): fix bug #7594
This fixes the calculation of needed space for destination unicode charset.
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Wed Nov 3 23:28:07 UTC 2010 on sn-devel-104
commit 50bdd93136d0c6e971705594a181a3a5175e2bae
Author: Michael Adam <obnox at samba.org>
Date: Sun Oct 31 08:21:41 2010 +0100
lib/util/charset/charconv: clarify comments in next_codepoint_convenience_ext()
Give the unicod U+<hexnumber> notation of the codepoints
referred to in the comments. Also reformat the comments some.
commit c18b67235c71ab012d1d74d8fdc1e5f38d713362
Author: Michael Adam <obnox at samba.org>
Date: Sun Oct 31 08:02:17 2010 +0100
lib/util/charset/util_unistr: clarify the comment header for strlen_m().
commit 9b86df8ce86411e774515fdcb3f5c9826ecb91d2
Author: Michael Adam <obnox at samba.org>
Date: Sun Oct 31 02:02:16 2010 +0200
lib/util/charset/util_unistr: add strlen_m_ext_term() - variant of strlen_m_ext() counting terminator
commit 82c8b31ebce2783e439399f662591b03ab5a1960
Author: Michael Adam <obnox at samba.org>
Date: Sat Oct 30 02:03:02 2010 +0200
lib/util/charset/util_unistr: add strlen_m_ext that takes input and output charset
The function calculates the number of units (8 or 16-bit, depending
on the destination charset), that would be needed to convert the
input string which is expected to be in in src_charset encoding
to the dst_charset (which should be a unicode charset).
commit 72f83368653832a7630e9fbda02e516e1aa7faff
Author: Michael Adam <obnox at samba.org>
Date: Sun Oct 31 02:18:46 2010 +0100
lib/charcnv/util_unistr: add next_codepoint_ext() that accepts input charset.
next_codepoint() takes as string in CH_UNIX encoding and returns the
unicode codepoint of the next (possibly multibyte) character of the
input string.
The new next_codepoint_ext() function adds the encoding of the input
string as a parameter. next_codepoint() now only calls next_codepoint_ext()
with CH_UNIX als src_charset argument.
commit 7a2b03964cdd12733e7ae812d463351b968d16ac
Author: Michael Adam <obnox at samba.org>
Date: Mon Nov 1 15:53:43 2010 +0100
lib/charset/charcnv: rename a parameter of next_codepoint_convenience_ext() for clarity
commit 5829cb0a984b6f3ee2ef114a4d2ff85f1a5a592b
Author: Michael Adam <obnox at samba.org>
Date: Fri Oct 29 22:06:05 2010 +0200
lib/charset/charcnv: add next_codepoint_convenience_ext() that accepts input charset.
next_codepoint_convenience() takes as string in CH_UNIX encoding and returns the
unicode codepoint of the next (possibly multibyte) character of the
input string.
The new next_codepoint_convenience_ext() function adds the encoding of the input
string as a parameter. next_codepoint_convenience() now only calls
next_codepoint_convenience_ext() with CH_UNIX als src_charset argument.
commit a50d3638a7440e30a0cbfb3bffe4712ff68e350a
Author: Michael Adam <obnox at samba.org>
Date: Sun Oct 31 02:02:16 2010 +0200
s3:util_str: add strlen_m_ext_term() - variant of strlen_m_ext() counting terminator
commit 288d55b511bcfd5ed3d6b464046808ce82aedaec
Author: Michael Adam <obnox at samba.org>
Date: Sat Oct 30 02:03:02 2010 +0200
s3:lib/util_str: add strlen_m_ext() that takes input and output charset
The function calculates the number of units (8 or 16-bit, depending
on the destination charset), that would be needed to convert the
input string which is expected to be in in src_charset encoding
to the dst_charset (which should be a unicode charset).
commit 4579d7ea2920bda8de2339c6ecd190e65454fa43
Author: Michael Adam <obnox at samba.org>
Date: Fri Oct 29 22:21:47 2010 +0200
s3:lib/util_str: clarify the comment header for strlen_m().
commit f16ddcae6938f7feda331c5fabc02a9539978bcb
Author: Michael Adam <obnox at samba.org>
Date: Fri Oct 29 22:11:30 2010 +0200
s3:lib/charcnv: clarify comments in next_codepoint_ext()
(giving the unicod U+<hexnumber> notation of the codepoints
referred to in the comments)
commit 5b6a88b9bf8bd49e179156c29fb3a7268b16808b
Author: Michael Adam <obnox at samba.org>
Date: Mon Nov 1 15:42:21 2010 +0100
s3:lib/charcnv: rename a parameter for clarity in next_codepoint_ext()
commit 18104ef1be1989ef496f19118ee68591f5f4be97
Author: Michael Adam <obnox at samba.org>
Date: Mon Nov 1 15:42:21 2010 +0100
s3:lib/charcnv: reformat comments in next_codepoint_ext()
commit d41d05ec7b5650759b8b6b388d34516daf0eed83
Author: Michael Adam <obnox at samba.org>
Date: Fri Oct 29 22:06:05 2010 +0200
s3:lib/charcnv: add next_codepoint_ext() that accepts input charset.
next_codepoint() takes as string in CH_UNIX encoding and returns the
unicode codepoint of the next (possibly multibyte) character of the
input string.
The new next_codepoint_ext() function adds the encoding of the input
string as a parameter. next_codepoint() now only calls next_codepoint_ext()
with CH_UNIX als src_charset argument.
commit f14d84e2f233dd337bbd9bb0166f8bf0cc8f7a82
Author: Michael Adam <obnox at samba.org>
Date: Fri Oct 29 20:50:28 2010 +0200
util/charset: remove a duplicate comment.
This seems to have been copied twice from source3/ code.
commit 14718a725b65828c470167b922260840343d9843
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 4 08:29:11 2010 +1100
build: a more portable way of finding waf in makefiles
this avoids using the non-portable shell command in makefiles
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Nov 3 22:44:59 UTC 2010 on sn-devel-104
commit fdcbc087c0fe6abc61bf8d98ca8782a148a94f23
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Nov 3 19:14:02 2010 +0100
selftest/tests.py: Fix typos.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Wed Nov 3 19:55:55 UTC 2010 on sn-devel-104
commit 6bd903ebe09f79431ff10bfaf5c7769c8a79e133
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Nov 3 19:13:03 2010 +0100
provision: Look for in source setup data first, in case an older version
of samba 4 is installed in the system.
commit 654fdce6a2b67c739675fb29c5072ca676ac00a7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Nov 3 19:12:17 2010 +0100
samba: Make in_source_tree() public.
commit 4bf6a3e72c9c954aa1f7ff566e30dd21d75fcfcc
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Nov 3 19:11:26 2010 +0100
urgent_replication: Fix formatting
commit 46bca5e7b7a4b7aea57ed8db6d4b2927f1188ae6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Nov 3 18:43:38 2010 +0100
possibleinferiors: Report subunit.
commit 9ae3c822d18cea4710d8d7cec265bd9ecdea35a4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Nov 3 18:41:49 2010 +0100
possibleinferiors: Fix formatting.
commit d1dd2117dbdf1eb082d77a187b46f8cd6792338a
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 3 17:40:39 2010 +0100
replace/wscript: add size checks for stdint.h types
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Wed Nov 3 19:12:39 UTC 2010 on sn-devel-104
commit f5a6c1e6dcea3b47c45a3fe18a3966739650f593
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 3 17:40:12 2010 +0100
replace/wscript: do the size checks directly after the type checks
metze
commit 811a36282a61347ac39a339e54900dbfbb7504d9
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 3 17:35:47 2010 +0100
replace/wscript: define bool to int instead of off_t
metze
commit 3dcec24173f3be916c1a74c46a942651ccf950d1
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 3 17:34:35 2010 +0100
replace/wscript: check for uint8_t
metze
commit 05088fb855a1fc043c3f75d01742cdbbfbb3330e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 3 12:34:47 2010 +0100
s4:dsdb/samldb: avoid nested unindexed searches in samldb_member_check()
With 20000 objects in the database it's no fun to add members...
metze
commit 54d4ba7103d15a096cdd08ac21fca30811fbd48c
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 3 17:41:10 2010 +0100
s4:dsdb/tests/python/sam.py: test with member: <SID=...>
metze
commit 4b79a74c1bcb74198a911693e8027797081727cc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 1 17:50:23 2010 +0100
s4:descriptor LDB module - a bit cleanup
- add more OOM checks where needed
- remove message of an error which cannot happen anymore (since now the
structural objectclass is always checked by the objectclass LDB module)
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Wed Nov 3 18:30:52 UTC 2010 on sn-devel-104
commit 53d9d4ee0e6ee889a06c2d1134ddb083be45f91a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 3 18:02:28 2010 +0100
s4:sam.py - assign valid values when performing the special-attributes constraint checks
The problem is that s4 per construction does the checks in a different order. It
first checks for validity (pre-operation trigger in samldb LDB module) and then
for the schema (post-operation trigger in objectclass_attrs LDB module).
constraints (post-operation trigger
commit b78bf4d72100f9aa8c50ee36b30ba353e2b72eae
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 3 17:50:30 2010 +0100
s4:samldb LDB module - improve the "get_single_valued_attr" call and move it into "ldb_modules/util.c"
It will be used by other LDB modules as well.
commit 4311438528aaf30fff878c3862fd1d76f6059f56
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 3 17:29:58 2010 +0100
s4:objectclass_attrs LDB module - introduce the hardcoded delete-protected attributes list
This is a hardcoded list in AD of attributes, which can never be deleted.
commit 0baa1fb4e494afd11904a3f9b940f2ef265378a4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Nov 3 17:53:19 2010 +0100
pydsdb: Import testtools before subunit for those that don't have
testtools installed.
Also, cleanup some imports.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Wed Nov 3 17:47:55 UTC 2010 on sn-devel-104
commit 0690434752cfb4e607cd92d2ca5e36736d099e02
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 3 13:28:01 2009 +0200
s3: Align nttrans replies the same way Windows does it
If you look at traces of "smbcacls" reading a secdesc from Samba and from W2k3
shows this difference in the querysecdesc nttrans reply. This patch is
necessary to enable viewing previous versions via the shadow copy modules from
Windows 2008. The other client versions seem not to care, but W2k8 does.
Signed-off-by: Michael Adam <obnox at samba.org>
commit 4f87f8f33e5df1d2236bb07e66eb0c5a9cee65b6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Nov 3 16:30:40 2010 +0100
filter-subunit: Add --fail-on-empty argument.
commit f6a1f46b5e6e5daddcaf57ca8d9a96580c3676fe
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 3 13:28:01 2009 +0200
s3: Align nttrans replies the same way Windows does it
If you look at traces of "smbcacls" reading a secdesc from Samba and from W2k3
shows this difference in the querysecdesc nttrans reply. This patch is
necessary to enable viewing previous versions via the shadow copy modules from
Windows 2008. The other client versions seem not to care, but W2k8 does.
Signed-off-by: Michael Adam <obnox at samba.org>
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Nov 3 17:04:28 UTC 2010 on sn-devel-104
commit 9d4eeaeb194d071f02b19aaca3ad1b89d81d3637
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 1 15:23:48 2010 +0100
s4:objectclass LDB module - the structural objectclass has always to be specified
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Wed Nov 3 16:20:55 UTC 2010 on sn-devel-104
commit d873fb72bc3f7b410a66f98b5045101292718717
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 3 16:25:17 2010 +0100
s4:objectclass_attrs LDB module - refactor the "dSHeuristics" checker
The checks are done when there are more than 0 values. The other checks should
be performed by the other parts of the module.
commit b841d12a138a4b9a73f159a7056b0efd64de1289
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 3 16:21:37 2010 +0100
s4:objectclass_attrs LDB module - simplify the invoke of the "dSHeuristics" checker
It's always invoked on add and modify operations.
commit 3f4380993e75774c0c5d30171097f701b4227db7
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Nov 3 15:15:02 2010 +0200
s4-tests: Tests for the dSHeuristics attribute value restrictions
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Wed Nov 3 13:58:42 UTC 2010 on sn-devel-104
commit b6fe5cdfdd83319b894eeeecbc2abf40c56c33ba
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Nov 3 15:14:06 2010 +0200
s4-dsdb: Implemented value restrictions for the dSHeuristics attribute
commit e8b9fe7a51fbc42935792c18afa839f36ae141ed
Author: Volker Lendecke <vl at samba.org>
Date: Wed Nov 3 13:08:37 2010 +0100
s3: Fix a getgrent crash with many groups
commit 80c3364cd33a96666d83f26476faa097c3494c1e
Author: Volker Lendecke <vl at samba.org>
Date: Wed Nov 3 13:08:37 2010 +0100
s3: Fix a getgrent crash with many groups
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Nov 3 12:58:49 UTC 2010 on sn-devel-104
commit a12c3305b328d653a19cb17fcf1d47e3ab9b0898
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 3 20:57:38 2010 +1100
s4-server: cleanup allocation of process models
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Nov 3 10:40:52 UTC 2010 on sn-devel-104
commit 6614f847e06551b08f59106352df02c5d13ff23a
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 3 20:37:08 2010 +1100
s4-ldb: fixed sorting of module names
this should also fix a valgrind error on freebsd
thanks to Matthieu for spotting this
commit 598b565980a02a8909e3738c17fc503f83efe45e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 3 09:39:15 2010 +0100
s4:objectguid LDB module - remove "objectguid_find_attribute"
It's exactly the same as "ldb_msg_find_element".
In addition remove a comment which points out a "fixme" for a semi-async call
since we started to permit them again.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Wed Nov 3 09:29:46 UTC 2010 on sn-devel-104
commit 4902b71a607a0899d1a2d65b80eebdc121f4ef1d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 3 09:23:33 2010 +0100
s4:RPC server - always set the response pad data in base of the request one
Otherwise it could remain uninitialised - should fix bug #7769.
commit 5516191e7251c9f47a81702e3199b1af9c099f72
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Nov 3 09:23:00 2010 +0100
s4:RPC server - cosmetic fixes - indentation, comments
commit cb9d048f90a2d1da7134ea7026be3a1a5574a920
Author: Philip M. White <pmw at qnan.org>
Date: Wed Nov 3 08:21:34 2010 +0100
s4:waf - fix the build on Gentoo platforms
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit b028f55880f5beedb9acb440d4ea53b54345870b
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 3 14:26:04 2010 +1100
s4-test: if using a system version of ldb, override the ldb modules path
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Nov 3 04:13:22 UTC 2010 on sn-devel-104
commit ef1afae2cec531797750be32907705566aa2d228
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 3 12:23:43 2010 +1100
waf: more agressively expand subsystem syslib deps
this solves an openchange build problem with an indirect dependency on
talloc when talloc is a syslib
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Nov 3 02:17:30 UTC 2010 on sn-devel-104
commit c1cc1568b86660cd890428172616a38abfa695f5
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 3 12:22:21 2010 +1100
s4-ldb: make ldbtest depend on ldb
commit f0a472a2d678dd0374181f1a6ac0a3d35503636e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 3 12:09:23 2010 +1100
waf: added reconfigure targets to our libraries
This allows you to do "make reconfigure" to re-run configure only if
needed
commit 8c44dfc371b3be2eadfb2f12580f33fde5551370
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 3 11:30:23 2010 +1100
waf: ensure pkgconfig files depend on the prefix
commit dfa20fcd485b4b3a6b2a9d975374419129e647a4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 3 11:14:40 2010 +1100
waf: split pkgconfig logic into a separate module
commit 553029b88b470362b533bbd17d028e6e61e4b8b9
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 3 10:50:16 2010 +1100
s4-build: use -Wl,--as-needed if supported
this makes our runtime load times smaller, and also means we find bugs
that this may cause on gentoo. gentoo uses this by default
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Nov 3 00:35:56 UTC 2010 on sn-devel-104
commit 2a5e5cd8fa651b819182a2c57b580ab278b4945a
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 3 10:49:08 2010 +1100
waf: fixed wildcard build for full paths
commit 5a3d22a25660525970e1b5c8a0e0be2090dd4d0e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 3 10:25:38 2010 +1100
waf: rerun deps calculation on LDFLAGS or CFLAGS change
commit 9cac0bfde658ce0639a9aa65f412ae8a1eae8bdf
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 3 08:18:05 2010 +1100
waf: fixed wildcard build
this fixes minimal includes for subsystems that use autoproto
commit b3fb311173ff6716a19a9e828f7167872bf76638
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Nov 2 10:58:49 2010 +1100
s4-ldb: give the user a hint as to what may be wrong
when a backend or module can't be found, give a hint about
the LDB_MODULES_PATH environment variable
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Tue Nov 2 21:28:22 UTC 2010 on sn-devel-104
commit 4a08b2d172c144f831b8c6a282ab990142b9b13d
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Nov 2 10:41:28 2010 +1100
s4-dsdb: removed the use of ldb_private.h from s4
this will allow s4 to use a system version of ldb
commit 8a2142773f3be50734a1ae51898e18dcaa26db28
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Nov 2 10:40:52 2010 +1100
s4-ldb: expose some more ldb module functions
this exposes enough functions for s4 to not need ldb_private.h any
more.
commit 29ecdd52699bf74c4419fb0a03358dc8c16233c8
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 15 20:17:01 2009 +0100
s3: Add "net registry getvaluesraw"
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Nov 2 15:42:22 UTC 2010 on sn-devel-104
commit c6c45e6314a258592681da37befc41062bc0d2a9
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 16 12:03:24 2009 +0100
s3: Do not connect to ctdb if it is blocked for some reason
commit 33d13f0bb99fd4155994cdf280a7239bc121ea1e
Author: Martin Schwenke <martin at meltin.net>
Date: Thu Oct 22 13:03:20 2009 +0200
cluster_fatal() exit code should not indicate success.
cluster_fatal() logs a fatal event and then exits with 0. This seems
wrong. Sometimes command like "net" use this code and return
incorrect empty output but then exit with 0.
This simply changes the exit code to 1.
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit 0e95fca747826209edfde79d18b106c69e51cd6b
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 15 20:17:01 2009 +0100
s3: Add "net registry getvaluesraw"
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Nov 2 15:42:22 UTC 2010 on sn-devel-104
commit 18e3b223c77b8257966879f5238994642881d147
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 16 12:03:24 2009 +0100
s3: Do not connect to ctdb if it is blocked for some reason
commit 27056d37e0a7a7f46a4765b7ea45193050caa277
Author: Martin Schwenke <martin at meltin.net>
Date: Thu Oct 22 13:03:20 2009 +0200
cluster_fatal() exit code should not indicate success.
cluster_fatal() logs a fatal event and then exits with 0. This seems
wrong. Sometimes command like "net" use this code and return
incorrect empty output but then exit with 0.
This simply changes the exit code to 1.
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit 4622f2e926acf0bc50237f396b3f629ccd5326ec
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 2 13:09:50 2010 +0100
s3: Fix a typo in a DEBUG msg
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Nov 2 13:13:39 UTC 2010 on sn-devel-104
commit 102e5d101f6174e004d5b003a3a51c065c75b33e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 2 11:32:30 2010 +0100
MAINTAINERS: add myself as maintainer for tevent and tsocket
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Nov 2 12:30:21 UTC 2010 on sn-devel-104
commit 46e70a21006094a8b0575755a47201f1c07e753a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 2 21:57:13 2010 +1100
s4-selftest Run RPC-PAC against all the DC environments.
This is important, as it will validate that the PAC handling is
correct with the different encryption types.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Tue Nov 2 11:45:50 UTC 2010 on sn-devel-104
commit a26d9194ffc45e1c95899ee33bc5dd4d35a0dd10
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 2 20:55:18 2010 +1100
s4-process_model Fix valgrind-found use of un-initialised variable
The relloc didn't zero the structure for the new process modal, and so
m->initialised wasn't initialised.
Andrew Bartlett
commit 41999761f1bd018dd039421e2cfe498e173e2f79
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 2 17:14:55 2010 +1100
s4-torture Add tests for DES-only accounts PAC behaviour/validation.
Previously we didn't support DES-only in a Samba4 domain. This is
important for some legacy systems that have not yet migrated from this
weak crypto.
Andrew Bartlett
commit b8a0eb749fff7c462f4841b12c3977108fba3925
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 2 17:10:47 2010 +1100
s4-selftest Allow weak crypto so we can test DES-only behaviour.
Andrew Bartlett
commit 18732b1a4b587ea8317f6239a47b205aa5a6cea2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 2 17:08:34 2010 +1100
heimdal Add handling for PAC signatures over all encryption types
There are exceptions from the expected behaviour of 'checksum type
matches key type' that we must deal with here, or else we can't serve
DES-only servers.
Andrew Bartlett
commit b717ec26d96d5285f554c56c01d885c19b1c9b65
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 2 15:33:42 2010 +1100
s3-param Fix up lp_set_cmdline() not to re-store cmdline options on each reload
The previous code was buggy in that it did not honour the 'store'
argument to lp_set_cmdline_helper(), and would use the stored
parameter after freeing it when handling overwritten values.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Tue Nov 2 05:19:17 UTC 2010 on sn-devel-104
commit 7d0f04a651e4bed7e1e6d587a1bdaf3cfa6f9e33
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 2 15:32:16 2010 +1100
s3-libsmbclient Don't store 'debug_stderr' on the libsmbclient context
Following the review of this patch series by Derrell Lipman, remove
the seperate storage of the debug_stderr variable from the
libsmbclient SMBC_internal_data context.
Andrew Bartlett
commit b1099a5b560db0145534ed6484eee27c7d93528a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 1 20:55:04 2010 +1100
s3-libsmbclient Add comments to describe the behaviour of DEBUG()
This isn't quite what you would expect from this interface, but actually
avoids some really nasty situations if you ever have more than one
libsmbclient context in a process.
In the real world, if you have asked for DEBUG() to stderr in one part
of the code, you will want it globally, even in a different thread
(which in the past would have rest everything to stdout again, at
least while starting up).
Andrew Bartlett
commit e16c9904c60bd7531ada1acd2396e56ee1213dea
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 1 20:30:33 2010 +1100
s3-libsmbclient-examples Add tests for debug behaviour.
commit db2a61ab26f8dab5c9b8f27ae25f9b1ca5fe67b4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 1 18:42:36 2010 +1100
debug Explain the behaviour of setup_logging() more clearly
commit 4aeb608eca3be67498819000f5eea9ad63e9b7f8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 29 21:12:12 2010 +1100
s3-debug Clarify the handling of invalid state.fd values in debug.c
This makes it clear that -1 and 0 are both invalid file descriptor values
for DEBUG output.
Andrew Bartlett
commit ed111d11ebcbaa1e709485f86ca45e582a55301f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 29 21:10:31 2010 +1100
s3-debug Move 'load_case_tables()' before lp_set_cmdline() and popt calls
The problem here is that we cannot run lp_set_cmdline() (directly or
indirectly via the popt helpers) until load_case_tables() has been run.
However, load_case_tables does not have auto-initialisation, so we
must init it once, and once only.
Andrew Bartlett
commit e64dfdcc71e17f21419f24b3f2b32d477b4cea1e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 29 16:20:22 2010 +1100
s3-debug Convert from x_file to real file descriptors.
X_FILE does not gain us anything in this use case, we want our log
messages on disk, not in a buffer, and we don't gain anything from the
X_FILE api. I discussed the matter with tridge, who feels that to use
FILE in the first place was a mistake, and that X_FILE isn't any
better, but was a stop-gap to avoid issues on solaris.
Andrew Bartlett
commit d9f67eebf621adacf5514c7ba1ed17b4953db762
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 29 15:29:09 2010 +1100
s3-debug Remove last direct assignements to DEBUGLEVEL
All future assignments of the debug level should go via
lp_set_cmdline("log level", "x") because this will ensure the value is
not overwritten in an smb.conf load.
Andrew Bartlett
commit cf4de8ec2c8df2ceabbe3d836d296b058e7b19fb
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 29 15:06:36 2010 +1100
s3-debug Remove 'AllowDebugChange' and use lp_set_cmdline() instead
By removing this global variable, the API between the two different
debug systems is made more similar. Both s3 and s4 now have
lp_set_cmdline() which ensures that the smb.conf cannot overwrite
these the user-specified log level.
Andrew Bartlett
commit 9da4ace1d9789d300ab298bc34694c44b2062f30
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 29 14:19:32 2010 +1100
s3-debug Impove setup_logging() to specify logging to stderr
This change improves the setup_logging() API so that callers which
wish to set up logging to stderr can simply ask for it, rather than
directly modify the dbf global variable.
Andrew Bartlett
commit 4ae27891f8ac0a56d68b0544e78d6c17ade0c1c9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 29 15:56:29 2010 +1100
lib/debug Use vdprintf rather than manually allocate
This allows the system to use whatever buffers it wants for the string
rather than assuming we need to malloc() it.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Tue Nov 2 00:18:43 UTC 2010 on sn-devel-104
commit ad7b551edc75ffb7233f5eafdd3680c2c20eef92
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 29 15:11:11 2010 +1100
s4-torture Remove torture/locktest2.c (no longer compiled and unused)
This is a left-over of a speculative approach to lock testing that
didn't go anywhere.
Andrew Bartlett
commit e7eac0e391c2d8b79fe0601db2c5d14fbfbb308e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 29 15:00:01 2010 +1100
lib/util Remove setup_logging_stdout()
This API is no longer required now that we don't attempt to build ndrdump
with the s3 build system, and because the s3 debug system will soon have the
same setup_logging() API.
Andrew Bartlett
commit 7e23363455703eb24c506a7922ce86e3697fc8cd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 23:36:42 2010 +1100
s4-ldb: removed ldb_includes.h
it causes problems with the openchange build as it is not installed
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Nov 1 21:49:47 UTC 2010 on sn-devel-104
commit 7182f0885e17d5ffe2af491a06a6df1769350e17
Author: Michael Adam <obnox at samba.org>
Date: Mon Nov 1 12:33:43 2010 +0100
s3:winbindd: fix query_user for users with NULL full name.
Not sure whether query_user ever sends a NULL full name.
Query Display Info does, and it does not harm to add the
check here, too.
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Mon Nov 1 13:03:33 UTC 2010 on sn-devel-104
(cherry picked from commit 1ccb69aabb9057d272fc584d648a4ed9ffc0f3b7)
commit 551bb0db7872aa12ed182be817c51f22bd81dcb6
Author: Michael Adam <obnox at samba.org>
Date: Mon Nov 1 12:31:34 2010 +0100
s3:winbindd: fix query_user_list for users with NULL full_name
(cherry picked from commit 53d19fac5f97ca234b75046602455653e2a0b2e7)
commit ce1eb1f7265fca1bd3a12b39d6af7be1feeb2043
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Nov 1 17:40:25 2010 +0100
talloc: Install pytalloc.h.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Nov 1 17:25:07 UTC 2010 on sn-devel-104
commit 8770c8fe2fa1dbb5ecb1c2575187aed319356670
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 1 14:36:06 2010 +0100
s4:samldb LDB module - the "sAMAccountName" cannot be substituted by nothing
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Nov 1 14:36:24 UTC 2010 on sn-devel-104
commit 2f9480407dced4e39aeae5681acfa5454fd8fda4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 1 14:14:35 2010 +0100
s4:sam.py - additional testing for "servicePrincipalName" updates
commit 1b2f4c11a0893f999074b99ef875e33a7a99392d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 1 13:31:52 2010 +0100
s4:samldb LDB module - support now the full "servicePrincipalName" update trigger
With "dNSHostName" and/or "sAMAccountName" updates
commit 3eb0311aa6c3ea09e46b71728eababe0d60c0aca
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 1 12:59:51 2010 +0100
s4:samldb LDB module - "sAMAccountName" checker
We need a "talloc_steal" for the retrieved "sAMAccountName" since the
memory is afterwards freed using the "talloc_free" call.
commit 9b0f8a8e5ff578c0eb231fea80943f2a72dd7286
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 22:48:16 2010 +1100
s4-ldb: use ldb_set_modules_dir() to load additional ldb modules
this allows ldb_wrap to enable s4 modules in a standalone ldb install
without any additional installation
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Nov 1 13:47:33 UTC 2010 on sn-devel-104
commit 91030477825112d50c6f4e72f9ece2a51a79230a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 22:30:45 2010 +1100
s4-ldb: enable version checking in dsdb ldb modules
commit a386ca85590a0ee18c1d98c80c6b1ec4faab31a7
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 22:30:23 2010 +1100
s4-ldb: enable ldb module version checking
commit 8366bb495abefe5cc1d0cb120530a1933d942fbf
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 22:28:59 2010 +1100
s4-ldb: added support for ldb module version checking
commit 1ccb69aabb9057d272fc584d648a4ed9ffc0f3b7
Author: Michael Adam <obnox at samba.org>
Date: Mon Nov 1 12:33:43 2010 +0100
s3:winbindd: fix query_user for users with NULL full name.
Not sure whether query_user ever sends a NULL full name.
Query Display Info does, and it does not harm to add the
check here, too.
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Mon Nov 1 13:03:33 UTC 2010 on sn-devel-104
commit 53d19fac5f97ca234b75046602455653e2a0b2e7
Author: Michael Adam <obnox at samba.org>
Date: Mon Nov 1 12:31:34 2010 +0100
s3:winbindd: fix query_user_list for users with NULL full_name
commit 05d752473615404ab81d28423f6c78cf3de49777
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 22:42:38 2010 +0100
s4:setup/spn_update_list - the DNS SPN is only used in DNS mode
Not all DCs are automatically DNS servers.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Nov 1 12:20:36 UTC 2010 on sn-devel-104
commit 02547de5f9a055723d388b3790ac9cd82d8e1895
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 22:39:49 2010 +0100
s4:ldap.py/sam.py - simplify the objectclass specifications
- For user accounts we only need to specify "user" ("person" is an inherited
objectclass)
- Don't use the brackets when we have only one objectclass specified
commit 6f2001efa53fa3a46966bde8ed0e3307bbdcf0c4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 22:34:22 2010 +0100
s4:sam.py - test "objectSid" modification lockdown
commit 7da84bc7b6428b5b262f177b848c199d0fcd143a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 1 12:33:00 2010 +0100
s4:samldb LDB module - unify objectSid assignment error messages
commit 7ca6b3ee6d6fbb602ad4e43326c67784efbe0a17
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 22:31:53 2010 +0100
s4:samldb LDB module - deny "objectSid" modifications
The same as with Windows
commit 7578e04fb8022ba13fa07fb88eb3d00474337ea1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 1 11:30:19 2010 +0100
s4:provision - adapt the "provision" so that SIDs are only set on entry creation
SID modifications are denied.
commit 2a25f7515a68938249beef47546465889ca1c734
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 1 11:17:37 2010 +0100
s4:torture - suppress printf "%llu" on uint64_t variables warnings
The signed/unsignedness does match (always unsigned). The bitlength (64 bit) on
all regular platforms does also. Therefore simply add a cast to
"unsigned long long".
commit c8bcf821191ab88a82954fd485087522d3c2ef05
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Nov 1 11:03:38 2010 +0100
ldb:tools/ldbtest.c - fix build warning
Cause was an incomplete declaration.
commit e59a8a563b684c04ca4d7dbdb13d5a9008ed2c3f
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 18:46:02 2010 +1100
s4-ldb: fixed build of paged searches
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Nov 1 09:41:27 UTC 2010 on sn-devel-104
commit 952ce1521c319e7427c12fa82f22ca5cb15018f6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 18:45:44 2010 +1100
s4-ldb: fixed build of oLschema2ldif
commit 6f2c4abadd6097d949b388cc4d9c4ebd77f0df10
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 18:45:25 2010 +1100
s4-ldb: convert existing ldb tools to use new command line hooks
the usage() function needs to take a ldb context, as the popt_options
is specific to the ldb context
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f924a022cbc973ae646bff5119a1784e979a052f
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 15:41:07 2010 +1100
s4-ldb: added ldb command line hook support
ldb modules can now add hooks to the command line processing for ldb
tools
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit fd8815335d1295d3d0b9f5e7870f4ed364b1dd3b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 18:43:46 2010 +1100
s4-ldb: added samba_extensions ldb module
this module hooks into the ldb command line processing, to add extra
command line options and initialisation of samba4 internal subsystems
such as gensec
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit cdf19ec5e2310a2f41e73fbb4655da288b88edfc
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 18:42:39 2010 +1100
s4-ldb: moved the ldb_ildap backend into lib/ldb-samba
this backend is samba4 specific
commit d103f2d346d721de6975f32649a8c75d5230dc5b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 18:41:32 2010 +1100
s4-ldb: added support for general ldb hooks in modules
this allows a ldb module to register a hook function called at various
stages of processing. It will be initially used for ldb command line
hooks, but should work generally.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c74601e0b333f81570dfca6959e047d83e6ab32c
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 16:42:21 2010 +1100
s4-ldb: added an override flag to ldb_register_backend()
this will be used to allow a system ldb build with an ldb backend to
have its ldap handler overridden by the s4 one
commit 05b37385fcfc67f4203b2a4822f94813d11511ca
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 16:07:35 2010 +1100
s4-ldb: it is not an error for the modules directory to not exist
commit 28c1e4d3eb3162c0177085bae753102994a35846
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 15:38:37 2010 +1100
s4-modules: get rid of the remaining static prototypes for modules
the waf build now generates the prototype declarations for us
commit 4404b4c700270c7607d7b8d792ab23ce1d080463
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 15:28:29 2010 +1100
waf: removed the module aliases code
This is not needed with the new ldb modules approacg
commit 7eb2eed156c8358b5a857444651841a17651229c
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 15:28:02 2010 +1100
s4-dsdb: convert the rest of the ldb modules to the new module type
commit 43f7c9ca26f72141c87babe428e46e9a293c4b9c
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 15:27:30 2010 +1100
s4-test: we don't need to set LDB_MODULES_PATH any more
commit 6db57658a9746df7177f1824752aa43395f1419f
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 15:00:11 2010 +1100
s4-ldb: removed the old ldb module loading style
this gets rid of some particularly obscure cpp macros for module lists
commit be8e91d9cadf0886bf5ce4816dff4073d903965d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 14:59:28 2010 +1100
s4-ldb: convert the rest of the ldb modules to the new style
commit b887b69151808455ae19ce2e690f6fe336c44bb9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 14:58:32 2010 +1100
s4-process_model: use the static module prototyping
remove the manual prototyping of static init functions
commit 0a703c7fd10d8adc57f5703c697eb80a7a7202bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 14:57:57 2010 +1100
waf: added automatic prototyping of static module init functions
this avoids the need to manually list all our static init functions in
the code
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 014a90f6eff99ab84ad916391e40d63b51196036
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 12:39:49 2010 +1100
s4-dsdb: convert the simple_ldap_map module to the new module style
commit cea4bdb46747887cf82ed6a6330e1070b4e9f8ba
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 12:39:06 2010 +1100
s4-dsdb: convert the extended_dn_out module to the new ldb module style
commit e8f0e3aca9f834c53933dd31316c0b928944b400
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 12:37:35 2010 +1100
s4-ldb: convert the openldap ldb backend to the new style of module
commit efdcedb6b16316450739a3a7da7de503ea5e0d04
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 12:33:11 2010 +1100
s4-ldb: convert the ildap module to the new type of ldb module
this gets rid of the module aliases, which caused issues on some
systems (eg. gentoo).
commit 8b63ff52e2442d457b5221f51cb9e85e4b94e298
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 12:32:18 2010 +1100
s4-ldb: support a new type of ldb module loading
this supports module loading in ldb which uses the approach of "load
all modules in a directory". This is much more flexible than the
current module loading, as it will allow us to load modules for
command line parsing and authentication.
Modules are loaded from a colon separated path, in the environment
variable LDB_MODULES_PATH. If unset, it defaults to LDB_MODULESDIR.
Within each directory modules are loaded recursively (traversing down
the directory tree). The device/inode number of each module is
remembered to prevent us loading a module twice.
Each module is checked for a ldb_init_module() function with
dlsym(). If found, it is called with the ldb module version as an
argument.
commit fd6d29bc08cacbd5270599aab52e0006bea2002f
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 12:29:04 2010 +1100
waf: added module_init_name parameter to SAMBA_MODULE()
this will be used for ldb module loading
commit 1aa8308c30962ac04a2997acaa7f2a7458729cc2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Nov 1 06:18:55 2010 +0100
tdb: Use waf by default.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Nov 1 06:04:14 UTC 2010 on sn-devel-104
commit a2d787d95d1f20aa2c080c2281bcf213728dfbc4
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Nov 1 00:46:58 2010 +0200
s4-dsdb_schema: Use DRSUAPI_ATTID_INVALID instead of 0xFFFFFFFF magic value
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Mon Nov 1 00:36:20 UTC 2010 on sn-devel-104
commit 9221c38e1673bb2b54b971401f1d2f348aecbeca
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Oct 29 23:46:05 2010 +0300
s4-druspia.idl: rename DRSUAPI_ATTID_NONE to DRSUAPI_ATTID_INVALID
0xFFFFFFFF is actually an invalid value for an ATTID
and *_INVALID will make it more easy to notice in logs
commit 717b1158a6a4e94c0a37623731d398723a24eed8
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Oct 29 02:22:35 2010 +0300
idl: Use DRSUAPI_ATTID_ prefix instead of DRSUAPI_ATTRIBUTE_ for ATTID values
Those values are actually ATTID values and such, they are used
for ATTIDs for Attributes, Classes and Syntaxes.
commit fb6f12be5c3d5ad3e22943a780576a08f794f6a4
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 1 09:47:12 2010 +1100
s4-server: avoid using environ as it is not portable
we can just use execv() instead, which passes through the environment,
which is all we need
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sun Oct 31 23:53:49 UTC 2010 on sn-devel-104
commit 3cef97ad0e7008e3732cb32348761a4482c772be
Author: Matthieu Patou <mat at matws.net>
Date: Mon Nov 1 01:05:03 2010 +0300
unit tests: remove trailling white spaces
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Sun Oct 31 23:10:55 UTC 2010 on sn-devel-104
commit fda0f614d5267f27722a642c84091d5f9c5b6ac4
Author: Matthieu Patou <mat at matws.net>
Date: Mon Nov 1 01:00:46 2010 +0300
unit tests: allow make test to correctly and quickly exit in case of problem while provisionning a test environment
commit d5883c8d00af17b084e17642b4dda3f6e9b3305e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 31 22:43:48 2010 +0100
replace/talloc: Avoid automatically pulling in new configure/Makefile,
as these files are checked in, and the source might not be available.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Oct 31 22:27:56 UTC 2010 on sn-devel-104
commit dac6f1662e33918659e00f65813a27f3cb4728ce
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 21:13:55 2010 +0100
s4:sam.py - test the "sAMAccountName" attribute
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Oct 31 21:02:48 UTC 2010 on sn-devel-104
commit 51f4de8fc85c314f23ca09ec88001f4dd2253b7f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 21:04:26 2010 +0100
s4:samldb LDB module - validate "sAMAccountName" modifications
Also the "sAMAccountName" attribute is protected against corruption (e.g. two
accounts with the same name).
commit 229f3cc9e85eaf9909464886d152216f7ba44b7b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 19:41:12 2010 +0100
s4:netlogon RPC server - "LogonGetDomainInfo" - always check the LDB return codes
Plus some cosmetic indentation fixes
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Oct 31 19:26:45 UTC 2010 on sn-devel-104
commit a5fc9378df6e69338332762c7d1c8a72cad58153
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 19:11:34 2010 +0100
s4:libnet_join.c - only write the really essential SPNs
If we are a DC then the others are added by the "samba_spnupdate" script.
This fixes bug #7614.
commit 572774a7a0a1c646bc84d1310f5e8002a464216c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 14:00:14 2010 +0100
s4:provision - remove the "servicePrincipalName" creation on the DC object
This is now done by the "samba_spnupdate" script.
commit 01e7cc607cfdfb3b0b17048a30b470ac990ba736
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 14:36:41 2010 +0100
s4:setup/spn_update_list - reorder and update with other SPNs
commit 971ce6c5ed214bf01cc4a767d556279f71e77f9d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 14:07:52 2010 +0100
s4:scripting/bin/samba_spnupdate - also support adding all possible "servicePrincipalName"s
commit 5f8adf0efd555e3595c90d4223d06b9638340b1b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 14:46:15 2010 +0100
s4:dsdb/dns/dns_update.c - increase the timeout for the SPN and DNS update scripts
Sometimes it can take longer than 10 sec.
commit 39d40892c6bf50fc1ed2a8336b4207b6320eb387
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 12:30:52 2010 +0100
s4:netlogon RPC server - point out that the "LogonGetDomainInfo" "servicePrincipalName" generation is still needed
commit 11687316b49af138d0e8c42ca170d12aa0665df0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 17:24:08 2010 +0100
s4:sam.py - add a test for the "dNSHostName" - "servicePrincipalName" update mechanism
commit 3f66608da40970dd7cc5ef04789b4fd692fd8e35
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 12:07:04 2010 +0100
s4:samldb LDB module - implement the "dNSHostName" - "servicePrincipalName" change trigger
When the "dNSHostName" changes then also the "servicePrincipalName"s are
changed as well.
commit 771b10a421c287bb191192da632e73e5d1458cce
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 11:03:59 2010 +0100
s4:samldb LDB module - check for the number of results after a search operation
Should always be done.
commit 8de1d727f18b28f660b6f88b14f307841c4ae6cb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 31 11:01:00 2010 +0100
s4:drsuapi RPC server - fix counter variables
commit f6cfa866074b64b57d574c94429c8e358974b954
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 31 18:24:02 2010 +0100
talloc: Look harder for waf.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Oct 31 18:06:16 UTC 2010 on sn-devel-104
commit c402e75be930a47f4e1c5663cb0041791fd47bcf
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 31 18:19:19 2010 +0100
replace: Look harder for waf.
commit c3fa203435b82d14805024db8e4a3660859cbdf0
Author: Matthieu Patou <mat at matws.net>
Date: Sun Oct 31 18:50:15 2010 +0300
build: In some case the flags for the sun studio linker are wrong
In this case we test if the -Wl,-h,%s works and if so use this form
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Sun Oct 31 16:35:17 UTC 2010 on sn-devel-104
commit 9f0fb0261ecdecb093ced28024a36973bf1938b9
Author: Matthieu Patou <mat at matws.net>
Date: Sun Oct 31 16:24:46 2010 +0300
build: check that if we provide -liconv we can build shared libs
On Solaris with sun studio compiling an executable with -liconv even if
there is no libiconv.so or libiconv.a will work but not for a shared
lib.
This problem leads to build problem as the linker won't be able to find
libiconv when building shared lib as liconv is wrongly specified
commit 97c0def79d123406b44289a131c054ebe863823d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Oct 31 23:30:50 2010 +1100
s4-auth: added a dependency on com_err
this helps with the gentoo build. The problem is that without the
depenency, we don't add the cflags from the pkgconfig for com_err to
the build of auth/gensec. That really reflects a more general problem
with propogation of include dependencies, but this simple fix should
be enough for now.
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sun Oct 31 13:13:33 UTC 2010 on sn-devel-104
commit f99c009b61c9e8b5968a9b074546408ce93db73c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 31 02:44:32 2010 +0100
replace: Build using waf by default.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Oct 31 02:45:21 UTC 2010 on sn-devel-104
commit 4f22cc7a283d21000e8ffa0c39746aa9f824f49e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 31 02:31:59 2010 +0100
talloc: Switch over to using waf as the default build system for the standalone build.
commit 3deece559159150a0710d8160f39583ba7f2e582
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 31 02:17:29 2010 +0100
s4: Remove the old perl/m4/make/mk-based build system.
The new waf-based build system now has all the same functionality, and
the old build system has been broken for quite some time.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
commit 9401189d5435632bcc6a177845ce03beaa804113
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 30 19:56:54 2010 +0200
s4:samldb LDB module - make the "userAccountControl" and "groupType" modify handlers separate functions
It's easier to maintain afterwards
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Oct 30 19:07:20 UTC 2010 on sn-devel-104
commit 098ea71728eb6389ff4c5314d17df533f79a07a8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 30 19:37:30 2010 +0200
s4:samldb LDB module - add a new function which handles special cases for single-valued attribute on SAM modifications
This saves quiet some work.
commit 095c8b2078128838f6b830613e80cbdcf49e10cf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 30 19:56:24 2010 +0200
s4:samldb LDB module - primary group change - free temporary messages to save memory
commit c0ebf5d7435c3c4968eefafc6c566dc818e600a0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 30 17:48:51 2010 +0200
s4:sam.py - add a short double swap "primaryGroupID" test
It's not really meaningful but can happen.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Oct 30 18:15:31 UTC 2010 on sn-devel-104
commit 98fefa8a017bbb67f6c33080c8a80c77c34e42b8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 30 17:43:17 2010 +0200
s4:samldb LDB module - adapt the "samldb_prim_group_change" trigger to support multiple "primaryGroupID" modification entries
commit 02355fc6fd176312b61198e626cfe1fbb1ed5ac5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 30 18:32:43 2010 +0200
s4:samr RPC server - the LDB error codes for adding or deleting a group member have changed
commit c664f010d387af483dce41816d5d222bd8d84f46
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 30 18:09:12 2010 +0200
s4:sam.py - enhance "member" tests
commit 4987467b785a5870cb338881c8916b4268006cd6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 30 17:12:48 2010 +0200
s4:samldb LDB module - "member" trigger
- adapt the "samldb_member_check" trigger to support multiple "member"
modification entries. There can exist special modification messages which
delete and add members in one operation
- support the right error codes when modifications do fail
(ERR_ENTRY_ALREADY_EXISTS, ERR_UNWILLING_TO_PERFORM)
commit 5a2c3ad2fa198b260bd8f0934fad0e3113c9f670
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 30 17:55:56 2010 +0200
s4:rpc_server/common.h - quiet compilation warnings
commit b548674c29aa04594e70599d9021182f9a69d753
Author: Matthieu Patou <mat at matws.net>
Date: Sat Oct 30 20:42:50 2010 +0400
provision: fix wrong tests
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Sat Oct 30 17:31:23 UTC 2010 on sn-devel-104
commit a509b93518b17309f401a6fd107c726c7ab7582f
Author: Matthieu Patou <mat at matws.net>
Date: Sat Oct 30 20:47:45 2010 +0400
build: Remove zlib from the cache if we failed to pass all the tests
This will avoid problems with redefinition of libs tests
commit 4e30a5dd0b3ca2b56d228730ad4d43f1986f39fa
Author: Matthieu Patou <mat at matws.net>
Date: Sat Oct 30 20:22:22 2010 +0400
build: make this test darwin only as it mess a bit more the freebsd build
commit 4dee76f1cd1364718ba385121c00b8b8eb1c917e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 30 17:43:48 2010 +0200
replace: Fix formatting.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sat Oct 30 16:32:15 UTC 2010 on sn-devel-104
commit 7fc0aaba4b7383973bbc2e80addea11658d48fbf
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 30 16:17:58 2010 +0200
ldb: Drop autoconf-based build system.
commit fe6d404ea506e492c0a29715ed1e88ebe044e875
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 30 16:16:33 2010 +0200
tevent: Drop autoconf-based build system for standalone build.
commit d1eba07e54d20ec9222f1ee448cc4223b9341c70
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 30 16:01:00 2010 +0200
replace: Avoid autoproto as it breaks standalone builds.
Automatic prototype generation uses ../../source4/script/mkproto.pl.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 58e99ae9169df39b383f711c91e0c0f76b954b33
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 30 15:59:14 2010 +0200
replace: Only build replace-test in standalone build.
This allows turning libreplace-test back into a subsystem.
commit 16206974e6557e71cd0e3595c3fe0538bfef956d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 30 16:58:34 2010 +0200
s4:local_password LDB module - fix typos
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Oct 30 15:41:46 UTC 2010 on sn-devel-104
commit 2c0a9e9f2118d36c7d8af5caa72346581c2197c1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 30 16:46:13 2010 +0200
s4:resolve_oids LDB module - fix counter types
commit 45ee4e9a6b3847dc54b3c6bec8b4ebccbbac93da
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 30 16:41:52 2010 +0200
s4:partition_init LDB module - fix counter type
commit 5ab8e4f7e190c40f3da675c295e2580c92a86d39
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 30 16:35:12 2010 +0200
s4:extended_dn_store LDB module - fix counter types
commit dc0000e1a8f5233608d5bf59730200af3e041ce5
Author: Matthieu Patou <mat at matws.net>
Date: Thu Oct 28 13:09:51 2010 +0400
provision: when deriving netbiosname from hostname force the netbiosname to be compliant
It means no space/_/-/@.... and less than 16 chars.
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Sat Oct 30 14:26:22 UTC 2010 on sn-devel-104
commit edebb76a616c40565383363bc240c0df50a850f3
Author: Matthieu Patou <mat at matws.net>
Date: Sat Oct 30 16:51:20 2010 +0400
build: strip -single_module when doing bundle on mac OS X
commit 33b276c2f16c4ec70cf392e850558cfd6703d7e6
Author: Matthieu Patou <mat at matws.net>
Date: Sat Oct 30 16:50:33 2010 +0400
build: set shared libraries flags correctly on mac os X
commit 23b58804ba8ab2bb190758df283eacf3ec5d8787
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 30 15:42:41 2010 +0200
talloc.3: Remove documentation for deprecated talloc_append_string,
consistent with other deprecated functionality.
commit b4ba669e48f7dd213d530a24f4587dea93c84223
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 23:42:27 2010 +1100
s4-smbd: initialise process models in smbtorture before use
the spoolss notify test needs to setup the process models before use
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sat Oct 30 13:32:09 UTC 2010 on sn-devel-104
commit 35d466e66b464cefca2e33fa8e1ff7301b029690
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 21:44:17 2010 +1100
s4-smbd: leave the single process model as internal
This helps with the static smbtorture for samba3, and the spoolss
tests which start a server
commit 55063cddd574ecca6a51b20a10fa979d55d6b70a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 16:37:27 2010 +1100
waf: fixed building of non-shared binaries that contain modules
we need to incorporate the module objects too
commit b2a565488ef0b2aad7401a0a2c61dd5853038a28
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 15:47:21 2010 +1100
s4-heimdal: lex_err_message() should not be static
commit a139628423e0a48c1a63321ee054734673f03c9e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 15:47:03 2010 +1100
s4-waf: added a lexyacc.sh script that manually rebuilds the heimdal parsers
we so rarely need to rebuild these that it is simplest to just run
lexyacc.sh when we import a new heimdal release
commit a00657db758ba2a1bdc26f27024d72b8c7a1f114
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 15:09:30 2010 +1100
s4-test: don't override modules dir
it is set correctly during the build
commit e08c9ac696776cbd0bcd13b08409c709a18680e2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 14:33:06 2010 +1100
waf: get rid of target aliases in wafsamba
these aliases are no longer needed, and can cause a lot of confusion
commit 679eba61ea5f52b6a8a31cac472ef575af5c03f8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 14:25:14 2010 +1100
s4-build: removed some unnecessary dependencies
based on running waf --symbol-check
commit f5251c064ee0d1127b59de47ae82f59bcb5483dd
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 14:24:04 2010 +1100
s4-ndr: make ndr-table a subsystem
its already part of the ndr-samba4 library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 2ea41fdbe2bc56b411aee213c852cecadb325427
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 14:19:11 2010 +1100
s4-cmdline: make cmdline-credentials a private library
commit 88fd7e0920dfdd9c1819c71b65dd3eda80a350f9
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 14:17:15 2010 +1100
s4-dns: make the dns update task an external module
this simplifies some dependencies
commit 87b3d384c6d26852d5c26cb8740eb42836193577
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 14:16:35 2010 +1100
s4-cluster: make cluster a private shared lib
commit 3f3783cad3cf1c6379014b0408f4b3f12a69d3c1
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 14:16:07 2010 +1100
s4-replace: make libreplace a private shared lib in s4
commit eb0005dfcabedbeed0a75f139d6625b268d5062a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 12:14:15 2010 +1100
s4-tdb: make tdb-wrap into a private library
this prevents double linking of the tdb wrap code
commit 045e3445a0cea796c400eacbdb28611b664ef902
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:46:20 2010 +1100
s4-auth: make KERBEROS subsystem into authkrb5 private library
this fixes some double linking. The name 'KERBEROS' was also a bit
confusing, as it sounded like a base kerberos library, when it is in
fact part of auth
commit 7a26bb9f7790cf9e0bf2e0e7b841fd5c4a64594c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:44:07 2010 +1100
s4-credentials: make a private library from CREDENTIALS subsystem
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 306754f2949f72f2629a954e2c8bfd6182307370
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:42:51 2010 +1100
s4-ldb: add explicit depenencies on ldb library in ldb modules
ldb modules call module functions from the main ldb library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 04574d5738bb6a3bed3f6ee536b93068517263d8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:41:11 2010 +1100
s4-ldbwrap: split ldb-wrap out from the LDBSAMBA subsystem
ldb-wrap and the ldif-handlers are not really related, and this allows
us to remove another dependency loop
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 228803cd015e54362e988e168a9976f6b7a27f85
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:37:42 2010 +1100
zlib: use the real library name 'z' instead of ZLIB
using subsystem aliases has a lot of potential for confusion. Better
to use the real name of the library.
commit 0563c5bacf96d1b6759acd78377c417715f30fff
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:33:53 2010 +1100
s4-rpc: split the dcesrv reply code out of dcerpc_server
this allows us to remove a dependency on the dcerpc_server from code
that uses rpc forwarding
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ac8e9106862fc4d49c070d3d307f43df9d7cc842
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:29:49 2010 +1100
s4-modules: remove LD_SAMBA_MODULE_PATH
this isn't needed now that we automatically get the module path right
in our build and install trees
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 256349d827517eba15ee4d0fbae725eace352c64
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:28:22 2010 +1100
s4-torture: simplify the depenencies for TORTURE_DRS
it doesn't need to depend on the kitchen sink
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit a57e0ae7031971f45f41cf88c4a1573e8646681b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:27:33 2010 +1100
s4-smbd: make our process models into real modules
this simplifies some of the dependencies between bin/samba and the
various services, making it easier to get a clean depenency tree
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 046d38faa5e78f2bdcfcdb3b1582427c2ecc80b8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:24:15 2010 +1100
s4-smbd: don't initialise process models more than once
this also removes the event_context parameter from process model
initialisation. It isn't needed, and is confusing when a process model
init can be called from more than one place, possibly with different
event contexts.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 3a7814826989b2ece34b8370c77bce9727814701
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:23:09 2010 +1100
waf: save the samba_deps_extended
this is needed for the symbols.py extension
commit f7b70a5a7acb3b3ed46112d0cd52f67bc763543c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:22:29 2010 +1100
waf: give a better error on a bad grouping library
give a clear error on an unknown dependency in a grouping library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 78d732cc4002f92fa7741e848a8c922e60989a56
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:21:35 2010 +1100
waf: cope with subsystems with no static modules
we still need the STATIC_xx_MODULES define when there are no static
modules. It contains just the sentinal.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ae0f420dd989b165876b4b07754043a01604583e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:19:08 2010 +1100
waf: don't auto-depend on subsystems
this is part of an effort to reduce the amount of automatic dependency
munging we do. When working on the correct dependency tree for Samba
it is easier to add the right dependencies in the wscript files than
rely on them being added by the waf rules. This change removes the
automatic dependency of modules on their subsystem. Many modules don't
actually need this dependency anyway, so it is better to add it where
they are needed (for example, for ldb modules)
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit adabc3d082a2e23a9bca9282ad5e7be07fa776e9
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:17:30 2010 +1100
waf: added --symbol-check option
this adds checking of the symbols in all our object files, libraries
and syslibs. It will form the basis in future for a lot more checks,
but for now it just checks basic rules like not allowing us to use
symbols that are in system libs.
Currently this is enabled only if you use the --symbol-check option,
(or use make with SYMBOLCHECK=1) but I intend to make this always
enabled once it has had more testing.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit df34bb268566ea86f2b77ed7bb04983b8c05e4c3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:07:40 2010 +1100
waf: build all libraries after all object files
this makes it easier to perform symbol checking before the link
stage. The two new build groups symbolcheck and syslibcheck will be
used by the symbols.py extension
commit 170c255f09a3d629bba86cf62c6a0cf81ff81bf1
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 30 11:06:13 2010 +1100
waf: use Utils.WafError() instead of raising an AssertionError
this produces clearer output on errors
commit d1e94980bf76a7dc07b01979c5d263fc32dccbf8
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 29 11:53:15 2010 +1100
waf: cope with rules with no inputs
when we display a rule with no inputs, just call the original display
function
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ccbb77693cec4e612d839b2dca92f97aa05f342e
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 29 11:52:25 2010 +1100
waf: separate out get_tgt_list()
this is a useful function for the new symbols code, so separate it out
of samba_deps.py
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e97be0860b73270e610757c6c9312106587f7161
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 29 11:51:17 2010 +1100
waf: display the paths in library loops
when we detect a library loop, try to display the paths between the
two libraries. This should make it easier to fix.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d489880ecd8b68aaabb6c154c85cc72a454d712a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 29 11:50:25 2010 +1100
waf: added env.DEVELOPER_MODE flag
this makes it easier to add project rules that are only run in
developer mode
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 65743f932b511db009655847e77288c95c0aa525
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 29 11:49:31 2010 +1100
waf: added suncc_wrap
this should solve a problem with creating alias modules with Sun CC.
Thanks to Matthieu for the idea, and Thomas for the waf code
commit b6b0d2cea32c06c3f7a5574d22d1a344d70bd0d3
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 29 11:48:06 2010 +1100
s4-kdc: create a 'pac' private grouping library
this removes the final case where we have an object file linked into
two libraries
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 89c829f654b5b67f37ce39b93bc0a456a3718ecd
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 29 11:47:11 2010 +1100
s4-heimdal: removed the use of signal.c from roken
we don't need to replace signal()
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 4bd7814a4e2970a1276b91b93987ce4fa9406c19
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 29 11:46:44 2010 +1100
s4-heimdal: fixed the use of error_message() in heimdal
the lex code in heimdal had a function error_message() which conflicts
with a function from the com_err library. This replaces it with
lex_err_message()
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d6299d2667909487986782afc596cca45f2cbdac
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 27 14:25:39 2010 +1100
replace: create a private replace-test library
used by replace_testuite and smbtorture
commit 0d45d97540df3b826c62bdd8e1ab29cde1f7f758
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 27 14:25:06 2010 +1100
s4-ldb: create a private library ldb-cmdline
this prevents duplicate linking of the cmdline support code
commit 56b46d8d886cf7c42d52234fe5e6e67ee92e4906
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 30 08:27:12 2010 +0200
talloc: Fix manual pages in standalone build.
commit 29fc7ae50fa10481425b32dea779474da4c0fc33
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 29 13:11:26 2010 -0700
Fix bug #7700 - Improvement of return code of smbclient
Based on an initial patch from H Hasegawa <hasegawa.hiroyuki at fujixerox.co.jp>.
Convert cli_list and associated functions to take calls that return NTSTATUS.
Note that this is different from the code that went into master
as many of the changes that were made to cli_list in master have
not been back-ported to v3-6-test.
Jeremy.
commit 14ff2e8de9bd8d0064762234555260f5eea643fe
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 29 11:56:51 2010 -0700
Fix bug #7700 - Improvement of return code of smbclient
Based on an initial patch from H Hasegawa <hasegawa.hiroyuki at fujixerox.co.jp>.
Convert cli_list and associated functions to take calls that return NTSTATUS.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Fri Oct 29 19:40:16 UTC 2010 on sn-devel-104
commit 606a447503defdeddc84ae03e06b392517c840c5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Oct 29 11:26:47 2010 +0200
s4:torture/rpc/samr.c - fix NTTIME warnings by casts
And also the format specifier is wrong since NTTIME is "uint64_t" and
therefore unsigned.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Fri Oct 29 10:36:46 UTC 2010 on sn-devel-104
commit 25301b7bf926c5f6f1e688e201d9dc9eee9f60ee
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 19 10:54:29 2010 +0200
s4:torture/rpc/samr.c - test the "ReplicaSourceNodeName" only against s3
AD handles this differently (see MS-SAMR 2.2.4.1)
commit af4c9cc7c24fad8ccd96d0e2cb0c0cd0138eea9d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Oct 29 10:55:07 2010 +0200
s4:samr RPC server - fix trailing whitespaces
commit 5d835c8a29cc2cf184412ca91fe48e28da2521d4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Oct 29 10:53:39 2010 +0200
s4:samr RPC server - fix indentation of function parameters
commit fc6f8be523de65bbcf0586d56bbccd27069ad852
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Oct 29 11:03:26 2010 +0200
s4:samr RPC server - DomainGeneralInformation - never return NULL on the oem name
As far as I can tell Windows SAMR never returns NULL on unknown values in this
call.
commit ebe78c444c1220829f34488aa5d7f11437785f54
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Oct 29 10:45:47 2010 +0200
s4:samr RPC server - provide the right "ReplicaSourceNodeName"
It's the content of the "domainReplica" attribute if it exists and has only a
meaning on interim/mixed domain function levels (with NT4 dcs).
commit 45cd2e445d75429fbd84a95ff4a0fa0852279cd3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 19 10:50:28 2010 +0200
s4:samr RPC server - remove wrong implementation of ReplicaSourceNodeName
This should represent a replication partner - never the DC iself
commit c5c69359d9d18c9b9be29b0442567cf19f7810a0
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Oct 29 01:54:51 2010 +0300
s4-drs_tests: drs_util_DsAttributeId_to_string() is not used anymore
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Fri Oct 29 09:54:01 UTC 2010 on sn-devel-104
commit 07240e97f859e2b46c1fc19c2fa7f5254ee05ccb
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Oct 29 01:18:31 2010 +0300
s4-resolve_oids: Remove redundant check - resolve_oids_need_value() handle this
commit 6b188fbad47f04f3a9b8979a04a0f70d10b4ada9
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Oct 27 22:29:40 2010 +0300
s4-schema_init: we should be able to resolve Syntax OIDs with prefixMap we have
If Syntax OID is not in the prefixMap then we are getting
an unknown Attribute Syntax (which we can't handle anyway)
commit 72189aef8d4c898b0537e1fb5a1493454feaef57
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Oct 27 22:21:50 2010 +0300
s4-pfm_test: Use single instance of global testing data to test with
commit fbc3fc2e5f2910aa2ce324de541ca98d72b6f702
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Oct 27 22:12:11 2010 +0300
s4-pfm-test: Enrich and fix comment primary for testing data
commit 4a11cad0e063431eec9cfce385ebacdb22279712
Author: Matthieu Patou <mat at matws.net>
Date: Fri Oct 29 01:52:32 2010 +0400
build: add the -fno-common flags to fix the link pb on mac os X
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Thu Oct 28 22:35:08 UTC 2010 on sn-devel-104
commit 6e7e7bbcf8ebbb742e52f9001b19db785c640f2e
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 09:08:33 2010 +0200
s3:registry: move regio.h from include/ to registry/
commit 57279442344edc6d9c42edd6f77627ee47f03550
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 08:53:49 2010 +0200
s3:registry: move the reg_db.h from include/ to registry/
commit 70204f6d24275e02b90ec1d13facd6476a02504d
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 08:50:54 2010 +0200
s3:registry: move prototype from reg_init_smbconf.c to its own header.
commit a74b73447dc49619a71904c4cadcc5a9b4e4082f
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 08:45:06 2010 +0200
s3:registry: move prototype from reg_init_full.c to its own header.
commit f0599afe42087766e7c7e571f3e1e849fce1772f
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 08:37:14 2010 +0200
s3:registry: move prototypes from reg_init_basic.c to their own header.
commit a64095c309de4cd0a251baf1cabdfa3594d4c436
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 08:23:20 2010 +0200
s3:registry: move reg_api_regf prototypes to their own header file.
These two calls are currently only used in the WINREG rpc server.
And this reqires linking in the regfio code.
commit 378f481962cea8899dee1b9167a634d7905f0b93
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 08:11:18 2010 +0200
s3:registry: move the reg_api prototypes to their own header.
commit 9fcf1f03309bcfcdced1e58f91e5f8c969681254
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 07:44:56 2010 +0200
s3:registry:reg_api: update (C)
commit e45d0b760dd7c12e13e6a76e3635915d233b1764
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 07:40:36 2010 +0200
s3:services_db: convert get_common_service_dispname() to talloc
commit 020df4a141e3ab28a943e2c03943f17fc520b18a
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 07:40:13 2010 +0200
s3:registry: regfio fix the build
commit cca1ae44b3749d7a7f5cd3b2a1f259061fb90e36
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 06:51:38 2010 +0200
s3:registry: remove now (finally) obsolete reg_util_registry.{c,h}
commit 4260ef920edabbfead16a2f2bdd531385e920192
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 06:49:40 2010 +0200
s3:services_db: does not need legacy registry code any more.
commit 798e84780e2e7fe470b8f6f97ed0c8e04122e5ee
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 06:48:19 2010 +0200
s3:services_db: rewrite svcctl_init_keys() to use reg_api calls instead of legacy
commit 2f6ee6007e20cab5b84f7fad2137c7725fd1a00a
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 03:11:43 2010 +0200
s3:services_db: extract core of svcctl_set_secdesc to _internal version
The internal version operates on an already opened key.
commit 08146db06993ec0718f15b36e3aac9d8c4568cb6
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 03:00:29 2010 +0200
s3:services_db: create the "Security" subkey if it does not exist in svcctl_set_secdesc()
Windows behaves like this. - Tests will follow.
commit 9407bbd2c82d809b183fafad7aa6daef711029b9
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 11:24:36 2010 +0200
s3:services_db: remove bogus comments
(from copy and paste probably...)
commit f573c8ae6d2e393a6565f099c1d564a136af5884
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 11:20:37 2010 +0200
s3:services_db: remove unused legacy function svcctl_fetch_regvalues().
commit 7d62c974664e4e7dca80095a94263e52adf6abe8
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 11:18:33 2010 +0200
s3:rpc_server:ntsvcs: registry is not directly used an more.
commit ad4d9a24edf87a408a3217b616db81aaf63b29fa
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 11:17:38 2010 +0200
s3:rpc_server:ntsvcs: use svcctl_lookup_dispname instead of legacy svcctl in _PNP_GetDeviceRegProp
commit 94d448dbf4d8ce33d51348afb5d27ecaded38c53
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 10:57:53 2010 +0200
s3:rpc_server: registry is not direclty used in the svcctl server any more
commit 0019d2c32c710804d21c8aa33a9524371336e689
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 10:30:30 2010 +0200
s3:srv_ntsvcs_nt: make fill_svc_config() use svcctl_get_string_value()
instead of using legacy svcctl_fetch_regvalues()
commit 02c1ed2cac15a2ce2f566b7617641da4ec8679e6
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 10:27:56 2010 +0200
s3:services_db: publish svcctl_get_string_value()
commit 89255c085ca23f942c4f88316f0726e7d6dcfbbf
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 08:06:30 2010 +0200
s3:services_db: factor out common code of lookup_dispname and lookup_description
into a new function svcctl_get_string_value()
commit c4b1f960d11007e6bd1ddd1795d7aed6aec00bda
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 06:19:57 2010 +0200
s3:services_db: change svcctl_lookup_description() to use reg_api functions
commit e5c2593abbb7944ae068383efb648a0c0d9ba720
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 06:03:58 2010 +0200
s3:services_db: rewrite svcctl_lookup_description() to use a tmp talloc ctx
Also remove a possible memory by tallocing the result string
also in a default case, where a string constant was returned before.
commit 74b9ec1f8b621db55919baa0866707bdd982e757
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 08:11:07 2010 +0200
s3:services_db: change svcctl_lookup_dispname() to use reg_api functions
commit c6719429100ded65bf35cd3ad9deb6a9c8a7ad52
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 04:58:27 2010 +0200
s3:services_db: make svcctl_lookup_dispname() use a temp talloc ctx
commit 5e9df32643ce79cd521cfda2b0d7b87e23f5e029
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 04:41:59 2010 +0200
s3:services_db: change svcctl_get_secdesc() to use reg_api functions
commit c05cf4cd495636dcd78b23e5aaecf1945a7e0eb8
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 04:12:42 2010 +0200
s3:services_db: use temp talloc ctx in svcctl_get_secdesc()
commit 525bc5715fd10db445d3cb6f76ec517b507259a6
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 03:38:45 2010 +0200
s3:services_db: remove the TALLOC_CTX argument from svcctl_set_secdesc
commit 3b03e6633ed9442b07df5a4063a6417756f6f76c
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 03:36:23 2010 +0200
s3:services_db: fix a debug message
commit 3a2de89e7c51109533554784e2b3ebfd1ad5b952
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 03:34:49 2010 +0200
s3:services_db: rewrite svcctl_set_secdesc to use tmp talloc ctx
and add a common exit point
commit 275f5bf73852b8c21d66195a7f629e148022e37d
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 02:43:33 2010 +0200
s3:services_db: rewrite svcctl_set_secdesc() using reg_api calls instead of legacy
commit fa7abb86f2d7efd633646e7df86ac00c51e11996
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 00:46:59 2010 +0200
s3:services_db: untanlge assignments from check in read_init_file().
commit 97a9e13b4aa637f1eeaa57ca350aa00c420e709d
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 00:40:44 2010 +0200
s3:services_db: untangle assignments from check in construct_service_sd().
commit 8f23cc8a2a33fae0d7048bf1a2abd2ca4a1874b1
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 19:32:28 2010 +0200
s3:registry: move prototypes of unused hilvl functions to ret_api_util.h and comment them out
commit 77fdb9c020c412e4cc39ff1886b6a491e5eee10a
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 19:30:58 2010 +0200
s3:registry: move (commented out) hilvl util functions to reg_api_util.c
commit c299a3ca3de2bb8c13fc968de9f136714b2754ae
Author: Michael Adam <obnox at samba.org>
Date: Thu Oct 28 23:10:50 2010 +0200
s3:registry: move higher level function reg_open_path to new module reg_api_util
The reg_api.c code should just export functions that direclty relate to winreg
api calls.
commit 090fcb011485411d887b94c7c2a53e398766cfc9
Author: Günther Deschner <gd at samba.org>
Date: Thu Oct 28 15:59:36 2010 +0200
s3-waf: add vfs_time_audit to the build.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Oct 28 15:14:27 UTC 2010 on sn-devel-104
commit e00671ee0c5ce1754bf041f2cd4abeacd1dedc61
Author: Günther Deschner <gd at samba.org>
Date: Wed Oct 27 16:31:05 2010 +0200
s3-waf: use LZXPRESS subsystem.
Guenther
commit 9dd467b2d578434c14e4a057fd27d36aafed8563
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 26 15:26:17 2010 +0200
s3-selftest: add vfs_modulesdir variable for both test systems.
Guenther
commit 4b2e2f94bb505f3de6411cfc8e01d05b010a2819
Author: Volker Lendecke <vl at samba.org>
Date: Thu Oct 28 15:41:30 2010 +0200
s3: Streamline regdb_normalize_keynames_fn a bit
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Oct 28 14:32:11 UTC 2010 on sn-devel-104
commit 0e8b6f251efcc7d899e06f0d1708d5113d042840
Author: Volker Lendecke <vl at samba.org>
Date: Thu Oct 28 15:41:30 2010 +0200
s3: Streamline regdb_normalize_keynames_fn a bit
commit 26ae187915556b66b1a112187400043f05c11135
Author: Volker Lendecke <vl at samba.org>
Date: Thu Oct 28 15:30:21 2010 +0200
s3: Fix the registry upgrade code
The strings have the 0-terminator as part of the keys. The rest of the registry
code would not cope well without.
commit 8b87603de4f40c341d23262b4ffe357248ac4ff3
Author: Volker Lendecke <vl at samba.org>
Date: Thu Oct 28 15:30:21 2010 +0200
s3: Fix the registry upgrade code
The strings have the 0-terminator as part of the keys. The rest of the registry
code would not cope well without.
commit a43261e11d92360ef4060cd3559aeab9ebac95fd
Author: Volker Lendecke <vl at samba.org>
Date: Thu Oct 28 07:50:37 2010 -0600
s3: FILE_WRITE_DATA & friends have gone from includes.h
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Oct 28 13:37:06 UTC 2010 on sn-devel-104
commit 917cc0db0ce40b555ef3f752e5a546373316b162
Author: Matthieu Patou <mat at matws.net>
Date: Thu Oct 28 12:20:28 2010 +0400
unit tests: use skip file to exclude smb2.dir instead of hack
Thanks metze for pointing this.
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Thu Oct 28 09:39:11 UTC 2010 on sn-devel-104
commit 7543ee478021db6f3a6bbdebc897a09aea565876
Author: Abhidnya P Chirmule <achirmul at in.ibm.com>
Date: Wed Jan 6 19:45:24 2010 +0100
s3: Add a vfs_time_audit module
This warns if a file system is slow
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Oct 28 08:56:44 UTC 2010 on sn-devel-104
commit 4a6d70875ab0923b3888d5f4e0b43de83b74983f
Author: Volodymyr Khomenko <Volodymyr_Khomenko at dell.com>
Date: Thu Oct 28 09:34:05 2010 +0200
s3: Fix bug 7759
commit 95cbff76d6b88174806205fe6a1ad4a91c8d92c6
Author: Matthieu Patou <mat at matws.net>
Date: Thu Oct 28 12:09:29 2010 +0400
build: Add XPG6 otherwise we have a configure pb on sun Solaris
commit 2cfee006e13d661c9aed68a104db62f487f3e889
Author: Abhidnya P Chirmule <achirmul at in.ibm.com>
Date: Wed Jan 6 19:45:24 2010 +0100
s3: Add a vfs_time_audit module
This warns if a file system is slow
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Oct 28 08:56:44 UTC 2010 on sn-devel-104
commit 97595597a32900aa064b88f7b5473df3064a6ee4
Author: Volodymyr Khomenko <Volodymyr_Khomenko at dell.com>
Date: Thu Oct 28 09:34:05 2010 +0200
s3: Fix bug 7759
commit b73a05e4e184238614d73c1519f2880cd946908d
Author: Kai Blin <kai at samba.org>
Date: Sat Oct 23 19:27:26 2010 -0700
s4 net: rename to samba-tool in order to not clash with s3 net
Autobuild-User: Kai Blin <kai at samba.org>
Autobuild-Date: Thu Oct 28 07:25:16 UTC 2010 on sn-devel-104
commit 5634f55cc8d9eb0cca01f621939cee724271ecb0
Author: Matthieu Patou <mat at matws.net>
Date: Thu Oct 28 02:12:53 2010 +0400
build: remove warnings about redifinition of boolean use -KPIC on suncc
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Wed Oct 27 22:57:19 UTC 2010 on sn-devel-104
commit c6d7e6ad08a94709264d05b9cc8f266f07bc6851
Author: Jeremy Allison <jra at samba.org>
Date: Wed Oct 27 14:17:46 2010 -0700
Fix for bug 7755 - SMBC_getdents_ctx() ignores struct alignment rules
Based on a fix from Sven Neumann <s.neumann at raumfeld.com>.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Wed Oct 27 22:02:11 UTC 2010 on sn-devel-104
commit d7ea0f9e6763d416cf1dcca0fb67cf66d1c63ad0
Author: Jeremy Allison <jra at samba.org>
Date: Wed Oct 27 14:17:46 2010 -0700
Fix for bug 7755 - SMBC_getdents_ctx() ignores struct alignment rules
Based on a fix from Sven Neumann <s.neumann at raumfeld.com>.
(cherry picked from commit b3777da0a2396f1dabac02a2e2702dafe50e4958)
commit 64867330493c676cfe6a34ea462be45c638966ee
Author: Kai Blin <kai at samba.org>
Date: Wed Oct 27 22:15:10 2010 +0200
ndr: Make sure ndr_dns.c has no lines wider than 80 chars
Autobuild-User: Kai Blin <kai at samba.org>
Autobuild-Date: Wed Oct 27 21:17:50 UTC 2010 on sn-devel-104
commit f8d49958b2a5c55e837ebe903dd5207a92d19d63
Author: Matthieu Patou <mat at matws.net>
Date: Wed Oct 27 22:59:25 2010 +0400
tls: Inform the user if the cert/ca/private key can't be saved
Most of the time this problem is due to a missing <private>/tls dir.
Should close bug 7640.
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Wed Oct 27 20:08:54 UTC 2010 on sn-devel-104
commit 0bc94c21e5fe1eab59029e99dec4fef6f378fbb1
Author: Sven Neumann <s.neumann at raumfeld.com>
Date: Wed Oct 27 11:42:34 2010 -0700
Fix bug 7754 - samba uses index(), marked as legacy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Wed Oct 27 19:25:16 UTC 2010 on sn-devel-104
commit 601c00307c1dd4a94071e4a49e0c03799f9be30e
Author: Sven Neumann <s.neumann at raumfeld.com>
Date: Wed Oct 27 11:42:34 2010 -0700
Fix bug 7754 - samba uses index(), marked as legacy.
(cherry picked from commit be22adc642270eaeff10d969357e3fa13667d176)
commit 8c4d023cc9f387dfdb70cfa4c62686925cdab193
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 27 17:40:35 2010 +0200
s4:setup/schema_samba4.ldif - this control isn't used anymore
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Wed Oct 27 16:32:28 UTC 2010 on sn-devel-104
commit 24ef932a612d75c0e692bd1f17b44db3aba437eb
Author: Volker Lendecke <vl at samba.org>
Date: Tue Oct 26 11:37:48 2010 -0600
s3: Make gpfs winattrs work again
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Oct 27 15:32:00 UTC 2010 on sn-devel-104
commit d3df21b82c45823cbd71372b7c3b0141ed644fef
Author: Volker Lendecke <vl at samba.org>
Date: Tue Oct 26 11:37:48 2010 -0600
s3: Make gpfs winattrs work again
commit 5bc2b8f0a494511800696d6d411a426463089e8b
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Oct 27 15:20:49 2010 +0300
s4-ldb: Added the correct extended check for read access to nTSecurityDescriptor
It does not depend on READ_PROPERTY, but on SECURITY_PRIVILEGE and READ_CONTROL
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Wed Oct 27 13:18:50 UTC 2010 on sn-devel-104
commit 3003bd40379b669e8b2cef7a40784f0114344f8e
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Oct 27 14:04:03 2010 +0300
s4-ldb: Changes the aclread module to use LDB_HANDLE_FLAG_UNTRUSTED to determine the source of the request
The aclread module used to use a control to make sure the request comes from the ldap server,
but now the rootdse filters out any unregistered controls comming from ldap, so the control is
lost. Using the LDB_HANDLE_FLAG_UNTRUSTED is a much more elegant solution.
Autobuild-User: Nadezhda Ivanova <nivanova at samba.org>
Autobuild-Date: Wed Oct 27 11:55:11 UTC 2010 on sn-devel-104
commit b1f6a2be271881cb93764b54dc89d35f4467f1fb
Author: Matthieu Patou <mat at matws.net>
Date: Wed Oct 27 14:15:10 2010 +0400
unit tests: move backend testing to the end
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Wed Oct 27 11:12:02 UTC 2010 on sn-devel-104
commit 04d63e973efb5b3e1bf677688f5d61ddf13cee42
Author: Matthieu Patou <mat at matws.net>
Date: Wed Oct 27 00:50:41 2010 +0400
unit tests: remove smb2.dir
Tridge says that it's a hard to fix pb and that it's not the priority
for 4.0.0
commit 14a3d4d7f06f667d3d5634360e1bb81f7f9a117d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 27 08:54:46 2010 +0200
librpc/ndr/ndr.c - fix some counter types
The "depth" is "uint32_t"
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Wed Oct 27 08:13:40 UTC 2010 on sn-devel-104
commit 51dd83a50cbfc6d1bf17eb95095bac4d223cc637
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Oct 27 15:22:46 2010 +1100
auth/credentials Give a sensible behaviour for resetting the krb5 context
This extra code isn't used at the moment, but I noticed the old API
was rather supprising in it's behaviour, and might catch someone out
at some later time.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Wed Oct 27 05:24:22 UTC 2010 on sn-devel-104
commit d9b7123cb7dd4ed04f266aa48c35e70569ae258e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Oct 27 15:19:05 2010 +1100
librpc Make ndrdump use printf() rather than having to mess with DEBUG()
This means it no longer needs to force the debug level etc.
(this builds on the fine work by Volker to create dump_data_cb())
Andrew Bartlett
commit cf310a4306b3a4b6b9201d01c5d6dbbe5ff8f09e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Oct 27 12:58:10 2010 +1100
s3-smbd Remove manual override of DEBUGELVEL during exit
This code, originally added at the dawn of time (the import into CVS)
does not seem to be required any more, as all the DEBUG() statements
in the intermediate functions are at level 0.
Andrew Bartlett
commit 4c634a3b2e22b45027a1d376573575463a460846
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Oct 27 02:56:10 2010 +0200
talloc: fix waf build for libtalloc-compat1
We need to use 'libtalloc.so.1' as soname, otherwise the
compat library is useless.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Wed Oct 27 03:53:21 UTC 2010 on sn-devel-104
commit 073d3bf1fc8b129ed7cd74b51608e40640b499c5
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Oct 27 02:54:56 2010 +0200
wafsamba: support 'soname' attribute on SAMBA_LIBRARY()
It's sometimes needed to specifiy the soname directly.
metze
commit a06192b33bf0f046c9ea95ca75c95fad63609c4f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 27 11:47:54 2010 +1100
waf: sped up the project rules checking
this also makes the --show-duplicates output more useful
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Oct 27 01:36:46 UTC 2010 on sn-devel-104
commit 3e93dc02f39b41eac812e05a45777dfce9b8298e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 27 10:38:50 2010 +1100
s3-waf: fixed the s3 waf build
Jelmer, this undoes some of your library renaming, as it conflicted
with existing binary and subsystem names
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Oct 27 00:22:34 UTC 2010 on sn-devel-104
commit afe40c7eccec25b8361fbcbc7f6af43c6846f410
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 27 10:37:58 2010 +1100
waf: quote subsystem names to make them clearer
commit 5bb7723803960ee6ec84197fe0ec3801ea7507eb
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Oct 24 20:15:01 2010 +0200
lib/util: remove useless ../lib/util/mutex.*
Only the disabled process_thread.c registers uses the register fn,
all other functions are not used anywhere.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Oct 26 23:29:46 UTC 2010 on sn-devel-104
commit e5ebc486975cc172d9547b34151204c58f0d14c2
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Oct 26 22:14:43 2010 +0300
s4-dsdb_syntax: *_OID_oid_ldb_to_drsuapi() functions should use
dsdb_schema_pfm_attid_from_oid() instead of
dsdb_schema_pfm_make_attid() as those functions are
supposed to return ATTIDs only for OIDs we already know about
(i.e. are in prefixMap)
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Tue Oct 26 22:44:36 UTC 2010 on sn-devel-104
commit 6a6c7c9aa2a8a04d6c1b6c6c8c5841efa4cb8e09
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Oct 26 21:20:11 2010 +0300
s4-pfm_test: no need to test created prefixMap contents here - it already tested
commit 45e1c0c151b6a98858a6cc580ded6a1ffff51afc
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Oct 26 21:17:55 2010 +0300
s4-pfm_test: Tests for dsdb_schema_pfm_attid_from_oid()
commit 0fc2427224c2826e5ee0b09631ae77d0b08b5ba9
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Oct 26 18:33:32 2010 +0300
s4-prefixMap: split dsdb_schema_make_attid() function into read-only and
read-write functions.
dsdb_schema_make_attid() may change prefixMap implicitly
and this is not always desired behavior.
The problem was that
(1) callers had no control on this behavior
(2) callers had no way to know wheter prefixMap has been
changed which can lead to hard to find bugs like
prefixMap is changed in read operation
commit 5e108fc5f94e6a08083f8852a59fc4b79b198af8
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Oct 22 16:22:08 2010 +0300
s4-prefixmap: Use WERR_NOT_FOUND when OID is not found in current prefixMap
rather than WERR_DS_NO_MSDS_INTID.
WERR_DS_NO_MSDS_INTID is intended to be used for msDsIntId
attribute values handling
commit d8e246cf8a4569baaa49359ceb3e21c7aa4af1f6
Author: Matthieu Patou <mat at matws.net>
Date: Fri Oct 22 11:56:40 2010 +0400
Add a script for formating test result of st/subunit
This script show the time of each test and tests are sorted by execution
time (from the slowest to the quickest)
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Tue Oct 26 20:42:11 UTC 2010 on sn-devel-104
commit 62eb450bc24dd1a79074659e91fe87394f780cf8
Author: Matthieu Patou <mat at matws.net>
Date: Fri Oct 22 10:23:23 2010 +0400
replace: restore the order for #define + rep_strtoll
commit ba6afbdfb7e8c4a3b047bda134c0887e5b16aeb4
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Oct 26 20:47:44 2010 +0200
s4:librpc: we don't need dcerpc client bindings for dns.idl
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Oct 26 19:35:59 UTC 2010 on sn-devel-104
commit 1b68910d65eb7becf968fbe5a3c16104ccf19906
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Oct 26 19:09:44 2010 +0200
s4:ldap.py - add a test for attribute ranges - still very basic
And partially outcommented.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Tue Oct 26 18:53:12 UTC 2010 on sn-devel-104
commit dd25f4b83b0ccc24512ae9ba7636a587ec43c9ec
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Oct 26 12:37:21 2010 +0200
s4:sam.py - enhance users and groups test
commit 802e3b4e1f2e0fdc7fc11ed7881dade261bfa34a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Oct 26 12:08:02 2010 +0200
s4:samldb LDB module - enhance the "member"-check trigger
- Also multi-valued "member" attributes are allowed
- When you try to delete a member from a group which has it primary group set
exactly to this group you get "UNWILLING_TO_PERFORM"
commit a839422fc57762ea3366afbe58b018cf11bfffd7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 24 21:25:52 2010 +0200
s4:ldap.py - enhance and activate the "description" attribute test
It tests only the "description" attribute in particular since it behaves
differently from all others.
commit 4f25eec5a5d9e57f0a63591535fe3f581ce23f45
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 25 13:56:14 2010 +0200
s4:objectclass_attrs.c - rework to support these special "description" constraints
Only the "description" attribute has this special restrictions.
commit c251cb62eca1b96e0b5b22a40c5a054d5d40c1f2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Oct 26 10:25:35 2010 -0700
wafsamba: Fix soname for standalone private libraries.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Tue Oct 26 18:10:13 UTC 2010 on sn-devel-104
commit a702c07e0202e2f4b853f626ca704a4bec4ae8ca
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 24 12:53:59 2010 -0700
talloc: change pytalloc-util to be a public library.
commit d44e3bf747f9812036f4b6ecf3ccb2fad1d25882
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 24 12:37:08 2010 -0700
talloc: Install pytalloc-util as system library.
commit 0ceb5018f3a75f272faa4d7a7b5c79ca100f5ef0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 24 12:17:43 2010 -0700
waf: Remove unused EXT_LIB_PYTHON.
commit 98cfc71801dfc9bc05f282d3547574324d46a67f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 24 12:15:12 2010 -0700
talloc: Avoid dependency on unknown EXT_LIB_PYTHON.
commit 1ae0981ce8d9786608714d6e7a9e31f09d765b71
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 24 11:58:47 2010 -0700
talloc: Move pytalloc to lib/talloc.
commit 50256c01d061c6d73bb2d8ee2c60785d58748e6c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 24 11:50:47 2010 -0700
waf: Only specify vnum for non-private libraries.
commit a74e8be6d1448f121181e6d7cca3841891321a12
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 24 11:26:09 2010 -0700
waf: Stop automaticaly changing dashes to underscores in library names.
commit e4d9e974da730ef7a5ac5a33797652720d40ccb9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 24 10:49:13 2010 -0700
waf: Don't auto-lowercase library names.
commit 8cf61377aa388724150699618f5cd60682ffde37
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 24 10:42:58 2010 -0700
waf: Remove lib prefix from libraries manually.
commit b2af2fd3de37296c5589fd5f34bb3353227272cd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 24 01:49:03 2010 -0700
torture_local: Add missing dependency on socket_wrapper.
commit df76c3f1475f7df13f3771f6c23cae019bc10c8c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 24 00:54:40 2010 -0700
waf: build private libraries with so names.
commit 20b526855607f4ceeb02bd3010cfd820c33be237
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 19:27:03 2010 -0700
dcerpc_dns: Change back to subsystem for the moment.
commit d9cbcdd4109d361c909f2884fcf3797cf4052092
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 18:41:59 2010 -0700
s4: Drop duplicate 'lib' prefix for private libraries.
commit 126f87e6a51bf330b7cdc631804a61e29c3116f7
Author: Volker Lendecke <vl at samba.org>
Date: Tue Oct 26 16:36:38 2010 +0200
s3: Fix some DEBUG msgs
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Oct 26 15:20:01 UTC 2010 on sn-devel-104
commit c6834d49f0bbfebc5ab96f4d22ae111b9d035ff3
Author: Volker Lendecke <vl at samba.org>
Date: Tue Oct 26 16:36:38 2010 +0200
s3: Fix some DEBUG msgs
commit da09021bf3da65c94cf25c8e6033d010c6780b4a
Author: Volker Lendecke <vl at samba.org>
Date: Tue Oct 26 09:17:57 2010 -0600
s3: Package tdbrestore in RHEL-CTDB
commit 615bc1078d6d4a6119a6c24016b5a2202842273d
Author: Volker Lendecke <vl at samba.org>
Date: Tue Oct 26 09:17:57 2010 -0600
s3: Package tdbrestore in RHEL-CTDB
commit 9fe6406a9a34907d759814b2bdf8ecedb85c7d80
Author: Volker Lendecke <vl at samba.org>
Date: Mon Oct 25 11:07:36 2010 +0200
s3: Pass tdb_flags to ctdbd when attaching to a db
This is required to make ctdb create databases with INCOMPATIBLE_HASH
commit 7aa45b06c04cdeea44ab474581fc97360cecccde
Author: Volker Lendecke <vl at samba.org>
Date: Mon Oct 25 11:07:36 2010 +0200
s3: Pass tdb_flags to ctdbd when attaching to a db
This is required to make ctdb create databases with INCOMPATIBLE_HASH
commit a78b0d53043f82a77ba09fdfce73f5db63dff3ee
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 16 17:35:50 2010 +0200
pidl:Samba4/NDR/Parser: fix NDR64 union alignment
We need to align before the switch_type and before the
union arms. Both alignments are to the boundary of the largest
possible union arm.
This means that adding a new union arm with a larger alignment
would break compat!!!
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Sun Oct 24 17:49:23 UTC 2010 on sn-devel-104
(cherry picked from commit 482c02284068810a57b35a509857fb1273d833b0)
commit 33f65a93fe905d60d8fca85327ddbbf3f8c7fe6e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 25 20:48:18 2010 +0200
s4:samr RPC server - "dcesrv_samr_info_DomGeneralInformation" - count always all type of groups
One pair are universal an global groups (on the SAMR pipe called "groups") and
the other one are the domain and builtin local groups (on the SAMR pipe called
"aliases").
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Oct 25 19:37:27 UTC 2010 on sn-devel-104
commit f991e79affe671deb43e93ce38672f4c4d68fec0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 24 13:27:33 2010 +0200
s3: Initialize output vars in parse_ea_blob
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Oct 24 12:22:22 UTC 2010 on sn-devel-104
(cherry picked from commit 172a1580d234a2194ce5bc6ca6056bbea48ed7e3)
commit 83c381385cf7d3787497a1adc78bb80e2e9c2e21
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 25 20:39:05 2010 +0200
s4:samr RPC server - remove a somewhat pointless comment
Regardless if groups and users do exist in the builtin domain or not we do
count always all users, groups and aliases.
commit 6fb64b9c7a281c2d148238390fccc08dce962f92
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 25 18:14:02 2010 +0200
s4:"samdb_search_count" - introduce a "mem_ctx" parameter
All other "samdb_search_*" calls do have one - why "samdb_search_count" doesn't?
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Oct 25 17:42:33 UTC 2010 on sn-devel-104
commit fd7943bc80f0e96b70d4f851ea4e3f8f7689bead
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 25 18:10:04 2010 +0200
ldb:gendb_* calls: support a "NULL" resultset parameter
This is useful for "samdb_search_count" where only the amount of entries
matters.
commit 8bc2b54c7237697d8fddcec9a02d742c81c83699
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Oct 9 06:47:20 2010 +0300
s4-test: Extend DRS-msDSIntId test to verify Configuration NC replica also
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Mon Oct 25 13:13:48 UTC 2010 on sn-devel-104
commit e567d6c9f77a6f7fa311ed22050ad9d0b26f0a09
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 25 13:33:13 2010 +0200
s4:samldb LDB module - other indentation fixes on error messages
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Oct 25 12:31:57 UTC 2010 on sn-devel-104
commit c3fa990f216e68a4b36d064f8a34e93d951b9201
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 24 21:32:30 2010 +0200
s4:ldap.py - prove the denied multi-valued replace requests
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Oct 25 11:49:19 UTC 2010 on sn-devel-104
commit fedd4aa3cb7a0d4b895ec040d74cfbfbee42cac5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Oct 19 15:14:53 2010 +0200
s4:objectclass_attrs LDB module - deny multi-valued replace requests
This is the AD behaviour. But on attributes with the flag
"FLAG_ATTR_REQ_PARTIAL_SET_MEMBER" it is allowed.
commit 6e407a3c1c7166801bcec364186c487c27b18550
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 25 11:28:09 2010 +0200
s4:provision_*_references.ldif - "add" and do not "replace" the "wellKnownObjects"
This is the correct AD operation in this case. Multi-valued replaces are
generally denied most of the time.
commit e24cd13e40fa3ce867654cfea70369ba627351d8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 25 11:05:22 2010 +0200
s4:samldb LDB module - fix indentations
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Oct 25 09:48:15 UTC 2010 on sn-devel-104
commit edab363466256ab0357e4e43f2e38b25a509d711
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 25 11:02:34 2010 +0200
s4:samldb LDB module - use "uint32_t" for available krbtgt number
commit 9e6d07e1b32d3050cc3574f658be1ea6ff4e87d8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 25 10:55:11 2010 +0200
s4:samldb LDB module - assign better memory contexts in some cases
commit adcfda92439f90c5c05fc80495dff53d9baa219f
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 25 06:07:46 2010 +0000
s3-waf: implement LIBMSRPC_GEN as tiny wrapper of 'NDR_STANDARD NDR_DSSETUP NDR_SPOOLSS'
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Oct 25 08:58:49 UTC 2010 on sn-devel-104
commit 98021831d768ebeea0f216f3ad65738c0ea45f37
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 25 06:06:32 2010 +0000
s3-waf: use NDR_NETLOGON for ntlm_auth
metze
commit baf4c4d3070a7e710fab890fdfebc89e34d15147
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 25 06:05:37 2010 +0000
s3-waf: use NDR_SCHANNEL
metze
commit 5b9a3a79f72f8df7e6d2d10cc48286a35afe0e85
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 25 06:03:22 2010 +0000
s3-waf: use NDR_NTLMSSP subsystem
metze
commit ffbe1c0723595e538b518335bde862627107a317
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 25 07:47:35 2010 +0200
s3-waf: add NDR_STANDARD dependencies to fix the build
metze
commit 2b74cea5f0f3bdfc51f03cfb7641010c7954f222
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 25 06:33:39 2010 +0000
s3-waf: use git to calculate the version if available
metze
commit 8ea6f41ec9d3e2577432a8d9be100f1f42775787
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 25 06:49:46 2010 +0000
s4-waf: don't generate PACKAGE_* defines in config.h
- We don't use them anywhere (heimdal has special rules)
- They calculate the version at configure time
and may contain the wrong git hash while building
- If we really need them in future we should add them
to version.h and not config.h, as the changing git hash
will trigger a full rebuild if config.h changes.
metze
commit e54d58d11388d0ff4afe3d08e0b19b0dd43835ad
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 25 08:16:04 2010 +0000
autobuild: add some comments
metze
commit 47e2371598846271fcdd8b4bb43869acce1de8ed
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 25 07:01:28 2010 +0000
autobuild: run ldb tests with TDB_NO_FSYNC=1
Only the tdb tests should not have this.
metze
commit db73b4a2c129eeb7dddcd2466f8b7b485d66c1d9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Oct 25 11:29:12 2010 +1100
waf: moved the -Wl,-no-undefined flags to source4 and ldb
moved it out of the general waf build as the s3 waf build cannot yet
handle linking with -Wl,-no-undefined
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Oct 25 01:12:15 UTC 2010 on sn-devel-104
commit 986a00dcef2bc2c9cf00c987555e0f4ff646437d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Oct 25 10:27:14 2010 +1100
s3-waf: fixed paths in s3 waf build for rpc_server
paths in waf rules are relative
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ec98bb55c6fe06f9ca698e52dda41b3cff2f95b5
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Oct 25 10:14:41 2010 +1100
s3-waf: fixed waf configure for recent changes
commit 14686e4b5a4faeed5868e2e16121acd47ff5ba43
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 25 08:30:00 2010 +1100
libcli/security Remove unused sec_acl_equal()
This was orphaned by changing sec_desc_equal() to the stricter
security_descriptor_equal() by
f4195183a47b0e7c8bc9644d62b123f7880f3fcd in 2009.
(The difference here was that sec_acl_equal allowed for equivilent ordering. I've checked the callers, and this function is only used to skip actual ACL sets, or to reference a cache, so this seems
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Sun Oct 24 22:21:23 UTC 2010 on sn-devel-104
commit caf77f7c73419064b3a4cea68d0b8591a4ec486a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 24 18:32:29 2010 +0200
s3: Use cli_setpathinfo in cli_posix_unlink_internal
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Oct 24 21:28:08 UTC 2010 on sn-devel-104
commit 2d51a24ba51934e1a9264ced1d52648a5c4c2cfc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 24 18:27:25 2010 +0200
s3: Avoid passing down a boolean to cli_posix_unlink_internal_send
commit 28e243f7ad1a0b645a00bb92b43638af5bfe8b8d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 24 18:05:03 2010 +0200
s3: Use cli_setpathinfo in cli_posix_chown_chmod_internal
commit dedda3e245d9ee2a875494d0f3c42c44e749f4f6
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 24 17:06:47 2010 +0200
s3: Use cli_setpathinfo in cli_posix_link_internal
commit c0a6b74aa4cb1c3833353b28b22b83df59955cfd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 24 16:59:56 2010 +0200
s3: Use tevent_req_simple_recv_ntstatus where appropriate
commit 64275ebe898e4ac47ec00e49d24e37b914527734
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 24 16:56:34 2010 +0200
s3: Pass down a level instead of a flag to cli_posix_link_internal
commit 7b3fccd5b4342494a33081f88b5069b2af9749de
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 24 16:45:54 2010 +0200
s3: Add async cli_setpathinfo
commit 40cc1a3d2e4d63153730a03d89cca8c936a2e06c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 24 15:43:34 2010 +0200
s3: Add "setea" to smbclient
commit 86cb0ad242002014a4bfcdd9d0b40a3d3d172b81
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 24 13:32:30 2010 +0200
s3: Add "geteas" to smbclient
commit 0831807782e01d8fb6e4e5ebcd46c014dc3ab599
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 24 15:42:45 2010 +0200
Add dump_data_cb()
commit 611bcfcb49f3a17ac7a1b866b2ea04806c7c1b40
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 24 15:23:41 2010 +0200
Add print_asc_cb()
commit 9e7bcaab2dc9a73c8251431fa4573d1d1ba32561
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Oct 9 06:04:52 2010 +0300
s4-test: Print correct partition DN in msDSIntId test
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Sun Oct 24 20:45:21 UTC 2010 on sn-devel-104
commit 7b3dbbde04d52f9faeeba507b82bc4242b1efddd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 14 22:26:44 2010 +0200
s4:dsdb - remove some calls of "samdb_msg_add_string" when we have talloc'ed strings
They can be substituted by "ldb_msg_add_string" if the string was already
talloc'ed.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Oct 24 20:03:27 UTC 2010 on sn-devel-104
commit 177aad556f4be8b6b82eec8fbf0bf4711ae32d2b
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Oct 24 19:52:01 2010 +0200
talloc: pytalloc should not depend on samba specific code
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Sun Oct 24 19:21:25 UTC 2010 on sn-devel-104
commit cbee24b2da4e067d751c3f8d30bf34a8cc1e08d0
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Oct 24 20:25:18 2010 +0200
s3:include: move debug.c prototypes to debug.h
metze
commit dbc934ee4b98f04b4c21d650a018e8aae9e437fa
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Oct 24 19:44:21 2010 +0200
s3:include: move MAX_DEBUG_LEVEL from local.h to debug.h
metze
commit 32189689df2bc40473dfeaccff6219f8e0d56b76
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 24 19:39:26 2010 +0200
s4:dsdb - use LDB results in "add_time_element" and "add_uint64_element"
In both the "objectguid" and the "repl_meta_data" DSDB module.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Oct 24 18:39:43 UTC 2010 on sn-devel-104
commit 49dee0e453049a2b26aaacf81e61a0f11afccd91
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 24 19:30:12 2010 +0200
s4:dsdb - use the more safe "samdb_msg_add_(u)int*" calls always where possible
This should prevent all possible integer storage problems in future.
commit 482c02284068810a57b35a509857fb1273d833b0
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 16 17:35:50 2010 +0200
pidl:Samba4/NDR/Parser: fix NDR64 union alignment
We need to align before the switch_type and before the
union arms. Both alignments are to the boundary of the largest
possible union arm.
This means that adding a new union arm with a larger alignment
would break compat!!!
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Sun Oct 24 17:49:23 UTC 2010 on sn-devel-104
commit fd628e7ae4653d5224c5dfcd9b2815113eaae7b8
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Oct 24 18:54:46 2010 +0200
midltests: add more union_align examples
This demonstrates the difference between NDR32 and NDR64
metze
commit 172a1580d234a2194ce5bc6ca6056bbea48ed7e3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 24 13:27:33 2010 +0200
s3: Initialize output vars in parse_ea_blob
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Oct 24 12:22:22 UTC 2010 on sn-devel-104
commit 005b50ad68c5a18d9e34e9c46f67750a67472634
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Oct 24 12:31:03 2010 +0200
s4:librpc: we don't need dcerpc client bindings for dns.idl
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Sun Oct 24 11:23:50 UTC 2010 on sn-devel-104
commit 09a10750445e92b7813459e8c297ff6340a56800
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 24 11:38:22 2010 +0200
s3: Remove unused cli_get_ea_list_fnum
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Sun Oct 24 10:23:29 UTC 2010 on sn-devel-104
commit 5a17d26e47c1e3478866cbdbc5254eae0fa10f45
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 24 11:21:56 2010 +0200
s3: Replace cli_qfileinfo_test with a call to cli_qfileinfo
commit c095809c0464cd174e0993d8c32434d6f3733342
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 23 22:37:16 2010 +0200
s3: Convert cli_qfileinfo_basic to cli_qfileinfo
commit d864b1bace0038b86cb393ca811dcce2e938bebd
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 23 09:43:31 2010 +0200
s3: Convert cli_qfilename to cli_qfileinfo
commit 94232578064e146b810f1320f67e1ab485737a17
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 23 09:35:49 2010 +0200
s3: Add async cli_qfileinfo
commit 03333fc68cf596a85fb81d202b5fdc1879928f76
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 23 09:28:47 2010 +0200
s3: Rename cli_fileinfo() to cli_fileinfo_basic()
commit a6611c16a80adf0170e8e574dff3907bdfa9b0b3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 17:18:56 2010 -0700
torture/local: Depend on NSS_WRAPPER, even if it wasn't enabled.
torture_local tests nss_wrapper.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Oct 24 01:02:00 UTC 2010 on sn-devel-104
commit 92c12a39a9b8d7bade00090f2a38a49ac3af13f6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 16:38:57 2010 -0700
ldb: Rename pyldb pkg-config file to pyldb-util, to avoid confusion with
'ldb' python module.
commit 599afb065160a9444636fada9576c8b3e889ab68
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 16:29:45 2010 -0700
s4: Rename LIBCLI_NBT -> cli_nbt.
commit 5224de3f748fe76c6423f8ed660886faf99882f8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 16:27:47 2010 -0700
s4: Rename LIBCLI_LDAP to libcli_ldap.
commit a57bd4e2d8b79f5ea57cd5727702c6d56e934231
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 16:23:53 2010 -0700
s4: Rename WBCLIENT to wbclient.
commit 18ae8887a364872644cc133705101f3cd9cfbd74
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 16:21:00 2010 -0700
s4: Rename DB_GLUE to db_glue.
commit fc6bfe24fd54b50cfa42853090b86f777a2247bf
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 16:19:23 2010 -0700
s4: Rename SMBPASSWD to smbpasswd.
Rename DSDB_MODULE to dsdb_module.
commit 8c99517a0cadf9931156a27ce9103321b8ea9a5c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 16:12:14 2010 -0700
waf: Lowercase several library names.
commit 833480d3ad1c4b3a1ea74fd583672c65c0af6463
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 16:05:50 2010 -0700
s4: Rename LIBSAMBA-* to libsamba-*
commit ca16d805bd8f33a03d67d3ed74b4d468b04874e5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 15:53:52 2010 -0700
s4: Rename LIBSECURITY{_SESSION,} to libsecurity{_session,}
commit 7a731ccdfc83c9ce11cf92f190cf250ffb43c293
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 15:48:49 2010 -0700
s4: Rename SAMDB_COMMON to samdb_common.
commit 2bcd7f68278df69ce18a344e2a1351c66edf9e0c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 15:30:42 2010 -0700
waf: Rename LIBWINBIND-CLIENT to libwinbind-client
commit 2933fac7c70b0cb5d38ebf02e4dcc2dd43fcfcd7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 15:19:49 2010 -0700
s4: Rename NSS_WRAPPER to nss_wrapper.
Only link to nss_wrapper when it is enabled.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sat Oct 23 23:05:44 UTC 2010 on sn-devel-104
commit 9757a0c54cc6c8a6a0cb5bdec488316b969adcec
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 23:59:43 2010 +0200
s4: Rename UID_WRAPPER to uid_wrapper.
Only link to uid_wrapper when it is enabled.
commit 7b8549348a98fbc43917bc56244637e9a8b25c37
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 23:53:08 2010 +0200
s4: Rename WRAP_XATTR to wrap_xattr.
commit cf26d8a958256e1f56f9bc5a9611868d04a15e74
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 23:49:33 2010 +0200
s4: Rename LIBEVENTS to libevents.
commit bc44fcc6fb17eb9db9c9dcef08b6c88626c90819
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 23:41:19 2010 +0200
s4: Rename NDR_TABLE to ndr_table.
commit 9065f9644bd32d6ca3a8b9a77d67e0b30891a321
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 23:36:32 2010 +0200
s4: Rename LIBNETIF to libnetif.
commit 49ef2888193dd7cc37c3fe0a980b7cc1abdac805
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 23:26:43 2010 +0200
waf: Rename some BUNDLED_ functios to PRIVATE_.
commit 18103d34e2e965ac77ab023f12caa967c655765a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 23 22:50:29 2010 +0200
create_descriptor.c - fix comment
The location in MS-DTYPE changed.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Oct 23 21:33:46 UTC 2010 on sn-devel-104
commit 8b9a08e10f7b984309ba23ca034923c9634b8e46
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 23 21:26:05 2010 +0200
s4:provision.py - add the correct "CN=Sites" security descriptor
This should help to fix bug #7403.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Oct 23 20:16:59 UTC 2010 on sn-devel-104
commit 245642a36b5126d2a481a2aac0b20318ed955732
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 23 20:27:50 2010 +0200
s4:schema.py - reformat and fix the security descriptor
- Now it matches Windows's order
- It contained a superfluous entry (an "Administrator" user grant)
commit c25afb6aa16b3e527c6050985e9aeaca0beec355
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 20:41:27 2010 +0200
ldb: Support using system pyldb library.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sat Oct 23 19:24:25 UTC 2010 on sn-devel-104
commit 9a2f83a86ae9068c9c63b0c701f5625d19114028
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 20:39:48 2010 +0200
ldb: Install pkg-config file for pyldb.
commit bd48e23f3414331445a901143f84cda125230262
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 20:38:52 2010 +0200
ldb: Install pyldb-util as public library.
commit dec00bf0974ea3b5079c32e2a6e6253954297253
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 23 19:53:38 2010 +0200
tdb: Revert re-addition of tdb_set_logging_function.
I accidentally committed this patch which we carry in the Debian
packages.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sat Oct 23 18:37:16 UTC 2010 on sn-devel-104
commit c7d7c8f6f8b85c15d3fef37d516e34961ee4f31a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 23 16:54:55 2010 +0200
ldb:ldb.h - include a comment that the relax control is mainly used by the OpenLDAP backend
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Oct 23 16:40:04 UTC 2010 on sn-devel-104
commit f9a6ff482c8d03e7e46fd6925d58214b7a097e02
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 23 16:15:51 2010 +0200
s4/ldb:introduce the LDB_CONTROL_PROVISION_OID control
This control is exactly thought for the actions which previously were performed
using the RELAX one.
We agreed that the RELAX control will only remain for interactions with OpenLDAP.
commit 89c42a96fcaa43a7f2c9aef9e708276a639e0051
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 23 16:06:17 2010 +0200
ldb:rename LDB_CONTROL_BYPASSOPERATIONAL_OID into LDB_CONTROL_BYPASS_OPERATIONAL_OID
It's nicer to have this consistent with "BYPASS_PASSWORD_HASH".
commit a60965b879f4b4c7fc8507073c6000967b80b724
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 23 15:52:34 2010 +0200
s4:dns_server - fix counter types
commit ee913f45683e66d4391944e034217a56d42e7ab5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 23 16:36:45 2010 +0200
tdb: commit the version 1.2.7 signatures
commit 72c8ccd408070bcb3defba34865d31a1ea6311fe
Author: Kai Blin <kai at samba.org>
Date: Sun Oct 3 12:21:00 2010 +0200
s4 dns: Implement update record prescan logic
Autobuild-User: Kai Blin <kai at samba.org>
Autobuild-Date: Sat Oct 23 10:58:18 UTC 2010 on sn-devel-104
commit 005a65660d1d5a39cccdabca1970b7e56537df17
Author: Kai Blin <kai at samba.org>
Date: Sun Oct 3 00:40:32 2010 +0200
s4 dns: Add stub checking if updates are allowed
commit 1e670dff6a0b9b5e42849817deb3c79e4ea30f57
Author: Kai Blin <kai at samba.org>
Date: Mon Oct 11 23:40:18 2010 +0200
s4 dns: Add a prerequisites check for updates
commit cfa47965fe2aacf861a107c0db4daa5d43180471
Author: Kai Blin <kai at samba.org>
Date: Mon Oct 11 23:39:44 2010 +0200
s4 dns: Switch to WERROR
commit 682a2e93daddbd95e617dde9dcdc7dee7a739929
Author: Kai Blin <kai at samba.org>
Date: Fri Oct 1 12:59:22 2010 -0700
s4 dns: Split up the code into multiple files for easier development
commit cebce2b9a40db1f5d28e20b6eda7010e9c530a5d
Author: Kai Blin <kai at samba.org>
Date: Mon Oct 11 23:50:16 2010 +0200
s4 dns: More work on updates
commit fb181752c5a8704140e36977c2723d4d3c4c8166
Author: Kai Blin <kai at samba.org>
Date: Mon Oct 11 23:22:55 2010 +0200
s4 dns: Map between NTSTATUS and dns error codes
commit a6305c4a168e7d3ac06f824dce05767bc7e9b9c0
Author: Kai Blin <kai at samba.org>
Date: Thu Sep 30 20:35:00 2010 -0700
s4 dns: Better error handling when parsing invalid or unknown records
commit 69a52290ce81c62f1d6af717c4bd9b6281f0886f
Author: Kai Blin <kai at samba.org>
Date: Thu Sep 30 18:21:53 2010 -0700
s4 dns: start handling update requests, return correct error codes
commit eb4f101200f18fdf7482e14c4471d6e90b166af0
Author: Kai Blin <kai at samba.org>
Date: Thu Sep 30 18:20:42 2010 -0700
s4 dns: Allow more components as part of a domain name
commit 063727a88b10cbd27892d0e165fe18958849f7df
Author: Kai Blin <kai at samba.org>
Date: Thu Sep 30 17:05:23 2010 -0700
s4 dns: Handle CNAME records
commit 32a1b71ec8e51a2e9486c174e4b23e3942e14079
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Oct 1 01:41:29 2010 +0200
s4 dns: Parse srv and soa records
Signed-off-by: Kai Blin <kai at samba.org>
commit 615857d9899906b3505397b22e769538315a27ef
Author: Kai Blin <kai at samba.org>
Date: Thu Sep 30 16:35:04 2010 -0700
s4 dns: Look up all names in the ldb database.
commit 678634abfb590a6819b125a04777c509e83e4a3f
Author: Kai Blin <kai at samba.org>
Date: Mon Oct 11 22:32:25 2010 +0200
s4 dns: Look up records in the ldb database
commit 80f30889e9c947e6ddf31efd5d07d32d1a806209
Author: Kai Blin <kai at samba.org>
Date: Mon Oct 11 22:31:14 2010 +0200
s4 dns: Fix a data corruption in the dns_string parsing
commit 1c25cc705762366e2525e61df3d193b2ea2106bf
Author: Kai Blin <kai at samba.org>
Date: Mon Oct 11 22:29:05 2010 +0200
dnsp: Can't have two memebers of a union with the same name
commit a7b833ec7e19bc3251ade69af101631013d60419
Author: Kai Blin <kai at samba.org>
Date: Wed Sep 29 17:24:53 2010 -0700
s4 dns: Reply to a name request with an A record.
The first real answer to a DNS request. Still uses hardcoded reply.
commit 719a6bbfede5b124c96f7c84d27e68ac285b073a
Author: Kai Blin <kai at samba.org>
Date: Fri Oct 22 09:37:38 2010 +0200
ndr dns: Add simple parser
commit 96195b2c0c239781c47f51bbf62156a8804f9525
Author: Kai Blin <kai at samba.org>
Date: Tue Oct 12 06:23:32 2010 +0200
s4 dns: Add a boilerplate DNS server implementation
commit caf4196899d864abe4bb6d3c9da3952f5b5ba8b8
Author: Kai Blin <kai at samba.org>
Date: Wed Sep 29 17:22:09 2010 -0700
dns/nbt: Fix spelling of the "authoritative" flag.
commit 97868713a0ed4a8519796abc69d282c9b2ea3121
Author: Kai Blin <kai at samba.org>
Date: Fri Oct 22 09:08:20 2010 +0200
idl: Add idl describing DNS structures
commit 4ffdf09623da867f5c0dd3031820f7d033681b1f
Author: Kai Blin <kai at samba.org>
Date: Sat Sep 25 07:23:56 2010 -0700
netlogon.idl: Switch to explicit constants to remove dependency on nbt.idl
commit eeac222398b49a6fbeb72314df06376cb8e3e7af
Author: Kai Blin <kai at samba.org>
Date: Fri Oct 1 17:41:01 2010 -0700
s4 dns: Import DNS win32 error codes from MS-ERREF
commit e7358e75821b036b19327dc4117226def5787db7
Author: Kai Blin <kai at samba.org>
Date: Thu Sep 30 13:16:19 2010 -0700
s4 dsdb kcc: Prefer msDS-hasMasterNCs over hasMasterNCs when replicating
commit f26c9b3966d27c4c53b8334d3eb272a7bf3226b0
Author: Kai Blin <kai at samba.org>
Date: Fri Oct 1 01:13:28 2010 -0700
s4 socket: increase the debuglevel to make add interface debug messages less verbose
commit 821a20221df8e5ad8c8ca3ebf43bd4257b724ad9
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Oct 23 11:03:41 2010 +0200
s4:rpc_server/netlogon: netr_ServerAuthenticate3 should return NO_TRUST_SAM_ACCOUNT
If we can't find the account we should return NT_STATUS_NO_TRUST_SAM_ACCOUNT
instead of NT_STATUS_ACCESS_DENIED.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Sat Oct 23 10:05:35 UTC 2010 on sn-devel-104
commit f0879fc3b2dbdf9508443429cdb242f759d31cfe
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Oct 23 11:02:43 2010 +0200
s4:rpc_server/netlogon: netr_ServerAuthenticate3 should reject invalid sec_channel_types early
metze
commit c2696b2ec37815a1bc0594295b6fe81b3e156c11
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Oct 23 11:01:43 2010 +0200
s4:rpc_server/netlogon: netr_ServerAuthenticate3 should check the challenge after the account
metze
commit 5ee49fc1c1afe7a0d4cc2ae6bfe44c21dd1fdb83
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Sep 30 00:33:18 2010 +0200
s4:rpc_server/netlogon: fix comment in netr_DsRGetDCName()
metze
commit 675c354b6bdc525bec1c1aa0a67c1a79b5f93e0c
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Sep 30 00:29:48 2010 +0200
s4:rpc_server/netlogon: handle DC_RETURN_NETBIOS and DC_RETURN_DNS in netr_DsRGetDCNameEx2()
metze
commit fcc2f6ba4a1c853a6e836cd4b45c8da3e6601992
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Sep 30 00:27:52 2010 +0200
s4:rpc_server/netlogon: validate flags in netr_DsRGetDCNameEx2() and callers
Thanks to Tarun Chopra for the help of looking up all the bits in
the docs.
metze
commit e297625d96a6ad6deba4edf2dc69756ba67aa452
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 29 20:36:40 2010 +0200
s4:rpc_server/netlogon: netr_GetDcName should return WERR_DCNOTFOUND for invalid names
Only netbios domain names are allowed.
metze
commit 4a4738b56a0ed34b9cea2c66a1867dbff1d785df
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Oct 23 10:55:49 2010 +0200
misc.idl: add SEC_CHAN_LOCAL and SEC_CHAN_LANMAN
MsvApSecureChannel and UasServerSecureChannel in [MS-NRPC]
metze
commit c320c1ab989cf809da6effb4a47e8355c94357f5
Author: Kai Blin <kai at samba.org>
Date: Fri Oct 22 16:40:38 2010 +0200
lib/util: Add tevent WERROR wrappers
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Sat Oct 23 07:35:28 UTC 2010 on sn-devel-104
commit 79c6572256a01279d9e4f0b436d334f4fd739866
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Oct 21 23:31:41 2010 +0200
tsocket: let tstream_inet_tcp_connect_recv() optionally return the used local address
tstream_inet_tcp_connect_send() usually only gets no local port number
and it may use the wildcard address '0.0.0.0' or '::'.
tstream_inet_tcp_connect_recv() provides the used local address and port
which are used on the wire.
metze
commit d2c653629cdc3df8549c6faabfcdbe3045cd013c
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Oct 21 23:26:14 2010 +0200
tsocket: ask the kernel for the specific local address after a tcp connect
metze
commit 96601cab1cb0bd47051cd9fb30f0464c0734cb8a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Oct 22 14:41:47 2010 +0200
lib/replace: use snprintf() in test code to avoid warnings in the IBM-Checker
metze
commit d65896cc3c5e67508e295e6d64193210e958971c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Oct 22 08:44:29 2010 +0200
lib/replace: fix rep_strtoull() prototype
metze
commit 272feb7bd133344e88864ffc75d251451ddd681c
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 22 15:58:40 2010 -0700
Revert "Wrap security_token_has_privilege() with a check for lp_enable_privileges(). Needed"
Not needed - privileges code prevents "enable privileges = no" from adding privileges
anyway.
This reverts commit a8b95686a7bde3f96f141b6938e24e101567ef54.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Fri Oct 22 23:41:36 UTC 2010 on sn-devel-104
commit d46ca0eb801f2664cedb17c50a9a94e58ebdb0b6
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Oct 23 00:13:09 2010 +0300
s4-dsdb_syntax: Setup "String(Case Sensitive)" syntax
Currently it is mapped to Octet String LDAP syntax
for comparison purposes.
According to LDAP rfc we should be using same comparison
as Directory String (LDB_SYNTAX_DIRECTORY_STRING), but case sensitive.
But according to ms docs binary compare should do the job:
http://msdn.microsoft.com/en-us/library/cc223200(v=PROT.10).aspx
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Fri Oct 22 22:19:50 UTC 2010 on sn-devel-104
commit a8b95686a7bde3f96f141b6938e24e101567ef54
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 22 10:31:06 2010 -0700
Wrap security_token_has_privilege() with a check for lp_enable_privileges(). Needed
to maintain compatibility with smb.conf manpage.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Fri Oct 22 18:15:48 UTC 2010 on sn-devel-104
commit 3e79cd6856e5c76cc39ad2be68b40534a524cecd
Author: Jeremy Allison <jra at samba.org>
Date: Thu Oct 21 12:50:33 2010 -0700
Fix const warning. Allocate off NULL as we always talloc_free().
commit 2a001381e88b18b8612cdc2a40d9ea3c825548ea
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Oct 20 13:49:46 2010 +0300
s4-dsdb/schema_syntax: Separate validation for numericoid OID values
This implementation doesn't use prefixMap/Schema to validate
numericoid OIDs. We may not have this OID yet, so I see no point
checking schema for if we have it.
Side effect of using prefixMap/Schema for validating numericoids
is that we mistakenly add the OID to the prefixMap.
This led to a corrupted prefixMap in LDB.
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Thu Oct 21 23:32:26 UTC 2010 on sn-devel-104
commit 14cb61da8fe4fb24c3e066e5731d0be00ddb893b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Oct 20 13:46:34 2010 +0300
asn1_tests: Implement negative unit-tests for ber_write_OID_String()
commit 6b63ad6ff1bfcb7fcfb3e0f3cd4636ff222ab88f
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Oct 20 13:45:59 2010 +0300
asn1: ber_write_OID_String() to be more picky about supplied OID
Now function will check for invalid OID handling cases where:
- sub-identifier has invalid characters (non-digit)
- 'dot' separator found on unexpected place. For instance
'.' at start or end of the OID. Two '.' in a row.
commit c74ef7acf49f5e447373643c2e28c1dad56f451d
Author: Matthieu Patou <mat at matws.net>
Date: Fri Oct 22 01:01:53 2010 +0400
waf: Mark the replacement zlib private so that it can build on machine without a system zlib
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Thu Oct 21 21:47:46 UTC 2010 on sn-devel-104
commit 4ea7d4694a8353fc55ecd12cb09b9c91ffde7b3f
Author: Matthieu Patou <mat at matws.net>
Date: Thu Oct 21 02:14:39 2010 +0400
replace: use replace for non 'samba' compliant strptime
commit 2d0ac59fcc490517b202180f49b178ab80c2534e
Author: Matthieu Patou <mat at matws.net>
Date: Thu Oct 21 00:13:54 2010 +0400
replace: use a wrapper around strtoll if it didn't behave as expected
commit c529317fe2b48e045b35a613cfd1ad3f03b68435
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Oct 21 21:43:13 2010 +0200
Lowercase socket_wrapper name.
Avoid linking against socket_wrapper outside of developer mode.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Thu Oct 21 20:26:11 UTC 2010 on sn-devel-104
commit 050075f2162bda35728c878258a5b833fed37357
Author: Jeremy Allison <jra at samba.org>
Date: Thu Oct 21 12:16:45 2010 -0700
Add SeSecurityPrivilige.
Jeremy.
commit 915e41950a09ef755a3b14d587ffba3a8b29e726
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Oct 21 11:51:37 2010 +0200
tdb: Set _PUBLIC_ in C file rather than header files (Debian bug 600898)
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Thu Oct 21 11:47:22 UTC 2010 on sn-devel-104
(cherry picked from commit 62c4af99428abb2d4ac1b18454d72e0c8cbb67e8)
commit 5785f08268bac332d09bdf71d1907ecb54f3b5bd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Oct 21 21:08:45 2010 +1100
s4-dsdb extended_dn_out: Move lazy dereference control creation to lazy-init
We didn't seem to get the control created by the time we do searches here.
Andrew Bartlett
Autobuild-User: Anatoliy Atanasov <anatoliy at samba.org>
Autobuild-Date: Thu Oct 21 12:29:54 UTC 2010 on sn-devel-104
commit 62c4af99428abb2d4ac1b18454d72e0c8cbb67e8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Oct 21 11:51:37 2010 +0200
tdb: Set _PUBLIC_ in C file rather than header files (Debian bug 600898)
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Thu Oct 21 11:47:22 UTC 2010 on sn-devel-104
commit 2c0ff5113cd9ef966f9ee3bcc723a6a28f1197da
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 21:17:57 2010 +1100
s4-waf: we don't need the smbtorture.static for s3 any more
this breaks the build farm
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Thu Oct 21 11:04:21 UTC 2010 on sn-devel-104
commit 6120ef9f9e76c417cc105db8be3834516312a9eb
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 20:41:06 2010 +1100
autobuild: don't cleanup the pid file within the retry loop
if we rebase and retry we need to keep the pid file
commit 4fa0ceb7517de755b20179f2728532811f62c845
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 20:21:10 2010 +1100
waf: RPC_NDR_WINBIND is samba4 specific
this caused problems with the s3 waf build
commit 3c748714bb2a81004673db8a77ea5699f3cc73d0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 21 10:28:32 2010 +0200
ldb:ldb_modules.c - "dlclose" could cause inference on "dlerror"
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Thu Oct 21 09:28:19 UTC 2010 on sn-devel-104
commit 6c3e670f31beb5766b906e26ddc0c5d75b401137
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 18:36:41 2010 +1100
waf: check the linker accepts a set of ldflags before using them
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Thu Oct 21 08:45:49 UTC 2010 on sn-devel-104
commit 6fd9fee502067dd2e864ebfce50302af062ee2d6
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 18:17:59 2010 +1100
s4-dsdb: force LDB_ERR_NO_SUCH_ATTRIBUTE on missing schemaInfo
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 19f8dc9580a772620a39b09585e8c7f8f5deac13
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 17:55:24 2010 +1100
s4-ldb: make ldb_options_find() public
we need to make this symbol public to allow for -Wl,-no-undefined, as
otherwise the pyldb module can't find the symbol when it creates the
module
commit dc729c62eaadff081dea28a4f8769af45c83c4cf
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 17:45:23 2010 +1100
waf: loosen the restriction on depending on python libs
the pidl generated python code can generate dependencies between two
python modules, so we have to allow this for now
commit 7ffb781e81ef15bed730a8c2c3ddc4280485ee9f
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 17:44:32 2010 +1100
waf-python: make the pyext flag add the pyembed features for libraries
this is rather strange, but we get build errors without it. There may
be a bug in the waf python tool, or I may misunderstand how to use it
commit 0966776b363ac7a66a5d22c05d474e35e6994c68
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 17:41:42 2010 +1100
waf: fixed the handling of -Wl,-no-undefined
this flag was not being propogated to our link rules, so we were not
in fact enforcing no undefined symbols in libraries.
commit 97ce2d89655497320ca5842b9dd8dd0d7071bb64
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 17:36:15 2010 +1100
s4-librpc: fixed depenencies for libcli/security
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d98effffe4857765b6a8851d96af3fc73ac1801b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 17:34:55 2010 +1100
libcli: LIBSECURITY depends on NDR_SECURITY
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 171158482175f7ff6187c7535385e83ac28a086e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 17:14:10 2010 +1100
s4-dsdb: fixed depenencies for -no-undefined
added some depenencies needed for -Wl,-no-undefined
commit 6ce4125bbe364743596d1e087f7a94e810605421
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 17:13:26 2010 +1100
s4-events: LIBEVENTS depends on LIBSAMBA-UTIL
it needs it for the debug code
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 56640a8501625d29745269fcddc1980c6b751a2a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 17:12:31 2010 +1100
s4-rpc_server: split out DCERPC_SHARE as a separate subsystem
this avoids a problem with -Wl,-no-undefined in the ntvfs layer
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 1748d10e47c1000c56594a103c35b7962b5a5da2
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 17:11:20 2010 +1100
s4-python: python_samba needs pyext
commit 51dc322f6314cd94eb2bfc72d2c83fb8a55a1134
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 15:30:27 2010 +1100
waf: show duplicate objects in python modules as well as libraries
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit cef53b289b28e208602e34cfe8c93e05102bdc29
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 15:27:50 2010 +1100
s4-waf: removed the dependency loop between ntvfs and dcerpc_server
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 11bce8ce0334d2c903962fe901a34ff45bb150e8
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 15:27:25 2010 +1100
librpc: added a few more NDR_* targets to NDR_SAMBA
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit bbe016b77c6fd08e66a099e012c365103410d0e0
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 15:26:38 2010 +1100
s4-ldb: make pyldb_util a private library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 4af59515f61e43d0e59f58942cc60d1a0de5d28d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 15:26:20 2010 +1100
librpc: added RPC_NDR_SAMBA grouping library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 1cbb6150a146ec94ec5f95ae6a5666ea546d3693
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 15:26:00 2010 +1100
lib: make WRAP_XATTR a private library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ec7bb906db95e77b78310f5e2c3e584e5d6de59c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 15:25:44 2010 +1100
waf: added pyext option to SAMBA_LIBRARY()
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f7aca49e20df34e463f7447d02bc11f6d2095cf9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 14:58:14 2010 +1100
librpc: added NDR_XATTR and NDR_UNIXINFO to the NDR_SAMBA grouping library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit af36485ae54b2a9a1263468ec4388423ccb3588b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 14:57:34 2010 +1100
s4-python: added a samba_python grouping library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 19bae689c108ff1f85ee5ce147aa54a9d28f5f30
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 14:56:59 2010 +1100
s4-param: added a libshares grouping library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 62d7b2780807a72e7ae5bb53d65e564f0096ace3
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 14:56:36 2010 +1100
s3-waf: mark some libraries as private
public libraries must have a vnum specified
commit 7a2cad43df77741997b1009d83280f095c6d99dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 14:55:19 2010 +1100
waf: raise an error on a dependency on a python module
it is never correct to list a dependency on a python module
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit b4dd1accc8178bed96ab8606dc655d30826886e6
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 14:54:11 2010 +1100
s4-waf: don't depend directly on python modules
build rules should not list dependencies on python modules. Instead,
if code needs the module it should use the python API import calls to
access the module.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 3981399957a8f2d608adb33e9ced1c50bcb1f5dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 14:52:25 2010 +1100
s4-waf: removed the XATTR and SASL aliases
these were hangovers from the old build system names
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6f36a015b1975a9ea027da8cf009cd38f074d77f
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 13:52:47 2010 +1100
waf: prevent the global deps list creating depenency loops
this prevents a loop between SOCKET_WRAPPER and replace in the s3 waf
build
commit e98ca6e868eb8cc25968e67ada2e153e828131ff
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 13:52:15 2010 +1100
s4-libcli: make LIBSECURITY_SESSION a private library
commit 4b3fae6ca8ed29b7c74edf589de678418cb3481a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 13:51:55 2010 +1100
s4-socket: make LIBNETIF a private library
commit aa0dbdc5b11a0efa46ff540d99875690c6244c25
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 13:51:40 2010 +1100
s4-events: make LIBEVENTS a private library
commit 7c92baf0dc8e6c4dacfec07e22c4552d0d5ee118
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 13:51:21 2010 +1100
s4-kdc: make DB_GLUE a private library
commit ae5c4cd6f9da3157acfb90dcb296aefd8e7f1e1e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 13:51:02 2010 +1100
s4-dsdb: make ldb_password_hash depend on hdb not HEIMDAL_HDB_KEYS
this prevents a duplicate object file
commit 323c1a8679fc50fd4ae810d541a06489219e3c72
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 13:50:13 2010 +1100
nsswitch: make LIBWINBIND-CLIENT a private library
commit 0b255c0da6d4c97ad8d733c8632fa8472bd47b5e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 13:49:55 2010 +1100
nsswitch: make LIBWBCLIENT a private library
commit 6c60b8be03c195c06301b04a656ff1281be2eb09
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 12:58:31 2010 +1100
lib: add UTIL_TEVENT to samba_sockets grouping library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5ecd87230e2a83f7925b519c596ddecb89674577
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 12:57:56 2010 +1100
s4-libcli: make LIBSAMBA-ERRORS a private library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6ba86d8ca31635b16670c59e645ceacdb256c054
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 12:57:36 2010 +1100
s4-lib: make SMBPASSWD a private library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 47591ea5ec03916393d22484e3b551da033260ea
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 12:47:57 2010 +1100
s4-dsdb: moved a bunch of fuctions from schema/schema_info_attr.c to samdb/ldb_modules/schema_util.c
these functions operate on ldb_modules, so they should be in the
ldb_modules directory. They also should return ldb errors codes, not
WERROR codes, as otherwise the error can be hidden from the ldap
caller
This re-arrangement fixes a dependency loop in the schema/samdb code.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Pair-Programmed-With: Kamen Mazdrashki <kamenim at samba.org>
commit cffbccb5cb0046bc9713de5d5a89d7f8236888f4
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 11:29:46 2010 +1100
s4-waf: make NDR_STANDARD a grouping library and add NDR_SAMBA4
this collects a number of subsystems into logical groups
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit acffaf2bfb5d78c756224fe36e5667ce79b67f71
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 11:28:58 2010 +1100
s4-build: make LIBSAMBA-NET a private library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 9bc47cc4557c856b2095ffe709351ab3173b9783
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 11:28:27 2010 +1100
waf-build: create a NDR_SAMBA grouping library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f39b21008f578fa2cf91e2cdc9ebc0ca15100e9a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 11:28:05 2010 +1100
waf-build: create a samba_sockets grouping library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 2dcb596e8302856a66e8d6f11457ad87d1ad1dab
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 11:25:59 2010 +1100
s4-waf: removed dependencies on missing subsystems
these were left over from the old config.mk system
commit 7cba3cfac8781061e4114573517b30baedbf891a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 11:22:36 2010 +1100
waf: replace the is_bundled option with private_library
'private_library' better captures what we are trying to get at when we
bundle a library
commit 1d8733537e47439f8d79cd78d278eace1b795df3
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 11:19:09 2010 +1100
waf: added the concept of a grouping_library
a grouping library is one which 'groups' a set of subsystems. This
means that if a target depends on a subsystem that is within a
grouping library then that dependency is replaced with a dependency on
the grouping library.
This gives us a powerful method to avoid duplicated object files
between libraries.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 713900b81297548c44a890c3bca1dde9019af8bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 08:59:06 2010 +1100
s4-build: fixed some formatting
indentation was far too deep
commit 579f06e0014adf5c1ce3df6add4fb03d53673a3b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 08:58:35 2010 +1100
build: subunit and popt need to be marked as private libraries
they have no vnum
commit e2a2c717573fda174a93f823c1c4bccf214052c0
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 08:54:36 2010 +1100
waf: cope with libraries with a specified version number
this fixes a problem with libnss_winbind.so.2. Thanks to Jelmer for
spotting this.
commit aa88884d37915ac06ed33766e6ad7460d1306d62
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 08:30:55 2010 +1100
s4-libcli: make LIBCLI_LDAP a private library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e73739a338fd2586e64a6c892e6f798c08b31a22
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 08:30:39 2010 +1100
s4-auth: make auth a private library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit a913e79ee52fa21b9d7469a497fc8f63571fc913
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 08:30:15 2010 +1100
replace: make libreplace a private library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0ad5937b4e353f9dd026cbf6a9555afbedc7ca39
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 08:29:24 2010 +1100
s4-ndr: make NDR_TABLE a private library
this greatly reduces the size of ndrdump, and saves us a fair bit of
duplication
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 35b61c23650da1ec971ffd37c534fc82903b9940
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 08:28:35 2010 +1100
libcli: make LIBCLI_NBT a private library
commit dc00b773fc67ff55567e3c159749f1e55f4a5b1f
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 08:28:12 2010 +1100
wrapper: make socket_wrapper, uid_wrapper and nss_wrapper private libs
this prevents double instantiation
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 29c0b86126c2eb4e5c921f63b10e796bce647e1a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 21 08:27:07 2010 +1100
waf: re-work the module alias code
we now create a base library, and then create the alias modules as
wrappers around that base. That prevents double instantiation of any
object files in the modules
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 9a2c9c2fc264627494b16923f3055d4aa09ae835
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 20 18:19:55 2010 +1100
s4-dsdb: make SAMDB_COMMON into a private library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 8709c3c0f2695b199bb63fee27c6ae054d665209
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 20 18:19:31 2010 +1100
libcli: make the LIBSECURITY subsystem into a private library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e596a4e6c3598d0045c330a595bd0a05b6c33bb7
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 20 18:17:52 2010 +1100
waf: fixed expansion of direct_objects and direct_libs
these do not need to be expanded in break_dependency_loops()
commit cd7190b802b4c4c645a7973156833b2a17db1965
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 20 18:17:13 2010 +1100
waf: allows libraries to be marked as private_library=True
this is for libraries where we make no promises about the API, but
where we wish it to be a library to allow our binaries to use common
code.
These libraries always get the project suffix added to the library
name, to ensure we are in a separate namespace
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c0878cfb615d35fc3a62e45fa9ecab7f178ecb3c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 20 18:11:31 2010 +1100
waf: rework expand_subsystem_deps()
make the variable names a lot clearer, and restrict the expansion of
subsystem deps to object style subsystems and modules. If a subsystem
or a module is built as a library then we don't need to expand the
dependencies across that boundary
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 14081efcc07e02a479ed3121a2359b9dd766a378
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 20 18:09:45 2010 +1100
waf: added --show-deps and --show-duplicates
these options make it easier to examine our depenency tree, by showing
any objects linked into more than one library, and by showing the
dependency tree for a chosen target
commit 8044a20d8d84e740ca5c6d76bacaa977d691f3d0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 21 08:51:46 2010 +0200
ldb:ldb_modules.c - if we don't find the associated dynamic object then please close the handle
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Thu Oct 21 07:52:44 UTC 2010 on sn-devel-104
commit 0b8b9aed34b9ad80d36860840e024330ae7cd671
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 21 09:03:31 2010 +0200
ldb:ldb_tdb/ldb_cache.c - remove a superflous "talloc_free"
Didn't realise that this is already called by "ltdb_attributes_unload".
commit de9b7372334483786c856db9b55ae0f24308f27f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 21 08:45:06 2010 +0200
ldb:ldb_tdb/ldb_cache.c - in this function we don't use LDB return codes
commit 4a33071e831b56f85bfd39918227e81b46360e35
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 20 19:55:28 2010 +0200
s4:lib/util/charset/iconv.c - remove a distinction which can never happen
"ret->cd_direct" is never set before. It is set in the "if" upperwards but
then the function is terminated with "return".
commit 94dc63056a83168c605f14a8ce47b9b75a96fa2f
Author: Jeremy Allison <jra at samba.org>
Date: Wed Oct 20 17:51:13 2010 -0700
Now we have SeSystemSecurity, remove the source3-only #ifdef.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Thu Oct 21 01:35:00 UTC 2010 on sn-devel-104
commit e00c2b3cdf6faa03b6ffcf87dc677fdbdd381fe3
Author: Jeremy Allison <jra at samba.org>
Date: Wed Oct 20 16:31:18 2010 -0700
Add code to implement SeSecurityPrivilege in net rpc rights, and in the
open and get/set NT security descriptor code.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Thu Oct 21 00:15:57 UTC 2010 on sn-devel-104
commit c0b9526aaf29442f85f62232e22aecfb484b1576
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Oct 8 04:21:07 2010 +0300
pytalloc: use talloc_unlink() to free py_talloc objects
Those type of objects are referenced every time we assign
them to other py_talloc objects, which leads to runtime
warnings that we are trying to free an object with references
Wrap talloc_unlink() in SMB_ASSERT() to ensure we catch possible failure
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Wed Oct 20 21:37:06 UTC 2010 on sn-devel-104
commit 31c74ba8c60d2c36f675a40732de57ea3d1d1903
Author: Simo Sorce <idra at samba.org>
Date: Wed Oct 20 13:09:57 2010 -0400
talloc: make header C++ safe
Autobuild-User: Simo Sorce <idra at samba.org>
Autobuild-Date: Wed Oct 20 18:15:09 UTC 2010 on sn-devel-104
(cherry picked from commit feb60345816f0fd45ea9b381fbd374b21542f518)
commit feb60345816f0fd45ea9b381fbd374b21542f518
Author: Simo Sorce <idra at samba.org>
Date: Wed Oct 20 13:09:57 2010 -0400
talloc: make header C++ safe
Autobuild-User: Simo Sorce <idra at samba.org>
Autobuild-Date: Wed Oct 20 18:15:09 UTC 2010 on sn-devel-104
commit dde9059287f24e920d5100933dbff1f03c09f326
Author: Jeremy Allison <jra at samba.org>
Date: Wed Oct 20 11:06:06 2010 -0700
Make getpwnam_alloc() static to lib/username.c, and ensure all username lookups go
through Get_Pwnam_alloc(), which is the correct wrapper function. We were using
it *some* of the time anyway, so this just makes us properly consistent.
Jeremy.
commit c8000c94a59267326b13df3c631b9ac2921d0615
Author: James Peach <jpeach at samba.org>
Date: Wed Oct 20 10:07:33 2010 -0700
smbtorture: Fix typo in status message.
commit 7a194c6e5ea75db67502005e5d40d1ddf3708895
Author: Volker Lendecke <vl at samba.org>
Date: Mon Oct 18 09:48:30 2010 +0200
s3: Make "unpack_pjob" static
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Oct 20 16:51:04 UTC 2010 on sn-devel-104
commit 1d5cb5125c9ed911e9560a3cd99bc428306539c5
Author: Volker Lendecke <vl at samba.org>
Date: Mon Oct 18 10:10:43 2010 +0200
s3: Use any_nt_status_not_ok in winbind
commit 347ca8f757d6a0b61bb22be21ffffec95986ad94
Author: Volker Lendecke <vl at samba.org>
Date: Mon Oct 18 10:09:57 2010 +0200
s3: Add any_nt_status_not_ok
This helps avoid quite a bit of repetitive code when looking at dcerpc_xx_recv
results.
commit 62bea12c5dbb0e6ec6d74a3d2f8988f183572782
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 9 10:12:06 2010 +0200
s3: Don't use talloc_autofree_context in map_file
commit 97a7aec44aafde75208aaad24b42de1c93cdb97b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 9 09:44:43 2010 +0200
uid_wrapper: The gid wrapper does not require a destructor
Don't use talloc_autofree_context
commit e1cfca1e2e0f005ac9d73c6b0eb64bc99413aec6
Author: Jeremy Allison <jra at samba.org>
Date: Wed Oct 20 08:16:23 2010 -0700
Make getpwnam_alloc() static to lib/username.c, and ensure all username lookups go
through Get_Pwnam_alloc(), which is the correct wrapper function. We were using
it *some* of the time anyway, so this just makes us properly consistent.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Wed Oct 20 16:02:12 UTC 2010 on sn-devel-104
commit f74e6964db8748015ec1084441e66fc688e11c0b
Author: Volker Lendecke <vl at samba.org>
Date: Tue Oct 19 08:53:21 2010 +0200
s3: Cope with EINTR in smbd_[un]lock_socket
(cherry picked from commit da00021a7c236f9ac87442b96881bf0b2701ad0b)
commit e245b701ec6af2398dc920d1adcefa8bc6079240
Author: Volker Lendecke <vl at samba.org>
Date: Tue Oct 19 08:59:14 2010 +0200
s3: Add some DEBUG
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Oct 20 11:58:20 UTC 2010 on sn-devel-104
(cherry picked from commit efb22bf782fe49ca60650c87a0ead8ae93c06eca)
commit ab01d6139fc7b2c4b651a0959a5816352d6bb49b
Author: Günther Deschner <gd at samba.org>
Date: Wed Oct 20 14:52:30 2010 +0200
nsstest: no need for two copies of the same tool.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Oct 20 15:05:34 UTC 2010 on sn-devel-104
commit abb07fad043b141c3a3128c04f1e5a8d1c1507e8
Author: Günther Deschner <gd at samba.org>
Date: Wed Oct 20 02:17:41 2010 +0200
s3-waf: more registry cleanup.
Guenher
commit d05157a47026632b1c231defeefa553811aef163
Author: Günther Deschner <gd at samba.org>
Date: Wed Oct 20 01:54:12 2010 +0200
s3-waf: convert LIBSMBCONF into a subsystem.
Guenther
commit 4a2e47b74a7dbf8604d6a3eff6235819d13fd83f
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 8 13:17:21 2010 +0200
s3-waf: move RPC_CLIENT_SCHANNEL into a subsystem.
Guenther
commit 71ac92b67391d826b015fc4cffb104918d14594b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Oct 20 13:43:00 2010 +0300
s4-schema_init: Print more info about syntax we fail to recognize
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Wed Oct 20 13:54:01 UTC 2010 on sn-devel-104
commit 099b0057bed73c3c7a2cf7d0123c8a1daaf53ed0
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Oct 18 03:50:20 2010 +0300
asn1_tests.c: Make test data static const
commit d057ca3e3fba8190030929cbd41ef9a61440a78c
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Oct 18 03:49:21 2010 +0300
lib/util/asn1.c: comment spelling
commit 0941099a2839812b18c2d3db86b18e92b152f1c8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 20 14:27:04 2010 +0200
ldb:ldb_index.c - fix some memory leaks
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Wed Oct 20 13:11:49 UTC 2010 on sn-devel-104
commit 3bf8ca67900a10e608808535358a148455827a2e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 20 14:26:37 2010 +0200
ldb:ldb_index.c - let "ldb_module_oom" generate the return code
commit ec43a4d29e3bb395e7a8d7edafb6dedfeb9baec2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 20 14:08:53 2010 +0200
ldb:ldb_cache.c - fix memory contexts and memory leaks
commit 06053a09cbf42cde12d69d0a296fb25f425aae67
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 20 13:53:14 2010 +0200
ldb:ldb_tdb submodule - use "ldb_msg_new" where appropriate
It is saver than a manual "talloc".
commit 1427895531c259f4bb6c561972b79051807c2a4d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 20 13:47:48 2010 +0200
ldb:ldb_pack.c - remove superflous "message->elements = NULL"
It's already marked at this at the beginning of the call.
commit caf6b3686fb7f18b17e0b89f519f216ac98df3be
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 20 13:40:19 2010 +0200
libcli/security/access_check.c - fix a memory leak
commit efb22bf782fe49ca60650c87a0ead8ae93c06eca
Author: Volker Lendecke <vl at samba.org>
Date: Tue Oct 19 08:59:14 2010 +0200
s3: Add some DEBUG
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Oct 20 11:58:20 UTC 2010 on sn-devel-104
commit da00021a7c236f9ac87442b96881bf0b2701ad0b
Author: Volker Lendecke <vl at samba.org>
Date: Tue Oct 19 08:53:21 2010 +0200
s3: Cope with EINTR in smbd_[un]lock_socket
commit 4a8c17a41cd8412247741afbcd8abad77b2a8113
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Oct 20 14:27:57 2010 +1100
libcli/ldap Don't try and encode a control with a NULL OID
ctrl->oid is set to NULL by the Samba4 rootDSE module when removing
controls that should not be exposed over LDAP (to avoid a realloc).
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Wed Oct 20 04:13:44 UTC 2010 on sn-devel-104
commit 39932f21dabbd96b6a1e7165d9289069cac87a3e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 20 09:44:03 2010 +1100
autobuild: create an autobuild.pid file
this will allow us to avoid an error email when you resubmit and there
is an existing autobuild.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Tue Oct 19 23:36:05 UTC 2010 on sn-devel-104
commit 0a2e55bb41c8ed32d4731c8b6456fc714a1149f4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 20 09:14:40 2010 +1100
s4-mailslot: fixed handling of random collision in temporary mailslot names
we could get occasional failures in the samba4.nbt.dgram test if we
happened to get a collision in the random mailslot names.
Thanks to Jeremy for spotting this! (his autobuild failed)
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 45794dd30a7717aafba40864c1843e47098a4502
Author: Jeremy Allison <jra at samba.org>
Date: Tue Oct 19 13:32:53 2010 -0700
Fix shadow warning for "access" variable.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Tue Oct 19 22:53:38 UTC 2010 on sn-devel-104
commit e7d0f478ee529500461f80f2fd51987c9255d345
Author: Jeremy Allison <jra at samba.org>
Date: Tue Oct 19 11:11:56 2010 -0700
Add deadtime detection for SMB2. Correctly update lastused timestamp across all active tcons. Should fix dfree cache not updating bug.
commit d7f4bea39455c5d0a9b36cfa731d10c96a1c1405
Author: Jeremy Allison <jra at samba.org>
Date: Tue Oct 19 10:12:42 2010 -0700
Add SMB2 paths to smbd/conn.c. Except for conn_idle_all(), to be cleaned up next.
commit 1bd6faa8fa9143f526f9438c6b126b68820d29f8
Author: Jeremy Allison <jra at samba.org>
Date: Tue Oct 19 10:04:27 2010 -0700
Copyright/whitespace/comment cleanup in preparation for adding SMB2 paths.
commit edefaf5bed75fd315b1ca9a3da096419a7a6cec3
Author: Jeremy Allison <jra at samba.org>
Date: Tue Oct 19 13:25:51 2010 -0700
Move tcons.num_open from smb1 to sconn->num_tcons_open as this is needed for SMB2 also.
commit 492ab4d60fac5551b8c9b40d18871e677cd4187c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Oct 20 07:52:14 2010 +1100
s3-waf Use LIBSECRUITY subsystem from the common wscript_build
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Tue Oct 19 22:06:51 UTC 2010 on sn-devel-104
commit f91c4b00dc7f139af6cedc6eae0738d29b28fe23
Author: Jeremy Allison <jra at samba.org>
Date: Tue Oct 19 11:11:56 2010 -0700
Add deadtime detection for SMB2. Correctly update lastused timestamp across all active tcons. Should fix dfree cache not updating bug.
commit bdd78af6c5fce2cbec880dc391df9274ae8707ba
Author: Jeremy Allison <jra at samba.org>
Date: Tue Oct 19 10:12:42 2010 -0700
Add SMB2 paths to smbd/conn.c. Except for conn_idle_all(), to be cleaned up next.
(cherry picked from commit dd9317d8790bc7f32a4af1014c70ca55779933aa)
commit a78689056569e4f4b3c6b49527995a8961ee7c2e
Author: Jeremy Allison <jra at samba.org>
Date: Tue Oct 19 10:04:27 2010 -0700
Copyright/whitespace/comment cleanup in preparation for adding SMB2 paths.
(cherry picked from commit 437f9436d51314e2bf55708d4f964189c493779a)
commit 3856dfccce4241b8872bb6092b6edfc7a5f26f31
Author: Jeremy Allison <jra at samba.org>
Date: Tue Oct 19 13:25:51 2010 -0700
Move tcons.num_open from smb1 to sconn->num_tcons_open as this is needed for SMB2 also.
commit 7db20c3128361abe3facbcbd9714b1e44f1333d2
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 19 16:07:45 2010 +0200
s3-waf: all subsystems complete now, no need for this loop anymore.
Kai, please check.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Oct 19 17:10:24 UTC 2010 on sn-devel-104
commit fa2a2d562f9fff0ca0de4e17ef49f318d2b481b9
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 18:55:55 2010 +0200
s3-waf: convert rpc into a subsystem.
Guenther
commit 38438c30618ab440bf3b5e45941f14a295ad1c3f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Oct 19 15:05:01 2010 +0200
s4:nbt_server - fix a LDB counter type
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Tue Oct 19 14:05:13 UTC 2010 on sn-devel-104
commit 4b4dcaf4b300c3d66833e9b0eff91c8365275d9d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Oct 19 22:30:26 2010 +1100
s4-dsdb Reset the error string after 'expected' errors.
This helps ensure that we don't get confusing error strings in the
logs on other error cases.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Tue Oct 19 12:16:07 UTC 2010 on sn-devel-104
commit 439a1fe2d0db8a784431a4dbc070faef6e4f788e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Oct 19 22:29:04 2010 +1100
s4-dsdb Add module to send only 'simple' DNs to OpenLDAP backends
If we send the full extended DN, then we risk standards-complient LDAP
servers rejecting it as invalid. Only the DN portion is needed to
resolve the record in any case, and any SID or GUID componenets have
already been evaluated into the DN.
Andrew Bartlett
commit 5650e8558eb703a5660cb3cef79bec89dc6ac5fc
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Oct 19 22:27:54 2010 +1100
s4-dsdb Allow LDB_ERR_INVALID_DN_SYNTAX in dsdb_load_partition_usn
This will happen on an OpenLDAP backend, because @ records are invalid in LDAP.
We don't have these sequence numbers in this case.
Andrew Bartlett
commit 897583476c49d4c037c1d8579fd6841728b871ba
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Oct 19 20:20:43 2010 +1100
s4-auth Add DEBUG() for invalid DNs and errors expanding user groups.
Against the OpenLDAP backend, I currently get failures. This makes it
possible to debug those failures.
Andrew Bartlett
commit d652803c12b79315fe6a1d0410b82492908950e4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Oct 19 11:30:24 2010 +0200
ldb:"ldb_schema_attribute_by_name_internal" - support the whole unsigned int range
Commit 8556602b048e825b35df314d6865f997823ec2bb wasn't quite right - it only
restored the functionality on the positive integer range.
This one however should now really support the whole unsigned range.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Tue Oct 19 10:52:08 UTC 2010 on sn-devel-104
commit a6d70ddf86842db6fbd76da857cb0c70fb48aacf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Oct 19 11:46:34 2010 +0200
s4:dsdb/schema/schema_init.c - remove a duplicated "talloc_free"
commit a9b58f6246f9098ec42e0b162e5fb97e50dbd32a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Oct 19 10:57:12 2010 +0200
s4:samdb.py - remove a pointless comment
We are only looking for the default DN - but the method name already tells
us this.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Tue Oct 19 10:03:12 UTC 2010 on sn-devel-104
commit 8c4f6bcd672d7c4e85f28865ee7602554a187baf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Oct 19 10:56:07 2010 +0200
s4:samdb.py - use a more standard way to get to the domain realm/dns name
We do always use the canonical name as a base if we don't have it around yet.
commit 87fd2fd1574d4cb52aef216e632e9899a01b2940
Author: Lukasz Zalewski <lukas at eecs.qmul.ac.uk>
Date: Sat Oct 16 19:51:09 2010 +0100
Addition of userPrincipalName attribute when new account is created
commit 73d6bb74476561ef0140d21810541825c44b44a4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Oct 19 17:12:35 2010 +1100
s4-gensec Don't give more to sasl_encode() than it will permit
We need to ask the library how much data to pass in at any time.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Tue Oct 19 08:37:45 UTC 2010 on sn-devel-104
commit 15a3077885227cc5e81e331979713c27192a01ef
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Oct 19 15:12:20 2010 +1100
s4-gensec Don't upgrade all DIGEST-MD5 connections to seal
The issue here is that when props.max_ssf = UINT_MAX was always set,
as was the maxbufsize, and the connection would always be upgraded,
regardless of the callers wishes.
Andrew Bartlett
commit f9c7365e535727b1d6d6ef55ed8c196368c625b9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Oct 19 10:38:10 2010 +1100
s4-provisionbackend Allow a fixed URI to be specified for LDAP backend
This is added to make the 'existing' LDAP backend class more useful,
and to allow debuging of our OpenLDAP backend class with wireshark, by
forcing the traffic over loopback TCP, which is much easier to sniff.
Andrew Bartlett
commit 4d9b12ae8f9fc7c097b94e6c02df3cb1c38a52ce
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Oct 19 09:12:57 2010 +1100
s4-provision Remove serverdn parameter from Schema()
We don't need to know the server DN here any more, and it
makes no sense for many callers.
Andrew Bartlett
commit 640fbf833b824d3c4c2ecfecdb75fade2ef70fa9
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 19 14:53:14 2010 +1100
s4-dsdb: register the DCPROMO_OID control with the rootdse
this is needed to allow it over ldap
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Tue Oct 19 04:44:23 UTC 2010 on sn-devel-104
commit 75d57dbc25738bcf01d404b329fda22641a774ff
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 19 14:49:17 2010 +1100
selftest: terminate selftest if we can't setup the environment
commit f6a9708b546ac54a74c8718aedd9e5ac976fc72b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 19 11:47:22 2010 +1100
s4-ldb: increase minor version for 2 new functions
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Tue Oct 19 01:27:44 UTC 2010 on sn-devel-104
commit 423365d5fa6b66f8be370accedfc6ed04d6df6b3
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 19 11:22:12 2010 +1100
s4-ldap: mark all ldap:// requests as untrusted
this allows the rootdse module to filter unregistered controls
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 80a4adc062a64e25a9ba0986e426c21599d1a366
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 19 11:21:45 2010 +1100
s4-dsdb: filter unregistered controls in the rootdse module
if we get an unregistered control in the rootdse module, and the
request comes from an untrusted source (eg. ldap://) then we need to:
1) filter the control out if it is marked non-critical
2) give an error if it is marked critical
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d16fe72585445e7fd3724a7413ca7e03ee633fc9
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 19 11:20:14 2010 +1100
s4-ldb: cope with NULL oid in controls
the ldap server will mark a control with a NULL oid in order to remove
it. This prevents a O(n^2) cost in control handling.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5f6c004dec2140755ddfe5f801775e19a03a7ec8
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 19 11:19:20 2010 +1100
s4-ldb: added --relax cmdline option
this adds the relax control
commit ff456cd1007dc06a51c5e60394964bcf898b24d2
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 19 11:17:53 2010 +1100
s4-ldb: added ldb_req_mark_untrusted() and ldb_req_is_untrusted()
these will be used to determine if a ldb request comes from an
untrusted source. We want requests over ldap:// to be marked untrusted
so we can reject unregistered controls
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 968381a4e2e7c8350b89104c17568259d35787a5
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Oct 18 15:17:56 2010 +1100
waf: put -Wl,-no-undefined only in the linker flags, not when compiling C
commit 1b8355897d1db0a127b6357ff5a3b2eb1c1e3b71
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Oct 17 22:34:17 2010 +1100
waf: don't save deps on install
this prevents an install triggering a new check of the project rules
on the next build
commit d48570143656d1c570c282f8e21e058508910f3c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Oct 17 21:58:22 2010 +1100
waf: automap shared library names from .so to the right extension
this should help with MacOSX .dylib libraries
commit 7197bcc513e707676f10734cffd6f2f494a360c1
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 16 19:54:05 2010 +1100
readline: fixed the test for history_list()
commit ec90b249ecbd415c931630070b0831c6cf86d2d4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 16 19:53:17 2010 +1100
replace: cope with systems that have fdatasync(), but don't have the prototype
this is needed for MacOSX 10.4.1
commit 1ac19c1ca3164dc6a1b29ce81047bab81a9af918
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 18 21:22:37 2010 +0200
s4:ldap_server - use error code constant
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Oct 18 20:32:40 UTC 2010 on sn-devel-104
commit dcbfcbbceb87e742b642a9dffee1304dcf0b93bb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 18 21:21:45 2010 +0200
ldb: always return PROTOCOL_ERROR if an operation is unsupported
That's exactly the behaviour of various LDAP servers.
commit 902e7288a738c0580c466ae4c5c503d604c66e6e
Author: Matthieu Patou <mat at matws.net>
Date: Mon Oct 18 22:23:00 2010 +0400
selftest: use full path for selftest.pl instead of relative paths
FindBin on solaris8 with perl 5.04 has problem to get the path of the
called script if the script is called with a relative path.
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Mon Oct 18 19:50:03 UTC 2010 on sn-devel-104
commit b1a13e5e1453b6f776e0a35f293f4060c77fe59a
Author: Matthieu Patou <mat at matws.net>
Date: Mon Oct 18 20:21:12 2010 +0400
selftest: correct the import of Time::HighRes
The "use" is always evaluated first even if enclosed into a if. So
on plateform without Time::Hires (ie. sun8 in the build farm). This
leads to an error.
Instead we use the synthax require Module + Module->import("function")
commit 8556602b048e825b35df314d6865f997823ec2bb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 18 20:19:00 2010 +0200
ldb:"ldb_schema_attribute_by_name_internal" - switch back to 32bit counters
Use the signed counter for the binary search but use an unsigned one for
accessing the entry.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Oct 18 19:01:31 UTC 2010 on sn-devel-104
commit 48cd89e25d58d5d2fd0dbb7ce4a0e8b96e3e6044
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 18 20:10:17 2010 +0200
ldb:ldb_tdb.c - fix up counter variables
"find_element" returns an "int" since there is also the possibility that a
certain element doesn't exist - then "-1" is returned. But beside this
exception treat all other return values as unsigned.
commit 94a445869c5fa3bb6df542c494e8822478f790e8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 18 20:07:49 2010 +0200
ldb:ldb_tdb.c - improve the error outputs
- Fix indentation
- Include always the failing DN
- Reorder the outputs to make them consistent
commit 3ead246062b927e44cb75e684cc67c41109d63c4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 18 19:24:43 2010 +0200
s4:"util_ldb" - remove some really unused dependancies
commit a610ce4aa63b5bbe0886e510f7ccd9a6f95e266d
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 22:29:30 2010 +0200
libcli/nbt: we don't need LIBCLI_COMPOSITE anymore
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Oct 18 16:18:32 UTC 2010 on sn-devel-104
commit 820ae3d9a36e031027be163d22eec468a6da8603
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 21:18:15 2010 +0200
libcli/nbt: convert nbt_name_register_bcast_send/recv to tevent_req
metze
commit 0b8056d580e2d2475b208c73ffb698b0bcd487eb
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 21:01:23 2010 +0200
libcli/nbt: s/name_register_bcast_handler/nbt_name_register_bcast_handler
metze
commit c654a6c02bbd7c7a245b2a06e405d88724c12fc7
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 20:59:35 2010 +0200
libcli/nbt: s/register_bcast_state/nbt_name_register_bcast_state/
metze
commit 77d82fe944fa1f02c150cc2e0967cca654cd4dae
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 20:57:58 2010 +0200
libcli/nbt: move nbt_name_register_bcast_send to the top of nbt_name_register_bcast_*
metze
commit 6f2d94b960bb6d23ff8932eff2b44722cf335280
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 22:17:02 2010 +0200
s4:nbt_server/register: add a nbtd_register_name_state
metze
commit e3a0463414ba7759d332d5bebf6222bfa17ed037
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 21:58:29 2010 +0200
libcli/nbt: convert nbt_name_register_wins_send/recv to tevent_req
metze
commit 4f233c7ff8b23b0dd4797e08d7dc680598e1b844
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 21:23:58 2010 +0200
libcli/nbt: s/name_register_wins_handler/nbt_name_register_wins_handler
metze
commit b16681374c6c4d010a74bb2cb914ac226643c634
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 21:21:26 2010 +0200
libcli/nbt: s/register_wins_state/nbt_name_register_wins_state
metze
commit 549b594c5798954de056cf7e3858e94f1b965bdb
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 21:19:59 2010 +0200
libcli/nbt: move nbt_name_register_wins_send() to the top of all nbt_name_register_wins_* related code
metze
commit 12c38806af46da329e2f370d32a4fa964ceeb23f
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 20:49:28 2010 +0200
s4:nbt_server/winsclient: add a nbtd_wins_register_state
We now keep the nbtd_wins_register_state around between
nbt_name_register_wins_send() and nbt_name_register_wins_recv()
metze
commit 43fb7f1698c0c8aaa7f1e5d6a0f924396a9a12fe
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 08:54:27 2010 +0200
libcli/nbt: convert nbt_name_refresh_wins_send/recv to tevent_req
metze
commit 332f261bbf5a3179cbab6cb7aa8b490d0072b7af
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 08:33:06 2010 +0200
libcli/nbt: s/name_refresh_wins_handler/nbt_name_refresh_wins_handler
metze
commit 3ded1da8e99a628530d0a45256e012b7553c094c
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 08:18:16 2010 +0200
libcli/nbt: s/refresh_wins_state/nbt_name_refresh_wins_state
metze
commit e36e7295da42743519470f5b5c06e65071707db5
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 08:15:01 2010 +0200
libcli/nbt: move nbt_name_refresh_wins_send() to the top of all nbt_name_refresh_wins_* related code
metze
commit 5f19a24c500c17de9159f721c75077a162fa8bac
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 09:41:16 2010 +0200
s4:nbt_server/winsclient: add a nbtd_wins_refresh_state
We now keep the nbtd_wins_refresh_state around between
nbt_name_refresh_wins_send() and nbt_name_refresh_wins_recv()
metze
commit 2ae3bb0b160c8c1cc0f500bfdd39125292db5f59
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 22:26:09 2010 +0200
s4:nbt_server/wins: fix compiler warnings
metze
commit a10b3416e558e16f82b80a0794485c1fcbda9371
Author: Tim Potter <tpot at samba.org>
Date: Mon Oct 18 07:54:31 2010 -0700
Include misc.idl for policy_handle in srvsvc.idl.
Autobuild-User: Tim Potter <tpot at samba.org>
Autobuild-Date: Mon Oct 18 15:35:40 UTC 2010 on sn-devel-104
commit 64e9f79587916c0e8e9079636e3a2ab60ea2b455
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 18 15:55:47 2010 +0200
s3: fix the build of idmap_adex, idmap_tdb2, idmap_hash and several vfs modules.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Oct 18 14:39:39 UTC 2010 on sn-devel-104
commit 5845dae8262a648d3af7b73044483e8bed2f4f08
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 18 15:55:16 2010 +0200
s3-waf: fix the build after libcli/security changes.
Guenther
commit 203dc4f929640ad704b96efc043daa2d97556af3
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 12 00:46:53 2010 +0200
s3-waf: fix the build of smbtorture.
Guenther
commit 10f95a4f1a5f08c5b58b5f5d10921d792997c352
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 12 00:26:03 2010 +0200
s3-waf: fix pdb modules build.
Guenther
commit 20c7e2b3a37c624995bb515e65052d0a106b6ebc
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 23:04:28 2010 +0200
s4:libcli/util: add pipe related NT_STATUS_RPC_* codes
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Oct 18 13:50:55 UTC 2010 on sn-devel-104
commit 5c82a1bb0a34ed7764e913371604389b39a48130
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 23:03:34 2010 +0200
s3:libsmb: add pipe related NT_STATUS_RPC_* codes
metze
commit 72a89664993b6c7a89e4e9ce71c9a8f1752a39ec
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 11 23:02:38 2010 +0200
libcli/util: add pipe related NT_STATUS_RPC_* codes
metze
commit b615b7060188bbc33a8e8b38b2b2b14b239dc735
Author: Andreas Schneider <asn at samba.org>
Date: Fri Oct 15 17:58:39 2010 +0200
s3-winbind: Fixed init order.
We need the system server info in the rpc services.
Autobuild-User: Andreas Schneider <asn at samba.org>
Autobuild-Date: Mon Oct 18 12:43:16 UTC 2010 on sn-devel-104
commit abeef470c4f233762950d0bf8d60760a7f8578a9
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 18 12:20:56 2010 +0200
librpc: Fixed memory context of dcerpc_binding_from_tower.
commit d42ddd7b603524fb9a95be2317104d2f0e456ee2
Author: Andreas Schneider <asn at samba.org>
Date: Mon Oct 18 11:50:04 2010 +0200
s4-gensec: Add dependency on com_err to GENSEC_KRB5.
commit 034832ccd5f32658f8f199d277878985e5c65470
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 18 22:13:20 2010 +1100
s4-ldb Add LDB_REQ_SET_LOCATION to help track handler use
This greatly assists in debugging what is going on with the
ldb handle, as it indicates where it was created.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Mon Oct 18 11:54:46 UTC 2010 on sn-devel-104
commit f4c82c621de73bdaee7a4a9e8598ea41ec208256
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 18 22:11:40 2010 +1100
s4-selftest Make GDB_PROVISION work again
gdb --args won't run the #!/usr/bin/evn python
Andrew Bartlett
commit 48c54f9ec879b5ffedfe91d52202bff3d2ef1eff
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 18 14:06:50 2010 +1100
ldb Ensure we mark ongoing LDAP requests as PENDING
commit ce01e36d8c2e3b9857d64a648fdf683c0c267bd6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 18 11:49:55 2010 +1100
s4-openldap-backend Don't set 'dbnosync' on cn=config
This isn't valid in current OpenLDAP versions.
Andrew Bartlett
commit ba9e787c7d51ab7b381361e02efad97c5814d3c7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 18 11:48:14 2010 +1100
s4-provision Use --ldap-backend-nosync rather than just --nosync
For some reason we had both options, and --ldap-backend-nosync is
the better name.
Andrew Bartlett
commit d1ca35cbecaa788bcbb0e307ca2385c4e7f1ba0c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 18 11:35:46 2010 +0200
heimdal_build: Add dependency on com_err to HEIMDAL_CONFIG.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Oct 18 10:27:47 UTC 2010 on sn-devel-104
commit 1fec543a981d5e1716efc76e27ab5523e5efd06b
Author: Samba-JP oota <ribbon at samba.gr.jp>
Date: Mon Oct 18 07:10:29 2010 +0200
This is typo fix patch for smbcacls.1.xml .
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Oct 18 05:53:26 UTC 2010 on sn-devel-104
commit f3972830dda0e19454a57c62fc2a5d10db20ee7b
Author: Samba-JP oota <ribbon at samba.gr.jp>
Date: Mon Oct 18 07:10:29 2010 +0200
This is typo fix patch for smbcacls.1.xml .
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon Oct 18 05:53:26 UTC 2010 on sn-devel-104
commit b8dea2c3272f96ba7910ec44c5b7c4203e4695e2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 18 10:48:21 2010 +1100
dsdb simple_ldap_map depends on LDBSAMBA
This shows up at build time on MacOS and runtime on Linux when we
use the LDAP backend.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Mon Oct 18 00:57:51 UTC 2010 on sn-devel-104
commit dab426476ffcab92df7fcb2f76064e46b5101d7f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 18 10:24:56 2010 +1100
Revert "s4:dsdb - make the RELAX control private"
This must be available to the OpenLDAP backend, to set the GUID values
in some situations. We need a proper ACL mechanism to control the use
or abuse of this control.
This reverts commit 10adee89367cee9add993869280542418fb3d370.
commit 9f0d1c72be4f763f3323e7627158ea5a68faa02b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 18 01:28:53 2010 +0200
heimdal: Attempt to fix path of hdb_asn1.h
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Oct 18 00:15:11 UTC 2010 on sn-devel-104
commit cbd4891808025bcb9ada4546cb343bf458821602
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 18 01:17:56 2010 +0200
dsdb: Module aliases require to be prefixed with the subsystem name.
commit fb8bbd25060cadeff867038463d6f599102c1082
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 17 20:35:04 2010 +0200
dcerpc_samr: Fix -l arguments for dcerpc_samr and dcerpc_atsvc.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Oct 17 19:15:43 UTC 2010 on sn-devel-104
commit 05c1beb6b47e607dac9850e81cef775a1d9b00ae
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 17 19:39:09 2010 +0200
tdb: Bump version to 1.2.7 after addition of pytdb.__version__.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Oct 17 18:23:16 UTC 2010 on sn-devel-104
commit a31e10eab17e1ac7c766fde4b3840f7f597e3ba9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 19:01:18 2010 +0200
heimdal: Add local simpler copy of to_list().
commit a3f61dea40d8a907d56abe1c0eee980f78228b79
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 17 14:27:18 2010 +0200
Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls in "dsdb/common/util.c""
This reverts commit 8a2ce5c47cee499f90b125ebde83de5f9f1a9aa0.
Jelmer pointed out that these are also in use by other LDB databases - not only
SAMDB ones.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Oct 17 13:37:16 UTC 2010 on sn-devel-104
commit 8a2ce5c47cee499f90b125ebde83de5f9f1a9aa0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 17 10:37:23 2010 +0200
s4:remove "util_ldb" submodule and integrate the three gendb_* calls in "dsdb/common/util.c"
They're only in use by SAMDB code.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Oct 17 09:40:13 UTC 2010 on sn-devel-104
commit 39bd4ce92055f79e55e2f228537324d7f1401cc0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 17 10:29:46 2010 +0200
s4:lib/util/util_ldb.c - remove unused "gendb_add_ldif" call
commit e1078d2de2a2462fb24d3d4b5e2643290e663c6c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 17 10:23:41 2010 +0200
s4:ldb-samba/ldb_wrap.c - fix indentation and trailing whitespaces
commit be4a0d35ac8c55a102e5a938a4b7627e0defd23d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 17 10:20:40 2010 +0200
s4:"wrap_casefold" - move it to "ldb_wrap.c" since it's only used there
commit 10adee89367cee9add993869280542418fb3d370
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 16 20:58:51 2010 +0200
s4:dsdb - make the RELAX control private
This makes our LDAP much more secure and less error-prone.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Oct 16 19:43:36 UTC 2010 on sn-devel-104
commit 02d9d8eeaff4337e28a8ad061c028f31bf214773
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 16 20:46:20 2010 +0200
s4:libcli/ldap/ldap_controls.c - fix up the controls list
- add missing private controls and comments
- use control defines rather than hardcoded values -> easier to comprehend
- reorder controls
commit c4739f7be88bb7ef1da48cfef07b47cc351a1cb8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 16 20:45:08 2010 +0200
ldb:ldb.h - reorder controls/extended operations
This makes it easier to read
commit c161ad86d62112afc3fa571c71459540bb90925a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 17:30:51 2010 +0200
heimdal: Remove some unused arguments from HEIMDAL_SUBSYSTEM().
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sat Oct 16 16:14:24 UTC 2010 on sn-devel-104
commit 9147e196111b28bddf8994df199a9992a24aa5f2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 17:26:24 2010 +0200
heimdal: Allow leaving off prefix from asn1 option_file.
commit eab84a6ed0b90facd43ff7075c51f5e3e1b4739d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 17:25:19 2010 +0200
heimdal: Leave off ../heimdal prefix to HEIMDAL_BINARY().
commit d3ea64451ca3534c29ed66fb79bb9acec7683271
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 17:23:06 2010 +0200
heimdal: Allow leaving off prefix to HEIMDAL_ERRTABLE().
commit 2aba5aa4b61df0b7851a77eff3273766fb434819
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 17:21:05 2010 +0200
heimdal: Allow leaving off prefix for HEIMDAL_ASN1().
commit c5d4d94104715c59522114ed0a24cf202c5348a6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 17:16:44 2010 +0200
heimdal: Allow leaving off ../heimdal prefix for proto headers.
commit 49d20a5d5f7c24998dd849d91b6622f5332625d1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 17:13:10 2010 +0200
heimdal: Allow leaving off ../heimdal prefix for source files.
commit c3009ac689bf91e7a9cb1cc9c34e2b0e8ae246e2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 17:08:27 2010 +0200
heimdal: Add convenience functions for finding heimdal paths.
commit 953d25374869f177dab72807fef83651ef7e811a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 17:06:41 2010 +0200
heimdal: Call HEIMDAL_AUTOPROTO() manually.
commit 32fce1f0753489e340585ce6123024bc2b2042f7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 17:03:06 2010 +0200
heimdal: Call HEIMDAL_AUTOPROTO_PRIVATE() manually.
commit 1c4c96d3feea91945300b3796ce242d305d91b04
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 16:46:22 2010 +0200
heimdal: Add variables for source files.
commit 196e8d16558fbc97db687f61ec644a1669e94c3e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 16:37:11 2010 +0200
heimdal: Simplify handling of ../heimdal prefixes in HEIMDAL_SUBSYSTEM.
commit b2af44e92be1cdca2020efe92d845cf050fd44d6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 04:31:54 2010 +0200
heimdal_build: Fix detection of system roken library.
commit c3366c19a72f1a35e540fdaf89a6351cc6451ce6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 04:30:49 2010 +0200
heimdal_build: Remove ignored argument ldflags from HEIMDAL_BINARY().
commit dd0f22d446a313db9ce109ef99d8de998ebc449d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 16 15:49:07 2010 +0200
ldb:pyldb.c - remove pointless comment
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Oct 16 14:38:58 UTC 2010 on sn-devel-104
commit 39d11a977d0f326fe676b245fa55e63416350e81
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 16 15:10:11 2010 +0200
ldb:"ldb_dn_compare_base" - use "unsigned int" counters
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Oct 16 13:54:13 UTC 2010 on sn-devel-104
commit 531d7f569e2fc1c385fb294fe7fb81d9b3d371f9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 16 15:08:40 2010 +0200
ldb:"ldb_dn_add_child" - use "unsigned int" counters
commit 1557acb44af8c43ceafa5516915f7107e169f190
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 16 15:04:57 2010 +0200
ldb:"ldb_dn_remove_base_components" - use an "unsigned int" counter
commit 19e94349b3bf3ba605cb5fde3fca9fe12bfe74d9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 16 14:47:42 2010 +0200
ldb:"ldb_dn_canonical" - use an "unsigned int" counter
Convert it to use an "unsigned int" counter which represents the exact length
of the DN components.
commit bc0294814af8dd2756191c8df74bb8db0fe61319
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 16 14:19:19 2010 +0200
s4:samldb LDB module - use appropriate fixed-length integer types where needed
- The "systemFlags" we interpret always as signed
- Use "samdb_msg_add_int" where possible (much saver for integer storing than
ldb_msg_add_fmt)
commit 42d9978cdd20c4f5a8cfee8e9db8e8d7b405b677
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 16 11:00:12 2010 +0200
s4:dsdb/samdb/ldb_modules/util.c - remove now unused functions which set integers
Please do always use the functions which specifiy the appropriate integer
length to not run into platform-specific issues. Therefore I'm removing these
generic calls.
commit a0bd52975171b1a4d2407026b21df5cfe3d54dce
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 16 10:59:30 2010 +0200
s4:samba3sid LDB module - handle the RID as uint32_t
- This is how we always deal with RIDs
- Use an integer-length safe function for the RID update
commit d7ca757b315181c678d4f874294f72b1114f3dad
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 16 12:28:25 2010 +0200
s4:objectclass LDB module - implement the "isCriticalSystemObject" subtree delete protection
MS-ADTS 3.1.1.5.5.7.2
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sat Oct 16 11:24:09 UTC 2010 on sn-devel-104
commit 88e5375ad3d0386371b19d0d3b851d7974afdcdb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 16 11:32:38 2010 +0200
s4:ldif_handlers.c - fix a typo
commit c2918581996b58c3e2a2416e6dd693978becd3a2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 14 17:01:39 2010 +0200
s4:dsdb - fix unsigned integer save problems using the "%u" specifier
The issue here is that we have not yet first cast to int32_t explicitly,
before we cast to an signed int to printf() into the %d or cast to a
int64_t before we then cast to a long long to printf into a %lld.
There are *no* unsigned integers in Active Directory LDAP, even the RID
allocations and ms-DS-Secondary-KrbTgt-Number are *signed* quantities.
(See the schema, and the syntax definitions in schema_syntax.c).
The failure has been detected by Matthieu Patou on the buildfarm host "tridge"
due to a malformed "groupType" attribute.
The solution is to use the "%d" specifier. Either to use it directly - or better
(when possible) use the call "samdb_msg_add_uint" (which encapsulates it).
This patch changes such problematic situations.
commit a72ffb0d0157dce2ac45e3b228f168a56c89f26e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 16 10:36:32 2010 +0200
s4:dsdb/common/util.c - describe the behaviour of the functions "samdb_msg_add_uint", "samdb_msg_add_uint64" and "samdb_msg_set_uint" a bit more
Unsigned int data in AD is a bit problematic to handle. Problem described by
abartlet.
commit 83871d2642378d1cd0a8bad0a2d5a9a92cb1cfe8
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 22:27:10 2010 -0700
Don't arbitrarily clean all parametric options in add_a_service(),
that is called from many places, not just smb.conf processing. Only
clean parametric options when doing actual smb.conf reading (or
registry equivalent).
Michael Adams, Volker, Metze, please check.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Sat Oct 16 06:46:19 UTC 2010 on sn-devel-104
commit a733f2e7fc4dc3b12108e771f42cda8c609035f4
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 22:26:29 2010 -0700
Fix double ;; end-of-lines added in error.
commit 22092a09eebaf45d404480f5c737072a57f4986b
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 22:24:57 2010 -0700
Don't arbitrarily clean all parametric options in add_a_service(),
that is called from many places, not just smb.conf processing. Only
clean parametric options when doing actual smb.conf reading (or
registry equivalent).
Michael Adams, Volker, Metze, please check.
Jeremy.
commit bcdf781545ae31f9ec7caf2c60f74d27a962de6d
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 19:54:51 2010 -0700
Ensure we have correct parameters to use Windows ACL modules.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Sat Oct 16 03:36:04 UTC 2010 on sn-devel-104
commit ab8f7618200e4622870edd403d1322ae291dd7d9
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 19:54:51 2010 -0700
Ensure we have correct parameters to use Windows ACL modules.
(cherry picked from commit 1ce5ff593d649bac6d59baa249f53af79f8cb465)
commit cf41e4682ae92211f55658d6b0ef43937fe1d924
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 15:56:09 2010 -0700
Add acl_xattr:ignore system acls boolean (normally false) to allow
Samba ACL module to ignore mapping to lower POSIX layer. With this
fix Samba 3.6.x now passes RAW-ACLs (with certain smb.conf parameters
set).
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Sat Oct 16 01:26:31 UTC 2010 on sn-devel-104
(cherry picked from commit 06fc79f1fde5963ef89027e2cd297e866aa8c204)
commit b7ae065fa34d3637f6344da1b8f1fffab1c6c5b1
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 15:53:51 2010 -0700
Add make_default_filesystem_acl() function to be used in following change to acl_xattr and acl_tdb module.
(cherry picked from commit cf45581cdfbe60815c5b278f2c4cbceeb7ca1407)
commit 8245c39d2268700cb4f7917afe4fffc58960db02
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 15:42:44 2010 -0700
Fix handling of "NULL" DACL. Map to u/g/w - rwx.
Jeremy.
(cherry picked from commit 1904c44ec84fe5d706a4e07f73bad17d0948535a)
commit 13fd403b45e096ee847d000fd2ca9735054c72c7
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 15:28:23 2010 -0700
Fix "force unknown ACL user" to strip out foreign SIDs from POSIX ACLs if they can't be mapped.
(cherry picked from commit e031f8ae6aee266c0ebf0b53465906e215ac9561)
commit 2b0599383cc2ff2f2714eb1e0185d6c21760d1c9
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 14:18:22 2010 -0700
Add debug message to get_nt_acl_internal() to see what we got.
(cherry picked from commit f4a9d25cfc70e79f476d01ae3234f2155bbcf39e)
commit 15e25e99dcdb6d7dcb0f54c3c671170abeb0a5a1
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 14:16:30 2010 -0700
Fix valgrind "uninitialized read" error on "info" when returning !NT_STATUS_OK.
Jeremy.
(cherry picked from commit 625126dc8dec1198b94bda0643222f0b046587d8)
commit a376d6acdf878dc13e1d3cf29ae0e1d7fe7350a7
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 14:12:04 2010 -0700
Fix bug #7734 - When creating files with "inherit ACLs" set to true, we neglect to apply appropriate create masks.
Jeremy.
(cherry picked from commit 8cad5e23b6e2440a566def6fb138d484e3b47643)
commit 19343b779afef9048c7b52218351dd5c6a12061c
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 13:30:07 2010 -0700
Fix bug #7733 - Invalid client DOS attributes on create can cause incorrect unix mode_t to be generated.
It turns out a client can send an NTCreateX call for a new file, but specify
FILE_ATTRIBUTE_DIRECTORY in the attribute list. Windows silently strips this,
but we don't - causing the unix_mode() function to go through the "mode bits
for new directory" codepath, instead of the "mode bits for new file" codepath.
Jeremy.
(cherry picked from commit 92adb686372a9b67e47efb5b051bc351212f1780)
commit 50d3baffb223999bd264cfa957003cd6189d9a8c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 03:27:02 2010 +0200
heimdal_build: Support using system asn1 library.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sat Oct 16 02:14:32 UTC 2010 on sn-devel-104
commit 12fa11021916e32899fd4607be78d5cc7418fa04
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 03:07:40 2010 +0200
heimdal_build: Skip some hx509 code when using system hx509.
commit 8db6453ae2b8ebb2dda06f5970a1bd5512632e3c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 02:57:57 2010 +0200
heimdal_build: Add comment with stub for finding the system libtommath.
commit b244383e75a5d9a6dab4c3fb0595a703a7c762e7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 02:48:06 2010 +0200
heimdal_build: Initial work on supporting an external heimdal library.
commit 471e57edf87373a352aca1d7b006360068b18274
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 02:25:40 2010 +0200
heimdal_build: Support using system hx509 library when explicitly
requested.
commit 3fe2bfddda6149f6bf7402720226e9285f479fef
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 02:15:36 2010 +0200
heimdal_build: Fix build with system roken.
commit 6852cc4a7a5601261ba31ee05388a4078e69c77c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 01:49:41 2010 +0200
heimdal_build: Put version objects in a separate subsystem.
commit 2e038a78fdcc9dc8a9f65de48176323ad68a3420
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 00:58:56 2010 +0200
heimdal: Support using system roken.
commit 7af56875040c0d170d3313bb0e0c126d3f19aed8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 00:41:34 2010 +0200
heimdal_build: Use existing functions for finding system libraries.
commit 06fc79f1fde5963ef89027e2cd297e866aa8c204
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 15:56:09 2010 -0700
Add acl_xattr:ignore system acls boolean (normally false) to allow
Samba ACL module to ignore mapping to lower POSIX layer. With this
fix Samba 3.6.x now passes RAW-ACLs (with certain smb.conf parameters
set).
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Sat Oct 16 01:26:31 UTC 2010 on sn-devel-104
commit cf45581cdfbe60815c5b278f2c4cbceeb7ca1407
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 15:53:51 2010 -0700
Add make_default_filesystem_acl() function to be used in following change to acl_xattr and acl_tdb module.
commit 1904c44ec84fe5d706a4e07f73bad17d0948535a
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 15:42:44 2010 -0700
Fix handling of "NULL" DACL. Map to u/g/w - rwx.
Jeremy.
commit e031f8ae6aee266c0ebf0b53465906e215ac9561
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 15:28:23 2010 -0700
Fix "force unknown ACL user" to strip out foreign SIDs from POSIX ACLs if they can't be mapped.
commit f4a9d25cfc70e79f476d01ae3234f2155bbcf39e
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 14:18:22 2010 -0700
Add debug message to get_nt_acl_internal() to see what we got.
commit 625126dc8dec1198b94bda0643222f0b046587d8
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 14:16:30 2010 -0700
Fix valgrind "uninitialized read" error on "info" when returning !NT_STATUS_OK.
Jeremy.
commit 8cad5e23b6e2440a566def6fb138d484e3b47643
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 14:12:04 2010 -0700
Fix bug #7734 - When creating files with "inherit ACLs" set to true, we neglect to apply appropriate create masks.
Jeremy.
commit 92adb686372a9b67e47efb5b051bc351212f1780
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 15 13:30:07 2010 -0700
Fix bug #7733 - Invalid client DOS attributes on create can cause incorrect unix mode_t to be generated.
It turns out a client can send an NTCreateX call for a new file, but specify
FILE_ATTRIBUTE_DIRECTORY in the attribute list. Windows silently strips this,
but we don't - causing the unix_mode() function to go through the "mode bits
for new directory" codepath, instead of the "mode bits for new file" codepath.
Jeremy.
commit 68d1b3b5052f20bfd9ac8771c917b07a854d8fd3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 00:38:29 2010 +0200
heimdal Add missing dependencies on wind.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Fri Oct 15 23:20:22 UTC 2010 on sn-devel-104
commit 613e03f908bc0ff9e877f0eaf5fbcff0adbaf742
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 16 00:31:10 2010 +0200
heimdal_build: Allow using system wind.
Please note that to use the system wind library the user explicitly has
to specify --bundled-library=!wind . Without that option we will always
use the included wind library.
commit 5339bad942759f8daa4ff04b0c204247478ed579
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Oct 15 20:18:22 2010 +0200
s4:torture/local/dbspeed.c - use LDB result constant
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Fri Oct 15 19:11:32 UTC 2010 on sn-devel-104
commit a8f26f60ec97d23f9c0496797237ead8cc3feff1
Author: Andreas Schneider <asn at samba.org>
Date: Thu Sep 16 10:49:39 2010 +0200
s3-rpc_server: Normalize rpc_pipe_open_interface pipe name.
Autobuild-User: Andreas Schneider <asn at samba.org>
Autobuild-Date: Fri Oct 15 12:15:45 UTC 2010 on sn-devel-104
commit f22e6cf3b73c04e8fada3b163567285b14840a16
Author: Andreas Schneider <asn at samba.org>
Date: Wed Sep 15 17:24:08 2010 +0200
s3-rpc_server: Make auth_serversupplied_info const.
commit 0195f35ce1aaa5733e006b0b703ce29b6f080b57
Author: Andreas Schneider <asn at samba.org>
Date: Fri Oct 15 13:32:08 2010 +0200
s3-winbind: Fixed the build of idmap_rid.
commit 006111646c0a032cc8d76cf54adfd55a79e18761
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 15 20:32:09 2010 +1100
s4-test: fixed a typo in test_kinit.sh
too many Ts
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Fri Oct 15 10:14:27 UTC 2010 on sn-devel-104
commit d59a342c7120fb5d997591ec7425d1560e947416
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 15 20:31:06 2010 +1100
s4-test: fixed test_kinit.sh time command test
passing -W breaks -k yes
commit 918d864a67fc4b94abe2d36dec32160a17eaa259
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 15 20:30:03 2010 +1100
s4-net: exit with a failure when a command is unknown
this ensures we don't pass bad tests in 'make test' if they call
unknown net commands
commit add7ddb2e01ff4000513e0136aa2bc305228e561
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 15 17:43:44 2010 +1100
script: the --tests option has been replaced by --test-command
commit bda626da8149d58b82c16015e30f22681e06a962
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 15 17:40:53 2010 +1100
s4-finddcs: better debug messages to help track down DNS problems
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 77a16bf5046e6026cc8ed8b96c15623c84a17ef7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 15 12:10:02 2010 +1100
s4-net: fix the dependence on command line ordering
this fixes python net commands where you use a '-' option before the
command name
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 10e1de3e06cf6b8a524f50685d6a675a2d49c9a9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Oct 15 10:27:51 2010 +0200
s4:samdb_msg_add_int* - use "ldb_msg_add_string" rather than "samdb_msg_add_string"
"ldb_msg_add_string" is safe here since the integer has already been converted
to a string which is "talloc"ed on "mem_ctx".
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Fri Oct 15 09:11:49 UTC 2010 on sn-devel-104
commit 666e0c3cce32c259dfaaf03383fac58940994dbc
Author: Matthieu Patou <mat at matws.net>
Date: Fri Oct 15 10:16:46 2010 +0400
s4 param: change messaging directory name from messaging to msg
This saves 6 chars and as in some installation users tends to install
samba in directory with very long name they have a problem with the
sockets.
It will also ease the pain on buildfarms as we tend to have very long
environnement name (ie. vampire_dc) in path that are already quite long
leading also to errors on unix socket manipulation.
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Fri Oct 15 08:15:56 UTC 2010 on sn-devel-104
commit 34f12d541b0bb2e7d931968b2079dfb7ba84d692
Author: Matthieu Patou <mat at matws.net>
Date: Thu Oct 14 17:56:23 2010 +0400
s4 dsdb: fix sign problem on PPC and x86
In LDAP we used signed intege and groups have the highest bit set (ie.
0x80000002). So it will result with values that are > 2^31 when these
value are used on some plateforms (x86 and PPC 64bits in this case) it
causes problem with strtol.
commit f794563267ca26b62d844d87b5a4fa3668fb803c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 14 10:54:50 2010 +0200
s4:lib/registry/util.c - cosmetic - fix indentation, trailing whitespaces
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Fri Oct 15 07:27:07 UTC 2010 on sn-devel-104
commit 7be36a0bd99ce7f6391ea49b66ca809380189c36
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 14 10:50:19 2010 +0200
s4:lib/registry/util.c - strtoll call - better say explicitly that data is in hex format
Template is commit deebc934edb9a0a70e7615b1161d7a60fcb1d78f from Wilco.
commit 80550746ffbb09658ce19520e853e218d793635e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 14 22:38:10 2010 +0200
s4:ntptr/ntptr_simple_ldb.c - use LDB result constants
commit c362ce36b36937571cf0d4ac8d015f09848a9780
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 14 22:25:40 2010 +0200
s4:libnet_samsync_ldb.c - use LDB result constants
commit ace4378de19371994e8e4c0d1a2d61bb9c039ea7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 14 21:54:26 2010 +0200
s4:lsa RPC server - use LDB result constant
commit b647b2d5b366a6720adc88918c2bd3d6b16bcd13
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 14 17:00:19 2010 +0200
s4:samldb LDB module - cosmetic - use "ldb" variable rather than "ldb_module_get_ctx"
commit 9310da1e2b483cbf9899ad1ebcdfd07f7c0eeac0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 14 22:36:07 2010 +0200
s4:samdb_create_foreign_security_principal - proof error code of "samdb_msg_add_string"
commit 9e69b22e70a6e119255e8e3d37964e6ae16ade09
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 14 22:43:33 2010 +0200
s4:dsdb/common/util.c - samdb_msg_add_* calls - proof for more OOM conditions
commit 06ec5d0177ac3bcd2b12f6279b23bc0a02f93bf9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 14 22:41:06 2010 +0200
s4:dsdb/common/util.c - samdb_msg_add_string - the attribute name doesn't need to be duplicated
This is done internally by the LDB library - look at "ldb_msg_add_empty".
commit d099f86a373e4e8dd11c7736ffbce177a910db9f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 14 11:31:44 2010 +0200
s4:libds/common/flags.h - fix typo
commit 9bc57e19e61ca89c349c28dda727d7e181dcc6e2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 14 21:54:51 2010 +0200
s4:dsdb - remove "samdb_msg_add_value"
This can be substituted by "ldb_msg_add_value".
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Fri Oct 15 00:21:53 UTC 2010 on sn-devel-104
commit a0e9814c0d50ee822188e2bd6be8c4879aaebacc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 14 09:41:42 2010 +0200
s4:dsdb - remove "samdb_result_uint", "samdb_result_int64", "samdb_result_uint64" and "samdb_result_string"
We have ldb_msg_find_attr_as_* calls which do exactly the same. Therefore this
reduces only code redundancies.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit c2533f94b561e9b22d621b7515c6606d39ffec89
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 18:16:21 2010 +0200
s3: Remove smbd_server_conn from construct_reply
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Oct 14 12:35:07 UTC 2010 on sn-devel-104
commit 63e08ef8854bd9bde940fee774e94a6749825008
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 18:13:39 2010 +0200
s3: Lift smbd_server_conn from receive_smb_talloc
commit a2db154caa104c9606e343391ff9ffe33f1610a7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 18:11:37 2010 +0200
s3: Lift smbd_server_conn from receive_smb_raw_talloc
commit fa0de39551323bbc57998956de1be382e1f20134
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 18:08:51 2010 +0200
s3: Lift smbd_server_conn from receive_smb_raw_talloc_partial_read
commit cac60a7041f0c37246f26f71c3c868e2adf5dc20
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 18:05:17 2010 +0200
s3: Remove some explicit smbd_server_conn refs in process_smb()
commit 81bdb5910c8f84bd9e83c76a78370884e8f638f8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 18:04:05 2010 +0200
s3: Rename "conn" to the more used "sconn" in process_smb()
commit 9a3810fbb234c4c2a401e6940643ee161e83bb4f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 14 09:11:04 2010 +0200
s4:samldb LDB module - attempt to fix integer handling on big-endian platforms
And beside this it's also nicer to use standard LDB functions for type
conversions.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Thu Oct 14 08:26:53 UTC 2010 on sn-devel-104
commit 3921d6f4d34211f571cb34d748d4cb1e9484e1c9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 14 16:24:50 2010 +1100
s4-waf: automatically remove stale C and header files
this prevents stale .c and .h files in bin/ from causing build
problems
Thanks to Thomas Nagy for the example implementation!
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Thu Oct 14 07:44:13 UTC 2010 on sn-devel-104
commit f1f5a23400df03e209fb66848eeef14b75e31a42
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 14 16:23:45 2010 +1100
s4-heimdal: fixed some trailing commas in heimdal build
commit 40a6e019fdb9ed3d736883b7ba349a976f215208
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 14 13:32:17 2010 +1100
security: ensure the merge of libcli/security doesn't change s3 behaviour
Jeremy, you put a #if 0 around this logic in this commit:
8344e945 (Jeremy Allison 2008-10-31 10:51:45 -0700 181)
is this still needed?
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Thu Oct 14 03:16:41 UTC 2010 on sn-devel-104
commit f7ffc12e2d43bd2dddb0a29eb778ff69a6b2802d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Sep 21 07:14:38 2010 +1000
libcli/security Use static SIDs rather than parsing from strings
This should make the security_token_is_*() calls a little faster.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit a879a4610dac03b814ad40800f408416d250c6be
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 18 12:55:31 2010 +1000
libcli/auth Merge source4/libcli/security and util_sid.c into the common code
This should ensure we only have one copy of these core functions
in the tree.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 8b22eefd252e5d8d787ce3368d54b23d75b00310
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Sep 20 14:48:00 2010 +1000
libcli/security Define traditional constants in terms of IDL macros
The source3/ code uses these constants in a lot of places, and it will
take time and care to rename them, if that is desired. Linking the
macros here will at least allow common code to use the IDL based macros,
and preserve a documentary link between the constants (other than just their value)
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 949541cc6f42651344c14dc6f673e72a3e7db947
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 18 11:06:02 2010 +1000
libcli/security Move source3/lib/util_seaccess.c into the common code
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 353d9bc3e42bc051119c205ac981fc819c6877b4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 18 10:58:10 2010 +1000
s4-acl Merge sec_access_check() with se_access_check() from source3/
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 058daa1cf5742fc95fc15141bbd5fad96d02dee6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 18 10:54:37 2010 +1000
s3-acl Use uint32_t for counting the ACEs
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit a040466d0d6866f2ede22261fbd90018773b03de
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 18 10:29:02 2010 +1000
s3-acl Merge source4-supported privileges into se_access_check
This will shortly be the common se_access_check function.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 7c6105ec27612adc712d3afcd3a794b6b7d32d8d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 17 16:23:53 2010 +1000
s3-util_nttoken.c Also copy the rights_mask when copying a security_token
These are unused in source3/ code at the moment, but it would be
unfortunate if that were to change, and this function not be updated.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 170b345e0c688b178eb37a73a8110dec68a8ae31
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 17 15:31:28 2010 +1000
s3-auth Use security_token_debug() from common code
This prints the security token including the privileges as strings
instead of just a bitmap.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 58cf83732a3af2cf2098b1b2108e4b5f36e8fa9e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 17 14:55:56 2010 +1000
s3-auth use security_token_has_sid() from the common code
The wrapper call is left here to avoid changing semantics for
the NULL parameter case.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit deb7c0243663d3fa435531bad77d2897b1d15285
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 17 13:08:59 2010 +1000
s3 Replace is_sid_in_token() with security_token_has_sid() from common code
The two routines are identical, so there is no need to keep both.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit c41bb6e846b61b92295887fcbfa670e3f5fbbb46
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 14 12:42:40 2010 +1100
s4: show samba version in bin/samba -b
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Thu Oct 14 02:24:47 UTC 2010 on sn-devel-104
commit 8c21a45e5c19e21961f234f6ef5c0810928b10ed
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 13 22:13:37 2010 +0200
s4:samldb LDB module - cosmetic fixups
- Update the module description
- Fix indentation
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Wed Oct 13 20:55:18 UTC 2010 on sn-devel-104
commit e13b934355b63e3425382f469dccd20e58c80737
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Oct 13 21:18:05 2010 +0200
heimdal: Add soname for com_err.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Wed Oct 13 20:00:40 UTC 2010 on sn-devel-104
commit f0124542bcfe59cc42156ad4017366aab6dc938c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Oct 13 18:39:04 2010 +0200
heimdal: Add sonames.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Wed Oct 13 18:15:04 UTC 2010 on sn-devel-104
commit 01d14b4c579bd1f3387b7b84214c4328d6eb603a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Oct 13 18:00:10 2010 +0200
samdb: Set soname.
commit bf657db3c45def4a5418a783dfad08e0247d1349
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 13 16:41:54 2010 +0200
s4:sam.py - tests for "userAccountControl" attribute
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Wed Oct 13 17:31:29 UTC 2010 on sn-devel-104
commit 3411e71c76dd01ae505c0c87fa43b794e63c4091
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 13 17:06:28 2010 +0200
s4:samldb LDB module - deny creation of temporary duplicate accounts
commit ed68189c5f6c39d075d4c08a92994acf5e5a9a51
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 13 16:32:50 2010 +0200
s4:samldb LDB module - proof the account type also on LDB modify operations
commit 18ea6c5dce8be836cb92b5b884cf6abac4a0f857
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Oct 13 16:59:45 2010 +0200
ldb: Only build LIBLDB_MAIN when building ldb itself.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Wed Oct 13 15:41:29 UTC 2010 on sn-devel-104
commit 36c1ed215d60ddb0fb41ffd471fc3aa6e53266de
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 7 09:59:29 2010 +0200
s4:sam.py - add a test for the group type changing behaviour
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Wed Oct 13 14:17:31 UTC 2010 on sn-devel-104
commit 50e84a8fa2cbb400415e57573f37b9012396d13d
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Fri Oct 8 13:43:17 2010 +0200
s3:gpfs: Add support for the gpfs_ftruncate call
ported from the v3-4-ctdb branch to master
This used to be commit 1f138cc9f4a
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Oct 13 13:34:25 UTC 2010 on sn-devel-104
commit d5cf47ee1be630d461c5d7285dd8ce0a7ef35059
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Fri Oct 8 13:15:57 2010 +0200
s3:vfs:gpfs convert sharemodes/leases parameter
convert gpfs:sharemodes and gpfs:leases parameters from a global setting
to a per share setting
commit 7d189850b0bde9c001fd33c4646f938d755e91a5
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Thu Oct 7 16:56:19 2010 +0200
s3:vfs:syncops add option to disable module per share
add an option to disable the syncops module completely for a
share with
syncops:disable = true
commit 739621d1a269aa1eca4e71a85b8f1feea126ac5f
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Thu Oct 7 16:09:52 2010 +0200
s3:vfs:syncops make it possible to specify syncops:onclose per share
convert the onclose option of the vfs_syncops module from a
global option to a service-specific one
as preparation for further flags, use a struct to store in the VFS handle
instead of just the onclose flag
commit 826496ce553546b9f7ca3dc60471d6344d8bf930
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 7 09:23:04 2010 +0200
s4:samldb LDB module - support the group type changing properly
This is exactly that what Windows allows. It was proven by a blackbox test.
And we also need to deny add operations of builtin groups.
commit 09ce56d957193188c4200d9765876f9b78a3928a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 6 19:40:42 2010 +0200
s4:ldap.py - test the "isCriticalSystemObject" behaviour
commit 5cb99aa81aa235a42a7ec32776fdf42785aefdf9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 7 08:24:29 2010 +0200
s4:setup/provision_self_join.ldif - let the samldb LDB module fill in "isCriticalSystemObject"
It recognizes it now automatically.
commit 9bcb656bba21eb1a27befe642051bf761ede6278
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 6 19:30:56 2010 +0200
s4:samldb LDB module - deny also the direct modification of "isCriticalSystemObject" on modify operations
commit 4638bd11b59de1d771a34d328e3c287549cde54c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 11 18:41:05 2010 +0200
s4:objectclass LDB module - deny the creation of "isCriticalSystemObject" entries
They're only allowed to be created with the RELAX control specified.
commit 8806008024e353ede2a276937880cc9cd732d9dc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 18:19:56 2010 +0200
s4:samldb LDB module - first implementation of the samldb primary group trigger
This was done according to MS-SAMR 3.1.1.8.2
But do use it only for add operations at the moment.
commit 635996e97cbd401fee344c8d6e2ffd8b3cb47522
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 6 14:16:17 2010 +0200
s4:samldb LDB module - use the new "objectclass_trigger" for add operations
Additionally clean up "samldb_fill_object" which is now much easier to
comprehend.
commit 2b6cbf2eb00f589a97f5d9a2b0bda5b596c1c676
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 18:19:56 2010 +0200
s4:samldb LDB module - first implementation of the samldb objectclass trigger
This was done according to MS-SAMR 3.1.1.8.1
I need to perform some RELAX checks since otherwise the provision wouldn't work
anymore.
commit 9bdea1b384794cd93d728810f916aea3fd055605
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 13 14:03:09 2010 +0200
ldb:ldb_match.c - fix a counter type
commit beb5afea54e279e348779c5b01070803ed59c775
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Fri Oct 8 13:43:17 2010 +0200
s3:gpfs: Add support for the gpfs_ftruncate call
ported from the v3-4-ctdb branch to master
This used to be commit 1f138cc9f4a
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Oct 13 13:34:25 UTC 2010 on sn-devel-104
commit 22018b8b887c2677d30bbb4589f800197edf0e98
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Fri Oct 8 13:15:57 2010 +0200
s3:vfs:gpfs convert sharemodes/leases parameter
convert gpfs:sharemodes and gpfs:leases parameters from a global setting
to a per share setting
commit 9e4a386d6782b51325d28e41a1bef82b8e1ea31d
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Thu Oct 7 16:56:19 2010 +0200
s3:vfs:syncops add option to disable module per share
add an option to disable the syncops module completely for a
share with
syncops:disable = true
commit c1dad16edecae8474dfa68110da6492cd19f2f51
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Thu Oct 7 16:09:52 2010 +0200
s3:vfs:syncops make it possible to specify syncops:onclose per share
convert the onclose option of the vfs_syncops module from a
global option to a service-specific one
as preparation for further flags, use a struct to store in the VFS handle
instead of just the onclose flag
commit 5954e7173a5aecb0998e359c2eff97e75fbe57f4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Oct 13 14:10:58 2010 +0200
wafsamba/developer: Forbid shared objects with unresolved symbols, if
the linker supports such a flag.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Wed Oct 13 12:52:22 UTC 2010 on sn-devel-104
commit 870de461cbc42f48ab67c4ba0e768e10580924c5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Oct 13 13:58:25 2010 +0200
wafsamba: Don't allow circular dependencies involving libraries by
default.
commit ffb71f8ee3f21f56be66cd94aea054e7efcfcbaf
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Oct 13 02:47:33 2010 +0200
dsdb/schema_data: Build as shared object.
commit 4313f0fbb556fa22bae7d7bd4bc10202476691ee
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Oct 13 02:36:06 2010 +0200
dsdb/schema_load: Build as shared object.
commit e07ca6f8e1710af3e9ced2d7b66f5208aff85119
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Oct 13 02:27:20 2010 +0200
samdb: Build as library.
commit d5e599204ca38040ea2293506c396f2ddd0a5be5
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 13 21:48:01 2010 +1100
ldb: raise minor version number for new ldb_msg_match_error() function
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Oct 13 11:42:18 UTC 2010 on sn-devel-104
commit 269143fa0031ef0b6d801b47aab48ff3b1414565
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 13 20:58:38 2010 +1100
s4-ldb: take advantage of ldb_match_msg_error() in more places
this gives better error checking
commit 549c044b9fe76e7d5a47a08fe73a99c87a41ddf4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 13 20:58:01 2010 +1100
s4-schema: don't name variables after standard libc functions
commit 180304516d2a7f4cd483bad5b08f22f7323c7738
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 13 20:48:27 2010 +1100
s4-ldb: use operator_fn syntax function in ldb_match code
this also fixes error handling in case of bad syntax, memory error
etc, which was previously conidered as a mismatch, but should return
an error
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d267c8b478d8d61bfc41cb276b772d0be5b45cd0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 13 20:27:52 2010 +1100
s4-ldb: implement an operator_fn for the ldb-samba syntaxes
this allows us to properly handle the LDB_OP_PRESENT operator on
deleted linked attributes
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 3d75111fd61d57d2a2fb9e19bf587effb0816339
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 13 20:02:18 2010 +1100
s4-ldb: added an optional operator_fn in the schema syntax
this function takes the operator being invoked, which will allow
schema functions to provide more fine grained control over
comparisons.
The key bug this was introduced to fix is the incorrect handling of
the LDB_OP_PRESENT test for deleted linked attributes. The backends
are unaware of the deleted state of these links, so they cannot do a
LDB_OP_PRESENT test on their own.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ca4864cce695fa1530d8aab50dd82566fc67c6e3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 13 20:00:22 2010 +1100
s4-torture: zero all of trans before the test starts
commit 261628d1e49921eac143f8ad0167620f95db1a33
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 13 19:42:45 2010 +1100
s4-torture: fixed uninitialised variable error
ret is uninitialised if the directory is empty
commit b5ffdb6f9c7e003223614baac18f03fe02e7d782
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 13 12:19:37 2010 +1100
s4: don't rebuild all of heimdal when dynconfig options change
only 2 files in heimdal depend on dynconfig variables
commit d0293428fe2e95cccfcaf3df47f234ac3e794d2e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 13 10:43:44 2010 +1100
autobuild: do make install after make test
this ensures that commits that break uninstalled testing get caught by
autobuild in future
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit 72de3e698b651da08a542864bb94b4e1b35dd935
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 13 10:37:22 2010 +1100
s4-dynconfig: use the build modules when running from build directory
we need to use the newly built modules when running from the build
directory to ensure we don't run tests against a stale install
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit d95160ca2f22edbc000ea2c78eab04e8e06be151
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 13 10:36:24 2010 +1100
ldb: when running from build directory, use the build modules
we need to use the build modules, not the installed modules, so tests
run from the source directory are valid
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit f81c8403807033023512fd83985124904b7f1505
Author: Matthieu Patou <mat at matws.net>
Date: Wed Oct 13 14:06:46 2010 +0400
s4 rpc_server: fix a build error on freebsd
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Wed Oct 13 10:48:04 UTC 2010 on sn-devel-104
commit 1229935aa91126130c25a7e24e9cb3e74f3a61f9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Oct 12 19:53:47 2010 +0200
torture/becomedc: Add test for global schema, use samdb_connect().
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Tue Oct 12 18:35:33 UTC 2010 on sn-devel-104
commit 8fcfb11885142b5e3b16220b2d8581db4a75dec9
Author: Jeremy Allison <jra at samba.org>
Date: Mon Oct 11 17:15:39 2010 -0700
Make the vfs_acl_xattr and other modules work with NULL SD's. Fix
the "protected" inheritance problem (bleeding up from the POSIX
layer).
Jeremy
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Tue Oct 12 00:57:41 UTC 2010 on sn-devel-104
(cherry picked from commit 6f6094076ff73dffb2570f86cb72e0ac9d0e86f2)
commit 406be1880d0d6f5c97e97ccb463ece6c06d264a6
Author: Jeremy Allison <jra at samba.org>
Date: Mon Oct 11 17:10:28 2010 -0700
Canonicalize incoming and outgoing ACLs.
Jeremy.
(cherry picked from commit 6f4e782c5343fc46f9029a549c419e5f3c1e6190)
commit 544d4ddd04f5a2e1fb298528a974fe727bec6afc
Author: Jeremy Allison <jra at samba.org>
Date: Mon Oct 11 17:07:54 2010 -0700
Make the posix ACL module cope with a NULL incoming DACL and a
missing owner/group.
Jeremy.
(cherry picked from commit 71d9f51b4eaedbecaf4b9e7a7fffae33dba6ba2e)
commit 24ec465790a062db7720914ae9b2c10eaa36e070
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Oct 12 13:27:40 2010 +0200
wafsamba: Warn about circular dependencies between libraries.
commit cda2db5edfd5e0ca58083086594e58dfca7a40e7
Author: Michael Adam <obnox at samba.org>
Date: Tue Oct 12 15:32:16 2010 +0200
s3:registry: fix some trailing spaces in reg_backend_db
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Tue Oct 12 14:15:42 UTC 2010 on sn-devel-104
commit 5ad0ed21814e721cc36b72bf2ed13d9b37c4b7d2
Author: Kai Blin <kai at samba.org>
Date: Tue Oct 12 06:13:57 2010 +0200
libwbclient: Remove half-finished async implementation
The old approach on doing async libwbclient was never really finished.
Go ahead and remove this implementation.
Autobuild-User: Kai Blin <kai at samba.org>
Autobuild-Date: Tue Oct 12 07:05:31 UTC 2010 on sn-devel-104
commit f768b32e37788e6722217148b0a73e54c04bc03a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Oct 12 15:27:50 2010 +1100
libcli/security Provide a common, top level libcli/security/security.h
This will reduce the noise from merges of the rest of the
libcli/security code, without this commit changing what code
is actually used.
This includes (along with other security headers) dom_sid.h and
security_token.h
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
commit 5742f5115cc5102a668f8debc86deec23a4081f1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Sep 20 17:42:13 2010 +1000
libcli/security Use common security.h
This includes dom_sid.h and security_token.h and will be moved
to the top level shortly.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Tue Oct 12 03:35:36 UTC 2010 on sn-devel-104
commit 911169451b0f801c3fbe4c698d74e9801d973ee0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Oct 12 10:05:32 2010 +1100
s4-credentials Allocate ldb result on correct memory context
commit 8beaa2924205cf6b01bc6183f7795571a3966ba5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Sep 20 14:49:39 2010 +1000
s4-libcli/security Use seperate subsystem for session related functions
The merged I plan in this area require spliting security.h into
two header files, a common header and a session.h for the
remaining source4-specific code.
Andrew Bartlett
commit 0487ef0a70a9758da31cff0832ee8decbeb92e82
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 17 15:23:19 2010 +1000
libcli/security Add debug class to security_token_debug() et al
This will allow it to replace functions in source3 that use debug classes.
Andrew Bartlett
commit d406e511a5f46b7212584b23d17e97508e7f537b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 17 15:18:57 2010 +1000
lib/debug Add DEBUGC and DEBUGADDC as dummies
This allows code that needs to also compile against the source3
debug code to compile in source4.
Andrew Bartlett
commit ae52f953af457c86e5e6db973fd89b2b5cd5b946
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 17 12:59:24 2010 +1000
libcli/security Move most of security_token.c to common code.
The source4-specific session_info functions have been left in session.c
Andrew Bartlett
commit 4e1966db9500c6834cbc0be70a745326b9257070
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 12 13:06:43 2010 +1100
autobuild: send email failure if rebase fails
users need to know if the rebase on master fails
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Tue Oct 12 02:53:15 UTC 2010 on sn-devel-104
commit f2dc72eb47c0a3217265784f1d76117279ca8c1c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 12 13:06:16 2010 +1100
autobuild: add an extra blank line before the autobuild markers
commit a89331e95480b049fa1feb314d210bc650c04494
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 12 13:05:36 2010 +1100
s4: mark us as not supporting python3 yet
python3 works fine with waf fine, but our C interfaces need 2.x for
now
commit 4ad64408c55df8ef976c1bb131cc7328a79f418d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Oct 12 03:29:27 2010 +0200
dsdb: Build more modules as shared objects.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Tue Oct 12 02:12:29 UTC 2010 on sn-devel-104
commit 6f6094076ff73dffb2570f86cb72e0ac9d0e86f2
Author: Jeremy Allison <jra at samba.org>
Date: Mon Oct 11 17:15:39 2010 -0700
Make the vfs_acl_xattr and other modules work with NULL SD's. Fix
the "protected" inheritance problem (bleeding up from the POSIX
layer).
Jeremy
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Tue Oct 12 00:57:41 UTC 2010 on sn-devel-104
commit 6f4e782c5343fc46f9029a549c419e5f3c1e6190
Author: Jeremy Allison <jra at samba.org>
Date: Mon Oct 11 17:10:28 2010 -0700
Canonicalize incoming and outgoing ACLs.
Jeremy.
commit 71d9f51b4eaedbecaf4b9e7a7fffae33dba6ba2e
Author: Jeremy Allison <jra at samba.org>
Date: Mon Oct 11 17:07:54 2010 -0700
Make the posix ACL module cope with a NULL incoming DACL and a
missing owner/group.
Jeremy.
commit 44a4b677fe5d0ea2a4a889cc2bb5421f372ca769
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Oct 12 00:24:41 2010 +0200
dsdb: Build some more modules as shared objects.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Oct 11 23:22:33 UTC 2010 on sn-devel-104
commit cfeb5cc91fd5f183f01a4fac21a1a7db3cf3aba2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 22:32:26 2010 +0200
dsdb: Build some more modules as shared object files.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Oct 11 21:13:25 UTC 2010 on sn-devel-104
commit 7c368533139bfc9603f7d2a088ad857e8989d0d2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 21:03:10 2010 +0200
selftest: Avoid check_call(), use call() instead. This should fix
Python2.4 compatibility.
commit ab9d459b6171a51fcadf1cbe68d3d05d2d50c850
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 20:33:31 2010 +0200
dsdb: Build some more modules as .so files.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Oct 11 19:14:58 UTC 2010 on sn-devel-104
commit 6756ec294fd4049976c7e42e0eda79089462aa4c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 19:32:22 2010 +0200
wins_ldb: Build as shared library.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Oct 11 18:15:19 UTC 2010 on sn-devel-104
commit 05024867d31311a2eae3f94eea45bb09befa982c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 15:42:14 2010 +0200
land-remote: Fix --fail-slowly.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Oct 11 15:54:31 UTC 2010 on sn-devel-104
commit 9d2e777e18fda6489c20c96f4c09fc41f92d7727
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 15:09:23 2010 +0200
ldb: Build ildap module as shared object.
commit 484939db0fb789c43181cf1df6a6f66753fd067e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 14:31:58 2010 +0200
samdb_common, ntlm: Add missing dependency on libsamba-hostconfig.
commit 837bcb9e0fe50acb11c4051fbd9b2d32abc8680e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 19:17:40 2010 +0200
popt_credentials: Implement pending machine account manually, rather than through credentials.
commit df7523c79208cc374060787f726f9066007d88ea
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 11 12:38:05 2010 +0200
pidl: fix minor typo in s3 server generation.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Oct 11 15:12:57 UTC 2010 on sn-devel-104
commit 33c6a4eb8a0017db9d7b3cc337142fd1d08b5da5
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 11 11:33:23 2010 +0200
s3-spoolss: add more userlevel info validation to _spoolss_OpenPrinterEx.
Guenther
commit 025290e9bf0f7597dc8d849a221fd80f140c1f7a
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 4 20:27:20 2010 +0200
s3-spoolss: let set_printer_hnd_name return WERROR.
Guenther
commit c8a295ab7f1ba96b1a1f44004b581770c0da51ad
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 4 11:02:52 2010 +0200
s3-spoolss: convert open_printer_hnd to return WERROR.
Guenther
commit fe724c70d2b8b916cb7ca77b7370d77e8e5b80de
Author: Günther Deschner <gd at samba.org>
Date: Sat Oct 2 22:14:37 2010 +0200
s3-spoolss: fix set_printer_hnd_name() to match torture test.
Guenther
commit 43d226fa25746a99ff598be6f0d663c8c11b7d97
Author: Günther Deschner <gd at samba.org>
Date: Sat Oct 2 22:13:44 2010 +0200
s4-smbtorture: add test for openprinter printername pattern.
Guenther
commit 6633a7b37907373ebd93f5a1f5b297ec3d5e483d
Author: Matthieu Patou <mat at matws.net>
Date: Mon Oct 11 13:44:35 2010 +0400
unit tests: do some cleanup after tests
fix
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Mon Oct 11 14:29:10 UTC 2010 on sn-devel-104
commit 77cdef53595de4837046c5f5bf6ce47020998dee
Author: Matthieu Patou <mat at matws.net>
Date: Mon Oct 11 13:44:10 2010 +0400
torture: Add debug on what we are removing
commit 58294ffdee2066e3e051b6cb914f2708e6114089
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jul 6 15:25:54 2010 +1000
s4:smbtorture Create a new random output directory each time, and delete it
This ensures we don't delete an exiting directory.
Andrew Bartlett
Signed-off-by: Matthieu Patou <mat at matws.net>
commit 74ed86c4e3d997a283e1ac03237ece9397242d81
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jul 6 15:22:31 2010 +1000
lib/torture: Add function to clean up the output directory
This helps to avoid leaving 85MB of provision around for every
NET-API-BECOME-DC test.
Andrew Bartlett
Signed-off-by: Matthieu Patou <mat at matws.net>
commit 13ba3464c08208a1dc00a3edb55281b15ddd44a7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 11 17:22:24 2010 +1100
ldb The use of a private event context isn't a hack
This is deliberate behaviour.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Mon Oct 11 13:45:14 UTC 2010 on sn-devel-104
commit 7013a3e39090dcac768d551a1c5cd0112f53a050
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 11 17:26:52 2010 +1100
s4-ldb Allow a NULL event context in samba_ldb_init()
commit 1555d5acf52bcb6459b209a59c877221ee0fea72
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 11 17:20:19 2010 +1100
s4-ldb Don't use talloc_autofree_context() in ldb
The private event context only needs to live as long as ldb itself.
Andrew Bartlett
commit 69199a96d1a3f134e2c80ef338b5600baabae8f9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 11 17:08:33 2010 +1100
s4-tevent Remove event_contex_find() and event_context_set_default()
It is considered that it is better to create a new event context
rather than 'finding' some other event context, in the case
where we do not have one specified.
Andrew Bartlett
commit bae09a0921ed6b6885972cbaa4f277e5b2ae3dc7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 11 17:08:01 2010 +1100
s4-smbd Remove event_context_set_default()
The last callers to event_context_find() have been removed
so this is no longer required.
Andrew Bartlett
commit 42127cdbb040a260c2c745e9114b600f2186794a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 11 16:53:08 2010 +1100
s4-credentials Add explicit event context handling to Kerberos calls (only)
By setting the event context to use for this operation (only) onto
the krb5_context just before we call that operation, we can try
and emulate the specification of an event context to the actual send_to_kdc()
This eliminates the specification of an event context to many other
cli_credentials calls, and the last use of event_context_find()
Special care is taken to restore the event context in the event of
nesting in the send_to_kdc function.
Andrew Bartlett
commit 5cd9495fb3f74d8e896c81e5c060a1643722870e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 11 16:43:07 2010 +1100
s4-param Refactor secrets code to not require an event context.
A new event context is constructed by LDB when required for secrets.ldb
This will be essentially unused, as LDB on TDB will only trigger 'fake'
events, and blocks on transactions and lock operations anyway.
Andrew Bartlett
commit baeaa179868fedb797df811bdf4d4a87bf604b8c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 11 13:19:32 2010 +1100
s4-kerberos Remove unused parameter
commit 1ef59ea9db447ffe0ed32ca3f9c20788e143fbcd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 11 13:19:18 2010 +1100
s4-kerberos Remove unsued variable
commit edc5ccc3098eae9975f11e452c5a4ecb2ae7ee36
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 14:11:05 2010 +0200
credentials: Avoid unnecessary includes.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Oct 11 13:01:36 UTC 2010 on sn-devel-104
commit 391b24e3edcb3a291534d91fc999ef2fd1995f03
Author: Tim Potter <tpot at samba.org>
Date: Mon Oct 11 05:34:57 2010 -0600
Fix some warnings at higher -W levels in pidl generated code.
Match data type for info levels to data type returned by utility
functions.
Autobuild-User: Tim Potter <tpot at samba.org>
Autobuild-Date: Mon Oct 11 12:18:22 UTC 2010 on sn-devel-104
commit ba02178e879b4a7d4848354f4d30fbedd3e75028
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 10:33:21 2010 +0200
util: Fix installation path of tevent_ntstatus.h, tevent_unix.h (bug 7720).
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Oct 11 09:24:56 UTC 2010 on sn-devel-104
commit d589430fa006dc4fc950be025e3a949b56e1a7bd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 04:05:37 2010 +0200
credentials: Fix the build.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Oct 11 02:47:50 UTC 2010 on sn-devel-104
commit d74e0adb3041036e8e89d4265a67a455354bc308
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 02:05:03 2010 +0200
credentials: Split up into several subsystems.
commit c5ae0991528dfeb3dbd1539f5c9c2ed2f19990b9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 01:28:45 2010 +0200
kerberos_util: Put into separate subsystem.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Oct 11 00:34:56 UTC 2010 on sn-devel-104
commit 539d5f518da96d348529f6a87064c040a63ba298
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 01:23:20 2010 +0200
auth: Remove unnecessary dependencies, fix formatting.
commit 5cbbe943664aa428785fdffa1d1e5192decd4783
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 01:20:42 2010 +0200
credentials: Move code that doesn't need any external dependencies into
credentials.c.
commit 53db1f34674ee161e102c4797f5ce5a9bee53350
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 01:10:55 2010 +0200
server: Add missing dependency on schannel database.
commit ffb67664230358ebdf3a35d9c9342ac5ecccc4c9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 19:14:20 2010 +0200
service: Add missing dependency on process_model.
commit 5324b943e72d597da178d362f7c938fe0a4e57b0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 01:09:26 2010 +0200
wafsamba: Fix handling of pyembed/pyext.
commit 2bff55f5deede15d09d2f685f5391e579ad36831
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 01:03:42 2010 +0200
dsdb/modules: Split up helpers a bit to prevent recursive dependencies.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Oct 10 23:47:54 UTC 2010 on sn-devel-104
commit 4280527b6abb0070ad4f62338e9eea2c1ad991a7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 00:58:28 2010 +0200
torture_auth: Add missing dependency on gensec_ntlmssp.
commit ea6a3f5c485ebc82c6c7cfd6b2a3451a75676cfb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 21:22:02 2010 +0200
wafsamba: Support setting pyembed on libraries.
commit ffd7cee150527fbbfe29b5f9d30c1aec2137e392
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 00:49:13 2010 +0200
torture: Link against rpc server itself, not service module. (against which we can't link).
commit ea8fc8727b02004b90db46d444bcefbc4c622c70
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 00:47:18 2010 +0200
ldap_server: Add missing dependency on gensec_server_start.
commit 6c410dd6150206bf5f052bd6501f989e61a16583
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 00:46:37 2010 +0200
kdc: Add missing dependency on samba_gensec_server.
commit 57bf052e683e6ebc99dd85e3d1a6cf62d2fb89ea
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 00:41:22 2010 +0200
smb_server: Split core out of service, since the service can be built as a .so against which we can't link.
commit b0963b7b31fad5a057d2517b2e9f39db5efbd772
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 19:15:41 2010 +0200
smb2: Add missing dependency on NDR_DFSBLOBS.
commit d0c7ae5cd5f4495dd7ba1de8e8cd9e09aa7f5d11
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 23:00:32 2010 +0200
librpc: Remove unnecessary dependency on libsamba-hostconfig.
commit 3b199935615eb50ff039e89b9d3cfcebde2b4844
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 21:37:58 2010 +0200
dsdb/schema: Move some dsdb_dn functions that are schema-specific.
commit 41e55d78944a04b0fa8b351ff4a25c78bc9499a3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 22:57:40 2010 +0200
ntvfs_ipc: add missing dependency on dcerpc_common.
commit 2c9ebb764657b3fea9161190cf924ff638eab9b2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 22:56:58 2010 +0200
libsecurity-common: Add missing dependency on libndr.
commit dc47e8dc52964447aab80fb58a42c4f33aeaef33
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 22:56:38 2010 +0200
libcli-auth: Remove unnecessary dependency on libsamba-hostconfig.
commit 1f73f3b1ca561f8cad680459e0ef418d90b2e955
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 00:29:18 2010 +0200
dsdb modules: Split ridalloc out of common helpers, because of dependency loops.
commit 7552dd8d1e5f844fbf71580f1a34d50dcb4f3fbc
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 11 00:22:42 2010 +0200
rpc_ndr_netlogon: Add missing dependency on tevent.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Oct 10 23:04:13 UTC 2010 on sn-devel-104
commit fd718c96f0bcbcdff0c931a117392ee6a4bc6ed9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 23:59:04 2010 +0200
samdb: Remove dependency on unknown subsystem.
commit 904a6c376105e084789a66894644c9a498574778
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 18:39:07 2010 +0200
util: Link headers to correct subsystem, fix formatting.
commit aa6d7ccc44e226a65fc1b56c6d973a375c482811
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 23:00:59 2010 +0200
dsdb: add missing dependency on samba_socket.
commit e2f3e10b1a47e195e9b329ac244be93c2fcdf0a0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 23:45:23 2010 +0200
ldb-samba: Rename samdb_relative_path to ldb_relative_path, as it's not samdb-specific.
commit 33c4b85058f21ab9865bc7cf1b49b7bd38e0275d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 17:02:10 2010 +0200
dsdb: Move attr_in_list to SAMDB_COMMON to avoid circular dependency between SAMDB_COMMON and DSDB_MODULE_HELPERS.
commit 8f6ca4859c4d377974fa61a3de10d6304b562986
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 16:46:55 2010 +0200
gensec: Support building without any linked-in modules.
commit 7ba7ca7062cf7d239c169eda4aa779eaaa2bb780
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 18:42:14 2010 +0200
idmap: Add missing dependency on ldbsamba.
commit be1f2c4d0212efeddbc8e66359bbbb20b1c6a152
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 18:41:57 2010 +0200
secrets: Add missing dependency on ldbsamba.
commit c4c298591d2930f3c355c3fa36699a5ab074d04e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 22:57:18 2010 +0200
cldapd: Add missing dependency on ldbsamba.
commit c1884f31ea13618cd3a94a30f9c413d176d1e258
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 23:25:38 2010 +0200
ldb-samba: Add ldb_wrap_add, remove last schema reference from ldb_wrap.
commit 7f68870bc939e33df958f708ec7f46253fefadd9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 17:34:21 2010 +0200
ldb-samba: Split up ldb_wrap_connect() a bit.
commit 938cb40290af72bdd887d964f46ccc00d80ab744
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 17:15:11 2010 +0200
ldb-samba: Add convenience function for doing a Samba-style LDB init.
commit 93126b3315a70d1beaeaa64d05cdbfb167acbabe
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 17:00:45 2010 +0200
samdb: Add flags argument to samdb_connect().
commit 6280725b47391c69dd7db1133c15bd0ce7418da6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 16:56:55 2010 +0200
samdb: Handle schema setup in samdb, not in more generic ldbsamba.
commit 614c8ea98650405b461a6ce034ee5e5acc45a952
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 23:08:12 2010 +0200
tls: add missing dependency on util_tevent.
commit a20f025ff611d541b82b83791013f2713c999235
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 22:52:35 2010 +0200
wafsamba: Fix init function when building modules as shared objects.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 9b9489479e9c429cefd58c31be4d39da8ea90057
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Oct 10 12:29:08 2010 +0200
socket_wrapper: Make it work on freebsd for udp packets
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Sun Oct 10 12:57:00 UTC 2010 on sn-devel-104
commit 9d958ce582fa760456b52d65a2deb36d8bd3794a
Author: Matthieu Patou <mat at freebsd.home.tridgell.net>
Date: Sun Oct 10 10:12:46 2010 +1100
build: make make tests SCREEN=1 work on freebsd
commit f827fcd0e0f91b6aca113ec94e09e293f119cba8
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Oct 3 04:29:08 2010 +0300
s4-libnet_vampire: Remove unused self_corrected_schema
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Sun Oct 10 10:40:38 UTC 2010 on sn-devel-104
commit b44135ac737499052f54e72b4076ef5561852d35
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Sep 27 08:50:54 2010 +1000
s4-libnet_vampire use a linked list to handle schema objects pending conversion
commit 837af1c29ae6ecebf483706e14b3190fdf4988c8
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Sep 25 13:26:03 2010 +0300
s4-vampire: Optimize Schema decoding conversion
memmove() is removed and I am using the beginning
of the list for storage for failed objects
commit 0440741473a87d184055942586c5f68de153fa2f
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Sep 24 22:56:36 2010 +0300
s4-vampire: Initial implementation for multi-pass schema decoding from DRS data
We can't decode all schema object in just one (or even two)
passes when Schema tree has more levels of inheritance.
commit 20029aac31d1952b8307d4f0c3c628f17562af51
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Sep 24 00:47:37 2010 +0300
s4-dsdb-repl: Print what the error code for failure is
commit 81e5e23683ebbb48bb3a2b2db306f47234cdfe09
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Sep 24 00:46:50 2010 +0300
s4-dsdb: Make dsdb_setup_sorted_accessors() public
We are going to need it while converting DRS schema.
commit c15e919a09b5af5d27f172ba127b94d58f2ee234
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 04:25:50 2010 +0200
wafsamba: Clarify needs_python argument name, use pyembed/pyext where
applicable.
Allow using both pyembed and pyext, to prevent unresolved symbols.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Oct 10 03:54:01 UTC 2010 on sn-devel-104
commit 5de1274d87efc66eac0b99a563cfef77bc3d6f9d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 10 04:04:09 2010 +0200
heimdal_build: Fix dependencies for hx509.
commit 27f72fb19b1b810c4cc778ca0f408da2f50fd2f5
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Oct 10 03:07:56 2010 +0200
subunithelper: Don't access 'message' attribute directly as it deprecated
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sun Oct 10 01:50:09 UTC 2010 on sn-devel-104
commit 3cd558dbeb2c543895847d4c5e21fe1f7f779a8c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 9 15:11:14 2010 +0200
talloc: Fix #include line in manpage.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Sat Oct 9 13:53:25 UTC 2010 on sn-devel-104
commit 6d8b3efadb07dc86c812471a69e57f6d05fdb0fd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Oct 6 18:10:42 2010 +0200
land: Use temp dir if /memdisk is not available.
commit 2d2dbf53ee110bfcd2f193d3e5c8d0e27759c4f3
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Oct 9 05:40:32 2010 +0300
s4-test-msds_intid: Verify ATTIDs for Linked Attributes
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Sat Oct 9 03:43:34 UTC 2010 on sn-devel-104
commit e8f32819d7294ace4d24d04dd4cd86b85408bc28
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 8 16:51:24 2010 -0700
More neccessary const.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Sat Oct 9 01:47:25 UTC 2010 on sn-devel-104
(cherry picked from commit 9e1e581120d966f40d3c781fc92b18fc5d63c38a)
commit 4c516ec8c38bb421b3752e291be4ac68bf0ef307
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 8 16:50:40 2010 -0700
Add some const. Needed for my SD work.
Jeremy
(cherry picked from commit b69bec03cc210ccb2c5373115352a57ca6363f04)
commit 6853883f3f171c69b28a0888548aaa464e163ac7
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Oct 9 04:22:24 2010 +0300
s4-test-msds_intid: Simplify parameters for _make_error_message() function
so it can be used in more places - when checking for
Linked Attributes ATTIDs for instance
commit 9e1e581120d966f40d3c781fc92b18fc5d63c38a
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 8 16:51:24 2010 -0700
More neccessary const.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Sat Oct 9 01:47:25 UTC 2010 on sn-devel-104
commit b69bec03cc210ccb2c5373115352a57ca6363f04
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 8 16:50:40 2010 -0700
Add some const. Needed for my SD work.
Jeremy
commit 76a8ae9e0db0340bfa96c428d55afe9b885977e0
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Oct 8 04:19:30 2010 +0300
pytalloc: Fix warning that we are subtracting void* pointers
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Fri Oct 8 23:36:54 UTC 2010 on sn-devel-104
commit 615482a83d6c18ead7d18624f157170effdebdf8
Author: Volker Lendecke <vl at samba.org>
Date: Thu Oct 7 22:01:28 2010 +0200
s3: Hang the isilon kernel oplocks off the NULL context
All I see is a fd_event that does not need a special destructor.
Tim, Steven, I've added the #error as well for you to remove after review.
Thanks,
Volker
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Oct 8 20:48:11 UTC 2010 on sn-devel-104
commit 703e4385991feb7a1c18651a03a9562a3964b8d6
Author: Volker Lendecke <vl at samba.org>
Date: Thu Oct 7 21:50:17 2010 +0200
s3: Hang the irix kernel oplocks off the NULL ctx
Just a fd_event to be cleaned up. The pipe is closed implicitly.
commit 613a0b6c00690a9509129be8ae6a78101e3a21e8
Author: Volker Lendecke <vl at samba.org>
Date: Thu Oct 7 21:48:38 2010 +0200
s3: Hang the linux kernel oplocks off the NULL ctx
The destructor that is called removes the signal handler. But at process
exit the signal handling is lost anyway.
commit ef96bfe88530474a05fdb86955efa3a290f3d547
Author: Volker Lendecke <vl at samba.org>
Date: Thu Oct 7 21:42:08 2010 +0200
s3: Call printer_list_parent_init in the parent
Simo, please check!
commit 812580736ac58a4f0b5d119790c53797f0a85d6e
Author: Volker Lendecke <vl at samba.org>
Date: Thu Oct 7 21:38:26 2010 +0200
s3: Remove talloc_autofree_context() from get_printer_list_db()
Another db that does not need explicit closing
commit 1e98d5859daceb7d2cbe550803aaec382d2bae86
Author: Volker Lendecke <vl at samba.org>
Date: Thu Oct 7 21:29:19 2010 +0200
s3: Remove talloc_autofree_context() from loadparm.c
None of these uses requires a special destructor
commit 220aa311d100814be6d396dff96f3825fc01985f
Author: Volker Lendecke <vl at samba.org>
Date: Wed Oct 6 18:46:43 2010 +0200
s3: Add a little test for the echo responder
commit 5e482aeebf43f95aa003c68d25f7773a944b227e
Author: Volker Lendecke <vl at samba.org>
Date: Wed Oct 6 18:45:41 2010 +0200
s3: Implement echo_TestSleep
commit e36e67fe047dca505b675c4b6b79b9670a9ad91b
Author: Volker Lendecke <vl at samba.org>
Date: Fri Sep 24 19:13:05 2010 +0200
tevent: Do not use talloc_autofree_context
commit b5ed09c3afe2c9122db6eec6dd994588d7d6a2c1
Author: Volker Lendecke <vl at samba.org>
Date: Fri Sep 24 18:45:52 2010 +0200
Move talloc_enable_null_tracking() to the s3 daemons
commit 584ac76a4f959ee8fa491407e3039a34bc5c627a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Oct 7 09:42:07 2010 +0200
s4:ldap.py - split it up and move SAM related stuff to sam.py
ldap.py would still need some additional split-up but it's a start.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Fri Oct 8 14:05:18 UTC 2010 on sn-devel-104
commit 61c7b67df9ba484c0e810c07c8da852edf1ef2fc
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 22 14:24:03 2010 +0200
s4:ldap_server: rewrite to socket layer to use tstream
This should make our sasl and tls handling much more robust
against partial sent pdus.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Fri Oct 8 11:55:26 UTC 2010 on sn-devel-104
commit 9300f922ae570756651c6f9979dd3e490ce2fd4e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Oct 8 10:19:07 2010 +0200
s4:lib/tls: buffer writes in tstream_tls_push_function()
This works arround bugs in gnutls_handshake(),
which diesn't handle EAGAIN correctly, when they use the
push function.
Thanks to Marcel.Ritter at rrze.uni-erlangen.de and
Matthieu Patou <mat at samba.org> for the debugging work
on bug #7218.
metze
commit a3d44d5504e1aa2b9e2e5564f644512bf36c01ee
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Oct 8 09:39:49 2010 +0200
s4:lib/tls: make more clear what the immediate event is for
metze
commit cce2f9dde4ae9fb9eec3b8cc7cdaf24534f33142
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Oct 7 11:16:48 2010 +0200
s4:lib/tls: fix enabled logic in tstream_tls_params_server()
metze
commit 4e9508172d5d436513b829294b5a73223292d348
Author: Günther Deschner <gd at samba.org>
Date: Thu Oct 7 21:28:04 2010 +0200
s3-waf: slowly getting modules to match how they look like in old build.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Fri Oct 8 09:31:01 UTC 2010 on sn-devel-104
commit 3c35914be1ce5f7ca4734066db3ce246c50587fb
Author: Volker Lendecke <vl at samba.org>
Date: Wed Oct 6 17:40:58 2010 +0200
s3: Fix input check in is_encrypted_packet
commit 7915142848f07b477f2c26d0034a79840757b8af
Author: Volker Lendecke <vl at samba.org>
Date: Wed Oct 6 17:40:58 2010 +0200
s3: Fix input check in is_encrypted_packet
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Oct 8 07:40:52 UTC 2010 on sn-devel-104
commit b0d0af837a7e0b444b496ab5d25d3152aa3dbe80
Author: Jeremy Allison <jra at samba.org>
Date: Thu Oct 7 16:56:36 2010 -0700
Fix bug 7716 - acl_xattr and acl_tdb modules don't store unmodified copies of security descriptors.
As pointed out by an OEM, the code within smbd/posix_acl.c, even though passed
a const pointer to a security descriptor, still modifies the ACE entries within
it (which are not const pointers).
This means ACLs stored in the extended attribute by the acl_xattr module have
already been modified by the POSIX acl layer, and are not the original intent
of storing the "unmodified" ACL from the client.
Use dup_sec_desc to make a copy of the incoming ACL on talloc_tos() - that
is what is then modified inside smbd/posix_acl.c, leaving the original ACL
to be correctly stored in the xattr.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Fri Oct 8 00:37:53 UTC 2010 on sn-devel-104
(cherry picked from commit cd04af78d51121cc16453fcd52e0d4c3516bc3c5)
commit cd04af78d51121cc16453fcd52e0d4c3516bc3c5
Author: Jeremy Allison <jra at samba.org>
Date: Thu Oct 7 16:56:36 2010 -0700
Fix bug 7716 - acl_xattr and acl_tdb modules don't store unmodified copies of security descriptors.
As pointed out by an OEM, the code within smbd/posix_acl.c, even though passed
a const pointer to a security descriptor, still modifies the ACE entries within
it (which are not const pointers).
This means ACLs stored in the extended attribute by the acl_xattr module have
already been modified by the POSIX acl layer, and are not the original intent
of storing the "unmodified" ACL from the client.
Use dup_sec_desc to make a copy of the incoming ACL on talloc_tos() - that
is what is then modified inside smbd/posix_acl.c, leaving the original ACL
to be correctly stored in the xattr.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Fri Oct 8 00:37:53 UTC 2010 on sn-devel-104
commit fd9effce2bb981207a0662707c30e50100059c06
Author: Volker Lendecke <vl at samba.org>
Date: Wed Oct 6 18:24:13 2010 +0200
s3: Fix the async echo responder for netbios keepalives
This fixes a crash in the echo responder when the client started to send the
NetBIOS-Level 0x85-style keepalive packets. We did not correctly check the
packet length, so the code writing the signing seqnum overwrote memory after
the malloc'ed area for the 4 byte keepalive packet.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Thu Oct 7 19:47:35 UTC 2010 on sn-devel-104
commit 27191b4ea1a35663a2d93f8076be59a78fab4948
Author: Volker Lendecke <vl at samba.org>
Date: Wed Oct 6 18:24:13 2010 +0200
s3: Fix the async echo responder for netbios keepalives
This fixes a crash in the echo responder when the client started to send the
NetBIOS-Level 0x85-style keepalive packets. We did not correctly check the
packet length, so the code writing the signing seqnum overwrote memory after
the malloc'ed area for the 4 byte keepalive packet.
commit 547fbb3b026e7c3d64b033af8e29fd2e9cc0b370
Author: Günther Deschner <gd at samba.org>
Date: Thu Oct 7 13:01:29 2010 +0200
samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Oct 7 12:04:32 UTC 2010 on sn-devel-104
(cherry picked from commit b7683a2c9d10e34e4d8eed8664ed4c14f71f981f)
commit 6e20bd8b7d040d44867e26888f218583f100b6d1
Author: Günther Deschner <gd at samba.org>
Date: Thu Oct 7 12:45:45 2010 +0200
s4-samr: Fix dcesrv_samr_QueryGroupMember.
Guenther
(cherry picked from commit e0b340247a4f7f0b6506752add0af3df8deb9920)
commit 3244835dd517eb416f24b3cfec24814444a7e1bc
Author: Günther Deschner <gd at samba.org>
Date: Thu Oct 7 12:45:04 2010 +0200
s3-samr: fix _samr_QueryGroupMember().
that array contains attributes, not sid types.
Guenther
(cherry picked from commit 71ab8f326b7e73ed888e46452d4c31ea17c69c60)
commit fb75355263c16ce17dadd483f0ad40e7c31846f4
Author: Abhidnya P Chirmule <achirmul at in.ibm.com>
Date: Thu Sep 30 16:26:25 2010 +0530
File winattr test
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Thu Oct 7 16:51:19 UTC 2010 on sn-devel-104
commit 9af40beda6a3f7c2b48142263cd798947b7c5698
Author: Abhidnya P Chirmule <achirmul at in.ibm.com>
Date: Wed Sep 29 18:00:49 2010 +0530
File BirthTime test
commit d8c86a7f773877af50508cf88c383c04f23d961b
Author: Günther Deschner <gd at samba.org>
Date: Sat Oct 2 22:17:46 2010 +0200
s3-spoolss: make it possible to have and announce a [prnproc$] share on the printserver.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Oct 7 16:09:14 UTC 2010 on sn-devel-104
commit 12112d545c278e49a0b1377a25bdf8a4598c0f47
Author: Günther Deschner <gd at samba.org>
Date: Sat Oct 2 21:54:32 2010 +0200
s3-rpcclient: add openprinter_ex command.
Guenther
commit f5554fe75c8962987b886468dd1b33f5fbc35fe2
Author: Günther Deschner <gd at samba.org>
Date: Sat Oct 2 21:53:54 2010 +0200
s4-smbtorture: re-arrange openprinterex tests.
Guenther
commit 3b213f6138e21e1c8b2ecac934716f964cf56940
Author: Günther Deschner <gd at samba.org>
Date: Sun Oct 3 06:55:34 2010 +0200
s3-docs: fix typo in "add port command" smb.conf manpage.
Guenther
commit b7683a2c9d10e34e4d8eed8664ed4c14f71f981f
Author: Günther Deschner <gd at samba.org>
Date: Thu Oct 7 13:01:29 2010 +0200
samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Oct 7 12:04:32 UTC 2010 on sn-devel-104
commit e0b340247a4f7f0b6506752add0af3df8deb9920
Author: Günther Deschner <gd at samba.org>
Date: Thu Oct 7 12:45:45 2010 +0200
s4-samr: Fix dcesrv_samr_QueryGroupMember.
Guenther
commit 71ab8f326b7e73ed888e46452d4c31ea17c69c60
Author: Günther Deschner <gd at samba.org>
Date: Thu Oct 7 12:45:04 2010 +0200
s3-samr: fix _samr_QueryGroupMember().
that array contains attributes, not sid types.
Guenther
commit ab31d9aac9a02756cf5af313ed36fc549a8f4b67
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Oct 5 07:47:51 2010 +0200
Revert "s4:ldap_server: rewrite to socket layer to use tstream"
This reverts commit b53fbc75acc525f2e2450370e704a62791271788.
There are problems with problems with broken gnutls versions.
We can readd this once we have the needed configure checks to
detect the bug in gnutls. See https://bugzilla.samba.org/show_bug.cgi?id=7218.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Thu Oct 7 10:31:18 UTC 2010 on sn-devel-104
commit ea36245ebeb26e5bc98983c817fb023cd8a8d50f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 6 20:45:36 2010 +0200
s4:dsdb/common/util_samr.c - use an LDB constant for result checking
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Thu Oct 7 07:40:31 UTC 2010 on sn-devel-104
commit c9da3122c845054e93f25c723f4dd9791bfbd853
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 6 19:11:58 2010 +0200
s4:dsdb/common/util.c - provide message set functions for integer types
They will be used by the samldb LDB module
commit 321bb40a2e597e46101949737d0bec0561a877ea
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 7 14:20:15 2010 +1100
script: improvements to bisect-test.py
- allow control of all the commands (eg. specify configure command)
- do a bisect reset at the end
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Thu Oct 7 04:11:21 UTC 2010 on sn-devel-104
commit bb0017615d44b66828c98a408ca15b50956f3e91
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 7 12:25:42 2010 +1100
waf: fixed exit status of test suites
use RUN_COMMAND() to handle signal errors and exit status
commit efcc76bfe38f85c0c22470972b78fe030a92d95b
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Wed Oct 6 12:24:27 2010 -0400
s3: Adding TCP_KEEPALIVE_THRESHOLD and TCP_KEEPALIVE_ABORT_THRESHOLD to the list of accepted socket settings.
These are both exclusive to Solaris/OpenSolaris.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Thu Oct 7 00:26:39 UTC 2010 on sn-devel-104
(cherry picked from commit fdad0328e4ee4de26e94f9b19a74ded83c5b00ce)
commit fdad0328e4ee4de26e94f9b19a74ded83c5b00ce
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Wed Oct 6 12:24:27 2010 -0400
s3: Adding TCP_KEEPALIVE_THRESHOLD and TCP_KEEPALIVE_ABORT_THRESHOLD to the list of accepted socket settings.
These are both exclusive to Solaris/OpenSolaris.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Thu Oct 7 00:26:39 UTC 2010 on sn-devel-104
commit 49455358a2c8ea73c6b6b5b5433e3322ccac43c9
Author: Volker Lendecke <vl at samba.org>
Date: Wed Oct 6 18:47:08 2010 +0200
tevent: Only call handlers that ask for events
The s3 libsmbclient puts two different handlers on a single fd for readability
and writability. With select this works fine, however without this patch we
unconditionally call the write handler even if the socket is only readable. We
should have called the read handler instead.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Wed Oct 6 23:40:24 UTC 2010 on sn-devel-104
(cherry picked from commit 1c9b85667070ee3292862d007f03b33b10713edd)
commit 1c9b85667070ee3292862d007f03b33b10713edd
Author: Volker Lendecke <vl at samba.org>
Date: Wed Oct 6 18:47:08 2010 +0200
tevent: Only call handlers that ask for events
The s3 libsmbclient puts two different handlers on a single fd for readability
and writability. With select this works fine, however without this patch we
unconditionally call the write handler even if the socket is only readable. We
should have called the read handler instead.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Wed Oct 6 23:40:24 UTC 2010 on sn-devel-104
commit 0cec0f0912bc0cc15715fd68483f28e5b68e4439
Author: Jeremy Allison <jra at samba.org>
Date: Tue Oct 5 16:47:23 2010 -0700
Fix crash in SMB2 rename found by gentest. We must always have an lcomp
in the destination struct for a rename, so set the flag appropriately.
Jeremy.
commit 5c52644eedd08982ce75ad532cafe16265968252
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 7 09:18:31 2010 +1100
maintainers: delete the old MAINTAINERS file
this contains some quite obsolete information
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Oct 6 22:58:52 UTC 2010 on sn-devel-104
commit 081818a7a8464c19c7dead604e680e898a98a6c2
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 7 08:23:22 2010 +1100
maintainers: added initial MAINTAINERS.txt
initially with no subsystems maintained. Some initial maintainers will
be added soon after discussion.
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Oct 6 22:07:01 UTC 2010 on sn-devel-104
commit bca6ebb65dfac92534756338952005d1ff98eafd
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Oct 5 13:06:19 2010 +1030
idtree: fix right shift of signed ints, crash on large ids on AIX
Right-shifting signed integers in undefined; indeed it seems that on
AIX with their compiler, doing a 30-bit shift on (INT_MAX-200) gives
0, not 1 as we might expect.
The obvious fix is to make id and oid unsigned: l (level count) is also
logically unsigned.
(Note: Samba doesn't generally get to ids > 1 billion, but ctdb does)
Reported-by: Chris Cowan <cc at us.ibm.com>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty at samba.org>
Autobuild-Date: Wed Oct 6 08:31:09 UTC 2010 on sn-devel-104
(cherry picked from commit 2db1987f5a3a4268ce64fe570ff598e3bf4ecc73)
commit 342c79e26544ee5345a9d54f68f774d7ce07e530
Author: Volker Lendecke <vl at samba.org>
Date: Wed Oct 6 15:05:59 2010 +0200
s3: Make the write end of the echo responder pipe non-blocking
Without this, we can get a writable pipe end, but the writev call on the pipe
will block.
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Oct 6 13:57:30 UTC 2010 on sn-devel-104
commit bd897350cc5c5f9cd77917630a632dc4ca3efd6d
Author: Volker Lendecke <vl at samba.org>
Date: Wed Oct 6 15:05:59 2010 +0200
s3: Make the write end of the echo responder pipe non-blocking
Without this, we can get a writable pipe end, but the writev call on the pipe
will block.
commit 312d0977a2bd7f3eccff91e6c246a68814a33991
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 6 23:13:14 2010 +1100
s3-build: use the simpler "make bin/smbtorture" for s4 torture
and the same for bin/ndrdump
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Oct 6 12:58:21 UTC 2010 on sn-devel-104
commit 7dcecbd0773b2c342712aa207c941d31f1da7b4a
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 6 23:12:44 2010 +1100
waf: allow for commands like "make bin/smbtorture"
I finally worked out the GNU make syntax for this
commit 8a56f8ddb141ea32f6efe182ba97b822b1b200a5
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 6 22:06:46 2010 +1100
s3-spoolss: added another intermittent failure to knownfail
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Oct 6 11:55:00 UTC 2010 on sn-devel-104
commit 1e2c1c89427c8230acb12a755d44d6b46b05a906
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 6 20:15:48 2010 +1100
autobuild: only add autobuild.log if it exists
this makes running autobuild on other than sn-devel easier
commit c24240bcd2f833321f45ea4ce0b6c6d080a3b990
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 6 20:11:01 2010 +1100
waf: fixed some python3.x portability issues
these have crept into the tree over time. Maybe we should add testing
of a range of python versions to autobuild?
commit 8fcccae6aa4f48e7ef03fbf8e5b5f24ea0209d2e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 6 18:55:38 2010 +1100
waf: update to waf version 1.5.19
this includes a number of perforance improvements and bug
fixes. Thanks to Thomas for all the recent improvements!
commit 8e5f8d71f22f0c102f46339427069d0571597ebf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Oct 6 11:37:28 2010 +0200
s4:samldb LDB module - remove "type" parameter of "samldb_fill_object"
It's a bit redundant given that we have the "type" variable on "ac".
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Wed Oct 6 10:20:45 UTC 2010 on sn-devel-104
commit 2db1987f5a3a4268ce64fe570ff598e3bf4ecc73
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Oct 5 13:06:19 2010 +1030
idtree: fix right shift of signed ints, crash on large ids on AIX
Right-shifting signed integers in undefined; indeed it seems that on
AIX with their compiler, doing a 30-bit shift on (INT_MAX-200) gives
0, not 1 as we might expect.
The obvious fix is to make id and oid unsigned: l (level count) is also
logically unsigned.
(Note: Samba doesn't generally get to ids > 1 billion, but ctdb does)
Reported-by: Chris Cowan <cc at us.ibm.com>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty at samba.org>
Autobuild-Date: Wed Oct 6 08:31:09 UTC 2010 on sn-devel-104
commit 58c1d0c256c8bfedf6a1a734bfba34c637f34035
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 6 18:03:07 2010 +1100
s4-heimdal: disable using the system compile_et for now
just checking that compile_et exists isn't enough. It has to actually
work. Quite a few build farm systems have /usr/bin/compile_et, but it
gets link errors when you try to use it (missing symbols et_list_lock
and et_list_unlock)
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Oct 6 07:48:16 UTC 2010 on sn-devel-104
commit 1e267b03da3d00bac20b518e620a03faadee5005
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Oct 6 15:23:58 2010 +1100
waf: fixed the problem with com_err on Ubuntu 9.04
this changes CHECK_BUNDLED_SYSTEM() to honor the checkfunctions and
headers options even for libraries found with pkgconfig.
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Wed Oct 6 05:06:42 UTC 2010 on sn-devel-104
commit ee881c9d077bbd2a158bacc6676dcabf4f81ed34
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Oct 6 05:12:58 2010 +0300
s4-test: Fix PYTHONPATH for samba4.schemaInfo.python(dc) test
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Wed Oct 6 02:54:56 UTC 2010 on sn-devel-104
commit cf299594374c16c4dd585e112f40c9f277c11050
Author: Jeremy Allison <jra at samba.org>
Date: Tue Oct 5 16:47:23 2010 -0700
Fix crash in SMB2 rename found by gentest. We must always have an lcomp
in the destination struct for a rename, so set the flag appropriately.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Wed Oct 6 00:29:51 UTC 2010 on sn-devel-104
(cherry picked from commit 77622acadda5d216477e7c41490e9454e26f9226)
commit 77622acadda5d216477e7c41490e9454e26f9226
Author: Jeremy Allison <jra at samba.org>
Date: Tue Oct 5 16:47:23 2010 -0700
Fix crash in SMB2 rename found by gentest. We must always have an lcomp
in the destination struct for a rename, so set the flag appropriately.
Jeremy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Wed Oct 6 00:29:51 UTC 2010 on sn-devel-104
commit 46b4fe0c48cb045db0a372cf89d2b0da79e44bac
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Oct 5 17:15:14 2010 +0200
heimdal-build: Require com_err library to provide com_right_r function.
commit a2288799039e570a0e647db1b3488314265819aa
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Oct 5 12:43:09 2010 +0200
land: Fix stage description during failure.
commit 47d1c496084fd0974e20bc6c0694456f71391f8a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Oct 5 12:39:30 2010 +0200
land: Print out failed test in case of subunit failures.
commit 95c6c9b69bcc7bed3a733a355dfa502b7aebd92b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Oct 5 23:08:24 2010 +0300
heimdal-com_err: fix the build for systems with older 'com_err' library
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Tue Oct 5 21:36:41 UTC 2010 on sn-devel-104
commit cef5a36cd1a3dbc7a1f027d33c14cf434dfa1360
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 5 22:21:54 2010 +0200
selftest: make it more obvious we only expect the printjob tests to fail.
Guenther
commit b75674c2eba92174cdc71c770cc67e45953abb1f
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 5 21:50:21 2010 +0200
Revert "libndr: fix "excess elements in struct initializer" warning."
This reverts commit a416ff26d6ada4ee96bf3963866f67d5788162d1.
commit a578ac028fa92bbe866f1a7d7f845d926281cf40
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 5 18:08:51 2010 +0200
s3-waf: add slightly different mkbuildoptions awk script for waf.
This allows to run make test (w/o smbtorture4 for now) using waf.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Oct 5 18:24:55 UTC 2010 on sn-devel-104
commit e481b6637436ff3a145e7104811911c501bf9e42
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 5 17:01:14 2010 +0200
s3-waf: use more of the NDR_ subsystems.
Guenther
commit 4618e25c950666fbe97513982ab21f270ea1dad0
Author: Jeremy Allison <jra at samba.org>
Date: Mon Oct 4 15:48:04 2010 -0700
Fix bug 7704 - Possible error in fix to rpc_server/srv_spoolss_nt.c.
From pjb1008 at cam.ac.uk - Service numbers start from 0.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Tue Oct 5 17:32:34 UTC 2010 on sn-devel-104
commit a72eba09a2fcc79990e88042d02b4f2a8e1f75c6
Author: Jeremy Allison <jra at samba.org>
Date: Mon Oct 4 15:48:04 2010 -0700
Fix bug 7704 - Possible error in fix to rpc_server/srv_spoolss_nt.c.
From pjb1008 at cam.ac.uk - Service numbers start from 0.
(cherry picked from commit f1c367e60a443fe8fe40b3a7bd82d5ec2cfe669e)
commit a8a6cbf02a3d8d0f178dc3501f151d2293cc1b15
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 2 17:07:00 2010 +0200
s3: Stop using the write cache after an oplock break
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Oct 5 10:09:38 UTC 2010 on sn-devel-104
(cherry picked from commit ea08cd280cd03377cbabac8f6565719186330e44)
commit aabfb7162c1e87ebfec1829488a2cd20af18ae0e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Oct 5 16:41:17 2010 +0200
s4:subtree_delete LDB module - remove the DN from an error message
It may looks funny but the DN output prevents older ADUC versions (tested with
release 2000) to perform subtree deletes properly. Version 2008 has this fixed.
Additionally some smaller changes ("%u" for printing unsigned integers,
module name prefix, nicer line-wrap).
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Tue Oct 5 16:48:19 UTC 2010 on sn-devel-104
commit 0fb9671a01475d9c79c99ab8ae0f08c2f198097d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Oct 5 15:57:45 2010 +0200
s4:setup/provision_rootdse_add.ldif - provide informations in the right order
Doesn't change much - but nicer to read.
Btw: is the testdata/samba3 stuff still needed ("provision_samba3sam.ldif"...)?
It seems a bit outdated.
commit 505eaa9493a3c119c42168afb113e393a4f270d6
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 5 12:19:58 2010 +0200
s3-selftest: enable smb2 torture tests against samba3.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Oct 5 14:38:07 UTC 2010 on sn-devel-104
commit 9bcb88ff25a56290ea326fd1ccf12865a4935c4c
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 5 15:07:19 2010 +0200
s4-selftest: move spoolss to skip list.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Oct 5 13:51:28 UTC 2010 on sn-devel-104
commit a416ff26d6ada4ee96bf3963866f67d5788162d1
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 5 14:59:09 2010 +0200
libndr: fix "excess elements in struct initializer" warning.
Guenther
commit caeb819861e0d87aebc6c1253102529cba6dec56
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 5 14:58:52 2010 +0200
s3-reg_parse: fix uninitialized variable in srprs_key().
Guenther
commit 0a1ce77e29dd24f8f410e8832244bd8d03fd08b5
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 5 14:57:59 2010 +0200
s3-libndr: handle NDR_ERR_IPV6ADDRESS case in ndr_errstr().
Guenther
commit 2b58efb1fcbf7a67d850cb6a68b932983c36c7af
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Oct 5 11:48:16 2010 +0200
land: Fix failure detection.
What subprocess.Popen.poll() returns is a exit code, not a status.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Tue Oct 5 13:05:25 UTC 2010 on sn-devel-104
commit c94db22a12f67b71135ab674798334fd28472d6a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Oct 5 11:15:56 2010 +0200
land: Simplify retry checker.
commit 5218bcf76fb30560741cf5511ff38d7dd93e0f18
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Oct 3 04:33:02 2010 +0300
s4-provision: Reset "debuglevel" after "provision" take place
Otherwise "provision" resets our current debug level and
we don't get debug messages we may expect onwards
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Tue Oct 5 11:32:50 UTC 2010 on sn-devel-104
commit fb0add66055f68edc849e29b3609e268b9c7a766
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Oct 3 04:30:14 2010 +0300
s4-libnet_vampire: Reparent result.lp_ctx - we have already referenced it
which leads to warning that we are trying to steal
a context with references
commit 9c27099715b248206c2d5ca9e7db22532ad9f994
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Oct 5 02:47:08 2010 +0300
s4-test: Fix PYTHONPATH for python.drs_ tests
commit dd380e34598639cfdbe447462972fff03e44b805
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Oct 5 02:45:38 2010 +0300
s4-test: Use absolute path for 'samba4srcdir'
commit 4aa8aaa6d2f114d4b9a4ab7d9314e9ec01ea3a69
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 5 11:38:45 2010 +0200
s3-waf: convert NSS_INFO into a subsystem.
We don't do the fancy symlinking to idmap modules though.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Tue Oct 5 10:50:53 UTC 2010 on sn-devel-104
commit d10a601ce0a9f1d66344c6c3b8cbb30c467b18a9
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 07:30:41 2010 +0200
s3-waf: add RPCCLI_WINREG subsystem.
Guenther
commit ea08cd280cd03377cbabac8f6565719186330e44
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 2 17:07:00 2010 +0200
s3: Stop using the write cache after an oplock break
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Tue Oct 5 10:09:38 UTC 2010 on sn-devel-104
commit af5308ef9c30be759985a37f29c958eec0dc28cd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Sep 15 12:40:07 2010 +0200
s4:samldb LDB module - simplify/unify the message handling on add and modify operations
- Perform only shallow copies (should be enough)
- Perform only one copy per operation (also on modifications)
- Build a new request on modify operations if needed ("modified" flag) - this
makes it look cleaner
- Fix an important bug: the "el" pointers could have changed after
modifications. Therefore we have to refresh them on the FLAG_DELETE checks
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Tue Oct 5 09:24:57 UTC 2010 on sn-devel-104
commit ef7f47484a5b799cbdec9979bd1cabfa887686a3
Author: David Disseldorp <ddiss at suse.de>
Date: Tue Oct 5 19:08:23 2010 +1100
s3: include fake_file.h in nttrans.c
commit ca035b35fe646afc1222ce6b16c818b6629a3039
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Oct 5 09:59:30 2010 +0200
s4:samldb LDB module - assign better memory contexts on two places
commit 0e5b77bec44863b1ad440e45fd0933f07e797261
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Oct 5 09:27:36 2010 +0200
s4:kdc - use "userAccountControl" always unsigned
It doesn't change much but it's nicer to have it consistent.
commit 933aef0bf4aa52c5b4a584858f635833eb0243bd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 4 18:57:00 2010 +0200
s4:ldb_modules.c - fix a typo
commit a9ee39cadf02fad849ce7a10785ae22a3c284699
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 5 18:55:28 2010 +1100
s4-test: changed the gentest test to use a fixed seed.
we need our test suite to produce repeatable results
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Tue Oct 5 08:43:00 UTC 2010 on sn-devel-104
commit 906e3f12973a26e387116508ea745dc554221764
Author: Matthieu Patou <mat at matws.net>
Date: Sat Sep 4 12:04:18 2010 +0400
torture: complete dfs referral tests
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Tue Oct 5 08:01:39 UTC 2010 on sn-devel-104
commit 8a0095b930f7ad2a4451f56f204fb0bd73bce66b
Author: Matthieu Patou <mat at matws.net>
Date: Sat Sep 4 01:03:53 2010 +0400
dfs: Fix wrong size of referral, change order of dc referral
Order of referral is now like w2k8/w2k8r2 as it seems it has an
influence on how clients manage to get it.
commit 52d32e08a4227909662a50a989633e9acd4bbb2f
Author: Matthieu Patou <mat at matws.net>
Date: Sat Sep 4 00:39:16 2010 +0400
idl: dfsblobs fix glitches in the implementation
commit 83f3f5e15aa9928f998c3afe03e71a53ad8e8d6a
Author: Matthieu Patou <mat at matws.net>
Date: Sat Sep 4 20:08:05 2010 +0400
ndr: Handle the case of string array with all null terminated strings
commit 7c5d7a5b6337b8543ebb9c71e8d97eceb7a1e44e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 5 17:17:31 2010 +1100
waf: workaround for the 'make install' breakage
This is a temporary workaround until Jelmer gets a chance to look at
this
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Tue Oct 5 06:57:59 UTC 2010 on sn-devel-104
commit 5548d3d41e3db378802e614656d3f708a3edd214
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Oct 5 00:36:21 2010 +0200
Add missing dependencies for com_err.
commit 6ea99a237d982827accd1e9befe133141083d9cb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 21:19:47 2010 +0200
ldb: Refer to ldb(3), not ldb(7).
commit c8b6be016a0352d50c9f384cde51bde90227ba58
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 18:05:00 2010 +0200
heimdal-build: Simplify calls to convenience functions.
commit 3c0a57a99c2c5bc4f7f48ced24e41ec57c6349a2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 17:17:00 2010 +0200
heimdal-build: Add HEIMDAL_BINARY convenience method.
commit e9224c6bd12b02d9dd85a18efe59ce51396d460a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 16:48:34 2010 +0200
heimdal-build: Implement HEIMDAL_LIBRARY with fewer wafsamba functions.
commit 6c81caedf618b742faed822c38c7c653fe95a37e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 16:27:16 2010 +0200
heimdal-build: Add heimdal specific subsystem function.
commit 017196ad8501bd44bbfedfff9c8e24d801426df7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 16:19:29 2010 +0200
heimdal-build: Add custom heimdal generator.
commit 9eab95bd08cf63b63de63ed8dc88ca3a40345b19
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 16:14:10 2010 +0200
heimdal: Fix name of hx509 library.
commit 39f9bfde394e9f2408ba11a40267de9c3a6e119e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 16:03:21 2010 +0200
heimdal: Fix name of kdc library.
commit 1db3221c9433dc602ea250d7126f279d77821064
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 16:00:17 2010 +0200
heimdal: Fix name of 'hdb'.
commit 7b188397afc746a11bea70954a6350fa9738ead0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 15:56:42 2010 +0200
heimdal: Fix library name of heimntlm.
commit 9b18d48d51ecb7c3350a8950b7928662852b056e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 15:54:07 2010 +0200
heimdal: Fix library name of gssapi.
commit 14a11337f0723ed36939cfd9114a8f49f3a3a9ff
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 15:50:05 2010 +0200
heimdal: Fix names of roken, wind libraries.
commit ebfcac80806d528ce3b6565af68ac4de9f941837
Author: Jeremy Allison <jra at samba.org>
Date: Mon Oct 4 14:51:10 2010 -0700
Ported from master 97b76364e7c8103ee6dd6e41d85d3932e46eafdc - Author: Volker Lendecke <vl at samba.org>
s3: Attempt to fix a ton of warnings on the build farm
commit c25d408e03d4f13b54534a771f333603cfbf823c
Author: Volker Lendecke <vl at samba.org>
Date: Mon Oct 4 11:39:51 2010 +0200
s3: Fix a pointer error
It is not universally guaranteed that an enum is represented as a uint32_t.
This starts to be THE BUG (tm) in Samba. What can I do to explain this
to people a bit better? It seems that the verbose explanations I put into
the recent checkins fixing similar bugs are not clear enough.
Anybody who does is not 100% clear about what this patch fixes please
contact me directly so that we can talk it through on the phone to agree
on a wording that everybody can understand.
Thanks,
Volker
(cherry picked from commit 515c8f0289f9ac0d418399499da309f3f88b1540)
commit d09cfc04fb29222c39ca4f170982c033fdc8206c
Author: Matthieu Patou <mat at matws.net>
Date: Mon Oct 4 22:56:20 2010 +0400
unittests: add a test to avoid regression on previous fix
Autobuild-User: Matthieu Patou <mat at samba.org>
Autobuild-Date: Mon Oct 4 20:23:31 UTC 2010 on sn-devel-104
commit 1b0a10bba74b7a38064d600b0fdd4e76db1db1e1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 11:56:35 2010 +0200
s3: Move #define VALGRIND to config.h
This fixes the valgrind overrun in the tdb jenkins hash
(cherry picked from commit 48dccbf2b52163643b5bbc0d73b65e12b8c92c12)
(cherry picked from commit ab2aead60dc7d334e4ff4f87861909c084eb657a)
commit 19f835dd69e7ea3ecc10732ebb031f78f79ec9f5
Author: Matthieu Patou <mat at matws.net>
Date: Mon Oct 4 22:54:46 2010 +0400
unittests: makes the unit tests for ldb.python back in order
commit 9dcad792b6d5ff0481da467b1c6b4524cf462ba8
Author: Matthieu Patou <mat at matws.net>
Date: Mon Oct 4 00:43:33 2010 +0400
pyldb: test return code before trying to talloc_steal
Otherwise you can have an error on the talloc_steal as the req can have
been not talloced yet
commit b53fbc75acc525f2e2450370e704a62791271788
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 22 14:24:03 2010 +0200
s4:ldap_server: rewrite to socket layer to use tstream
This should make our sasl and tls handling much more robust
against partial sent pdus.
metze
commit b5f2633f7aca375c597a88bcb061563c94efb7ca
Author: Kai Blin <kai at samba.org>
Date: Mon Aug 16 21:22:52 2010 +0200
dnsp: Add support for parsing HINFO records
Autobuild-User: Kai Blin <kai at samba.org>
Autobuild-Date: Mon Oct 4 19:41:38 UTC 2010 on sn-devel-104
commit 65d2cfdcf1517b2e99df0556eb5bcfbc0c49a453
Author: Kai Blin <kai at samba.org>
Date: Fri Aug 13 11:09:09 2010 +0200
dnsp: Parse TXT records
commit da21f78099884ce425dfbb99c8c246f6fcd98a3a
Author: Kai Blin <kai at samba.org>
Date: Thu Aug 12 15:46:42 2010 +0200
dnsp: Add MX record parsing
commit 8ff715c3d9ca2d6cc8880fa3040b1d1dbc942590
Author: Kai Blin <kai at samba.org>
Date: Tue Aug 10 15:34:27 2010 +0200
dnsp: Allow parsing of AAAA records
commit ee7ee2c4c2f4c75c355cc06ce29d1ef59b2ae581
Author: Kai Blin <kai at samba.org>
Date: Tue Sep 28 20:33:54 2010 -0700
ndr: Implement push function for IPv6 addresses
Thanks to Julien Kerihuel for providing the patch that pushed me to
finish my own IPv6 patches.
commit 013780b1e1942522dfee59d973a341b5f18ace67
Author: Kai Blin <kai at samba.org>
Date: Tue Aug 10 15:32:59 2010 +0200
ndr: Add support for pulling/printing an ipv6address type
commit 10a4ea7219bb8a1b880b1f0ae4fb39b5f479bab3
Author: Kai Blin <kai at samba.org>
Date: Mon Aug 9 07:26:16 2010 +0200
IDL: More types for the DNSP IDL file
commit 6320cface96baba061b4d097ddbd17d63c663346
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Oct 4 17:18:19 2010 +0200
s4:dsdb/common/util.c - change the usage of the RECYCLED control
Use it only in conjunction with the DELETE one to allow the functions to work
also against Windows < 2008R2. This is really important for the vampire
operation.
Also mark the RECYCLED control as non-critical (so that it's simply ignored by
older Windows'es).
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Mon Oct 4 16:10:11 UTC 2010 on sn-devel-104
commit 59d00fc439e5851f60925febda8d7f7816a44563
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Oct 2 10:03:55 2010 +0200
lib/util/asn1: let asn1_peek_full_tag() return an error if we fail to parse tag hdr/len
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Oct 4 14:46:40 UTC 2010 on sn-devel-104
commit 42d1a84a360ed56c123bb7bab6340d9e8425a8c0
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Oct 4 10:35:32 2010 +0200
libcli/ldap: ldap_full_packet() requires at least 6 bytes
metze
commit 4423aa59abda50c8b71815f922ea03e2009f9e50
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Sep 27 23:57:34 2010 +0200
tsocket: make sure we delete the fd event before calling close()
We got random double free errors, when getting events from
epoll_wait() and try to dereference the private talloc pointer
attached to it.
Before doing the close() in the tstream_disconnect_send() function
we need to delete the fd event.
commit 38f505530ba06323a56c7d3914630efffcd12629 only fixed it for
tdgram sockets.
metze
commit c676c950dbb022004e7224b39355decfa74e6032
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 15:23:24 2010 +0200
compile_et: Support using system compile_et.
commit 0bda3f8cfb34cc23fac8745decfbfb2f97a8fb65
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 14:13:24 2010 +0200
heimdal: Support using system com_err.
commit 587315f75ddfd56f2b98a8dd886fff1c6730ca0d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 13:53:02 2010 +0200
land-remote: Force running in foreground when pushing to master.
commit f1b62eaa2cda7c92897ca9239573c67798a41f1a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 13:51:34 2010 +0200
land-remote: Announce what address email is going to be sent to.
commit 20d39691a8eecd57b27cb709a70c50bf572b8114
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 13:39:32 2010 +0200
tdb: Only use system pytdb when using system tdb.
commit e805bf52c9ed32bd53759996b5700c5d582a2a58
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 13:38:39 2010 +0200
tdb: Support using system pytdb.
commit e604532b495a82da09f3a5dea5fc2a0aa59590f7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 13:38:25 2010 +0200
waf: Add function for checking for system python modules.
commit 6cd722d9507200a90b7c99dcb6749187aa757f87
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 13:17:25 2010 +0200
pytdb: Add __version__ attribute.
commit 8cec67fe61b1e6e64cab968ee43be424a91e56cd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Oct 4 01:35:36 2010 +0200
registry: Make a two more functions static.
commit 515c8f0289f9ac0d418399499da309f3f88b1540
Author: Volker Lendecke <vl at samba.org>
Date: Mon Oct 4 11:39:51 2010 +0200
s3: Fix a pointer error
It is not universally guaranteed that an enum is represented as a uint32_t.
This starts to be THE BUG (tm) in Samba. What can I do to explain this
to people a bit better? It seems that the verbose explanations I put into
the recent checkins fixing similar bugs are not clear enough.
Anybody who does is not 100% clear about what this patch fixes please
contact me directly so that we can talk it through on the phone to agree
on a wording that everybody can understand.
Thanks,
Volker
commit b958f98152ab5946b771bde0fffb37fa25126415
Author: Volker Lendecke <vl at samba.org>
Date: Mon Oct 4 11:02:57 2010 +0200
s3: Attempt to get the Tru64 build a bit further
commit 355849ed4cbe5cea86edf6b5414d264c0637ac64
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 4 09:28:41 2010 +0200
spoolss: fill in spoolss_DeletePort IDL.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Mon Oct 4 08:10:16 UTC 2010 on sn-devel-104
commit 279e0c9610075a95ffe79f8fa223bf2427f83468
Author: Günther Deschner <gd at samba.org>
Date: Sun Oct 3 08:13:35 2010 +0200
spoolss: fill in spoolss_SetPort IDL.
Guenther
commit 2ff1c9eb30f220a4c490afc695a951de7b3c45f9
Author: Günther Deschner <gd at samba.org>
Date: Sun Oct 3 07:24:56 2010 +0200
spoolss: fill in spoolss_AddPortEx IDL.
Guenther
commit 7d0d6d4d23fd010cf78736d33bd710710758b167
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 3 18:49:56 2010 +0200
s4:kdc/db-glue.c - remove unused variable
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Oct 3 17:30:34 UTC 2010 on sn-devel-104
commit 24282adb9a0db872ba45e878fdbe019c6bc2602e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Sep 29 19:49:57 2010 +0200
s4:ldap.py - test allowed system flags restriction
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit ca08cde15029b6d8efdc562daf35d49f4fdbd4de
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Sep 29 18:18:55 2010 +0200
s4:objectclass LDB module - introduce allowed system flags restriction
Let us do the distinction by real use and provision by the RELAX flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 4e8206eb4c74de05aa0657fc36ad1569b96a8900
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 3 18:40:05 2010 +0200
s4:urgent_replication.py - fix up the system flags handling
And relax some more object creations due to the enforced system flags rules.
commit 79a4be4f773ef7ce7340619102374796de150a8a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 17:39:00 2010 +0200
s3: Remove smbd_server_conn from msg_force_tdis
commit e128b2316550f654279345c1f38087b125d9b19b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 17:37:24 2010 +0200
s3: Remove smbd_server_conn from process_blocking_lock_cancel_message
commit c0eb35c0a245f6f9e8ca430b3ad4d3435d365761
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 17:35:52 2010 +0200
s3: Remove smbd_server_conn from smb1 receive_unlock_msg
commit db607331d353dc43e1a7cb11e7af0ce7e38faf9a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 17:34:43 2010 +0200
s3: Remove smbd_server_conn from msg_file_was_renamed
commit 3cf3d54fbc3c28e40d3e23543c0fef1c9e81559a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 17:33:11 2010 +0200
s3: Remove smbd_server_conn from validate_my_share_entries
commit 924357ab524bdb296b86ee4e34b9a9669d1d5901
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 17:29:56 2010 +0200
s3: Remove smbd_server_conn from msg_close_file
commit 898f7c9603b1a9057f0a65b368c569d52b627238
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 17:28:10 2010 +0200
s3: Remove smbd_server_conn from smb2 receive_unlock_msg
commit 554f5e7c6035577ab6463f12cc0e5b4a089cbc86
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 17:24:33 2010 +0200
s3: Remove smbd_server_conn from process_kernel_oplock_break
commit 5d1d575e87dfd8a378f385ce1d99c66956cbb17b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 17:22:09 2010 +0200
s3: Remove smbd_server_conn from process_oplock_break_message
commit 35d6d44e5ae6e82c8c1eb05d4bff65b5399f1197
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 17:20:43 2010 +0200
s3: Remove smbd_server_conn from process_oplock_async_level2_break_message
commit 1d3aa74e4ce5b7d8fd6a916b2f36b46c6897fd27
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 17:18:26 2010 +0200
s3: Lift smbd_server_conn from initial_break_processing
commit fb2f0c5bdd5bd4cb62072cf2e2b9bc7d73ad6b42
Author: Volker Lendecke <vl at samba.org>
Date: Sun Sep 19 21:09:18 2010 +0200
s3: Add msg_ctx_to_sconn
commit fba8e326f819146d10ca3088083df0cf20b571c1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Oct 3 16:14:34 2010 +0200
s4:patchfile_dotreg.c - use "size_t" when counting characters in DATA_BLOBs
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Oct 3 16:03:41 UTC 2010 on sn-devel-104
commit dcb1a0698acbd89df0f658778ce95825436d3847
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sun Oct 3 20:22:38 2010 +1100
s4-kdc Remove special case kerberos restriction in the KDC
We should avoid using Kerberos or any other recursive auth mechanism
in ldb backends, but denying Kerberos here won't be enough, so
remove the special case. (Typcially we bind using a different password
space and DIGEST-MD5 or NTLM).
Andrew Bartlett
commit a095a08e252588996c499f071aae2abae419a5c7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 19 17:46:48 2010 +0200
s4:deletetest.py - enhance the tests
- Integrate the ldap.py delete protection testing code and enhance it
- Demonstrate the DISALLOW_MOVE_ON_DELETE system flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit b2385e3725e9c41820b315c202a559f875b50743
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 25 11:49:17 2010 +0200
s4:ldap.py - remove the delete tests
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit dda6c354f6f2c1da95cf42cea90f76ce033de38e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 19 22:36:12 2010 +0200
s4:dsdb python stuff - introduce also here the "show_recycled" control
But also here beside "show_deleted" to not loose compatibility with older
provisions.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e3081b92c16198332f5242a0395701ddfa7392e5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 19 22:20:08 2010 +0200
s4:dsdb - substitute the "show_deleted" with the "show_recycled" control
We intend to see always all objects with the "show_deleted" control specified.
To see also recycled objects (beginning with 2008_R2 function level) we need to
use the new "show_recycled" control.
As far as I see this is only internal code and therefore we don't run into
problems if we do substitute it.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 46282da011b411daac052e07a576987d155638b1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 19 22:12:23 2010 +0200
s4:dsdb/common/util.c - introduce "DSDB_SEARCH_SHOW_RECYCLED" flag
This is needed since starting with 2008_R2 function level we get another type
of hidden objects which aren't seen by the "show_deleted" control: recycled
objects.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 779b97325a1a60e6c72a334d0134ea5178942f7d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 25 07:42:14 2010 +0200
s4:subtree_rename LDB module - also already deleted objects have to be renamed
This is needed if the SYSTEM_FLAG_DISALLOW_MOVE_ON_DELETE flag was specified
and the parent is renamed.
To be able to do this we also need to relax the constraint checks (using the
"isDeleted" proof).
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 69b7a87e98d3ecc937595c1a3cbd3c10abb9c652
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 19 18:23:20 2010 +0200
s4:show_deleted LDB module - also support the "show_recycled" control
MS-ADTS 3.1.1.3.4.1 and MS-ADTS 3.1.1.5.5
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e1509ec623480e11760221667c2d8a724e0da05a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Sep 17 12:08:28 2010 +0200
s4:repl_meta_data LDB module - consider the SYSTEM_FLAG_DISALLOW_MOVE_ON_DELETE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 2b4f6528999243476e8fe25461b54a52f4911683
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Sep 24 18:44:50 2010 +0200
s4:subtree_delete LDB module - it is only responsible for non-deleted objects
The deleted objects (tombstones, recycled & deleted objects) are handled by
"repl_meta_data".
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 4768280614b517049ab724026b6867fbee77c6e3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 25 12:02:53 2010 +0200
s4:objectclass LDB module - fix the "crossRef" delete protection
This is what Windows does
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 6c9b25ea5c1d61db2265ba1d8735ffc27a256f6b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Sep 24 14:13:48 2010 +0200
s4:objectclass LDB module - fix the delete behaviour of server containers
A typo prevented the right behaviour.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 4b16cc9eef62171a7df276ec88064084147e2f8f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Oct 3 07:53:45 2010 -0700
autobuild: override the editor when marking the commit
this avoids the problem of a user having an editor set in their global
.gitconfig, and that having higher precedence than the EDITOR
environment variable
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Sun Oct 3 15:22:01 UTC 2010 on sn-devel-104
commit 120f5ee429eabc84a36434854fb0a194cc1312e1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 16:25:34 2010 +0200
wafsamba: Some reformatting.
commit 257e259a26031945243dcd08ba739614ddaf695b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 16:08:13 2010 +0200
heimdal: Move asn1 list to heimdal_build.
commit dd5a91b4372daf3c098348881d04496918ddf097
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 16:04:34 2010 +0200
heimdal: Move SAMBA_ERRTABLE to heimdal_build.
commit 8e5a9e7721a966ce1491f727d25ab3f0b8e8fa58
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 16:01:58 2010 +0200
heimdal: Move autoproto code to heimdal_build.
commit 3c1eca124e791207d3afa9511d9a9201dfd933b7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 15:59:21 2010 +0200
wafsamba: Move heimdal library code to heimdal_build.
commit 958d7a5710e52bbb04d5db79a6b2c0e1dab0e355
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 15:06:51 2010 +0200
land: Inherit EMAIL from the environment.
commit 88d08c172c46fa218eaf9347736e9754be9bce40
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 15:00:33 2010 +0200
pidl: Allow longs for bitmasks.
commit b7acb8ebb637b29648ae5a6e7043cbf9a6c5ee3a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 14:38:12 2010 +0200
pidl: simplify some generated code.
commit 9aa90b6cef5d8a6219ab3a6f6f2de55d52f88f62
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 07:10:58 2010 +0200
heimdal: Convert hx509 to library.
commit beed95e3a2ae4460e80294fc43ef3d916c7f7454
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 06:58:39 2010 +0200
heimdal: convert some subsystems to libraries, consistent with upstream heimdal.
commit e2eae17961ef7fd3457c126bc19b3ef54149be00
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Oct 3 06:36:49 2010 +0200
Make sure REG_SZ is properly written to a .reg file (not as hex(1)), fix trailing comma REG_BINARY.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit a8adadbe5b5118d6768953d35b21475b06474412
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Oct 3 06:19:12 2010 +0200
Fix issues addressed by Jelmer:
* Add a comment about why the reg_strhex_to_data_blob was added
* Fix int which should've been a boolean
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 6e881dd86ac9e99fed2091b8ba3d677200d8fc3b
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Oct 3 06:11:31 2010 +0200
Fix patchfile_dotreg to write proper .reg files: 'hex(1..B):', 'dword:', etc
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 2d4500deea1c0ef9be9906dc7566072877193fc5
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri Sep 3 11:04:17 2010 +0200
Fix registry editor to be compatible with Windows 7.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 90d82870b0fb0bc82b6a5a7f7619c0876db97113
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon Aug 30 15:27:05 2010 +0200
5 uint32_t's should be set, not 5 bytes.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit b3d2345bd1b963f30d08067275b51bd7eaa9e1a9
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon Aug 30 15:05:25 2010 +0200
The root key should be created as a root key, not subkey.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit bc2098c45920087c49770892db1e50c76d71d8a4
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon Aug 30 12:21:29 2010 +0200
Do not include the closing doublequote in .reg files.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit deebc934edb9a0a70e7615b1161d7a60fcb1d78f
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Wed Jul 28 14:46:38 2010 +0200
Fix hex():00,00,00 bugs and strtol dword bugs, these values are explicitly hex.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 1ed896407f8109348de7f138c1f00dddeb19df67
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Tue Jul 27 17:21:48 2010 +0200
Make sure we write the value stored in value, not line (doublequoted).
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit a23aa3f5f150d06c1943e5031a239d58ef7b068c
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Tue Jul 27 11:13:24 2010 +0200
Make sure that regf only writes to disk every five seconds or when flushed or destroyed
Brings speed up on a large .reg import from 17.5s to 0.95s, over 18 times faster
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 927e4db0909b54dd94df51d92266ba8dbe09e214
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon Jul 26 22:10:43 2010 +0200
Fix .reg file format parsing.
* multiline data
* doublequoted value name
* handle windows format CRLF
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 4356f09d7f4f84fc16b03d84a8de359272368574
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon Jul 26 20:16:44 2010 +0200
Fix registry parsing of strings to also support the windows method.
Specifically: dword:00000000, hex:00,00,00,00, hex(0..B):00,00,00,00
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 4a768fbef7a3ed8bbc0219909f036bdeb01bf4c0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 13:21:21 2010 +0200
s3: I thought I had compiled this....
commit 64be07bc70e4d755916304eb5446485801374c12
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Oct 2 13:45:22 2010 +0200
s4:dsdb_dn_val_rmd_flags - memmem - scan the whole string for occourences
Do this as in "dsdb_dn_is_upgraded_link_val". There is really no reason to
truncate before search.
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Sun Oct 3 10:45:39 UTC 2010 on sn-devel-104
commit bb81760e82bee68e0c4d711338170eae3b19a41a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Sep 29 19:50:20 2010 +0200
s4:ldap.py - delete the right object after test completition
commit f9244a15c78d73bbccf2c623799584c1d65d8310
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Sep 29 19:39:17 2010 +0200
s4:ldap.py - fix "system only" test
A part was missing
commit 14c660da323c8596ae4babc7f94d51bd793c1b71
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Sep 27 07:46:11 2010 +0200
s4:acl_read LDB module - fix counter type
commit 55e3720470146d5f55a0776be9888781c06f5b5d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Sep 30 08:47:24 2010 +0200
s4:getncchanges.c - fix some counter types
commit a01467913a22bc23c44cdc8b2b0fcfee296e29ea
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Sep 27 07:42:29 2010 +0200
s4:schema_samba4.ldif - update allocated controls list
This needs always to be done after a control allocation otherwise we end up in
double-allocations and unexpected behaviour.
commit 01c3cb260c49ab6741dc694e2f193edc50cbb31c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Sep 28 12:33:40 2010 +0200
s4:libcli/resolve/dns_ex.c - fix "const" warning
commit 48dccbf2b52163643b5bbc0d73b65e12b8c92c12
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 11:56:35 2010 +0200
s3: Move #define VALGRIND to config.h
This fixes the valgrind overrun in the tdb jenkins hash
commit d05ae9451aacd36d9c7ce7c313f95137aa5e8941
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Oct 2 02:13:36 2010 +0200
s4:rpc_server/echo: fix compiler warning
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Sun Oct 3 09:41:51 UTC 2010 on sn-devel-104
commit ff48f7c00ce39057df48575fe0ceb28250069f67
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 10:54:06 2010 +0200
s3: Attempt to fix the IRIX build
commit 97b76364e7c8103ee6dd6e41d85d3932e46eafdc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 10:46:22 2010 +0200
s3: Attempt to fix a ton of warnings on the build farm
commit c87d4e5ddbbafea6f0d2dd5062041d41e80db877
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 2 23:49:06 2010 +0200
s3: Remove talloc_autofree_context() from dmapi.c
This is a place where an explicit dmapi_destroy_session would be needed. But we
don't use a destructor for this.
commit 414cd919ffa2bdc842fc66ee2dc286448a92fc7d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 2 23:44:58 2010 +0200
s3: Remove talloc_autofree_context() from unexpected.c
Same argument as in 997a64f6fb11e19d78c: If tdb_close() was needed at exit
time, we'd have more severe problems by now.
commit da0ef65e04f3e4983f51bc6fb3c9297934da4447
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 2 23:40:48 2010 +0200
s3: Remove talloc_autofree_context() from srv_samr_nt.c
The dispinfo structs need to survive within a process across pipe opens,
but they don't have a special destructor
commit 41b54a893116d04fcfb3b7f8d114917bd0f1a437
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 2 23:38:33 2010 +0200
s3: Remove talloc_autofree_context from pdb_interface
None of the pdb backends have special destructors that need to be run at
program exit.
commit 32ec1b36e0ba201344097bcfc1c85c6bc316bab3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 2 14:56:28 2010 -0700
s4-kcc: silence "Testing kcctpl_create_intersite_connections" message
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sun Oct 3 04:51:44 UTC 2010 on sn-devel-104
commit dfb664a1822f41cbd4f1f5a8ce6fcac4e1547bf6
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 2 14:23:43 2010 -0700
s4-selftest: support 'make testenv SCREEN=1'
this can be used to start a test envioronment in screen windows.
Use:
make testenv SCREEN=1 SELFTEST_TESTENV=dc
to launch just one environment (in this case, "dc")
commit 29e1a847ddb28aee8ae04578b74cb8ab97427b96
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 2 14:21:52 2010 -0700
s4-selftest: silence warnings about bind chown
commit 3bb59255bb5d0275242cc7c81b3935612b729354
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 2 14:21:11 2010 -0700
s4-test: silence a tap2subunit error
commit 762ad1c4baf04aa2e5dcdbcf6242b3e34d92cd4e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 2 13:08:37 2010 -0700
s4-test: silence the Failed to chown message in make test
commit e36f20d39dae2f20ebfcf8be156963e10e150066
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 2 13:03:40 2010 -0700
s4-ldif: get rid of the ndr_pull_error message on startup
detect if the prefixmap blob is text or binary using the first 4 bytes
commit 87f0145d078d1598c9889e2cc2942e654794ae4a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 2 12:44:28 2010 -0700
s4-server: exit with status 127 on SIGTERM
this ensures that make test detects a failure if samba is killed by
SIGTERM
commit b772871f4c85fe15b62cfca5c3a6d1f1a66540d6
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 2 12:43:50 2010 -0700
s4-selftest: added --screen option for test
you can now do:
make test TESTS="some test" SCREEN=1
while in GNU screen, and all the samba servers will launch in their
own new screen, named after the server name.
You can also do:
make test TESTS="some test" SCREEN=1 VALGRIND_SERVER=1
to run valgrind on each samba server, or
make test TESTS="some test" SCREEN=1 GDBTEST=1
to run gdb on each server
commit 507c413e488dfe374870bae3af0d89c3b015add2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Oct 2 12:42:00 2010 -0700
s4-selftest: fixed up exit codes on signals for make test
also set $ENVNAME in launched servers
commit 60e25ab06bfe4aefcb06c1376074d717460d67af
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 04:24:46 2010 +0200
land: Force always emailing when there is no other mechanism of progress reporting.
commit 0bb970dd8126f939f8612ba05553a5715789facd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 03:56:09 2010 +0200
land: Attach tarball of logs rather than individual logs to keep the
mail size reasonable.
commit 997165b23e98c3709c0e7d7eeecec8a96c8d0265
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 02:16:11 2010 +0200
land: Some cosmetic fixes.
commit 288b217a8f6f26b9e22abc71c8e05d6368eaaf3f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 01:31:11 2010 +0200
land: Attach test output files to result emails.
commit f6b254c65d5e0cf33c56c666fb6bde1058288edf
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 00:50:53 2010 +0200
land: Add --revision argument.
commit d8e81a19de99c6784267d45843b8295b4e40fc7c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 00:10:47 2010 +0200
land-remote: Run remote land command unbuffered.
commit 0e11d18d1462a10f63ff82a11cdd88ffa53c83e5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Oct 2 16:55:06 2010 +1000
s4-kdc Fix up after import of new lorikeet-heimdal
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Sun Oct 3 01:56:04 UTC 2010 on sn-devel-104
commit f213a97ea07f4a3e4322d1c1ebd55f4ab1fb384a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Oct 2 16:52:52 2010 +1000
Add new files for sha512 support
commit 21460dfc14acdeef69b6cd910da80f261316be63
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Oct 2 16:32:56 2010 +1000
s4:heimdal: import lorikeet-heimdal-201010022046 (commit 1bea031b9404b14114b0272ecbe56e60c567af5c)
commit a2c4f54dfb47fa73c12ba305d52574aeb6baedd9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 25 14:34:46 2010 +1000
s4-heimdal We don't need HDBDIR any more
commit f02d82595f22ad2cf99f2191827011611f7f01fe
Author: Matthieu Patou <mat at matws.net>
Date: Fri Aug 20 12:01:46 2010 +0400
heimdal: change the version string
commit 3ca886b83510c52d665dadb480b314c330029a0e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 25 14:58:09 2010 +1000
s4-heimdal_build fix up build after heimdal import
Heimdal has it's own dynconfig like system, and so we need the
LIBDIR etc in the CFLAGS here.
We also need to define build rules for the new files imported in
the merge commit, and fix up some header files.
This includes the work by Matthieu Patou <mat at matws.net>
Andrew Bartlett
commit ab6e3fce040f9ad27cbce44e9038a24f15b601c8
Author: Matthieu Patou <mat at matws.net>
Date: Sun Aug 15 18:31:28 2010 +0400
s4:heimdal: import lorikeet-heimdal-201009250123 (commit 42cabfb5b683dbcb97d583c397b897507689e382)
I based this on Matthieu's import of lorikeet-heimdal, and then
updated it to this commit.
Andrew Bartlett
commit 197a1514d62494cc8b862d169c841a26e04b8925
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Oct 1 03:30:50 2010 +0300
s4-ldapcmp.py: Don't guess credentials for second Credentials object
This allow us to fallback to first credentials given.
Autobuild-User: Kamen Mazdrashki <kamenim at samba.org>
Autobuild-Date: Sat Oct 2 23:05:20 UTC 2010 on sn-devel-104
commit da0f3bd2291e561fd8b6f0fafd4bf6cb52dad722
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Oct 1 03:29:33 2010 +0300
s4-getopt.py: Make Anonymous creds when no credentials
are supplied on command line and caller doesn't want us
to guess credentials from environment
commit d385d9a3178c6cc705f7cccf6688ba9b60571e96
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Sep 30 21:42:17 2010 +0300
s4-test-fsmo.py: Implement kind of busy-wait for role transfer
This allows us not to hard code timeout we are going to wait for
before failing the test - if DCs are not very busy, we won't wait
at all (speeds up 'make test' by a minute also)
Maximum timeout to wait for is set to 20 secs currently,
which should be enough even for slow machines and tested
DCs being under load
commit 657d4d88124f3a6b48e543abadd37948c426dca9
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 29 15:56:23 2010 +0300
s4-test-dsdb_schema_info.py: Get rid of global module variables
commit 83a15155ebb3399117ce0da7d4e0faa1b72199f9
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 29 15:51:11 2010 +0300
s4-test-dsdb_schema_info.py: Simplify connection SamDB
by using samba.tests.connect_samdb() helper
commit 2a23f0d524298c2cc78f36a2f5b45560ec36747f
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 29 16:00:43 2010 +0300
s4-test-fsmo.py: Use common implementation for env_get_var_value()
commit c05180caa78eac0beb26c6791afd8642a97853e6
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 29 16:00:04 2010 +0300
s4-test-delete_object.py: Use common implementation for env_get_var_value()
commit 302e1d29d82570ec32fd066bb9038649a67d148b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 29 14:53:12 2010 +0300
s4-python-test: Common implementation for getting environment variable value
Unit-test based python tests require certain input parameters
to be set in environment, otherwise they can't be run
commit 6546127b6420361469112325d3ec2e2d19ed864c
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 29 04:31:02 2010 +0300
s4-python-samba: Remove trailing ';'s
commit 6bc7c015fb510756dce4ada4831ca094a5d07a61
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 29 03:02:11 2010 +0300
s4-test-fsmo.py: Use common implementation for connect_samdb()
Connections are restricted to LDAP only (remote),
as this test can't be run against local LDBs
commit 98e4d2702aa98d0cf89d3240276f2b5d6e841d45
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 29 03:00:18 2010 +0300
s4-test-delete_object.py: Use common implementation for connect_samdb()
Connections are restricted to LDAP only (remote),
as this test can't be run against local LDBs
commit 7acbb7346fdf96f25b3c465dd070b86694beb12b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 29 02:58:23 2010 +0300
s4-python-test: Implement global connect_samdb() function
This helper makes proper ldb url to connect to
and is a shorthand for test to create SamDB connections
commit 46ac1c3b478d087723962b6a6b6febf38620bcc9
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 29 01:55:22 2010 +0300
s4-samba.samdb: Fix masking names from outer context
- 'filter' is built-in
- 'ldb' is a module name we imported
commit 0cb476fb26f450950c73c5df5223edc736ceb651
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 29 01:53:22 2010 +0300
s4-python-samba: 'file' is a built-in
commit edfb8c64f60bb56d0dc9124f2aebd21ed9d1188a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 29 01:35:51 2010 +0300
s4-samba.samdb: Fix leading indention and trailing ';'
commit e9620c5fd211c854ed3f05f8821079efa729bc33
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 29 01:09:09 2010 +0300
s4-python-samba: Fix few cosmetics
- we have sys module already imported
- _glue module is part of samba package so be more precise how to import
commit 24f1893b5dbf78fcd2ce839e091c91426ca9252b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 3 00:15:39 2010 +0200
s3: Attempt to fix the non-ads build
commit b9bef1fd3ff5952eec0f123e4cdd290cd41dca67
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Oct 3 00:04:59 2010 +0200
land-remote: Pass extra arguments on to land.
commit 22f633d09478fae37c1b77fb54b267d57a21a6d8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 2 23:40:19 2010 +0200
pytdb: Include Python.h first to prevent warning.
commit 5cdef708230bfca19d552ffe5476fe9fcdf850c6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 2 23:32:12 2010 +0200
subunithelper: Remove accidentally added line.
commit ab37c48e57a16f69c6b926dbed6d4c1a50bb3fb9
Author: Kirill Smelkov <kirr at landau.phys.spbu.ru>
Date: Sat Oct 2 17:43:50 2010 +0400
pytdb: Check errors after PyObject_New() calls
The call could fail with e.g. MemoryError, and we'll dereference NULL
pointer without checking.
Signed-off-by: Kirill Smelkov <kirr at landau.phys.spbu.ru>
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit bdd6bef5dd839ca6fb2d610b84098d2026bb6db1
Author: Kirill Smelkov <kirr at mns.spb.ru>
Date: Sat Oct 2 17:43:46 2010 +0400
pytdb: Add support for tdb_repack()
Cc: 597386 at bugs.debian.org
Signed-off-by: Kirill Smelkov <kirr at landau.phys.spbu.ru>
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit a29142855e3f47a86a07c520a92f73c14e2488d7
Author: Kirill Smelkov <kirr at mns.spb.ru>
Date: Sat Oct 2 17:43:40 2010 +0400
pytdb: Add TDB_INCOMPATIBLE_HASH open flag
In 2dcf76 Rusty added TDB_INCOMPATIBLE_HASH open flag which selects
Jenkins lookup3 hash for new databases.
Expose this flag to python users too.
Cc: Rusty Russell <rusty at rustcorp.com.au>
Signed-off-by: Kirill Smelkov <kirr at mns.spb.ru>
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 14efa955934b1731df9bfa6cd089ae6e78a4f1d1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 2 22:31:31 2010 +0200
subunithelper: Fix format time.
commit 20c65121a7debe0ec2b7a316b6d36f97edf0264b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 2 20:32:16 2010 +0200
land: Implement --fail-immediately directly in Python, provide subunit file.
commit 72119de02b61f567781ecaab7cfe5f48ac15113a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 2 18:41:14 2010 +0200
subunithelper: Make filter options optional.
commit d7edb40fca382ec822a7b17e4b47ecabb43e99d6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 2 18:40:44 2010 +0200
format-subunit: Split out summary file writing.
commit 4ece674a99ff6c2ca0b6af435d2fcd488fb67d09
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 2 17:02:02 2010 +0200
selftest: Move plain text formatter to subunithelper.
commit 8354518c9630269dd0fe3953e9c49a43b9119e6b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 2 13:26:36 2010 +0200
land: Add separate treestagebuilder for subunit.
commit b965a65e03817a4481306c6332fc88548ad9dea4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 2 13:17:25 2010 +0200
land: Cherry-pick tridges changes to autobuild.
commit 4190bd4e3463091d239acb521f7ba1cad04e8af7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 2 13:13:37 2010 +0200
land: Move stage building into a separate class so we can have subclasses (e.g. subunit-specific).
commit 554289c261995e67e168a388f49d0861d75ce1a4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Oct 2 02:59:21 2010 +0200
land: Only pass shell=True if necessary.
commit d03ff1c9daf71fc1a9ddffde63744d809f4705f5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 22:10:13 2010 +0200
land: Add --fail-slowly option.
commit 916904443d6df7f9bd7502f31f1f7734e845a48a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 21:55:10 2010 +0200
Several smaller cleanups, use python coding style.
commit 7f0167770c1be1b0cb7a2ab8c657feac86c9b74d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 21:43:20 2010 +0200
land: Avoid running things in a shell where not necessary.
commit 56ad550a92c9c0c65da52861e43ed7595131d0ef
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 19:24:20 2010 +0200
land-remote: Checkout repository first.
commit ff5fdb65f54f2e2efd865112f579989e96d848cf
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 21:35:35 2010 +0200
land-remote: Use --repository option.
commit 8ce24a9187f7f93cb3557696034c94fc8be161f1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 21:34:31 2010 +0200
land: Add --repository option.
commit 3c85d031d37eb55c32dd3f9f600795ea51a4b935
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 19:03:18 2010 +0200
land: Move more functionality onto builder.
commit 74be4a2abfb0be83bacce04dcc531968dc31c4b9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 18:52:10 2010 +0200
land: Avoid more uses of chdir().
commit 6f6bfb3f2039ce6ba3bd4c1ee1440becc2c6e104
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 21:28:32 2010 +0200
Split land.py back out of autobuild.py, so I can change it without
risking to break the autobuild system.
commit 14fd84d0226f6eb732138f574f97d53e28ae2958
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 2 11:50:26 2010 +0200
s3: Attempt to fix bug 7665
Quite a few of our internal routines put stuff on talloc_tos() these days.
In top-level netapi routines, properly allocate a stackframe and clean it
again. Also, don't leak memory in the rpccli_ callers onto the libnetapi
context.
commit 13756d0e803c228f7ff75ba996acd6afd1df0dcb
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 2 11:50:26 2010 +0200
s3: Attempt to fix bug 7665
Quite a few of our internal routines put stuff on talloc_tos() these days.
In top-level netapi routines, properly allocate a stackframe and clean it
again. Also, don't leak memory in the rpccli_ callers onto the libnetapi
context.
commit fc6e910e69f49cd482966eb9af3f27c0b65bcf4b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 2 11:13:34 2010 +0200
s3: Fix a 64-bit BUG
Quick explanation why this is a problem:
It is not safe to pass a pointer to a uint32_t into a routine that expects
a size_t *. The routine that this pointer is passed to has no chance to find
out that in reality it was passed a pointer to a uint32_t. On platforms where
sizeof(size_t)==8, we get a nice overwrite of a stack area that should not
be overwritten.
As this happens over an over again: Does someone know a means to make gcc
stop with an error in this case?
Volker
commit ed5e05a15d3a8bea3a4f428d1664c9c5077866c2
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 22:07:04 2010 -0700
bisect: more bisection options
and fixes for the old ones
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sat Oct 2 06:14:46 UTC 2010 on sn-devel-104
commit 018d23a2939b6dda41103764d6008b9809b7e192
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 21:10:39 2010 -0700
script: added bisect-test.py git bisect script
this can be used to work out what commit broke a set of tests
commit 06b27e5e3dd35a8a9b7c76c20844a7ad064e1541
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 19:53:34 2010 -0700
autobuild: show top commit in emails
commit f9bc389f60b5bfb6f767299315568ffedd02d993
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 19:53:13 2010 -0700
autobuild: include autobuild.log in logs.tar.gz
commit eadd28233d8df31cddc5c8dd888b768f3ac19730
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 19:07:01 2010 -0700
s4-repl: use the GC principal name for DRS replication connection
this is required when talking to RODCs (for notify calls), and is good
practice for all DCs
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 9bae4cd3d967f43c32796d03b1c2ee8ae5119e00
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 19:05:30 2010 -0700
s4-rpc: added target_principal binding handle option
this allows you to specify a target SPN for a connection
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ee15dc96926f505ba7f01ccfcfc2959b507f2b96
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 19:04:44 2010 -0700
s4-dsdb: added dsdb_search_by_dn_guid()
this is more efficient than first searching for the DN, then doing a
search. We should look at using this in lots of existing code
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 76232a40d844dc37720e07ee0f2131526a1a6942
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Oct 1 09:53:05 2010 +0200
s4:rpc_server/netlogon: don't use dcerpc_binding_handle_call_send/recv() directly
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Sat Oct 2 03:11:38 UTC 2010 on sn-devel-104
commit 47b3d88a7da37c45d9d0d0be5f164fa0a8c56328
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Sep 30 00:26:33 2010 +0200
netlogon.idl: add missing flags to DSGETDC_VALID_FLAGS
metze
commit 0ea38779353a964c01a6cdb71d1b627539159d5d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Oct 2 10:58:46 2010 +1000
s4-gensec Always honour the set server principal
The spengo code won't set this unless it is allowed to by this
same option, but other callers may need it.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Sat Oct 2 02:27:39 UTC 2010 on sn-devel-104
commit 23a8fad22bbcd41ee2583d96831295887fe48edc
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 16:19:28 2010 -0700
s4-drs: fixed comparison login in replicated renames
we need to ensure we only ever compare USNs from the same originating
invocation ID.
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sat Oct 2 01:45:19 UTC 2010 on sn-devel-104
commit 6e846ca1f3bd812bdba22101d8326987a0013858
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 14:20:57 2010 -0700
s4-kcc: remove stale repsTo entries in the KCC
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit faa993d95c0cdd29b52d64000e0f0c0585ff01af
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 17:58:47 2010 -0700
autobuild: fixed tuple count for retry
commit 87698dc2a1adb52c381b35f5cc80437f91e75798
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Oct 2 07:12:48 2010 +1000
s4-kerberos Don't regenerate key values for each alias in keytab
Instead, store the same key value under the multiple alias names.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Sat Oct 2 00:16:52 UTC 2010 on sn-devel-104
commit 7b9a6645b11dff64e04c2ddb0cabc9145c0f029f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Oct 2 05:25:26 2010 +1000
s4-kdc Rework 'allowed encryption types' handling in the KDC
All DCs and all krbtgt servers are forced to use AES, regardless
of the msDS-SecondaryKrbTgtNumber value.
Andrew Bartlett
commit a82e3abc707ecaf68ee26828f11987d621ec1bb5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Oct 2 05:09:42 2010 +1000
s4-auth Add make_server_info_pac() to include 'resource domain' groups
Previously, our PAC code didn't include these groups into the
server_info from which we would eventually calculate the full
list of tokenGroups.
Andrew Bartlett
commit 6488d5bc0b585d91b185ae37315293123c4b1001
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Oct 2 04:52:50 2010 +1000
s4-auth Allocate domain SIDs under the sids array, not server_info
Andrew Bartlett
commit a68f4476f780df4a87a99371b49c5e38b0fcb4d7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 1 13:58:36 2010 +1000
heimdal use returned server entry from HDB to compare realms
Some hdb modules (samba4) may change the case of the realm in
a returned result. Use that to determine if it matches the krbtgt
realm also returned from the DB (the DB will return it in the 'right' case)
Andrew Bartlett
commit d17a6f049386ebb8c1418837802dac069d7866e4
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 1 22:52:33 2010 +0200
s3-spoolss: Strip off ", DrvConvert" and ",LocalOnly" in OpenPrinterEx as seen from Win7 clients.
These suffixes and their meaning are not documented (yet).
Guenther
commit 455bbd5e1e21e3d295b84ee6895097ff420c3d20
Author: Andreas Schneider <asn at samba.org>
Date: Fri Oct 1 21:18:13 2010 +0200
s3-spoolss: Fixed print job access.
commit b3fd5e11e5c380e040d3fd208a1c904404b82c43
Author: Andreas Schneider <asn at samba.org>
Date: Fri Oct 1 21:03:15 2010 +0200
s3-spoolss: Fixed print_access_check server_info.
commit 469de193d5b0c2aa5d94eaee3b8abc8ef696b51e
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Mon Sep 13 19:15:23 2010 -0700
s3:events: Call all ready fd event handlers on each iteration of the main loop
Previously, only one fd handler was being called per main message loop
in all smbd child processes.
In the case where multiple fds are available for reading the fd
corresponding to the event closest to the beginning of the event list
would be run. Obviously this is arbitrary and could cause unfairness.
Usually, the first event fd is the network socket, meaning heavy load
of client requests can starve out other fd events such as oplock
or notify upcalls from the kernel.
In this patch, I have changed the behavior of run_events() to unset
any fd that it has already called a handler function, as well
as decrement the number of fds that were returned from select().
This allows the caller of run_events() to iterate it, until all
available fds have been handled.
I then changed the main loop in smbd child processes to iterate
run_events(). This way, all available fds are handled on each wake
of select, while still checking for timed or signalled events between
each handler function call. I also added an explicit check for
EINTR from select(), which previously was masked by the fact that
run_events() would handle any signal event before the return code
was checked.
This required a signature change to run_events() but all other callers
should have no change in their behavior. I also fixed a bug in
run_events() where it could be called with a selrtn value of -1,
doing unecessary looping through the fd_event list when no fds were
available.
Also, remove the temporary echo handler hack, as all fds should be
treated fairly now.
commit c1cde72155772326e9069ef9260b97ffcb243a02
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Fri Oct 1 12:01:16 2010 -0700
s3:smbd: Increase unsupported IOCTL debug message to 2
Even printing once per connection, level 0 was too spammy with
Windows clients frequently sending FSCTL_GET_OBJECT_ID which
is unsupported.
(cherry picked from commit 100843ac239688a3c328f834b7a9f90478e2e8f9)
commit 100843ac239688a3c328f834b7a9f90478e2e8f9
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Fri Oct 1 12:01:16 2010 -0700
s3:smbd: Increase unsupported IOCTL debug message to 2
Even printing once per connection, level 0 was too spammy with
Windows clients frequently sending FSCTL_GET_OBJECT_ID which
is unsupported.
commit 455fccf86b6544cd17a2571c63a88f8aebff3f74
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Mon Sep 13 19:15:23 2010 -0700
s3:events: Call all ready fd event handlers on each iteration of the main loop
Previously, only one fd handler was being called per main message loop
in all smbd child processes.
In the case where multiple fds are available for reading the fd
corresponding to the event closest to the beginning of the event list
would be run. Obviously this is arbitrary and could cause unfairness.
Usually, the first event fd is the network socket, meaning heavy load
of client requests can starve out other fd events such as oplock
or notify upcalls from the kernel.
In this patch, I have changed the behavior of run_events() to unset
any fd that it has already called a handler function, as well
as decrement the number of fds that were returned from select().
This allows the caller of run_events() to iterate it, until all
available fds have been handled.
I then changed the main loop in smbd child processes to iterate
run_events(). This way, all available fds are handled on each wake
of select, while still checking for timed or signalled events between
each handler function call. I also added an explicit check for
EINTR from select(), which previously was masked by the fact that
run_events() would handle any signal event before the return code
was checked.
This required a signature change to run_events() but all other callers
should have no change in their behavior. I also fixed a bug in
run_events() where it could be called with a selrtn value of -1,
doing unecessary looping through the fd_event list when no fds were
available.
Also, remove the temporary echo handler hack, as all fds should be
treated fairly now.
commit 229f5443b75d8de2b816c1ddc40d51a0a858e907
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 1 20:37:45 2010 +0200
testprogs: print architecture used in win32 spoolss testsuite.
Guenther
commit a88a7c76de759aaad14c00263df1daeb49ee8533
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 1 19:48:11 2010 +0200
s3-dcerpc: no point for printing NDR twice for internal pipes in log level 10.
Guenther
commit 0ff7e0c998bb4fbc67925be762b528ae6585c4f3
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 1 10:34:14 2010 +0200
samba: share readline wrappers among all buildsystems.
Guenther
commit 405b7d843f9103a29e923892337472e0fd891037
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 1 10:33:32 2010 +0200
s3-readline: move cmd_history to smbclient, the only user.
Guenther
commit b38d0542e193512796d5d9502ac8d688a1036157
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 1 10:08:15 2010 +0200
samba: share select wrappers.
Guenther
commit 0adc1645e23fedf52b10ed545eb9935df9ad7b6f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 13:07:42 2010 -0700
s4-auth: fixed a vagrind error when creating keytabs
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0111e80ea9f7a4d833771f349e5ce05025f7276c
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 13:07:04 2010 -0700
autobuild: revert a bit more of the subunit changes
still not quite right - we can enable this again once its fully tested
commit b75c1f57c2a59bffbe4bef7ef7207758466be7bb
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 11:31:28 2010 -0700
autobuild: disable the subuit changes for now - they break error checking
commit afe78c23ad4868b1c67a3aa855ad7f59d8475412
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 11:17:04 2010 -0700
autobuild: fixed the tuples in the retry_task
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Fri Oct 1 18:22:22 UTC 2010 on sn-devel-104
commit 2d66bb51caf02c979f53688257dd33d7366b3ebc
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 11:12:24 2010 -0700
autobuild: cwd is needed on all command types
commit f6bc4c08b19f5615a49d281c0792c7fe4627e9bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 10:26:49 2010 -0700
s4-rpmd: fixed a use after realloc bug
we could use old_el after the base message had been re allocated, due
to adding timestamps. We need to re-find the element before using it
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 4beff4d7ba6709009ad81e3becb691b9d81e5611
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 1 10:24:46 2010 -0700
s4-dsdb: fail the transaction instead of asserting on error
It is more useful to fail the transaction and give the user an error
message than to assert when we have an error in the repl_meta_data
module
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 9cdebd0ebcbf9b890679fa77ce6d8e0127fce28e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 17:45:47 2010 +0200
autobuild: Avoid unnecessary chdir() calls.
commit c4ab2b38af122c7e9173bd5af10f1f9584aa1310
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 14:25:55 2010 +0200
autobuild: Output test results in subunit.
commit 21475df35d7f28ab031c6b541e6002c27db07651
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 13:39:28 2010 +0200
s3-selftest: fix prefix in subunit output.
commit f70a98605eb620882073483fedf25d6aa4aca74e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 13:30:01 2010 +0200
s3: Add subunit-test target.
commit 9af570a2ef2313c309904ad291a8a0858d61eb68
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 13:17:58 2010 +0200
s3-configure: Require at least version 1.2.6 of external TDB, which has
TDB_INCOMPATIBLE_HASH.
commit e5dfc64e9c7ef38f77fed1ffc41aad6cf1876766
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 12:59:40 2010 +0200
s4: Add 'subunit-test' make target.
commit 3dfbf3ce036987b14bbbeab3c35b58960a4fa75f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 12:19:56 2010 +0200
autobuild: Provide more information about build sequence, stage name and output mime type (all plain text for now).
commit 7210c95e600a27bbf8a31b50d45214dc372a1ecc
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 11:28:48 2010 +0200
autobuild: Add --always-email option.
commit 0866e2dad23e86cb423665268bbd6235b2188869
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 04:42:59 2010 +0200
autobuild-remote: Support autobuild.py rather than land.py.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Fri Oct 1 09:46:37 UTC 2010 on sn-devel-104
commit 1adece8c8d1b336941877e92fab76458204f26b3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 04:11:21 2010 +0200
Remove land.py - it's been obsoleted by autobuild.py.
commit ebf01a4f89dcaf4f91c410eaf09d07ee5b081ff0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 02:53:38 2010 +0200
autobuild: Add --daemon option.
commit 072e3101045ccba1311a7dd3427319f1f1a92f3f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 29 00:52:36 2010 +0000
autobuild: Remove autogen step for projects that have checked in configure.
commit 28a3d2ea3003d2fcabdfff209db945ad9ec86f87
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 29 02:38:18 2010 +0200
autobuild: Simplify find_git_root.
commit b77bcea3525df6360a3a409b3145037e269975aa
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 29 02:29:02 2010 +0200
pidl: Fix handling of typedefs of typedefs.
commit 3975203a0242a01fe6d3737f8f04ec80e90cb831
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 1 06:42:58 2010 +0200
s3-spoolss: fix do_drv_upgrade_printer() which must have been broken since the
days we moved away from fstrings.
Guenther
commit fa3264f89b1de8c7a284b8bc4469a80db7c6084f
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 1 06:08:47 2010 +0200
s3-net: better handle obscure 0x80070002 error reply when trying to update an
not yet published printer.
Guenther
commit 21576e3f8c32878910460bf9575c200ad93d682a
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 1 06:08:12 2010 +0200
s3-net: make sure we dont crash when publishing a single printer.
Guenther
commit 5cb5e0aa9881758ec9f5af7da4fbc002ba91f49b
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 1 06:07:25 2010 +0200
s3-spoolss: make sure we dont crash on NULL setprinter level2 elements as seen from win7.
Guenther
commit 48fca54a29375dfad84a9863c70fed8b88d70221
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 1 06:05:38 2010 +0200
s3-spoolss: dont overwrite location change notify.
Guenther
commit 62d87f8f88306cf71686f55a6839bec337c96d1d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 30 20:56:20 2010 -0700
s3-selftest: added samba3.posix_s3.rpc.spoolss.printer to knownfail
this fails intermittently on sn-devel. Guenther suggested adding it to
knownfail
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Fri Oct 1 04:37:36 UTC 2010 on sn-devel-104
commit 4c57095bb76aee5922502d1dff307c6dd869f007
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Sep 30 20:13:34 2010 -0700
heimdal: added verbose logging of hemimdal crypto errors
commit 23b4126f10f3927a8d70517e04872aa4ebf1b502
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 30 19:41:50 2010 -0700
autobuild: fixed the --tail option for new log locations
commit c03d02d28e7d9e908fa0553006282184487d2c8c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 30 15:24:58 2010 -0700
s4-rodc: don't set SPECIAL_SECRET_PROCESSING on EXOP_REPL_SECRET
otherwise we don't get the secrets!
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 694f2876c9da51dc16a00d45de92edf8884dfbed
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 30 15:02:50 2010 -0700
s4-spn: don't try and send an empty SPN list
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit fbee3586fdd6f04db6321646df54c147c843a5e3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 01:31:06 2010 +0000
selftest: Let selftest provide the tempdir, rather than creating it as sideeffect of tests.py.
commit dc65824065fea3e6ca9ddedd4b118d26d338ee6e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 30 17:24:50 2010 -0700
selftest: fixed a selftest error on sn
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit 9917d37c3ccebbb8d9ff44b70702394805f2c5e7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 01:41:58 2010 +0200
delete_object: Remove unnecessary pass calls.
commit b7c7c4bae0591630a9de9caf84ef05c0ecf07ada
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Oct 1 01:05:12 2010 +0200
s4-selftest: Remove unnecessary PYTHONPATH overrides.
commit 8309e3f6050b7a438ba880c9b4ab6653488f1134
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 30 18:29:58 2010 +0200
s4-selftest: Normalize paths.
commit 1611499ec6480b073c4025f2bc78e430a6f2308e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 30 18:23:20 2010 +0200
s4-selftest: Finish conversion of selftest.sh to Python.
commit aca56372c7f12619db204477adbad6f9dda860de
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 30 14:55:04 2010 +0200
s4-selftest: Convert tests.sh to Python.
commit e1fce06c233afd77d1c32498e1c0cdab3011ccdf
Author: Jeremy Allison <jra at samba.org>
Date: Mon Sep 27 05:46:07 2010 -0700
Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on all
TDB_CLEAR_IF_FIRST tdb's. For tdb's like gencache where we open
without CLEAR_IF_FIRST and then with CLEAR_IF_FIRST if corrupt
this is still safe to use as if opening an existing tdb the new
hash will be ignored - it's only used on creating a new tdb not
opening an old one.
Jeremy.
commit 6a029cd9ca662863724920030bb3a325cee28691
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 30 14:42:02 2010 -0700
autobuild: push of ref/notes/commits isn't allowed in master
metze may enable this later
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Thu Sep 30 22:25:02 UTC 2010 on sn-devel-104
commit 176ecce9a661c9145620c3f7af9d13025ed0616c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 30 12:45:00 2010 -0700
s4-provision: wipe the old keytabs when provisioning
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 67a04613e9106f9ab6c014c57a971d75854908f7
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 30 12:44:39 2010 -0700
s4-rodc: fixed the keyVersionNumber on the RODC account in secrets.keytab
we need to fetch the msDS-keyVersionNumber from the writeable DC
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 75a542a1d93f6f015d866a01d25d5978e9b32583
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 30 12:43:45 2010 -0700
s4-drs: put the GCSPN flag into the repsTo if requested
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 87f67d336919172845f53067c67d1eab8e7ef18a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 30 12:43:14 2010 -0700
s4-libnet: wipe the old keytab when exporting
this prevents confusion with old keytab entries
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 57f67701a694b03f7c227c0f58729bf6d3733bbc
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 30 12:42:35 2010 -0700
s4-dsdb: silence the domainFunctionality not setup warning
commit 2c029eab80639452cab578db7a184d3958ed8125
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 30 02:28:41 2010 +0200
s3-spoolss: make sure to exit early and with the appropriate error code in
_spoolss_GetPrinterDriver2.
Guenther
(cherry picked from commit c82d6c0b96817129ab6fa23ef8f5d421fd6c7001)
commit 742fe0ae92562740d088759694c347942dc6fe2e
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 30 02:05:36 2010 +0200
spoolss: use the correct flags for spoolss_PrinterInfo1 struct.
Guenther
(cherry picked from commit 575ae3ed728974236512b029f8217d99c6fc8526)
commit 1dcc97d3cad95f58c9458ffaa2d46438711944aa
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 05:39:42 2010 +0200
s3-printing: remove unused old structs.
Guenther
(cherry picked from commit 314d738f907958a86e2638689f5c45f3b931047e)
commit 84e6075f97c21f9561850eb37b1c863dedf6f69d
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 01:10:57 2010 +0200
samr: add three new ACB flags to IDL.
Guenther
(cherry picked from commit 48adfb264f0a8772ac04fc51af1c39460c011acb)
commit f3f9dfef45917bd6df39d58475c3a28a59a75640
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 00:10:54 2010 +0200
s3-spoolss: Fix _spoolss_EnumPrintProcDataTypes error handling
(cherry picked from commit 77d4c280323ffc9f5f5f17023c90d0a904e14126)
commit 02b14b60e8842e00c9ed79fb9cb4055e95ecd6d8
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 00:10:17 2010 +0200
s3-spoolss: Fix _spoolss_EnumPrintProcessors error handling
(cherry picked from commit 2921888a0808efbe765e3f52a83a91c2e03a44a6)
commit e90b9640bd279a2030e4e3cbac8eabd979fce14c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 30 10:41:36 2010 -0700
autobuild: added much better email reporting
logs are now accessible via http://git.samba.org
commit 12f6df2b4a7e6a977b4dbcbf5be1847d47226491
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 29 04:49:57 2010 +0200
s4-smbtorture: add new EnumPrinters test to test printername/servername
behaviour in EnumPrinter and GetPrinter calls.
Guenther
(cherry picked from commit 156ab4ec104adf20257b2ef1e361382eac457ee3)
commit 574d9431c777fe2bc936119fbfb115f980230790
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 00:10:31 2010 +0200
s4-smbtorture: rework spoolss_EnumPrintProcDataTypes test.
Guenther
(cherry picked from commit 93d7230d25427af2955a9209335f657b8a901860)
commit 5bed864bf2ae3fbf6c9e9bce50f910472a9b1347
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 23:33:52 2010 +0200
s4-smbtorture: rework test_EnumPrintProcessors to let it test more combinations.
Guenther
(cherry picked from commit a335848a883d98247470b0beb1eed14afec802de)
commit 68c81c7e1a556d4d029f83d02037d0a1ff8e4c08
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 06:57:36 2010 +0200
s4-smbtorture: remove unneeded dcerpc_mgmt alias.
Guenther
(cherry picked from commit d834671f68e1bc0817d8151cd6cc065851263075)
commit 848b6d82d2f54a8292d1db0f8856edceb6c96166
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 22 11:04:38 2010 -0700
s4-smbtorture: print out membership in RPC-SPOOLSS-ACCESS.
Guenther
(cherry picked from commit a1ced101969e7613bc9e1a83c087dbe56c378abe)
commit 21739bdbc93f9b1af6fdb722484885e4cb2fc57a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 30 09:37:42 2010 -0700
autobuild: fixed exit status
this should fix the case where we don't send logs on failure
commit 46ec7d78514214aadbd664ba3e2707fa10540a0e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 29 23:30:18 2010 -0700
s4-drs: added support for level 10 of getncchanges
added a simple mapping from req8
commit 73763b367862121fb1175e829e863daef55a07bd
Author: Zahari Zahariev <zahari.zahariev at postpath.com>
Date: Thu Sep 30 04:13:02 2010 +0300
LDAPCmp feature to compare nTSecurityDescriptors
New feature that enables LDAPCmp users to find unmatched or
missing ACEs in objects for the three naming contexts between
DCs in one domain (default) or different domains. Comparing
security descriptors is not the default action but attribute
compatison. So to activate the new mode there is --sd switch.
However there are two view modes to the new --sd action which
are 'section' (default) or 'collision'. In 'section' mode you
can only find differences connected to missing or value
unmatched ACEs but not disorder unmatch if ACE values and count
are the same. All of the mentioned differences plus disorder
ACE unmatch you can observe under 'collision' view however
it is more verbose.
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
commit 6e5b49619b9e1a81a7c05345dd2b83f0752916e1
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 29 12:17:05 2010 +0200
s3: Add "smbcontrol winbindd ip-dropped <local-ip>"
This is supposed to improve the winbind reconnect time after an ip address
has been moved away from a box. Any kind of HA scenario will benefit from
this, because winbindd does not have to wait for the TCP timeout to kick in
when a local IP address has been dropped and DC replies are not received
anymore.
commit f910f132acdab40ca0a7a0e600f08ccc28e68fe5
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 30 16:27:42 2010 +0200
s3: Re-introduce a procid_self()
Giving the parent pid to reinit_after_fork is not a good idea....
None of the other callers do this, checked it.
commit bad98e37e7e4077a74c7b32d74499c78810192c5
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 29 12:17:05 2010 +0200
s3: Add "smbcontrol winbindd ip-dropped <local-ip>"
This is supposed to improve the winbind reconnect time after an ip address
has been moved away from a box. Any kind of HA scenario will benefit from
this, because winbindd does not have to wait for the TCP timeout to kick in
when a local IP address has been dropped and DC replies are not received
anymore.
commit 10f0c785c70b89e76f3a9cd3b319262affc9447e
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 30 16:27:42 2010 +0200
s3: Re-introduce a procid_self()
Giving the parent pid to reinit_after_fork is not a good idea....
None of the other callers do this, checked it.
commit 91c4dfff2546b00f2235619239cbf89ff8c53200
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 30 15:17:09 2010 +0200
s3: Fix a typo in dump-domain-list smbcontrol usage msg
commit c7c4d84550c7feafb1de83e3b0dcc11c3fa220df
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 30 15:17:09 2010 +0200
s3: Fix a typo in dump-domain-list smbcontrol usage msg
commit 6eee95ac04d9113b31af91efe8db3c6b1cc71ed6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 30 10:31:38 2010 +0200
s4-selftest: Add some more comments to skip file.
commit 73e129b254d1f3dcc5e3b2cc6dffb80a2941bb80
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 30 10:31:29 2010 +0200
selftest: Eliminate some unnecessary spaces.
commit 124d9fc4d13628ed310ccbdec181ed57be8a3531
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 30 10:31:03 2010 +0200
selftest: Avoid accessing deprecated BaseException.message.
Thanks to Andreas for pointing this out.
commit e36f72628173ad476744670a5dbf25a3335e0a19
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 30 09:29:42 2010 +0200
subunit: Import new upstream snapshot (adds subunit_progress())
commit 41182200a35083a0010f95f622a4ce386c5f0518
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 30 09:18:01 2010 +0200
testtools: Import new upstream snapshot.
commit 1a9f5b45f80030c63dbd5616c6de1e99cbf539c5
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 29 22:08:48 2010 -0700
s4-drepl: don't call UpdateRefs on a RODC
we use the ADD_REF bit in getncchanges instead
Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
commit 287e35f4cfe8be3663afcde50d9cc66e120c43b6
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 29 22:04:21 2010 -0700
s4-drepl: fixed the checking of replica_flags in the drepl server
we were incorrectly avoiding a getncchanges when WRIT_REP was not set
Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
commit 4d551753d62728b60a439d1b996d4a1e3358c42b
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 29 22:03:35 2010 -0700
s4-kcc: fixed the replica_flags in repsFrom in the kcc
if our calculated replica_flags doesn't match the ones in our repsFrom
then update it
Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
commit d690622f37156307f36e54bc716c0561855cef16
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 29 22:02:54 2010 -0700
idl-drsuapi: fixed another replica_flags that should use the bitmap
Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
commit 92586abac004fe55bdb66af5b0f0e281304cbf56
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 29 17:33:49 2010 -0700
s4-dns: send A record updates via TKEY
commit c82d6c0b96817129ab6fa23ef8f5d421fd6c7001
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 30 02:28:41 2010 +0200
s3-spoolss: make sure to exit early and with the appropriate error code in
_spoolss_GetPrinterDriver2.
Guenther
commit 575ae3ed728974236512b029f8217d99c6fc8526
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 30 02:05:36 2010 +0200
spoolss: use the correct flags for spoolss_PrinterInfo1 struct.
Guenther
commit 3797d48b76fadb988c40d056751be8671c9e6906
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 29 04:51:56 2010 +0200
s3-spoolss: Fix servername/printername handling which turns out to be very important to get right.
Guenther
commit 156ab4ec104adf20257b2ef1e361382eac457ee3
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 29 04:49:57 2010 +0200
s4-smbtorture: add new EnumPrinters test to test printername/servername
behaviour in EnumPrinter and GetPrinter calls.
Guenther
commit 1f3f75f747cc6388013360bff06574f3299090d3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 29 16:35:52 2010 -0700
s4-samldb: also set a password on the krbtgt_NNNN account
when we setup the krbtgt_NNNN account using the DCPROMO_OID control,
we also need to set an initial password for this account
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 768df75ed915bf588426316857885abddaaf5701
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 29 15:50:04 2010 -0700
s4-devel: added new options to getncchanges script
added --pas, --dest-dsa and --replica-flags options
Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
commit 1ec5f5c09cc0e61fc41de720820ccddf6f6259e6
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 29 15:49:15 2010 -0700
s4-drs: implement PAS checks and access checks for getncchanges
This implements partial attribute set checking on getncchanges. If the
client sends a partial_attribute_set then we only return the specified
attributes.
This also implements access checking on the NC root for the access
right GUIDs for requests with and without reveal secrets
Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
commit eebe5e1251cb99c1ca2ae4280d72a4c3baea8607
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 29 15:46:23 2010 -0700
s4-drs: added drs_security_access_check_nc_root()
this checks securiity on the NC root of the specified naming context
commit 3b52b6249b94e104077ead134c35402fa1439493
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 29 15:45:27 2010 -0700
util: added BINARY_ARRAY_SEARCH_V()
this is used to search an array of values
commit 44c891a35acae620566901bb6e038df45f411e02
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 23:19:26 2010 -0700
s4-sam: added DOMAIN_RID_ENTERPRISE_READONLY_DCS for RODCs in the PAC
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 9a58cd12b4fd1956a1472072b294309b55de01fa
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 23:18:47 2010 -0700
libds: added more UF_ -> ACB_ flags mappings
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Pair-Programmed-With: Stefan Metzmacher <metze at samba.org>
commit 77d959fb157ee72f14d278c25ac33e4d84010222
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 29 10:47:34 2010 +0200
midltests: add midltests-pipe-sync-ndr32-downgrade-02.idl
metze
commit 45e3e54e087120009a79cb70b3377e63cfc0033e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 29 09:37:05 2010 +0200
midltests: support for fragmented RPC traffic
metze
commit 6c0a4b6477df872d03696faec1b786ad3352a7ca
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 29 09:06:58 2010 +0200
midltests: print out the alloc_hint for requests and responses
metze
commit 25e19287f01bec1390ef91ce2f617d78175531be
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 29 06:03:08 2010 +0200
midltests: improve NDR64 downgrade
metze
commit 437db1452265a27e30fbba1c046ce14d0cffaa64
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 29 10:28:29 2010 +0200
midltests: revert to a simple default midltests.idl
metze
commit 9dcd5e6c8f524f88a028c296023b408e07eb37e4
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 29 08:54:00 2010 +0200
s3-waf: add basic make test infrastructure, not able to test yet.
Guenther
commit bea8035c22be075a4f89aa17cf225b7b2f499d74
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 29 08:49:39 2010 +0200
s3-waf: clean up socket-wrapper and nss-wrapper a little.
Guenther
commit 292801bdf39ebdd644d15428d8326147940687b1
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 29 08:48:49 2010 +0200
s3-waf: add vlp binary.
Guenther
commit 31310826e02a398eec6569a9150a798ee216f745
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 20:47:03 2010 -0700
s4-spnupdate: when we are a RODC we need to use the WriteSPN DRS call
we can't do SPN updates via sam writes and replication, as the sam is
read-only
commit 739a4e4e2361fad17a4d041e2e0b4fc73a9d18c2
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 20:46:15 2010 -0700
s4-drsutils: expose DsBind() call in drs_utils.py
this will be used by samba_spnupdate
commit 06022dad70ec11ddbedc09a4a1fffe127ced2a06
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 20:43:58 2010 -0700
s4-kerberos: use TZ=GMT when we are invoking krb5 code in helpers
Our helper scripts can fail on Fedora with the PDT timezone (Western
USA). This is the same issue we found with Heimdal earlier today, the
24 second difference between GMT and UTC, but this time in MIT
Kerberos as linked into bind9.
By forcing TZ=GMT in these scripts we avoid the problem
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 3b0d6fda38749b01d2f8c4ff0ccbfc6ffc7bde49
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Sep 28 19:35:56 2010 -0700
s4-rodc: RODC should not accept requests for role transfer
A RODC cannot assume a role, and unwillingToPerform must be
returned if such request is sent via LDAP
commit cc288603ce67ccca3625d162fadc618df5fbc807
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 19:11:34 2010 -0700
s4-provision: simplify our generated krb5.conf
we don't want to force the KDC to be ourselves, we should
be using DNS to find a live KDC. Also remove some other options and
allow the krb5 lib to use defaults.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 4e0a3ea705a793ef2f68805728caabd58bdf5788
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 19:10:27 2010 -0700
s4-kdc: RODC DCs should be able to produce forwardable tickets
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 04e3e27fd1062cd9ffe462f4a2c6b0635c3917eb
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 19:09:58 2010 -0700
heimdal: fixed timegm UTC/GMT bug
This was a wonderful bug!
On some Fedora systems, but not on Ubuntu, there is a difference
between UTC and GMT. Heimdal replaced timegm() with _der_timegm()
which did not account for that difference (which is 24 seconds at the
moment). This led to a mutual authentication failure.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit dacfe67a0e4c591710adbe6b2f53783ac76f4ba1
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 19:07:43 2010 -0700
s4-sam: fixed termination of krbtgt_attrs (comma and NULL)
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c83775d524612c24be97d3761a1cc29998040fa1
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 18:01:21 2010 -0700
ldb-dn: don't crash on NULL in ldb_binary_encode_string()
Thanks to Nadya for finding this one!
commit 3d4576b170d92f97018076faf0ed914cf2fdd01b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Sep 29 09:06:39 2010 +1000
s4-kdc Ensure that an RODC may act as a server (needed to fill
the krbtgt role).
Andrew Bartlett
commit f84bdf91d865ab176dcc0d829944821b89b88074
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Sep 29 06:44:33 2010 +1000
heimdal Use a seperate krb5_auth_context for the delegated credentials
If we re-use this context, we overwrite the timestamp while talking
to the KDC and fail the mutual authentiation with the target server.
Andrew Bartlett
commit e2c305deb1553ab8ba11fa687dcf1c08f2acd88a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 28 09:57:22 2010 +0200
midltests/todo: add some random idl files I had tested month ago
metze
commit ad99711f4968cb07b85cead5beb8351f63395004
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 29 02:36:51 2010 +0200
midltests: add midltests-pipe-sync-ndr32-downgrade-01.idl example
metze
commit c5e221c5f88cbc557a6978bc062f5efef224b94a
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 29 02:50:19 2010 +0200
midltests: add some usefull defines to midltests.idl
metze
commit 06108687e8949520b29e0016fb9605facfd6f073
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 29 02:35:54 2010 +0200
midltests: make it possible to allow downgrades to NDR32
metze
commit 115ad6012540338a73abd9de13c6bb4de3a12cf2
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 28 11:04:59 2010 +0200
midltests: add a midltests_tcp.exe tool
This uses a man in the middle approach in order to dump the
request and response pdus.
It also tests NDR32 and NDR64.
metze
commit cf4e57281b867878521d6f38ec5b0f552c4d2c90
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 28 10:50:05 2010 +0200
midltests: move the current implementation to midltests_simple.exe
metze
commit d8a0436fb4d61e16a04a8249ece79d563ae2e3cd
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 28 09:47:55 2010 +0200
testprogs/win32: add vs2010-metze.cmd
metze
commit ec33a87d5855348e6de4c1f0f02d3bd5a0638985
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 29 01:18:07 2010 +0200
s3-printing: skip metadata entry when traversing printerlist.
We were creating a new printer (with a very broken name) out of the
lasttimestamp entry all the time.
Simo, please check.
Guenther
commit fcee50b9c9ca157c839df5761ca0a2f87fc1ac33
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 5 13:43:49 2009 +0200
pidl: add support for pointers in typedefs
metze
commit d4636c47c70d4ef5441a33cc6ef5eb469cf11bff
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 21 10:34:30 2010 +0200
pidl:NDR/Parser: remove unused code for array element index
metze
commit 7fff22c29dfb4bd424c08da53c384dcc2c37fe22
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 21 03:48:09 2010 +0200
pidl:NDR/Parser: simplify logic in ParseMemCtxPullFlags()
metze
commit 3fa29cdd943f18871b16fc845028fc39a5a7ad0d
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 21 03:41:03 2010 +0200
pidl:NDR/Client: make the generated code look a bit nicer
metze
commit bffa192bfea6dccfe56a1b5692333fd8f39cfe7a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 21 00:44:30 2010 +0200
librpc/ndr: remove 'async' from ndr_interface_call
metze
commit 96666d48a75573c47739e4d217b2aacea7841570
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 21 00:41:29 2010 +0200
pidl: remove unused async property handling
metze
commit a73a2abb3a2ec79016ddcf5f0994025dd705975d
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 21 03:10:10 2010 +0200
pidl/Python: use has_property($d, "noopnum") helper function
metze
commit 65c5278f4d8e07275db02f146afb847d91cd6596
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 21 03:05:41 2010 +0200
pidl:NDR/Client.pm: remove unreached code
metze
commit 121ad074f96c7cec79a15acb5587d3fd601f3e09
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 21 02:17:21 2010 +0200
pidl/Python: remove todo handling from PythonFunction(), it's done by the caller
metze
commit a0fa1dd6fccf21e567abb46574ef4e85b886a8ab
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 21 01:40:56 2010 +0200
pidl/Typelist: let typeIs() do TYPEDEF dereference in the HASH case
metze
commit 46774388dcb7e6534927ae99adf912c911f25689
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 22:53:08 2010 +0200
s3-waf: add in a little hack to deal with the ECHO rpc module for non-developer builds.
This will be removed once we have the rpc modules subsystem in place.
Guenther
commit e257e7a40b0d7d22c3aff2d1f15bb350775dbff3
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 11:24:37 2010 -0700
autobuild: use git notes for autobuild messages
This avoids changing the commit ID when we add a note that the
autobuild has passed
thanks to Jelmer for this suggestion!
commit 00611cbcf6ea2da2b0b9179c9ef8e3bd27555c5c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 11:23:35 2010 -0700
selftest: enable FAIL_IMMEDIATELY in autobuild make test
this should reduce the time we wait for previous failing builds.
Right now this will only work for s4, as we need a makefile change for
s3 support
commit f4177b66c5b9351cf36b09f6b55b042985d633f0
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 10:48:38 2010 -0700
s4-drs: added support for DRSUAPI_EXOP_REPL_OBJ
this extended getncchanges operation replicates a single object
commit 491e89fa1c8dc4df327866c09cae941578209243
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 10:46:03 2010 -0700
ldb-tdb: ignore failure to register control on rootdse
this is expected for non-sam LDBs
commit 9aa07e72c88c9e4f52546597610019c8596ea4cc
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 10:40:18 2010 -0700
s4-drs: use drs_ObjectIdentifier_*() calls in getncchanges
this allows for replication by GUID or SID
commit d4939ce4fc5e61c96e047b6a61a5502335da8926
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 10:39:52 2010 -0700
s4-drs: moved the drs_ObjectIdentifier handling to dsdb_dn.c
this will be used outside of the drs server.
This also fixes the handling of the ndr_size elements of the
drs_ObjectIdentifier
commit cd3eddbb59a21534f5a854b9a1fb1419530cca3f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 28 10:38:40 2010 -0700
waf: we don't need the preprocessor recursion limit any more
thanks to ita for this
commit 8045b35b1bda15f619238fac943c604cfe851c94
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Sun Sep 26 21:16:47 2010 -0700
s4-drs: Added check for drs-manage-topology to updateRefs.
commit 440cee48b93936bfb9b1376e55e457a721bdcc19
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Sun Sep 26 21:14:45 2010 -0700
s4-drs: Added drs_security_access_check function
It takes a security token, an ldb_context, and the desired CAR and checks
if the principal has this CAR granted
commit 6caa5128150da5c585957b34e8a9c40396877452
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Sun Sep 26 21:12:48 2010 -0700
s4-dsdb: adapted check_access_on_dn for use in drs.
commit 4be269664451f3df82a8b4939ffcf5d4274d02ed
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Sep 29 03:59:15 2010 +1000
heimdal Fix DNS name qualification to not mangle IP addresses
If the host running this code used IPv6 forms for IPv4 addreses
then the check for '.' would not be sufficient to determine that this
isn't a name we should mangle. Instead, check if it can be parsed
as a numeric address first, and only then mangle.
Andrew Bartlett
commit 89ee9e6518f5bd398bb44e0cd47454e2d69f469e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Sep 28 13:13:28 2010 +1000
s4-kdc Handle the case where we may be given a ticket from an RODC in db layer
This includes rewriting the PAC if the original krbtgt isn't to be
trusted, and reading different entries from the DB for the krbtgt
depending on the krbtgt number.
Andrew Bartlett
commit 9d33929d76d0969917c1d42e1097d75af3401008
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Sep 28 13:10:24 2010 +1000
heimdal Add an error code for use in the RODC
In this case, the whole request packet should be forwarded to
a real KDC, with full secrets, as we don't have the password.
This could also be used to implement 'play dead when the LDAP
server is down'.
Andrew Bartlett
commit 9b5e304ccedc8f0f7ce2342e4d9c621417dd1c1e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Sep 28 13:07:53 2010 +1000
heimdal Add support for extracting a particular KVNO from the database
This should allow master key rollover.
(but the real reason is to allow multiple krbtgt accounts, as used by
Active Directory to implement RODC support)
Andrew Bartlett
commit 3021af2777ffd28f595835630510e367e7286c1c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Sep 28 13:05:37 2010 +1000
s4-kdc Add common setup, handle RODC setup case
This means we just set up the system_session etc in one place
and don't diverge between the MIT and Heimdal plugins.
We also now determine if we are an RODC and store some details
that we will need later.
Andrew Bartlett
commit 88abf441d021e753f149a534a232090634652367
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Sep 28 12:57:15 2010 +1000
s4-dsdb Add ldb_reset_err_string() when we set error codes.
If we don't we could show an old, incrorrect error
commit 063b61289db73444d514d2897339cf135fc8dfc9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Sep 28 12:55:48 2010 +1000
s4-dsdb Make samdb_reference_dn() use dsdb_search() and DSDB_SEARCH_ONE_ONLY
This simplifies the function. While doing so, also change the error
string setting to set a really clear error string for the failure to find
and failure to parse cases.
Andrew Bartlett
commit 990720b8cd869a375686cc78f270e68ca9bd28b3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Sep 28 12:53:06 2010 +1000
s4-kdc Add function to determine if a hdb entry is a RODC
This is important, as we must ignore the PAC from an RODC.
Andrew Bartlett
commit 85f7bce865e611c5d18b67a3f34723f7da7df92e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Sep 28 12:49:44 2010 +1000
s4-kdc Use msDS-SecondaryKrbTgtNumber to fill in the full KVNO
Andrew Bartlett
commit 8b57482fa8bfff901c08dbfa4b722b291862c372
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Sep 27 14:43:33 2010 +1000
s4-dsdb Fix segfault in error case in rootdse module
commit 6bab5c07519baa0be1bf86161236a0307c48e31f
Author: Michael Wood <esiotrot at gmail.com>
Date: Mon Sep 27 00:05:05 2010 +0200
Make upgrade procedure more explicit.
Add in a compile step.
Change the tar command to include the recommended dirs.
commit 9d3046f09857b28dbd1674876b8c63079d183fbd
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 20:00:47 2010 +0200
s3-waf: add AUTH_SCRIPT module to AUTH subsystem (which is build as shared
module by default).
Guenther
commit 2cf5c661c6577c28f1f5ff8e12b7ae2554277dda
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 20:00:12 2010 +0200
s3-waf: add vfs_linux_xfs_sgid to the list of default shared modules.
Guenther
commit 237799d40f6d0cd535adbecb4d2e15c46ce47e00
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 28 18:40:49 2010 +0200
s3: Attempt to fix bug 7518
If select returns -1, we can't rely on the fd sets. The current code might loop
endlessly because when putting an invalid fd (the closed socket?) on the read
set, a select implementation might choose not to touch it but directly return
with EINVAL. Thus run_events will see the socket readable, which leads to a
"return true", and thus a NT_STATUS_RETRY -> same game again.
We should never get into this situation, but to me the logfiles given in bug
7518 do not reveal enough information to understand how this can happen.
commit a3e211ca3f6bc0335170546648ebcc54a1db1ef4
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 28 18:40:49 2010 +0200
s3: Attempt to fix bug 7518
If select returns -1, we can't rely on the fd sets. The current code might loop
endlessly because when putting an invalid fd (the closed socket?) on the read
set, a select implementation might choose not to touch it but directly return
with EINVAL. Thus run_events will see the socket readable, which leads to a
"return true", and thus a NT_STATUS_RETRY -> same game again.
We should never get into this situation, but to me the logfiles given in bug
7518 do not reveal enough information to understand how this can happen.
commit e3902618759a0afe0686127d082adadbcc33a270
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 28 10:38:20 2010 +0200
s3: Increase the debuglevel for connection termination msgs
commit 51bc104c5c2e8f23fab1c599a7ec3e4291165244
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 28 10:38:20 2010 +0200
s3: Increase the debuglevel for connection termination msgs
commit 2a1891a9d67d547847b233dec85925d726696e7f
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 09:27:54 2010 +0200
s3-waf: fix dependencies in most of our module subsystems.
Guenther
commit 5fcd0471e59c35d0769628fa8d1a021bf78b714c
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 08:54:39 2010 +0200
s3-waf: add pam_smbpass.
Guenther
commit 07697fa053099a01035a30f4d05dffeafff96c75
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 07:45:47 2010 +0200
s3-auth_util: make sure the system server info actually contains S-1-5-18.
Without this, all security descriptor checks for the winreg spoolss backend fail
and make our spoolss system in its current shape basically unusable.
Andreas, please check.
Guenther
commit 314d738f907958a86e2638689f5c45f3b931047e
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 05:39:42 2010 +0200
s3-printing: remove unused old structs.
Guenther
commit b4a5ece84a0a516a1efec6b17d67eb787b824663
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 28 09:16:03 2010 +0200
ldb: Fix path to alternative buildtools.
commit 0688c5b2f1b6c34e7f79018007848ad8a477e854
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 28 09:08:10 2010 +0200
samba4: Don't update Makefile/configure from autogen.sh.
commit 63928c82c1c5ed2fa3bab30976566a8a393ef8b4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 28 09:00:26 2010 +0200
ldb/tevent: Fix detection of waf paths.
commit 4752d88fed66ac07e6704688cc2188e42d216962
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 28 08:42:26 2010 +0200
tevent: Remove make targets that are not relevant for tevent.
commit 302423f3062f16f75b3204c1ddf3cf2154f4f224
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 28 08:41:11 2010 +0200
tevent: Don't update Makefile/configure files.
commit 85443e0850fc58925ab7d3e7f36e1001b7f4a149
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 28 08:38:33 2010 +0200
ldb: Update autogen-waf.sh to no longer overwrite existing files.
commit 72a41cc820dd52699d7e2b33f2dce273d0f246d7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 28 08:34:10 2010 +0200
ldb: Remove samba-specific targets from Makefile.
commit 78b4b21b40ba23490581d0bedf4b3208dd13fa13
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 28 08:15:55 2010 +0200
ldb: Bump version because of addition of ldb_req_location.
commit 02f87d1c367908fa97be35880260e8c2f6fa04a3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 28 07:53:02 2010 +0200
format-subunit: Display number of failed tests even if there are no
failed testsuites.
commit 36ffe4f467779cd282ed471f3bed8aee8a7c55bd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 28 07:40:27 2010 +0200
selftest: Abort early on SIGPIPE.
commit 7ac4a710725d1e439179c3846525b3245dc3f5f6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 28 07:10:43 2010 +0200
Add dedicated exception for immediate failure in filter-subunit, don't raise it on known exceptions.
commit c12f1a1e912aeca8645b68c0ef720466c13ce8bb
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 26 18:58:05 2010 -0700
s4-selftest: added a --fail-immediately option to s4 test
this can be used to force an immediate test failure on the first
failed test case. You can also use:
make test FAIL_IMMEDIATELY=1
commit 71f88c45a751e5f72de00dee0628b5c1b6614bf3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 26 18:56:50 2010 -0700
filter-subunit: added a --fail-immediately option
commit c7f6ab890e8e70f27ddc975abec58b5e0cf8d6a5
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 22:53:06 2010 -0700
s4-provision: fixed the authority response for our SOA record
some clients rely on this being the hostname, not the domain
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Tue Sep 28 06:39:19 UTC 2010 on sn-devel-104
commit 0bbbfa04f60b173912cedcfe08590fe43b5c2872
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 21:08:43 2010 -0700
s4-dns: implemented RODC DNS update in dns update task
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c4d2b6fbc21625dc5ed2063e5ad699309fa5a3e1
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 21:08:23 2010 -0700
s4-netlogon: added RODC DNS update call fwded to dnsupdate task
when we get a netlogon RODC DNS update, we send it to the dnsupdate
task
commit 6237d560275d7d19e46afe85cb9f19313359ea80
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 21:07:17 2010 -0700
s4-dns: added --update-list option to samba_dnsupdate
this allows us to use it for RODC netlogon updates
commit 7d380795b63c9b6e5196607960a35cfc90bdf1d9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 21:03:45 2010 -0700
pidl: added ifdef guards around ndr headers
this prevents us parsing the leading headers needlessly
commit bc47af50eb0896c108b7acc5323a897e27120252
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 21:03:14 2010 -0700
s4-kdc: added ifdef guards in kdc.h
this prevents too much recursion in the compiler preprocessor
commit 1587b46fa0f403578f7198a4e7c7ef603aaa5598
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 19:47:14 2010 -0700
s4-ldb: removed an unused variable
commit 17aa2b329494bc82a89bc9bd8a7e6ba66406fc52
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 19:47:01 2010 -0700
s4-kcc: fixed a incorrect context to kcctpl_get_all_bridgehead_dcs
commit e313667983f5225d6f506d53fcd15011d54d5538
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 19:46:37 2010 -0700
s4-dsdb: added samdb_find_site_for_computer() and samdb_find_ntdsguid_for_computer()
these will be used by the new RODC dns update code
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c9727902499b0cc84fef9a44b5252ac83376456e
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 19:45:56 2010 -0700
s4-auth: removed unused variable dom_sid
commit 94dc2c106ba6d33f3b66e0427b5d9ad04aeacc4f
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 31 23:17:11 2010 +0200
s3: Lift smbd_messaging_context() from open_sockets_smbd()
commit 790ad3d1a4d494f8e98883aa4e1c16777170e874
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 31 23:16:50 2010 +0200
s3: Remove two calls to procid_self()
commit 886b5b67ee65a867bf8e4c345bc600dd7527de2a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Sep 26 22:05:43 2010 -0700
s3: Remove talloc_autofree_context() from myhostname()
No destructor needed, so we can as well use the NULL context
commit 49b4d2e652c189fff2fa4b3a94aed2ba0477cc76
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 06:06:02 2010 +0200
s3: Remove some remaining files.c globals to sconn
commit d26d79b6401783449ca7d38005a59938325d1995
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 05:50:22 2010 +0200
s3: Remove talloc_autofree_context() from files.c
commit eadc4b5b780ffdb99b7d4b48592af6c72f682bf8
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 04:54:29 2010 +0200
s3: Lift smbd_server_conn from file_find_fd
commit 54f7b702125d08f7754881ffbb4ad624c2a1634b
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 04:49:00 2010 +0200
s3: Remove smbd_server_conn from file_fsp
commit 3009178ee5fc054c284568768d5acdf0208a25f4
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 04:46:18 2010 +0200
s3: Slightly simplify file_fnum
req==NULL should never happen, see the comment
commit e57811440ad7b407cdd51dfcf3476072d461bcb7
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 04:13:22 2010 +0200
s3: Remove smbd_server_conn from file_sync_all
commit e2222fc19c6595deed22d8f55daf62692fd786e0
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 04:12:15 2010 +0200
s3: Remove smbd_server_conn from file_find_subpath
commit 75c6e0e5c7c17ab3ea78e09c226e2fb3472d1e40
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 04:05:25 2010 +0200
s3: Lift smbd_server_conn from file_find_di_first
commit b448e42de4070410eddbe2fa0085b9328a301159
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 04:00:31 2010 +0200
s3: Lift smbd_server_conn from file_find_dif
commit fb8686962a542c70a2104247a77b48cacd8a9663
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 03:53:00 2010 +0200
s3: Remove smbd_server_conn from files_forall
commit 9fc9ff9bfac604007440776d06b71eba5b5005e5
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 03:46:12 2010 +0200
s3: Remove smbd_server_conn from file_close_user
commit 25ca1cd1a85ca5bd99acfd2f54067c397d8fcb13
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 03:42:36 2010 +0200
s3: Remove smbd_server_conn from file_close_pid
commit 6a1c4bad131ceec025e7c8d40fdda3f01ce734c1
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 03:40:11 2010 +0200
s3: Remove smbd_server_conn from file_close_conn
commit c5d27995434910075185e6b290ca933a7ea8afa6
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 03:38:14 2010 +0200
s3: Remove smbd_server_conn from file_new and file_free
commit 52766081519ecca9ffd90b11719201537ff0c1ed
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 02:37:59 2010 +0200
s3: Lift smbd_server_conn from file_fnum
commit 5e26e4d30feca67ae8377006c3b1acc4d6c6aa5f
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 02:29:36 2010 +0200
s3: Move "Files" to smbd_server_connection
commit f83e7d8f8c91a1670dfd9f8322c3cf83c95c2b18
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 02:15:18 2010 +0200
s3: Remove "server_fd" global variable
commit 93adf70d1a2a3371562606dbda36016e9a15eeaf
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 01:44:06 2010 +0200
s3: Remove talloc_autofree_context() from receive_unexpected()
This is freed in this routine a few lines down
commit 491102c1ce842e14be8074a4abe6676b83efa5eb
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 28 04:50:32 2010 +0200
s4:gensec_tstream: remove plain socket handling
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Sep 28 04:54:24 UTC 2010 on sn-devel-104
commit ca360fba107f7948c52a5f7595ab0f99c8142e07
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 3 14:36:10 2010 +0100
s4:lib/tls: add gnutls backend for tstream
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Sep 28 02:29:42 UTC 2010 on sn-devel-104
commit 381f0fcd1957b3f485db7773924a81a1282936d5
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 22 12:13:28 2010 +0200
s4:gensec: add gensec_create_tstream()
Based on the initial patch from Andreas Schneider <asn at redhat.com>.
metze
commit d6c48b4a5fb667b0fba91af5d9113209ae72eede
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 28 02:33:23 2010 +0200
s4:wrepl_server: use SOCKET_FLAG_NOCLOSE instead of a dup()
The key thing is that we might have to turn the incomming
connection into a outgoing connection.
This change makes sense anyway, because we donate the fd to
tstream.
metze
commit 9d8b886b3e631e073b12c559948f53bdbba87339
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 28 02:13:12 2010 +0200
s4:rpc_server: use SOCKET_FLAG_NOCLOSE to avoid calling close() on the socket fd twice.
metze
commit 57104760c0152b909772952ed83ec150340d43a0
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Sep 27 23:57:34 2010 +0200
tsocket: make sure we delete the fd event before calling close()
We got random double free errors, when getting events from
epoll_wait() and try to dereference the private talloc pointer
attached to it.
Before doing the close() in the tstream_disconnect_send() function
we need to delete the fd event.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Sep 28 01:02:55 UTC 2010 on sn-devel-104
(cherry picked from commit 38f505530ba06323a56c7d3914630efffcd12629)
commit 53526de9f53185938ddce335cf700be0e949055d
Author: Jeremy Allison <jra at samba.org>
Date: Mon Sep 27 18:24:01 2010 -0700
Add torture test BAD-NBT-SESSION as regression fix for bug 7698 - Assert causes smbd to panic on invalid NetBIOS session request.
Jeremy.
(cherry picked from commit d7c09f312ee326c3108c7d06bc9c7390861d8552)
commit 540cb5c76ba3f08715c31c1cc8a02f182290aba9
Author: Jeremy Allison <jra at samba.org>
Date: Mon Sep 27 18:21:46 2010 -0700
Small tweak to bugfix for 7698 - Assert causes smbd to panic on invalid NetBIOS session request.
Don't just fail to reply on a bad NBT name, just don't do the
internal action.
Jeremy.
(cherry picked from commit a738f5b846598fa3f44a7c6aa8019ef886bd1bb7)
commit d7c09f312ee326c3108c7d06bc9c7390861d8552
Author: Jeremy Allison <jra at samba.org>
Date: Mon Sep 27 18:24:01 2010 -0700
Add torture test BAD-NBT-SESSION as regression fix for bug 7698 - Assert causes smbd to panic on invalid NetBIOS session request.
Jeremy.
commit a738f5b846598fa3f44a7c6aa8019ef886bd1bb7
Author: Jeremy Allison <jra at samba.org>
Date: Mon Sep 27 18:21:46 2010 -0700
Small tweak to bugfix for 7698 - Assert causes smbd to panic on invalid NetBIOS session request.
Don't just fail to reply on a bad NBT name, just don't do the
internal action.
Jeremy.
commit 38f505530ba06323a56c7d3914630efffcd12629
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Sep 27 23:57:34 2010 +0200
tsocket: make sure we delete the fd event before calling close()
We got random double free errors, when getting events from
epoll_wait() and try to dereference the private talloc pointer
attached to it.
Before doing the close() in the tstream_disconnect_send() function
we need to delete the fd event.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Tue Sep 28 01:02:55 UTC 2010 on sn-devel-104
commit f98d217514433cd06887f8c0217a7835392f0375
Author: Jeremy Allison <jra at samba.org>
Date: Mon Sep 27 05:46:07 2010 -0700
Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on all
TDB_CLEAR_IF_FIRST tdb's. For tdb's like gencache where we open
without CLEAR_IF_FIRST and then with CLEAR_IF_FIRST if corrupt
this is still safe to use as if opening an existing tdb the new
hash will be ignored - it's only used on creating a new tdb not
opening an old one.
Jeremy.
commit 66761423474edc9736a8a6eae6feaaf958d89d0e
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 15:03:44 2010 -0700
s4-ildap: two more places that need talloc_reparent()
these contexts can have references
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Tue Sep 28 00:04:03 UTC 2010 on sn-devel-104
commit 396cdd6343e12a1b3cdd2d4c3bbac37c5fc30330
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 14:56:04 2010 -0700
s4-kcc: don't print "Testing kcctpl_create_intersite_connections"
log level 0 is excessive for this!
commit 8e1a3c8ccab0586e8244b511df95e6f22c49fa8b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 14:42:13 2010 -0700
s4-drs: make getncchanges debug less verbose
quieten make test a little
commit 8edf3d71318acdba73f7415ae2db7b7988e34029
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 14:34:43 2010 -0700
s4-dns: avoid search domains expansion in DNS resolver
add a '.' if the name contains a '.' already, but not at the end
commit 43d0c2e9ea71770aa87e74778c20908606cd55f8
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 14:34:06 2010 -0700
heimdal: avoid DNS search domain expansion
When you have a domain search list in resolv.conf, and one of the DNS
servers for a searched domain is uncontactable then we would timeout
resolving DNS names.
Avoid this by adding a '.' to the hostname if the hostname already has
a '.' in it, which we assume to mean it is fully qualified.
commit 48adfb264f0a8772ac04fc51af1c39460c011acb
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 01:10:57 2010 +0200
samr: add three new ACB flags to IDL.
Guenther
commit 77d4c280323ffc9f5f5f17023c90d0a904e14126
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 00:10:54 2010 +0200
s3-spoolss: Fix _spoolss_EnumPrintProcDataTypes error handling
commit 93d7230d25427af2955a9209335f657b8a901860
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 00:10:31 2010 +0200
s4-smbtorture: rework spoolss_EnumPrintProcDataTypes test.
Guenther
commit 2921888a0808efbe765e3f52a83a91c2e03a44a6
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 28 00:10:17 2010 +0200
s3-spoolss: Fix _spoolss_EnumPrintProcessors error handling
commit a335848a883d98247470b0beb1eed14afec802de
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 23:33:52 2010 +0200
s4-smbtorture: rework test_EnumPrintProcessors to let it test more combinations.
Guenther
commit 0e1588aa980069dd267b3b0207db453c6ab23023
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 08:10:58 2010 +0200
s3-waf: add NDR_PERFCOUNT subsystem.
Guenther
commit 7fbe7007536214af99b2a2c3f07e3c04c7c6cd07
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 12:54:26 2010 -0700
s4-ildap: fixed a talloc_steal with references error
We need talloc_reparent() instead
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Sep 27 20:38:00 UTC 2010 on sn-devel-104
commit aeedd29d390a1bb8ad1b446bf9b39cffd42e5612
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon Sep 27 10:01:09 2010 -0700
s4-ldb: Added ldb_request_replace_control
It is the same as ldb_request_add_control, except it will replace
an existing control.
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Sep 27 19:00:38 UTC 2010 on sn-devel-104
commit 2cf0525b2382d22b3497f49eb58b9fd8f0c837e1
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Sun Sep 26 17:05:13 2010 -0700
s4/irpc: Add security token to the binding handle when doing irp call forwarding
commit ed7bbc993d4fd080303611a64fefc2b47d786176
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Sun Sep 26 17:04:43 2010 -0700
s4/irpc: Add function to add security token to the binding handle
commit d9d4ded71a9214917d9999da0a16aa82eeac0afb
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Sep 27 01:42:26 2010 +0200
s4:irpc: optionaly pass the security_token via IRPC requests.
metze
commit 3235f44ac48e6945446329d57f3ecd0d10fa47e1
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 02:32:50 2010 +0200
s3: Make file_fnum static
commit f1c1959f1368741df052fd1d53cd748b8608f2f0
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 01:49:01 2010 +0200
s3: Remove some unused code
commit 6319e0da100f813efc12b13b805c6c59afe5ab26
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 27 02:32:27 2010 +0200
s3: Fix some comments
commit 35d9530f3b210f182815fe07b5204be664d5972a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Sep 26 22:16:14 2010 -0700
Remove talloc_autofree_context() from pm_process
This would be a classic for talloc_tos(), InFile is freed a few lines down. But
unfortunately S4 does not support talloc_tos().
commit 8e02130c623fca4bf06baff6789b45d8782bf5b0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Sep 26 22:15:40 2010 -0700
Lift talloc_autofree_context() from OpenConfFile()
commit 46cc0b24a81e77772caa3697e53c24ecb8c6fcf5
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 27 12:43:39 2010 +0200
libsmbconf: parse an empty share as empty share, not as NULL.
This fixes a segfault in net conf import:
Importing a text file with an empty share resulted in a segfault.
Now this creates an empty share in registry config, just as it
should.
Thanks to Gregor Beck <gbeck at sernet.de> for reporting.
(cherry picked from commit 84127dd50420a7d0e8f389d4af15d52fca6cd809)
commit 84127dd50420a7d0e8f389d4af15d52fca6cd809
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 27 12:43:39 2010 +0200
libsmbconf: parse an empty share as empty share, not as NULL.
This fixes a segfault in net conf import:
Importing a text file with an empty share resulted in a segfault.
Now this creates an empty share in registry config, just as it
should.
Thanks to Gregor Beck <gbeck at sernet.de> for reporting.
commit f4f5ad97741d4c6be32573338baa346808e1f108
Author: Gregor Beck <gbeck at sernet.de>
Date: Fri Sep 24 11:29:09 2010 +0200
s3:registry: proposed aix build fix for reg_parse_internal
Signed-off-by: Michael Adam <obnox at samba.org>
commit b32625b79f0f1b67c3e7579f7a2e959e89343180
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Sep 27 08:14:54 2010 +0200
s4:torture/ldap: close connections with an UnbindRequest
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Sep 27 07:14:23 UTC 2010 on sn-devel-104
commit b1ffacb43736c2a2366fbcb0039384b7b8d1683e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Sep 27 08:13:50 2010 +0200
LDAP-BASIC: test AbandonRequest
metze
commit b65a164f3e05a53c08998dc86eb6a899278f687a
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Sep 26 22:34:37 2010 +0200
s4:libcli/ldap: fix sending oneway requests
metze
commit 9d4df79080e43ca787b9c7f598aa5327b47e83f2
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Sep 27 06:46:33 2010 +0200
libcli/ldap: correctly marshall LDAP Unbind PDUs
metze
commit ff9549192599ef5b88fade7e95fa9a4ccb9232a6
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 07:46:52 2010 +0200
s3-waf: fix dependencies to NDR_XATTR.
Guenther
commit 1e97e73c77a0033f416be20ecb7d418b619683fe
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 07:33:09 2010 +0200
s3-waf: link PReg parser only in registry client side extension.
Guenther
commit 122e35405ea0bdc4dad8c6c86deb60dfcfd6125f
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 07:18:16 2010 +0200
s3-waf: NDR_SRVSVC is defined now from the main librpc wscript_build.
Guenther
commit f2310cacde6cccbbdc80893ed2a571fcf1f81975
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 03:55:40 2010 +0200
waf: add more NDR subsystems for shared IDL files.
Guenther
commit 611c8310aba9b41171f1ffb17e6cc8591293cfec
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 07:07:24 2010 +0200
s4-waf: remove NDR-SRVSVC alias.
Thanks tridge, this was driving me nuts...
Guenther
commit d834671f68e1bc0817d8151cd6cc065851263075
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 06:57:36 2010 +0200
s4-smbtorture: remove unneeded dcerpc_mgmt alias.
Guenther
commit aaa19fa5a97cf1fe9608cdd1c40f6adaa18e33c4
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Sep 27 11:06:51 2010 +0930
tdb: fix non-WAF build, commit 1.2.6 ABI file.
Sorry Jeremy.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
(cherry picked from commit b7cd6af5b45840a3588ad0cd50b4414f32f8b792)
commit 1c18c2887bba9b5fce2c1d55a5ae9f8d82f8708d
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Sep 24 15:45:11 2010 +0930
tdb: TDB_INCOMPATIBLE_HASH, to allow safe changing of default hash.
This flag to tdb_open/tdb_open_ex effects creation of a new database:
1) Uses the Jenkins lookup3 hash instead of the old gdbm hash if none is
specified,
2) Places a non-zero field in header->rwlocks, so older versions of TDB will
refuse to open it.
This means that the caller (ie Samba) can set this flag to safely
change the hash function. Versions of TDB from this one on will either
use the correct hash or refuse to open (if a different hash is specified).
Older TDB versions will see the nonzero rwlocks field and refuse to open
it under any conditions.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
(cherry picked from commit 2dcf76c9247ff02a1779000dbbecdc418473ca41)
commit 2cb5b8056e4295c1b6199e21fc96c7b22d7d9639
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Sep 24 15:39:43 2010 +0930
tdb: automatically identify Jenkins hash tdbs
If the caller to tdb_open_ex() doesn't specify a hash, and tdb_old_hash
doesn't match, try tdb_jenkins_hash.
This was Metze's idea: it makes life simpler, especially with the upcoming
TDB_INCOMPATIBLE_HASH flag.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
(cherry picked from commit ccac258d14dda7d8a994a7b80474ce6d85478a6d)
commit bdd2ad9fa0e64ac9cec2932bf1b0c770e403a593
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Sep 24 15:34:06 2010 +0930
tdb: add Bob Jenkins lookup3 hash as helper hash.
This is a better hash than the default: shipping it with tdb makes it easy
for callers to use it as the hash by passing it to tdb_open_ex().
This version taken from CCAN and modified, which took it from
http://www.burtleburtle.net/bob/c/lookup3.c.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
(cherry picked from commit 3258cf3f11bf7c68a2e69e1808c4551cc899725a)
commit 785410c49373bd9f0cb9c533809fb923ecb18b80
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 26 21:12:02 2010 -0700
s4-drs: fixed comment in getncchanges code
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Sep 27 04:54:43 UTC 2010 on sn-devel-104
commit b07d3c7c42a8f502ab1cee978199a9883945a019
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Sep 26 11:14:19 2010 +0200
lib/util: change tevent_req_nterror() to a macro
This way we can record where a tevent_req was finished by
tevent_req_nterror().
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Sep 27 03:18:14 UTC 2010 on sn-devel-104
(cherry picked from commit f9ba8f5d8af87c06e42a9c0c20b70171095c12b3)
commit 06274bd87080f29f0be2b49a0ea65bf98b6e0b0c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 26 21:11:42 2010 -0700
s4-gensec: fixed a valgrind error in gensec
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f9ba8f5d8af87c06e42a9c0c20b70171095c12b3
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Sep 26 11:14:19 2010 +0200
lib/util: change tevent_req_nterror() to a macro
This way we can record where a tevent_req was finished by
tevent_req_nterror().
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Sep 27 03:18:14 UTC 2010 on sn-devel-104
commit a40dcd161c417897c35b46417ea5d103ccd661b9
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 26 17:40:05 2010 -0700
s4-dns: use the generated krb5.conf in samba_dnsupdate
this gives one less thing that an admin can get wrong
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Sep 27 02:35:29 UTC 2010 on sn-devel-104
commit 93be0d6178f4339f7cc4e004c2abbffef1efdc59
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 26 17:39:33 2010 -0700
s4-provision: fixed the generation of the krb5.conf for vampire
we need a correct krb5.conf for nsupdate from bind9
commit 1622ad414fa13ab373064935a4cedbb75af870e6
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 03:47:15 2010 +0200
s3-waf: move SERVICES into a subsystem.
Guenther
commit f52fda496454b964b20e8b6d48d7c7985dce2686
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 03:39:41 2010 +0200
s3-waf: add PRINTING subsystems.
Guenther
commit cef16c26903a0bb351363ccc4ce6056f5f6e0ddd
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 03:31:19 2010 +0200
s3-waf: add two more REGF based subsystems.
Guenther
commit b7cd6af5b45840a3588ad0cd50b4414f32f8b792
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Sep 27 11:06:51 2010 +0930
tdb: fix non-WAF build, commit 1.2.6 ABI file.
Sorry Jeremy.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 2dcf76c9247ff02a1779000dbbecdc418473ca41
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Sep 24 15:45:11 2010 +0930
tdb: TDB_INCOMPATIBLE_HASH, to allow safe changing of default hash.
This flag to tdb_open/tdb_open_ex effects creation of a new database:
1) Uses the Jenkins lookup3 hash instead of the old gdbm hash if none is
specified,
2) Places a non-zero field in header->rwlocks, so older versions of TDB will
refuse to open it.
This means that the caller (ie Samba) can set this flag to safely
change the hash function. Versions of TDB from this one on will either
use the correct hash or refuse to open (if a different hash is specified).
Older TDB versions will see the nonzero rwlocks field and refuse to open
it under any conditions.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit ccac258d14dda7d8a994a7b80474ce6d85478a6d
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Sep 24 15:39:43 2010 +0930
tdb: automatically identify Jenkins hash tdbs
If the caller to tdb_open_ex() doesn't specify a hash, and tdb_old_hash
doesn't match, try tdb_jenkins_hash.
This was Metze's idea: it makes life simpler, especially with the upcoming
TDB_INCOMPATIBLE_HASH flag.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 3258cf3f11bf7c68a2e69e1808c4551cc899725a
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Sep 24 15:34:06 2010 +0930
tdb: add Bob Jenkins lookup3 hash as helper hash.
This is a better hash than the default: shipping it with tdb makes it easy
for callers to use it as the hash by passing it to tdb_open_ex().
This version taken from CCAN and modified, which took it from
http://www.burtleburtle.net/bob/c/lookup3.c.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 7afa7b8a848a6afdb586768168c95b566b7b912f
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 00:24:47 2010 +0200
s3-waf: rework static and shared list handling a little.
Guenther
commit 63c3af79817f8884292ac126b2b167934463b99f
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 27 00:24:04 2010 +0200
waf: add delimiter argument to TO_LIST.
Guenther
commit 4584a12b6a251389e1574985862ae69857d9e0f0
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 23:38:36 2010 +0200
s3-waf: add missing IDMAP modules.
Guenther
commit b894847ca0fb72d6fc6591e19ae009595036f9fb
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 21:58:58 2010 +0200
s3-waf: rework CLDAP and LIBCLI_LDAP subsystems.
Guenther
commit 9f0b88de1a17cb22349ddbaf8d62ef40dc27c6c1
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 20:30:36 2010 +0200
s3-waf: move gpext subsystem to libgpo/gpext/wscript_build.
Guenther
commit a742e0065aee09499b60f3762af50f180c42c855
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 20:10:49 2010 +0200
s3-waf: move perfcount subsystem to modules/wscript_build.
Guenther
commit 3e35cc42b55844d52d53639a49832dcb29ee140e
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 20:07:03 2010 +0200
s3-waf: move charset subsystem to modules/wscript_build.
Guenther
commit 6465dbce6d03705271ccea1dbc179973b44e87f9
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 19:59:18 2010 +0200
s3-waf: move idmap subsystem to winbindd/wscript_build.
Guenther
commit d7d33317c78c0f15b016bd217ae853dc02d71e2d
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 19:51:40 2010 +0200
s3-waf: move pdb subsystem to pdb/wscript_build.
Guenther
commit fa8971d90f4f989692e363696b44976d3aae2a65
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 19:43:43 2010 +0200
s3-waf: move auth subsystem to auth/wscript_build.
Guenther
commit 2839c8f0b2aab9693a41b844c0733af893f1f2a9
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 10:56:09 2010 +0200
s3-waf: support --with-acl-support, at least for posix acls.
Guenther
commit 89e151167cb90c08236c5eda880732031752b915
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 03:11:01 2010 +0200
s3-waf: move VFS subsystem to modules/wscript_build.
Guenther
commit ca2bbe00dc799a7783fb101c4860911727739ebd
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 10:44:27 2010 +0200
s3-waf: add some module specific functions for s3 waf build.
Thanks to Kai.
Guenther
commit 0326012db72ef06066dac0cb2608e26f98d722cc
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 21:28:36 2010 +0200
s3-waf: convert VFS into a subsystem.
Guenther
commit 8a5dee26b30e2c6e90391a2ae59db2b3a543fdb9
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 21:27:22 2010 +0200
s3-waf: convert GPEXT into a subsystem.
Guenther
commit 6fcd2437e4527d4832d2d80fe37c45f5c4c100ec
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 21:26:23 2010 +0200
s3-waf: convert PERFCOUNT into a subsystem.
Guenther
commit a6025af503f72a68f7bf7811750aac4c1e1d9db3
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 21:25:16 2010 +0200
s3-waf: convert CHARSET into a subsystem.
Guenther
commit ce568816963119ac8436742d1e89f67021b084dc
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 21:23:40 2010 +0200
s3-waf: convert IDMAP into subsystem.
Guenther
commit 525dcaee51c42ffea06ba1d0b0bc07af8c888a7e
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 21:22:02 2010 +0200
s3-waf: convert PDB into subsystem.
Guenther
commit a9b05af44724d589b42f66f932ea9684b2497038
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 21:21:38 2010 +0200
s3-waf: convert AUTH into subsystem.
Guenther
commit 99ac4e92ff3205f80ef0fe823cbbd05eed7d2bb6
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Sun Sep 26 11:47:47 2010 -0700
s4-ldbmodules: Added new module aclread to handle access checks on LDAP search
It is currently enabled only if the request comes from the LDAP server, and is
disabled by default. Use acl:search=true in smb.conf to enable it.
It filters out all objects the user is not allowed to see, and all attributes
the user does not have RP on. Extended access not supported yet.
commit 93ba17285d8afb0d6e4040bf443e88ca4ad5147e
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Sun Sep 26 11:39:36 2010 -0700
s4-tests: Added tests for search checks on attributes
The ACL reach tests are in the knowfail because aclread module is not
enabled by default
commit 3e08965369c4a03c5c7b939f72a1b3ff0874059f
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Sun Sep 26 11:37:00 2010 -0700
s4-tests: Removed search tests with anonymous credentials as they fail againts Windows
These tests will fail in make test as well if the acl_read module is enabled.
commit dc9991ab0e191fe5b7dadbcf1d9e57b9ecbd7958
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Sun Sep 26 11:32:22 2010 -0700
s4-dsdb: Added a function to check access on a particular object by its guid
Similar to dsdb_check_access_on_dn, only it searches by guid.
commit 4d3f528411301d0bc48110921a1ecb4b4f752b1e
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Sep 22 12:50:51 2010 -0700
s4-dsdb: A helper to determine if an attribute is part of the search filter
commit b77edca7f8728fbba8d4a3e6fe9f226793dad9cb
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Sep 22 12:41:44 2010 -0700
s4-dsdb: Moved some helper functions to a separate file
We need these to be accessible to the aclread module as well.
commit 3d0e36bc87bd23e3d1bff7468db2eb99531d8d87
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Sep 14 10:51:14 2010 +0300
s4-ldap: Added a control to apply the access checks on read via LDAP
commit 5ffacff5c4a4799aacf97cbc28581f8e302c145c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 26 12:50:06 2010 -0700
autobuild: use killbysubdir if available
this will reduce the spurious test output while processes are being
killed
commit cc79f092ba098543d253884dc9dc2be3c30cd282
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 26 11:46:01 2010 -0700
autobuild: exit immediately if no changes from master
we don't need to test master in autobuild
commit 065fc8bc10de0c2bbb6f369bd03a70efc13ca12f
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 20:25:15 2010 +0200
s3-waf: convert LIBGPO into a subsystem.
Guenther
commit be9badc2f63aeccc08ffae7358b7d6c538c4eb63
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 19:44:53 2010 +0200
s3-waf: convert PLAINTEXT_AUTH, SLCACHE and DCUTIL into subsystems.
Guenther
commit 51ea39c5c87aa78949b32ee6a549de22385f73c1
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 26 21:04:39 2010 +0200
s3-vfs: fix the build of nfs4_acls.c
Guenther
commit 0fd69f570883847f975033bc1a6306b00a5ae0d2
Author: Andreas Schneider <asn at samba.org>
Date: Sun Sep 26 19:28:07 2010 +0200
s3-waf: Link smbd against RPCECHO.
commit d0739d436e50f23ce8378cd3645f6cac74afbc13
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 19:21:56 2010 -0700
s3: Remove talloc_autofree_context() from nametouid()
pass is freed a few lines down
commit d4bfb5c48847fa73cdf10ede0d72b90ac45a1ef1
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 19:18:46 2010 -0700
s3: Remove talloc_autofree_context() from guest_user_info()
pwd is freed a few lines down
commit 227945d31c23b2b76c312cef73370865e1722f3a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 19:16:53 2010 -0700
s3: Remove talloc_autofree_context() from getpwnam_alloc()
This is given to the memcache a few lines down
commit 3b2efdc7d7fe1346e363e6df679624150a0f95d7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 18:34:03 2010 -0700
s3: Remove talloc_autofree_context() from notify_internal_parent_init()
commit 64f64e5d9aa8b495b78679df49aba92e48a1ffa5
Author: Jeremy Allison <jra at samba.org>
Date: Sun Sep 26 02:59:32 2010 -0700
Fix bug #7698 - Assert causes smbd to panic on invalid NetBIOS session request.
Found by the CodeNomicon test suites at the SNIA plugfest.
http://www.codenomicon.com/
If an invalid NetBIOS session request is received the code in name_len() in
libsmb/nmblib.c can hit an assert.
Re-write name_len() and name_extract() to use "buf/len" pairs and
always limit reads.
Jeremy.
(cherry picked from commit 03841f9e44950811907ea83e8caedac2a80bce06)
commit 03841f9e44950811907ea83e8caedac2a80bce06
Author: Jeremy Allison <jra at samba.org>
Date: Sun Sep 26 02:59:32 2010 -0700
Fix bug #7698 - Assert causes smbd to panic on invalid NetBIOS session request.
Found by the CodeNomicon test suites at the SNIA plugfest.
http://www.codenomicon.com/
If an invalid NetBIOS session request is received the code in name_len() in
libsmb/nmblib.c can hit an assert.
Re-write name_len() and name_extract() to use "buf/len" pairs and
always limit reads.
Jeremy.
commit 80f8419ef25baa7b2f6d78469084a2ee80296fa1
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 22 06:23:17 2010 +0200
s4:schannel: handle move flag combinations in the server
This fixes some testsuites in the CIFS plugfest.
metze
commit 7dbfeb0dc040889244a1110940af2d070f823374
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 25 19:14:42 2010 -0700
s4-auth: fixed the SID list for DCs in the PAC
the S-1-5-9 SID is added in the PAC by the KDC, not on the server that
receives the PAC
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Pair-Programmed-With: Stefan Metzmacher <metze at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sun Sep 26 07:09:08 UTC 2010 on sn-devel-104
commit 65fc066ef43786faae9d4adf8f0941d86315f398
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 25 19:43:13 2010 -0700
autobuild: fixed detection of master changes
commit c0a1cbda5d70d2a6e0ffedb07cfaaadc01b0fc8d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 25 19:23:02 2010 -0700
s3-selftest: added samba3.posix_s3.rap.printing as a knownfail
this fails intermittently on sn-devel, Günther suggests adding this to
knownfail for now
commit f1c2702b268ce2f48cab793422b3c0b7954e9a38
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 25 19:13:28 2010 -0700
idl-pac: add a decoder for the pac info ctr
Pair-Programmed-With: Stefan Metzmacher <metze at samba.org>
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f33fc39f37c21e0d1d5cf926db1a742395f25ea7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 25 17:53:14 2010 -0700
s4-drs: use the system sam_ctx for updaterefs
this is needed for RODC clients calling updaterefs
commit f3ceec9b1b9e0f2a4a40cf25cacbd157fb690de4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 25 17:52:43 2010 -0700
s4-spn: don't try to do SPN updates as a RODC
we don't have the permissions to do it
commit 95b56aabcbfe2754a34eac627a6bc7226cbd3f17
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 24 05:09:15 2010 +0200
libcli/ldap: let ldap_full_packet() use asn1_peek_tag_needed_size()
This allows us to read a full packet without read byte after byte
or possible read to much.
metze
commit 182a69c5be7706fbb542694c7be51d499b61c98d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Sep 23 18:10:28 2010 +0200
lib/util/asn1: add asn1_peek_tag_needed_size() and asn1_peek_full_tag()
We need a way to ask for the length of a tag without having the full
buffer yet.
metze
commit e628bf1081929684d888353101296cc17d9f3ae4
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 22 20:31:06 2010 +0200
libcli/util: let tstream_read_pdu_blob_* cope with variable length headers
metze
commit 0b5a556b76f0d05457c1c370b0f81fba124190a3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sun Sep 26 12:34:58 2010 +1000
s4-kerberos Don't segfault if the password isn't specified in keytab generation
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet at samba.org>
Autobuild-Date: Sun Sep 26 03:29:34 UTC 2010 on sn-devel-104
commit c680a42504f8a3924a594c0b8363665ab6b1f2f4
Author: Matthieu Patou <mat at matws.net>
Date: Sun Sep 26 04:58:37 2010 +0400
upgradeprovision: fix a typo
commit 873bd989049e4953afb478ca5518984b26870326
Author: Matthieu Patou <mat at matws.net>
Date: Sun Sep 26 04:57:04 2010 +0400
upgradeprovision: Fix a bug with renamed entries
The SD was not refetched for renamed entries, resulting with a try to
add an additional SD when there was already one.
commit 43274c9071ec357fe629fdfa7966a772d1844188
Author: Matthieu Patou <mat at matws.net>
Date: Sat Sep 25 07:36:12 2010 +0400
upgradeprovision: fix a bug with not updated links
commit a8f8f277ff6c8dc9ea060e53c6debbd30dbd87f7
Author: Matthieu Patou <mat at matws.net>
Date: Tue Sep 7 17:57:52 2010 +0400
s4 provision: start with gpo of version 0 and be consistent between different policies
commit 76d87b7fb51dfab8f85686bde7fed67701bc9092
Author: Matthieu Patou <mat at matws.net>
Date: Sat Sep 18 08:15:36 2010 +0400
s4 upgradeprovision: fix a bug with empty reference objects
Thanks to lukas at eecs.qmul.ac.uk for poiting it to me
commit 3c95d4d31347a2491d2c2f593f2e12f9a389e66c
Author: Matthieu Patou <mat at matws.net>
Date: Tue Sep 7 17:50:39 2010 +0400
s4 upgradeprovision: Copy versionNumber if not present it helps to make gpo valid
commit dfa468fd088b30ed1dfdbaabd6b569c600838706
Author: Matthieu Patou <mat at matws.net>
Date: Tue Sep 7 17:45:55 2010 +0400
s4 provision: Make GPO folder group writable
The group of this folder is domain administrator and it seems sensible
that all domain administrators have the right to modify the gpo (they
have it at the NT ACLs level ...)
commit 8a48ca4e3f2509571f0910165c9e8763864e9c7a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 16:31:18 2010 -0700
s3: Remove talloc_autofree_context() from change_to_guest()
pass is freed at the exit of this routine
commit 4ebbbdd011aae397c79cc5a83a729e547480c112
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 16:30:06 2010 -0700
s3: Remove talloc_autofree_context() from swat
In both cases, pass is freed immediately
commit bf6ca13346e67107d821cec9edf4f767defa490e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 16:28:21 2010 -0700
s3: Remove talloc_autofree_context() from smbpasswd
In both cases, pwd is freed immediately
commit 77e96d3229ea95d220a663aa99c7d376f3619d41
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 16:27:04 2010 -0700
s3: Remove talloc_autofree_context() from net_sam_provision()
commit 2b601d72d55bb6cbdd1e47b002782159e0e589bf
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 16:24:16 2010 -0700
s3: Remove talloc_autofree_context() from lookup_unix_user_name()
pwd is freed in this routine immediately
commit 9b2d3142c1751a55d942ee8cb6bdcdee713989c2
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 16:23:11 2010 -0700
s3: Remove talloc_autofree_context() from pdb_init_ads()
commit 2d8b65066e632c1a96b150e0cb5f7c361471ac31
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 16:20:11 2010 -0700
s3: Remove two talloc_autofree_context() calls
Both allocated blobs are freed in their routines
commit 997a64f6fb11e19d78c0468d86c0c545a4e586d1
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 16:02:04 2010 -0700
s3: Remove talloc_autofree_context() from serverid_db()
If we needed an explicit tdb_close() in the destructor, we'd be hosed
long ago.
commit 34c0b166b6abd1d52e4c07a798f41a245d39a426
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 15:59:06 2010 -0700
s3: Remove talloc_autofree_context() from serverid_parent_init()
commit 8c55a9b459a7f54ab505954f2d1d66538dd98d1b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 15:56:33 2010 -0700
s3: Remove talloc_autofree_context() from messaging_tdb_parent_init()
commit c4efae77fae88163b119ac71e8ed3220fb1f73b4
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 15:50:33 2010 -0700
s3: Remove talloc_autofree_context() from ctdb_read_req()
commit 86919606c7bb9f80200799a23fb491a9bb7f2f14
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 15:46:36 2010 -0700
s3: Remove talloc_autofree_context() from get_root_nt_token()
The memcache_add_talloc() later on steals it anyway
commit 69ef2b37050d44394c4e68c315a5af0afe332656
Author: Matthieu Patou <mat at matws.net>
Date: Sat Sep 25 21:13:07 2010 +0400
upgradeprovision: use the same case for hostname in reference provision as in the current provision
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Sun Sep 26 01:21:52 UTC 2010 on sn-devel-104
commit e9560722ca01b3a2f23f5750292c0e6450141675
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 25 17:35:55 2010 -0700
autobuild: added --retry option
this allows the build to auto retry if master changes
commit e8fec1d3c6c9b8b08de45ad724fe1eedb22fba7d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 25 00:07:57 2010 -0700
s4-dns: the DNS/${HOSTNAME} SPN should be on the DNS account only
commit b8444b64a32d698b01acce2a1307723cc69a472b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 24 23:25:49 2010 -0700
s4-provision: switch to dns-HOSTNAME instead of dns
We now use a host specific account name for the DNS account, which is
the account used for dynamic DNS updates. We also setup the
servicePrincipalName for automatic update, and add both DNS/${DNSDOMAIN}
and DNS/${DNSNAME} for compatibility with both the old and new SPNs
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 00791652f4a4894ecffbca38d1f9bb4584fb2635
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 25 16:32:55 2010 -0700
autobuild: enable ccache
commit d9a0546666c4628dbf577c6525ad64f3ee3ef077
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 25 16:18:00 2010 -0700
autobuild: added --fix-whitespace option
commit 5d5ae099d16d1902e4a85adec5b1e6a9085b6118
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 25 15:53:32 2010 -0700
autobuild: added --rebase-master and --push-master
Pair-Programmed-With: Stefan Metzmacher <metze at samba.org>
commit 91b62a274411477f67f50f0f653dd17bf1e65c1d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 25 15:30:13 2010 -0700
autobuild: added a EDITOR script to mark successful autobuilds
Pair-Programmed-With: Stefan Metzmacher <metze at samba.org>
commit f7fb272e953b743ca9830618af9b1c290701ffec
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 25 14:09:11 2010 -0700
autobuild: added --rebase option
this allows you to rebase on a URL before starting
commit a09b241ebb04dbc0285e5bee0e67027e055f719a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 25 12:51:51 2010 -0700
script: added autobuild.py automatic build test script
this can be used to run all tests in parallel, in free git clones
commit f1b3c4dd387ac04615c3443d5de1059d2dc59ba4
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Sep 26 02:13:39 2010 +0300
s4-possibleinferiors.py: Fix usage of 'paged_search' module for remote LDB connections
commit 11785600be99f3a5b6edeef6f9efe4898abeb3d8
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Sep 26 00:21:19 2010 +0300
s4-fsmo.py: Fix usage of 'paged_search' module for remote LDB connections
commit cf5777111616a2f5239b19b5b95974dd47136c48
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Sep 26 00:20:20 2010 +0300
s4-delete_object.py: Fix usage of 'paged_search' module for remote LDB connections
commit 04826b65f6699bb6455aa1f2800a26400567d339
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Sep 26 00:18:35 2010 +0300
s4-sec_descriptor.py: Fix usage of 'paged_search' module for remote LDB connections
commit 7a7068f2ed6a21e6eab06021a3262217fe0afaf8
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Sep 26 00:13:39 2010 +0300
s4-ldap_schema.py: Remove unused LDB connection to GC port
commit 8780d2934bee14664e44643f70c90b609acda6b0
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Sep 26 00:11:08 2010 +0300
s4-dsdb_schema_info.py: Fix usage of 'paged_search' module for remote LDB connections
commit 7e1e7b16f6c2184554c429e039227efd6c7ed839
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Sep 26 00:10:24 2010 +0300
s4-ldapcmp: Fix usage of 'paged_search' module for remote LDB connections
commit 9e6fa8553cb7ca7fece76646c30f7fcb2a86a83a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Sep 26 02:25:03 2010 +0300
s4-ldapcmp: Extend ldapcmp to be able to compare more than one context at a time
If no arguments given, ldapcmp will compare all NCs
commit dda1dd63d3c463a9a26d85acf4a9f7cc53396613
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 15:40:54 2010 -0700
s3: Avoid an explicit ZERO_STRUCT
commit 6ee0d866c2d7dbdede8511fb906c10f6118fa87d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 15:35:44 2010 -0700
s3: Lift talloc_autofree_context() from make_auth_context_fixed()
commit 242e3296108f513b286787ac12ea768b9c4ed954
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 15:31:29 2010 -0700
s3: Lift talloc_autofree_context() from make_auth_context_subsystem()
commit 2d8be31e880bcd1b7444ffd45295cc9948079b6f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 14:51:45 2010 -0700
s3: Lift talloc_autofree_context() from make_auth_context_text_list()
commit 61861e4b7d37d5b483360c0e9faa3dd3a1d0e9f6
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 14:50:46 2010 -0700
s3: Lift talloc_autofree_context() from make_auth_context()
commit b12744513ec24a50cc838bc6273513d3ac3ddba9
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 14:47:42 2010 -0700
s3: Fix a memleak in make_new_server_info_system()
commit 15a3afbd192cb8c8e4a248aec8f98141af41b8c1
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 14:47:31 2010 -0700
s3: Remove talloc_autofree_context() from init_system_info()
commit e4591eb8c1e8f800da1304ac0321beb6db4a344f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 15:44:55 2010 -0700
s3: Fix a typo
commit a0d3ffbf924cf203fc8dc765954823375645f0b7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 14:59:42 2010 -0700
s3: Fix some 64-bit warnings
commit 0a18f89e8a1599bae4ac96b6f3ab358797881ef7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 23 17:40:35 2010 -0700
pyteven: Fix build warnings.
commit 296ff486e41d309493c9ddb195578cb6355e2b36
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 23 17:29:53 2010 -0700
Check in configure/Makefile for those projects that have waf as primary build system.
commit e68afdc02f7ead1da8d0e11cf13a1845eebe7d48
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 23 17:13:56 2010 -0700
pytevent: Add more tests.
commit ddb3c48f1adf3e3202ad904ba9de4027c7e140df
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 23 16:50:36 2010 -0700
pytevent: Fill in client side fnuctions.
commit ba5d034d5318d340aefa2b3bd2600c0cc43c934b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 23 15:14:57 2010 -0700
selftest: If a testsuite is killed by a signal, let selftest die.
commit 465cff7531731929b963085a13ef9a74100858e5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 23 14:28:02 2010 -0700
tevent: Add infrastructure for python bindings.
commit 1f22b63b3453e7d8919dcbdd41ea62b34001754e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 23 14:01:02 2010 -0700
tevent: Switch to using waf by default.
commit 2f0857834e889a33b85e1c0aa46674fd0cd1a27c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 10:56:58 2010 -0700
s3: Fix bug 7470
S_IREAD and S_IWRITE are not standard.
Thanks to Joachim Schmitz <schmitz at hp.com> for reporting!
commit e81db37a87b83b6ff10ab513eb4a4d06a2c20b17
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 25 10:56:58 2010 -0700
s3: Fix bug 7470
S_IREAD and S_IWRITE are not standard.
Thanks to Joachim Schmitz <schmitz at hp.com> for reporting!
commit 85ba79063f35b5a073b3670b82daa2aa6dfb40bb
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 24 12:50:13 2010 -0700
ldb: mark the location of a lot more ldb requests
commit 5568fcd88b2a32ba389694ee35ab521af1ea7394
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 24 12:09:26 2010 -0700
s4-dsdb: added tagging of requests in dsdb modules
this allows you to call dsdb_req_chain_debug() in gdb or when writing
debug code to see the request chain
commit f4893e7d33b7c9aaafba5ce8657972d3eb600257
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 24 12:07:16 2010 -0700
ldb: added request location tracking
this is used to help debug async ldb requests. The ldb request handle
now contains a location string and the parent request pointer. This
allows us to print a backtrace of ldb requests in the dsdb modules.
commit d72dbe847e0db605e950e6656d758cb60bf628a7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 24 10:05:07 2010 -0700
s4-repl: make getncchanges a bit less verbose
this should reduce some of the clutter in make test
commit c53210bf0609de982d0b36f76198defc8a4502da
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 23 19:51:36 2010 -0700
s4-net: added --ipaddress option to net commands
this allows override of server IP address, bypassing NBT or DNS name
resolution of DCs
Pair-Programmed-With: Stefan Metzmacher <metze at samba.org>
commit 3d7a4cf5b68a1adcc4b7b53819ffc0c580e92da0
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 23 19:52:19 2010 -0700
s4-pynet: added server keyword to Net() initialisation
this sets up server_address in the libnet context
Pair-Programmed-With: Stefan Metzmacher <metze at samba.org>
commit 805d9425c2ee06e1695e451500d1ffbf90ca8e72
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 23 19:50:00 2010 -0700
s4-libnet: added server_address option in libnet context
this is used by libnet_LookupDCs
Pair-Programmed-With: Stefan Metzmacher <metze at samba.org>
commit a360428588467c29e8eb40b27a9db525d4c2ea96
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 23 19:49:12 2010 -0700
s4-finddcs: allow override of server IP address
this will be used to implement --ipaddress option to net commands
Pair-Programmed-With: Stefan Metzmacher <metze at samba.org>
commit bd228f98588919880ca3a9e4c1f23e17ce78aca5
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 23 19:48:03 2010 -0700
s4-repl: don't store repsFrom on DNs other than NC heads
we don't want a refsFrom on the Rid Manage$ DN
Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
commit 781796c557025f4bf8c62b903acc1be64acc35b8
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 23 19:46:27 2010 -0700
s4-pycredentials: avoid a tallloc_free on ref
with the new py object structure, we need to unlink not free
commit a1d52540a377c587552bcc7d5cc085d3774e1c01
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 23 15:40:20 2010 -0700
s4-repl: use namingContexts from rootDSE to initialise partition list
this is preferable to looking for the hasMasterNCs attribute on
nTDSDSA objects.
commit 370446769dc0fff752f9fb40c7dcf878cc5cd92e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 23 15:39:37 2010 -0700
s4-repl: force on WRIT_REP when we are a writable replica
this ensures we always mark ourselves as writeable when we are not
an RODC
commit 3aea12d0ab70997355904aa6625fce6015657aa7
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 23 15:38:07 2010 -0700
s4-repl: use dreplsrv_partition_source_dsa_by_guid to find source dsa
this avoids a list walk in the calling code
commit ca847b593d83f7ce09473469bd79531fdc8d0359
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 23 15:33:36 2010 -0700
torture: fixed a valgrind error in SMB2-CREATE
the lock structure had uninitialised elements, so we sent a random
length.
This also adds a 1 byte write, so there is real data that is being
truncated with the 2nd open
commit 99f0891944e8df91b98934b6c57f9c68dfed8722
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Sat Sep 25 10:19:11 2010 -0700
s4-dsdb: Fixed a call to the wrong ops function in dsdb_module_search_dn.
commit 8afb252abae78715d3525c1e3d3a17dbdbbb252d
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 23:50:23 2010 -0700
s3-waf: fix debug2html.
Guenther
commit f3561e5cfc0779f7b60bbe99887d505c05502232
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 23:37:43 2010 -0700
s3-waf: add missing idmap module objectfiles.
Guenther
commit f2316f86fa6db6dcba9220e017ce32bb176b15e7
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 22:14:22 2010 -0700
s3-waf: convert DISPLAY_SEC into a subsystem.
Guenther
commit 5d54dc2f9716db434b0b184d39df25db68ea256c
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 21:52:07 2010 -0700
s3-waf: fix libnetapi and libaddns unresolved symbols.
Guenther
commit 96e982c2ba41e5aade96382ae152b6d76800e112
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 21:46:39 2010 -0700
s3-waf: install header files for our libraries.
Guenther
commit 4e6d7fa527e860fb2420b1b1dddbec167fb8f533
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 17:06:16 2010 -0700
s3-waf: convert LIBEVENTLOG into a subsystem.
Guenther
commit bd5f932eef1b44f9d553a3faff941e7bfaca3bf5
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 17:05:44 2010 -0700
s4-waf: add NDR_EVENTLOG.
Guenther
commit 204ba6577272530edb34ada9389b491c5fd60361
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 17:18:03 2010 -0700
s4-waf: rename subsystem NDR_LSAPRC to NDR_LSA.
Guenther
commit db4bec3f4c4cf3940c6d39315af17bc621bbe99b
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 16:45:41 2010 -0700
s3-waf: convert LIBNET et al into subsystems.
Guenther
commit fd9ae125bc177763874af54e0776ebb005a4ae00
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 16:13:55 2010 -0700
s3-waf: convert PASSWD_UTIL into a subsystem.
Guenther
commit 464666b6c4149cd9003bdb3f425b46df07154156
Author: Volker Lendecke <vl at samba.org>
Date: Fri Sep 24 19:20:06 2010 +0200
talloc: Add a warning about talloc_autofree_context() and dlclose()
commit e325a5b67453fd8cfe06d3d0d6c7c5ab7e4ad772
Author: Volker Lendecke <vl at samba.org>
Date: Fri Sep 24 19:20:06 2010 +0200
talloc: Add a warning about talloc_autofree_context() and dlclose()
commit e90c707f144a362a708f5d2f3eb85192dc98980a
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 12:42:05 2010 -0700
s3-waf: convert READLINE into a subsystem.
Guenther
commit 929b22024a4912430ccaedf12bc2962aeac90f63
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 12:27:57 2010 -0700
s3-waf: convert PROFILE into a subsystem.
Guenther
commit 0541e07fd93b58ef18451010a2555864e0f0d71e
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 12:13:27 2010 -0700
s3-waf: convert AFS_SETTOKEN and AFS into subsystems.
Guenther
commit fa3eb7f5d4cce88afc9edad81cfbc45fd959fcfd
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 12:04:19 2010 -0700
s3-waf: let winbind depend on SRV_NDR_WBINT and RPCCLI_NDR_WBINT.
Guenther
commit 1bec7e56a2205078823eb42ea2cca7c50ba16826
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 11:43:40 2010 -0700
s3-waf: convert LOCKING into a subsystem.
Guenther
commit 2b767853118abf5434f1e0feb29b5d6a4956d290
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 11:28:44 2010 -0700
s3-waf: add RPC_NDR_WBINT to librpc/wscript_build.
Guenther
commit 44b0a033673430990b4514b9cfdf6e5459e64e80
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 11:16:53 2010 -0700
s3-waf: add autogen-waf.sh to source3.
Guenther
commit c54881b2e1e102beeec2b76e64654c514d7a93d4
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 24 11:12:39 2010 -0700
s3-waf: add wscript_build to s3 librpc dir for NDR_ subsystems.
Guenther
commit c9b19d9b696d8528e59eade89695c60a40461ec9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 24 14:17:58 2010 +1000
s4-kerberos Rework keytab handling to export servicePrincipalName entries
This creates keytab entries with all the servicePrincipalNames listed
in the secrets.ldb entry.
Andrew Bartlett
commit 9788a681adf405f10e6aa2a2af5e5424a4c840ac
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 11 16:13:33 2010 +1000
s3-krb5 Fix Kerberos on FreeBSD with Samba4 DCs
The idea of this patch is: Don't support a mix of different kerberos
features.
Either we should prepare a GSSAPI (8003) checksum and mark the request as
such, or we should use the old behaviour (a normal kerberos checksum of 0 data).
Sending the GSSAPI checksum data, but without marking it as GSSAPI broke
Samba4, and seems well outside the expected behaviour, even if Windows accepts it.
Andrew Bartlett
commit e54527f19f676eb8f604b1353cfb63c89d3a17d2
Author: Jeremy Allison <jra at samba.org>
Date: Thu Sep 23 21:45:53 2010 -0700
Fix bug 7694 - Crash bug with invalid SPNEGO token.
Found by the CodeNomicon test suites at the SNIA plugfest.
http://www.codenomicon.com/
If an invalid SPNEGO packet contains no OIDs we crash in the SMB1/SMB2 server
as we indirect the first returned value OIDs[0], which is returned as NULL.
Jeremy.
commit d8814b1a48adaf1f428c7119b97c87b69123e6fa
Author: Jeremy Allison <jra at samba.org>
Date: Thu Sep 23 21:44:24 2010 -0700
Fix bug 7694 - Crash bug with invalid SPNEGO token.
Found by the CodeNomicon test suites at the SNIA plugfest.
http://www.codenomicon.com/
If an invalid SPNEGO packet contains no OIDs we crash in the SMB1/SMB2 server
as we indirect the first returned value OIDs[0], which is returned as NULL.
Jeremy.
commit 0a1d153b256e45d7862235ab0fdaa9e92ae883f2
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 18:15:09 2010 -0700
s3-waf: add check for seteuid method.
Thanks to Kai and Metze!
Guenther
commit 00be7ea4130955021704066401f6d47bd1c717e7
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 16:40:43 2010 -0700
s3-waf: fix the build.
Guenther
commit 260ad237273d3a1c34811a970680488ad3a83013
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 16:39:41 2010 -0700
s3-waf: add more diroptions.
Guenther
commit 0b0a717255e8249b31570c2289f7b73ddc678ea9
Author: Kai Blin <kai at samba.org>
Date: Thu Sep 23 16:29:06 2010 -0700
s3 waf: more correctly generate symbols for pdb/vfs/auth/etc. modules
commit 0bc3e159316b437a2ba2253c7b7893a1f3049a0e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Sep 23 17:32:46 2010 +1000
selftest Don't run 'speed' tests for very long
'make test' is too long, and the main thing we need with these
tests is to ensure they don't segfault - there is no need to benchmark
every box in the build farm, and we have no 'fail' metric in any case.
Andrew Bartlett
commit b00dc8399290988dbc8fd3d04fb9654d026d8dd8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Sep 23 17:11:24 2010 +1000
s4-selftest Run slow tests less often
These tests don't need to be run twice - basic parsing errors that
will show up with the various options will be caught quite well
by other tests.
Andrew Bartlett
commit e823cb8cacd9301609314ed52d2b51856294e58c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Sep 23 17:02:31 2010 +1000
s4-libnet_join Use header constant for 'all encryption types' in msDS-SupportedEncryptionTypes
commit f03913e2ccfcd75a9d569a5b6e9152b091e0014f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Sep 23 17:01:44 2010 +1000
s4-kerberos Move 'set key into keytab' code out of credentials.
This code never really belonged in the credentials layer, and
is easier done with direct access to the ldb_message that is
in secrets.ldb.
Andrew Bartlett
commit 062b0ebc04406a24c804ffe1d3a95eb0b4500199
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Sep 23 16:54:06 2010 +1000
s4-libnet Remove libnet_samdump_keytab() and net samdump keytab
There is a beter implementation of this in Samba3, and this uses
functions in the credentials code that I want to remove.
The same functionality is available by running 'net samsync' and
'net export keytab'. This isn't a DRS-backed utility, it only
used netlogon replication.
Andrew Bartlett
commit f9698cfc970215a77e8ad60afb67f68058093b33
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Sep 23 19:41:20 2010 +1000
s4-kerberos Fix kerberos_enctype_bitmap_to_enctypes()
The previous code never worked
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 964f9927798b884ddde1c78902d6d81a1d93c8d0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 19 20:34:08 2010 +0200
s4:repl_meta_data - also on delete operations the new RDN attribute has to be casefolded correctly
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 30afa657851ba1785f1ecfb8f684c233b9157cc1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 19 22:39:44 2010 +0200
s4:lazy_commit LDB module - the "show_deleted" control is initialised by the "show_deleted" LDB module
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 29e3806b0e60df2fbadaae248011db7524a71797
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Sep 17 08:49:07 2010 +0200
s4:rootdse LDB module - make use of "dsdb_forest_functional_level"
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 9123bcbf77260551bd2b97e93445ae0e67ad89a3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Sep 17 10:47:08 2010 +0200
s4:ldap.py - add tests for the "dsServiceName", "serverName", "dnsHostName" and "ldapServiceName" rootDSE attributes
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 76c346dfc186faf2bc75ecd37b71b182d24e71f4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 18 21:46:51 2010 +0200
s4:provision - rootdse - remove static "ldapServiceName" attribute
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 1d9a3481446e99911aaa1d55561886f1970db316
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 18 21:44:26 2010 +0200
s4:rootdse LDB module - introduce dynamic "ldapServiceName"
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit ccc67a03d69ed5c3c5c6b8fbed5d9e85ea4fd295
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 18 20:54:33 2010 +0200
s4:provision - rootdse - remove static "dnsHostName" attribute
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 681106af4f34a1b9ef70f7f6cc51216a5f3f4194
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 18 20:50:25 2010 +0200
s4:rootdse LDB module - introduce dynamic "dnsHostName" attribute
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 5f60f5e5e7c973d20962afd9318edb1365530f89
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Sep 15 18:44:00 2010 +0200
s4:provision - rootdse - remove the static attribute "serverName"
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 5fd7bc85640a7a8730daf379bfe314a91a02577f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Sep 15 18:36:03 2010 +0200
s4:rootdse LDB module - make "serverName" dynamic
This helps to fix bug #7347. "dsServiceName" cannot be made dynamic in such a
simple way since it's already needed on LDB initialisation time.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e446ef1c3fc3ebcc511caf5d1d94804cfb7a8202
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Sep 16 14:37:11 2010 +0200
s4:rootdse LDB module - remove "priv" checks where not needed
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit f1535694f76afdd1c1d5db4240abe0f94b90f8c5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Sep 15 18:24:53 2010 +0200
s4:rootdse LDB module - better that the "edn" control handling is done last
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit b6eb1b207222ef776d1e3ec6bdf807dbd1b85911
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 18 20:42:18 2010 +0200
s4:torture/rpc/netlogon.c - remove the dependency on "samdb_server_site_name"
Since this one relies on the right server loadparm context which we aren't able
to provide over torture.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 65ca9e691bb12d37de39e382c897d7b41d846c26
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Sep 16 17:31:56 2010 +0200
s4:provision.py - support still not fully provisioned trees regarding the rootDSE module
We simply override the NTDS settings path manually
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 439d7ff935f845ae381e8650e7e2b80d65e929d2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Sep 16 16:58:18 2010 +0200
s4:provision.py - make more use of "names.serverdn" on NTDS settings location
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 679eb33e798efbfdaebb9cf0cd3977bb945e8075
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Sep 15 15:19:38 2010 +0200
s4:samldb LDB module - it isn't allowed to create user/computer accounts with a primary group specified
It can only be changed afterwards. We allow a "relax"ed exception for the
provision state since we need this for the guest account.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 2e913994f2455019a3b99cb19df2f319b7218e17
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Sep 15 15:01:00 2010 +0200
s4:dsdb/common/util_samr.c - remove the primary group specifications
Now also the primary group detection/change on modify operations does work
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit c03ec03212ff08b56710f1935caa6aa7f6cb529f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Sep 15 14:57:59 2010 +0200
s4:ldap.py - test default primary groups on modify operations
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit f46c6233e75509736f0c2a1c376ccab5c0f22fd2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Sep 15 14:13:18 2010 +0200
s4:samldb LDB module - support the "userAccountControl" -> "primaryGroupID" detection also on modify operations
Also requested by MS-SAMR 3.1.1.8.1.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 72bb8c3fb37096ebb3c9bcc23032769c395997f4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Sep 15 13:49:24 2010 +0200
s4:ldap.py - enhance SAM user/groups behaviour test regarding default primary groups
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 4492d0a6319c4886f508b95a0fbff970c45c682b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Sep 15 13:36:04 2010 +0200
libds:flag_mapping.c - support also the default read-only DC primary group
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit f45848e33afecc7b0494b554af48a9e8107cb4cf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Sep 16 23:24:02 2010 +0200
s4:python/samba/join.py - add a comment to point out that NCs have to be assigned dynamically
We could also have DNS partitions (only to make one example).
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 8223342e50247cbfb7d3244cf717944f1d93a676
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Sep 16 23:19:32 2010 +0200
s4:python/samba/join.py - use constant for DC function level
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit f84724cebcb7ac3ea47620854a318a4ac7c23688
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Sep 15 18:21:43 2010 +0200
s4:rootdse LDB module - make more use of LDB result constants
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 08298457d4f0762cd5245a865d9b3a09cd74353e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 19 09:40:13 2010 +0200
s4:rootdse LDB module - fix comment typo
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 7a1a0cde2e4b3f1ef43de9021dcc1e60da87089b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 18 10:06:03 2010 +0200
s4:password_hash LDB module - don't assign "lp_ctx" twice
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 9ca8214978246b07326973bc7534682bb27e7084
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 19 13:00:38 2010 +0200
ldb:ldb_match.c - fix counter variable type
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 0f163eb61113424e55887a9d0f2a7a89b109c4d0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Sep 16 18:08:56 2010 +0200
ldb:ldb_msg_add_linearized_dn - handle NULL DNs
Don't let the routine crash
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e59cdaf40eba6afbad987bc9de8442a72433a0c9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Sep 20 09:23:37 2010 +0200
s4:rootdse LDB module - fix counter types
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 1a1be71eb80df3c75ddb61350b45a43c124cf2b3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 19 17:52:42 2010 +0200
s4:extended_dn_in LDB module - fix a counter type
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 6c349d479f3ec553fcfca1d6c60ad7cbec5d938d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Sep 16 14:02:21 2010 +0200
s4:drepl_out_helpers.c - fix a counter type
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 80f3e92d0a2f0844de6041a89f3e36769c2803ce
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Sep 16 22:08:10 2010 +0200
s4:rpc_server/dcerpc_server.c - fix a "const" warning
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit ae60328b1c40d1d3c89b822cb0c5c62fde953674
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Sep 16 22:05:48 2010 +0200
s4:libcli/resolve/file.c - fix "const" warning
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 8ba3eacf6b8ef4e6e681d4626b1efd99b04eca33
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 15:33:43 2010 -0700
s3-waf: remove duplicate CONFIGFILE from dynconfig.py which caused sysconfigdir
to be ignored.
Guenther
commit b828dc055e9e3c6f1f174e191fb3bbc09528ec6a
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 15:13:23 2010 -0700
s3-waf: fix the build of nsstest with --enable-nss-wrapper.
Guenther
commit 0261b96bd86ed8026328bc3d1516dcb97a2ee84c
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 13:55:18 2010 -0700
s4-waf: move the RPC_NDR subsystems to main librpc wscript_build.
Guenther
commit 859f3cdd4a9d282594f195b032a65ea1c2db2703
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Thu Sep 23 11:45:16 2010 -0700
s4/eventlog6: Add dummy implementation for calls 0x5 and 0xB
The code is enough to let us run all dcdiag tests against samba4 server
commit 411e6bc3f2d18c675475113fbab6c586204472be
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Thu Sep 23 11:39:47 2010 -0700
s4/eventlog6: Build and hook EventLog6 RPC endpont mapper and idl
commit b23609812a72fb90cb80351de5bc144601a4a82d
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Thu Sep 23 11:38:19 2010 -0700
s4/eventlog6: Add endpoint server for EventLog6 RPC
The file is generated using PIDL --template command.
commit 55fe86bccc4c579e77fab8a20a53e4bbb2a55bc8
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Thu Sep 23 11:31:32 2010 -0700
s4/eventlog6: Add idl for EventLog6 RPC
The idl is translated from [MS-EVEN6].pdf.
commit bea4948acb4bbee2fbf886adeb53edbc84de96da
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 21 05:41:37 2010 +0200
pidl:NDR/Parser: fix range() for arrays
metze
commit 96ab0938ebf5c03228183ec90e48f4a136e6680c
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 22 18:00:10 2010 +0200
s3: tdbdump does not use our libs
(cherry picked via commit aea64ef275b6e94ca7afb8fa2bb172416773abdf and 82c0e79b8d8c693c128e83d8062e1543f3bb311d)
commit 95d3591dee6fe6fb2c63da7695bf7bd1b3accdf1
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 18 10:56:10 2010 +0400
tdb: add restore
Based on an idea by Simon McVittie, largely rewritten
commit 66731461a6882faf5ec6ba23944e4d4b357125b7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 18 10:56:10 2010 +0400
tdb: add restore
Based on an idea by Simon McVittie, largely rewritten
commit e74b7091cd97eba52227d8e93d003043a2f1a0cf
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 23 10:28:22 2010 -0700
selftest: Pass prefix to setup_env function.
commit 4c3985b584e89cb90e49c352f53da5621107c453
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 23 01:42:57 2010 -0700
selftest: Use variable for clientdir.
commit 4b901f6d8b898a7582a167835071c856f267536f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 23:40:20 2010 -0700
torture: Remove unused variable.
commit 133878fe68b2522a46d1c347815779fe0c1ede01
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 11:14:00 2010 -0700
s3-waf: convert LIBMSRPC into a subsystem.
Guenther
commit 43b5f209f138039517742a3bf9e7fe64f596f7d1
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 11:05:56 2010 -0700
s3-waf: fix the build after rpc_server crypto changes.
Guenther
commit 76f249fb44599450a12b7f0c62f5f3830d203a24
Author: Simo Sorce <idra at samba.org>
Date: Sat Sep 11 09:52:42 2010 -0400
s3-dcerps: check auth_type
make sure the auth type used throught the auth operation is consistent.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 926a3f4fcdb82c86dff94a9ac78010d59a04ea1b
Author: Simo Sorce <idra at samba.org>
Date: Sat Sep 11 09:46:08 2010 -0400
s3-dcerpc: Use spnego own sign/seal functions
Signed-off-by: Günther Deschner <gd at samba.org>
commit 678993470fdc86a57841c7d35ec9c60f6b81c1cc
Author: Simo Sorce <idra at samba.org>
Date: Fri Sep 3 16:43:38 2010 -0400
libcli: fix compile warning
Signed-off-by: Günther Deschner <gd at samba.org>
commit b11fff1f481a21d84b713421cfbfd42ef1e73f4b
Author: Simo Sorce <idra at samba.org>
Date: Fri Sep 3 16:33:45 2010 -0400
s3-dcerpc: remove auth_data_free_func
Everything is using a talloc pointer now, no need to have an
accessor function to free data anymore.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 3453bc7b1108390354c0825ee6b2b0bb28fca2f3
Author: Simo Sorce <idra at samba.org>
Date: Fri Sep 3 16:27:47 2010 -0400
s3-dcerpc: make auth context opaque
This way we always double check in advance that the context
is of the right type with talloc_get_type_abort instead of
potentially accessing random memory by addressing the wrong
structure in the union.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 0ec372057308198cd2f1742c4a56868e6dab7213
Author: Simo Sorce <idra at samba.org>
Date: Fri Sep 3 15:09:34 2010 -0400
srv_pipe: reorganize code so that related functions are close to each other
Signed-off-by: Günther Deschner <gd at samba.org>
commit d10e192b83e2c016873d7c2198f62173834287f0
Author: Simo Sorce <idra at samba.org>
Date: Fri Sep 3 11:03:49 2010 -0400
s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_data
Signed-off-by: Günther Deschner <gd at samba.org>
commit b475cfd0b2376fdf2a8426f33be8c940b035fe26
Author: Simo Sorce <idra at samba.org>
Date: Fri Sep 3 10:19:27 2010 -0400
s3-dcerpc: use new spnego server code
Signed-off-by: Günther Deschner <gd at samba.org>
commit 4cdee9b0eddd47ad2cfb866f63cdeb3f65200a3e
Author: Simo Sorce <idra at samba.org>
Date: Tue Aug 31 15:08:31 2010 -0400
s3-dcerpc: add spnego server helpers
squashed: add michlistMIC signature checks
Signed-off-by: Günther Deschner <gd at samba.org>
commit 77c73a5ec92f9294195dfef977f66dfe66182c6d
Author: Simo Sorce <idra at samba.org>
Date: Fri Sep 3 09:38:57 2010 -0400
spnego: make spnego_context public
Signed-off-by: Günther Deschner <gd at samba.org>
commit 2c9f420d75ac0a231b84c2d85e9470bb595d6daf
Author: Simo Sorce <idra at samba.org>
Date: Thu Sep 2 17:50:21 2010 -0400
s3-dcerpc: move client spnego stuff in /librpc/crypto
Signed-off-by: Günther Deschner <gd at samba.org>
commit 59722ef2fb6973ac06de5c17c3f84995bac20816
Author: Simo Sorce <idra at samba.org>
Date: Thu Sep 2 17:43:21 2010 -0400
spnego: avoid explicit dependency on dcerpc specific structures
Signed-off-by: Günther Deschner <gd at samba.org>
commit 62d7226b7898ade0dc19a5b13a9632fd096c5771
Author: Simo Sorce <idra at samba.org>
Date: Wed Sep 1 18:31:05 2010 -0400
s3-dcesrv: use gssapi helper in srv_pipe.c
Signed-off-by: Günther Deschner <gd at samba.org>
commit 28c22d04fb816f1c4418b95e9e69710e488af94c
Author: Simo Sorce <idra at samba.org>
Date: Wed Sep 1 18:27:53 2010 -0400
s3-dcerpc: add server helpers for gssapi auth
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8efd31ccad96bb6da1bdb6bf2fbb8fe9d67b640e
Author: Simo Sorce <idra at samba.org>
Date: Wed Sep 1 17:09:52 2010 -0400
s3-dcesrv: use ntlmssp helper in srv_pipe.c
Signed-off-by: Günther Deschner <gd at samba.org>
commit bbf535764b39941e64664b51562cb1525a99a959
Author: Simo Sorce <idra at samba.org>
Date: Wed Sep 1 15:50:06 2010 -0400
s3-dcerpc: add server helpers for ntlmssp auth
Signed-off-by: Günther Deschner <gd at samba.org>
commit 4194383cfe151aa57e0b288c77a113c5922eb019
Author: Simo Sorce <idra at samba.org>
Date: Wed Sep 1 19:05:43 2010 -0400
gssapi: remove unused function argument
Signed-off-by: Günther Deschner <gd at samba.org>
commit 412ebad02b74d8fbb1f6493e87abab7e345dc000
Author: Simo Sorce <idra at samba.org>
Date: Wed Sep 1 17:27:56 2010 -0400
gssapi: avoid explicit dependency on dcerpc specific structures
Signed-off-by: Günther Deschner <gd at samba.org>
commit 0e5eb82a6f29e33ca2cafe0ed7103395837b3fc0
Author: Simo Sorce <idra at samba.org>
Date: Wed Sep 1 11:58:33 2010 -0400
s3-dcerpc: move crypto stuff in /librpc/crypto
Signed-off-by: Günther Deschner <gd at samba.org>
commit ffdfcfb514c1a0849ba334ae6b9b00d3ad3c2227
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 21 20:56:23 2010 -0700
s3-dsgetdcname: always pass in messaging context.
Volker, please check.
Guenther
commit c3f5d990652aec4b4f1f23a5e1c7b644cd46cbe7
Author: Michael Adam <obnox at samba.org>
Date: Thu Sep 23 18:48:25 2010 +0200
s3:registry: try to fix the build of reg_parse_internal on HP-UX
The HP compiler does not seem to like {} for char[4].
commit 82c0e79b8d8c693c128e83d8062e1543f3bb311d
Author: Björn Jacke <bj at sernet.de>
Date: Thu Sep 23 09:25:58 2010 -0700
s3: fix tdbdump build on Solaris and other boxes
needed to fix up aea64ef275b6e94ca7afb8fa2bb172416773abdf
commit 80e240fe17b9f12663e09a84a29955d2bf8ed1cd
Author: Kai Blin <kai at samba.org>
Date: Thu Sep 23 09:16:05 2010 -0700
s3 waf: Remove iniparser source list from source3/wscript_build
commit 67b6252eedbde910da4effb3c3f62af449e3503a
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Wed Sep 22 19:20:21 2010 -0700
s4/dsdb:kcc: cleanup and improve readability
commit 519180c341edd1be51fbbb622132c2f5d9a37731
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 22 19:18:25 2010 -0700
s4:dsdb/kcc: we don't need to manually allocate [out,ref] pointers anymore
metze
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
commit 224fbbe33fbb4acea1c0907b1b7566d749521a92
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 22 19:04:58 2010 -0700
s4:irpc: use LIBNDR_FLAG_REF_ALLOC for the server side when pulling
The dcerpc server also uses it, so it was surprising that the
IRPC server side doesn't used it.
The reason to have this is that we want to handle error cases
and returns like NT_STATUS_NOT_SUPPORTED sane, without crashing
while marshalling the response.
metze
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
commit be0ed310b335b5098f2ba475a709c1832de10127
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 22 18:55:40 2010 -0700
s4:irpc: add padding to the IPRC header for 8 byte alignment
As we marshall the iprc header and the payload to the ndr_push
context, we should pad the irpc header to let the payload start
at an 8 byte boundary.
This way we get the alignment still be correct if we remove the
header before passing the raw payload to the caller.
As we use IRPC more and more for complex NDR marshalled structures
we need to get this right, in order to not get random ndr_pull failures.
metze
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
commit 148d4fa6899abab05481efae593cfc43cfe21d3c
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 07:58:33 2010 -0700
s3-waf: first run in using NDR_ subsystems (mostly from shared directory).
Guenther
commit ce6ef803ce36b69f914f59b3e494e8e9398342ff
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 07:56:38 2010 -0700
s4-waf: add NDR_LSARPC and NDR_SAMR.
Guenther
commit 6abf9cc89c98bd5172d27a72a7f634d9fb45e786
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 07:05:11 2010 -0700
s3-waf: convert LIBADS_PRINTER into a subsystem.
Guenther
commit 5fb686cbc5c2e407772ad257da1a30628e6927e8
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 07:01:52 2010 -0700
s3-waf: convert LIBADS_SERVER into a subsystem.
Guenther
commit 29b1588adf50a520e78f70c40b3f4707a1bc46b9
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 06:56:36 2010 -0700
s3-waf: convert LIBADS into a subsystem.
Guenther
commit 697090fb2d7644ac1e29c19fb9784c90b6860c5e
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 06:45:56 2010 -0700
s3-waf: convert smbd into a subsystem.
Guenther
commit d6121bdee06f32ffcf4a22ff50b728ea1e47c394
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 06:26:15 2010 -0700
s3-waf: add libaddns.so.
Guenther
commit 9bba222e8a960f790904527fb9c7443299f5882d
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 06:15:13 2010 -0700
s3-waf: recurse into ../lib/crypto.
Guenther
commit 43e3555ed94131da9ef7fc9a8bd3d81ce9ec6db4
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 05:54:12 2010 -0700
s4-waf: move two more NDR_ subsystems to main directory.
Guenther
commit 247521064ff0fcb6763c1e337f277227b4cef421
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 02:14:23 2010 -0700
s3-waf: convert LIBMSRPC_GEN into a subsystem.
Guenther
commit ea228cdf7c73c5fd4ae1f22c118d56629c1c58ec
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 01:52:15 2010 -0700
s3-build: move epmapper client to LIBMSRPC.
Guenther
commit e8df0db8c4c2304a8528cd84f6871509321b706a
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 01:51:53 2010 -0700
s3-waf: move epmapper client to LIBMSRPC.
Guenther
commit 494dc5565bf3b76c4acb7afb37dda9a4bae51889
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 21 01:24:13 2010 -0700
s3-waf: recurse into main wscript_build from main librpc directory.
Not doing anything with it yet though.
Guenther
commit 7f537736088f4e20f211bd25bd512f620b16484b
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 02:13:15 2010 -0700
waf: fix generated nbt.h path, should fix s4 install.
Guenther
commit de49623d4b3bc577694b1601dcdb2eb413692389
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 01:32:43 2010 -0700
s3-waf: fix LOCALEDIR usage.
Guenther
commit 031dd8cc623a315e8776faae687b53d126ecb700
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 21 00:41:58 2010 -0700
waf: move majority of shared NDR_ subsystems to main wscript_build.
(so they can be used by s3 waf later)
Guenther
commit dc4920bfa7f55e660c9944049ba0dd66931abcde
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 00:48:16 2010 -0700
s3-waf: rework libnetapi to have no unresolved symbols.
Guenther
commit 4d7525537a0090273d85f468af338668920c8dcf
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 00:27:34 2010 -0700
s3-waf: add libsmbsharemodes.so.
Guenther
commit 8ccbbe042b7fed310de9a75ddccc69e51bae72d4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 22 23:21:56 2010 -0700
lib-subunit: fixed build on systems without subunit devel library
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit d2008fbbb951a941d380b4efa0eaf9f3cfe54e13
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 22 22:50:05 2010 -0700
s4-kcc: the kcc should not be setting the repsTo attribute
repsTo is set by other DCs, when they ask to be notified about changes
in a partition
commit 7a05e04dfc81d20aff92e17c61af81bbe66d2492
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 22 22:41:02 2010 -0700
s4-gensec: fixed a client side bug in GENSEC/SASL/SSF negotiation
this is the client side equivalent change for the previous fix
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c0ff93b033da632d5ad4a004d6fff05d08f5cf78
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 22 22:35:28 2010 -0700
s4-drs: we don't need to decode to utf8 in python dcerpc strings any more
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit bf1f2d4eb8c35ca4547993f33a1e19ff0c3c03c2
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 22 22:28:58 2010 -0700
s4-gensec: prevent a double free in the error path of GSSAPI auth
the caller frees mem_ctx, so we shouldn't
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 202525db1339805af5d5e837712b0aa834e8f5e0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 22 22:20:30 2010 -0700
s4-gensec: fixed a GSSAPI SASL negotiation bug
Fixed a bug that affected mismatched negotiation between the GSSAPI
layer and the SASL SSF subsequent negotiation. This caused some ldap
clients to hang when trying to authentication with a Samba LDAP
server. The client thought the connection should be signed, the server
thought it should be in plain text
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d1cbd68bb12c6d5193e864e5b0bae16c7ec4c5f4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 22 11:18:04 2010 -0700
s4-kcc: added service->am_rodc
use a rodc flag on the service instead of calling samdb_rodc each time
commit c166b44b4756c2e038ebbbe27898aff0a5c954da
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 22 11:15:56 2010 -0700
s4-kcc: pass the service context into the kcc connection code
this will be used for the RODC changes needed for the kcc
commit b6f149eec38a69aea2efec307c559e08721a26ca
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 00:13:34 2010 -0700
s3-waf: add all remaining binaries from the make build.
Guenther
commit a11d6c77e460bdb9755a66a62483b3ad0ae57373
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 00:06:17 2010 -0700
s3-build: fix the build of split_tokens.
Guenther
commit 34008ef6b35f09b37a3cc7d99cb085e9ff9c85df
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 00:05:31 2010 -0700
s3-build: fix the build of test_lp_load.
Guenther
commit 099394a8f768e16c15b001bd27757ecf4b1d5f0b
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 00:04:08 2010 -0700
s3-build: strip down dependencies of smbta-util.
Guenther
commit 8037a46c2e5a2e1ee9479690e38770fdffdcd413
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 22 17:15:15 2010 -0700
s3-waf: reconcile objects to old make-based build.
Guenther
commit 9ddfbd1c4ea38b47854b298dfba22f8e7026c897
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 22 14:22:09 2010 -0700
s3-waf: add libsmbclient.
Guenther
commit 7378b6d2a20a8ff0678891b6ef1d72afbfe8c1e0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 22:08:04 2010 -0700
s4-selftest: Move credentials tests to standard python directory.
commit cc5b673e18246f35a908152b7c4a8cb0dc3a89f2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 22:05:55 2010 -0700
s4-selftest: Move samba3sam test to standard python directory.
commit 5651f8a9a77c09f585f4ba8ab04fe9968a5432cb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 22:02:39 2010 -0700
s4-selftest: Fix prefixes for ldb tests - they're samba4 specific.
commit 136aa0d5ac8d3105cdebb579edf4a8043b5cc83f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 21:03:05 2010 -0700
smbtorture: Report times.
commit a15a33a9a8806426955fb3cab6b798ab4173cc67
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 20:18:45 2010 -0700
torture: Use system subunit library if available.
commit 029add7e079cc9532016b49c323b52eadef25695
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 19:55:58 2010 -0700
smbtorture: Use subunit C library.
commit 20c95cf6856b7d18784e8429d1ba31443a883d49
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 19:28:02 2010 -0700
selftest: Fix testsuite counts when running only a limited number of
testsuites.
commit 3d0e6db9dc68aace8b2993faa45f48b3f5f4e855
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 19:21:58 2010 -0700
selftest: Fix idlist running.
commit f9ed11c7562d1ff2cf23de0057df6ff80927c9fc
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 19:14:33 2010 -0700
s4-selftest: For idlist tests, leave out environment name.
commit 0dde34ffc7bab04c9dd320d98ad543fac98b12e5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 19:13:16 2010 -0700
s4-selftest: Add environment name to test suite manually, so we can
leave it out if we want to.
commit 9bce7838788db26c9846b619e3ac7edc46a65beb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 19:08:37 2010 -0700
selftest: Fix use of --load-list.
commit cd8d7804208c9674be07b239e22fd4f612fb9952
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 18:53:52 2010 -0700
s4-selftest: Cleanup formatting.
commit a171816672b4ffca18c3a3b9a0f4d8fb6f0487ee
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 18:30:27 2010 -0700
selftest: Add prefix on a higher level, so it can be more easily
excluded.
commit 4ffe968ae9d9f11156c7cdef473e1616f3d8377d
Author: Jeremy Allison <jra at samba.org>
Date: Wed Sep 22 18:34:19 2010 -0700
Thank goodness for code reviews. Volker caught - this should be lp_posix_pathnames()
not lp_unix_extensions().
Jeremy.
(cherry picked from commit 7170b875c26e2e43103b80da2376b020f0d1af4f)
commit 7170b875c26e2e43103b80da2376b020f0d1af4f
Author: Jeremy Allison <jra at samba.org>
Date: Wed Sep 22 18:34:19 2010 -0700
Thank goodness for code reviews. Volker caught - this should be lp_posix_pathnames()
not lp_unix_extensions().
Jeremy.
commit 56f127d7367b8380cda76a8f1af11ce7a9095af4
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 13 17:27:16 2010 +0200
no need any more to manually create catalog file in build-manpages-nogit
commit 60d5a83e9e2361b8d237daef095e2eeb20ed8bdd
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 13 17:26:20 2010 +0200
no need any more to create catalog file manually in build-manpages-git
commit 9e2eefad44c4d8024cc51db2cdf0aa2b6ca5f6ae
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 13 17:18:18 2010 +0200
docs: use abs_top_builddir instead of BUILDDIR to let configure create correct catalog file
The use of the catalog file is still controlled by exporting the
XML_CATALOG_FILES variable as described in build/README
commit 791246b85747aa046e096df96c7646d449b3e04e
Author: Michael Adam <obnox at samba.org>
Date: Thu Sep 9 17:25:22 2010 +0200
add script to build only the manpages (not the complete docs) - no-git version
this version uses make clean to clean the source tree before building
commit b56ebe5cac0ca63b197b8544b8fa5bb5060b1576
Author: Michael Adam <obnox at samba.org>
Date: Thu Sep 9 17:24:30 2010 +0200
add script to build only the manual pages (not all the docs) - git version
the git version uses git clean to clean the docs source tree.
commit aea64ef275b6e94ca7afb8fa2bb172416773abdf
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 22 18:00:10 2010 +0200
s3: tdbdump does not use our libs
commit bf1a4b2bc411cba18980d00bf630aa61fc4e4699
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Wed Sep 22 13:23:49 2010 -0700
s4:libcli:smb2 Rename pending_id to async_id and make 64-bit
Match MS-SMB2 - 2.2.1.1 SMB2 Packet Header - ASYNC
commit 7e31704762b63ac580f3b778520d9f5f7d212cbe
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 17:47:28 2010 -0700
selftest: Remove unused --analyse argument.
commit 1716cdbef36b7905c08d89de1ca3de4b61e3fe0f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 17:17:42 2010 -0700
dsdb: Use short path for ldb_handlers.h, in case ldb is installed in the
system.
commit 8dd0c8c5460c6f16367a4a73f0ce4b27d5acab4f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 17:17:25 2010 -0700
ldb: Use waf as default build system.
commit c031329af1f4300237ba200a4d6ff5eb041d8e3d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 17:15:38 2010 -0700
ldb: Depend directly on replace, fixes the build on systems with
tdb and tevent installed in the system.
commit 1c3c9a483be6d63b8efb67bfd2c04ef9302ccce6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 16:44:17 2010 -0700
s4-param: Fix more memory leaks, invalid memory context.
commit 5b10c82a5837073836fcf04152a6f032c98c93d1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 15:36:06 2010 -0700
s3-selftest: Fix test prefixes in subunit output.
commit 3fea9df85a7d489b81e21a7a63f9e115de712d4c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 15:35:36 2010 -0700
s4-param: Check type when converting python object to lp_ctx, fix some
memory leaks.
commit 63031a2a78cff19f1f17137adfbc85a4df05ae36
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 13:57:07 2010 -0700
pygensec: Implement start_mech_by_name().
commit 6abe823ce6c6fd1804d45b7c63c770d22b3e7265
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 13:05:55 2010 -0700
subunithelper: Cope with errors outside of testsuites.
commit 5a75fb194a290cb09fc03312262bd57196e86cb9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 12:52:29 2010 -0700
ndrdump: Move blackbox test to standard python namespace.
commit 18f10eec0ea55108e97da019f07a18b8854c2883
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 11:39:53 2010 -0700
s4/selftest: Simplify running of python tests.
commit 31d5ac05402ed9ac8158d143283c7f8b2d7bb7b4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 22 11:30:34 2010 -0700
selftest: Let tests add prefix to tests by themselve.
commit 201f9d6b0f892cc45a38064472986f7923d35aa2
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 21 21:16:31 2010 +0200
s3: Fix pam_smbpass logging on FreeBSD
commit 54f0da368f35ce7d7fd4b093b865ffea284d826b
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 22 14:10:03 2010 +0200
s3: Use asprintf where appropriate
commit 7ba5855a734037cf7308007b953ce0a92b050173
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 21 21:16:31 2010 +0200
s3: Fix pam_smbpass logging on FreeBSD
commit fbd65b6c859905855c473b47101a4843048ee4a5
Author: Björn Jacke <bj at sernet.de>
Date: Wed Sep 22 11:16:47 2010 -0700
libreplace: fix endless strerror_r has been redefined warnings on AIX
(cherry picked from commit 9b73bb0099d6b33d9e951895be3c877628b6c7dd)
commit eb665fa13f2f291c4aa36313defb70ba335a5186
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 21 19:08:40 2010 -0700
tevent: include libreplace heade before tevent header
this is supposed to fix bug #7463. Thanks to Joachim Schmitz.
(cherry picked from commit 7c9dab47618a809792cfdc43f0e3c5d88d2d7843)
commit fe4576dff0dd949d87a099afc6b66e4763537fdd
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 22 12:40:42 2010 -0700
s3-registry: fix some c++ build warnings.
Guenther
commit a99388bebadd9016f556193b43da46a0bd9bd20a
Author: Jeremy Allison <jra at samba.org>
Date: Wed Sep 22 12:26:13 2010 -0700
Fix bug #7693 - smbd changing mode of files on rename
When using "map archive", don't change the archive bit on
renames or writes with UNIX extensions turned on.
Jeremy.
(cherry picked from commit 314dc23ecfb5fc014f9c2ef70bd508eb837632b0)
commit 314dc23ecfb5fc014f9c2ef70bd508eb837632b0
Author: Jeremy Allison <jra at samba.org>
Date: Wed Sep 22 12:26:13 2010 -0700
Fix bug #7693 - smbd changing mode of files on rename
When using "map archive", don't change the archive bit on
renames or writes with UNIX extensions turned on.
Jeremy.
commit cf6e773e1a75b1d7d32dfa952d3bb743db6e1b7c
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 22 11:28:45 2010 -0700
s3-waf: fix the build.
Guenther
commit a1ced101969e7613bc9e1a83c087dbe56c378abe
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 22 11:04:38 2010 -0700
s4-smbtorture: print out membership in RPC-SPOOLSS-ACCESS.
Guenther
commit 9b73bb0099d6b33d9e951895be3c877628b6c7dd
Author: Björn Jacke <bj at sernet.de>
Date: Wed Sep 22 11:16:47 2010 -0700
libreplace: fix endless strerror_r has been redefined warnings on AIX
commit 0027af02d2d0114b2e1e06b49e590db1efe38879
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 22 03:57:30 2010 +0300
s4-drs-test: Relax a check that may possibly fail
This check may fail due to automatic replication between DCs
during the test execution.
Ideally we should block automatic replications (somehow)
during this test. But until then, we need just to skip
this check, it is not *that* important anyway
commit e3b81c6062c9b82d246ac8103c07c246e2a72250
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 22 03:24:01 2010 +0300
s4-ldapcmp: Enable comparisons between LDBs too
This will enable us to compare two LDBs or and LDB with running
AD server. Comparing LDB against running running server
may come into handy when one want to see if 'net vampire'
command does what it does the right way
commit e12e661f35983dfab3e7d869df7770f519b49e48
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 21 22:54:10 2010 -0700
s4-selftest: Move more tests to scripting/python, simplifies running of tests.
commit 118c6548bbc4d1ff889688372190a4503fc2855f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 21 21:33:30 2010 -0700
selftest: Fix run for systems without testtools installed.
commit 7c1b00f4a80ee5eb91333cad9c27ba699c6b2e3b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 21 20:58:23 2010 -0700
selftest: Use idlist testing for python tests.
commit bf907d2c4a7c9c4d95d2af644eb5f8dc97e073c3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 21 20:36:50 2010 -0700
selftest: Support running individual tests using idlists, for testsuites that support them.
commit 1783d0d6fcf20e568a1187b1e28cbf1d60c54d34
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 21 20:23:41 2010 -0700
s4-selftest: Use loadlist in a couple more places.
commit 0aff42a6e4bd4330c50566a13ecf684486f8e96d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 21 20:16:40 2010 -0700
torture: Remove active_testname variable.
commit ea1ed67d15b0b2d70fff638c3c5c79de66312e9c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 21 20:11:47 2010 -0700
s4-test: Allow running individual tests for smbtorture tests.
commit e456c69498bfe5beb8421bcde523d24f50a34d0c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 21 20:11:43 2010 -0700
torture: Fix running individual tests.
commit e8b20039a7b77e17fd3caa66b68528f70d3b6cec
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 21 17:35:53 2010 -0700
selftest: Fix generation of test id file.
commit 4c681f760fbf0dc98627fdc94046df793c405ef1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 21 17:35:26 2010 -0700
strlist: Make test names unique.
commit 94f84da1f6ef5d05439e582012eb5349de618e41
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 21 16:46:12 2010 -0700
s4-land: Print commands that are being run.
commit 10da4b042250ca13deca40d11320451a06663d2e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 21 16:08:46 2010 -0700
pymessaging: Remove unused older python irpc bindings.
commit cb5c86e5027fd7bca73e855bcf433846a7c680f3
Author: Michael Adam <obnox at samba.org>
Date: Wed Sep 22 06:27:49 2010 +0200
s3:net: add subcommand net registry deletekey_recursive
to delete a key including subkeys
commit 7a25d13742fe190e2b8b97f62d7db85db4e816e9
Author: Michael Adam <obnox at samba.org>
Date: Wed Sep 22 06:21:38 2010 +0200
s3:registry: remove unneeded TALLOC_CTX argument from reg_deletekey_recursive
commit a2ea85b68d86ed3651f00626b837cfa8184cc21b
Author: Michael Adam <obnox at samba.org>
Date: Wed Sep 22 06:00:00 2010 +0200
s3:tests: fix misplaced '...' for grep pattern in test_net_registry.sh
commit a52b7e7229174500c8b8d5e52206e68749b99e2b
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 15:32:02 2010 +0200
s3-net: add command rpc registry import
Signed-off-by: Michael Adam <obnox at samba.org>
commit 96ba0cb8f2a02a5f991ef92ed9eeb81d1a42216b
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 16:45:57 2010 +0200
s3-net: add command rpc registry export
Signed-off-by: Michael Adam <obnox at samba.org>
commit 0afc83c25556fc8162415738d1e8743009c4837c
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 15:01:40 2010 +0200
s3-net: add command registry convert
Signed-off-by: Michael Adam <obnox at samba.org>
commit e7c2724c8148d837d60b5e6cb6204ac5ea28164c
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 15:01:01 2010 +0200
s3-net: add command registry export
Signed-off-by: Michael Adam <obnox at samba.org>
commit 2a10fd769b3e2695433f579cd28c1a6f3bbce26e
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 14:54:30 2010 +0200
s3-net: add command registry import
Signed-off-by: Michael Adam <obnox at samba.org>
commit 44d10d05464b16082d318b0e7001432484013a29
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 15:24:03 2010 +0200
s3-net: let rpccli_winreg_Connect optionally return WERROR
Signed-off-by: Michael Adam <obnox at samba.org>
commit 47313afe97973e1293af2f1ab0d08ecaedb74e1e
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 14:46:25 2010 +0200
s3-registry: handle registration entries (.reg) files
Signed-off-by: Michael Adam <obnox at samba.org>
commit f76049422899dc19abe597d990e6ca9ec391c962
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 14:37:07 2010 +0200
s3-lib: add srprs, primitives to build simple recursive parsers
Signed-off-by: Michael Adam <obnox at samba.org>
commit e5bbc2be05f1d35bebbaea3b120d699467a30304
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 14:33:21 2010 +0200
s3-lib: add cbuf, a talloced character buffer
Signed-off-by: Michael Adam <obnox at samba.org>
commit 9c2e89da1011fdeb82bcf53a69781c07d18df728
Author: Gregor Beck <gbeck at sernet.de>
Date: Mon Sep 20 14:24:00 2010 +0200
s3-docs: document net registry
Signed-off-by: Michael Adam <obnox at samba.org>
commit a233c0c0d2a307a64994480bd7b2c783e28fe72a
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 21 20:54:45 2010 -0700
s3-lsa: Fix sid in DEBUG in_lsa_EnumAccountRights.
Andrew, you removed the sid_copy buit forgot the sid, please check.
Guenther
commit 7c9dab47618a809792cfdc43f0e3c5d88d2d7843
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 21 19:08:40 2010 -0700
tevent: include libreplace heade before tevent header
this is supposed to fix bug #7463. Thanks to Joachim Schmitz.
commit 6865c7c2d87ff205106101d21911bbfea15209b1
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 21 15:41:23 2010 -0700
s3: Remove a global variable in bugfix for bug 7665
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit 2cf1f0586038d5460d42a9cd4c3bc5c8a936d6ad)
commit 617268101a36fa01ab8c3865435d5316a915784a
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 21 16:13:33 2010 -0700
s3-libgpo: fix the build of scripts client side extension.
Guenther
commit 2cf1f0586038d5460d42a9cd4c3bc5c8a936d6ad
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 21 15:41:23 2010 -0700
s3: Remove a global variable in bugfix for bug 7665
Signed-off-by: Günther Deschner <gd at samba.org>
commit 93c95824c754384f12891f1c8daf527e178a2bff
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 21 15:54:34 2010 -0700
s4: Add script for landing a branch through a remote server, such as sn.
commit fd25d67d0d7a0837dfcba882cf60700189a41f37
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 21 14:18:21 2010 -0700
s4: Add convenience script for building and landing a tree in the
background, sending results by email.
commit 049c4fa04dcee5a6083630b0464b715c5ca531cd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 21 00:40:17 2010 -0700
pytalloc: Add default compare function.
commit e63757623268ffac0e43b8f6372eedb34d14113a
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 21 11:08:19 2010 -0700
s3: Remove a pointless if-statement
commit 1d90227c3c31dae573ac1dc3096925cb82e994b6
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 21 11:08:19 2010 -0700
s3: Remove a pointless if-statement
commit 2bc0e023044d643f98c6d18232680ffcff3cb8ea
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 21 10:52:46 2010 -0700
s3: don't build krb5 locator plugin if we don't build winbind
this fixes bug #7329
(cherry picked from commit 81d257e8aef096c4f6ef79d20543aaf287dc9e1a)
commit d0da4590046daf20f8c4f2a8f234c99599c43beb
Author: Björn Jacke <bj at sernet.de>
Date: Sun Sep 19 22:57:23 2010 -0700
s3/winbind: remove unused winbindd_check_cache_size
(cherry picked from commit 1c82ca01c39e24251e59d7be44390baff998f329)
commit 81d257e8aef096c4f6ef79d20543aaf287dc9e1a
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 21 10:52:46 2010 -0700
s3: don't build krb5 locator plugin if we don't build winbind
this fixes bug #7329
commit ec3d51e54ef7852d52cc72025cad84fa5a7cb66c
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Sep 20 13:49:19 2010 +0930
Really enable core dumps in Linux
commit e1f1ce68e1f685400a8c68bcec14018e3d1fc29d
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Sep 20 13:33:30 2010 +0930
source3: dump core on Linux, even after seteuid/etc.
The "dumpable" flag is reset on every call to set*uid, so we need to
reset it to 1 in the signal handler itself.
This code dates back to commit ac01fda2b97b 6 years ago :(
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Signed-off-by: Jeremy Allison <jra at samba.org>
(cherry picked from commit dc192787955542510724541cf23b4d8ed4cc99d4)
commit aa57fd8224a09f26a0f6127024fe739b84eadf49
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Sep 21 09:10:54 2010 -0700
s4-ldap: Fixed a problem with NC's having a parentGUID attribute
NC's other than default NC had a parentGUID, due to an incorrect check of whether
the object has a parent. Fixed by checking object's instanceType instead.
commit 24cac1366644279be55dfce6e286f19da605e78e
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 21 01:23:43 2010 -0700
s3-waf: remove reg_util_legacy from waf build as well.
Guenther
commit bf38287c76f90593d5a7eeb9889e12b3bea54adf
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 21 00:18:27 2010 -0700
s3-winbindd: another attempt to fix the non-ldap build.
Guenther
commit 2d67730dafc84f3412397604e23a9e247b6d109b
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 09:08:33 2010 +0200
s3:registry: move regio.h from include/ to registry/
commit 4f7d41aa3deba47f8e31093ab4cbdc8706a850b2
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 08:53:49 2010 +0200
s3:registry: move the reg_db.h from include/ to registry/
commit a35daebaf1d0201077fe57f78350804c2e4fde50
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 08:50:54 2010 +0200
s3:registry: move prototype from reg_init_smbconf.c to its own header.
commit d25b2adf34a86c8abd0129304143f72dd6a9807c
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 08:45:06 2010 +0200
s3:registry: move prototype from reg_init_full.c to its own header.
commit 0bd2756b974f171eb837d30309e2a46915edd861
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 08:37:14 2010 +0200
s3:registry: move prototypes from reg_init_basic.c to their own header.
commit 4696cd6cbe02d93039240f82917582f4e7a91aa9
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 08:23:20 2010 +0200
s3:registry: move reg_api_regf prototypes to their own header file.
These two calls are currently only used in the WINREG rpc server.
And this reqires linking in the regfio code.
commit b11cc305083844052d0b82560e3a7006b3520f14
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 08:11:18 2010 +0200
s3:registry: move the reg_api prototypes to their own header.
commit e4eda5f9bcabbdb82aa4a65e5cd8558a36944270
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 07:44:56 2010 +0200
s3:registry:reg_api: update (C)
commit 8b14b883b2c29f1804060ddee0d931993eaf6f90
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 19 22:35:26 2010 +0200
s3-waf: add net.
Guenther
(cherry picked from commit c9e17edfc6f9dc7f3ae251102dbb7bfcf08a770d)
commit 65612896705c1f8f903eec5ab3d9474137b266da
Author: Kai Blin <kai at samba.org>
Date: Sun Sep 19 15:41:45 2010 -0700
s3-waf: Build libwbclient as dynamic library
(cherry picked from commit dbfb42c1b50e9372184ad170f10ba75b87565965)
commit 6a3c687f039f8f6cfeb8d12d81cd71157ad43ddd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 20 22:18:45 2010 -0700
pidl/python: Allow passing in UTF8 string objects as well as unicode
objects for IDL strings.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit d9be9ea4092b8018476c12153e129f0203d3d643
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 09:47:21 2010 -0700
s3-waf: add libnetapi
(cherry picked from commit 99d898938c7d656d852e4c91f7534e2cba99c5f8)
commit 6028aac67b800a0a5a5b73618c9da95c0d006954
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 03:18:49 2010 +0200
s3-waf: fix the file locations of gen_ndr'ed files.
Guenther
(cherry picked from commit c1a6820c85334da43ad47fcc1975a9b4c9577479)
commit 232810567fbc046c23ef05ffea39cdbcf3dfe4b1
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 03:10:43 2010 +0200
s3-waf: fix the build after reg_api changes.
Guenther
(cherry picked from commit ad8533c0b0cffa037f1395d586381d8db642e93a)
commit 9300480fd458d4793eef9a6d397f94c5c8ec19ae
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 02:10:43 2010 +0200
s3-registry: move regf based reg_api calls into own file.
Guenther
(cherry picked from commit 91e8f8ded2f78bdd5b1db11562a575488a024322)
commit 328ee6ad3b915d0deb1d06c4fbd553b3aebd1af6
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 01:51:54 2010 +0200
s3-registry: add reg_querymultiplevalues to reg_api matching table.
Guenther
(cherry picked from commit 323f729df07794da6b79db5e72b1389fb79b8bde)
commit bb4f37d4ac6d6330775321a78a998b9b24f17a66
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 15:42:16 2010 +0200
s3-waf: add rpcclient to the waf build.
Guenther
(cherry picked from commit 3f55c2ee7ac89f96e902b1f1b782e3e033e42f43)
commit de59fea8f4ea8fbd2888a947a897d41592373754
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 17 13:17:12 2010 +0200
s3-rpcclient: add some winreg commands.
Guenther
(cherry picked from commit 9e058c6e7292b628ca08bb34b5930d0f4a77ef27)
commit 5742ccff3bf521f512d07937ce7748161127f16d
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 16:01:51 2010 -0700
lib/tdb: fix c++ build warning in tdb_header_hash().
Guenther
(cherry picked from commit 1585c4df68a66569524a41def95488666dd827dd)
commit ee51d035c183587669eb34080261258d30981467
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 14 23:58:10 2010 +0200
s3-build: only link in prs parser where needed.
Guenther
(cherry picked from commit 2d23ddb68d20a7e10297841ff7a550c03a8c6b74)
commit 8f335f8246ed197b2c168bb76a476aa23e42a150
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 15 08:22:37 2010 +0200
s3-waf: only link in prs parser where needed.
Guenther
(cherry picked from commit f7051250eab1bb3336b3159e3b9a077a0e046263)
commit aca3c381fe655779dab19a45a41f29953114dfd4
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:51:32 2010 +0200
s3-build: use proper RPC_X_OBJ target names.
Guenther
(cherry picked from commit 33fdf8dac2dfd843ea10e3703d65b903b253270e)
commit 8043e0de202c662d3e67b9fb35332ca6a301f546
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:49:49 2010 +0200
s3-waf: use proper RPC_X_SRC names.
This allows to build using waf without --enable-developer and should also fix
support for rpc server modules.
Guenther
(cherry picked from commit 4577fb3163f3921dfea45ee96c041e549cc84255)
commit 5ed191d6e050fd3697c665f95ab2d83f778fd582
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:28:54 2010 +0200
s3-build: only link LIBNDR_XATTR_OBJ where needed.
Guenther
(cherry picked from commit 7b1efc7282ea0a2e2f7ba84c5c2bb3cd0c6f52c5)
commit 2cab2ec9deb25ac59a7b2fc0f2060a7856540271
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:28:38 2010 +0200
s3-waf: only link LIBNDR_XATTR_SRC where needed.
Guenther
(cherry picked from commit 32a1b21f1c65589a142919f85cf78ece169d3d92)
commit d390d462921df1f76fabe600ed597fad66dea8fd
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:27:52 2010 +0200
s3-build: link ndr_notify only where needed.
Guenther
(cherry picked from commit a1392ee9a04765d849e1d297fb5f156ad169afd0)
commit 95c5218d8842aa63cd58c766da21a03265ae9878
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:26:35 2010 +0200
s3-waf: link ndr_notify only where needed.
Guenther
(cherry picked from commit b15ac83bda4adbdfc7b7e04ad126cffd8d44efba)
commit 69919767abb36dd1710ea0268f11ee29b8a795f8
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:24:28 2010 +0200
s3-build: link ndr_named_pipe_auth only where needed.
Guenther
(cherry picked from commit ed239fc784299e6cfc4417101fdefbc413d6531c)
commit c19cb1eb2bccfbc350aae030ce4a8d545d2d5ec8
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:23:59 2010 +0200
s3-waf: link ndr_named_pipe_auth only where needed.
Guenther
(cherry picked from commit f8b10a738c5da88a72fa969e217f6c72016d44b0)
commit 78b93e4ee7168b4f87c6c76f72d84e3f8c854de7
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 00:13:55 2010 +0200
s3-build: further rationalise LIBMSRPC_OBJ and remove RPC_CLIENT_OBJ.
Guenther
(cherry picked from commit c5ffecb136225dba294327cc3a437e5f17475253)
commit 63e549014adfe455f60c59615da8d3283a2f2c26
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 00:13:00 2010 +0200
s3-waf: further rationalise LIBMSRPC_SRC and remove RPC_CLIENT_SRC.
Guenther
(cherry picked from commit 6a795dd14674bfa2f6fe5206a9237f867c48e875)
commit 7bbd07dce90dbf76cc32feebb6809f8244cf37e7
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 00:05:34 2010 +0200
s3-build: remove RPC_CLIENT_OBJ1.
Guenther
(cherry picked from commit d6949f58fa82196fc67a87e6bf47a5c05698a734)
commit b16aa5ae82a78191f8af73738fe60fca34b2a029
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 00:05:16 2010 +0200
s3-waf: remove RPC_CLIENT_SRC1.
Guenther
(cherry picked from commit 75e55f9535d3a66933c901658c61e1fdaa596515)
commit 4a6629b52a9724ea0e9722b1d56ae61e3bce627e
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 00:03:42 2010 +0200
s3-build: use LIBMSRPC_OBJ instead of single files.
Guenther
(cherry picked from commit a52fde4f944bf8cfa2dd69498bdf6da8e39c0139)
commit 94b68a56262324c4f381fb5a8c5ed228bafff9e1
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 00:03:15 2010 +0200
s3-waf: use LIBMSRPC_SRC instead of single files.
Guenther
(cherry picked from commit 1217c4f48490e85ac953a3f285b0d9bacda0f243)
commit dd7a6b7fca7b2413fe21d5747f069703b1cea426
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 20 00:11:33 2010 +0200
s3-waf: only link in samr util code where needed.
Guenther
(cherry picked from commit 0b05e32f92cfc64de1c3ce02d1eb3ab4f8d5a25f)
commit bc0636d207cf11100012f8a33fc40155ee916d1e
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 20 00:10:14 2010 +0200
s3-build: only link in samr util code where needed.
Guenther
(cherry picked from commit 4991af46d75018c31ec80dc28c3eabd6e541b8ab)
commit 7bf7210f07a55304dc1772f32accd266477045ab
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 19 16:18:10 2010 +0200
s3-build: remove RPC_PARSE_OBJ.
Guenther
(cherry picked from commit ecf32c851a9b40d1f280e57770f8126420e52f86)
commit 6900ea40ab7ecc96afe5d18ea03557da83026510
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 19 16:25:55 2010 +0200
s3-waf: remove RPC_PARSE_SRC.
Guenther
(cherry picked from commit 83dc8314f1a688dc43ae5129fb7b1edb74670202)
commit d86d2256b98e8975d536b85ba5221508642dea22
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 07:40:36 2010 +0200
s3:services_db: convert get_common_service_dispname() to talloc
commit 919450a60ed996c35a1443a18d057031d56649c7
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 07:40:13 2010 +0200
s3:registry: regfio fix the build
commit 58cfbc510c7359708d4eae3045085155c912218e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 20 22:23:15 2010 -0700
rpc_talloc: Update test now that we create fewer references.
commit 7fc40d2ed3ab378c409e6f868d75733352ed5ddf
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 20 21:04:04 2010 -0700
pytestrpc: Be more verbose.
commit c4c6f8f1755486056f77b9a7f830d10a9ebfb7b0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 20 21:02:16 2010 -0700
s4-pild-python: Fix assignments - even though we reference the mem_ctx
of an object we still use the actual ptr.
commit f161fa3ac8e437600e64354652114e99edac32bb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 20 20:19:16 2010 -0700
testrpc: Convert from a single unit test to a simple test script, be
more verbose.
commit a7393449eba9fc5173934096651b2fa232ae6764
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 20 20:02:21 2010 -0700
pidl: Fix segfault when accessing unicode objects.
commit 5dd47eeac275d8a9da0a47fda3d71f69ee6c0c4a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 20 19:54:24 2010 -0700
s4-pidl-python: use correct talloc pointer when allocating subobjects.
commit 6b19ab3612a9ce204fb2afe25916b55e91f1ab82
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 25 23:53:24 2010 +0200
s3-build: only link in epmapper client code where needed.
Guenther
(cherry picked from commit 88720f80c5682ae8043f2c0558cc43354ad472b7)
commit 19982c882884b06df5c79de01330eb5b3c61096c
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 17 00:59:23 2010 +0200
s3-waf: only link in epmapper client code where needed.
Guenther
(cherry picked from commit 4d78984570223a803353490b1fa39793ba9b98b3)
commit 3dbbea4a53a076814195dada974a3486e8d15ccd
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 25 23:15:52 2010 +0200
s3-build: only link in netlogon client code where needed.
Guenther
(cherry picked from commit ff5ab04882b1ae5940b0e9f41174d6e4e4b8f863)
commit 7e2f869ca8296a937243ded7233efd6933cceaa5
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 25 23:14:33 2010 +0200
s3-waf: only link in netlogon client code where needed.
Guenther
(cherry picked from commit 13cff589178fdb03dfa35113930e85c50e368494)
commit ec057e2e1d0d451193a7722c54f30738161c18a3
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 17 00:46:25 2010 +0200
s3: separate out cli schannel functions that depend on cli_netlogon.
Guenther
(cherry picked from commit 0ed16e94c374efb06650f741827bcbed85f1af59)
commit bf5fb3babe693cdbdc2a0efd42378244502bf147
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 12:32:53 2010 +0200
s3-build: only link in samr client code where needed.
Guenther
(cherry picked from commit 064826c4d17f71e30386ff775935f86dd426f124)
commit 2b5baf8500acb2e8f193a9e7981651d1dd93fcdd
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 12:27:20 2010 +0200
s3-waf: only link in samr client code where needed.
Guenther
(cherry picked from commit 6810ead40dc216c17c6ba1a9731d2598bf342c6d)
commit 01b18459b4c50411bbb16f4e89500c1480f8dec7
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 19:13:16 2010 +0200
s3-build: only link in lsa client code where needed.
Guenther
(cherry picked from commit 1895d669c260dfd0632d8ff88759bfd407286fa1)
commit a987307739d67a31c26f1cd09f365b5b34e00b0d
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 19:06:57 2010 +0200
s3-waf: only link in lsa client code where needed.
Guenther
(cherry picked from commit c107c662030d8874d4e359a1ec5075b4bfa6c39a)
commit 6413d1764998f1e946ebc19dd7acac6a89bea679
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:58:49 2010 +0200
s3-build: only link in srvsvc client code where needed.
Guenther
(cherry picked from commit 562c5999ec636227a3b66bba314481f8367df90a)
commit 217d9bea25f58241a1869f3b9394d12aea6113ba
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:52:23 2010 +0200
s3-waf: only link in srvsvc client code where needed.
Guenther
(cherry picked from commit 0d0deba7bc8a8b1d7cdfa54f25111d9002ca50ee)
commit 5cba245b518beac8ceebfb89e93befc0152a8e4c
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:47:51 2010 +0200
s3-build: only link in wkssvc client code where needed.
Guenther
(cherry picked from commit 0ae0ca062bb040cc317cc767f37bfa693fb498a1)
commit 62433132ec6972c124382b5f7ba3e77a5c32ff91
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:47:38 2010 +0200
s3-waf: only link in wkssvc client code where needed.
Guenther
(cherry picked from commit cfca94656a182522e1c36feda3455a05277cf486)
commit 8c7d73d0d86bf8f5b99592267a871cd2d3cd75b8
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:42:06 2010 +0200
s3-build: only link in svcctl client code where needed.
Guenther
(cherry picked from commit 2190386518d9f10f754f91785b1f78b584f3cf4b)
commit 0b74d6e5b6ece83ca240b58f46d4aef6edb2a7f8
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:41:45 2010 +0200
s3-waf: only link in svcctl client code where needed.
Guenther
(cherry picked from commit 03269d678351ea14cfede4d30291ca1bde294ff8)
commit 099c370373558fbca70f0404d252bbc7fd375d29
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:36:16 2010 +0200
s3-build: only link in dssetup client code where needed.
Guenther
(cherry picked from commit 9a195fd2330c13b3e9cb4029d41f640e85738d14)
commit 26bf8f71dfc754a1eceee00d7ba0b06ad794af04
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:36:06 2010 +0200
s3-waf: only link in dssetup client code where needed.
Guenther
(cherry picked from commit 2d72cab5d088fb87e23eebe45cea6735a2770712)
commit 1e522b4b9902ac9e628e0f0cd251c0e69144a97f
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:30:57 2010 +0200
s3-build: only link in initshutdown client code where needed.
Guenther
(cherry picked from commit 5c8b54820bf8b57977c38536a5a3e6c76c21dfe2)
commit 1b7075e277706cbf2328c1bbddff63efb05d8d45
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:30:46 2010 +0200
s3-waf: only link in initshutdown client code where needed.
Guenther
(cherry picked from commit e25e9bec2489fe9ac13b59747ec1786969166889)
commit 65f048789e9a406a718e3cfb0e1ac69d9d0c782d
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:22:31 2010 +0200
s3-build: only link in echo client code where needed.
Guenther
(cherry picked from commit f97ff9d440316416eb91e30a48bffdf2aa207610)
commit 3d01c07d168d9e914381b6e72529a088f6061d5c
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:22:19 2010 +0200
s3-waf: only link in eventlog echo code where needed.
Guenther
(cherry picked from commit 3b24db6bf8fd0e9e8ff21cf4578256f8462d26ef)
commit 0715202a22adb91e57b9ee287e2ad8b84b4b8ecf
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:50:37 2010 +0200
s3-build: only link in dfs client code where needed.
Guenther
(cherry picked from commit 0f10349f14e2439dedc2448d3649a5fea53c9dd4)
commit e7ceb32ca18d66a71fbedfbeae7fcf691373692b
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:47:48 2010 +0200
s3-waf: only link in dfs client code where needed.
Guenther
(cherry picked from commit 09b973f6bb9801c75cf623019b4b6b830ec8fae0)
commit 7b090aeef8bc229d821b3d3c88b72f1e22157332
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:45:54 2010 +0200
s3-build: only link in drsuapi client code where needed.
Guenther
(cherry picked from commit a66bb0d8ec40208020b4ce8cf80e110ec8e2a5e2)
commit 2adfcf6844082c9a6f5341b07931a7f366a9bf3f
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:42:59 2010 +0200
s3-waf: only link in drsuapi client code where needed.
Guenther
(cherry picked from commit bd22ef79c2a8167da0783f9759fd7df63554a146)
commit 4bb778e0c2ae13bc8024725846613248648145e9
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:40:18 2010 +0200
s3-build: only link in ntsvcs client code where needed.
Guenther
(cherry picked from commit 4dbb682bc5ee9b1893ad815b710aac46d5bf94db)
commit 6cc701de0499a6f6e855807e14335dfe8a07e317
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:38:09 2010 +0200
s3-waf: only link in ntsvcs client code where needed.
Guenther
(cherry picked from commit 1a00dd4aa7372e9ca9066b28f1ff7aaa7ce3d3a4)
commit 2028d982b3b617c901817d2a0da169c899b33672
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:35:24 2010 +0200
s3-build: only link in winreg client code where needed.
Guenther
(cherry picked from commit 50df1c6f8726f5f34c6031c70ae3df7026f949f4)
commit 690a4810a64e9b84d2c4fc9cd3fff07eb5b33cd5
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:31:40 2010 +0200
s3-waf: only link in winreg client code where needed.
Guenther
(cherry picked from commit ad855c0970c939da7bfe719a4707cf7f39eff330)
commit 1805984ccd1c6fa8bc3b08e9444c0ee5b227731f
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:28:48 2010 +0200
s3-build: only link in eventlog client code where needed.
Guenther
(cherry picked from commit 2af95fc88b95e0c251ef6df8084ac55ad73ade1a)
commit 792b4bfbd7786a6bed263e02433a0e6adcc81a09
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:19:59 2010 +0200
s3-build: only link in spoolss client code where needed.
Shrinks a lot of binaries by 1 MB each.
Guenther
(cherry picked from commit dc663295d19357773a0c5d990f50be831a1e76e8)
commit 1c0f72986a2255218ab1bcb667d64f2dd9b4241d
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:19:24 2010 +0200
s3-waf: only link in spoolss client code where needed.
Shrinks a lot of binaries by 1 MB each.
Guenther
(cherry picked from commit 72f30e82e406ae3690c0d324b844fc6b3a4c02c4)
commit fd0740438d29a0beaab5f5f3715b27717ad3c9ce
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 16 21:30:26 2010 +0200
s3-waf: Try to fix the idl build.
(cherry picked from commit 1b022d1d3d613d2299350f9c8cea8cec4510d0b2)
commit 1ff9913903438f22175f27f0c4443a17ce8a4f28
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 16 20:35:31 2010 +0200
s3-waf: Create a variable for LIBNDR_NTPRINTING_SRC.
(cherry picked from commit 5af3177dbd79c3fe494ae82509a37368c8caf204)
commit bf41982a429d723b6392a1cf24109ad224ace04b
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 16 12:11:19 2010 +0200
Revert "s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is broken"
This reverts commit 8ca8250443319e0f19f05aab2014118fd03eaa8a.
(cherry picked from commit dba68d845200bb4416a87c5777de2b554110d20b)
commit 2936a2156026a0c10e9253f0fdeed65a9dd40cf8
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 10 11:33:03 2010 +0200
s3-selftest: move make test to selftest.
The old "make test" can be still called as "make oldtest".
Guenther
(cherry picked from commit f00b61c7d4611802c66495824c97af6cad69704e)
commit 08cf13a3df212bd421275f61e2db146752490c7d
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 06:51:38 2010 +0200
s3:registry: remove now (finally) obsolete reg_util_registry.{c,h}
commit 7f1efa6ea25eba0c0829131758746ac0c2ab9e42
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 06:49:40 2010 +0200
s3:services_db: does not need legacy registry code any more.
commit 8df2ab974689c585f19b5a0de40a80245d12639d
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 06:48:19 2010 +0200
s3:services_db: rewrite svcctl_init_keys() to use reg_api calls instead of legacy
commit a6f0f912cc461dcca2b34242327c6fc82d6ff849
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 03:11:43 2010 +0200
s3:services_db: extract core of svcctl_set_secdesc to _internal version
The internal version operates on an already opened key.
commit f2a4d5536b68f344edab717c4e6dfbef15523499
Author: Michael Adam <obnox at samba.org>
Date: Tue Sep 21 03:00:29 2010 +0200
s3:services_db: create the "Security" subkey if it does not exist in svcctl_set_secdesc()
Windows behaves like this. - Tests will follow.
commit 8be007dbb0c10a0755a87639eccabd7f5cdd05b3
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 11:24:36 2010 +0200
s3:services_db: remove bogus comments
(from copy and paste probably...)
commit 5fe2abb2f85afe2e8655257446c7dd03a08b2d57
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 11:20:37 2010 +0200
s3:services_db: remove unused legacy function svcctl_fetch_regvalues().
commit e869af9e0e6e460d8ae225310f58f458e094e86f
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 11:18:33 2010 +0200
s3:rpc_server:ntsvcs: registry is not directly used an more.
commit d760e543a1340a2166a43f83b27b5a4a6a39dfcf
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 11:17:38 2010 +0200
s3:rpc_server:ntsvcs: use svcctl_lookup_dispname instead of legacy svcctl in _PNP_GetDeviceRegProp
commit 4cee4bbd02cdd0e4bc458378016621948e58d47c
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 10:57:53 2010 +0200
s3:rpc_server: registry is not direclty used in the svcctl server any more
commit 3cab10975464a6f67c1728301ffc0264fb1763e0
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 10:30:30 2010 +0200
s3:srv_ntsvcs_nt: make fill_svc_config() use svcctl_get_string_value()
instead of using legacy svcctl_fetch_regvalues()
commit 3c85a9fcbe56aadc6a50706d253d7d010cf91c63
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 10:27:56 2010 +0200
s3:services_db: publish svcctl_get_string_value()
commit e28bc8d763978762480367d031a4a62ebd411f8a
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 08:06:30 2010 +0200
s3:services_db: factor out common code of lookup_dispname and lookup_description
into a new function svcctl_get_string_value()
commit 53dcbc2dd2705c5273163c757e2587e3596c6971
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 06:19:57 2010 +0200
s3:services_db: change svcctl_lookup_description() to use reg_api functions
commit 9fee03365621cca011da4521d98f1e1aa2882278
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 06:03:58 2010 +0200
s3:services_db: rewrite svcctl_lookup_description() to use a tmp talloc ctx
Also remove a possible memory by tallocing the result string
also in a default case, where a string constant was returned before.
commit 464515cd610b5ee3862d8bc8558cd698d4f7258e
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 08:11:07 2010 +0200
s3:services_db: change svcctl_lookup_dispname() to use reg_api functions
commit e464ca9f311e3becd5f88f41fa7a95520fe6fbc3
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 04:58:27 2010 +0200
s3:services_db: make svcctl_lookup_dispname() use a temp talloc ctx
commit a4b1042f33b505dcb51ac25bf84a597d98fa9d4b
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 04:41:59 2010 +0200
s3:services_db: change svcctl_get_secdesc() to use reg_api functions
commit 4fc2b5c40e63579c2fe4e95bdbaa31108f2b3475
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 04:12:42 2010 +0200
s3:services_db: use temp talloc ctx in svcctl_get_secdesc()
commit 9bfd587358fb58b98dd0fbdd72069430a89cefc7
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 03:38:45 2010 +0200
s3:services_db: remove the TALLOC_CTX argument from svcctl_set_secdesc
commit 91d5446390dc41b43fe18785a765bbd71ff709c2
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 03:36:23 2010 +0200
s3:services_db: fix a debug message
commit d2794b05a6b8be40ebde4a47b9c03008242b1c46
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 03:34:49 2010 +0200
s3:services_db: rewrite svcctl_set_secdesc to use tmp talloc ctx
and add a common exit point
commit 7cefb898729bc46e1ba9fd1c8b48e7aef0486339
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 02:43:33 2010 +0200
s3:services_db: rewrite svcctl_set_secdesc() using reg_api calls instead of legacy
commit f53c17b4ff27c39fbeccce4d369f4bb8f1b13ce7
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 00:46:59 2010 +0200
s3:services_db: untanlge assignments from check in read_init_file().
commit a67a553f40833a182b89a058d59015bcf19640f0
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 00:40:44 2010 +0200
s3:services_db: untangle assignments from check in construct_service_sd().
commit 7ffcf90bb9b7214e30b82a0e8e371207409052eb
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 20 20:36:36 2010 -0700
s4-drepl: use the partition UDV and hwm for extended getncchanges ops
we find the NC root then load the uptodateness vector and highwater
mark, if available, from there
commit 7032d7c715233f295c5cef6c8d7b70ad0b538101
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 16 20:18:20 2010 +0200
s3-waf: Fixed the build.
(cherry picked from commit f036b449db07c17d04b7f47b1defedef2c2a0970)
commit 7d5f32fb54e6703321ac9fd64f4e78c9a209f754
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 16 20:35:16 2010 +0200
s3-waf: Fixed the rpc_client build.
(cherry picked from commit 45c7f83ccb2822564ec8df3c41b5c0a9dead6e9c)
commit 997a039e76a6e8138393b2917befd36384233c55
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 16:51:24 2010 +0200
s3-waf: fix the build.
Guenther
(cherry picked from commit 73a69e2d0f011327dddf2d0086e13b7b05397af7)
commit 60f20fcb52903e76e77bc8ac04d0541d825507bf
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 4 16:44:08 2010 +1000
s4:auth Move struct auth_usersupplied_info to a common location
This also changes the calling convention slightly - we should always
allocate this with talloc_zero() to allow some elements to be
optional. Some elements may only make sense in Samba3, which I hope
will use this common structure.
Andrew Bartlett
(cherry picked from commit 272e49e85c47d88ef0a84bce88e6f8d984f2eae4)
commit 0fe9f1056eb61ca87a3aeb8b84a81abdd1b6c8ec
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Aug 7 18:56:35 2010 +1000
s4:ntlmssp Merge more aspects of the source3/ NTLMSSP layer
This changes the talloc treatment of the session keys to avoid
memory duplication - the session key has always been allocated
onto the ntlmssp_context by the auth subsystem callback.
The remainder of the changes are cosmetics, such as avoiding
using lm_session_key as a pointer (and avoiding then doing an
if statement on something that is always true).
Andrew Bartlett
(cherry picked from commit 4b47245a9d7292255a5dca8286283b5519de12e6)
commit 56ed536574e61846d75415ded4071f17842ed438
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 17:53:44 2010 +1000
s4:ntlmssp Re-add gensec_ntlmssp wrapper to allow merge with source3/
By re-adding this wrapper, the actual guts of these functions are now very
similar to that found in source3/libsmb/ntlmssp.c
This should make it easier to merge the implementations.
Andrew Bartlett
(cherry picked from commit 6644f48d724085f839da86ef75bd814a46359ea5)
commit c9bd85601cdc593ef691c8559841311710ff6f93
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 17:51:34 2010 +1000
s4:ntlmssp Always setup the session keys and signing state
While it would save some CPU to only setup the session key when
requested (like windows does), this instead matches the
implementation in source3/libsmb/ntlmssp.c
We could re-add this later after the codebase is merged.
Andrew Bartlett
(cherry picked from commit 1979486c8ea9125cb8b16782acc0dcea9c6f552e)
commit 2e5711fd300e8e9a469f0e2a508824ad7b087681
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 16:14:11 2010 +1000
s4:ntlmssp Adjust Samba4 ntlmssp code to look more like the code in Samba3.
This does not change behaviour, and some of the whitespace isn't ideal, but
at the moment making this code more similar, even in cosmetics, will assist
later merge efforts.
Andrew Bartlett
(cherry picked from commit a2607a62f3ff359715e49fed93ec23f744e861b5)
commit 519e376a02d16efa17dab343bb5683b1795a6c7b
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 17:41:18 2010 -0700
s4-smbtorture: print SVCCTL security descriptor in test_QueryServiceObjectSecurity().
Guenther
(cherry picked from commit c201e494c476e3245f887c4491a909126d1c3333)
commit d2923fd77207803e36e9422bf19c0fd475455a86
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 13:53:09 2010 -0700
s4-smbtorture: add NetRemoteTOD libnetapi torture test.
Guenther
(cherry picked from commit 58c79b828baa15ba1619574c8277c455364676e8)
commit 7d46593ef267770ee037f7f37338dfe772ce502a
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 21:05:37 2010 -0700
s3-libnetapi: Fix Bug #7665, memory leak in netapi connection manager.
Guenther
(cherry picked from commit 6f47a24bc55be0ea907594a748774675a105b5e3)
commit 6f47a24bc55be0ea907594a748774675a105b5e3
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 21:05:37 2010 -0700
s3-libnetapi: Fix Bug #7665, memory leak in netapi connection manager.
Guenther
commit c201e494c476e3245f887c4491a909126d1c3333
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 17:41:18 2010 -0700
s4-smbtorture: print SVCCTL security descriptor in test_QueryServiceObjectSecurity().
Guenther
commit 1585c4df68a66569524a41def95488666dd827dd
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 16:01:51 2010 -0700
lib/tdb: fix c++ build warning in tdb_header_hash().
Guenther
commit 80ca590d38d16723c6f457249e4051d5aa5843c5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 17 18:06:05 2010 +1000
s3-lib/util Remove unused smb_uuid_unpack()
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit 03011bf11837e75474f91f422ddf35d827d31cd1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 17 18:04:05 2010 +1000
s3-libads call common GUID_from_ndr_blob()
This does a length-limited check, and so avoids reading beyond the
allocated memory if the server sends less than 16 bytes.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit 6acb47b1154562415bf966f72262481d25e58708
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 17 17:46:51 2010 +1000
s3-uuid Remove unused smb_uuid_pack()
Signed-off-by: Günther Deschner <gd at samba.org>
commit d7bc452a893a77eb21b547cd8cdf8b420c60ab5d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 17 12:33:44 2010 +1000
s3: Replace sid_binstring and sid_guidstring with PIDL-based alternatives
This reduces the manual marshalling of these structures by removing
the duplication here.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit d44e86b473554ad549993c928af68e348ccefe2b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 20 15:46:41 2010 -0700
Open alpha 14.
commit 8efd1074c21fde70a31756dd54b3b31811beccc8
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 20 12:16:09 2010 -0700
s4-pyrpc: fixed build on python 2.4
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit 3fe8e97a7289c18903a9f481a13f8793f9f17bab
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 19 21:49:00 2010 -0700
s4-rodc: fixed repsFrom store on RODC
We were disallowing repsFrom store as a RODC on the basis that it is a
write to the directory. It should be allowed, as its is a
non-replicated attribute.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 59951163bea67b1a5d5eeef109f200a6323c00f3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 19 21:48:35 2010 -0700
s4-kcc: a bit more debug info on repsFrom creation
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ead126caace0cd94ab515f5d9f2199b60a84f914
Merge: 8853babb504298bd87fb5cae2120f2be63b08312 db67f43aefccccedbd8bf59c7d97c99295b7a168
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 20 15:24:44 2010 -0700
Merge branch 'v4-0-stable' into newmaster
commit 8853babb504298bd87fb5cae2120f2be63b08312
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 15:03:56 2010 -0700
s3-build: try to fix the non-ldap build.
ldapsam_search_suffix_by_name is already prototyped in smbldap.h.
Guenther
commit ccbcffadb6e3b8dc6951e7d80e65a06eb5df61de
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 17 11:15:28 2010 +1000
libcli/ldap Add const to ldap_encode_ndr_dom_sid()
Signed-off-by: Günther Deschner <gd at samba.org>
commit db67f43aefccccedbd8bf59c7d97c99295b7a168
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 20 14:41:29 2010 -0700
s4-mkrelease: Update for waf.
commit aa8a2e310571b20f29d36d3dac60ae87c814d8e1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 20 14:41:09 2010 -0700
wafsamba: Fix docstring for DIST_BLACKLIST.
commit 4752a6b6d7767a62f322ee3d8e3a412e7699fcea
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Sep 20 21:28:06 2010 +0300
s4-test: yet another test for ATTID-ot-OID conversion
Test with a valid ATTID for prefixMap lookups,
but supplied ATTID is with index not to be found
in the test prefixMap
commit f06d98764a455981c664512acc423715dec3d7a4
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Sep 20 20:52:48 2010 +0300
s4-dsdb-schema_prefixmap: return WERR_DS_NO_ATTRIBUTE_OR_VALUE when ATTID is not found
rather than WERR_INTERNAL_ERROR - it is not internal error!
commit 395b09c1b6ac9df42202966d90b1a121712df418
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Sep 20 21:31:20 2010 +0300
s4-dsdb-schema_prefixmap: Print debug message when internal failure occurs
commit 0740d0ae85870a6b392cb3ab6cbc3fb36ed3714c
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Sep 20 21:31:11 2010 +0300
s4-devel-getncchanges: Add common Samba options as a group to be displayed
Those options are processed but never shown with --help argument
commit d0a6c32add2e934174771750cdc1893f146d53cf
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 27 00:07:25 2010 +0200
s3-nmbd: move SYNC_DNS to nmbd.h
Guenther
commit 102a70e809b262fca8ea09fbd4e2788511150006
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 17:21:39 2010 +0200
s3-util: use shared dom_sid_dup.
Guenther
commit 4dbd743e467096624961533335afccadc67af0e6
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 15:48:50 2010 +0200
s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.
Guenther
commit 400616017974f057c8a2e817b62b90b1490d4129
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 16:41:15 2010 +0200
libcli: add dom_sid_compare_domain()
Guenther
commit 62544c5d2b9caab818ce82eb0b3877854a9719b6
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 14:07:20 2010 +0200
s3-build: only include smbldap.h where needed.
Guenther
commit 8e16d6dbdfdbfd42de32497d92f3fae32cd39ba4
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 10:14:07 2010 +0200
s3-build: only include ctdbd_conn.h where needed.
Guenther
commit c7fe04abc791dd1b3c5272a96fb5f26f6ce5c252
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 09:58:09 2010 +0200
s3-build: only include async headers where needed.
Guenther
commit 58c79b828baa15ba1619574c8277c455364676e8
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 13:53:09 2010 -0700
s4-smbtorture: add NetRemoteTOD libnetapi torture test.
Guenther
commit b3a3fe6ee034c8b5c032f6445338dcee305f760c
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 13:40:55 2010 -0700
s3-waf: fix the build after registry changes.
Guenther
commit dc192787955542510724541cf23b4d8ed4cc99d4
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Sep 20 13:49:19 2010 +0930
Really enable core dumps in Linux
commit e1f1ce68e1f685400a8c68bcec14018e3d1fc29d
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Sep 20 13:33:30 2010 +0930
source3: dump core on Linux, even after seteuid/etc.
The "dumpable" flag is reset on every call to set*uid, so we need to
reset it to 1 in the signal handler itself.
This code dates back to commit ac01fda2b97b 6 years ago :(
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Signed-off-by: Jeremy Allison <jra at samba.org>
commit e4d7bc24d1a3e1d712c2fd9da160f837707ba6d3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 20 13:08:29 2010 -0700
wafsamba: Fix parsing of IS_GIT_VERSION.
commit cd7335abd31e7c4a42d3fc108fa873645bf4c53c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 20 13:07:27 2010 -0700
s4-mkrelease: Update to use waf build.
commit 0e8975a4fe52a15feb5e97a1b9bbc8717ecae74c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 20 13:06:13 2010 -0700
Update version info.
commit b17b6f78218c57359aa351003aa1033665d93f36
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 20 12:11:05 2010 -0700
Update WHATSNEW.txt.
commit 4d27046d9f9c0ae043a311e65011b0f639db5992
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 3 10:40:04 2008 +0100
s3-dsgetdcname: cleanup receive_getdc_response a little.
Guenther
(cherry picked from commit c59961dd814965e1dedd172b5e11c31310b80cc7)
commit ecd5fcb9e719f248480ad5e900f2e423e6daaef2
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 16:55:23 2010 +0200
s3-spoolss: Fix _spoolss_GetPrinter().
In the error case, we need to TALLOC_FREE(r->out.info), don't ask :-)
Guenther
(cherry picked from commit bf7ca3f5e7e6f126fd8baec5548dfd45bc5e168f)
commit 2c9cb11f53cb6454c0941028f6c4339244f2af93
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 19:32:28 2010 +0200
s3:registry: move prototypes of unused hilvl functions to ret_api_util.h and comment them out
commit 8eb487cabac003911a49a4b5d3a9346fcb639430
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 19:30:58 2010 +0200
s3:registry: move (commented out) hilvl util functions to reg_api_util.c
commit 0f7e503d21562a8c8aee3de609bdcade790bc7a0
Author: Michael Adam <obnox at samba.org>
Date: Mon Sep 20 02:42:10 2010 +0200
s3:registry: move higher level function reg_open_path to new module reg_api_util
The reg_api.c code should just export functions that direclty relate to winreg
api calls.
commit 59da21b510d9de73812ecbf9b0e4cfa4364013af
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 04:07:01 2010 +0200
s4-smbtorture: fill in trust_domain_passwords_check_in in NDR lsa test.
Guenther
(cherry picked from commit df7c7185fd61646efcbb506557078547c58f7b97)
commit 77e95b40e95352ca90bd26cf626345f06eb808a9
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 04:06:48 2010 +0200
s4-trusts: fix trustDomainPasswords drsblobs IDL and server side support.
Also remove bogus trustCurrentPasswords struct which we just had because our IDL
was incorrect.
Guenther
(cherry picked from commit e2f15d2a25302ee529006b2d1d6b99993c7102e8)
commit 671211c539767af5a64508ad4cf8776c27345a54
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 24 13:44:54 2009 +0200
s4-smbtorture: add test_SetServiceObjectSecurity() to RPC-SVCCTL.
Guenther
(cherry picked from commit f12756b5acac3fad4178f009865f8bcc5b6934a2)
commit d1413e8877bfed6d0a2b2c21621d8ef6cf0e225e
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 14 17:27:55 2010 +0200
s4-smbtorture: add LOCAL-NDR-NTLMSSP.
Guenther
(cherry picked from commit 55f465576c4602e74a6bc5c194adb27231c520f8)
commit 114d17415cf124e2a36bc47ebd76680362e3563c
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 17 13:16:26 2010 +0200
s3-nltest: add dsregdns command to nltest.
Guenther
(cherry picked from commit 1d8094172c69ec8d64701b70a87ddf31b0d8f4f9)
commit 1bcc9e5329dfde5ec484ae24695a0cbb58ff9f57
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 17 13:15:35 2010 +0200
s3-libnetapi: support NETLOGON_CONTROL_FORCE_DNS_REG in I_NetLogonControl().
Guenther
(cherry picked from commit 8e73826b3c2323c6e81a285f49c6b9d606cb7a53)
commit 4904ea1f3da8c9bfa5572b6970ccd76c5f454472
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 17 13:14:50 2010 +0200
libnetapi: deal with NULL data in I_NetLogonControl2().
Guenther
(cherry picked from commit 47a7a5830c145dd12e200fa12fec41bc745046d3)
commit 761c5d88ca9eee89bb9c9c08de1c5a6b87e2ad90
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 17 10:06:16 2010 +0200
testprogs: skip two tests in spoolss tester.
Guenther
(cherry picked from commit b772f4cdffda7f7e1bd0a7951bec0304102606d2)
commit 9ba8811dbabfab63c874b953df813ddea707bf2e
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 09:56:36 2010 +0200
s3-nltest: add dsgetdc command.
Guenther
(cherry picked from commit c35629cbb2e5f7c6743c8c15e0b3bb424e611931)
commit fd905e7dc8366c4f9dc832df31c82ca4474efc08
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 15 10:11:38 2010 +0200
s3-libnetapi: try using netr_DsRGetDCNameEx() in DsGetDcName().
Guenther
(cherry picked from commit bbdbb0cbcc3de9a3188b77c2d34cf46a33bbe980)
commit f36ca53e911e57bfa4d1c631d56a512b760f1ea8
Author: Günther Deschner <gd at samba.org>
Date: Sat Sep 11 01:23:01 2010 +0200
s3-libnetapi: add DS request flags to public header.
Guenther
(cherry picked from commit 3fe966d28003f8a09a29c9a9051672e0e066e7b6)
commit fdbf08c56771d05a3a8e89933390306df0cbbcf5
Author: Günther Deschner <gd at samba.org>
Date: Sat Sep 11 01:19:07 2010 +0200
s3-libnetapi: add DS_X_FLAGs to public header.
Guenther
(cherry picked from commit 26672e228a6eb327f5810ee1b6adb8b4bb39d5ec)
commit 36839aec7f7a13fb0866e570811e5eab340830b6
Author: Günther Deschner <gd at samba.org>
Date: Sat Sep 11 01:18:04 2010 +0200
libnetapi: add DOMAIN_CONTROLLER_INFO_FLAGS.
Guenther
(cherry picked from commit 45d772e0e616186cd8b45c81d7c775e07ab0d7ae)
commit c87dd0604050033f511d973c0709b0761922a0e3
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 14 17:39:45 2010 +0200
s3-nltest: convert server input argument into --server.
Guenther
(cherry picked from commit 5901e81acff9b6da965782276e457069bf2be55d)
commit 1bda5a0f921dc78d191fbeb39e86d6cfe1a535a4
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 09:56:02 2010 +0200
s3-nltest: rename print_result to print_netlogon_info_result.
Guenther
(cherry picked from commit a609c03956843b11d335b7f3b0f8d5a330588711)
commit 5ada1b93cf9e7f4f64754f9efa85ab41b16719bf
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 14 15:23:45 2010 +0200
s4-smbtorture: try to fix spoolss winreg Form tests on bigendian machines.
Guenther
(cherry picked from commit 73edd661eaec3b1f0d8705d545160ff4a2d97948)
commit c9e17edfc6f9dc7f3ae251102dbb7bfcf08a770d
Author: Günther Deschner <gd at samba.org>
Date: Sun Sep 19 22:35:26 2010 +0200
s3-waf: add net.
Guenther
commit 99d898938c7d656d852e4c91f7534e2cba99c5f8
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 09:47:21 2010 -0700
s3-waf: add libnetapi
commit b9064cbe861e8e726403d2ed976b34fa246ad8ad
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 2 13:19:02 2010 +0200
s3-spoolss: allow a short printername w/o servername.
Verified with RPC-SPOOLSS-PRINTSERVER-enumprinters_old test.
Guenther
(cherry picked from commit 26ea51c7ab59f54f0b88f1367a0982404b9be18b)
commit 8a82225464b8b4c841709057036c069f9adc8f46
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 2 13:39:12 2010 +0200
s3-selftest: rename printer "print4" to "lp".
This should trigger a false error condition in our code.
Guenther
(cherry picked from commit 9962462278e250f4ad2aa068bb6afb8015270e81)
commit 8a5647e9de1d25c9ff0866e9d836e68fe9338898
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 00:16:30 2010 +0200
s4-smbtorture: add spoolss_OpenPrinter with unc and printername in RPC-SPOOLSS-PRINTSERVER.
Guenther
(cherry picked from commit cf76cf02995f6050fc71066366810b355d26d4b9)
commit 1125b29139f2994f344b9443561430a2e371fb36
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 17 10:02:13 2010 +0200
s4-smbtorture: fix winreg querymultiplevalues NDR test warning.
Guenther
(cherry picked from commit 6f5fa763c13f43cc805a9bd939c21970404deaec)
commit e1b12c1240555570473d3b7dba423e0e8bda971b
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 18:41:37 2010 +0200
s4-smbtorture: add NDR spoolss_GetPrinterDriver2 in and out check functions.
Guenther
(cherry picked from commit 0730d982e68bacbb89584ee8297c6e275955b7c4)
commit 44ebeafb0bc4fbe662411e91f5b3e88d6916149e
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 16:49:54 2010 +0200
s4-smbtorture: finally enable most of our NDR_OUT NDR tests that we couldnt handle previously.
Guenther
(cherry picked from commit 809094a2c8224f725adcd1faff42c1de3f3eccad)
commit f2d500efa4cb97c0cc436eb4566d4e790febd5d0
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 16:21:39 2010 +0200
s4-smbtorture: add functions to do NDR_OUT ndr_pull validation including NDR_IN context.
Guenther
(cherry picked from commit c29b16faa87dab686c8d36abc009c7d92d28a6b2)
commit 9bea852b96b430c44b047f7454a013bb848891f4
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 16:25:51 2010 +0200
s4-smbtorture: fix some indentation in NDR testsuite.
Guenther
(cherry picked from commit 5f9caf18dbba8b6ddb2779bcec4836b605b5fa1e)
commit 64cac0c36c2ddc2d3b1ecdc2de731b9bab72137a
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 16:22:32 2010 +0200
s3-smbtorture: fixup trailing whitespace in ndr testsuite.
Guenther
(cherry picked from commit 725126b1723438ba8b6f9dd41eac8730856da41e)
commit fcaa225adae7465c85a705027a1a6e41924de185
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 14:42:22 2010 +0200
s4-smbtorture: add spoolss_GetPrinterDriver2 NDR tests.
Guenther
(cherry picked from commit 567a2e68d67608fca6c040393bd55b8699a5c3e2)
commit 1fa0d53bfee6a05acda374736d8bcf3366394df7
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 14:41:37 2010 +0200
s4-smbtorture: mention -v switch for hexdump imports into the NDR testsuites.
Guenther
(cherry picked from commit 1250a6343560705423bcf5c9a25f6448e251e526)
commit 8d50721e2aa064244d289c82976d6a3c879579d6
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 14:31:53 2010 +0200
s4-smbtorture: activate spoolss_GetPrinterData NDR pull test.
Guenther
(cherry picked from commit dfe25088ba8b1e6fdaf49ef88d2da07fd8f1d950)
commit 4cd16c5f52b317cff572dbcaff7ffa89b93aeb24
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 15 23:02:43 2010 +0200
s4-smbtorture: try FSCTL_FIND_FILES_BY_SID with random blob data in RAW-IOCTL.
Guenther
(cherry picked from commit fe59119e06d334a06052b4aac71679488f581383)
commit 1bb222d88dbd8a4004d5c4f5e05a2ead18a430ea
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 9 23:13:33 2010 +0200
s3-nmbd: use NETLOGON_NT_VERSION_1 in LOGON_PRIMARY_RESPONSE.
Guenther
(cherry picked from commit 9f4c1a2a7b9c94df821413acb4fb61327e605f7f)
commit 4662162393915fbf3b82696cb60696c8742a81d4
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 8 18:55:27 2010 +0200
s3-nmbd: use autogenerated marshalling for LOGON_SAM_LOGON_REQUEST.
Guenther
(cherry picked from commit 71b95703f99d2a5b71c8d31abf04e2a05336afb8)
commit 2a136a90707c5b73fa14c4239578fbc6d800f275
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 9 13:16:21 2010 +0200
s3-nmbd: use autogenerated marshalling for LOGON_PRIMARY_QUERY.
Couldn't find any reproducer for a short request, so removing it for now.
Guenther
(cherry picked from commit 36d7efa75a799522b8ac5995509573d667213799)
commit b870be6cf0ed7901ce79586a794b9d6fa7e8be0a
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 9 22:39:05 2010 +0200
s3-nmbd: use autogenerated marshalling for LOGON_REQUEST.
Guenther
(cherry picked from commit bfda968e0776dfc95e761ffd3a91f72702286fee)
commit fdc0251603f11c3d7d269fd603b72d2881f709a0
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 9 22:38:37 2010 +0200
s3-nmbd: handle source_name in one location in nmbd_process_logon().
Guenther
(cherry picked from commit f002b7fa1b4162e691abb68eb95eee2a809faaf5)
commit 23d217aa7839d2c203ab3fa581732f274fc4793c
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 7 11:41:05 2010 +0200
s3-nmbd: use nbt_netlogon_packet in process_logon_packet().
Guenther
(cherry picked from commit 5fc7d14b064d83b40c65a8c41ea05a9b43af6f5d)
commit b04c8e0cc7cc077dc69c14cff14deb3c384a7a6e
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 8 11:58:04 2010 +0200
libcli/netlogon: add LOGON_REQUEST handling to pull_nbt_netlogon_response().
Guenther
(cherry picked from commit fe30e359670d67e9a8b8ccd22d4eb6d363f88827)
commit 72d58e950c4043f706ac21e079338bd7f5321c7a
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 8 18:59:19 2010 +0200
libcli/netlogon: add LOGON_RESPONSE2 to pull_nbt_netlogon_response().
Guenther
(cherry picked from commit 9a1dbe04a8f1a7cbd0352504990c9240fdd22dae)
commit a80ec29c5af21a6599b59eb303b8bd52ccd33d57
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 7 22:41:44 2010 +0200
libcli/netlogon: add NETLOGON_RESPONSE2 to push_nbt_netlogon_response().
Guenther
(cherry picked from commit daa948df2bf23f15bcdb4df170306ef71d952e7c)
commit 9a0695ad5dbdc27b579b1d118bb43460d6c999d1
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 8 23:23:09 2010 +0200
s4-waf: fix bin/python/samba/dcerpc/nbt.so.
Thanks to Brad Hards for pointing this out.
Guenther
commit 930ca329db9dd064aada99bcda15fd93f8a7e973
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 8 11:18:40 2010 +0200
s4-smbtorture: add torture ndr nbt testsuite.
Guenther
(cherry picked from commit 81ece84b789c64243db1661df6c9fa590d19490f)
commit ece50807cac6b133eeec42cea941fc4fdf1b764e
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 7 22:41:06 2010 +0200
nbt: add nbt_netlogon_response2 to IDL.
Guenther
(cherry picked from commit 1217809c465a35b0a2727111d820007097b2b611)
commit 37664fd79bebc2b76d86a5a487233e29a17ecf16
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 7 13:16:27 2010 +0200
nbt: add NETLOGON_LOGON_REQUEST.
Guenther
(cherry picked from commit 8f8ff8bb29cb6f07ddcb310a089b695dbe176b34)
commit 672949f7eca50e323375935e7106cf02128f1b0c
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 8 11:19:48 2010 +0200
nbt: add decode_nbt_netlogon_packet() to IDL.
Guenther
(cherry picked from commit 778950ca9322700c10c92b411873309398aa8dd1)
commit 9fe70c2f27ad6fcd06d4ac126f521a23058bdefc
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 7 11:50:39 2010 +0200
s3-nmbd: fix indentation in process_logon_packet().
purely cosmetic, no code change.
Guenther
(cherry picked from commit 958df10a44f1370ab46f8ed571e6927e1e182d87)
commit 1363767084e24f5d4587a2edb07497321a940e5c
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 8 19:01:10 2010 +0200
s3-nmbd: remove trailing whitespace in nmbd_processlogon.c
Guenther
(cherry picked from commit ed68eb768b59835b96099d3073a5aa8b1da0e082)
commit b4eba4268d87ab7436eb567c5a629445f81a8ecc
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon Sep 20 09:46:10 2010 -0700
s4/dcdiag: Handle ListRoles command for dcdiag:KnowsOfRoleHolders test
commit 7250cb3e735fb1b96ebbbcd129e29283a26a508c
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon Sep 20 09:44:19 2010 -0700
s4/fsmo: Create separate function for retrieving fsmo role dn and owner dn.
This functionality is needed for DsCrackNames ListRoles command also.
commit faeeb5c8e7b3f2ed4e91db6dd11560658f16182d
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon Sep 20 09:41:00 2010 -0700
s4/drs: use type enum drsuapi_DsNameFormat in DsCrackNames code
commit b55853cd64a5eeeedf1ffb9c09ba0749e3b17617
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon Sep 20 09:39:44 2010 -0700
s4/drs: Added the rest of the enum drsuapi_DsNameFormat values
According to documentation - [MS-DRSR] 4.1.4.1.2 and 4.1.4.1.3
commit f12756b5acac3fad4178f009865f8bcc5b6934a2
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 24 13:44:54 2009 +0200
s4-smbtorture: add test_SetServiceObjectSecurity() to RPC-SVCCTL.
Guenther
commit 1c82ca01c39e24251e59d7be44390baff998f329
Author: Björn Jacke <bj at sernet.de>
Date: Sun Sep 19 22:57:23 2010 -0700
s3/winbind: remove unused winbindd_check_cache_size
commit c9d78fc3585fb9b6139e130d1f07c2931641eab5
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 6 15:13:48 2010 +0200
s3: Fix the charset_pull routine (bug 7531)
In the push routine we do the SVAL, so we should do the SSVAL here.
commit 1c8fd86a1dcffd0e829d218b7d3b689c24be8a64
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 6 15:13:48 2010 +0200
s3: Fix the charset_pull routine (bug 7531)
In the push routine we do the SVAL, so we should do the SSVAL here.
commit dbfb42c1b50e9372184ad170f10ba75b87565965
Author: Kai Blin <kai at samba.org>
Date: Sun Sep 19 15:41:45 2010 -0700
s3-waf: Build libwbclient as dynamic library
commit 34f47a33dffa429c6f8bc58c4d8b27a1152ad259
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 19 16:11:57 2010 -0700
s4-rootdse: mark registered controls as non-critical
this is needed for clients that may include unnecessary controls in
requests and mark them as non-critical
commit c1a6820c85334da43ad47fcc1975a9b4c9577479
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 03:18:49 2010 +0200
s3-waf: fix the file locations of gen_ndr'ed files.
Guenther
commit ad8533c0b0cffa037f1395d586381d8db642e93a
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 03:10:43 2010 +0200
s3-waf: fix the build after reg_api changes.
Guenther
commit 91e8f8ded2f78bdd5b1db11562a575488a024322
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 02:10:43 2010 +0200
s3-registry: move regf based reg_api calls into own file.
Guenther
commit 323f729df07794da6b79db5e72b1389fb79b8bde
Author: Günther Deschner <gd at samba.org>
Date: Mon Sep 20 01:51:54 2010 +0200
s3-registry: add reg_querymultiplevalues to reg_api matching table.
Guenther
commit 3f55c2ee7ac89f96e902b1f1b782e3e033e42f43
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 15:42:16 2010 +0200
s3-waf: add rpcclient to the waf build.
Guenther
commit 6fd8f65d48db213956c7b70fbf5be86fe09807f2
Author: Björn Jacke <bj at sernet.de>
Date: Thu Sep 16 21:36:00 2010 +0200
s3: remove TvalDiff macro, we can use the shared usec_time_diff function
(cherry picked from commit 6bc68fabb81d019e017d7f51fdd0b275b3f78609)
commit 9701d33ba38cf69dde801845cc8782dbfe334518
Author: Björn Jacke <bj at sernet.de>
Date: Thu Sep 16 21:36:37 2010 +0200
s3/s4: merge msleep and smb_msleep
the merged variant is renamed to smb_msleep as some platforms already have a
msleep function.
(cherry picked from commits 2b254c814b139f93997f61525d77b934596c53a3
1a22b1b44df62931a35254d06d2fc638c996c5f7
66ad6c75e9efbd9837c70a716b556520c0279597)
commit 01371d968e09719e3034a919eddf3c90a48a71e4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 19 13:20:33 2010 -0700
s4-rodc: override client site from cldap response
commit 8beed3679d09e0c89a081ef6b32536cf57419521
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 19 13:02:40 2010 -0700
s4-dns: fixed the dns_domain_info_type for netlogon DNS calls
w2k8r2 does check this field (WSPP docs need an update)
commit 6642ae9703e4ccb1fdfefa81a6da5b5fa52b53ad
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 19 13:02:05 2010 -0700
s4-dns: added --all-names option to samba_dnsupdate
this forces the re-registration of all names
commit 94694ecf4e3c8df4d3818d24916125f9e85ec6a9
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 19 12:31:58 2010 -0700
s4-libnet: use the right domain name in libnet_lookup
commit 1555659e7801c1f924dcd58d1c277dbe1191deb0
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 19 12:31:33 2010 -0700
s4-cldap: improved debug msgs in finddcs_cldap()
commit dfedbaeb055acb0d7abf74b9534308149a018ee4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Sep 19 12:29:42 2010 -0700
testtools: Import newer upstream revision.
This fixes (among other things) a warning during 'make test' on systems with Python 2.6.
commit 1fc1be4685667f95e855fd2f781651c341e06fbd
Author: wilco at baanhofman.nl <wilco at baanhofman.nl>
Date: Mon Aug 30 12:17:41 2010 +0200
Fix regf.idl, subkey and rootkey types were switched.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 7efcb3ca66b12972de3707164c7bd415619a4bb8
Author: wilco at baanhofman.nl <wilco at baanhofman.nl>
Date: Mon Jul 26 23:00:43 2010 +0200
Fix file corruption (non-updated header) on new allocation.
Also fixes debug messages to use hex offsets.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit d0cef92532f7c943e1c70d49ed96f090235b928e
Author: wilco at baanhofman.nl <wilco at baanhofman.nl>
Date: Mon Jul 26 20:13:22 2010 +0200
Fix crash when no subkeys exist. Fix writing outside of buffer error by regf backend.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 2c3f56098b0322db2e74e860a0f236fde9f74bbc
Author: wilco at baanhofman.nl <wilco at baanhofman.nl>
Date: Mon Jul 26 12:32:32 2010 +0200
Add python bindings for open_hive function to be able to load REGF files.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 5d807107bb675cedb4b42022a7a907ea1bdf13d0
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Sun Sep 19 10:48:31 2010 -0700
s4/fsmo: Naming master support added
Test suite for fsmo is extended with a test case for naming master too.
commit 55f465576c4602e74a6bc5c194adb27231c520f8
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 14 17:27:55 2010 +0200
s4-smbtorture: add LOCAL-NDR-NTLMSSP.
Guenther
commit f6fa73bbd38100529ae5b1a3133e78148e0f7268
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 18 20:57:26 2010 -0700
s4-rodc: added RODC DNS update support to samba_dnsupdate
for DNS updates that have a netlogon equivalent, send via netlogon
commit 50f56c6a82e7bd3742730a50b7d7c614482b9fec
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 18 20:22:44 2010 -0700
s4-finddcs: added some debug messages on failure
commit e72a1e20557f212af03d32152f0cc11acee57814
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 18 20:22:23 2010 -0700
s4-pydsdb: added am_rodc() method on samdb
commit 2666cc9c161d4a0f5083f546dbcf470d34b24499
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Sep 18 19:28:05 2010 -0700
s4-pydsdb: don't force am_rodc unless it is set by caller
we should normally get the rodc flag by looking at the database, not
by forcing it in the database connect
commit 7a59c90189b3b129c4cf9826a45ac5678e66d95b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Sep 19 10:42:29 2010 -0700
pytdb: Make filename argument optional.
commit 4c726556784643a3c5860ec716e30cc1c7b99ce1
Author: Kirill Smelkov <kirr at landau.phys.spbu.ru>
Date: Sun Sep 19 13:53:29 2010 +0400
pytdb: Add support for tdb_freelist_size()
Cc: 597386 at bugs.debian.org
Signed-off-by: Kirill Smelkov <kirr at landau.phys.spbu.ru>
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit b3314d6ad8de732f563f095ea538c7b95c667d73
Author: Kirill Smelkov <kirr at landau.phys.spbu.ru>
Date: Sun Sep 19 13:53:32 2010 +0400
pytdb: Add support for tdb_transaction_prepare_commit()
Cc: 597386 at bugs.debian.org
Signed-off-by: Kirill Smelkov <kirr at landau.phys.spbu.ru>
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit b826ef9697c4bd236b6d861712fa1e450157bc6f
Author: Kirill Smelkov <kirr at landau.phys.spbu.ru>
Date: Sun Sep 19 09:34:33 2010 -0700
pytdb: Add support for tdb_enable_seqnum, tdb_get_seqnum and tdb_increment_seqnum_nonblock
Cc: 597386 at bugs.debian.org
Signed-off-by: Kirill Smelkov <kirr at landau.phys.spbu.ru>
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit a2621034e985c87f87f7b196b75da56ffe8948dc
Author: Kirill Smelkov <kirr at mns.spb.ru>
Date: Sun Sep 19 13:53:19 2010 +0400
pytdb: Update open flags to match those for tdb_open() in tdb.h
Namely TDB_NOSYNC, TDB_SEQNUM, TDB_VOLATILE, TDB_ALLOW_NESTING and
TDB_DISALLOW_NESTING were missing.
Cc: 597386 at bugs.debian.org
Signed-off-by: Kirill Smelkov <kirr at mns.spb.ru>
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 277a1b229cf1b456560a50d021e2eaf2158e5134
Author: Kirill Smelkov <kirr at mns.spb.ru>
Date: Sun Sep 19 13:53:21 2010 +0400
pytdb: Fix repr segfault for internal db
The problem was tdb->name is NULL for TDB_INTERNAL databases, and
so it was crashing ...
#0 0xb76944f3 in strlen () from /lib/i686/cmov/libc.so.6
#1 0x0809862b in PyString_FromFormatV (format=0xb72b6a26 "Tdb('%s')", vargs=0xbfc26a94 "")
at ../Objects/stringobject.c:211
#2 0x08098888 in PyString_FromFormat (format=0xb72b6a26 "Tdb('%s')") at ../Objects/stringobject.c:358
#3 0xb72b65f2 in tdb_object_repr (self=0xb759e060) at ./pytdb.c:439
Cc: 597089 at bugs.debian.org
Signed-off-by: Kirill Smelkov <kirr at mns.spb.ru>
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit c4b1971259638875317aa991b6a119b668ac03a8
Author: Kirill Smelkov <kirr at mns.spb.ru>
Date: Sun Sep 19 13:53:20 2010 +0400
pytdb: Add support for tdb_add_flags() & tdb_remove_flags()
Note, unlike tdb_open where flags is `int', tdb_{add,remove}_flags want
flags as `unsigned', so instead of "i" I used "I" in PyArg_ParseTuple.
Cc: 597386 at bugs.debian.org
Signed-off-by: Kirill Smelkov <kirr at mns.spb.ru>
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 92eccf89a188702b79d9f4ac59f2ff4c5c7aeaac
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Sep 18 18:45:41 2010 +0200
waf: add a '+' to the git hash if the working tree isn't clean
metze
commit a66db2cb7897fe0e40e9e520f75cccb14d3a1721
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Sep 19 07:26:54 2010 +0200
waf: fix typos in GIT_COMMIT_* strings
metze
commit 9e058c6e7292b628ca08bb34b5930d0f4a77ef27
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 17 13:17:12 2010 +0200
s3-rpcclient: add some winreg commands.
Guenther
commit 1d8094172c69ec8d64701b70a87ddf31b0d8f4f9
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 17 13:16:26 2010 +0200
s3-nltest: add dsregdns command to nltest.
Guenther
commit 8e73826b3c2323c6e81a285f49c6b9d606cb7a53
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 17 13:15:35 2010 +0200
s3-libnetapi: support NETLOGON_CONTROL_FORCE_DNS_REG in I_NetLogonControl().
Guenther
commit 47a7a5830c145dd12e200fa12fec41bc745046d3
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 17 13:14:50 2010 +0200
libnetapi: deal with NULL data in I_NetLogonControl2().
Guenther
commit e870231afcd1cc1d22ce010dbd16f2144afe345a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 18 09:31:32 2010 +0200
s3: Add a missing prototype
commit 1473330bbe7c4f28ec00e69035386bf8fe11d9e7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 18 09:31:32 2010 +0200
s3: Add a missing prototype
commit f5254b772acee4b75b339a1e16812a67a17b2d1e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 18 07:37:04 2010 -0700
s3: Fix bug 7688, rpcclient command line completion crashing
We've grown more than 100 rpcclient commands by now, so this would overwrite
the array of 100 completions. There's nicer ways to fix this problem, but 1000
rpcclient commands should be at least a bit away.
commit 7fddf9c89e8ead26e6367195441f49bce5a6b3db
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 18 07:37:04 2010 -0700
s3: Fix bug 7688, rpcclient command line completion crashing
We've grown more than 100 rpcclient commands by now, so this would overwrite
the array of 100 completions. There's nicer ways to fix this problem, but 1000
rpcclient commands should be at least a bit away.
commit 252e8c27eb07eea7ec45e76a9256692db1019af4
Author: Volker Lendecke <vl at samba.org>
Date: Fri Sep 17 21:16:24 2010 +0200
s3: Fix some nonempty blank lines
commit d76bb4ac409ff7f95776302bb436c7dec55adb26
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Sep 18 15:09:22 2010 +0300
s4-drs: Check for schema changes only in case we are *not* applying Schema replica
This fixes the problem when we fail to replicate with
a partner DC that has a newer Schema with attributeSchema
objects with OIDs that we don't have in our local prefixMap.
commit 1fac1f0d2882ae9ac81a02fa6d9957f6cb3fb88d
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Sep 18 02:28:29 2010 +0300
werror: Add W_ERROR_HAVE_NO_MEMORY_AND_FREE() macro
commit c3489a7918758848953f00cee6a36519cd059daf
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Sep 18 00:44:17 2010 +0300
s4-ldapcmp: Fix options parsing for common Samba options
And also set 'creds2' to be equal to 'creds' in case
username2 paramater is not supplied on cmd line
commit 86283712b95f166dd1e6d2b4cbde070c8f4a017e
Author: Sumit Bose <sbose at redhat.com>
Date: Fri Sep 17 10:33:08 2010 +0200
Fix array size of a memmber of struct cli_ulogoff_state
The too small array makes UID-REGRESSION-FIX fail on 32bit
architectures.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit e2d6b64219b883363b4d1d92db27bf180c887d07)
commit aa26978206e7a9bd902b4de0af28de8bbec89fac
Merge: 3aa9d0beca8cee24731d864ecfafbc55c554179a cd4945d3f0f17a28a9f1a1835dd19d3847f45d31
Author: Jeremy Allison <jra at samba.org>
Date: Fri Sep 17 09:34:20 2010 -0700
Merge branch 'v3-6-test' of ssh://git.samba.org/data/git/samba into v3-6-test
commit 78b6265ac2a79cdf0051b895ecebeb77ac3a372c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 7 21:24:07 2010 +0200
s3:rpc_client: remove unused rpc_pipe_set_hnd_state()
metze
commit fde3412ccb176448f6d3ee4538c7b8838f2fe214
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 7 20:52:58 2010 +0200
s3:rpc_client: use rpc_api_pipe_send() for auth3
metze
commit 6ecf8d16bc9f8da8acb6d24e5d224d6161a5497c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 7 20:51:38 2010 +0200
s3:rpc_client: rpc_pipe_bind_step_one_done() doesn't need reply_pdu
metze
commit de6254d3d6ffdd2a562ec9224a8390810c28c0dd
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 7 20:39:20 2010 +0200
s3:rpc_client: allow DCERPC_PKT_AUTH3 via rpc_api_pipe_send/recv
metze
commit 1a22b1b44df62931a35254d06d2fc638c996c5f7
Author: Björn Jacke <bj at sernet.de>
Date: Fri Sep 17 14:05:53 2010 +0200
lib/util: usec_time_diff takes arguments the other way round than TvalDiff did
commit cd4945d3f0f17a28a9f1a1835dd19d3847f45d31
Author: Björn Jacke <bj at sernet.de>
Date: Fri Sep 17 13:47:05 2010 +0200
s3: fix order of arguments in nsec_time_diff call
commit 10eefd85c988503309021316f744ebb25579b873
Author: Björn Jacke <bj at sernet.de>
Date: Fri Sep 17 13:47:05 2010 +0200
s3: fix order of arguments in nsec_time_diff call
commit 311744a1312d4be51c0d50a71884f604ea2e3b99
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Sep 17 05:28:36 2010 +0300
s4-test: Add unit test for dsdb_schema_info_cmp()
commit 9256b5f22677cc265b0560a15c0e0a719ba3138d
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Sep 17 02:54:46 2010 +0300
s4-schema: Helper func to compare schemaInfo signitures
commit 1295da92f9a5272b73a0abcecb680f7c0d5bc854
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Sep 17 02:48:50 2010 +0300
s4-schema: use dsdb_schema_info_blob_is_valid() to verify schemaInfo blob
instead of parsing it.
commit aedefd3e99f36d11e49e6fbf51cb16ceffec13c4
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Sep 17 02:45:59 2010 +0300
s4-prefixMap: use dsdb_schema_info_blob_is_valid() for schemaInfo blob validation
This fixes a leaking dsdb_schema_info object also.
commit e691b1fd276bbf26961a23a5c450e96f16da5d4e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Sep 17 02:37:46 2010 +0300
s4-dsdb: Add dsdb_schema_info_blob_is_valid() to verify schemaInfo blobls
commit c79861a14e671ea037f550dbf5c2ae9e84fb3803
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Sep 16 02:17:34 2010 +0300
s4-pyrpc: Print location and type name we got when checking for types
commit e2d6b64219b883363b4d1d92db27bf180c887d07
Author: Sumit Bose <sbose at redhat.com>
Date: Fri Sep 17 10:33:08 2010 +0200
Fix array size of a memmber of struct cli_ulogoff_state
The too small array makes UID-REGRESSION-FIX fail on 32bit
architectures.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 90d685afe57e08ce7da575783c4d279e1be021f6
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 17 17:06:29 2010 +1000
s4-devel: developer script for adding DNS entries via netlogon RPC
this calls the netlogon DsrUpdateReadOnlyServerDnsRecords call to add
DNS entries for a RODC via RPC calls. The call is routed via a IRPC
call to winbind, as winbind is the one with the schannel credential
chaining setup.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit fb81cc080d40844010daae559e6be6a747c10ecd
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 17 17:04:28 2010 +1000
s4-pyrpc: allow python to access irpc interfaces
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 1c7c1a86ecf401f54b9462bb9d0946356ddb688d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 17 17:03:54 2010 +1000
idl: build python interfaces for winbind and idmap IDL
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 39bd61e018d8495f9a7368d1656c6f52d422e6e3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 17 10:11:48 2010 +1000
s4-winbind Add a proxy method to update DNS records with a read-write DC
This must be done in winbindd as it already has the schannel connection
and the credential chain. If we re-established that elsewhere, we
would break the chain in winbindd.
Andrew Bartlett
Signed-Off-By: Andrew Tridgell <tridge at samba.org>
commit b772f4cdffda7f7e1bd0a7951bec0304102606d2
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 17 10:06:16 2010 +0200
testprogs: skip two tests in spoolss tester.
Guenther
commit 6f5fa763c13f43cc805a9bd939c21970404deaec
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 17 10:02:13 2010 +0200
s4-smbtorture: fix winreg querymultiplevalues NDR test warning.
Guenther
commit 3aa9d0beca8cee24731d864ecfafbc55c554179a
Merge: 9f2d1836b12724abed0ced02a5a3e793fdc62c66 318f727cb9d87617e86eaafa76005a08578eaf41
Author: Jeremy Allison <jra at samba.org>
Date: Thu Sep 16 16:20:24 2010 -0700
Merge branch 'v3-6-test' of ssh://git.samba.org/data/git/samba into v3-6-test
commit 66ad6c75e9efbd9837c70a716b556520c0279597
Author: Björn Jacke <bj at sernet.de>
Date: Thu Sep 16 22:18:45 2010 +0200
Ñ3: remove smb_msleep prototype from here
commit 318f727cb9d87617e86eaafa76005a08578eaf41
Author: Björn Jacke <bj at sernet.de>
Date: Thu Sep 16 19:45:43 2010 +0200
s3: remove TspecDiff macro, we can use the shared nsec_time_diff function
commit f454f13209d25d9c860b9c31f72ae0d996efbb31
Author: Björn Jacke <bj at sernet.de>
Date: Thu Sep 16 19:02:27 2010 +0200
s3: use nsec_time_diff instead of TspecDiff
commit 3f40dd42eda30c43333826dd381b8aa9f02821b2
Author: Björn Jacke <bj at sernet.de>
Date: Thu Sep 16 18:52:45 2010 +0200
s3/vfs_scannedonly: use smb_msleep instead of nanosleep
Thanks to Joachim Schmitz. This fixes bug #7478
commit 5162140e3a91edadb5e2e4e858e42cd6721bd29f
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 14 22:40:51 2010 +0200
s3/profile: remove the magical clock initialization from the profile code
there's no point in not profiling times if no monotonic clock is found -
monotonic and realtime clock are equally fast. Just use clock_gettime_mono
instead.
(cherry picked from commit 4e8d6a779c9aa9b9418b4f835d831ad4492c3f6c)
commit 5626f1dec255b91f04097297f94ad71d86ddaa31
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 14 22:17:47 2010 +0200
s3/profiling: don't use CLOCK_PROCESS_CPUTIME_ID
that clock is a CPU burnometer but we need a chronometer for profiling.
(cherry picked from commit 5f6a145800a9e67c638f3ee05e43bb12fafffb48)
commit 0dc37a62ff21477a025d466868ececdf60791aca
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 14 14:08:44 2010 +0200
libreplace: use CLOCK_HIGHRES when available
in Solaris 8 CLOCK_HIGHRES was the (only) name for CLOCK_MONOTONIC
(cherry picked from commit 9c00fb4aa68ac7b044e954906e5ed20e039373a3)
commit 6bc68fabb81d019e017d7f51fdd0b275b3f78609
Author: Björn Jacke <bj at sernet.de>
Date: Thu Sep 16 21:36:00 2010 +0200
s3: remove TvalDiff macro, we can use the shared usec_time_diff function
commit 2b254c814b139f93997f61525d77b934596c53a3
Author: Björn Jacke <bj at sernet.de>
Date: Thu Sep 16 21:36:37 2010 +0200
s3/s4: merge msleep and smb_msleep
the merged variant is renamed to smb_msleep as some platforms already have a
msleep function.
commit 0fd16018a1c993166eae72390433398347538a81
Author: Björn Jacke <bj at sernet.de>
Date: Thu Sep 16 19:45:43 2010 +0200
s3: remove TspecDiff macro, we can use the shared nsec_time_diff function
commit aada7196940377ca6942eed470fc2e0e42f71b32
Author: Björn Jacke <bj at sernet.de>
Date: Thu Sep 16 19:02:27 2010 +0200
s3: use nsec_time_diff instead of TspecDiff
commit ec643df212e521fc19119820b1e4fac15986bf28
Author: Björn Jacke <bj at sernet.de>
Date: Thu Sep 16 18:52:45 2010 +0200
s3/vfs_scannedonly: use smb_msleep instead of nanosleep
Thanks to Joachim Schmitz. This fixes bug #7478
commit e7ab9979ac26fd2572ec824a4fa3f16d13d07ee2
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 16 09:31:10 2010 +0200
s3: Add the PAC info3 struct to the netsamlogon_cache in ntlm_auth
commit 6fe232621fa130a124ffaee544703776066c4e56
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 16 10:34:59 2010 +0200
s3: Correctly unwrap the krb ticket in gss-spnego
commit 4093a5f50bb99d191b7d114245272c8915577537
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 16 10:22:00 2010 +0200
s3: Fall back to raw NTLMSSP for the gss-spnego protocol
This is to handle the mod_auth_ntlm_winbind protocol
sending "Negotiate" to IE, which sends raw NTLMSSP
instead of a SPNEGO wrapped NTLMSSP blob.
commit a3b812e4c3b1488e191e2e0af886ba8718438dd8
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 16 10:21:20 2010 +0200
s3: Split off output generation from manage_squid_ntlmssp_request
commit 8ce85fd52b6737bad6be3bae3d05ceda939057c7
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 16 10:36:21 2010 +0200
s3: Wrap the ntlm_auth loop with a talloc_stackframe
commit 0858b7546eebf9e853e4e7288b50edbcdcdc5826
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 16 09:31:10 2010 +0200
s3: Add the PAC info3 struct to the netsamlogon_cache in ntlm_auth
commit 547b268cfaa2e791bf92e8804bfa504c4e37050b
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 16 10:34:59 2010 +0200
s3: Correctly unwrap the krb ticket in gss-spnego
commit 70ab7eb5303a5ff058939541dd5bc1f81113a48e
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 16 10:22:00 2010 +0200
s3: Fall back to raw NTLMSSP for the gss-spnego protocol
This is to handle the mod_auth_ntlm_winbind protocol
sending "Negotiate" to IE, which sends raw NTLMSSP
instead of a SPNEGO wrapped NTLMSSP blob.
commit de2c143f4d540f695db5c7fe8685614c03977365
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 16 10:21:20 2010 +0200
s3: Split off output generation from manage_squid_ntlmssp_request
commit ae483bbe9af526623189cefe7735f3f2813da6d7
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 16 10:36:21 2010 +0200
s3: Wrap the ntlm_auth loop with a talloc_stackframe
commit 9f2d1836b12724abed0ced02a5a3e793fdc62c66
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 16:57:21 2010 +1000
pidl: prevent ndr_print_*() dying on NULL pointers
when using ndrdump you can get uninitialised structures containing
pointers. Don't segfault when trying to print them
(cherry picked from commit 83a24ff2efd48b0e192024798695f6cfec9000b5)
commit eadcd31929024f99c2f8bc734165361e45de1d50
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 20:12:20 2010 +1000
wbclient: gr_mem can be NULL
if the structure was partly created and an error occurred, then don't
crash
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
(cherry picked from commit b04b8b5610f23cd50c9a7a00eeca81229acd36d5)
commit 08b923eb86b97844660a8fdf8454aed4f610e117
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 20:11:47 2010 +1000
wbclient: paranoid check for double free
added while tracking down a crash in the wbinfo blackbox test
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
(cherry picked from commit a16328449171c1138bce3a9f32b7c1fa211e58d2)
commit acd0f9dab5240aa29d887606f3e1b782bb6c4047
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 20:06:44 2010 +1000
tdb: added TDB_NO_FSYNC env variable
this might help reduce test times and load on test machines
(cherry picked from commit ff515ff4772a555facce75eead91ceff271713f5)
commit 0730d982e68bacbb89584ee8297c6e275955b7c4
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 18:41:37 2010 +0200
s4-smbtorture: add NDR spoolss_GetPrinterDriver2 in and out check functions.
Guenther
commit 809094a2c8224f725adcd1faff42c1de3f3eccad
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 16:49:54 2010 +0200
s4-smbtorture: finally enable most of our NDR_OUT NDR tests that we couldnt handle previously.
Guenther
commit c29b16faa87dab686c8d36abc009c7d92d28a6b2
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 16:21:39 2010 +0200
s4-smbtorture: add functions to do NDR_OUT ndr_pull validation including NDR_IN context.
Guenther
commit 5f9caf18dbba8b6ddb2779bcec4836b605b5fa1e
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 16:25:51 2010 +0200
s4-smbtorture: fix some indentation in NDR testsuite.
Guenther
commit 725126b1723438ba8b6f9dd41eac8730856da41e
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 16:22:32 2010 +0200
s3-smbtorture: fixup trailing whitespace in ndr testsuite.
Guenther
commit 567a2e68d67608fca6c040393bd55b8699a5c3e2
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 14:42:22 2010 +0200
s4-smbtorture: add spoolss_GetPrinterDriver2 NDR tests.
Guenther
commit 1250a6343560705423bcf5c9a25f6448e251e526
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 14:41:37 2010 +0200
s4-smbtorture: mention -v switch for hexdump imports into the NDR testsuites.
Guenther
commit dfe25088ba8b1e6fdaf49ef88d2da07fd8f1d950
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 14:31:53 2010 +0200
s4-smbtorture: activate spoolss_GetPrinterData NDR pull test.
Guenther
commit 43d54406b19a8041633eb26d7a809e3fd7de3ef6
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 21:17:54 2010 +1000
s4-winbind: fixed two valgrind errors
- allocate the dc info on the right structure
- zero the number of group members when allocating the winbindd_gr
return
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit b04b8b5610f23cd50c9a7a00eeca81229acd36d5
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 20:12:20 2010 +1000
wbclient: gr_mem can be NULL
if the structure was partly created and an error occurred, then don't
crash
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit a16328449171c1138bce3a9f32b7c1fa211e58d2
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 20:11:47 2010 +1000
wbclient: paranoid check for double free
added while tracking down a crash in the wbinfo blackbox test
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ff515ff4772a555facce75eead91ceff271713f5
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 20:06:44 2010 +1000
tdb: added TDB_NO_FSYNC env variable
this might help reduce test times and load on test machines
commit a394a8104eb2cebdcda44510c6ed86b6f773a06d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Sep 16 17:53:36 2010 +1000
torture/raw Allow one more 'not implemented' status return as a valid response
The Samba4 server responds to most ioctl calls with NT_STATUS_NOT_SUPPORTED
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 4083b8ac6ca9c107e50503f41b66077fb65eb2d9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Sep 16 15:47:42 2010 +1000
s4-torture assert that we get a temp datagram socket.
I've seen a segfault because we failed to check this isn't NULL
before we use it. This will still of course fail, but not so
spectacularly.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 6832d5e9334f93d2b41fa50580379a2381311748
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Sep 16 14:37:20 2010 +1000
libcli/auth/ntlmssp Be clear about talloc parents for session keys
The previous API was not clear as to who owned the returned session key.
This fixes a valgrind-found use-after-free in the NTLMSSP key derivation code,
and avoids making allocations - we steal and zero instead.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit d5a4e53ad8dd572b9469530dfcd37601e2905a88
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 17:20:08 2010 +1000
s4-kdc: prevent segfault on bad trust strings
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit dc59de562774a1ee09e3c819c3523e66da975f24
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 17:05:58 2010 +1000
s4-netlogon: added IDL for netr_DsrUpdateReadOnlyServerDnsRecords
this is used by a RODC to do DNS updates, as TSIG updates are not
allowed by RODCs
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5958997a9bc44876c6f3b810689f52e5e3bd6ded
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 17:04:53 2010 +1000
s4-rpcserver: allow saving of bad RPC packets
use:
dcesrv:stubs directory = .
to save files like this:
RPC-netlogon-48-pullfail.dat
when a RPC packet can't be parsed or is unknown. Only enabled in
developer builds
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 83a24ff2efd48b0e192024798695f6cfec9000b5
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 16:57:21 2010 +1000
pidl: prevent ndr_print_*() dying on NULL pointers
when using ndrdump you can get uninitialised structures containing
pointers. Don't segfault when trying to print them
commit 14340a45bef921db19581258838ec2371d4d21e9
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 30 13:22:57 2010 +0200
idl: Added EPMAPPER_STATUS_CANT_PERFORM_OP.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 7e729c4f6a374f5fa1e348404e370dbf122a5a0b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 14:13:48 2010 +1000
s4-dns: use a non-forwardable ticket in samba_dnsupdate
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 89827af5250a0e65e19ee3752cfe407a6e01856f
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 14:13:29 2010 +1000
s4-kerberos: obey the credentials setting for forwardable tickets
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit efb37a5b8c3667c948e1ec9815a1c9ac575a4456
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 14:12:57 2010 +1000
s4-pycredentials: expose forwardable setting via python
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6a82997285db9aff0085e6a54e58a34a97152ebb
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 14:12:37 2010 +1000
s4-credentials: added ability to control forwardable attribute on krb5 tickets
with the latest bind9 nsupdate, we need to be able to control if the
ticket we use is forwardable
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 377ffcb0292505bfcdc6fbcfdc379614364cc868
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 13:02:43 2010 +1000
s4-drs: make debugging DsUpdateRefs a bit easier
commit e5cd023a41ce4b8a51bbace4da395a7f0843d212
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 13:02:23 2010 +1000
s4-drs: initial skeleton for DrsReplica{Add,Del,Mod} calls
commit 4cf53c6d0b8b418adf39b6dd81d44c7b6d587e0c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 13:00:20 2010 +1000
s4-drs: removed a debug print in repl secret
commit f95e6a32e430dba459f01a9400bebdf78549abae
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 10:58:03 2010 +1000
s4-test: enable valgrind on wbinfo tests
commit eeafe1eb65b92c4a1cfafbadd71c991c9c2be50e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 16 07:38:14 2010 +1000
s4-pydrs: fix for python 2.4
thanks to Kamen and David Gonzalez for spotting this
commit 32976e2eaacdd9dbbe773cc9aace7e3def40fb36
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 16 00:02:14 2010 +0000
s3: Add convenience make target buildfarm-test.
commit bad0041390da289f6cfad3a44f702998291edd8c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Sep 16 00:01:51 2010 +0000
s3-selftest: Move Samba3-specific script to source3/selftest.
commit cd56e40117c542fd90362abe8130f7f8d8ee02e3
Author: Björn Jacke <bj at sernet.de>
Date: Thu Sep 16 00:57:39 2010 +0200
s3/printing: avoid a possible race condition in the cache timeout
commit 25446bd3b6c3eed8dc43e3565960013ba3df6324
Author: Jeremy Allison <jra at samba.org>
Date: Wed Sep 15 15:40:15 2010 -0700
Fix all sid_parse returns to be checked. Tidy up some checks and error
messages.
Jeremy.
(cherry picked from commit 447d96878a8b5a335447c37eca2a46b7133caa78)
commit e8f17bb55bee36673d8a84dffd3e72740d6407e6
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 00:19:51 2010 +0200
s3-smbd: prevent call_nt_transact_ioctl() crash in FSCTL_FIND_FILES_BY_SID case.
Jeremy, please check.
Guenther
(cherry picked from commit db8cfda320d0e2453d01cdae884fd8aa108bcda7)
commit 447d96878a8b5a335447c37eca2a46b7133caa78
Author: Jeremy Allison <jra at samba.org>
Date: Wed Sep 15 15:40:15 2010 -0700
Fix all sid_parse returns to be checked. Tidy up some checks and error
messages.
Jeremy.
commit db8cfda320d0e2453d01cdae884fd8aa108bcda7
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 16 00:19:51 2010 +0200
s3-smbd: prevent call_nt_transact_ioctl() crash in FSCTL_FIND_FILES_BY_SID case.
Jeremy, please check.
Guenther
commit fe59119e06d334a06052b4aac71679488f581383
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 15 23:02:43 2010 +0200
s4-smbtorture: try FSCTL_FIND_FILES_BY_SID with random blob data in RAW-IOCTL.
Guenther
commit 3b87e3e95179c527a7fce7e5ed6cb1d33345a2ff
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 20:54:09 2010 +1000
s4-repl: if we are an RODC don't set WRIT_REP in replication
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 05ec123b3b159dade51980f3c4bf8662502bb38e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 20:24:50 2010 +1000
s4-repl: add partial attribute set to getncchanges calls for RODCs
when we are a RODC we must supply a partial attribute set in the
getncchanges call
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 520252c8d2b7465d592a05ee68bd466e71330a1f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 20:23:47 2010 +1000
s4-repl: added min_usn to extended replication call
the repl_secret code needs to set it to avoid too many duplicate
attributes
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 1da147e6fa485800d2988168889071d97e393fa3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 19:00:01 2010 +1000
s4-repl: added repl_secret handling
initiate a repl secret extended op when requested
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d5673b5501225e295bae2a5c0084cf3ce5582dca
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 18:59:17 2010 +1000
s4-repl: cleanup the extended op calls in repl server
- use generic parameter names
- trigger a run of pending ops on all extended ops
- don't prevent parallel fsmo transfers
- moved extended op code into drepl_extended
commit aabd89d8f7d80d614c941111d7a049f9f35b943b
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 18:52:11 2010 +1000
s4-pyjoin: use new pynet finddc interface
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 2edbf74f35a49e5793ee2621061856e1167b41a0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 18:51:09 2010 +1000
s4-pynet: return the full netlogon response from python finddc
this gives the caller the other server parameters
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e18c0030e065a70f7291eb269112e9f04d5788dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 18:50:09 2010 +1000
s4-pyjoin: fill in the dns name in the python replication method
this is needed to get the repsFrom DNS entry right
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e2b6d171d427f9899be8a1bb6781fd09c0094385
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 18:49:34 2010 +1000
s4-drs: get lpcfg_dnsdomain() instead of lpcfg_realm()
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e5ac820b9ea8416537b65faaf43fdc45924a66b1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 18:49:06 2010 +1000
s4-pyrpc: added py_return_ndr_struct()
This can be used to return structures from other python interfaces as
python objects
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f89f3cf30fad625d03de600b85e542791125c8f5
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 16:19:26 2010 +1000
s4-repl: split out the extended op handling
this is not part of the rid allocation logic
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 54b53704747f45757642c9d4a17645ac777dc9ea
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 16:15:12 2010 +1000
s4-repl: cleanup getncchanges extended op calls
Multiple calls are allowed to run in parallel as long as they don't
conflict.
This also cleans up the variable names in the extended op calls.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 7f1db0d8df6c5b68c9eb9a2d578ce79a43ce0719
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 15 16:45:37 2010 +0300
s4-drs: Wait DsReplicaSync for as long as it takes to complete
In case the caller wants sync execution, we should
not cancel the call for internal timeout reason,
but rather wait for its execution
commit 7b20b795ab024fda4e159852b60d829f7ae793c7
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 15 16:53:48 2010 +0300
s4-irpc: Don't install endtime-timer in case timeout is INFINITE for the call
commit ee169d73479a5e8672d56617f2ad9cfac254f8bf
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 15 16:41:47 2010 +0300
s4-irpc: Add 'timeout' param for dcesrv_irpc_forward_rpc_call() call
It is to be used when caller wants to explicitly
specify the timeout for the call
commit 839ed051fc4fe62b9b2ce008898b538509769f88
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 15 14:22:27 2010 +0300
s4-irpc: Add value for "infinite" timeout for IRPC calls
commit aa7df7b7379cc437515774d0ea91fb106aba5dc8
Author: Björn Jacke <bj at sernet.de>
Date: Wed Sep 15 18:23:50 2010 +0200
s3/printing: make clock jump save and use monotonic time for cache timeout
commit adf8ca6ff8c6dbc365034a27f8d27a15aa533f97
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 15 20:05:51 2010 +0200
subunit: Re-add outputmsg.
commit 1cfef7083cbeab838b1ea91aa5e0880ed24afe4c
Author: Jeremy Allison <jra at samba.org>
Date: Wed Sep 15 10:50:50 2010 -0700
Add check for invalid data size.
Jeremy.
(cherry picked from commit 627de92521cb20c5387656946bcbf5ecf3be5332)
commit abdb519c788d1c22fc9065f3a0dcd2c48f47b063
Merge: f892045fe06bac1079fe542fe426a42d8a2f17ac 4e3bcaf0074c021da0b2be424aec6f2de55900e5
Author: Jeremy Allison <jra at samba.org>
Date: Wed Sep 15 10:51:39 2010 -0700
Merge branch 'v3-6-test' of ssh://git.samba.org/data/git/samba into v3-6-test
commit 627de92521cb20c5387656946bcbf5ecf3be5332
Author: Jeremy Allison <jra at samba.org>
Date: Wed Sep 15 10:50:50 2010 -0700
Add check for invalid data size.
Jeremy.
commit 4e3bcaf0074c021da0b2be424aec6f2de55900e5
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 15 10:29:44 2010 +0200
s3: Fix some debug msgs in ntlm_auth
commit 6400f3ee62108e3dd1e6c1013ccea9fb4b08d562
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 15 10:29:44 2010 +0200
s3: Fix some debug msgs in ntlm_auth
commit 301b60acc00b12a409a37f6cc17315f25fa49f86
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 14 21:10:27 2010 +0200
Fix a typo
commit e7f21fa9418aaaee81ddf16f444ba318f7c2b03e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 21:50:36 2010 +1000
s4-rpcserver: set unbind method to NULL in remote server
this prevents a possible crash on disconnect
commit 9a7d1b1e970f522a1fea655918116b6a8eb50521
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 15 14:34:50 2010 +0200
s3-docs: more typos in rpc_server manpage.
Guenther
commit 2d1cf2671f347ac688eb295a1d063a908ef59aa1
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 15 14:31:39 2010 +0200
s3-waf: fix the build.
... this starts to get like "re-run make idl"...
Guenther
commit effbebcec152e7cb306c2ea32aeedae5e3c5ff6b
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 15 14:16:45 2010 +0200
s3-docs: fix rpc_server manpage type.
Guenther
commit 33d05a85e52dbe349f632fcfbeeb90e5fa9dff5f
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 15 13:24:44 2010 +0200
s3-rpc_server: fix some uninitalized variables and c++ build warnings.
Guenther
commit 480c97b5b1bbfce220f21250cb707034bd3e5109
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 15 13:18:27 2010 +0200
s3-printing: fix print_spool_terminate().
Simo, Andreas, please check.
Guenther
commit ccb7fdc52b7edf6fd6486731c3db6bc673bc48cd
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Tue Sep 14 18:07:09 2010 +0300
s4/fsmo: Extended fsmo test with infrastructure, pdc and rid roles
commit 2eeba94c9cca41f72d6b95cb8eda585e33e21745
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Wed Sep 15 10:17:55 2010 +0300
s4/fsmo: Handle infrastructure, pdc and rid extended ops
With this change we can transfer all roles back and forward, except
for the naming master. Also this commit fixes the naming of
fsmo_role_dn - used to point to the DN from which we read fSMORoleOwner
role_owner_dn - used to point to the NTDSDSA who owns the role
Now we always pass fsmo_role_dn, role_owner_dn to the extended operation
and to drepl_create_role_owner_source_dsa
Conflicts:
source4/dsdb/repl/drepl_ridalloc.c
commit 46087219357b13cf7c440ee6f4d536ff537bbd2d
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Tue Sep 14 17:59:32 2010 +0300
s4/fsmo: Remove empty new lines
commit db46b2bdb04174b90508605911fa0325fb22fd7f
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 6 15:29:32 2010 -0400
s3-winbindd: Use rpc_open_pipe_interface in winbindd.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit e580c6d88f4f124e06562fe56c1d9437d1205658
Author: Andreas Schneider <asn at samba.org>
Date: Wed Sep 15 11:38:53 2010 +0200
s3-rpc_server: Use talloc_stackframe.
commit 8ec7aaef48c3d9a6b1f07602c5410b5524099d36
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 7 15:24:30 2010 -0400
s3-rpc_server: Moved ncacn_np declarations in common header file.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 390642a9e6d1b0d1aacbe17b48c4f3695ee1d80d
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 7 15:24:00 2010 -0400
s3-rpc_server: Moved "external" pipe functions to rpc_ncacn_np.c.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 34225c93af154fc205be7bf14edd609d39bbdb9c
Author: Andreas Schneider <asn at samba.org>
Date: Tue Sep 14 13:37:46 2010 +0200
s3-rpc_server: Added new parametric option 'rpc_server'
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 738c843e99b780e8b4457eef8c4f94d23e08c754
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 6 13:03:35 2010 -0400
s3-rpc_server: Renamed rpc_ncacn_np_internal.c.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 5685914344d21e5fdac98c367b3dd1eba555f227
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 6 11:33:15 2010 -0400
s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface.
This way we have one common way to open internal pipes whether they
are shortcircuited or piped to an external process.
commit 344260d03e9a50bce051e180df75f696e2478228
Author: Simo Sorce <idra at samba.org>
Date: Tue Jun 22 18:03:55 2010 -0400
s3-rpc_server: Added support for internal connections to external daemons.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit e7c4555b7caf379af38403fe497eea58415b51ed
Author: Simo Sorce <idra at samba.org>
Date: Fri Jun 18 10:56:58 2010 -0400
s3-rpc_server: Accept connections and process requests.
Signed-off-by: Andreas Schneider <asn at cynapses.org>
commit f7f9916dc78d2fb31f65a5186ce68a66fd707cd7
Author: Simo Sorce <idra at samba.org>
Date: Fri Jun 18 10:55:44 2010 -0400
s3-rpc_server: Added helper functions to read data from a ncacn socket.
Signed-off-by: Andreas Schneider <asn at cynapses.org>
commit 7b1748d959d42ae69cfd2936cbc4fafd76046f02
Author: Simo Sorce <idra at samba.org>
Date: Tue Jun 22 18:01:45 2010 -0400
s3-rpc_client: Added a tstream based transport.
Signed-off-by: Andreas Schneider <asn at cynapses.org>
commit a1f1da722633f0e52b85ee4bf3420b6c70b9907b
Author: Simo Sorce <idra at samba.org>
Date: Fri Jun 18 10:40:19 2010 -0400
s3-rpc_server: Addded function to create custom pipes_struct.
Signed-off-by: Andreas Schneider <asn at cynapses.org>
commit b1fdc5a70457979d8aea6574ae135d83efd7628a
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 20 09:16:29 2010 -0400
s3-rpc_server: Add generic listener callback.
Signed-off-by: Andreas Schneider <asn at cynapses.org>
commit 3c26e95840454f8a311df037d90663abbda5854c
Author: Simo Sorce <idra at samba.org>
Date: Fri Jun 18 11:00:38 2010 -0400
s3-rpc_server: Added initial generic RPC server infrastructure.
Signed-off-by: Andreas Schneider <asn at cynapses.org>
commit 11721874c3bc47fe7612cae611fbe321f683df6f
Author: Simo Sorce <idra at samba.org>
Date: Wed Jun 16 09:03:37 2010 -0400
s3-rpc_server: Added debug to see how much data has been read out.
Signed-off-by: Andreas Schneider <asn at cynapses.org>
commit 5ccd7a56fa07426c19905d080d6202d7335b4847
Author: Simo Sorce <idra at samba.org>
Date: Mon Jun 14 21:11:10 2010 -0400
s3-rpc_server: Make process_incoming_data() public.
Signed-off-by: Andreas Schneider <asn at cynapses.org>
commit 2ef693e3c83fa0ce298ef8b592d7d4c4ec3dd845
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon Jun 7 15:18:31 2010 -0400
s3-rpc_server: Make pipe destructor public.
Signed-off-by: Andreas Schneider <asn at cynapses.org>
commit 3f04b54197ba7dadd9831d7b5d1f57cf9d0b4014
Author: Simo Sorce <idra at samba.org>
Date: Tue Jun 22 18:03:17 2010 -0400
s3-rpc_server: Fixed unhandled error condition.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 94d86a22a1ecfb74ccaa4ce441c33186544a69c8
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 20 08:39:10 2010 -0400
s3-misc: Introduce lp_ncalrpc_dir() in S3, like we have in S4.
commit 65bd8f881db3315c1369835fe6cfc2f27a04ae15
Author: Andreas Schneider <asn at cynapses.org>
Date: Mon Sep 13 11:29:31 2010 +0200
s3-printing: Document the printer list functions.
commit 25a2d94974c7befd13f90e52b61e297c31ae52e9
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 14 15:49:29 2010 -0400
s3-printing: Add method to skip refresh if just happned.
This way if multiple process try to refresh at the same time we don't do it
over and over again.
Signed-off-by: Andreas Schneider <asn at cynapses.org>
commit 7022554915a0dc7522151eb2a9a21317372471b9
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 13 18:42:55 2010 -0400
s3-printing: Use printer list tdb in pcap.
Signed-off-by: Andreas Schneider <asn at cynapses.org>
commit d2a027ea941a963de2ff2ee569440a408e883869
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 13 11:35:59 2010 -0400
s3-printing: Added a printer list database.
Signed-off-by: Andreas Schneider <asn at cynapses.org>
commit c35629cbb2e5f7c6743c8c15e0b3bb424e611931
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 09:56:36 2010 +0200
s3-nltest: add dsgetdc command.
Guenther
commit bbdbb0cbcc3de9a3188b77c2d34cf46a33bbe980
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 15 10:11:38 2010 +0200
s3-libnetapi: try using netr_DsRGetDCNameEx() in DsGetDcName().
Guenther
commit 3fe966d28003f8a09a29c9a9051672e0e066e7b6
Author: Günther Deschner <gd at samba.org>
Date: Sat Sep 11 01:23:01 2010 +0200
s3-libnetapi: add DS request flags to public header.
Guenther
commit 26672e228a6eb327f5810ee1b6adb8b4bb39d5ec
Author: Günther Deschner <gd at samba.org>
Date: Sat Sep 11 01:19:07 2010 +0200
s3-libnetapi: add DS_X_FLAGs to public header.
Guenther
commit 45d772e0e616186cd8b45c81d7c775e07ab0d7ae
Author: Günther Deschner <gd at samba.org>
Date: Sat Sep 11 01:18:04 2010 +0200
libnetapi: add DOMAIN_CONTROLLER_INFO_FLAGS.
Guenther
commit 5901e81acff9b6da965782276e457069bf2be55d
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 14 17:39:45 2010 +0200
s3-nltest: convert server input argument into --server.
Guenther
commit a609c03956843b11d335b7f3b0f8d5a330588711
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 09:56:02 2010 +0200
s3-nltest: rename print_result to print_netlogon_info_result.
Guenther
commit 2d23ddb68d20a7e10297841ff7a550c03a8c6b74
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 14 23:58:10 2010 +0200
s3-build: only link in prs parser where needed.
Guenther
commit f7051250eab1bb3336b3159e3b9a077a0e046263
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 15 08:22:37 2010 +0200
s3-waf: only link in prs parser where needed.
Guenther
commit 5a0bb2234e86c6718c9dbfd7a087ab7c1b7f6bb4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 14:24:51 2010 +1000
cldap: prevent crashes when freeing cldap socket
As a callback may destroy the cldap socket we need to ensure we don't
reference the cldap structure after the callback
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ea223baabc599415bf8da14a53cb77632343bc82
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 13:14:42 2010 +1000
s4-server: check the return of irpc_binding_handle_by_name
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit beb9c6be70bcbd04c087c8352cf480e4f869448f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 12:22:48 2010 +1000
s4-finddcs: ensure we free previous cldap requests before starting a new one
commit fcf576f002cc2b6dc7e3ecc3533572adcfcb1ffe
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 12:16:00 2010 +1000
s4-selftest: enable logging in valgrind server xterm
when running with valgrind on the server, enable logging in the xterm
so you get a permanent record of any errors
commit a498ab90fbad872c36900a86fe7ccada64c3c4a7
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 11:23:15 2010 +1000
s4-rpc: fixed double free in RPC proxy
the unbind method is only called when the dcesrv_connection_context is
being destroyed (its called from the destructor). That means that priv
is either already free, or is about to be freed, so don't free it
again
commit 0212800de8c6367c9da7939fc43a1fa23c7da2bf
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 11:21:43 2010 +1000
tsocket: we return -1 on error, not fd
the code used this pattent:
if (fd < 0) {
...various cleanups...
return fd;
}
it is much clearer to do this:
if (fd < 0) {
...various cleanups...
return -1;
}
as otherwise when reading the code you think this function may return
a fd.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0009d1771a757c1df152693840991ecc57564f34
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 09:53:49 2010 +1000
s4-libnet: print the domain name on domain open failure
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c18e9566ea62fb1a3cb46ca6ce703e32e24cf550
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 09:53:29 2010 +1000
s4-libnet: force IDL printing for high debug levels
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 66460c946ac8b4dadb00cb10cfa14a642a206871
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 09:52:56 2010 +1000
s4-resolve: the file backend should not look at the name type
this matches the behaviour of our DNS resolver
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6012f311159ddf0ee45dd954eb0808463e406356
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 09:20:59 2010 +1000
s4-finddcs: show required server type bits on failure
when we skip a DC because it doesn't have the required server type
bits, show what bits we wanted
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6c45eeb94430d9312c28e6f28da3c9d1db8156cc
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 09:20:14 2010 +1000
s4-repl: use consistent API calls for getting DN GUID
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 52ae57850006abeb5d2ca90deeebf83a989ccf01
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 15 09:19:47 2010 +1000
s4-netlogon: fixed logic for setting DS_SERVER_WRITABLE
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 59d415f43f72146b15a721e928cf346777239bfc
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 14 20:10:51 2010 +1000
s4-finddc: use NBT lookup for a 1C name if joining a short domain name
once we get the 1C lookup reply, use a CLDAP query to find the details
for the server
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 99f514f233fb1b3dcdd19cd2cc9ca9130ea841c8
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 14 18:28:44 2010 +1000
s4-selftest: use the full domain name in joins
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 4e9f449106bb31cad87b7985837b2181c1df3558
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 14 18:28:27 2010 +1000
s4-join: give a clear error when using short domain form
we now require the full domain name, for the DNS/CLDAP lookup
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 011978eb1baf16c622ffcfcaf9944a217d95fadf
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 14 18:22:13 2010 +1000
s4-rodc: use python finddc code to avoid the need for --server
The DC is now found via DNS/CLDAP
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 2e92484c60f55b967dcd3c698e6553c2eed4a4ea
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 14 18:21:38 2010 +1000
s4-pynet: added finddc call
this gives access to the CLDAP/DNS finddc code from python
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 58d59a08ad3620c980cac47ece3a3f900d2eb336
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 14 17:48:52 2010 +1000
s4-libcli: change finddcs.h -> finddc.h
this prevents conflicts with old generated files and we can only even
return one DC with this interface.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 7f029aad350d64efa8aef0ec1432d077ea3426b2
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 14 17:37:01 2010 +1000
s4-finddcs: rename finddcs to finddcs_nbt
finddcs_nbt is currently unused, but will later be a fallback is a
cldap DC find fails.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ee61568be6bcb217d106c08ec915775c8476ed56
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 14 17:36:23 2010 +1000
s4-winbind: use finddcs_cldap() in winbind
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0c447e316f17e64becaf70c91006b90de21887df
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 14 17:34:55 2010 +1000
s4-libnet: use finddcs_cldap() in libnet_lookup
this may later be changed to do fallback to NBT as well, but for now
cldap is sufficient
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit fede78f29d15bb718186122f136cc25f0557773f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 14 15:48:19 2010 +1000
s4-cldap: don't set the writable bit when we are a RODC
when we are a RODC, don't respond with the writable bit in the server
type response of netlogon requests
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 898674cb1ca5b071653acfe3bcfeac895fffc6c8
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 14 15:46:31 2010 +1000
s4-finddcs: added finddcs_cldap()
this finds DCs with a specified set of server_type bit using SRV
lookups and CLDAP
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5bbfe2b42fd065e34bf20a24cb235863ad41fddc
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 14 13:12:00 2010 +1000
s4-secrets: fixed shadowed variable warning
we already have a 'v' in scope
commit 4ff452151a1d253b44cccfce034873c260ff414c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 14 07:49:12 2010 +1000
cldap: use ipv4 not up for unbound cldap sockets
If we use "ip" we end up with a PF_INET6 socket which breaks sendto()
for v4 addresses.
commit dbc9b185afa2fe59f73526b081ef6acff7d61aaa
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 13 23:08:28 2010 +1000
s4-resolve: added resolve_name_multiple_recv()
this allows for multiple replies to a SRV lookup
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit fa7fd4f261955753edfa3a415dcbf1f206200504
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 13 23:07:44 2010 +1000
s4-dns: fixed lookup of SRV records using dns_ex
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ce2004d631bb7eb0aa838f07ef48465a6f199d22
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 13 23:07:10 2010 +1000
s4: fixed some printf format errors
commit 041c699f3ae10d189405b93977e3143813fb4525
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 13 16:37:10 2010 +1000
s4-libnet: converted finddcs call to tevent_req
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 94fb6120d80d05de0f24ea71a93c761517fd4231
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 13 12:15:52 2010 +1000
s4-secrets: fetch secure channel type with domain SID
The secure channel type is needed to work out what DC to connect to
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit bd51d30809180b64c5c6fc98c2bd79040b93051c
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 13 11:38:12 2010 +1000
s4-auth: when we are a DC enable winbind auth
As a RODC we need to forward some auth requests to a writable DC
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 67ac8555b1e80aed07e420bca63e5c133c63fb5e
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 13 11:36:43 2010 +1000
s4-auth: set the RODC bit for RODC schannel
When we are using SEC_CHAN_RODC we need to set the
NETLOGON_NEG_RODC_PASSTHROUGH bit in the negotiated flags in
ServerAuthenticate2
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 52445e1583580e135da9e85c93608d0909dea8a7
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 13 07:44:06 2010 +1000
s4-schannel: fixed reference to context after free
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5b02cf1eb0b2e524cb58ec6ed6e766c252b06af9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 13 07:41:56 2010 +1000
s4-auth: allow multiple active auth backends
when we are an RODC we need to be able to allow multiple auth backends
to process a single auth request. First the sam backend will try to
authenticate, using locally stored passwords. If this backend can't
find local passwords then it will try the winbind backend and
authenticate via a writeable DC
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 890a33c99bc0a468984c456647311db0a19528aa
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 12 22:24:46 2010 +1000
s4-smb: serialise session setup operations
the mixture of async and sync code in gensec makes a EOF on a socket
during a session setup cause a crash. The simplest solution is to
stop processing events on the socket until the session setup is
complete.
commit ba2c394ed479bb121b7b20ddd724e92d71ac1518
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 12 22:17:01 2010 +1000
talloc: fixed spelling errors in comment
commit 13a8745cae2b38c8071b182a4c020305c76e62b8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 12 10:06:39 2010 +1000
s4-rodc: add a trigger message for REPL_SECRET to auth_sam
when an RODC tries to authenticate against an account and the account
has no password information it needs to send a message to the drepl
server to tell it to try and replicate the secret information from
a writeable DC
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f6d85be52830d17dbf6e7b01bf854a49dccbc7f8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Sep 12 10:02:02 2010 +1000
s4-messaging: add support for no_reply in irpc messages
It can be useful for a irpc message to be one-way, where the client
sends a messages and the server does not reply. This will be used for
things like a triger message from an auth context to the drepl server
to tell it to try a REPL_SECRET on a user in a RODC.
Previously we've used raw messaging for messages that have no reply,
but that doesn't allow us to use messages described by IDL
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit b9393e48963bb0e800383d5fdf6888b472d44fb2
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 10 20:18:11 2010 +1000
s4-kcc: removed redundent loop check
el has already been checked for NULL
commit 2fbf10ea1b1a52b1d01651d2f9ae4983013f1abd
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 10 20:17:39 2010 +1000
s4-smb: smbsrv_blob_push_string() can return -1
need to use ssize_t, not size_t for error handling
commit a17da707858baac78d5938313d935572520fabf1
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 10 20:16:29 2010 +1000
s4-dsdb: check for invalid backend type
commit 3e88f3cf339e49aedfaf949646df1e4b217435f4
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 10 20:16:14 2010 +1000
s4-rootdse: setup length after NULL check
commit d00cb8b3d311a694369e3a9a627ab7d6bc534c4b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 10 20:15:51 2010 +1000
s4-dsdb: fixed use after free for RODC
commit 597372df34ba48b96e5c9cad4d552ce1b932b66e
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 10 20:15:27 2010 +1000
s4-dsdb: free right context on failure
down_req is not initialised yet
commit cbd8297b4dcf9446e30b752d977e15ba440dff70
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 10 20:15:00 2010 +1000
s4-dsdb: defer ac->msg after check for NULL ac
commit 5a4a11cb98460dfab0517636a1434e0a96009c4e
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 10 20:14:29 2010 +1000
s4-anr: check for allocation failure before use
commit ba726b5580a7e946eb02631b0a03f9b2d2164a9b
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 14 18:20:08 2010 +0200
s4: Fix two typos
commit f892045fe06bac1079fe542fe426a42d8a2f17ac
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 14 17:57:23 2010 +0200
ntlmssp: when pushing an ntlmssp NEGOTIATE_MESSAGE deal with NULL strings.
Guenther
(cherry picked from commit 33da33c59e431f6f097bdd143fb48db465607669)
commit eeb24afd78a6448e808aaf96dbd7d5abf51bbd40
Author: Pierre Carrier <pcarrier at redhat.com>
Date: Tue Sep 14 16:43:39 2010 -0700
Allows changing the maximum number of simultaneous clients in winbindd through an smb.conf option.
Signed-off-by: Jeremy Allison <jra at samba.org>
commit 79cc0785353e14461ece45ae02c0a1477304e1ba
Author: Jeremy Allison <jra at samba.org>
Date: Tue Sep 14 14:53:17 2010 -0700
Ensure incoming timespec values correctly wrap at nsecs.
Jeremy.
(cherry picked from commit 0b270f014f67b8ff49b70fb41b2cceac121f337e)
commit 0b270f014f67b8ff49b70fb41b2cceac121f337e
Author: Jeremy Allison <jra at samba.org>
Date: Tue Sep 14 14:53:17 2010 -0700
Ensure incoming timespec values correctly wrap at nsecs.
Jeremy.
commit c4a31cf4d6b1a7c342ed223bdbab3dbd21073f5d
Author: Jeremy Allison <jra at samba.org>
Date: Tue Sep 14 14:45:45 2010 -0700
Fix string_to_sid() to allow non '\0' termination of the string - allows
string_to_sid() to be used in formatted strings like FOO/S-1-5-XXXX-YYYY/BAR.
Jeremy.
(cherry picked from commit 55b315094ef8a8ed691f9717c28cab301e17ef25)
commit ea8f73f2eac760ac723d1b7ef1ab66f40095e286
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 14:13:31 2010 +1000
s3-torture Add tests to show that the dom_sid parsing was faulty.
Andrew Bartlett
(cherry picked from commit 15abd86d54c582edfec29dfd55c256b6565da569)
commit b45b538198480c8fe75ad2445a365da3abd80eb5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 14:11:46 2010 +1000
s3-util_sid Use the NDR parser to parse struct dom_sid
The manual parser failed to constrain the maximum number of
sub-authorities to 15, allowing an overflow of the array.
Andrew Bartlett
(cherry picked from commit 1892df6ca803aed94e91cbd7a12ca1b8470dfc89)
commit dad0b141403fdc576d4fb2e3735a861effa50bc2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 14:10:31 2010 +1000
libcli/security Use sid_append_rid() in dom_sid_append_rid()
This ensures that the maximum number of sub-authorities is respected,
otherwise we may run off the end of the array.
Andrew Bartlett
(cherry picked from commit 46f585e364fc1640cf01ba0c738c6c5559f0b4fd)
commit 4ac32a574bc00df3826d20efc4fcfd00c75ed866
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 14:09:17 2010 +1000
libcli/security Merge source3/ string_to_sid() to common code
The source3 code repsects the limit of a maximum of 15 subauths,
while the source4 code does not, creating a security issue as
we parse string-form SIDs from clients.
Andrew Bartlett
(cherry picked from commit 51ecf796549287b7f10092778ffb52e018ae32fe)
commit 9e31c9a34a806bebd67f6bd722a7fdfeeede2e8f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 14:05:59 2010 +1000
s3-util_sid use ARRAY_SIZE() to ensure we never overflow the dom_sid
This ensures that this, unlike the MAXSUBAUTHS macro, can't get
out of sync with the structure.
Andrew Bartlett
(cherry picked from commit 72a8ea4d1545190bad85ee9f2216499e78b3625a)
commit 1ac4f6a4042962aae95c7ac00845035e0abfc646
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 14:05:30 2010 +1000
s3-util_sid Accept S-1-5 as a SID
(cherry picked from commit 9d44688681bc196baf1bccbdf84092ffc0510bb7)
commit 0dc0a81c424a6a11ae8ae52086164dc37e4b3691
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 14:04:55 2010 +1000
s3-dom_sid Use C99 types in dom_sid handling
Andrew Bartlett
(cherry picked from commit ce1e273a47105fcef71d054c0192b7985fd5b4f2)
commit 55b315094ef8a8ed691f9717c28cab301e17ef25
Author: Jeremy Allison <jra at samba.org>
Date: Tue Sep 14 14:45:45 2010 -0700
Fix string_to_sid() to allow non '\0' termination of the string - allows
string_to_sid() to be used in formatted strings like FOO/S-1-5-XXXX-YYYY/BAR.
Jeremy.
commit 15abd86d54c582edfec29dfd55c256b6565da569
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 14:13:31 2010 +1000
s3-torture Add tests to show that the dom_sid parsing was faulty.
Andrew Bartlett
commit 1892df6ca803aed94e91cbd7a12ca1b8470dfc89
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 14:11:46 2010 +1000
s3-util_sid Use the NDR parser to parse struct dom_sid
The manual parser failed to constrain the maximum number of
sub-authorities to 15, allowing an overflow of the array.
Andrew Bartlett
commit 46f585e364fc1640cf01ba0c738c6c5559f0b4fd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 14:10:31 2010 +1000
libcli/security Use sid_append_rid() in dom_sid_append_rid()
This ensures that the maximum number of sub-authorities is respected,
otherwise we may run off the end of the array.
Andrew Bartlett
commit 51ecf796549287b7f10092778ffb52e018ae32fe
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 14:09:17 2010 +1000
libcli/security Merge source3/ string_to_sid() to common code
The source3 code repsects the limit of a maximum of 15 subauths,
while the source4 code does not, creating a security issue as
we parse string-form SIDs from clients.
Andrew Bartlett
commit 72a8ea4d1545190bad85ee9f2216499e78b3625a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 14:05:59 2010 +1000
s3-util_sid use ARRAY_SIZE() to ensure we never overflow the dom_sid
This ensures that this, unlike the MAXSUBAUTHS macro, can't get
out of sync with the structure.
Andrew Bartlett
commit 9d44688681bc196baf1bccbdf84092ffc0510bb7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 14:05:30 2010 +1000
s3-util_sid Accept S-1-5 as a SID
commit ce1e273a47105fcef71d054c0192b7985fd5b4f2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 14:04:55 2010 +1000
s3-dom_sid Use C99 types in dom_sid handling
Andrew Bartlett
commit 4e8d6a779c9aa9b9418b4f835d831ad4492c3f6c
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 14 22:40:51 2010 +0200
s3/profile: remove the magical clock initialization from the profile code
there's no point in not profiling times if no monotonic clock is found -
monotonic and realtime clock are equally fast. Just use clock_gettime_mono
instead.
commit 5f6a145800a9e67c638f3ee05e43bb12fafffb48
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 14 22:17:47 2010 +0200
s3/profiling: don't use CLOCK_PROCESS_CPUTIME_ID
that clock is a CPU burnometer but we need a chronometer for profiling.
commit 9c00fb4aa68ac7b044e954906e5ed20e039373a3
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 14 14:08:44 2010 +0200
libreplace: use CLOCK_HIGHRES when available
in Solaris 8 CLOCK_HIGHRES was the (only) name for CLOCK_MONOTONIC
commit 33da33c59e431f6f097bdd143fb48db465607669
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 14 17:57:23 2010 +0200
ntlmssp: when pushing an ntlmssp NEGOTIATE_MESSAGE deal with NULL strings.
Guenther
commit 48976ac4978e3a0ff419755e1f77f60345480663
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 14 15:15:43 2010 +0200
rpc_server: Remove unnecessary dependency on server modules, build
system will take care of that.
commit 8209198998270e6374c0d7da2598c20dd9c4d8b3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 14 15:00:50 2010 +0200
waf: work around circular dependency finder erroneously removing dependency of gensec on dcerpc.
commit d286b1755cc95c24acf51324638311de93f86819
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 14 14:41:42 2010 +0200
selftest: Error out rather than die() when setting up an environment
fails.
commit d98754ca93bae4740a84118dc4e33e07b4d16e09
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 14 14:36:56 2010 +0200
selftest: If setting up environment fails, mark testsuites that use it as
errorring, don't skip it.
commit 73edd661eaec3b1f0d8705d545160ff4a2d97948
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 14 15:23:45 2010 +0200
s4-smbtorture: try to fix spoolss winreg Form tests on bigendian machines.
Guenther
commit 4c3e6a59af9c58c8140a2f9498a9e150f09eee10
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 14 13:10:05 2010 +0200
tdb: add ABI/tdb-1.2.4.sigs
metze
commit 3db545ece4c48e7b14e9d9835bcc894253f627d1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 14 12:48:57 2010 +0200
nss_winbind: Fix soname.
commit dcadb90bd3d678e45fa84c2899ec23bf604bffa8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 14 03:47:04 2010 +0200
subunit: Use RemoteError when passing errors to upstream subunit.
commit 8e328c4e329221011a2f018c5c050dc6b642db70
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 14 02:36:51 2010 +0200
param: Add prototype for lpcfg_private_dir(), used by openchange.
commit 1e5ea0be8461ebde4fc52fedeebb0628e1eaf44d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 14 00:22:55 2010 +0200
subunit.pm: Fold Subunit::Filter into Subunit, trim further.
commit c0923cfac1a15efddaadfb851d0eab93eba31ef3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 14 00:09:46 2010 +0200
subunit.pm: Remove output_msg/control_msg functions.
commit 7d4968e161d5868b65dd5d8ef5bb0e391109c0b5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Sep 14 00:04:54 2010 +0200
selftest: Remove testsuite parsing.
commit d3960f6b406272cc37820fad04aed6ddfd4e6cce
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 13 23:56:26 2010 +0200
subunit.pm: Simplify subunit handling in perl.
commit 49411fa1079fc78cba4751d57a3c76096fc1b772
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 13 23:22:35 2010 +0200
subunit.pm: Pass through milliseconds in time reports.
commit 9f3a43c0182b8b13b2f4ff615b5aca816f4f05b3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 13 23:07:41 2010 +0200
selftest: Report times in milliseconds rather than seconds.
commit d67eeafc4de2bd5a90b7865a2910b03d6c5c1fca
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 13 22:29:38 2010 +0200
subunit: Use standard subunit functions for reproducing subunit streams.
commit d2fb9ce472909c9e481d7d81d699460c882480a9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 13 22:13:15 2010 +0200
subunit: Remove unused methods.
commit b61cc18972616f33397745e20150613928e683a2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 13 22:09:46 2010 +0200
subunit: Use standard functions for addSuccess, addExpectedFail,
addFailure, addSkip.
commit c1fe7b498a680a4f9d94e3633e6d9c566fb61fe4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 13 21:55:22 2010 +0200
subunit: Use standard addError method implementation.
commit 881f610f06fc644bbbd146d939be5cd1adc19a73
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 13 21:42:32 2010 +0200
subunit: Pass TestCase objects to startTest rather than test name strings.
commit 1626dc2bc95ef1c17221ba1a6404a72e21fcfc5b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 13 21:31:08 2010 +0200
subunit: Use subunit standard functions for handling time and progress.
commit fb1c96665201a8090bcf14db7a71a752e4cd7041
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 13 21:17:05 2010 +0200
subunit: Use standard subunit test protocol client, use standard name for startTest.
commit 8530d5afdee8fbc4d87398839d37c503dc05410d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 13 20:53:54 2010 +0200
subunit: Initial work on using the standard TestResult class.
commit 4c45e291a77ba300d88ca7a9f3fb3153b6e4b3dc
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 14 08:38:30 2010 +0200
s3-waf: fix the build after privilege code changes.
Guenther
commit 9271570516087e006cf167895d51550a4ee858ab
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 14 00:02:01 2010 +0200
s3: Remove some unnecessary if-statements
commit f4c8bdace12391b78edd36e0221ce360da067248
Author: Jeremy Allison <jra at samba.org>
Date: Mon Sep 13 16:54:21 2010 -0700
Fix bug 7409 - Thousands of reduce_name: couldn't get realpath.
Don't log this at level 1 - every EACCES will generate one.
Thanks to muehlfeld at medizinische-genetik.de for pointing this out.
Jeremy.
(cherry picked from commit b3fccd10a63058f982082887cefd77af633f516c)
commit b3fccd10a63058f982082887cefd77af633f516c
Author: Jeremy Allison <jra at samba.org>
Date: Mon Sep 13 16:54:21 2010 -0700
Fix bug 7409 - Thousands of reduce_name: couldn't get realpath.
Don't log this at level 1 - every EACCES will generate one.
Thanks to muehlfeld at medizinische-genetik.de for pointing this out.
Jeremy.
commit a2daf0ef0e0c33349753ca4962e129911ac695ac
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 13 18:09:20 2010 +0200
ntlm_auth: Fix a valgrind error
commit 69db4b4ccf051b05517e6eb9039ab48f90608075
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 13 18:09:20 2010 +0200
ntlm_auth: Fix a valgrind error
commit 6e720ecd259742d274d6281088c5052070c955e6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Sep 13 22:41:06 2010 +0200
s4:SID handling - always encode the SID using "ldap_encode_ndr_dom_sid" for LDAP filters
This makes also lookups through special backends as "samba3sam" work.
commit a4b7fac86d6f348d785409555849449527e22e58
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Sep 13 22:39:50 2010 +0200
s4:cosmetic - the SID attribute is called objectSid - not objectSID
commit 0a19290ca7cb5531d71e65a37fd11276330b2a12
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Sep 13 21:18:13 2010 +0200
testdata/samba3/provision_samba3sam.ldif - update also here the maximum domain controller functionality
And we do support also LDAPv2.
commit f1b21bee16258a85ab9a12a6a56a1cedda0955e1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 13 20:40:19 2010 +0200
param: Only include param_proto.h for Samba builds, provide those
prototypes necessary for external users (OpenChange) manually.
commit 63562559f776c547f18820cf6b3abbb2fd831972
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 10 04:47:32 2010 +0200
lib/tdb: change version to 1.2.4 after hash checking improvments
lib/tdb: change version to 1.2.4 after hash checking improvments
metze
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
(cherry picked from commit d10b2c07be2cfdca09f07d3045ce891989d83a09)
commit 08eb42d980e5e81fa4a0247c86d00baae37bae0a
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Sep 13 20:05:59 2010 +0930
tdb: put example hashes into header, so we notice incorrect hash_fn.
This is Stefan Metzmacher <metze at samba.org>'s patch with minor changes:
1) Use the TDB_MAGIC constant so both hashes aren't of strings.
2) Check the hash in tdb_check (paranoia, really).
3) Additional check in the (unlikely!) case where both examples hash to 0.
4) Cosmetic changes to var names and complaint message.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
(cherry picked from commit 786b7263000dedcb97e7369402e2e9dc967e36c4)
commit 72c6697de54e1ff2d938a3ba4c406718b5c734e4
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Sep 13 19:59:18 2010 +0930
tdb: fix tdb_check() on other-endian tdbs.
We must not endian-convert the magic string, just the rest.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
(cherry picked from commit f77708e96268d18abbfb038f4e78fe9e11a2856f)
commit 2c736fd0195b78698e5f30edb99a7e0a7c0fe7d0
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Sep 13 19:58:23 2010 +0930
tdb: fix tdb_check() on read-only TDBs to actually work.
Commit bc1c82ea137 "Fix tdb_check() to work with read-only tdb databases."
claimed to do this, but tdb_lockall_read() fails on read-only databases.
Also make sure we can still do tdb_check() inside a transaction (weird,
but we previously allowed it so don't break the API).
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
(cherry picked from commit 82e5644c9dbf5c2e4b0c4183372e0a79203d32a5)
commit fefe740a2c63e9c44613db58b4d8843dee30fd4c
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Sep 13 19:55:26 2010 +0930
tdb: make check more robust against recovery failures.
We can end up with dead areas when we die during transaction commit;
tdb_check() fails on such a (valid) database.
This is particularly noticable now we no longer truncate on recovery;
if the recovery area was at the end of the file we used to remove it
that way.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
(cherry picked from commit 9e0deff904877068d19b41e965732f145c2554b9)
commit 95a0b6830f00c8949b2d8eee73db38d238275262
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 13 11:56:48 2010 +0200
s3: Fix a typo
commit 3670a248eb3a3b20a91b6b38f70676f3ab7fb119
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 13 11:44:19 2010 +0200
s3: Fix a typo (authentictaion->authentication)
commit e03f8ded0198ff80dc001f3461eb0384e52f9f5b
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 13 11:44:19 2010 +0200
s3: Fix a typo (authentictaion->authentication)
commit c96bf39e3aa2dd542a37707547dbbd858774bf81
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 13 11:31:58 2010 +0200
s3: Do not directly log off after a pam_logon
commit c8528396280a15e81b9fedbe8e784b507b2367df
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 13 11:31:26 2010 +0200
s3: Fix wbinfo arg for --pam-logon
commit 4dcd5ac4424d6003d73a1cac36e2543eba98ae94
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 13 11:31:58 2010 +0200
s3: Do not directly log off after a pam_logon
commit 2ef4acb2bd67b1b5d483e859705e445c6e01e4cd
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 13 11:31:26 2010 +0200
s3: Fix wbinfo arg for --pam-logon
commit 8768f627dc2c6994e551ed15c204b6f26d496dd7
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 13 11:08:40 2010 +0200
ntlm_check: Fix some nonempty blank lines
commit 02a8a96fd878542099644f84ad245a333124f97a
Author: Björn Jacke <bj at sernet.de>
Date: Fri Sep 10 21:36:20 2010 +0200
s3/winbind: use mono time for startup timeout check
commit b7fcbb2955689b59822365593d2431f7f4bb5e34
Author: Björn Jacke <bj at sernet.de>
Date: Fri Sep 10 21:03:17 2010 +0200
libreplace: clock_gettime sets errno
commit d10b2c07be2cfdca09f07d3045ce891989d83a09
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 10 04:47:32 2010 +0200
lib/tdb: change version to 1.2.4 after hash checking improvments
lib/tdb: change version to 1.2.4 after hash checking improvments
metze
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 786b7263000dedcb97e7369402e2e9dc967e36c4
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Sep 13 20:05:59 2010 +0930
tdb: put example hashes into header, so we notice incorrect hash_fn.
This is Stefan Metzmacher <metze at samba.org>'s patch with minor changes:
1) Use the TDB_MAGIC constant so both hashes aren't of strings.
2) Check the hash in tdb_check (paranoia, really).
3) Additional check in the (unlikely!) case where both examples hash to 0.
4) Cosmetic changes to var names and complaint message.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit f77708e96268d18abbfb038f4e78fe9e11a2856f
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Sep 13 19:59:18 2010 +0930
tdb: fix tdb_check() on other-endian tdbs.
We must not endian-convert the magic string, just the rest.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 82e5644c9dbf5c2e4b0c4183372e0a79203d32a5
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Sep 13 19:58:23 2010 +0930
tdb: fix tdb_check() on read-only TDBs to actually work.
Commit bc1c82ea137 "Fix tdb_check() to work with read-only tdb databases."
claimed to do this, but tdb_lockall_read() fails on read-only databases.
Also make sure we can still do tdb_check() inside a transaction (weird,
but we previously allowed it so don't break the API).
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 9e0deff904877068d19b41e965732f145c2554b9
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Sep 13 19:55:26 2010 +0930
tdb: make check more robust against recovery failures.
We can end up with dead areas when we die during transaction commit;
tdb_check() fails on such a (valid) database.
This is particularly noticable now we no longer truncate on recovery;
if the recovery area was at the end of the file we used to remove it
that way.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit fe958c009be224be91e9ed4cdafe5330735d0a38
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Sep 13 10:38:08 2010 +0200
Revert "s4:samldb LDB module - simplify the message handling on add and modify operations"
This reverts commit 1d94bb3ad4d9c6de3b77ed4690a54ebf2399cc0d.
This commit causes unconditional behaviour (sometimes it works, sometimes not) -sorry for introducing this.
I will rework this further.
commit 123712840f99e633ea8eb2a6491dec8767316aa4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 22:26:10 2010 +0200
s4:samldb LDB module - remove a disastrous "talloc_free"
This completely destroys the program logic (async callbacks). Sorry for
introducing this.
commit 0939ba4488c4c4e59ae10ed0b99b3e237c7f9a84
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 22:24:42 2010 +0200
Revert "s4:util_samr.c - also here we've now the default primaryGroupID detection working"
This reverts commit 7e9e35db4126f953e8a2579d992c63b274011119.
Sorry, the logic is working differently here. We do still need this.
commit eaa55b41239eadd302d983879217a0f391ea701b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 22:10:06 2010 +0200
s4:torture/rpc/samr.c - fix typos in outputs
commit 7e9e35db4126f953e8a2579d992c63b274011119
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 21:19:27 2010 +0200
s4:util_samr.c - also here we've now the default primaryGroupID detection working
commit 4a2941535d8a34c533ddbadccd4df9aec4539639
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 19:11:26 2010 +0200
s4:ldap.py - tests the primary group detection by the "userAccountControl"
commit 4fd8ce42ce429111d70d078c1e12bc20dec0af05
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 18:39:50 2010 +0200
s4:setup/provision_self_join.ldif - now the samldb LDB module detects automatically that this is a DC account
commit 7f424155e62d04d23bb1c825ecd546eed18725e0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 18:26:06 2010 +0200
s4:samldb LDB module - "samldb_check_primaryGroupID" - support RID derivation from "userAccountControl"
Specified in MS-SAMR 3.1.1.8.1 and probably fixes also bug #7441.
commit 1e52e72e409a3a5b52e4f75b985122ac94d8aa4a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 18:00:21 2010 +0200
libds:flag_mapping.c - introduce a call which maps the "userAccountControl" to the default primary group RID
commit 2fb111f7313ddd3bf5f4eee0a54284b201100605
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 17:49:47 2010 +0200
libds:flag_mapping.c - fix counter variable types
commit 22d42432acb158a7b0ebb4faee3aebd53a494efd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 15:05:19 2010 +0200
s4:samldb LDB module - free the "ac" context after the delete checks
commit 1d94bb3ad4d9c6de3b77ed4690a54ebf2399cc0d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 14:38:11 2010 +0200
s4:samldb LDB module - simplify the message handling on add and modify operations
We perform always only one shallow copy operation of the message on the "req"
context. This allows to free the "ac" context when we've prepared all our
changes.
commit 79f22e5d700c5ffb6c0f0d64ad701558aa53bf57
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 14:41:53 2010 +0200
s4:samldb LDB module - move "samldb_prim_group_users_check" more down to see that it is only in use by the delete operation
add and modify helpers will stay on the top of the add and modify operation
since they will likely be shared as much as possible.
commit bb1da645ed1005b5e77dd3e013af93b0f027d51e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 14:40:17 2010 +0200
s4:samldb LDB module - add a comment to mark the beginning of the extended operation handler
commit dad7cdad2261b8b860a67ecfdcb027ff9a7985db
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 13:14:36 2010 +0200
s4:samldb LDB module - refactor "samldb_find_for_defaultObjectCategory" to be again synchronous
Also to make it easier to comprehend
commit 6aca09b0b723d0116c0038e4e43a13a77b68deca
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 12:54:31 2010 +0200
s4:samldb LDB module - refactor the "primaryGroupID" check on user creation
This looks more straight-forward now.
commit e1de425cb8734fb7be1e17cfb22ebd95d9b4df9a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 12:53:37 2010 +0200
s4:samldb LDB module - get rid of the SID context variable
Since we get more and more rid of async stuff we don't need this in the context
anymore.
commit 79a98b893aa098b3ed822647e2cdb1d471f4901b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 12:31:41 2010 +0200
s4:samldb LDB module - use also here the real attribute denomination "sAMAccountName"
Purely cosmetic - but nicer to read
commit 0eb281d8f210200025aecb478f818b659ad5b546
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 12:29:21 2010 +0200
s4:samldb LDB module - rename "check_SamAccountType" into "check_sAMAccountType"
And a small cosmetic change.
I like to have the real attribute names in the function denominations
commit 4ef9760db170bf2ec2aa277426d07c345dd7848b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 12:25:55 2010 +0200
s4:samldb LDB module - make "samldb_check_sAMAccountName" synchronous again
To make it more understandable
commit 64af772b38ca4109a4bd47e228b602f1f74e61bc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Sep 12 15:05:46 2010 +0200
s4:fsmo.py - fix an obvious typo
commit adfa071c5a10521a7fe6a55735358ce27a777dc4
Author: Volker Lendecke <vl at samba.org>
Date: Sat Sep 11 18:24:54 2010 +0200
s3: Remove a nesting level in winbindd_dual_pam_chauthtok
commit 6bd6fdcd7275511f542ec4c640028a6c088a4d8a
Author: Matthieu Patou <mat at matws.net>
Date: Tue Mar 9 15:39:56 2010 +0300
s4:unittest: Test wbinfo --group-info and --gid-info
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 8a0db43ad8d84c195fd6cd716ec92f9b47ab4649
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 11 19:13:13 2010 +0200
test_wbinfo.c - count more possible failures
commit 1ddd63bddb902c82d52c1516b2649c610ae87db4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 11 17:44:43 2010 +0200
ldb:tools/cmdline.c - reorganise imports
commit b5d872704cc1074203b570f3965d67b8a9d177f5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 11 18:01:57 2010 +0200
s4:param/secrets.c - reorganise imports
commit 7e710c4de92c310897817acc06d229cce763d2d7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 11 17:53:32 2010 +0200
s4:rpc_server/common/common.h - introduce two forward declarations to suppress parameter declaration warnings
Always Tru64 in file "param/loadparm.c" and possibly others.
commit 5f98d31fc086e57507acb6e46095a1329f0e5f3b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 11 17:43:44 2010 +0200
ldb:tools/cmdline.c - make a counter unsigned where appropriate
commit c0a863b6f35315a748fa3bb4ae4e4e7c48ad2102
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 11 17:41:38 2010 +0200
s4:ldb_register_samba_handlers - fix up and convert result codes to LDB/LDAP results
commit ea3f21dff6c28dc26a3cf9223da84ff4c545b22c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 11 16:50:47 2010 +0200
lib/replace/wscript:Tru64 build - Better use version 600 for _XOPEN_SOURCE
This means we request the "Single UNIX Specification, Version 3" with C99
compatibility as the Python 2.5 release on the system. This prevents
redefinitions with different values.
> [ 451/1918] Compiling scripting/python/pyglue.c
> cc: Warning: /usr/local/include/python2.5/pyconfig.h, line 951: The redefinition of the macro "_XOPEN_SOURCE" conflicts with a current definition because the replacement lists differ. The redefinition is now in effect. (macroredef)
> #define _XOPEN_SOURCE 600
> ----------------------^
> cc: Warning: default/source4/include/config.h, line 54: The redefinition of the macro "_XOPEN_SOURCE" conflicts with a current definition because the replacement lists differ. The redefinition is now in effect. (macroredef)
> #define _XOPEN_SOURCE 500
> ----------------------^
commit 83cd3f76307edcba7df2fbbde54a029ce5b4e9f8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 11 14:02:11 2010 +0200
s4:dcesrv_samr_GetGroupsForUser - also universal group memberships are returned here
Tested using User Manager for Domains against Windows Server 2008.
MS-SAMR 3.1.5.9.1 is wrong in this case therefore I've informed the dochelp team.
commit e84ab1b35fc6d1b1fbb4c02102be96db3e08cb83
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 11 20:38:15 2010 +1000
s4-privs Fix enum privileges in LSARPC server
We were returning the index, not the LUID value
Andrew Bartlett
commit 07cf3ba5c46bf43de7b1ce3278203e357bed19dd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 11 20:38:02 2010 +1000
s3-auth Fix typo in comment
commit 6d6158617ce55426e7753d37cb96bd4705ee1054
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jul 19 15:43:25 2010 +1000
nss-waf: use the right winbind pipe path
s4 uses a different location for the winbind pipe to s3
commit a82fe6f4729b138e81a00cdd4204361f35864ef6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jul 19 15:42:42 2010 +1000
winbind-waf: the installed name is libnss_winbind.so.2
the .2 is what libc adds to the name for this version of the nss API
commit e13ed6fc789d27daf5326a81b42469da3d54de01
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 19:12:29 2010 +1000
s4:gensec Put the "NTLM" string for NTLMSSP's SASL name in a header
commit 2921a888dce74e8592ad4f7d51d92b8fa6d44711
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 11 13:40:48 2010 +1000
s4-param: removed the lp_ varients of the functions
these made debugging much harder. We should replace these with
generated macros
commit 2a93814592f8177da38a6459bd447fab8575f4e3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 11 13:36:48 2010 +1000
s4-param: move back to auto-generation of loadparm prototypes
commit 837230f85e12e72186dacfb97fe2dbf8a37d28f0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 28 17:30:09 2010 +1000
s4-credentials: get all attributes in cli_credentials_set_secrets()
This ensures we get whenChanged, which is needed by the s3 winbind
code to ensure we don't repeatedly try to change the password
commit bc6a3a2e3f783b8a7dd87e72c55443fbfde12c00
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 11 19:42:17 2010 +1000
security.idl Clarify that this is not a network structure
commit b9b93b845cc7fd20d6d2acafd8958b9d87bfd8db
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 11 12:53:21 2010 +0200
libcli/auth/schannel_state_tdb.c - fix includes
Otherwise we get a "declared inside parameter list" warning.
commit 2442d256368daa11b55ca61578a73620653736df
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 11 12:15:20 2010 +0200
lib/replace:wscript - additional attempt to fix the build on Tru64
Obviously we really need both definitions ("socklen_t" has been found by
"_XOPEN_SOURCE"=500). But now FIONREAD wasn't accessible.
commit a02a2c3557928e507d1220303d9a3f79e8c46bb1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 11 17:00:10 2010 +1000
libcli/security Use talloc_zero when making a struct security_token
commit fdcadb5c3c2e3de1e2d1755653a9d02ccb548db8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 11 16:59:53 2010 +1000
libcli/privileges Fix comment
commit 0eea8ecfe262e515011e7637c5a574f23923f169
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 11 16:58:45 2010 +1000
s4-privs Seperate rights and privileges
These are related, but slightly different concepts. The biggest difference
is that rights are not enumerated as a system-wide list.
This moves the rights to security.idl due to dependencies.
Andrew Bartlett
commit 3b4db34011f06fb785153fa9070fb1da9d8f5c78
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 11 16:13:33 2010 +1000
s3-krb5 Fix Kerberos on FreeBSD with Samba4 DCs
The idea of this patch is: Don't support a mix of different kerberos
features.
Either we should prepare a GSSAPI (8003) checksum and mark the request as
such, or we should use the old behaviour (a normal kerberos checksum of 0 data).
Sending the GSSAPI checksum data, but without marking it as GSSAPI broke
Samba4, and seems well outside the expected behaviour, even if Windows accepts it.
Andrew Bartlett
commit ee943fb2bfc1fe7bad924aea9096c246bef6d60b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 09:32:21 2010 +1000
libcli/security Remove unused SE_NONE define
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit eb6a0cc3268beabc09218b965d79083e80fb0464
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 09:23:12 2010 +1000
libcli/security Move 'private' privileges functions to another header
These functions work on the bitmap, and are only exposed because
the source3/ privileges storage uses the bitmap in account_policy.tdb
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit b733d9dee0624d80ed965bd231995026218de5a4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 09:18:05 2010 +1000
s3-samr Explian better the use of two privileges in this call
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 6d2b1ef71d5e0b61559c99d58857ce533a036044
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 09:16:23 2010 +1000
libcli/security Remove 'always true' return from se_priv_put_all_privileges
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit aefe60da8c6a5e48d807fa2e64d332b67fae25b8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 08:37:21 2010 +1000
s3-util_sid Tidy up global struct security_token
This no longer needs to be global, and should be const. We now also
init it with the C99 style initialisers.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit da9bca62825f838ac57d7a56dc8b0e9b5de181c8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 07:02:38 2010 +1000
s4-rpc_server Put all 'logon failure' messages at the same debug level 4
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit eb84c7ac908ad68443496c70775f16ce5d30310a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Sep 4 07:01:38 2010 +1000
libcli/auth Failure to find the cached session key for SCHANNEL isn't level 0
This happens all the time, particularly now that we don't keep the
db around after a reboot. Don't scare the admins with the level 0.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit e3edd7ca3ad73ff81a6ffddfeae208b930766e86
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 3 20:30:50 2010 +1000
s3-privs Add const
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 4bf09967a40814619199a1ec6c7424612a767071
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Sep 3 20:30:16 2010 +1000
s3-privs Remove extra pointer on privilege mask
Now that this is a scalar, this isn't required.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 86fdb4c152d40ce862dea0ca7b5790df4b168289
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Sep 3 16:33:41 2010 +1000
s3-privileges: add handling of both old and new formats in database
We update privileges on a per-record basis instead of all at once, as
this maintains maximum compatibility is someone uses old tools with a
new version of Samba. The also auto-detects the byte order of the old
entries in the database, and copes with either native or reversed byte
order.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 45aecc283398a061f185ebc5577fcb4de0b89262
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 2 14:15:13 2010 +1000
s4-lsa: privilege IDs should use the enum, not an int
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 382e2b321b6b79cfd0db59ae2c506fcd750a3df6
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 2 14:14:51 2010 +1000
privileges: privilege luids are not all below 64
the ones brought across from s3 have higher values
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit a32cdadb7cbff255b5a0133a3bb54352d0d42f61
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 31 09:28:51 2010 +1000
libcli/security Make sec_privilege_from_index() return SEC_PRIV_INVALID on failure
This is clearer and more consistent than using a magic -1 return
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 0b41ef789575e5194e9b499cf5fe0df4616f1bb8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 31 09:20:39 2010 +1000
libcli/security Remove unused declarations from privileges.h
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 96e59faa623ffa1faa50ecf7974c5ff00c9b6399
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 16:29:05 2010 +1000
s3-privs Remove unused function
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 9883993b66826d2f692ebdd3c928f4f7a0cddc7d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 15:38:18 2010 +1000
s3-privs Overhaul PRIVILEGE_SET handling, avoid dealing with the bitmap
This avoids us dealing with the privilege bitmap in the LSA server, and
overhauls much of the rest of the handling to be currnet with the modern
world of talloc.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit ad5ec58a714aba1f6c0894ca4e7207f1c5072949
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 15:27:40 2010 +1000
s3-privs Hide the bitmap-based grant_privilege and revoke_privilege
The new wrappers avoid anything but the core privileges code
dealing with the bitmap values directly.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 4080ff7af5eec946a01c52f8d9ba01f1ef81fe71
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 14:17:02 2010 +1000
s3-privs Make privilege_enum_sids() take an LUID, not a bitmap
This moves one more privileges call away from direct bitmap manipuation.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 71832a404e5028c1c3933351c608a99e4fc80e42
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 14:16:36 2010 +1000
libcli/security Expose sec_privilege_mask()
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 6d78e11e17b80bc932e5f4fb1ff6b27909f405d0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 14:00:50 2010 +1000
libcli/security make sec_privilege_id() return SEC_PRIV_INVALID on failure.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 8ff6bc2350894924ad362e0f058a24de3e459270
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 13:33:19 2010 +1000
libcli/security Remove unused functions and constants.
All the callers to these functions have been removed or reworked.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 62e5900cd13f6daf77ab65f70245fe21ac5fd053
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 13:30:38 2010 +1000
s3-privs Rework access_check_object() to take two privileges
This allows the privileges bitmap to be used only when setting
privileges, and uses an the LUID constant for all 'does this user
have this privilege' operations.
The advantage is that we now only need one API to determine if a
token has a privilege, and much less code needs to know what type
is used for the underlying bitmap.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit a53a42ffb88fd6b758b8cacf492bceeb93da09c1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 13:28:19 2010 +1000
libcli/security Rename all privilege bitmaps constants
The idea here to to make it very clear how they differ from the
enumerated LUID values.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit e0cbc68c0a29bc036949adb7be5e140edd07a3b2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 13:24:43 2010 +1000
s3-privs Rework privilege enumeration to also use new DB format
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 2bb7b827d60424aaccd12bd811d4a42de72f0185
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 13:17:48 2010 +1000
libcli/security Remove luid_to_se_priv() and luid_to_privilege_name()
These functions duplicate other functions in the merged code.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit ed6b4ddd71ebdcdbdea7949ecbef11f409766534
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 13:14:40 2010 +1000
s3-privs Directly manipulate the privileges bitmap.
There is no longer any reason to go via the se_ functions to
manipulate this bitmap.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 92efe9a86aae64d85323a9fcf6d20fd3f85bc22c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 13:09:29 2010 +1000
libcli/security Add an invalid LUID privilege value
This helps code that may not want to specify any privilege
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit aab0b557b9577d2ef8bed7a0674b702ea94c0d4a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 13:06:18 2010 +1000
libcli/security Improve dump of privileges: Just walk the table
This removes some logic recently added that was just too smart - it
is easier to just walk the table and do a bit match here.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 3bb77516b841def60e08e50bafc37517dd9d3ae0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 13:04:27 2010 +1000
s3-privs Convert from user_has_privileges() -> security_token_has_privilege()
This new call is available in the merged privileges code, and
takes an enum as the parameter, rather than a bitmask.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit b057867de3fbb423ef6afb9b7038ab99c83124d8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 12:59:38 2010 +1000
s3-privs Remove a pointer from grant_privilege()
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 0e2142a9275b567a3c6a8f90e95240d9e686ec27
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 12:50:49 2010 +1000
s3-privs Remove pointer indirection from se_priv_to_privilege_set()
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 2387e3bcfeb4c2e54342a8fff4b157e9ba68024b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 12:47:29 2010 +1000
s3-privs Call security_token_set_privilege() rather than manual assignment
This avoids as much direct modifiction of the bitmask as possible.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit a02ae674dd6ffaa8ebc4017af6a644162c59a00d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 30 12:44:08 2010 +1000
s3-privs Remove a pointer indirection from revoke_privilege()
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit cbd72ab93bc35aa71a55b190cd999dda4106be07
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 12:19:09 2010 +1000
libcli/security Don't export privs[] as a global variable
Instead, provide access functions for the LSA and net sam callers
for the information they need.
They still only enumerate the first 8 privileges that have traditionally
been exposed.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 33ce8633d6a5e5cc54209c92397025114f0a46ea
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 12:12:10 2010 +1000
s3-lsa Use sec_privilege_id() to lookup name to LUID
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 3c93d1ecbf563f46c4aa5fe9f0c5f3ee053f702d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 11:56:37 2010 +1000
libcli/security Merge privilege lists from source3 and source4
The LSA enumeration in source3 will not show the new privileges,
but otherwise, they are now in common, and can be set by name.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit d2e41105e2caab83251d54c3fde72971038dd5df
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 11:52:51 2010 +1000
libcli/security Return number of entries in the old source3 list
This ensures there isn't a behaviour change when the source3 list is combined
with the longer source4 list.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit eb8e3155dee3e4258a603da61a9e7822503cd8dd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 11:27:57 2010 +1000
libcli/privileges Simplify get_privilege_luid() to return just the enum
As Samba only deals with the lower 32 bits of the LUID, just return those
and let the LSA layer deal with the upper 0 bits.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit cdda15c062369d94bc468dce7b541ea505d664e5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 11:26:20 2010 +1000
libcli/security Don't memcpy a uint64_t value, just assign it.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 780de03f009d9583541f6bbc6932b0c1b142231b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 10:52:38 2010 +1000
libcli/security Use ARRAY_SIZE() consistantly.
This avoids the use of SE_END, and has all callers walking the
array using the same termination condition.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 66ac968dd50ebe8481995a34bb6651c0e24e928d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 10:30:18 2010 +1000
libcli/security Fix and clarify privilege manipulation function comments
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 9fb92c6014e48b000b26010bc21aa3821bab10cf
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 10:21:13 2010 +1000
libcli/security Make the two privileges tables share a common struct definition
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit dbee98d30fc9c7db6693170215b8c1819b3e2f3d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 09:35:55 2010 +1000
libcli/security Move source4/ privileges code into the common libcli/security
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 0d25212cc161dee2f38c8ad60e50543596000f18
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 09:22:31 2010 +1000
s3-privs Move manual prototypes to common privileges.h
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit b29b6c13a373c39190db0e2bd0440f7f2619b33c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 10:04:05 2010 +1000
s3-privs Inline dump_se_priv into callers now that it's just a uint64_t
The previous 128 bit structure needed this helper function.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit f85b822bd4feaab179ffbf00496fcb7d1905fc8c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 09:50:31 2010 +1000
libcli/security Use talloc_realloc() not TALLOC_REALLOC_ARRAY()
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 3f589c2155557c02c9dc0eeee972bb68c1fd147f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 09:50:12 2010 +1000
libcli/security Use C99 types
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit b0690d6da7c60ef54d243e487260540666cc58ff
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 09:41:32 2010 +1000
libcli/security Use true and false, not True and False
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit f20bba97d8146e830dbaeb761a05dcede1bdfee2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 08:56:15 2010 +1000
s3-privs Move source3/ privileges implmentation into common
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit cae7babb1fcfbb0655bc1f7f6be51212f3d13c69
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 22:49:27 2010 +1000
s3-privs Rename structure elements for greater clarity
It is important to make clear which is the LUID and which
is the Samba-only bitmap mask.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 25b0da5c532bbaee819fe239217e2d2f2c81a6c6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 22:35:35 2010 +1000
s3-privs More clarity in variable names
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit f20c78150946c2822722858c2f614babfd857317
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 22:30:26 2010 +1000
s3-privs Rename mask -> privilege_mask to be more clear
After SE_PRIV was removed, it became less clear what these
parameters were for.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit d1bb21b0d531ef8f40400716b3e1f6314c7c1e8a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 22:08:22 2010 +1000
s3:auth Remove NT_USER_TOKEN
The all UPPER case typedef is no longer the preferred Samba style
and this makes it easier to see that this is the IDL-derivied structure
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 4bfc8d3b1a6f6deacb8845c5d81b4897cc292cfb
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 20:04:11 2010 +1000
s3-auth Change struct nt_user_token -> struct security_token
This common structure is defined in security.idl
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 4bf783d4d6693f927f5e7ef7a9855766c91983f2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 20:54:13 2010 +1000
s3-auth Change type of num_sids to uint32_t
size_t is overkill here, and in struct security_token in the num_sids
is uint32_t.
This includes a change to the prototype of add_sid_to_array()
and add_sid_to_array_unique(), which has had a number of
consequnetial changes as I try to sort out all the callers using
a pointer to the number of sids.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 6a0176b07da0b416bc9d750ddea92c612849597c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 19:42:01 2010 +1000
security.idl Add comments
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 2606dfa9a42d19c971f6c04e4030af51b57484bc
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 19:21:53 2010 +1000
security.idl Update Windows privileges list to Win2008R2
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 3e36aefc66d482e5fd78b8be6c21aa116fe587c8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 19:20:32 2010 +1000
s3-privs Only store low bits of luid in privileges table
Samba only uses the low bits, and this makes the code simpler.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 9abfd8fe3bf4fd3bfae34e7b621369d3f67cf73c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 18:38:59 2010 +1000
s4-privs Add a lookup by index of privilages
Now that privileges are no longer given luid values sequentially,
we need another way to look them up for enumeration.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit e113af6fb11504a87fd821fb0d77ff855a36e6d5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 18:38:16 2010 +1000
privs Add my Copyright
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit d2883ffde92b60c57466146975a3a279b5826c89
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 16:04:53 2010 +1000
security.idl clarify which privilages are LUID and bitmap values
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 86233ec13527ad93ef3add7d24bd8f781693f2b0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 16:03:41 2010 +1000
s3-privs Remove comment already moved to security.idl
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 82f84ff3828a8a4e2249db367b1a38f69190e616
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 16:02:12 2010 +1000
s3-privs Use constants from security.idl
The values in security.idl have been updated to match these.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit e655e9f6765f951447a36cc3890437f21a13ca0d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 15:56:21 2010 +1000
s4-privs Remove link between enum sec_privilege and the privilege bitmap
This allows us to set the enum sec_privilege constants to the LUID
values that are seen from windows, which we need to match, in order
to preserve the support for the NT Print Migrator tool after a merge
with the source3/ privileges code.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit fcaa86f4026cac94ed257406cbf4a59947b6029f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 14:37:00 2010 +1000
s3-privs Further changes to remove SE_PRIV
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 821b9e61aa057530212438988c204d79f1f70b1d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 27 12:44:35 2010 +1000
privs Move privilege bitmasks to security.idl
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 99aae4a0ee4f5d069bebe998337d1cdb0c1c390a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 10:35:45 2010 +1000
s3:privs Change to new host endian neutral privilages tdb format
These values are stored in account_policy.tdb, and the old format,
using a 128 bit bitmap was not endian neutral.
The previous endian-dependent format was introduced in
46e5effea948931509283cb84b27007d34b521c8
replacing a 32 bit number which was used at the time.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit c79336e48a12723a4c7d1d1e377a84b7aac4163d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 26 08:49:28 2010 +1000
s3:Change SE_PRIV to uint64_t
This removes the SE_PRIV typedef
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 42a98a570b57c3b4625f56179c6697a45427e8a6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 24 14:47:26 2010 +1000
s3:privileges Change SE_PRIV to be just a uint64_t
We don't need 128 possible privileges here, as we only use 12.
This reverts some of 46e5effea948931509283cb84b27007d34b521c8
by Jerry back in 2005, where he introduced the SE_PRIV structure
to replace the uint32_t used at the time.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit b8f28c2e70b3fa332313126ea6f1f2f42fb46a90
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 11 08:42:10 2010 +0200
lib/replace:wscript - don't check twice for type "bool"
commit ae5d807725906810f8b9ad77d1aad1462dd513dc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Sep 11 08:22:09 2010 +0200
lib/replace:wscript - attempt to fix the features detection on Tru64
Hopefully now we detect the built-in "socklen_t"
https://bugs.internet2.edu/jira/browse/SSPCPP-114
http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V50_HTML/MAN/MAN5/0001____.HTM
commit dde50b44e98f418edec48ca3b2b5b527b8a8ea0a
Author: Jeremy Allison <jra at samba.org>
Date: Fri Sep 10 23:33:18 2010 -0700
Add check missing from previous patch after talloc_strdup().
Jeremy.
(cherry picked from commit a89b0ef53b990721d6e897b938bed75577b623d9)
commit 74b3fbe0f34b677dd71e441943aa8eb76ea6298c
Author: Jeremy Allison <jra at samba.org>
Date: Fri Sep 10 23:28:15 2010 -0700
Factor out the recent changes into a function - check_parent_exists().
Fix this to ensure that if "start" is manipulated, then "dirpath"
is changed also.
Ensures that when the path:
/a/long/file/name/path.txt
is processed, we first stat:
/a/long/file/name/path.txt
and if this fails, we try to stat:
/a/long/file/name
if this path exists (the normal case when creating a new
entry in a directory) then we no longer do the individual
path name walk, but only do case insensitive lookup on the
last component. If the stat fails we do the full pathname
walk as normal in 3.5.x and below. Metze, examine this
change for your back-port.
Jeremy.
(cherry picked from commit 1787c1dfc3a506c0afee6d2bb67ba8789c709b86)
commit a89b0ef53b990721d6e897b938bed75577b623d9
Author: Jeremy Allison <jra at samba.org>
Date: Fri Sep 10 23:33:18 2010 -0700
Add check missing from previous patch after talloc_strdup().
Jeremy.
commit 1787c1dfc3a506c0afee6d2bb67ba8789c709b86
Author: Jeremy Allison <jra at samba.org>
Date: Fri Sep 10 23:28:15 2010 -0700
Factor out the recent changes into a function - check_parent_exists().
Fix this to ensure that if "start" is manipulated, then "dirpath"
is changed also.
Ensures that when the path:
/a/long/file/name/path.txt
is processed, we first stat:
/a/long/file/name/path.txt
and if this fails, we try to stat:
/a/long/file/name
if this path exists (the normal case when creating a new
entry in a directory) then we no longer do the individual
path name walk, but only do case insensitive lookup on the
last component. If the stat fails we do the full pathname
walk as normal in 3.5.x and below. Metze, examine this
change for your back-port.
Jeremy.
commit f76983ae3fce835b01025e1726f4bf1e6402c3ec
Author: Volker Lendecke <vl at samba.org>
Date: Fri Sep 10 15:07:28 2010 +0200
s3: Simplify the logic in generate_krb5_ccache
gd, jra, others, please check!
commit 306465a5a4571cabe5c1c61224873471910b94b6
Author: Björn Jacke <bj at sernet.de>
Date: Fri Sep 10 21:36:20 2010 +0200
s3/winbind: use mono time for startup timeout check
commit e2de1b8e717f94944006f3478a133f256cef50de
Author: Björn Jacke <bj at sernet.de>
Date: Fri Sep 10 21:03:17 2010 +0200
libreplace: clock_gettime sets errno
commit 3eda2815f648fdb688f9bace4c45870c7a427dfc
Author: Björn Jacke <bj at sernet.de>
Date: Fri Sep 10 20:46:10 2010 +0200
s4/pvfs: use monotonic time for this timeout
commit d320aa1212ba926f81d37ee0690381f1f287f30d
Author: Björn Jacke <bj at sernet.de>
Date: Fri Sep 10 20:39:20 2010 +0200
s4/ldap: use time_mono for reconnect timeout
commit 54ca77183b63946025c7953cdb9fb558b6b91b1d
Author: Björn Jacke <bj at sernet.de>
Date: Fri Sep 10 20:28:41 2010 +0200
s4/torture: use time_mono for timeouts
commit 478ac36b9c4b655c013846ae5ec02c56cbc626d7
Author: Björn Jacke <bj at sernet.de>
Date: Fri Sep 10 20:25:19 2010 +0200
s4/torture: use time_mono for delta time
commit d4d34bddd7e8105124f0bfab810f51bd1b1ce76d
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 23:06:46 2010 +0200
s3-selftest: add print_test_extended (as called from RPC-PRINTER) to knownfail list.
Guenther
commit 07af8f2514c4fbc94487eb2234d4fc764481e06a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Sep 10 22:39:39 2010 +0200
s4:client/client.c - fix wrong return codes in "do_connect"
Detected by the Solaris cc compiler.
commit 9d4dc69627b709d134ad0b8850a777ae33aaa4e7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Sep 10 22:26:24 2010 +0200
s4:lib/policy/gp_filesys.c - remove dead code
Found out by Solaris cc
commit 55bc079b9ab24f583bf1ec66947e4bcb8a112794
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Sep 10 22:35:10 2010 +0200
s4:torture/locktest.c - add a cast in order to quiet a warning on Solaris cc
commit ace43d4ccd5e225bbefec7e9f3a3f64e07e3c99a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Sep 10 22:22:14 2010 +0200
s4:libcli/wrepl/winsrepl.c - add more "char *" casts in order to suppress Solaris warnings
commit 5c33ef2758d8e8d3978feef9056e79bce31c9d74
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Sep 10 22:22:14 2010 +0200
s3/s4:libcli/tstream - add more "char *" casts in order to suppress Solaris warnings
commit ece428f02c981eea4b8a0997fbe55d5ecf39c1a0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Sep 10 22:22:14 2010 +0200
s4:torture/ntp/ntp_signd.c - add more "char *" casts in order to suppress Solaris warnings
commit 68c9877796cec39441cd323f7123f513e57cdb7e
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 22:40:46 2010 +0200
s3-printing: fix non-ads build after prototype changes.
Guenther
commit aa00d331a606efc1750fe76debb16dd11f87e333
Author: Volker Lendecke <vl at samba.org>
Date: Fri Sep 10 14:34:19 2010 +0200
s3: Simplify generate_krb5_ccache slightly
strequal deals with a NULL string input just fine
commit e0750f2b8f371a7c84bc4bc9ba91bd4ebc47e580
Author: Jeremy Allison <jra at samba.org>
Date: Fri Sep 10 11:56:26 2010 -0700
Check all SMB_MALLOC returns correctly. Found by Andreas Moroder <andreas.moroder at gmx.net>.
Jeremy
(cherry picked from commit e8509589287ea04c6290dd127d3ef0c3e0b3f49d)
commit e8509589287ea04c6290dd127d3ef0c3e0b3f49d
Author: Jeremy Allison <jra at samba.org>
Date: Fri Sep 10 11:56:26 2010 -0700
Check all SMB_MALLOC returns correctly. Found by Andreas Moroder <andreas.moroder at gmx.net>.
Jeremy
commit 55598c4746f51f4a607c7b11e43ad56dcee22d87
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Sep 10 19:28:07 2010 +0200
s4:torture/rpc/winreg.c - hopefully this attempt fixes Solaris "cc" on the buildfarm
The Solaris "cc" incompatiblity on this codepart seems to be harder to fix than
it looks like.
commit 4fc1319db9b27f97da94e6b15a93b7c10d60fa17
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Sep 10 19:17:25 2010 +0200
s4:getncchanges_change_master - also in this call "i" needs to be unsigned
commit 8de2c15df32d44dfffbc3d0e9c9fd105f87c6886
Author: Volker Lendecke <vl at samba.org>
Date: Fri Sep 10 12:49:32 2010 +0200
s3: auth.krb5ccname and auth.unix_username are both fstrings
There's no point in checking for != NULL
commit d870915e361749121d10ffa29042118c393ed988
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 8 17:54:29 2010 +0200
s3:torture: fix printf output, lines can't start with lower case "test"
metze
(cherry picked from commit c91bdd2b0e02d31a1ea3a13a7f32a10e12c83fa8)
commit 2c6954c495c6e09a657fd07c911876913dc458e3
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 8 17:55:12 2010 +0200
s3:torture: fix run_uid_regression_test
metze
(cherry picked from commit a489fb3ee252a052ed6bc6033bf021b249dbecca)
commit cb7790f0153ceef5f07c039fc1bad2edd249c0d9
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 8 17:53:47 2010 +0200
s3-errormap: map ERRSRV/ERRbaduid to NT_STATUS_USER_SESSION_DELETED
metze
(cherry picked from commit cd8e2fd9fa2d2b0ef8c3c7189697577d46c2f848)
commit f101349c73a2c52f887cf1e3789fd42307b45297
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 8 17:56:33 2010 +0200
selftest/s3-selftest.sh: knownfailure filtering for non-build-farm make test
metze
commit c91bdd2b0e02d31a1ea3a13a7f32a10e12c83fa8
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 8 17:54:29 2010 +0200
s3:torture: fix printf output, lines can't start with lower case "test"
metze
commit a489fb3ee252a052ed6bc6033bf021b249dbecca
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 8 17:55:12 2010 +0200
s3:torture: fix run_uid_regression_test
metze
commit cd8e2fd9fa2d2b0ef8c3c7189697577d46c2f848
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 8 17:53:47 2010 +0200
s3-errormap: map ERRSRV/ERRbaduid to NT_STATUS_USER_SESSION_DELETED
metze
commit 88f96578cde4fa0b4aa18234a5c4c2f453fcc2c8
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Sep 8 17:53:47 2010 +0200
s4-errormap: map ERRSRV/ERRbaduid to NT_STATUS_USER_SESSION_DELETED
metze
commit 0ad2890c4e5a0249d45440f66b0ceae33c832328
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 10 06:36:02 2010 +0200
s4:provision: remember the setup directory if it wasn't the default
This fixes make test without a make install.
metze
commit bf7ca3f5e7e6f126fd8baec5548dfd45bc5e168f
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 16:55:23 2010 +0200
s3-spoolss: Fix _spoolss_GetPrinter().
In the error case, we need to TALLOC_FREE(r->out.info), don't ask :-)
Guenther
commit fc1a5dbffb1330bba0e4deebdf18b812ccc1a823
Author: Andreas Schneider <asn at samba.org>
Date: Fri Sep 10 16:06:24 2010 +0200
s3-spoolss: Don't leak memory on the session counter list.
Thanks Günther, please check.
commit ed2c06f9da0401fb95dcc16b4d3a3bd4f27b09f2
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 1 19:39:57 2010 -0400
s3-spoolss: Allow multiple client backchannels.
When we run spoolssd we need to support multiple clients connecting.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit a736385b9749fe127411348ff3e0d1cc4405e47f
Author: Simo Sorce <idra at samba.org>
Date: Wed Jun 30 18:35:29 2010 -0400
s3-spoolss: Split function to send notification.
More digestible this way.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 9db2be245e89e14f4c95037f67e7092f298a74f5
Author: Simo Sorce <idra at samba.org>
Date: Wed Jun 30 14:19:43 2010 -0400
s3-spoolss: Use a single structure for all the back channel data.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 433ac757dcac5841a47db3350865771a5d7301b2
Author: Simo Sorce <idra at samba.org>
Date: Wed Jun 30 15:32:15 2010 -0400
s3-spoolss: Rename Printer_entry to struct printer_handle.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 4a8d042afa41510b557e13b2aafcff611a137f28
Author: Simo Sorce <idra at samba.org>
Date: Wed Jun 30 15:11:41 2010 -0400
s3-spoolss: Move Printer_entry to srv_spoolss_nt.c
It is used only there, and it is a good idea to make this one private and
opaque to the rest of the code.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit e257e68b4bcd49c6401b0982e71f3f3085711750
Author: Simo Sorce <idra at samba.org>
Date: Wed Jun 30 12:19:41 2010 -0400
s3-spoolss: Allocate printer entries on the pipe struct.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 0e5b1a67d26f99ae6d6f5e05f968dd3107191791
Author: Simo Sorce <idra at samba.org>
Date: Wed Jun 30 12:07:44 2010 -0400
s3-spoolss: Rename session counter structure and use talloc.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit c59961dd814965e1dedd172b5e11c31310b80cc7
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 3 10:40:04 2008 +0100
s3-dsgetdcname: cleanup receive_getdc_response a little.
Guenther
commit 33fdf8dac2dfd843ea10e3703d65b903b253270e
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:51:32 2010 +0200
s3-build: use proper RPC_X_OBJ target names.
Guenther
commit 4577fb3163f3921dfea45ee96c041e549cc84255
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:49:49 2010 +0200
s3-waf: use proper RPC_X_SRC names.
This allows to build using waf without --enable-developer and should also fix
support for rpc server modules.
Guenther
commit 788bfc8a25849bccc963a4b948c1e5857f2d885c
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Fri Sep 10 13:44:20 2010 +0300
s4/fsmo: Change return type from NTSTATUS to WERROR for drepl_takeFSMOrole
This removed an unnecessary conversion of the return type in
drepl_take_FSMO_role.
commit 0ad22777ec44bf7eb35c2d9898ee1843ac308f76
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Fri Sep 10 09:00:56 2010 +0300
s4/fsmo: Fix callback declaration
commit 25dd9fae66f4dd65692b8161da499aaca104f434
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Sep 10 02:05:27 2010 +0300
s4-drs: return DRSUAPI_EXOP_ERR_SUCCESS in extended_ret
in case we are handling extended operation.
It seems that windows accept both DRSUAPI_EXOP_ERR_SUCCESS
and DRSUAPI_EXOP_ERR_NONE, but Samba is a little bit
more picky on this.
commit 611cd51096a8de8fdf43d0c9b639314bd7ebd2c2
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Sep 10 02:02:56 2010 +0300
s4-drs: Hanlde extended operations only once
Most of extended operations I know of work like:
1. do extended operation
2. collect a set of objects to return and start replication cycle
3. continue returning object as we have no more to give
This way we ensure we are doing 1. only once
commit d08439d42b4a04279e74bc3625cb672eb22007fe
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Sep 10 01:59:21 2010 +0300
s4-dreplsrv: fix 'dn' for partition object being created
commit 750300aedf0bd59b704e222f82ff1d114d2b5da7
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Sep 10 01:58:07 2010 +0300
s4-drs-fsmo: try to dispatch ops in queue as soon as possible
In most cases this will transfer of schema master role to
look like a synchronous operation.
commit 62b52748273b6d02d9acb3efe4956db4735b4322
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Wed Sep 8 10:25:54 2010 +0300
s4/fsmo: Added python tests for schema master transfer op
commit c34cae81fee5e3b68746f9da97496bf056ff9d55
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 9 16:16:05 2010 +1000
s4-fsmo: update FSMO changes for recent IRPC work
the IRPC API has changed
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ab01ce6e963b8251bdd3200bcfcf2a37068d3319
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Thu Aug 26 11:19:24 2010 +0300
s4/drs: update repsFrom only when we are not in getncchanges extended op
commit 36e663ad712c062805f6b17c45c2ae7fa5141dd9
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Aug 26 11:09:58 2010 +0300
s4-ldap: Added support for FSMO role transfer via LDAP by modify on rootDSE
GetNCChanges with the corresponding extended operation is initiated and added to
the queue when a modify request is received on becomeSchemaMaster, becomeRidMaster,
becomeNamingMaster, becomeInfrastructureMaster and becomePDC attributes in
rootDSE.
commit 5ba2858b0271feecf3f7bc5bee7577d0e181563d
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Aug 26 10:59:02 2010 +0300
s4-rpc: Added handling of fsmo role transfer to GetNCChanges
This adds support for DRSUAPI_EXOP_FSMO_REQ_ROLE, DRSUAPI_EXOP_FSMO_RID_REQ_ROLE
and DRSUAPI_EXOP_FSMO_REQ_PDC.
Developed in collaboration with Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
commit 0229ac455dbe3125d72c0371d03c592b460526f3
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Aug 25 00:26:28 2010 +0300
s4-irpc: Added internal rpc call DREPL_TAKEFSMOROLE
It schedules a getncchanges with extended op 6, to be used when a modify request on
becomeROLEMaster atteibute on rootDSE is received.
commit 657b7039c38e97af9dbacafb5ab7a5966f52eaea
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Aug 25 00:22:16 2010 +0300
s4-drs: Implementation of GetNCChanges extended op 6 - fsmo role transfer
Basically the candidate owner makes a getncchanges call with extended op 6 when they want to
become the new owner. The current owner then updates the corresponding fSMORoleOwner attribute
in its database with the new owner, and replicates the change to the candidate, who then becomes the
owner.
The patch was made in cooperation with Anatoliy Atanasov <anatoliy.atanasov at postpath.com> who
kindly helped to debug it.
commit c8794d2625e81b8c11dec7726a42e632854472af
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Aug 24 23:01:43 2010 +0300
s4-drs: Refactored drepl_service and send_ridalloc_request so that the structures can be used for other extended ops
commit a742649316f3a90b9c7ee326565dc804eb0481aa
Author: Björn Jacke <bj at sernet.de>
Date: Wed Sep 8 22:29:00 2010 +0200
s3: use time_mono throughout in smbget
commit 92d166025ec1944b80ba76c8e28275b7401798b7
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 7 01:04:10 2010 +0200
s3/ldap: use monotonic clock for timeouts in smbldap
tevent would need monotonic clock features to make also smbldap's idle handling
aware of backward clock jumps. Other areas in smbldap are clock jump save now.
commit 19a3633e6e279fcb26ec1595e1f9c2ca3c8b3330
Author: Björn Jacke <bj at sernet.de>
Date: Fri Sep 10 11:51:15 2010 +0200
s4/torture: use time_mono for deltas in lock test
commit 7b1efc7282ea0a2e2f7ba84c5c2bb3cd0c6f52c5
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:28:54 2010 +0200
s3-build: only link LIBNDR_XATTR_OBJ where needed.
Guenther
commit 32a1b21f1c65589a142919f85cf78ece169d3d92
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:28:38 2010 +0200
s3-waf: only link LIBNDR_XATTR_SRC where needed.
Guenther
commit a1392ee9a04765d849e1d297fb5f156ad169afd0
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:27:52 2010 +0200
s3-build: link ndr_notify only where needed.
Guenther
commit b15ac83bda4adbdfc7b7e04ad126cffd8d44efba
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:26:35 2010 +0200
s3-waf: link ndr_notify only where needed.
Guenther
commit ed239fc784299e6cfc4417101fdefbc413d6531c
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:24:28 2010 +0200
s3-build: link ndr_named_pipe_auth only where needed.
Guenther
commit f8b10a738c5da88a72fa969e217f6c72016d44b0
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 11:23:59 2010 +0200
s3-waf: link ndr_named_pipe_auth only where needed.
Guenther
commit 26ea51c7ab59f54f0b88f1367a0982404b9be18b
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 2 13:19:02 2010 +0200
s3-spoolss: allow a short printername w/o servername.
Verified with RPC-SPOOLSS-PRINTSERVER-enumprinters_old test.
Guenther
commit c0a7dbfc3466c57ff648bf3b22056755afac6746
Author: Jeremy Allison <jra at samba.org>
Date: Thu Sep 9 15:29:03 2010 -0700
Fox missing SMB_MALLOC return checks noticed by "Andreas Moroder <andreas.moroder at gmx.net>".
Jeremy.
(cherry picked from commit 718fd39f10310d10ebc2276021d97d48f1163a88)
commit bb6d76f708db53f9bbf52e2e28d8bfc4f9f108a7
Author: Jeremy Allison <jra at samba.org>
Date: Thu Sep 9 15:28:43 2010 -0700
More paranoia to ensure SD's can't be set on read-only shares.
Jeremy.
(cherry picked from commit e6b85c2a7b3cfa0dd3c9859c88e5462c616d5a2a)
commit 718fd39f10310d10ebc2276021d97d48f1163a88
Author: Jeremy Allison <jra at samba.org>
Date: Thu Sep 9 15:29:03 2010 -0700
Fox missing SMB_MALLOC return checks noticed by "Andreas Moroder <andreas.moroder at gmx.net>".
Jeremy.
commit e6b85c2a7b3cfa0dd3c9859c88e5462c616d5a2a
Author: Jeremy Allison <jra at samba.org>
Date: Thu Sep 9 15:28:43 2010 -0700
More paranoia to ensure SD's can't be set on read-only shares.
Jeremy.
commit 9962462278e250f4ad2aa068bb6afb8015270e81
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 2 13:39:12 2010 +0200
s3-selftest: rename printer "print4" to "lp".
This should trigger a false error condition in our code.
Guenther
commit cf76cf02995f6050fc71066366810b355d26d4b9
Author: Günther Deschner <gd at samba.org>
Date: Fri Sep 10 00:16:30 2010 +0200
s4-smbtorture: add spoolss_OpenPrinter with unc and printername in RPC-SPOOLSS-PRINTSERVER.
Guenther
commit 0ef98b351355cfcb75e29b401a98a71a9fa6cdde
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 9 16:57:01 2010 +0200
s3: Fix messsssages
commit 7277c9e5ade72164b4fe72accb07860454b66a99
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 9 16:57:01 2010 +0200
s3: Fix messsssages
commit 48650719294d6856597e94e30059c19ec5ff29c1
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 9 16:25:09 2010 +0200
s3: Ensure NULL termination for "workstation" in auth_crap
commit 789a16298945a7c728c419d8466f8fa9447f5dc2
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 9 16:25:09 2010 +0200
s3: Ensure NULL termination for "workstation" in auth_crap
commit 9f4c1a2a7b9c94df821413acb4fb61327e605f7f
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 9 23:13:33 2010 +0200
s3-nmbd: use NETLOGON_NT_VERSION_1 in LOGON_PRIMARY_RESPONSE.
Guenther
commit 18962ea3852d0d0fc7371e99813bebd54fae0a19
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 9 16:02:38 2010 +0200
s3: These assignments are overwritten immediately
Dump them
commit 71b95703f99d2a5b71c8d31abf04e2a05336afb8
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 8 18:55:27 2010 +0200
s3-nmbd: use autogenerated marshalling for LOGON_SAM_LOGON_REQUEST.
Guenther
commit 36d7efa75a799522b8ac5995509573d667213799
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 9 13:16:21 2010 +0200
s3-nmbd: use autogenerated marshalling for LOGON_PRIMARY_QUERY.
Couldn't find any reproducer for a short request, so removing it for now.
Guenther
commit bfda968e0776dfc95e761ffd3a91f72702286fee
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 9 22:39:05 2010 +0200
s3-nmbd: use autogenerated marshalling for LOGON_REQUEST.
Guenther
commit f002b7fa1b4162e691abb68eb95eee2a809faaf5
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 9 22:38:37 2010 +0200
s3-nmbd: handle source_name in one location in nmbd_process_logon().
Guenther
commit 5fc7d14b064d83b40c65a8c41ea05a9b43af6f5d
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 7 11:41:05 2010 +0200
s3-nmbd: use nbt_netlogon_packet in process_logon_packet().
Guenther
commit fe30e359670d67e9a8b8ccd22d4eb6d363f88827
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 8 11:58:04 2010 +0200
libcli/netlogon: add LOGON_REQUEST handling to pull_nbt_netlogon_response().
Guenther
commit 9a1dbe04a8f1a7cbd0352504990c9240fdd22dae
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 8 18:59:19 2010 +0200
libcli/netlogon: add LOGON_RESPONSE2 to pull_nbt_netlogon_response().
Guenther
commit daa948df2bf23f15bcdb4df170306ef71d952e7c
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 7 22:41:44 2010 +0200
libcli/netlogon: add NETLOGON_RESPONSE2 to push_nbt_netlogon_response().
Guenther
commit c82bcef16d386c846410dbe2e79f9fad619fc4ea
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Sep 9 21:29:21 2010 +0200
s4:client/cifsdd.c - restore Solaris cc compatibility
"static const struct"s need to be global in order to work with Solaris cc.
commit ad25264dd7c815449ee361d342fd3b7e74f8d0bb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Sep 9 21:26:43 2010 +0200
s4:torture/rpc/winreg.c - restore Solaris cc compatibility
"static const struct"s need to be global in order to work with Solaris cc.
commit 59559bd02fb2dfaf19c0b4b86f5443115dd17f38
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Sep 9 20:31:38 2010 +0200
s4:libcli/security/*.c - fix some wrong typed counters
According to "librpc/gen_ndr/security.h" they need to be "uint32_t".
commit 4f5dd3f93b96429baa85ec3ef730ea4bdc2b7945
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Sep 9 01:43:01 2010 +0300
s4-dreplsrv: Do allocations on long-living context so that callback gets called
commit 118df599ce139d72f77692415ab38efaebf0245c
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Sep 9 00:55:51 2010 +0300
s4-drs-test: Add 'reset' and 'replace' tests for drsuapi_DsReplicaUpdateRefs
At first I got the impression we are not handling those cases,
but after those tests surprisingly passed I saw that
we have correct behavior implemented in a helper function.
So I decided to commit those tests in case someone change the
strange-looking check for DRSUAPI_DRS_ADD_REF flag in
a function that handles delete operation :)
commit 3593298c7e095b0935bffe05e3b1e190abf91707
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 8 01:07:44 2010 +0300
s4-dreplsrv: Call dreplsrv_out_operation::callback in case we fail to even run the operation
Operation was scheduled already, so we need to call
the callback function for it to be able to do its job.
For instance, if we are blocking an rpc call until an
operation is completed and there is no memory, then
client will be blocked without knowing what is going on
with the server.
commit 7ee34182dffdf497bdad5a1e155bc2ca80d71111
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Sep 7 22:24:24 2010 +0300
s4-dsdb/repl/drepl_out_pull.c: Remove unused code
commit ef56945d0e33aebb089789906b9d037852c9b028
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Sep 7 22:18:53 2010 +0300
s4-drepl_service.c: Update (C)
and remove few trailing white spaces
commit 3fa3bc7ebaa2f8a5bacb7766329e89ab4e36f644
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Sep 7 21:22:47 2010 +0300
s4-drepsrv: Dump more info when drepl_replica_sync() fails
There are many spots where this function may fail
and I find it very useful to know where exactly function
fails and what are the input parameters during testing.
REPLICA_SYNC_FAIL() macro now dumps an error message
so we may remove extra DEBUG() dump in implementation.
commit 81e97c09c366b6b51ef2229789c8d223f812a6d0
Author: Andreas Schneider <asn at samba.org>
Date: Thu Sep 9 16:39:33 2010 +0200
s3-printing: Make missing auth_serversupplied_info const.
commit 59c14282eb54a60a2b889585c3aeb280742ac14a
Author: Andreas Schneider <asn at cynapses.org>
Date: Thu Sep 9 11:22:06 2010 +0200
s3-spoolss: Use systerm server_info for winreg connection.
This will ensure that we have the rights we need to access the regsitry.
commit 1c42bc3ad48c9019a62f556ff2841df5f5f832d9
Author: Andreas Schneider <asn at cynapses.org>
Date: Thu Sep 9 11:21:43 2010 +0200
s3-spoolss: Make auth_serversupplied_info const.
commit bbf2cd50b04a026750aa5518b590994ba0b4afc5
Author: Andreas Schneider <asn at cynapses.org>
Date: Thu Sep 9 11:32:03 2010 +0200
s3-printing: Make auth_serversupplied_info const.
commit 021539570b4beac81d22edd60c0cf026f2628479
Author: Andreas Schneider <asn at cynapses.org>
Date: Thu Sep 9 11:37:49 2010 +0200
s3-msdfs: Make auth_serversupplied_info const.
commit 0d9fa9e96fd85fab6b51a590612ad2385617f972
Author: Andreas Schneider <asn at cynapses.org>
Date: Thu Sep 9 11:35:50 2010 +0200
s3-rpcint: Make auth_serversupplied_info const.
commit 669213e812340896d5fa5dbfb7e3180255af297a
Author: Andreas Schneider <asn at cynapses.org>
Date: Thu Sep 9 11:00:18 2010 +0200
s3-auth: Added get_server_info_system function.
commit cd2b9db04b7a27a36b68c7eb846aec68830566ef
Author: Andreas Schneider <asn at samba.org>
Date: Wed Sep 8 19:39:36 2010 +0200
s3-spoolss: Fixed some build warnings.
commit 3d420ea2bb3259525a50964bf70b1956cf62d4c1
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 9 21:38:01 2010 +1000
s4-rodc: cope with missing searchFlags
this can be missing after the schema tests
commit b2ea0ca3d6280902135942f61cd3f28daecf77c1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Sep 9 15:20:48 2010 +1000
s4-dsdb Change debug levels for startup messages
We should make the 'common' error not show up, but the unusal case fatal.
Andrew Bartlett
commit 22d5a9655042a09a425954d5ec54af55fb6111a4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Sep 9 14:58:06 2010 +1000
s4-setup Make krb5.conf use DNS by default
We set up our DNS pretty well these days, and I think the previous setting
was only there because Andrew Kroeger copied this out of our selftest code
in bf3f3af92677bce8f03b0dd2be552d6c8c730ca1.
Andrew Bartlett
commit 977db514b3c615393182154b4273beeb4ad911fe
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 9 18:06:33 2010 +1000
s4-test: added a RODC test using rpcecho
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6bfe8b74aa751fbd48f1f9c60a5617e81e3b304e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 9 18:02:31 2010 +1000
s4-test: added a RODC to our testing
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit b9c0b59034726f1114fb8696a3be012b6fd3a622
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 9 18:02:08 2010 +1000
s4-rodc: get the domain name from the partitions DN
don't rely on the netbios domain name being the first part of the
realm
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c95c3863dfec8e0160ff3bb217c6922666feed05
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 9 17:59:40 2010 +1000
pyldb: expose PyLdbDn_FromDn()
This is needed by the dsdb python interface
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c44bdbc01d53efcccb725600764b981216b1ff10
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 9 17:35:14 2010 +1000
s4-provision: fixed error format string
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 54e86d881d2955bae49bd87fe08e74bbfc86fd0e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 9 17:34:55 2010 +1000
s4-pydsdb: expose samdb_partitions_dn() as get_partitions_dn() in python
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 650dcda2a2c59657b11052ebef622c351c4db477
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 7 15:25:45 2010 +1000
s4-rodc: s->schema need initialisation
this fixes a segfault in net rodc preload
commit a4d23ed66ff32b5a9dc00ea82036436df0e97505
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 9 11:10:01 2010 +0200
lib/util: remove some unused_result warnings.
Guenther
commit f1aa9ebb08d617f4eeeebed70af202764f40ee90
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 9 11:09:35 2010 +0200
s3-utils: remove unused variable in smbget.
Guenther
commit eedf476c248319efa2fcf552dc330b10423a1bb0
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 8 19:12:21 2010 -0700
s3: Remove "mem_ctx" from a few functions
commit eaf778593f7e56774913ec4348b1c59a9488676c
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 8 19:09:21 2010 -0700
s3: Remove "mem_ctx" from wcache_save_creds()
commit d38e1d13eab1a8d8aa8c660a40f6803aa62c3d68
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 8 19:03:15 2010 -0700
s3: Remove "mem_ctx" from lookup_cached_name()
commit c7d6e6f57174a684c5b84b31993b1d92311d4b80
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 8 19:01:11 2010 -0700
s3: Remove a nested if-statement
commit 6f1916524bb1f7d38130ba273e3bebe0c93f3a74
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 8 18:09:07 2010 -0700
s3: Fill in workstation in winbindd_pam_auth_crap_send
commit f50687153861efcbac2cbd281ab24141ea83167b
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 8 18:07:31 2010 -0700
s3: Fill in domain in winbindd_pam_auth_crap_send
commit c2048db59d52051c045386a0075a11aea2f5bef7
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 8 17:56:55 2010 -0700
s3: Remove redundant flag checks
We're checking these in the parent already (winbindd_pam_auth_send and
winbindd_pam_auth_crap_send). No point in doing it in the child as well
commit 4e4228bd5d970350516162cc716ec2e083ead56f
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 8 16:58:21 2010 -0700
s3: Remove unused arg "user_sid" from winbindd_store_creds
All callers have passed in NULL
commit 7372a50a0333b362745c89b7f0c17f77db156dec
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 8 16:54:50 2010 -0700
s3: Remove unused winbindd_update_creds_by_sid
commit a0de3fc690d30a8fd4b0ebc1bc35670a8ba3109d
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 8 10:04:53 2010 -0700
s3: Remove unused winbindd_dual_show_sequence()
commit b438cee11949bd73a6a68375a33b8178ed9c7e77
Author: Jeremy Allison <jra at samba.org>
Date: Wed Sep 8 20:54:38 2010 -0700
Don't rely on the underlying ACL modules to enforce share level
security when setting ACLs, check at the call level as well.
Jeremy.
(cherry picked from commit bec9baf88a54d0e0d3fe1065c27df0f76c960e65)
commit bec9baf88a54d0e0d3fe1065c27df0f76c960e65
Author: Jeremy Allison <jra at samba.org>
Date: Wed Sep 8 20:54:38 2010 -0700
Don't rely on the underlying ACL modules to enforce share level
security when setting ACLs, check at the call level as well.
Jeremy.
commit be16d264b134b930b7be7951d5cdb434584b06df
Author: Jeremy Allison <jra at samba.org>
Date: Wed Sep 8 16:55:24 2010 -0700
Optimization suggested by Metze. Without this patch,
FindFirst with 'path\to\some\dir\with\files\*'
triggers the following stat calls
path\to\some\dir\with\files\* => ENOENT
path\
path\to\
path\to\some\
path\to\some\dir\
path\to\some\dir\with\
path\to\some\dir\with\files\
path\to\some\dir\with\files\* => ENOENT
With this patch we get :
path\to\some\dir\with\files\* => ENOENT
path\to\some\dir\with\files = OK
Jeremy.
(cherry picked from commit fcac46a61245e6b05f88ed80ec4b554ffd55dc63)
commit fcac46a61245e6b05f88ed80ec4b554ffd55dc63
Author: Jeremy Allison <jra at samba.org>
Date: Wed Sep 8 16:55:24 2010 -0700
Optimization suggested by Metze. Without this patch,
FindFirst with 'path\to\some\dir\with\files\*'
triggers the following stat calls
path\to\some\dir\with\files\* => ENOENT
path\
path\to\
path\to\some\
path\to\some\dir\
path\to\some\dir\with\
path\to\some\dir\with\files\
path\to\some\dir\with\files\* => ENOENT
With this patch we get :
path\to\some\dir\with\files\* => ENOENT
path\to\some\dir\with\files = OK
Jeremy.
commit f6ec47c8be72934fa4957f57947e8784acc5bf0b
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 8 15:29:32 2010 +0200
s3: "== false" looks wrong :-)
(cherry picked from commit 4f0b190a3086db3789e4198f5409a2b5c1980bf9)
commit 4f0b190a3086db3789e4198f5409a2b5c1980bf9
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 8 15:29:32 2010 +0200
s3: "== false" looks wrong :-)
commit 0ee8aa5c5dd92a58db0c58159a24d07684432f0e
Author: Jeremy Allison <jra at samba.org>
Date: Wed Sep 8 15:13:45 2010 -0700
Fix warnings caused by double ";;" at the end of the time_mono() fixes.
commit 3fb5aba9cf59198dea3b43754dbe6b3ffb3ea474
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 8 23:23:09 2010 +0200
s4-waf: fix bin/python/samba/dcerpc/nbt.so.
Thanks to Brad Hards for pointing this out.
Guenther
commit 8140182f3d53019702f49330a40ffa9d47d8d3df
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 8 22:45:12 2010 +0200
wafsamba: Eliminate sys.path updating if installing to a standard python
path.
commit b4b453a287781eba7adaa3c38bd174642a5cb651
Author: Björn Jacke <bj at sernet.de>
Date: Wed Sep 8 22:29:00 2010 +0200
s3: use time_mono throughout in smbget
commit 1b5cdd76b76a98e464f352c1d44be3ea0b279c87
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 7 01:04:10 2010 +0200
s3/ldap: use monotonic clock for timeouts in smbldap
tevent would need monotonic clock features to make also smbldap's idle handling
aware of backward clock jumps. Other areas in smbldap are clock jump save now.
commit 3c58fb27b0deb4971a77e8aa5ba74d984b81ab7c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 8 22:11:55 2010 +0200
setup: Use standard octal ints rather than harcoding.
commit 17e96d8194c1d1ded747f11ffe93ff9eaa0d4266
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Sep 8 22:11:23 2010 +0200
popt_common: Add missing dependency on libsamba-hostconfig.
commit 4ab62fdc3612d41b83ee80d3661a3a84e786f891
Author: Jeremy Allison <jra at samba.org>
Date: Wed Sep 8 13:03:21 2010 -0700
Oops. Fix the build after the last commit. Sorry.
commit 5e331da6afd5c65f2b29958b75aca4c5be2c5341
Author: Andreas Schneider <asn at samba.org>
Date: Mon Sep 6 16:07:24 2010 +0200
s3-spoolss: Fixed a possible crash bug.
(cherry picked from commit 80eba8143802dec1cad6debd85df3ab5ff47c83e)
commit e2b63996e851b9621d287ad9d853930ecbc39d7f
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 8 12:07:42 2010 +0200
s3: Make winbind_add_failed_connection_entry static
commit 3928565bc97a7c03305c7fd58fbd41be68940f24
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 8 20:59:46 2010 +0200
s3: Fix a typo
commit 81ece84b789c64243db1661df6c9fa590d19490f
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 8 11:18:40 2010 +0200
s4-smbtorture: add torture ndr nbt testsuite.
Guenther
commit 1217809c465a35b0a2727111d820007097b2b611
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 7 22:41:06 2010 +0200
nbt: add nbt_netlogon_response2 to IDL.
Guenther
commit 8f8ff8bb29cb6f07ddcb310a089b695dbe176b34
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 7 13:16:27 2010 +0200
nbt: add NETLOGON_LOGON_REQUEST.
Guenther
commit 778950ca9322700c10c92b411873309398aa8dd1
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 8 11:19:48 2010 +0200
nbt: add decode_nbt_netlogon_packet() to IDL.
Guenther
commit 958df10a44f1370ab46f8ed571e6927e1e182d87
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 7 11:50:39 2010 +0200
s3-nmbd: fix indentation in process_logon_packet().
purely cosmetic, no code change.
Guenther
commit ed68eb768b59835b96099d3073a5aa8b1da0e082
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 8 19:01:10 2010 +0200
s3-nmbd: remove trailing whitespace in nmbd_processlogon.c
Guenther
commit 7c99b9e46631bc26234a9a33355b68a89b32d18f
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 8 10:05:39 2010 -0700
s3: Prune the printername cache when a printer is deleted
(back port of commit 7612760c2226bc43c68f1a7e3b2985d0a22bf277
from master).
commit 32e95772f9e6e6538da7eefa388e015be17af0e8
Author: Andreas Schneider <asn at samba.org>
Date: Wed Sep 1 18:00:44 2010 +0200
s3-spoolss: Move spoolss winreg to new dcerpc client funtions.
commit 2226347182322c845ca382142299ad9d1bf49abd
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 7 17:38:24 2010 -0700
s3: Simplify cm_connect_sam a bit
commit bcad45ed432b67715cb08f6555f218472f3977eb
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 7 17:37:13 2010 -0700
s3: Check for sid instead of name in cm_connect_sam
commit 80eba8143802dec1cad6debd85df3ab5ff47c83e
Author: Andreas Schneider <asn at samba.org>
Date: Mon Sep 6 16:07:24 2010 +0200
s3-spoolss: Fixed a possible crash bug.
commit 77b9b979668d5cbe38d3073f5d7ca26d03bf33b9
Author: Volker Lendecke <vl at samba.org>
Date: Tue Sep 7 16:54:31 2010 -0700
s3: Remove a superfluous ;
commit 9234d105d4c2cdaa38a3555f34b2a81a413ab171
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 7 02:15:09 2010 +0200
s3/libads: use monotonic clock for ldap connection timeouts
commit 392702b82d76b0a3871eb33e4a01b5480f895b6d
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 7 03:29:19 2010 +0200
s3: use monotonic clock for aio timeout
commit 4c31ca5b5c72e533525ca355be93047c7901720a
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 7 03:05:35 2010 +0200
s3/nmbd: tidy up debug message: ttl isn't a hex value
commit 4c7dd759985647c6990040e1bfb6fa9f55ef0723
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 7 01:54:01 2010 +0200
s3/libads: use monotonic clock for DNS timeouts
commit 95afa4f0d11c7a6fe6b4b6cb271665cc26dfafc9
Author: Björn Jacke <bj at sernet.de>
Date: Mon Sep 6 20:27:24 2010 +0200
lib/util: add time_mono() for monotonic time a la time()
commit 5b016dbab852cd443c8f9049acb94a113de227e1
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 7 02:15:09 2010 +0200
s3/libads: use monotonic clock for ldap connection timeouts
commit f69085e5ff525d534f66c6163aacb8c320a484bc
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 7 03:29:19 2010 +0200
s3: use monotonic clock for aio timeout
commit 8833adb04ffeb21848b56bb6606ca2982ccca1e4
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 7 03:05:35 2010 +0200
s3/nmbd: tidy up debug message: ttl isn't a hex value
commit a63822f5d22e14315099050166c64826f69b46c9
Author: Björn Jacke <bj at sernet.de>
Date: Tue Sep 7 01:54:01 2010 +0200
s3/libads: use monotonic clock for DNS timeouts
commit b428952eefd250d6d4ce77ad89325e9803940d11
Author: Björn Jacke <bj at sernet.de>
Date: Mon Sep 6 20:27:24 2010 +0200
lib/util: add time_mono() for monotonic time a la time()
commit e64e3985688e57a882e0e128b256ec5f84c6f67a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Sep 7 17:00:20 2010 +0300
s4-dreplsrv: Run NC replication synchronously if requested
commit 3f109f8fd7bdd2cc691beb78463fba7a469e2a3d
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Sep 6 14:33:14 2010 +0300
s4-drs: Dump exact error when failure occurs during DsReplicaUpdateRefs call
commit 7612760c2226bc43c68f1a7e3b2985d0a22bf277
Author: Volker Lendecke <vl at samba.org>
Date: Mon Sep 6 20:58:45 2010 -0700
s3: Prune the printername cache when a printer is deleted
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 7ca69f7462f741860d514a78e3198db634db2a6b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 7 14:33:20 2010 +1000
librpc: bitten by the strncasecmp define again
commit 2d77c766faabbc0790427f4c49555d4049efdb3b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 7 13:45:46 2010 +1000
waf-abi: fixed small uninitialised data on PPC64
on PPC64 Linux systems a 'S' line from nm means "small object
uninitialised data"
commit 73c3932b2d0dac784a0605abf6e532dba5514a01
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 7 11:57:44 2010 +1000
s4-ldapserver: serialise ldap server operations
This ensures that two ldap server operations cannot happen in parallel
by using packet_recv_disable() and packet_recv_enable() to disable
other interfaces during ldap calls.
This prevents problems caused by parallel ldap operations where
transactions could overlap.
commit a8bac4a09a4a81c280c62fb4dcdbd0e61c782479
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 7 11:55:47 2010 +1000
s4-packet: make packet_recv_disable() a lot more efficient
this avoids doing an epoll system call when we want to prevent receipt
of packets on a socket, unless there actually is a packet to receive.
commit cad0219e69d2acc766583083c0738c2b9ea3901f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Sep 7 11:25:42 2010 +1000
s4-process: fixed the thread process model so it compiles
it doesn't actually work, but at least it now compiles
commit e5e5a1110fb4092a1221512627b1f9d03ec8839c
Author: Julien Kerihuel <j.kerihuel at openchange.org>
Date: Fri Aug 27 14:04:07 2010 +0200
Add unique IP address binding for client connections (EPM and ncacn_ip_tcp levels)
This allows for binding strings like this:
ncacn_ip_tcp:host[localaddress=192.168.2.1,seal]
which will force the connection to be locally bound to the specified
IP address
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 7f2b1cdb7445de6008cc8c2b77091c5f5c9f9429
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 23:25:00 2010 +0200
s3-proto: remove obsolete prototypes.
Guenther
(cherry picked from commit 338184fb3a3869f81ead82dcc477c87d858334d3)
commit 0a5cb45294bde212c32712f115cd7e2a568a9046
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 16 12:22:27 2010 +0200
s3-selftest: add samba3.posix_s3.rpc.spoolss.notify to knownfail list.
Guenther
(cherry picked from commit f03ac22770ef96d4b0fec81d94efefcddd8b310b)
commit 03e6b426bf2caf1b8c2cb4f3247618ecbe5929f4
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 15:49:17 2010 +0200
s3-selftest: do not remove nsswrapper environment when running smbtorture4.
Guenther
(cherry picked from commit 433c08045ee96ca2e507cdec47bf9ef1dd95540e)
commit 707efe3176b397cc039cdf162d74d1f681e164ec
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 31 14:27:56 2010 +0200
s3-libads: avoid crashing in ads_keytab_list().
Heimdal's krb5_kt_start_seq_get() will leave a non 0 fd in the krb5_kt_cursor
struct when it cannot find a given keytab.
Guenther
(cherry picked from commit bf3912be46b2cac71a1ff89f548b9e3528872c6c)
commit 2f23c04e3c712b0ab37dc868b07b6214255daa31
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 31 16:58:54 2010 +0200
s3-printing: add debug to get_correct_cversion().
Guenther
(cherry picked from commit 16c2d9182d0c0ff55eba4d8bce2931b579b00339)
commit 0919b4a37c5b8fb593c892604821f1865662d524
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 31 16:58:23 2010 +0200
winreg: add winreg_RestoreKeyFlags to IDL.
Guenther
(cherry picked from commit e5c7ec66982e6d2705c7a103aff5502f441404bb)
commit 04fe16d68fc24e5e4d87585ee2daee883ef43390
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 2 13:41:08 2010 +0200
s3-spoolss: fix some debug statements.
Guenther
(cherry picked from commit cf728f890f6d2cd8cc831ba95a5d2d0dac6e8e35)
commit 7d8563609ab4bc72f102d49b34527342684fc1de
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 18:25:54 2010 +0200
s3-build: remove unrequired ntlmssp forward declaration.
Guenther
(cherry picked from commit d9a76054318eb2fbe2bb539d6091379814f16b0e)
commit 563e5f9b4ae4f2d300f3b0faff93c1bd1e297a91
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 18:13:42 2010 +0200
s3-idmap: only include idmap headers where needed.
Guenther
(cherry picked from commit 2b41f421fd14cb2190b43dbf079c734e7024335c)
commit d2d922d90d3b38fbc17805bf8ae46c0dd992ea8b
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 16:51:06 2010 +0200
s3-build: no point in including doserr.h, noone uses them.
Guenther
(cherry picked from commit 3ef531ec34dc709479005b00f50d1daf8e65269a)
commit 23dd6294f1881d738c3726d5572b278c3d441310
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 15:22:09 2010 +0200
s3-nmbd: move nmbd proto out of main proto.h
Guenther
(cherry picked from commit c2177909187ad104d5d2e13bad0f45fb97d121e2)
commit 048e6cfab3222074d6d1984b78ec151668c31f51
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 12:42:49 2010 +0200
s3-build: only include nsswitch header where needed.
Guenther
(cherry picked from commit 7ff7eb0b5299f90a313986bfc547f48ef9f8dc9c)
commit c62e2e70fde577c2c9f2b62eeb732bade5a6661c
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 12:26:53 2010 +0200
s3-build: remove unrequired forward declaration for struct printjob.
Guenther
(cherry picked from commit 08eff4d311ef3dd4973645e28a7669db4c383cad)
commit 6d90ea7257b81fca3b14bc62d36693673f8ce615
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 12:24:35 2010 +0200
s3-build: only include memcache.h where needed.
Guenther
(cherry picked from commit aba1bf4b5e1bf82f769c3c545578414202c74106)
commit 8fd84de02e9d60a3842891947ebf6a2eefdfa46d
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 19 23:15:22 2010 +0200
s3-lsa: separate out init_lsa headers.
Guenther
(cherry picked from commit e978a3d3f4974753f09fbafdd0cf3ad15209911f)
commit 22efd46c1e1293bde8b73e5c1ca5f1a4b3d0d870
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 17 15:03:58 2010 +0200
s3-build: only include smb_signing.h where needed.
Guenther
(cherry picked from commit 59289d4fa9e5f6f2ff6abd13e8f07ca6ee3e2a3c)
commit 35aed17b2651bc6dd9be415f8b8060357ee78ecb
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Sep 5 23:28:06 2010 +0300
s4-test: refactor API-DELETEUSER test a little to:
- fail torture_context in case libnet_DeleteUser() has failed
- make use of torture_assert_* macros to track down where failur occured
- use only one memory context internally
commit dea5c7b9486f7d4cbefd563a4e366c2fb3ccbf8f
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Sep 5 22:54:05 2010 +0300
s4-idl: redefine dreplsrv_refresh() to be alike other RPC function definitions
Sorry for the 'custom' definition first time
commit cf616ec316f9ee24d1fb8aacdf512f354fa4f656
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Sep 5 20:16:50 2010 +0200
wafsamba: Create bin/defaukt/modules if it does not yet exist.
commit 61e537cf50ef60176c65c3a73d9a2f55c54e01e0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Sep 5 18:00:44 2010 +0200
waf: Use os.makedirs rather than os.mkdir in case parent directories
don't exist yet.
commit 84baef55cd486e72226211456e23636aa3de45da
Author: Volker Lendecke <vl at samba.org>
Date: Sun Sep 5 16:27:43 2010 +0200
s3: On Solaris, iov_len is an int
We can't use &iov.iov_len passing it to a size_t *
commit df194692952cb495fe1bc68b01965ff4b9bd2843
Author: Volker Lendecke <vl at samba.org>
Date: Sun Sep 5 16:27:43 2010 +0200
s3: On Solaris, iov_len is an int
We can't use &iov.iov_len passing it to a size_t *
commit 49321571ea592be2307eef101cc783f883aa2503
Author: Matthieu Patou <mat at matws.net>
Date: Sun Sep 5 03:00:05 2010 +0400
upgradeprovision: avoid working with None objects ...
commit b1535582100a551cedc245f12cf63a1340985bdd
Author: Matthieu Patou <mat at matws.net>
Date: Sun Sep 5 02:59:20 2010 +0400
upgradeprovision: do not try to remove/change attribute before the RID Set object is present
commit 13d575d6e320961153d7071bc4f9b5cccdfb71b6
Author: Matthieu Patou <mat at matws.net>
Date: Sun Sep 5 02:58:31 2010 +0400
upgradeprovision: cleanup
commit 1d0815281e41cb1ca2cf72a3dba28a9ca75fb65d
Author: Matthieu Patou <mat at matws.net>
Date: Sat Aug 14 20:44:35 2010 +0400
s4 upgradeprovision: add dns_update_list if missing
commit e2d575ee8099bb31e3bc926cf6730a3ca77e69ef
Author: Matthieu Patou <mat at matws.net>
Date: Sun Sep 5 02:57:16 2010 +0400
python-ldb: allow ldb_rename to take optional control(s)
commit 42dfa71ef5d08b500e911e2ba54dba0b1b4a4599
Author: Matthieu Patou <mat at matws.net>
Date: Sun Sep 5 02:56:30 2010 +0400
dsdb: make the ATTRIBUTE NOT FOUND more clear
commit e4d1bdbe5505d63f7cd5b8cc7f07a11f9361f93b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Sep 5 04:33:29 2010 +0200
s4/selftest: Fix path to include/config.h, set BUILDDIR automatically.
commit 851ad13047b7abe6cd0666c74984ddff37e5e096
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Sep 5 03:16:48 2010 +0200
selftest: Cope with parentheses in testnames in --load-list.
commit 474c98fe263455f97f764195d44fb7b7406748b0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Sep 5 03:14:44 2010 +0200
selftest/subunit: Parse timestamps generated by upstream subunit.
commit ef9657017cf082bd49ed81f3df85a0fb1786f715
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Sep 5 02:20:56 2010 +0200
selftest: Print out unmatched tests when using --load-list.
commit 3c250677245e89ce0062db1758c855b051ddef77
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Sep 5 00:58:41 2010 +0200
dsgetinfo: Set modulesdir when using ldb without ldb_wrap
(Is there a particular reason we're not using ldb_wrap here?)
commit 6185fb4e9e3d3e654ad9f6325da0f4886013dda6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Sep 4 23:05:16 2010 +0200
dnspython: Update to latest upstream.
commit 5de2ec0def3e4ad0ead20b426e81509fd8e48c6d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Sep 4 23:04:28 2010 +0200
subunit: Import latest upstream.
commit ed4253504167748c0bb829176d41c09365937189
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Sep 4 23:04:07 2010 +0200
testtools: Import latest upstream.
commit 955076530425b2c37c7ad545f9a596e8daca0321
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Sep 4 21:13:37 2010 +0200
testr: Fix configuration to use idfile, in case more than a couple of
hundred tests fail.
commit bde18c6218fa6b593ff4f3db8bcd2f83e9b661aa
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Sep 4 21:08:35 2010 +0200
selftest: Don't make printing the log output a side-effect of check_env(), do it manually.
commit 3c2b733698507e33716a2f837d6b58c34bea9b78
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Sep 4 18:24:02 2010 +0200
selftest: Remove stop() method, not used anywhere.
commit 7154e93b21b0d6dcc578548e203a08b77c21d972
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Sep 4 18:18:55 2010 +0200
selftest/samba4: Remove references to Samba34.pm, which no longer
exists.
commit 025494b6bd8c266d0df0f23cbb50db048df9697b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Sep 4 18:03:19 2010 +0200
selftest: Refer to subunit README rather than documenting locally.
commit 261d9aaff0ff45e7fdd7e3140fc0e86997490b28
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Sep 4 17:59:48 2010 +0200
ldb: Add missing aliases for ldb_ildap.
commit 72f3727464ff0f1116546a6eb61cdb8ee6872003
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Sep 4 03:42:52 2010 +0200
dsdb: Add missing dependencies for dsdb ldb modules.
commit 84c1874677b27e76f2acb3640b867aaebbb9b343
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Sep 4 03:42:37 2010 +0200
waf: Support aliases in SAMBA_MODULE.
commit 1ba533f4cb7a7274a3c49dd69a30e20f579738a2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Sep 4 02:18:31 2010 +0200
waf: Make shared modules available in the build dir.
commit 54d2dce7b15579cc4daaad07a9e0344ef4fc17f7
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 19:57:02 2010 +0200
librpc/rpc: add dcerpc_binding_handle_set_timeout()
metze
commit 1df9fe81f52deebc23f762c80c974ca772553b21
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 20:05:39 2010 +0200
s3:rpc_server: implement rpcint_bh_set_timeout() as dummy
metze
commit d5355dda819e0dc6c75678f4756becef94715ffa
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 20:05:08 2010 +0200
s3:winbindd: implement wbint_bh_set_timeout() as dummy
metze
commit a510b9de39bfc970084ab77d94f67d6bec5c4923
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 19:59:15 2010 +0200
s3:rpc_client: implement rpccli_bh_set_timeout()
metze
commit 0879571897c0c0485890119768a4dad860ee88b0
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 19:52:59 2010 +0200
s4:lib/messaging: implement irpc_bh_set_timeout
metze
commit 99a26edcb37cfce19a1221f518e6c57e55120682
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 19:52:20 2010 +0200
s4:librpc/rpc: implement dcerpc_bh_set_timeout()
metze
commit 27918981de05edf0d07bdb4adc75701b29c957d3
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 19:51:58 2010 +0200
librpc/rpc: add set_timeout() to dcerpc_binding_handle_ops
metze
commit 2907310803a3168582fa0d7ffb5c357e89723434
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 19:28:00 2010 +0200
s3:rpc_server: make it possible to use rpcint_binding_handle() directly
metze
commit 389d35708ea910e68468648396f405e52907c749
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 2 18:41:45 2010 +1000
torture-lsa: cope with STATUS_SOME_UNMAPPED errors
Now that we support SePrintOperatorPrivilege, an interaction between
the spoolss tests and the privileges tests cause a failure. The
failure happens like this:
- the spoolss.access test creates and then deletes an account with
SePrintOperatorPrivilege privilege
- this leaves the privileges database with an entry for a deleted
account that is still visible via LSA calls. This is correct
behaviour (verified against w2k8r2)
- the lsa.privileges test then enumerates all accounts that have at
least one privilege, and gets the SID for the deleted account
- it then called LookupNames and LookupSids on this deleted account,
and gets an error.
The fix is to not call LookupSids and LookupNames on sids which have
SID_NAME_UNKNOWN as the type
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 48323d88cc4ca3a08d1bd79c748061c775d57eca
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 2 16:46:20 2010 +1000
selftest: run client tests with log level 1
this PIDL print functions to display
commit aefbdc4a9d78d0b92dabb960fadd13801202afe2
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 2 16:45:50 2010 +1000
waf: fixed make test with TESTS="test1 test2"
when multiple tests are specified, make escapes the space in MAKEFLAGS
with a backslash, so we need to use shlex.split()
commit b58bfb351025816b18389ac2377c429b8a777dde
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Jul 20 15:31:49 2010 +1000
util: added samba_start_debugger()
This developer function is useful for debugging unusual error
conditions
commit a7a907cf2fab061d78898c35a99d043ec1b8025f
Author: Jeremy Allison <jra at samba.org>
Date: Fri Sep 3 13:57:01 2010 -0700
Fix warning message on SAFE_FREE.
commit 9bebfbdc80c16c446cdf63ca19e943ababe221d9
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 1 10:56:17 2010 +0200
s3-ctdb: ctdbd_init_connection() is static to this file.
Guenther
(cherry picked from commit 5568ceda47905657b79f7971a3a5eca1ba0cedc1)
commit 4199f00ae684020e537c8fb8b6e052a700a0a965
Author: Björn Jacke <bj at sernet.de>
Date: Wed May 12 10:50:17 2010 +0200
s3: use fine grained time in netprot response
commit 35d39071f1ba77df9e4ba08c635e414db4835ff4
Author: Björn Jacke <bj at sernet.de>
Date: Tue Aug 31 13:10:45 2010 +0200
s3: use monotonic clock for time deltas in smbget
commit b9b48dac02c3b70d51be6138080c8e3aad12999d
Author: Björn Jacke <bj at sernet.de>
Date: Tue Aug 31 13:06:39 2010 +0200
tdb/waf: the deps for rt are provided by libreplace
commit 9eea2ce99fe0520fc5ea66869bdb62062680176f
Author: Björn Jacke <bj at sernet.de>
Date: Tue Aug 31 11:31:19 2010 +0200
replace/waf: add rt to deps at this place
commit f590a68a590d7c5765ee1dbcc10c7649b0a963c8
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 18:02:19 2010 +0200
s3: use monotonic time in timeout of sys_select_intr()
commit 3d27fedacf6b494ae985083cf17ff3799ee652ba
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 17:56:37 2010 +0200
lib/util: add nsec_time_diff to calulate diffs from timespecs
commit efb9d7c627ba169b1c2da0ee184df4d9fe3c4d8a
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 15:46:22 2010 +0200
s3: use monotonic clock for time deltas in namequery functions
commit b8a82265216db5bb0220ab3a361f8282921dd0cc
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 15:44:54 2010 +0200
s3: use monotonic clock for time deltas in smbtar
commit 7ba741eccfb7f434a66399068a7a61ca9953866c
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 12:15:54 2010 +0200
s3: use monotonic clock for time deltas in smbclient
commit 940b278ba32b5c0698304723a4daabb48fe4d560
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 15:30:16 2010 +0200
s3: add TspecDiff macro
commit ab88767fe8812515c18ca1eca72caba086f8cf42
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 12:10:29 2010 +0200
lib/util: add function to query the monotonic clock with the required fallback to the realtime clock
commit 84dfa8295ce962a255ebfd74f19be48abef7554e
Author: Björn Jacke <bj at sernet.de>
Date: Thu Aug 26 12:22:02 2010 +0200
libreplace: make a define for a best effort monotonic clock
commit ed431aa51f4716f37aeb7ae977c871f297d12d13
Author: Björn Jacke <bj at sernet.de>
Date: Tue Aug 24 11:14:19 2010 +0200
s3: we have clock_gettime everywhere, remove ifdefs
commit 20318f70228969cdc468c55ab127c463e113bdd4
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 16:51:56 2010 +0200
s3: use clock_gettime() in timespec_current()
commit d3ad838895747e628d4500e37daf7e135046192b
Author: Björn Jacke <bj at sernet.de>
Date: Thu Aug 19 19:07:04 2010 +0200
libreplace: add clock_gettime replacement function for systems that don't have it
commit 2479c9b54bfab278159f23db3bcb5f26fb38bed6
Author: Björn Jacke <bj at sernet.de>
Date: Fri Aug 27 00:13:07 2010 +0200
libreplace/waf: look for clock_gettime
commit abf907f93bcb831187446399b6aeebc65238bedb
Author: Björn Jacke <bj at sernet.de>
Date: Thu Aug 19 18:39:45 2010 +0200
libreplace: move detection of clock_gettime to libreplace
commit 62620a5fdc32a120fa4b895e7286608cb5345870
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 14:35:49 2010 +0200
libreplace: move gettimeofday TZ arg check here
commit 2ab163564c6780ebea995d32bd12621f4cedcdd3
Author: Michael Adam <obnox at samba.org>
Date: Mon Aug 30 14:49:16 2010 +0200
docs:vfs_gpfs: improve the CAVEAT section on run and build time dependencies
commit 31d3227074a63ab7f66f74eca019884bb2e236da
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 16:05:38 2010 +0200
s4:lib/messaging: make irpc_request private and remove unused code
metze
commit dd7154234c267254cea199638062c5be1cd8b253
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 15:59:44 2010 +0200
s4:libcli/composite: remove unused composite_continue_irpc()
metze
commit a9078aad3c970e325e71f72f9f2c09e7136082cd
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 15:42:56 2010 +0200
s4:lib/messaging/tests: make use of irpc_binding_handle()
metze
commit a65d1eb05ce2eb0369e7489205c57191cd09c989
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 15:21:16 2010 +0200
s4:lib/messaging: use irpc_binding_handle() for python bindings
metze
commit 993d37baf589da85f5285f4a0edc45da692cc192
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 13:18:14 2010 +0200
s4:wrepl_server: use irpc_binding_handle_by_name() in wreplsrv_scavenging_replica_active_records()
metze
commit f43ec0e7516a1039172ce3e7f26ad47eb0271310
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 13:05:32 2010 +0200
s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_release_demand()
metze
commit 2e07f82f7cb905d5892d5dec7966ff17725bbc79
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 12:58:10 2010 +0200
s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_challenge()
metze
commit 8202cf7966b8125ac175ceb8cef18037c9a8cc31
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 16:59:05 2010 +0200
s4:auth_winbind: use irpc_binding_handle_by_name()
metze
commit 52d4a97afc4b09f860e84f059c419d33bfec18ff
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 12:33:17 2010 +0200
s4:libcli/wbclient: use irpc_binding_handle_by_name()
metze
commit 5c73c84f291573e835e9286c8b3a0831bc3c7dad
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 12:09:36 2010 +0200
s4:rpc_server/netlogon: use irpc_binding_handle_by_name()
metze
commit e117177307fe42e0e6ef92ee66df1154ffe3b9ec
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 11:39:15 2010 +0200
s4:smbd/service_task: use irpc_binding_handle_by_name()
metze
commit ff0362fc3567ec2dab902c685f7715a6070a63e3
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 11:34:17 2010 +0200
s4:dsdb/kcc: use irpc_binding_handle_by_name()
metze
commit 3c4150522cc85fd5774ca3346ff11f9d481bca7a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 11:13:01 2010 +0200
s4:libcli/finddcs: use irpc_binding_handle_by_name()
metze
commit f2422a0faab4443649633d6b378a4357eff194f2
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 13:45:48 2010 +0200
s4:rpc_server/common: use irpc_binding_handle_by_name() in dcesrv_irpc_forward_rpc_call()
metze
commit 611357aee31ad58632a2b029a91d950a2cffb341
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 13:44:41 2010 +0200
s4:lib/messaging: add irpc_binding_handle_by_name() helper function
metze
commit e26f0abe9183ac46fd8b749f7696f404414b780e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 13:44:01 2010 +0200
s4:lib/messaging: add irpc dcerpc_binding_handle backend
metze
commit 328c7084f2356dfad5c482fac4cd783b8027ab6b
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 31 13:25:59 2010 +0200
s4:lib/messaging: move messaging prototypes from irpc.h to messaging.h
metze
commit 8740caece0a236d7db4c8efa757766532b06691b
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 15:42:28 2010 +0200
s4:lib/messaging/tests: fix some compiler warnings
metze
commit 705f4c205685b0a167402ff54e37abd75b92a72d
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 10:39:18 2010 +0200
s4:auth_winbind: remove unused winbind_samba3 backend
This uses the winbind protocol directly, which needs to be avoided!
metze
commit 0f35d51ab65b974d3362e0b6f7ebff7b41fb5835
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 16:15:27 2010 +0200
s4:auth_winbind: fix segfault in winbind_check_password_wbclient()
We should only look at err if WBC_ERR_AUTH_ERROR is returned.
metze
commit 5b0e0acc819dedba3ef631e66be6c632fdf23e77
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 10:57:01 2010 +0200
s4:auth_winbind: fix compiler warnings
metze
commit 14ffb7d699df450a4fc5fc362cec7f804cae922b
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Sep 3 13:27:01 2010 +0200
nsswitch/libwbclient: LIBWBCLIENT depends on LIBWINBIND-CLIENT
metze
commit fdffa90ef99e10b963ecec73a65e18ecb6cec932
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Sep 3 06:20:49 2010 +0300
s4-drs: A quick fix for DRSUAPI_EXOP_FSMO_RID_ALLOC extended_op handling
When DRSUAPI_EXOP_FSMO_RID_ALLOC extended op is handled
in DsGetNCChanges() stub, we need to returned a well know set of
object - see: [ms-adts], 3.1.1.5.1.7
With this hack we are going to return just objects modified
during RID allocation procedure - i.e. "RID Manager$", "RID Set" for
computer object and computer object itself.
Which is a close approximation of what we are expected to return.
commit 65b21c056217b03ad0e0aa321bc9d85e048d2ee6
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Sep 3 04:29:02 2010 +0300
s4-dreplsrv: Refactor drepl_replica_sync() to behave as described in MS-DRSR
see: MS-DRSR - 4.1.23.2
Note: Synchronious replication not implemented yet.
commit 715743b38dec1968dce843573a12947407d74324
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Aug 31 04:16:18 2010 +0300
s4-dreplsrv: Helpers to locate source DSA in a partition by GUID or DNS name
commit 3691e6c97b2187730d42a2bb79ecc06f37aab344
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Aug 31 04:15:37 2010 +0300
s4-dreplsrv: Helper to find NC by DN or GUID or SID
commit 5685fb64e4f4660d586e57c59800d0f374d10749
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Aug 31 00:01:25 2010 +0300
s4-dreplsrv: Add caller-specific data parameter for dreplsrv_fsmo_callback_t
It is to be used when we need to preserve a state
to be used in tha callback when dreplsrv_out_operation is completed
commit cf728f890f6d2cd8cc831ba95a5d2d0dac6e8e35
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 2 13:41:08 2010 +0200
s3-spoolss: fix some debug statements.
Guenther
commit 4208d40a74cdf01cf404b6378f8b8b00715c3e63
Author: Michael Adam <obnox at samba.org>
Date: Mon Aug 30 14:49:16 2010 +0200
docs:vfs_gpfs: improve the CAVEAT section on run and build time dependencies
commit 0bc53f7d9f9af5379422811347e80beb0318b673
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Sep 3 02:39:38 2010 +0200
pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.
commit c5449c929841817ac76197b4fc8c6792b9dc3204
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Sep 3 00:35:29 2010 +0200
pidl: Factor out generation of interface type name.
commit 804aaad526419e2be9101190bbccf95152f1d4b4
Author: Simo Sorce <idra at samba.org>
Date: Thu Sep 2 16:09:19 2010 -0400
s3-kerberos: use krb5 compat macros in fill_keytab_from_password()
This one uses the compat macro in the right way, without actually
breaking the code.
Signed-off-by: Günther Deschner <gd at samba.org>
commit d9c63fbe9275c0abfc0351cac3669fb52c1c99da
Author: Simo Sorce <idra at samba.org>
Date: Thu Sep 2 16:07:00 2010 -0400
Revert "s3-kerberos: use krb5 compat macros in fill_keytab_from_password()."
This reverts commit 9986d25ed195ee77bd73c96f057c527b4c3a8f03.
This patch was causing us to free unallocated memory.
Signed-off-by: Günther Deschner <gd at samba.org>
commit ac317eba25ab9d55866523858a5a9c6b1363de1f
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 2 22:13:59 2010 +0200
s3: Remove unused nss_info_adex_init()
commit 4ca96834f3b77757d1e03fbc5290677b6724b785
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 11 13:35:14 2010 +1000
s3-param: added lp_set_cmdline() and --option= parameter
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f6a631bdec3ec2aba8a923136b66edf36273d9f2
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 31 14:00:37 2010 +1000
s4-resolve: added resolve_name_ex_send()
this allows access to the flags that control name resolution
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit cecc58e0582a8574f239a26e354c00a6d570c3d5
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 31 12:28:55 2010 +1000
s4-auth: make the disabled acct messages a bit less verbose
raise the debug level
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit b7060c7c5c78d7a7416707c6217fe163c1183e2d
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 31 12:07:40 2010 +1000
s4-selftest: try DNS before bcast in selftest
this better reflects real usage
commit efbc702b1eac7c35b0d64d45a8043db3642361a0
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 31 12:07:07 2010 +1000
s4-resolve: add a default domain for unqualified names in file backend
this better emulates what happens with real DNS
commit 39599e949b9231fa5d88b1a6830b442c1faba1d9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 30 15:41:22 2010 +1000
s4-pidl: added a test for all generated rpc interfaces
this tries to instantiate all types in all generated python RPC
interfaces, then checks that all attributes can be read, written and
compared.
commit 71f2ebcae09a3581cb27966b44387a10ea89236d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 30 15:37:11 2010 +1000
pidl: cope with dom_sid28 in python generator
treated the same as dom_sid2
commit eccb22c9fb21f6b439dd6ced03e946f84dccd455
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 30 15:29:26 2010 +1000
doc: patched bind9 is no longer needed
bind9.7.2rc1 contains all the patches needed to work with Samba4 krb5
DNS updates with w2k8r2.
commit e2fdcf1a7a977d6984abae71d24b9dbdac19bbce
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Aug 28 22:18:00 2010 +1000
pynet: fixed ref count error on Py_None
ensure we don't run out of None ...
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit 58d92cefe266e423f05dec3a2fef91ebc870c350
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Aug 28 22:00:21 2010 +1000
pidl-python: cope with NULL pointers in more places
NULL is converted to Py_None
commit e7e39584a9dcfd7d98dc10b88baa53019a77e652
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Aug 28 21:53:27 2010 +1000
pytalloc: treat a NULL ptr as Py_None
commit 9f5dcb2235b42177bc325a48930917b5d68308e4
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Aug 27 12:08:49 2010 +1000
s4-net: use CommandError() in net rodc
this integrates better with the net command
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit 768475d5716faaf3e730404d44d68f7a3250d861
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sun Jul 11 23:11:09 2010 +1000
s4:dsdb Fix attribute being searched for in dereference against Fedora DS
The problem here is that these attributes are not mapped in the
simple_ldap_map, and they were changed a while back.
Andrew Bartlett
commit 68c61dfa3fa925c63247bef83f10dfa2efa458e6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sun Jul 11 23:08:46 2010 +1000
s4:dsdb Make the dereference control critical if input is critical
This helps us ensure that the backend knows about and respects the
dereference control if our caller has asked that the extended DN control
be considered critical.
Andrew Bartlett
commit 379d073444f7acafb6e5761dd667073ad7371771
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sun Jul 11 23:07:06 2010 +1000
s4:dsdb Don't reload the schema against OpenLDAP backend
The schema should be considered read-only when we are using the OL
backend, as we can't update the backend schema in real time anyway.
Andrew Bartlett
commit 896553a1a85f541f72ab6b45e71d89d00e727791
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 8 11:44:13 2010 +1000
s4:provision Allow OpenLDAP backend to provision again
OpenLDAP does not have any post-setup requirements at the moment.
Andrew Bartlett
commit 9aae50443df5471b91e4d829c0ca0285adeb71bb
Author: Zahari Zahariev <zahari.zahariev at postpath.com>
Date: Sat Jul 3 21:43:42 2010 +0300
s4:provision Improved error handling in provisionbackend
When using OpenLDAP as a backend with Samba4 we get failure during
provision and this patch will help better determining the real error.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 97246f7bbd4f1df1002b606051bfb2dde4977e4a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Sep 1 01:42:56 2010 +0300
s4-test-dssync: Print the reason for skipping FetchNT4Data test
commit 8e60fa5fe848b1a8a44cf88e2866134e1f503108
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 10:45:52 2010 +0200
docs-xml/vfs_gpfs: document 'gpfs:refuse_dacl_protected'
metze
(cherry picked from commit fc79f358eb6a1dd7ed2e5f5b1e31fb664a182595)
commit af015976e4d56419cb1d01c89ce6985e3a539ba2
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 10:31:38 2010 +0200
docs-xml/vfs_gpfs: document 'gpfs:merge_writeappend'
metze
(cherry picked from commit 4d76c18f78742ba92b4772037ac306b567351ca1)
commit 6318e44349a8895ddf20e2e7ae372cbcca84ee7e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 10:24:52 2010 +0200
docs-xml/vfs_gpfs: document 'gpfs:winattr'
metze
(cherry picked from commit 6cf66a04ad690e78311411e2195b3a1710953262)
commit a359814ac0f2e13d867bdb0bcff82a895b43f411
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 10:12:41 2010 +0200
docs-xml/vfs_gpfs: document 'gpfs:getrealfilename'
metze
(cherry picked from commit a8a704001e5da10fae5df5fc2856d06250739248)
commit 398e18258bcbab8d28f1b8d2ce91cc629b7d9657
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 09:29:46 2010 +0200
docs-xml/vfs_gpfs: document 'gpfs:leases'
metze
(cherry picked from commit 196699a6a1412687f7d5fe24c506577002dd769e)
commit af4fd6d2fd5ff7726f171da1f1df266f1a3c0b7c
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 09:01:21 2010 +0200
docs-xml/vfs_gpfs: document 'gpfs:sharemodes'
metze
(cherry picked from commit d35d846db14a4bb28a97a7bab6dbfdbe7a62b593)
commit 34d3d2137296012756622b0e28ba46f20215b06e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 25 10:05:15 2010 +0200
librpc/ndr: correctly implement ndr_charset_length()
Before we ignored the charset type.
metze
(cherry picked from commit 11a3d78951c897c46264203daaad12a3ead5cf8c)
commit f87296d9ea4d68e915743b009f074347808a408f
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 25 11:12:16 2010 +0200
pidl:Samba4/NDR/Client: support argument based stubs for [in,out,string]
metze
(cherry picked from commit 831611e221d82b8074727fb8e948d0cbe3eb6f0a)
commit 81759e7683b21a1dc90f1340b6f373a5d91b7760
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 25 11:02:52 2010 +0200
pidl:NDR: [in,out,string] doesn't need to pointers
metze
(cherry picked from commit 94faf0ccbe061681de0a529b5cfd61da10d5226a)
commit 4ecfee7ca00ede652775c8425d7b8ef570ec4554
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 25 11:07:29 2010 +0200
pidl:Samba4/NDR/Client: correctly copy [out,charset()] buffers
If the conversion from CH_UTF16 to CH_UNIX uses multi-byte characters
in CH_UNIX, we should not silently truncate the string, but return
an error.
metze
(cherry picked from commit aa3b75ad1fa60dbf1ea3bd61782c59b39020b2e3)
commit bf451c7e86b35b44afad9698aa347198dc2a6a94
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 25 11:13:08 2010 +0200
pidl:Samba4/NDR/Client: fix skip reason for unsized arrays
metze
(cherry picked from commit eeebaa63f1fe85fe9d58bad50920432263de84c0)
commit 9e9179835ff48f12c165493a2135727e1b855883
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 28 09:42:10 2010 +0200
selftest/Subunit.pm: fix perl warnings
Argument "\n" isn't numeric in numeric ne (!=) at selftest/Subunit.pm line 136
metze
(cherry picked from commit 8e6f67392998d09073aa04932a4c838e264a56ce)
commit d8ed2f97a38235c39e67abe24bb87088bcfe7c2e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Aug 26 03:50:08 2010 +0200
subunit: Make sure "]" in failure reason ends up on its own line, so the
next subunit parser in the line parses it correctly.
(cherry picked from commit 3c7a7bbb9a6258744523f41935f3967e48056787)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d0e42d6f7265a7599f020b6766cca1bd801b89e5
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 28 08:38:48 2010 +0200
lib/util: remove implicit discard_const_p() from SAFE_FREE()
This should fix a lot of warnings on IRIX.
If callers know what they're doing they can use discard_const_p()
on their own.
metze
(cherry picked from commit a6111c2a7b9b6d8d4b6dec91072743683f9cae8c)
commit 0a084ea7b31f446384c5d81c5f9e4507b1b8f3d6
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 25 10:07:54 2010 +0200
pidl:Samba3/ClientNDR: remove unused ParseOutputArgument function
metze
(cherry picked from commit a701484230bf1119900287326f7a57c07776e4e9)
commit 17df5f23f402918b6653e52c98713494a6bbf81a
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 15:59:17 2010 +0200
s3:librpc: make dcerpc_read_ncacn_packet_send/recv() available
metze
(cherry picked from commit 5d7c27cb5b35848ff32f7c7e3f66247990c28ad1)
commit 822b7b3b626d55045366880d851fb0cc5e085038
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 15:49:32 2010 +0200
librpc/rpc: move dcerpc_read_ncacn_packet_send/recv() to dcerpc_util.c
metze
(cherry picked from commit fe7819ae6f82bee65c14c57f87ec82b2243f4356)
commit 8528509e60ac29eb699f234fecd5520556737426
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 18 15:47:15 2010 +0200
librpc/rpc: call do_ndr_print hook in dcerpc_binding_handle_call*()
metze
(cherry picked from commit ce60e8d69735bc2d5c6f776c84dea2e17dae95ac)
commit a8267b49f86bfe52dbcbece5f2539cb5cfad0b1b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 15:28:27 2010 +0200
s3:winbindd: remove rpc_pipe_client references from winbind_dual_ndr code
metze
(cherry picked from commit 760948a5d4b65fe9353357e701e854f437adf7cb)
commit 72ab6d252cf414705e48ab21d81db7eaddb825b8
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 15:13:54 2010 +0200
s3:winbindd: use dcerpc_wbint_* functions instead of rpccli_wbint_*
metze
(cherry picked from commit 13c744fa30b94e6ab4321c69a8a3d01ef42845d7)
commit ba97d5616493ef1c6fee5ba62381abef1cd5a2ba
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 15:12:11 2010 +0200
s3:winbindd: add binding_handle to struct winbindd_child
metze
(cherry picked from commit 2ccaa2355872612559935090cb032031659ea284)
commit 2ee2f05a06a2f5dee696e266afe541b88c7e9b56
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 14:50:47 2010 +0200
s3:include: remove unused dispatch* fn pointers from rpc_pipe_client
metze
(cherry picked from commit e79c8098d62d415d988a840f71f5733b9dfb9f68)
commit 328bf4c2d07a36948fd88237d5577c25af5f751b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 14:49:47 2010 +0200
s3:winbindd: remove unused wb_ndr_dispatch* functions
metze
(cherry picked from commit 7f2343be122e80a426eeea29ed602fbc84bdc77b)
commit 2d77e5b9e271f28bcfd2a4926173aeb1d593db0d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 14:48:27 2010 +0200
s3:rpc_server: remove unused rpc_pipe_internal_dispatch()
metze
(cherry picked from commit 12379097abbab06f7a41bdcd00093f0c7ba08a8f)
commit 049dee107a99d82c59be40aec35d6eb9fa501295
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 14:46:24 2010 +0200
s3:rpc_client: remove unused cli_do_rpc_ndr* functions
metze
(cherry picked from commit 745f63fd1ead248d5a7cd257c0cb38af3ed9dd8b)
commit bf7f01f64afd78d67f96cb7129b20e8bfa9f838d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 14:39:42 2010 +0200
s3:rpc_client: remove unused rpc_pipe_open_local()
metze
(cherry picked from commit dd16d3b2d6cdaa036fe12c80b06d9963d20f5b27)
commit db69fe9ea658bcde19873cd30375c95304ecdce2
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 16 10:07:24 2010 +0200
pidl:Samba4/NDR/Client.pm: correctly copy fixed size out arrays
metze
(cherry picked from commit b0b73ca041ba3d90b3924b380abed4975e5354d9)
commit 14d052a979f75b37e171eb0984324d74d5fa06f2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 21:01:25 2010 +0200
pidl:Samba3/ClientNDR: implement rpccli_ stubs on top of dcerpc_ stubs
metze
(cherry picked from commit 5130e664b91636a9ca31a52897ba1d121d0252a2)
commit 1f5cd0d748ae86ae38892782101af3e966a7a38a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 6 12:20:07 2010 +0200
s3:Makefile: link in dcerpc client stubs
metze
(cherry picked from commit 56a6a972f2eba3b668add8af69ebb3a724cea28f)
commit 46e6919635c90c133780c907b82030d8c1a33a53
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 6 11:50:09 2010 +0200
s3:winbindd: add wbint dcerpc_binding_handle backend
metze
(cherry picked from commit 7e24d1dd57ab0a664eb83ff1178d56a9c8d90ecb)
commit 48754ee4b2107a3dea2d5058a358021dc2d02d55
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 7 14:37:21 2010 +0200
s3:rpc_server: add rpc_pipe_open_internal dcerpc_binding_handle backend
metze
(cherry picked from commit 262dcfcd87997a94ea097b58e60d29e334d0167d)
commit e603042e478dca0f0ee980d7d05c1838b6decf3e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 6 11:30:51 2010 +0200
s3:rpc_client: add dcerpc_binding_handle backend
metze
(cherry picked from commit 2c0e296dd74c1b064d836f6807a808231f8998d4)
commit 091d129d4bcd3324d27c096b9d44cc3ff0a5104a
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 7 14:48:57 2010 +0200
s4:librpc/rpc: make struct dcerpc_binding_handle private
metze
(cherry picked from commit b34209006fd75533b22e77c77d8fde3e4cb1506a)
commit 059c063c4a32261e4fb30b07250c44bca6bf098a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 10 13:27:12 2010 +0200
pidl:Samba4/NDR/Client: add sync dcerpc_pipe based stubs as compat for OpenChange
This will activate the compat wrappers for all functions of an interface:
#define DCERPC_IFACE_MYPROTO_COMPAT 1
#include <ndr_myproto_c.h>
This will activates the compat wrappers just for specific functions:
#define DCERPC_CALL_MYFN1_COMPAT 1
#define DCERPC_CALL_MYFN2_COMPAT 1
#include <ndr_myproto_c.h>
metze
(cherry picked from commit 51fb4c386040c9fdc44f4473025c9d83e628b5e6)
commit 81c07cb81fda214a093191d364fb55f686b2d966
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 16:10:52 2010 +0200
pidl:Samba4/NDR/Client: add non struct base dcerpc_binding_handle client stubs
metze
(cherry picked from commit 719981adfdd6d828ec0a78ca2be2776502751674)
commit be77caa0f4b15b95eaef2deca275f1d564d32c2d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 13:29:56 2010 +0200
pidl:Samba4/NDR/Client: convert code to $self->pidl()
metze
(cherry picked from commit 62297dff8f64de8ffa3fe4d2a7cd99d45173561d)
commit 9f87c1c264c520e762e7859f76908a7e7f39463b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 12:59:46 2010 +0200
pidl:Samba4/NDR/Client: s/interface/if/
metze
(cherry picked from commit 570eefc57a051166d99445a830b8d7e5ffbd86f7)
commit 279a56b73abc4a11059cb800ddcb35ae1f4ec4ec
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 18:22:02 2010 +0200
pidl:Samba4/NDR/Client: make use of the new dcerpc_binding_handle_call() infrastructure
metze
(cherry picked from commit 76691e9eaf9520429c7ea0ef6b2955c143b068e5)
commit cd19ff50a8563537dc8409b4ff1d0d5ccf30e05b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 17:56:10 2010 +0100
pidl:Samba4/NDR/Client: remove old dcerpc_pipe based sync stubs
They're unused in Samba and only used by OpenChange.
I'll add a compat functions for OpenChange later.
metze
(cherry picked from commit db89fdac7329d02bf08f705443b62369bb23081e)
commit c1aa7ae2c74888422daf29c3d86807933a09664c
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 18:18:30 2010 +0200
s4:librpc/rpc: add dcerpc_binding_handle dcerpc_pipe backend
metze
(cherry picked from commit 7eef08cc63ed231b54dd2a5936579ffc60a0c087)
commit cc85d8bc51864cda951e3c39d3b3c14a5efdc86f
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 18:14:04 2010 +0200
librpc/rpc: add dcerpc_binding_handle abstration
metze
(cherry picked from commit 4030bc9b2df3f2a1c18b373a94c53e48ba80cfc1)
commit 33edddf946852246af8f4ce586b516f5222d2ec8
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 10 15:11:02 2010 +0200
s4:librpc/rpc: fix dcerpc_log_packet() prototype
metze
(cherry picked from commit 282831874379445a071dfe157ae4cfba6aeb10aa)
commit 0b6175252c09e4aa3ea6d1e11e8d945d36810c2e
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 10:50:47 2010 +0200
s4:librpc/rpc: autodetect the need of async call logic
metze
(cherry picked from commit af89b460f72acb843b57a80a8f61a26056dc0dd2)
commit 9d6323485fa541c96c22b4108eb000b5385a1725
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Aug 8 10:15:12 2010 +0200
s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is broken
See https://bugzilla.samba.org/show_bug.cgi?id=7486.
metze
(cherry picked from commit 8ca8250443319e0f19f05aab2014118fd03eaa8a)
commit 6495cf07920951ca9769221bac51af1403ae5502
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 2 10:21:36 2010 +0200
s4:librpc/rpc: avoid using DCERPC_NDR_REF_ALLOC for epm_Map()
metze
(cherry picked from commit 31782e52955f4f9301611a1e94b52b880f2ae302)
commit 823989fcea4dbc429cf4b707144a6c292c88cf63
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 2 09:53:27 2010 +0200
s4:torture/libnet: avoid dereferencing dcerpc_binding_handle internals
metze
(cherry picked from commit b1a584f9dc67bee1ecde408620dd815be3533091)
commit a0369fe2e8c17bd7d764a78f0ca516f774fba3e8
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 31 11:35:31 2010 +0200
s4:blackbox/newuser: use test specific user names
As this test doesn't delete the user accounts at the end,
we should use test specific user names. That lowers the
chance of conflicts with other tests.
metze
(cherry picked from commit 76e5d41d6a887e598bef8ec57ddc405c368acc00)
commit 81bbacb05b407ece81610b1b7a3b739d3d490a37
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 31 11:31:43 2010 +0200
s4:selftest: skip samba4.blackbox.ktpass for now as it's not portable
ktutil might not be installed or from MIT.
We should build a samba4ktutil and use that instead,
until then we need to skip this test.
metze
(cherry picked from commit 0b4247ef7a60e7fe419681919daa3b31cae7bc48)
commit de18d372b797c36fdbece540b11783e0bd029867
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 31 11:12:10 2010 +0200
s4:blackblock/ktpass: use test specific user name
metze
(cherry picked from commit 34692556bed72130acd2985cc734d74c8a57203e)
commit cac7f192d38571f2cbeeb24275d18c878043cb3e
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 31 09:00:44 2010 +0200
s4:librpc/rpc: use the correct ndr flags in dcerpc_ndr_validate_in()
metze
(cherry picked from commit 16756196566770b07ebe066ff7329773c1ae07dc)
commit b374345ef66393a391ca6019da78f7952a29c37e
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 1 12:55:18 2010 +0200
s3: Print the IP of the server that stopped responding
commit 5b875a83a9c641f9e016bd4e83051170f7bd50d0
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 1 12:55:18 2010 +0200
s3: Print the IP of the server that stopped responding
commit d45f901b9304977f7125fefcfc889076471442b4
Author: Björn Jacke <bj at sernet.de>
Date: Wed Sep 1 11:22:09 2010 +0200
s4/ldb: fix standalone build
commit 5568ceda47905657b79f7971a3a5eca1ba0cedc1
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 1 10:56:17 2010 +0200
s3-ctdb: ctdbd_init_connection() is static to this file.
Guenther
commit 7afa6675ee4bdc7ed914635807c3aef5bec1ae3a
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 1 10:51:13 2010 +0200
s3-auth: fix uninitialized error code in get_guest_info3().
Guenther
commit e5c7ec66982e6d2705c7a103aff5502f441404bb
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 31 16:58:23 2010 +0200
winreg: add winreg_RestoreKeyFlags to IDL.
Guenther
commit 95f9542e055d027adeb596a2c67fe48add77033c
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 31 23:09:39 2010 +0200
s3-auth: remove global include of krb5pac.h.
Guenther
commit 16c2d9182d0c0ff55eba4d8bce2931b579b00339
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 31 16:58:54 2010 +0200
s3-printing: add debug to get_correct_cversion().
Guenther
commit bf3912be46b2cac71a1ff89f548b9e3528872c6c
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 31 14:27:56 2010 +0200
s3-libads: avoid crashing in ads_keytab_list().
Heimdal's krb5_kt_start_seq_get() will leave a non 0 fd in the krb5_kt_cursor
struct when it cannot find a given keytab.
Guenther
commit d5436c650c806bb04424205b1d5c9c699b051d7d
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 31 17:25:18 2010 +0200
s3-auth: remove unused variable in check_sam_security().
Guenther
commit d8c9756d539f9a869bd09fb67b3adcbd2a6a0fc0
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 31 22:28:00 2010 +0200
s3-kerberos: use more krb5 compat macros in get_mem_keytab_from_secrets().
Guenther
commit 765bee9d7a2ea990db37e7811fe449af3c61e7a0
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 31 22:27:32 2010 +0200
s3-kerberos: use smb_get_enctype_from_kt_entry() in
get_mem_keytab_from_secrets().
Guenther
commit e26a9363335fa0c6e72f46531395bf0f9d950e83
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 31 11:04:40 2010 +0200
s3-kerberos: use get_kerberos_allowed_etypes in fill_keytab_from_password().
Guenther
commit 9986d25ed195ee77bd73c96f057c527b4c3a8f03
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 31 11:00:03 2010 +0200
s3-kerberos: use krb5 compat macros in fill_keytab_from_password().
Guenther
commit 3d78279fd437a5ef5b4ed7ff88c1f605cd0999d9
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 31 11:01:23 2010 +0200
s3-kerberos: fix flush_keytab() compile with heimdal.
krb5_kt_cursor is not a pointer in heimdal but a struct.
Guenther
commit a20e94bb0ebf4f1bd19dca527f48696a62a97ab1
Author: Björn Jacke <bj at sernet.de>
Date: Tue Aug 31 23:03:55 2010 +0200
Revert "s4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday"
This reverts commit 659829851703797b47d398d3c71ad971b2c5dab7 which later on
needs some tweeks to not break some builds
commit 958fb53833673527dc36cd52511386ae9debb542
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 31 16:52:56 2010 +0200
s3: messaging_ctdbd_connection() was only called with procid_self()
Eventually we'll get this right...
commit 91b3df111827ef5f2ef89f02318a0fbfacd1a3fa
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 31 16:51:28 2010 +0200
s3: messaging_ctdbd_init potentially modifies my_vnn
If we call messaging_ctdbd_connection() we end up with the wrong vnn in our
messaging context.
This is a bit of a hack, get_my_vnn() needs to go eventually along with
procid_self()
commit 48fa585249f160cdc2bd7b69d3cb914f7982cfb1
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 31 16:11:10 2010 +0200
s3: Make ctdbd_init_connection static
commit 5648c3f67eeebee0a17cf9e7b64fb2cbfe2e2e68
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 31 16:52:56 2010 +0200
s3: messaging_ctdbd_connection() was only called with procid_self()
Eventually we'll get this right...
commit 808ceac9f54bb3988fc2bb6b0d86eaded07283e1
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 31 16:51:28 2010 +0200
s3: messaging_ctdbd_init potentially modifies my_vnn
If we call messaging_ctdbd_connection() we end up with the wrong vnn in our
messaging context.
This is a bit of a hack, get_my_vnn() needs to go eventually along with
procid_self()
commit 301bf22eab92999bc4b0f2d733830618b8b9d428
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 31 16:11:10 2010 +0200
s3: Make ctdbd_init_connection static
commit 079baa76884a90740051f8dd0408eea4404adce8
Author: Björn Jacke <bj at sernet.de>
Date: Wed May 12 10:50:17 2010 +0200
s3: use fine grained time in netprot response
commit 659829851703797b47d398d3c71ad971b2c5dab7
Author: Björn Jacke <bj at sernet.de>
Date: Tue Aug 31 13:11:13 2010 +0200
s4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday
commit b4ae2efa963649c46fa4a3e3ad054c691f38af5b
Author: Björn Jacke <bj at sernet.de>
Date: Tue Aug 31 13:10:45 2010 +0200
s3: use monotonic clock for time deltas in smbget
commit 20254221d2c935ebcf2c4ea4372b1634bd09b1f0
Author: Björn Jacke <bj at sernet.de>
Date: Tue Aug 31 13:06:39 2010 +0200
tdb/waf: the deps for rt are provided by libreplace
commit 7c88ccde30b824e14183f7fd07f0c307c7ff693d
Author: Björn Jacke <bj at sernet.de>
Date: Tue Aug 31 11:31:19 2010 +0200
replace/waf: add rt to deps at this place
commit f222387533645689b8529235d5e6c77418064f9e
Author: Björn Jacke <bj at sernet.de>
Date: Tue Aug 31 11:30:17 2010 +0200
s4: use GetTimeOfDay macro instead of gettimeofday
commit fe6f72af2b74dfb41c067a08ed5647a65f609a7a
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 31 03:29:55 2010 -0600
packaging: build fixes
commit 7eff519703f15d123c9b256a674b1c6ad8c84446
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 31 03:29:55 2010 -0600
packaging: build fixes
commit 4c8531b642c579e69c27a8920c1aacbee04260c9
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 18:58:20 2010 +0200
s4/torture: use monotonic clock for time deltas in denytest
commit 60002600b86808551df0fb9b907869590b670450
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 18:54:42 2010 +0200
s4/ldb: use monotonic clock for time deltas in ldbtest
commit 8aa0b709d4924262c73c96d54bc0a28fa8b8aff0
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 18:02:19 2010 +0200
s3: use monotonic time in timeout of sys_select_intr()
commit 73ad77f20a136b74a4ae381c8b97acf248d3c8fe
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 17:56:37 2010 +0200
lib/util: add nsec_time_diff to calulate diffs from timespecs
commit 0ca6a73d011abd20d8a9256f6dfe3517bd1a27ef
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 15:46:22 2010 +0200
s3: use monotonic clock for time deltas in namequery functions
commit 5728b0fb5f59f856d2f20a5237dc31a1ca0c4afe
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 15:44:54 2010 +0200
s3: use monotonic clock for time deltas in smbtar
commit fc6767502896dfcd74767deae4775b3177369598
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 12:15:54 2010 +0200
s3: use monotonic clock for time deltas in smbclient
commit 6e9747c1ce4806c0b81400f2627579e0bbf95207
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 15:30:16 2010 +0200
s3: add TspecDiff macro
commit 4b09919f70b171bc6e053bc3014ffc0e36bc1ff1
Author: Björn Jacke <bj at sernet.de>
Date: Wed Aug 25 12:23:50 2010 +0200
s4:process_thread: use monotonic time for time deltas
commit c091b3344badac6241b85c6cf2f7dacb0f06047c
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 12:10:29 2010 +0200
lib/util: add function to query the monotonic clock with the required fallback to the realtime clock
commit 63b1f2ee813b430e1f4bec3abb28a6266f8a82c8
Author: Björn Jacke <bj at sernet.de>
Date: Thu Aug 26 12:22:02 2010 +0200
libreplace: make a define for a best effort monotonic clock
commit 8c6ca6e25a4d33e4f9ae2ef13a3872cd533ba6f6
Author: Björn Jacke <bj at sernet.de>
Date: Tue Aug 24 11:14:19 2010 +0200
s3: we have clock_gettime everywhere, remove ifdefs
commit 8589f46b86b8acd0439e1325818cc69f9050240d
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 16:51:56 2010 +0200
s3: use clock_gettime() in timespec_current()
commit 3df1037a74181ef314e2115ade836546a572ee48
Author: Björn Jacke <bj at sernet.de>
Date: Thu Aug 19 19:07:04 2010 +0200
libreplace: add clock_gettime replacement function for systems that don't have it
commit 9f87bc4588c2ac669f6e808158dca7ec8517a461
Author: Björn Jacke <bj at sernet.de>
Date: Fri Aug 27 00:13:07 2010 +0200
libreplace/waf: look for clock_gettime
commit 4e104f185e1aa12c0923e82d3991a658eb2b9474
Author: Björn Jacke <bj at sernet.de>
Date: Thu Aug 19 18:39:45 2010 +0200
libreplace: move detection of clock_gettime to libreplace
commit e8662248c8bf7dfc830ce34f301f30f59e600cd8
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 14:35:49 2010 +0200
libreplace: move gettimeofday TZ arg check here
commit d163b0266f16567046b936227d0e079802e061ef
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 30 09:55:44 2010 -0600
packaging: cifsutils are no longer part of Samba
commit c2e2be51a64dab19b001bddb39341a035ba6a2a1
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 30 09:55:44 2010 -0600
packaging: cifsutils are no longer part of Samba
commit eee63b7e75e6fe3e244285698211da46052e7c18
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 31 11:18:11 2010 +1000
s3-auth Rename NT_USER_TOKEN privileges -> privilege_mask
This is closer to the struct security_token from security.idl
Andrew Bartlett
commit 8c15cf54ae797d8f01a61228d367b5a785f06d98
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 31 09:32:52 2010 +1000
s3-auth Rename NT_USER_TOKEN user_sids -> sids
This is closer to the struct security_token from security.idl
commit 20088f3b633e433cf62636aeeed95e8f7e8f3e6b
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 19:49:35 2010 +0200
vfs_smb_traffic_analyzer: fix off by a second bug
convert_timespec_to_time_t is rounding but here we keep track of milliseconds
here - so we should use plain the tv_sec.
(cherry picked from commit a8d8cf00eae08466ef6a232ccbb5ede9ee4d9626)
commit f9ed2aec4982eeb589f580e75ee539d78b54d274
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 30 15:22:29 2010 +0200
s3: Fix a segfault in the printer code using create_conn_struct
(cherry picked from commit 6beb5563f3464cf32109c9069b39a5cf71134321)
commit 6beb5563f3464cf32109c9069b39a5cf71134321
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 30 15:22:29 2010 +0200
s3: Fix a segfault in the printer code using create_conn_struct
commit b4610cdb3b1d8e20bafd6d2d563360a59ef33ba3
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 13:42:20 2010 +0200
s4:lib/messaging: add some const to messaging_send()
metze
commit 734677292fb6fb4f7cccc7ab1c6fd04ad2203aed
Author: Thomas Nagy <tnagy2pow10 at gmail.com>
Date: Mon Aug 30 15:02:26 2010 +0200
Disable gccdeps if -MD is not supported
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a8d8cf00eae08466ef6a232ccbb5ede9ee4d9626
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 19:49:35 2010 +0200
vfs_smb_traffic_analyzer: fix off by a second bug
convert_timespec_to_time_t is rounding but here we keep track of milliseconds
here - so we should use plain the tv_sec.
commit 20e7b4ec744dead1544a4b7625dc3fcb5d802418
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 23 23:02:44 2010 +0200
s3-auth: The unlock of the account is now done by the get_sampwnam call.
Signed-off-by: Simo Sorce <idra at samba.org>
commit c5cfad142c6bc5cd4819726cf2444108bc7639c3
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 23 10:08:53 2010 +0200
s3-passdb: Try to unlock the account if it is locked out.
Signed-off-by: Simo Sorce <idra at samba.org>
commit 2ab0b63bd89d2d833695dc33aecec7a63ccbab0c
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 23 10:08:34 2010 +0200
s3-passdb: Added a pdb_try_account_unlock function.
The function checks if the account has been autolocked. If we have a
lockout_duration and a bad password time it checks if we can unlock the
account.
Signed-off-by: Simo Sorce <idra at samba.org>
commit 9dd7e7fc2d6d1aa7f3c3b741ac134e087ce808fd
Author: Andreas Schneider <asn at samba.org>
Date: Wed Aug 18 17:17:42 2010 +0200
s3-auth: Use SamInfo3_for_guest to create guest server_info.
Signed-off-by: Simo Sorce <idra at samba.org>
commit 3a8b66ce98e4f5a0989d9e8ea7d2387355fa7e63
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 30 09:27:24 2010 -0600
packaging: Build with -O3
commit ffb92b124fb324015e9797d8df3fdce79f9e6a25
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 30 09:26:49 2010 -0600
packaging: Attempt to fix the RPM build
commit 5f419eaa3289903a44c34fa1280e51bc197c65f3
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 30 09:27:24 2010 -0600
packaging: Build with -O3
commit ebf05a1db3aa9310884d523083bf2026df837691
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 30 09:26:49 2010 -0600
packaging: Attempt to fix the RPM build
commit 85b8d7c605a2a8dec83696fea65d6aea5df66ce6
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 30 15:52:27 2010 +0200
s3-kerberos: try to fix the build w/o kerberos support.
Guenther
commit 1c82ed5839ab8105f3044d75f789a56987f44cca
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 30 15:56:16 2010 +0200
s3: Fix some uninitialized variable warnings
commit 1d3bd5b1c03e7e15fa2f089537cb29fd46797b16
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 30 15:56:16 2010 +0200
s3: Fix some uninitialized variable warnings
commit d937c9891aa06f063fe8a9ba22c40db82dda3630
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 30 08:36:51 2010 -0600
s3: Fix the build of the nfs4_acl module
commit 4ccf3a05af0f3c09ff8e85c63578cf1857312e6b
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 30 08:36:51 2010 -0600
s3: Fix the build of the nfs4_acl module
commit 9b704e4b9a740e233cf05233108700b4486b849c
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 30 14:50:15 2010 +0200
s3-waf: fix the build after gssapi changes.
Guenther
commit 9697687e25c6b7ed53e32f8fc804c483e0221a2f
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 30 14:47:52 2010 +0200
dcerpc-gssapi: include missing dcerpc_krb5.h header.
Guenther
commit d524f5851865a802441f67fe01e04380505543d4
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 30 14:44:13 2010 +0200
dcerpc-gssapi: fix "shadows a global declaration" warning when gssapi is unavailable.
Guenther
commit 2a2557075ece5a2bac1163e73310d9319fb1ba7f
Author: Simo Sorce <idra at samba.org>
Date: Fri Aug 27 15:23:20 2010 -0400
s3-dcerpc: Implement DCERPC_AUTH_TYPE_KRB5 server side
Signed-off-by: Günther Deschner <gd at samba.org>
commit 36fdb211a6f2cfa7c939dc40df5094019c6e977f
Author: Simo Sorce <idra at samba.org>
Date: Wed Aug 25 16:21:51 2010 -0400
dcerpc-gssapi: add function to retrieve client name
Signed-off-by: Günther Deschner <gd at samba.org>
commit d15d76af5f169d27eeecab909174b67f7b44d0ee
Author: Simo Sorce <idra at samba.org>
Date: Sat Aug 21 10:59:52 2010 -0400
dcerpc-gssapi: add function to extract authtime
Signed-off-by: Günther Deschner <gd at samba.org>
commit 6c80e04120542624438e4ca015bdaca45e4baee3
Author: Simo Sorce <idra at samba.org>
Date: Fri Aug 20 09:30:49 2010 -0400
dcerpc-gssapi: add function to extract authorization data (PAC) form gssapi context
Signed-off-by: Günther Deschner <gd at samba.org>
commit fb1aef085e0ae52869bb3906e803e10951da5781
Author: Simo Sorce <idra at samba.org>
Date: Fri Aug 20 09:31:07 2010 -0400
dcerpc-gssapi: add function to check flags
Signed-off-by: Günther Deschner <gd at samba.org>
commit e6ed1dc249f6a1a536efcd7519bc9d9bd5c180dd
Author: Simo Sorce <idra at samba.org>
Date: Fri Aug 20 04:45:56 2010 -0400
dcerpc-gssapi: add initial server side code
Signed-off-by: Günther Deschner <gd at samba.org>
commit b31f75d8f6dbfcad4438262eeb3ecda165f72fae
Author: Simo Sorce <idra at samba.org>
Date: Thu Aug 19 11:25:32 2010 -0400
s3-dcerpc: add krb5 helpers
Signed-off-by: Günther Deschner <gd at samba.org>
commit 26e24928b368071909883e345e775f8615e61154
Author: Simo Sorce <idra at samba.org>
Date: Sat Aug 21 10:50:05 2010 -0400
s3-krb: Reformat and add doxygen comment to decode_pac_data()
Signed-off-by: Günther Deschner <gd at samba.org>
commit 43d0ef11752a2e9b55c8b45ce5ec503f28625f10
Author: Simo Sorce <idra at samba.org>
Date: Wed Aug 25 16:22:03 2010 -0400
rpcclient: support starting sign/seal with krb5/spnego
Signed-off-by: Günther Deschner <gd at samba.org>
commit f3501cf8488c77a896b56fb33bfbb68ee13cb1e9
Author: Simo Sorce <idra at samba.org>
Date: Thu Aug 26 18:49:49 2010 -0400
s3-smbd: use make_server_info_krb5() in smb2 too.
Signed-off-by: Günther Deschner <gd at samba.org>
commit a413a86daa25a277ddb068ed5606a604d62d70ef
Author: Simo Sorce <idra at samba.org>
Date: Thu Aug 26 18:49:28 2010 -0400
s3-smbd: use make_server_info_krb5()
Signed-off-by: Günther Deschner <gd at samba.org>
commit 08a8e25d6bfc559b56250efcce8e73845de23194
Author: Simo Sorce <idra at samba.org>
Date: Thu Aug 26 18:48:46 2010 -0400
s3-auth: add helper to get server_info out of kerberos info
Signed-off-by: Günther Deschner <gd at samba.org>
commit ce60d6d9cf3ebc6b071ebd944047f7cbc2b9e2ec
Author: Simo Sorce <idra at samba.org>
Date: Thu Aug 26 17:59:17 2010 -0400
s3-smbd: User helper function to resolve kerberos user for smb2
Signed-off-by: Günther Deschner <gd at samba.org>
commit 94adbf37263b9d5e4adca5e5adf38a3255f205da
Author: Simo Sorce <idra at samba.org>
Date: Thu Aug 26 17:58:52 2010 -0400
s3-smbd: Use helper function to resolve kerberos user
Signed-off-by: Günther Deschner <gd at samba.org>
commit b9772a4886fa5137574a1ba0734fa1e30343283b
Author: Simo Sorce <idra at samba.org>
Date: Thu Aug 26 17:57:26 2010 -0400
s3-auth: Add helper function to retrieve the unix user from a kerberos ticket
Signed-off-by: Günther Deschner <gd at samba.org>
commit fc79f358eb6a1dd7ed2e5f5b1e31fb664a182595
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 10:45:52 2010 +0200
docs-xml/vfs_gpfs: document 'gpfs:refuse_dacl_protected'
metze
commit 4d76c18f78742ba92b4772037ac306b567351ca1
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 10:31:38 2010 +0200
docs-xml/vfs_gpfs: document 'gpfs:merge_writeappend'
metze
commit 6cf66a04ad690e78311411e2195b3a1710953262
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 10:24:52 2010 +0200
docs-xml/vfs_gpfs: document 'gpfs:winattr'
metze
commit a8a704001e5da10fae5df5fc2856d06250739248
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 10:12:41 2010 +0200
docs-xml/vfs_gpfs: document 'gpfs:getrealfilename'
metze
commit 196699a6a1412687f7d5fe24c506577002dd769e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 09:29:46 2010 +0200
docs-xml/vfs_gpfs: document 'gpfs:leases'
metze
commit d35d846db14a4bb28a97a7bab6dbfdbe7a62b593
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 30 09:01:21 2010 +0200
docs-xml/vfs_gpfs: document 'gpfs:sharemodes'
metze
commit 0e87461dfb90a17d2774572ebd04650decf1c8da
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Aug 30 02:40:04 2010 +0300
s4-drs-test: Skip a check that may possibly fail
This check may fail due to automatic replication between DCs
during the test execution.
Ideally we should block automatic replications (somehow)
during this test. But until then, we need just to skip
this check, it is not *that* important anyway
commit 5c5e5ff6077d544fc6a75f423ff6f14715fb4256
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Aug 29 19:47:40 2010 +0300
s4-util: Print more informative error messages in 'net drs replicate'
commit 0007203978eaf3b570d00862a95fecd1193e3f85
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Aug 29 17:17:47 2010 +0300
s4-drs-test: Use dns hostnames to run 'net drs replicate' command
commit 11a3d78951c897c46264203daaad12a3ead5cf8c
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 25 10:05:15 2010 +0200
librpc/ndr: correctly implement ndr_charset_length()
Before we ignored the charset type.
metze
commit e3108101fa38a9f97c440e8d4b698949e88d2b53
Author: Jeremy Allison <jra at samba.org>
Date: Sun Aug 29 15:39:15 2010 -0700
s3:smbd: s/sa_len/sa_socklen , because sa_len is a macro on IRIX
(Originally from Metze's db6d1c6276e1435e92e190ee9a80de55ca28561d
commit in master). Modified for 3.6.x.
Jeremy.
commit fbf3d03550495df58adeb291a44776270d6cf01d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 29 23:13:46 2010 +0200
s3: Fix an uninitialized variable
commit f687d43454cfc3bd293adfbb942358794c780b56
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 29 23:13:34 2010 +0200
s3: Fix the build without cluster
commit e466bb4af45175a3fe1d6dff54c10d81c4e68257
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 17:25:22 2010 +0200
s3: Remove smbd_server_fd()
This breaks the perfcol_onefs() build.
Tim, Steve, this use of smbd_server_fd is replacable by calls into
substitute.c. I don't have a onefs environment around to build a fix, so I've
decided to insert an #error, making it not compile. The fix should be pretty
obvious, you can get the socket data via "%I" and "%i" substitutions.
commit e784e160ec899a32b673dfaa77fa12c8f27d296c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 17:21:07 2010 +0200
s3: Remove two uses of smbd_server_fd()
Actually, this is a bit cheating. But those two files depend on
smbd_server_conn anyway, it does not make things worse.
commit 5a6be0b3149e43bad14bb75c308ced904909dc58
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 17:19:42 2010 +0200
s3: Remove smbd_server_fd() from srv_netlog_nt
This is not actually used. If it was to be activated, we'd have to pass in a
pipes_struct.
commit 744cc264517ac440d606570f6e36b8aa1ba836f3
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 17:16:08 2010 +0200
s3: Remove smbd_server_fd() from smbd_register_ips
commit 5bbc4df1680342a5d0678462bac66d5e536219f6
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 17:12:43 2010 +0200
s3: Lift smbd_server_fd() from msg_release_ip()
commit 467208e9f417158e97941ddabcec001fac36ab3a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 17:09:56 2010 +0200
s3: Lift smbd_server_fd() from release_ip()
commit 64323839261f66cfcb81e524e727c129961c573c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 16:58:54 2010 +0200
s3: Remove a use of smbd_server_fd() in smbd main()
The effect this might have is that we set the socket options a bit later in
inetd mode.
commit 70df6fcb2ad99b173ec80bc4b678537dcac036c0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 16:57:51 2010 +0200
s3: Pass sconn to check_reload
This removes a use of smbd_server_fd()
commit babfe237171b0dc7561da0a0867d4b9bef2ee872
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 16:56:47 2010 +0200
s3: Pass sconn instead of msg_ctx to housekeeping_fn
commit 4a58c640cce3b37d5eef62caddd15f64ef8befbe
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 16:33:00 2010 +0200
s3: Set the client_id in substitute.c once
This never changes during a client connection's life, so we can set it
once.
commit 8d256b8f30e726bec6755712121840d3a4c9b620
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 16:19:31 2010 +0200
s3: Remove some uses of smbd_server_fd()
The change in behaviour is that we don't detect "socket option" changes anymore
when printers are added or removed.
commit 291526b9cf54bab0e099896ebb668d24d151b5ab
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 16:18:07 2010 +0200
s3: Remove a use of smbd_server_fd
This disables different socket options per user for ntlmssp authentiation, a
change in behaviour which is exotic enough I believe.
commit b5ed9c2c4d7cec930a9bb4d1a79561d012879bd1
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Aug 28 20:02:13 2010 +0300
s4-kcc: Notify dreplsrv that Topology has changed
commit b954834ad1a60f006d0d391f17edbcaac9ed48f2
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Aug 28 20:00:39 2010 +0300
s4-dreplsrv: Implement irpc stub to be used to force dreplsrv to update internal cache
This IRPC calls is to be used whenever repsFrom/repsTo are
changed by administrative tool or KCC (i.e. Topology changes).
At present, only KCC may change topology.
commit 53551a76c5b6bdcbb2e039ee98f4a712fbc6e8cb
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Aug 28 02:26:00 2010 +0300
s4-dreplsrv: Move partition cache update before scheduling another set of replications
commit d15a7d9099f4eef8e1a82d0935cca8cfab542e5c
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Aug 28 01:30:09 2010 +0300
s4-testenv: Synchronize DCs after 'net vampire'
During 'net vampire', vampired DC adds information in its own
database, se we need to force replicate vampired_dc to the
first DC to be sure everything is in sync prior starting tests
commit a052497c7427ba7212fbc6a5d0053990dcf0c0dc
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Aug 27 17:25:56 2010 +0300
s4-kcc: Assert when unexpected repsFromToBlob version is passed
At present we only support v1 structures (Win2k3 and earlier),
so it is good to make it obvious.
In case we start supporting v2 we will be able to notice this
function should be refactored right away
commit d1d2997b0efaadb9017b7bfe97c280fe9520e6dd
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 15:11:53 2010 +0200
s3: Remove an unused macro
commit 0a8d49575c77e3ef84d6fa6d346035a2dfbc8039
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 12:41:27 2010 +0200
s3: Remove some references to smbd_server_fd()
commit 15d0d9bcfbc1489725082a4e860f9d403a874d4d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 14:15:31 2010 +0200
s3: Fix a (highly unlikly) memleak in set_local_machine_name()
commit 460597dea16f2b5f8a4f9c6cf54b8c26bf94ed6d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 14:13:54 2010 +0200
s3: Fix some DEBUGs
commit 755ef5cf1159f4af40e763ab797be8fcaa0c6d37
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 14:05:20 2010 +0200
s3: Remove smbd_server_fd() from set_local_machine_name()
commit 5e58156654759674d1a93208302c4d4c8f4c258c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 13:10:30 2010 +0200
s3: Fix a typo
commit 0f83aa865090bfaf06add6a9e8b7215ab1db7d95
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 27 15:36:38 2010 +0200
s3: Remove the dependency of g_lock on procid_self
procid_self() references global vars, don't depend on them unnecessarily
commit 520c5aae40ce882b8c5c020eb728d4198106d6b7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 21 14:59:14 2010 +0200
s3: Remove smbd_server_conn() from check_unix_security
commit 92fd03c5f08055283af55f5a1dffaf84edb7e9ce
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 21 14:57:16 2010 +0200
s3: Lift smbd_server_fd() from pass_check()
commit a3995ef31cfbd798921bf5fd34721b4251e173be
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 21 14:52:16 2010 +0200
s3: Lift smbd_server_fd() from password_check()
commit 2257a0cd86cf9bf187b08066b21db948709dd95d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 21 14:42:24 2010 +0200
s3: Fix some nonempty blank lines
commit 636d1079891c898d62fe2567a8ac7c3d10df1c08
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 13:04:09 2010 +0200
s3: Fix smb_pam_passcheck
commit 831611e221d82b8074727fb8e948d0cbe3eb6f0a
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 25 11:12:16 2010 +0200
pidl:Samba4/NDR/Client: support argument based stubs for [in,out,string]
metze
commit 94faf0ccbe061681de0a529b5cfd61da10d5226a
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 25 11:02:52 2010 +0200
pidl:NDR: [in,out,string] doesn't need to pointers
metze
commit aa3b75ad1fa60dbf1ea3bd61782c59b39020b2e3
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 25 11:07:29 2010 +0200
pidl:Samba4/NDR/Client: correctly copy [out,charset()] buffers
If the conversion from CH_UTF16 to CH_UNIX uses multi-byte characters
in CH_UNIX, we should not silently truncate the string, but return
an error.
metze
commit eeebaa63f1fe85fe9d58bad50920432263de84c0
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 25 11:13:08 2010 +0200
pidl:Samba4/NDR/Client: fix skip reason for unsized arrays
metze
commit 8e6f67392998d09073aa04932a4c838e264a56ce
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 28 09:42:10 2010 +0200
selftest/Subunit.pm: fix perl warnings
Argument "\n" isn't numeric in numeric ne (!=) at selftest/Subunit.pm line 136
metze
commit 67522702ac96b8432c7ccabeaa162a5a88b5780f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 28 12:54:22 2010 +0200
s3: Those functions are no macros anymore :-)
commit a6111c2a7b9b6d8d4b6dec91072743683f9cae8c
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 28 08:38:48 2010 +0200
lib/util: remove implicit discard_const_p() from SAFE_FREE()
This should fix a lot of warnings on IRIX.
If callers know what they're doing they can use discard_const_p()
on their own.
metze
commit db6d1c6276e1435e92e190ee9a80de55ca28561d
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 28 08:27:08 2010 +0200
s3:smbd: s/sa_len/sa_socklen , because sa_len is a macro on IRIX
metze
commit 8494d09b894f65b1f948c47710137946075bcfec
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 28 08:25:19 2010 +0200
Revert "lib/tsocket: sa_socklen is a macro on irix, so better use sasocklen"
This reverts commit 3d4fb698660381e650d7caeb5b7cff12847c0fb8.
This was wrong... The problem was in the caller, sa_len is a macro on irix
metze
commit 6d4dead973d5124fc70e541d4b0630e23decd682
Author: Jeremy Allison <jra at samba.org>
Date: Fri Aug 27 15:25:04 2010 -0700
Fix bug #7653 - When SMB2 is on, Windows 7 clients can not connect as guest to a share.
Fix "security = share" with SMB2 by mapping internally
to "security = user" and "map to guest = Bad User".
Jeremy.
(cherry picked from commit 04f021e69227a9c8094a5d617f53f3a1887e2da3)
commit 04f021e69227a9c8094a5d617f53f3a1887e2da3
Author: Jeremy Allison <jra at samba.org>
Date: Fri Aug 27 15:25:04 2010 -0700
Fix bug #7653 - When SMB2 is on, Windows 7 clients can not connect as guest to a share.
Fix "security = share" with SMB2 by mapping internally
to "security = user" and "map to guest = Bad User".
Jeremy.
commit 9322fa4077a9c15c9b5431ac2369b50bfffbb73d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 21 14:41:01 2010 +0200
s3: Lift smbd_server_fd() from smb_pam_passcheck
commit 26ee30585dbffd7e887c48ddf0900fe0afd90e47
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 21 14:38:11 2010 +0200
s3: Lift smbd_server_fd() from smb_pam_start
smb_pam_passcheck() is the only caller that fills in NULL, all other callers
now properly fill rhost
commit 619c348ba325961c23dd7883bbaf33e7a99846e6
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 21 14:48:28 2010 +0200
s3: Pass "private_data" through string_combinations()
commit ef334b95faaa8b8d97ff091299c454dfc8fd390c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Aug 27 19:02:49 2010 +0200
s4:torture/rpc/winreg.c - set "error_message" to NULL in "test_HKLM_wellknown"
Hopefully this fixes the build on Solaris 8.
commit e736ace470cec34fe51ee0a7b03981ab9b16d6cd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Aug 26 22:48:27 2010 +0200
s4:torture/spoolss_access.c - fix discarded const warning
"discard_const_p" seems the most appropriate here.
commit a133d83607ce9db9a4725b170001e934648150da
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Aug 26 22:43:05 2010 +0200
s4:torture/raw/notify.c - freeable stuff shouldn't be "const"
commit 4def6775b56242590b4f7d9cb0f5b0442e33248f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Aug 26 22:35:09 2010 +0200
s4:ntvfs/posix/pvfs_*.c - quiet Solaris warnings
Fix the function argument of "pvfs_xattr_ndr_load/save".
commit e4afcd62bccf04f2afc779d7292f49e10c29b970
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Aug 26 22:30:04 2010 +0200
s4:credentials_krb5.c - quiet a Solaris warning
commit 03bfeb96c9391d9e08b50b1133e5674256fe4b90
Author: Volker Lendecke <vl at samba.org>
Date: Fri Aug 27 14:44:16 2010 +0200
s3: Cache results of finding printer names
With hundreds of printers or on a slow machine, this can become expensive.
Problem reported and patch sponsored by DESY, Hamburg (www.desy.de)
commit e8cfc2f1de4b60f192a391dd02e405a152a7d5a6
Author: Volker Lendecke <vl at samba.org>
Date: Fri Aug 27 14:44:16 2010 +0200
s3: Cache results of finding printer names
With hundreds of printers or on a slow machine, this can become expensive.
Problem reported and patch sponsored by DESY, Hamburg (www.desy.de)
commit 44b2a7941c1da4c565cb14bae7acc355787ecc6e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 27 11:42:05 2010 +0200
lib/tsocket: sa_socklen is a macro on irix, so better use sasocklen
metze
commit 8e1d3b5f8fe4b5bbb61a357e9db62adad7d767f1
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 18 19:51:45 2010 +0200
s3: Pass rhost through to smb_pam_passchange
commit 6bcab329e7d5d3c6a6f02f3ebdfe397bc18bb521
Author: Sumit Bose <sbose at redhat.com>
Date: Fri Aug 27 11:29:08 2010 +0200
s3-waf: build samldap passdb backend
Signed-off-by: Günther Deschner <gd at samba.org>
commit c679290f6e942c44dac7c0bf8105a27d9260d5a8
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Fri Aug 27 12:34:27 2010 +0300
s4-dsdb: Fixed a compiler warning.
commit f87ecd7e2e3d5adb37c7c4d3bdabd98bd3c84f4e
Author: Volker Lendecke <vl at samba.org>
Date: Fri Aug 27 10:29:26 2010 +0200
s3: source/ is long gone :-)
commit c9e3640afeaa7684f2f05fc697592f116e74935a
Author: Volker Lendecke <vl at samba.org>
Date: Fri Aug 27 10:29:26 2010 +0200
s3: source/ is long gone :-)
commit bdab6c36e84178b361b77ad0ee70757df6aca26a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Aug 27 03:38:46 2010 +0200
s4-pynet: pynet depends on pyrpc_util
commit 64552e11dd4435ebd85a0c291987457a99d7fe50
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Aug 27 02:17:26 2010 +0200
pyrpc: Add py_check_dcerpc_type().
This function checks whether the type of a PyObject matches a
DCE/RPC Python type.
Pair-Programmed-With: Andrew Tridgell <tridge at samba.org>
commit f86ed5efa661734ac552556d051b82994daf9052
Author: Jeremy Allison <jra at samba.org>
Date: Thu Aug 26 16:46:45 2010 -0700
Fix bug #7651 - mknod and mkfifo fails with "No such file or directory"
Ensure we check the correct stat struct once we've created the
special fix. Thanks to izh1979 at gmail.com for pointing out the
bug.
Jeremy.
(cherry picked from commit 5115f789c007a155e34505852d847b99b7f4c886)
commit 5115f789c007a155e34505852d847b99b7f4c886
Author: Jeremy Allison <jra at samba.org>
Date: Thu Aug 26 16:46:45 2010 -0700
Fix bug #7651 - mknod and mkfifo fails with "No such file or directory"
Ensure we check the correct stat struct once we've created the
special fix. Thanks to izh1979 at gmail.com for pointing out the
bug.
Jeremy.
commit 338184fb3a3869f81ead82dcc477c87d858334d3
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 23:25:00 2010 +0200
s3-proto: remove obsolete prototypes.
Guenther
commit 33f9c078d310ffadb2392a9169d7b9341a3b7806
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 26 22:01:01 2010 +0200
s3: Fix typos
commit e1055701ff94e7cd548fae76ce479cc7278c41e7
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 18 19:57:21 2010 +0200
s3: Remove smbd_server_fd from expand_msdfs_target
commit 1991c2a8ee71dc1d6841d619ef323131c71137fa
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Aug 26 20:08:15 2010 +0200
libcli/auth/ntlm_check.c - fix parameter indentation
commit 53a32347034af180c8b767607eedd346134ab4cc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Aug 26 20:07:53 2010 +0200
s4:ntlm/auth.c - add a whitespace in a debug output
commit b11b2425a9cc919f34d7c8b1dae7b40f3cf11f08
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Aug 26 18:37:00 2010 +0200
s4:dsdb_module_find_dsheuristics - free the "DN" also on other exit cases
commit 433c08045ee96ca2e507cdec47bf9ef1dd95540e
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 15:49:17 2010 +0200
s3-selftest: do not remove nsswrapper environment when running smbtorture4.
Guenther
commit 289e0bcbd9966f42b00cfdde1b530762e1875d85
Author: Pierre Carrier <geoffroy.carrier at gmail.com>
Date: Mon Aug 23 00:53:40 2010 +0100
winbindd: Add the client status in the clients list output
Hello list,
Considered relevant by a customer.
As I suppose one doesn't send SIGUSR2 very often, I didn't bother adding another DEBUGLEVEL.
--
Pierre
commit e35fc9b4bc74c6d5153267dafdf0d27b4d90abdf
Author: Pierre Carrier <geoffroy.carrier at gmail.com>
Date: Mon Aug 23 00:53:39 2010 +0100
winbindd: useless function
Hello list,
Seems simple enough for my first patch :)
--
Pierre
commit 4b3630b7e7c843add1965b6d35b3f2020957c101
Author: Pierre Carrier <geoffroy.carrier at gmail.com>
Date: Mon Aug 23 00:53:40 2010 +0100
winbindd: Add the client status in the clients list output
Hello list,
Considered relevant by a customer.
As I suppose one doesn't send SIGUSR2 very often, I didn't bother adding another DEBUGLEVEL.
--
Pierre
commit b219bfe699ef9bfa91135808ef2ee192adf0245b
Author: Pierre Carrier <geoffroy.carrier at gmail.com>
Date: Mon Aug 23 00:53:39 2010 +0100
winbindd: useless function
Hello list,
Seems simple enough for my first patch :)
--
Pierre
commit ff2037876f80d5e49bf341bdcd1e8c13adc7b247
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Aug 26 17:37:49 2010 +0300
s4-dsdb: Removed an unnecessary space in dsdb_module_find_dsheuristics()
commit a571487e6c6774e640abb67f3cefac2dedac9044
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Aug 26 17:18:40 2010 +0300
s4-dsdb: Added utility functions for retrieving dSHeuristics from the module stack
Also a function to check dsHeuristics value to determine of anonymous access should be blocked
commit 0de795414eca3f73386a7bd731ee2d1d6f051db9
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Aug 26 17:08:01 2010 +0300
Added values for the flags in dSHeuristics
These specify the character position, while the character value of that character
controls behavior
commit 9cb771a4a05b3c204a2b0626b22a29874919b3aa
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Aug 26 17:50:13 2010 +1000
pidl-python: ensure we allocate ref ptrs before use
this fixes a crash on samba4.samr.python in the build farm
commit 331905216a22989973d00dbc612e90ffa010ff0e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Aug 26 17:41:30 2010 +1000
s4-devel: added enumprivs developer script
this enumerates all LSA privileges on a server
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 057a47130de16b3e8796a7d2dc92b2ceeddd8ab6
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Aug 26 17:32:48 2010 +1000
s4-net: fixed docstring on spn command
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d8f48c7ffc7d1abc37e1681240266240d4f69e7a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Aug 26 16:37:24 2010 +1000
s4-net: added "net rodc preload" command
this command will preload the credentials for an account from the full
domain controller
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit da366ba221e326aa1a62160d38b5d2df0b0eb780
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Aug 26 14:35:30 2010 +1000
s4-drs: split out drs utility python functions
these will be re-used by other net commands
commit 502a5313c49baf70e49b6d200acccf2860aa8aba
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Aug 26 09:45:16 2010 +1000
s4-pyrpc: convert rpc_talloc.py test to unittest framework
This fits in better with our test framework
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit d132b3fbc0ccd89ebb6741e4dd6609b807cbdee3
Author: Andreas Schneider <asn at samba.org>
Date: Thu Aug 26 11:41:05 2010 +0200
s3-build: Don't paste the summary.
The buildfarm outputs the summary if it is available and use the exit
status of the filter or subunit formatter as exit code.
commit a701484230bf1119900287326f7a57c07776e4e9
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 25 10:07:54 2010 +0200
pidl:Samba3/ClientNDR: remove unused ParseOutputArgument function
metze
commit 5f28c91c5225656f1e4974e9f4fb2ef80eaa398a
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 6 11:58:46 2010 +0200
s3:smbd: add nfs quota support to the linux-non-sysquota code
This is based on the implementation for solaris and FreeBSD.
It makes rpc calls out to the nfs server to retrieve quota
information.
(cherry picked from commit be598569bbb9dec5cb8035441ef7411ebed29991)
commit 2c00b41672a98eaf1aabf25384b19cf42b564f02
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 6 10:21:09 2010 +0200
s3:smbd: add a nfs backend for sysquotas.
This module is based on the Solaris/FreeBSD implementation
of NFS quotas in the quotas.c module.
It implements the SMB_USER_QUOTA_TYPE query of the
get_quotas call. The other types and the set_quota call
are not implemented.
(cherry picked from commit 3add3aa17de7954b01e2c9273295195438ac30e5)
commit 3c7a7bbb9a6258744523f41935f3967e48056787
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Aug 26 03:50:08 2010 +0200
subunit: Make sure "]" in failure reason ends up on its own line, so the
next subunit parser in the line parses it correctly.
commit e260965929563daad9464c599732b2ab358c9dc5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Aug 26 03:49:17 2010 +0200
manpages: Avoid using Samba-Team specific DTD, which requires net access
or modification of /etc/catalogs.
commit 64564f7338107f781d814e7721e85cc882106c2b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Aug 26 02:25:44 2010 +0200
subunithelper: Pass along lines as normal output when ignoring them for not containing commands.
commit b9b00175cd3c0449c3a48e85667bd424c4a95136
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 16 16:40:12 2010 +0200
s3-selftest: fix make oldtest (testparm_s3 tests use $LOCAL_PATH).
Guenther
(cherry picked from commit c80d4cb6fe6b02307599e0b9ad20031a3130f2f5)
commit 7de64254f54fafdd403322194e678b451759036b
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 16 13:30:00 2010 +0200
s3-smbtorture: fix printf statement in ioctl test.
Guenther
(cherry picked from commit 731604d8aeccc4b49db1a7f88a5334788a8ed4ef)
commit fc89014ddd0ad4a5bac3448d8842176478a58eac
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 16 12:08:33 2010 +0200
s3-build: always check for python.
This should fix make test. Metze, please check.
Guenther
(cherry picked from commit f24c99fba05ee24232f8047a11f09a093da7b266)
commit a6a22bbd144bceef90ed2f9cf0531a7328f79935
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 18:28:48 2010 +0200
s3-selftest: fix testparm tests as non-root.
Thanks to Andreas for pointing this out.
Guenther
(cherry picked from commit 472d2a356fe2fad8b54920d99e2829344fd646cd)
commit f265480e67500dc63d6522b73447f5787c2a35ed
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 15:43:03 2010 +0200
s3-selftest: add testparm tests to selftest.
Guenther
(cherry picked from commit b0343b2c0b4851c7bfd3e2fdec171790f09536be)
commit 1cca2cda84556ff345d2feb20215a71838e4419b
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 13:33:40 2010 +0200
s3-build: pointless to link in libads and dcutils into smbcacls.
Guenther
(cherry picked from commit 37177f1c05398e1d4a59bebcdb3cd16dd6e8382b)
commit aa2475f1fa8c63d51d1a4b9289ebcfa0d45c65e2
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 11 12:45:51 2010 +0200
s3-waf: fix the waf build with more recent MIT krb5 libs.
(such as MIT krb5 1.7.1 on fedora 13).
This whole area needs more work and love later, for now it builds at least.
Kai, please check.
Guenther
(cherry picked from commit c43e832c5160fbffb31ddd64b43dbbc8124b1ca0)
commit 3aab0c701caa885a1256b07ab5ca7f9a51c6018b
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 20 12:15:13 2010 +0200
s3-build: only include rpc_misc.h where needed.
Guenther
commit 8b4f5319efdb43cc5858424528ee5d4a9dcea730
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 19:05:59 2010 +0200
s3-build: use talloc_dict.h only where needed.
Guenther
commit 7a05ca2c9cd387a92e1ad699ae72caea55895c13
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 18:59:23 2010 +0200
s3-build: use dbwrap.h only where needed.
Guenther
commit ca765d2f50f8eff1537f70bb637918d90301acf4
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 18:45:36 2010 +0200
s3-build: only include krb5 environment variables where required.
Guenther
commit c8f811034288e45b762b51b8cfb66b021a32f5bd
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 18:36:18 2010 +0200
s3-build: only include libnscd.h where needed.
Guenther
commit 184339825dc2d27e5c9f0b66c413042b596c6375
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 18:34:01 2010 +0200
s3-build: include mangle.h only where needed.
Guenther
commit 7b6fc9f414380482bd1c9476f8404bf52aa797f1
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 18:26:17 2010 +0200
s3-dcerpc: only include rpc_dce.h where needed.
Guenther
commit d9a76054318eb2fbe2bb539d6091379814f16b0e
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 18:25:54 2010 +0200
s3-build: remove unrequired ntlmssp forward declaration.
Guenther
commit 2b41f421fd14cb2190b43dbf079c734e7024335c
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 18:13:42 2010 +0200
s3-idmap: only include idmap headers where needed.
Guenther
commit 3ef531ec34dc709479005b00f50d1daf8e65269a
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 16:51:06 2010 +0200
s3-build: no point in including doserr.h, noone uses them.
Guenther
commit b5bdcdd65e5292223fae9892eb5575b872b27591
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 16:44:47 2010 +0200
s3-build: only include "fake_file.h" where needed.
Guenther
commit c2177909187ad104d5d2e13bad0f45fb97d121e2
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 15:22:09 2010 +0200
s3-nmbd: move nmbd proto out of main proto.h
Guenther
commit 7ff7eb0b5299f90a313986bfc547f48ef9f8dc9c
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 12:42:49 2010 +0200
s3-build: only include nsswitch header where needed.
Guenther
commit 08eff4d311ef3dd4973645e28a7669db4c383cad
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 12:26:53 2010 +0200
s3-build: remove unrequired forward declaration for struct printjob.
Guenther
commit aba1bf4b5e1bf82f769c3c545578414202c74106
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 12:24:35 2010 +0200
s3-build: only include memcache.h where needed.
Guenther
commit c5ffecb136225dba294327cc3a437e5f17475253
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 00:13:55 2010 +0200
s3-build: further rationalise LIBMSRPC_OBJ and remove RPC_CLIENT_OBJ.
Guenther
commit 6a795dd14674bfa2f6fe5206a9237f867c48e875
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 00:13:00 2010 +0200
s3-waf: further rationalise LIBMSRPC_SRC and remove RPC_CLIENT_SRC.
Guenther
commit d6949f58fa82196fc67a87e6bf47a5c05698a734
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 00:05:34 2010 +0200
s3-build: remove RPC_CLIENT_OBJ1.
Guenther
commit 75e55f9535d3a66933c901658c61e1fdaa596515
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 00:05:16 2010 +0200
s3-waf: remove RPC_CLIENT_SRC1.
Guenther
commit a52fde4f944bf8cfa2dd69498bdf6da8e39c0139
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 00:03:42 2010 +0200
s3-build: use LIBMSRPC_OBJ instead of single files.
Guenther
commit 1217c4f48490e85ac953a3f285b0d9bacda0f243
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 26 00:03:15 2010 +0200
s3-waf: use LIBMSRPC_SRC instead of single files.
Guenther
commit 0b05e32f92cfc64de1c3ce02d1eb3ab4f8d5a25f
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 20 00:11:33 2010 +0200
s3-waf: only link in samr util code where needed.
Guenther
commit 4991af46d75018c31ec80dc28c3eabd6e541b8ab
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 20 00:10:14 2010 +0200
s3-build: only link in samr util code where needed.
Guenther
commit ecf32c851a9b40d1f280e57770f8126420e52f86
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 19 16:18:10 2010 +0200
s3-build: remove RPC_PARSE_OBJ.
Guenther
commit 83dc8314f1a688dc43ae5129fb7b1edb74670202
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 19 16:25:55 2010 +0200
s3-waf: remove RPC_PARSE_SRC.
Guenther
commit 88720f80c5682ae8043f2c0558cc43354ad472b7
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 25 23:53:24 2010 +0200
s3-build: only link in epmapper client code where needed.
Guenther
commit 4d78984570223a803353490b1fa39793ba9b98b3
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 17 00:59:23 2010 +0200
s3-waf: only link in epmapper client code where needed.
Guenther
commit ff5ab04882b1ae5940b0e9f41174d6e4e4b8f863
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 25 23:15:52 2010 +0200
s3-build: only link in netlogon client code where needed.
Guenther
commit 13cff589178fdb03dfa35113930e85c50e368494
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 25 23:14:33 2010 +0200
s3-waf: only link in netlogon client code where needed.
Guenther
commit 0ed16e94c374efb06650f741827bcbed85f1af59
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 17 00:46:25 2010 +0200
s3: separate out cli schannel functions that depend on cli_netlogon.
Guenther
commit 064826c4d17f71e30386ff775935f86dd426f124
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 12:32:53 2010 +0200
s3-build: only link in samr client code where needed.
Guenther
commit 6810ead40dc216c17c6ba1a9731d2598bf342c6d
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 12:27:20 2010 +0200
s3-waf: only link in samr client code where needed.
Guenther
commit 1895d669c260dfd0632d8ff88759bfd407286fa1
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 19:13:16 2010 +0200
s3-build: only link in lsa client code where needed.
Guenther
commit c107c662030d8874d4e359a1ec5075b4bfa6c39a
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 19:06:57 2010 +0200
s3-waf: only link in lsa client code where needed.
Guenther
commit 562c5999ec636227a3b66bba314481f8367df90a
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:58:49 2010 +0200
s3-build: only link in srvsvc client code where needed.
Guenther
commit 0d0deba7bc8a8b1d7cdfa54f25111d9002ca50ee
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:52:23 2010 +0200
s3-waf: only link in srvsvc client code where needed.
Guenther
commit 0ae0ca062bb040cc317cc767f37bfa693fb498a1
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:47:51 2010 +0200
s3-build: only link in wkssvc client code where needed.
Guenther
commit cfca94656a182522e1c36feda3455a05277cf486
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:47:38 2010 +0200
s3-waf: only link in wkssvc client code where needed.
Guenther
commit 2190386518d9f10f754f91785b1f78b584f3cf4b
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:42:06 2010 +0200
s3-build: only link in svcctl client code where needed.
Guenther
commit 03269d678351ea14cfede4d30291ca1bde294ff8
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:41:45 2010 +0200
s3-waf: only link in svcctl client code where needed.
Guenther
commit 9a195fd2330c13b3e9cb4029d41f640e85738d14
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:36:16 2010 +0200
s3-build: only link in dssetup client code where needed.
Guenther
commit 2d72cab5d088fb87e23eebe45cea6735a2770712
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:36:06 2010 +0200
s3-waf: only link in dssetup client code where needed.
Guenther
commit 5c8b54820bf8b57977c38536a5a3e6c76c21dfe2
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:30:57 2010 +0200
s3-build: only link in initshutdown client code where needed.
Guenther
commit e25e9bec2489fe9ac13b59747ec1786969166889
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:30:46 2010 +0200
s3-waf: only link in initshutdown client code where needed.
Guenther
commit f97ff9d440316416eb91e30a48bffdf2aa207610
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:22:31 2010 +0200
s3-build: only link in echo client code where needed.
Guenther
commit 3b24db6bf8fd0e9e8ff21cf4578256f8462d26ef
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 18:22:19 2010 +0200
s3-waf: only link in eventlog echo code where needed.
Guenther
commit 0f10349f14e2439dedc2448d3649a5fea53c9dd4
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:50:37 2010 +0200
s3-build: only link in dfs client code where needed.
Guenther
commit 09b973f6bb9801c75cf623019b4b6b830ec8fae0
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:47:48 2010 +0200
s3-waf: only link in dfs client code where needed.
Guenther
commit a66bb0d8ec40208020b4ce8cf80e110ec8e2a5e2
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:45:54 2010 +0200
s3-build: only link in drsuapi client code where needed.
Guenther
commit bd22ef79c2a8167da0783f9759fd7df63554a146
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:42:59 2010 +0200
s3-waf: only link in drsuapi client code where needed.
Guenther
commit 4dbb682bc5ee9b1893ad815b710aac46d5bf94db
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:40:18 2010 +0200
s3-build: only link in ntsvcs client code where needed.
Guenther
commit 1a00dd4aa7372e9ca9066b28f1ff7aaa7ce3d3a4
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:38:09 2010 +0200
s3-waf: only link in ntsvcs client code where needed.
Guenther
commit 50df1c6f8726f5f34c6031c70ae3df7026f949f4
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:35:24 2010 +0200
s3-build: only link in winreg client code where needed.
Guenther
commit ad855c0970c939da7bfe719a4707cf7f39eff330
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:31:40 2010 +0200
s3-waf: only link in winreg client code where needed.
Guenther
commit 2af95fc88b95e0c251ef6df8084ac55ad73ade1a
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:28:48 2010 +0200
s3-build: only link in eventlog client code where needed.
Guenther
commit dc663295d19357773a0c5d990f50be831a1e76e8
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:19:59 2010 +0200
s3-build: only link in spoolss client code where needed.
Shrinks a lot of binaries by 1 MB each.
Guenther
commit 72f30e82e406ae3690c0d324b844fc6b3a4c02c4
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:19:24 2010 +0200
s3-waf: only link in spoolss client code where needed.
Shrinks a lot of binaries by 1 MB each.
Guenther
commit e978a3d3f4974753f09fbafdd0cf3ad15209911f
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 19 23:15:22 2010 +0200
s3-lsa: separate out init_lsa headers.
Guenther
commit aa54d239e2abee69f68be554e018fa578f4178af
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 25 23:04:11 2010 +1000
s4-pynet: some systems don't have Py_TYPE()
we need a better method than this ....
commit e69b13ccdd008c792f8856a121b188cb11a9afa8
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 25 15:21:36 2010 +1000
s4-pyrpc: added a test for talloc behaviour in pidl python code
commit 717ee453dd72511bab2b7fc0e9712e67e5870421
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 25 15:21:08 2010 +1000
s4-pyglue: added talloc_total_blocks() python call
commit ba5b3fb2480af2b3f8b5b69e4c161af07241e0c4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 25 14:33:17 2010 +1000
s4-rodc: removed python memory workaround
we can now assign pidl generates structures directly without errors
commit 4f8087cdb95c6036358a41398d73c3ad90c5755c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 25 14:32:38 2010 +1000
s4-python: reference substructures onto the parent structure
when a python object that is part of a parent structure is created, we
should reference it on the parent structure. This ensures that when
the child object goes out of scope that the parent structure is still
valid
commit 634e06e465be7a8921cb95884ec427f48bf812da
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 25 14:29:59 2010 +1000
pytalloc: fixed py_talloc_steal()
py_talloc_steal() was implemented as a macro which evaluated it's 2nd
argument twice. It was often called via a macro with a 2nd argument
that was a function call, for example an allocation in
py_talloc_new(). This meant it allocated memory twice, and leaked one
of them.
This re-implements py_talloc_steal() as a function, so that it only
does the allocation once.
commit 9218de4b740427a5f381be59ab00a21b0690fb9e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 25 12:34:30 2010 +1000
s4-pyglue: pyglue now depends on pytalloc
commit 956341965cee91632aa1a93dd6f9bde453ae1720
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 25 12:34:15 2010 +1000
s4-rodc: setup secrets database at end of RODC join
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5a367f641ef44a4b58eaea751146a139c70f4afd
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 25 12:33:38 2010 +1000
s4-pyglue: added talloc_report_full() and talloc_enable_null_tracking()
these are useful for tracking down leaks and bugs in python scripts
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit cb0f8f0ee087475e63bcc969cf501ce9eae9c98f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 25 12:32:48 2010 +1000
s4-repl: load RODC partitions using msDS-hasFullReplicaNCs
we mark these as incoming_only
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d78417a5d66f9d7a6d282baa6968eb9ba902328e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 25 12:31:32 2010 +1000
s4-pytalloc: use better names for python talloc objects
commit be598569bbb9dec5cb8035441ef7411ebed29991
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 6 11:58:46 2010 +0200
s3:smbd: add nfs quota support to the linux-non-sysquota code
This is based on the implementation for solaris and FreeBSD.
It makes rpc calls out to the nfs server to retrieve quota
information.
commit 3add3aa17de7954b01e2c9273295195438ac30e5
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 6 10:21:09 2010 +0200
s3:smbd: add a nfs backend for sysquotas.
This module is based on the Solaris/FreeBSD implementation
of NFS quotas in the quotas.c module.
It implements the SMB_USER_QUOTA_TYPE query of the
get_quotas call. The other types and the set_quota call
are not implemented.
commit 896f3c8a49864ff022ac2d32a81f5b4ce53fd16b
Author: Sumit Bose <sbose at redhat.com>
Date: Tue Jun 22 15:06:27 2010 +0200
s4-smbtorture: Added a torture test for forest trusts
Signed-off-by: Günther Deschner <gd at samba.org>
commit 75e334fb615136b9431bc6334bd479b671db1c85
Author: Sumit Bose <sbose at redhat.com>
Date: Tue Jun 29 16:24:36 2010 +0200
s4-smbtorture: Make test_SetupCredentials3 public
Signed-off-by: Günther Deschner <gd at samba.org>
commit df7c7185fd61646efcbb506557078547c58f7b97
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 04:07:01 2010 +0200
s4-smbtorture: fill in trust_domain_passwords_check_in in NDR lsa test.
Guenther
commit 18b0a52b89457187f14e8003c72da56e6e661988
Author: Sumit Bose <sbose at redhat.com>
Date: Mon Aug 23 16:14:58 2010 +0200
Fix RPC-LSA-TRUSTED-DOMAINS for changed IDL
commit e2f15d2a25302ee529006b2d1d6b99993c7102e8
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 04:06:48 2010 +0200
s4-trusts: fix trustDomainPasswords drsblobs IDL and server side support.
Also remove bogus trustCurrentPasswords struct which we just had because our IDL
was incorrect.
Guenther
commit 2eff142cce536a8966e63bdf9e514bc22d03acc4
Author: Andreas Schneider <asn at samba.org>
Date: Wed Aug 25 11:17:33 2010 +0200
s3-build: Use a wrapper script to run the tests.
This fixes the buildfarm and returns the correct exit code of selftest.
commit f42af4ea6810c65a37eec08e08acb5d831457bca
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 24 23:37:57 2010 +1000
s4-dsdb: make more of the UF_* flags available on pydsdb
this really should be moved to IDL
commit 64bf637edfc0dbc4a1856aee894ecb2e37c54d93
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 24 23:37:25 2010 +1000
s4-rodc: broke up RODC join into separate functions
this also removes some of the magic constants
commit e3c0409c7a22d8412a74436aa5733bc527730b5a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 24 22:10:46 2010 +1000
s4-rodc: added REPL_SECRET exop replication of accounts
During a RODC join, we need to fetch the secrets for the machine
account and krbtgt account using GetNCChanges
DRSUAPI_EXOP_REPL_SECRET calls
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 4ab1a489c74079644c1fce5df1ced5a0bbbc9f39
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 24 22:09:18 2010 +1000
s4-dsdb: add more DS flags to the dsdb module
These are from libds/common/flags.h
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 8438da96ba632671327506423239169402917c51
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 24 22:08:27 2010 +1000
s4-dsdb: added get_attid_from_lDAPDisplayName() on samdb
This can be used to form the partial_attribute_set list for
GetNCChanges
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 495bd182f5e26cbcb721ab8209f8acad4d612726
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 24 15:42:54 2010 +1000
s4-rodc: next step in RODC join code
a RODC net join can now replicate the schame, config and base
partitions, by calling the net.replicate*() python hooks, and driving
the GetNCChanges calls from python
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 4cacdf00020c808ae8e3ef59378da682ce346133
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 24 15:41:40 2010 +1000
s4-pynet: added replicate_init() and replicate_chunk() calls
these calls allow python code to pass chunks from DRS replication
calls into the code that applies the chunks to a database
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 631c5f1fd5e77a6d380df3bc83dc166d902315af
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 24 15:40:42 2010 +1000
s4-libnet: added libnet_vampire_replicate_init()
this is used to setup for later calls to the replicate chunk functions
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e5a5ca028e645d2852a2a063730d4f51a3ee84b1
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 18:59:47 2010 +1000
idl-nbt: fixed typo
commit 4606373dd1b27ef23605754378e75af407c393af
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 24 21:40:25 2010 +0200
s3: Make char_flags and base_reverse const arrays
This moves those arrays from dynamic to static, shared memory, removing them
from globals.c.
I did it by dumping the result of init_tables() with dump_data(). Some massage
by an editor macro made it the initializer.
(cherry picked from commit d3a0ff311e07b1080f33319d521217aa48b483e3)
commit d3a0ff311e07b1080f33319d521217aa48b483e3
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 24 21:40:25 2010 +0200
s3: Make char_flags and base_reverse const arrays
This moves those arrays from dynamic to static, shared memory, removing them
from globals.c.
I did it by dumping the result of init_tables() with dump_data(). Some massage
by an editor macro made it the initializer.
commit 2d81721a3fd9aa0cfdb2501cbcdd6eedc78c15c3
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 24 20:47:29 2010 +0200
s3: Move "trans_num" to smbd_server_connection
commit 1808dd0a854f0cf95718da28a9fc58134af04d83
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 24 20:10:20 2010 +0200
s3: Make srv_send_smb take an sconn instead of a sock fd
commit 859f29d5622ef938a33e61ef2824940f46509fbf
Author: Björn Jacke <bj at sernet.de>
Date: Tue Aug 24 11:07:38 2010 +0200
pam: fix unused variable warning
(cherry picked from commit aa830cde6a44187149c207085acdb75fe4e8e343)
commit aa830cde6a44187149c207085acdb75fe4e8e343
Author: Björn Jacke <bj at sernet.de>
Date: Tue Aug 24 11:07:38 2010 +0200
pam: fix unused variable warning
commit d55e7e52f16c673ad2190e21b5b4b3873cf2551d
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 24 03:04:41 2010 +0200
s4-waf: try to fix the s4 wbinfo build dependencies.
Guenther
commit 79d16843acdfe72a73ba175604cdff0a3c4e2e19
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 23 16:02:23 2010 +0200
s3-dcerpc: avoid talloc_move on schannel creds in cli_rpc_pipe_open_schannel_with_key().
Initially, the schannel creds were talloc memduped, then, during the netlogon
creds client merge (baf7274fed2f1ae7a9e3a57160bf5471566e636c) they were first
talloc_referenced and then later (53765c81f726a8c056cc4e57004592dd489975c9)
talloc_moved.
The issue with using talloc_move here is that users of that function in winbind
will only be able to have two schanneled connections, as the cached schannel
credentials pointer from the netlogon pipe will be set to NULL. Do a deep copy
of the struct instead.
Guenther
(cherry picked from commit 898c6123355a3a11ec17f0396c4cb3018c75c184)
commit 898c6123355a3a11ec17f0396c4cb3018c75c184
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 23 16:02:23 2010 +0200
s3-dcerpc: avoid talloc_move on schannel creds in cli_rpc_pipe_open_schannel_with_key().
Initially, the schannel creds were talloc memduped, then, during the netlogon
creds client merge (baf7274fed2f1ae7a9e3a57160bf5471566e636c) they were first
talloc_referenced and then later (53765c81f726a8c056cc4e57004592dd489975c9)
talloc_moved.
The issue with using talloc_move here is that users of that function in winbind
will only be able to have two schanneled connections, as the cached schannel
credentials pointer from the netlogon pipe will be set to NULL. Do a deep copy
of the struct instead.
Guenther
commit af953d603decf2a51d8515063343565f56d9ac98
Author: Jeremy Allison <jra at samba.org>
Date: Mon Aug 23 13:05:56 2010 -0700
Final part of fix for bug #7636 - winbind internal error, backtrace.
Ensure cm_get_schannel_creds() returns NTSTATUS.
Jeremy.
commit 33060f67be100836d381a74bced351c6579cc58d
Author: Jeremy Allison <jra at samba.org>
Date: Mon Aug 23 13:05:56 2010 -0700
Final part of fix for bug #7636 - winbind internal error, backtrace.
Ensure cm_get_schannel_creds() returns NTSTATUS.
Jeremy.
commit 613fb985f6353a9942ac14d2823a8b55606b706d
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 23 21:00:27 2010 +0200
s3: PAM_RHOST and PAM_TTY are enums on FreeBSD
(cherry picked from commit a16a56f60156b3284f9acef9a675122b36ebf7dc)
commit 64a4b0206bf9f7d28af39cdce8d712b0e6c2b3d2
Author: Simo Sorce <idra at samba.org>
Date: Mon Aug 23 18:21:17 2010 -0400
Do not leak pkt data on the long term cli memory context
commit a782a80d2f5e70d40708bd578a1f456c451d2979
Author: Simo Sorce <idra at samba.org>
Date: Mon Aug 23 17:11:32 2010 -0400
s3-dcerpc: Allocate structure members on the right context
commit a16a56f60156b3284f9acef9a675122b36ebf7dc
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 23 21:00:27 2010 +0200
s3: PAM_RHOST and PAM_TTY are enums on FreeBSD
commit 2d80364f1ba33519a4b12a5d910ff58d74e6e5c2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Aug 23 07:37:36 2010 +0200
s4:getncchanges.c - fix some counter variable types
They should be "unsigned" since they count LDB objects. And also the SID array
can be counted as "unsigned".
commit 481044f8b303236bc9932b91ed689bb189382494
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Aug 23 15:10:07 2010 +0200
replace: Fix ifndefs for formatting defines.
Thanks to Michael Brown for pointing this out.
commit 85ebc495f68ae7dca4eecc48b1e2f37325185271
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 12:47:51 2010 +1000
s4-devel: added a getncchanges developer script
this allows for command line access to getncchanges
it also provides a good example of calling DRSUAPI interfaces from
python
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f0803de830d4f1a009b5ef2a06fd94e0f25b3ea8
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 12:07:56 2010 +1000
s4-pyrpc: use s4_event_context_init()
This fixes a crash when using kerberos and the python dcercpc
interface, which requires event nesting
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 470d87701bfc4d3d58b9cf0c6e5f240bc24707d9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 12:07:19 2010 +1000
s4-pyregistry: use s4_event_context_init()
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 68fe347592d455638a30a87eace0ba9ebb9a7707
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 12:07:00 2010 +1000
s4-event: event_context_find() should use s4_event_context_init()
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit b4a048d763e6bf2202392343946568b311c1708b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 11:36:29 2010 +1000
s4-net: role should be case insensitive for join
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 635c41ab822d12cf3bb8172fdfab28c6c8ac3597
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 11:33:19 2010 +1000
s4-drs: show the user sid that does the GetNCChanges call
this is useful when debugging replication
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 826177bd2427a6fdf32c2466040de73a7f286d35
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 11:32:28 2010 +1000
s4-drs: removed the warning on WRIT_REP being set
we just need to clear this flag
commit bd7f9813de5d4f7832342f607d8308e916f0c14d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 11:31:48 2010 +1000
s4-net: added initial implemention of RODC join
This does the join using python code
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 1337f5875c2adbb594d421e457f9e6ed5dd4071a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 11:30:22 2010 +1000
libnet-s4: added replicate() command in pynet
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit bdc1639642de79aa08e839f77be210683e6361f6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 11:13:22 2010 +1000
s4-libnet: split libnet_Vampire() into two parts
libnet_Replicate() will do just the replication portion of
libnet_Vampire(). This will be used by the RODC join, where the join
part of the operation happens in python, and behaves quite differently
to the libnet_Join() code.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 2d2a0cb5823080694df0ba161017a83876048d93
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 11:11:35 2010 +1000
s4-libnet: show the DN when DsAddEntry() fails
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit a2cb6ef017402e16d2012ffa165b66eb3dafe10b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 08:52:19 2010 +1000
s4-net: moved the net join command to python
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 8a442b082284782987237a0ecf77213c43ed5dae
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 08:50:04 2010 +1000
s4-libnet: added join type constants to python interface
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 10813bdd852f63eb48dc8ca63a312a80b3897489
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 07:52:25 2010 +1000
s4-python: added ndr_print() method in ndr
commit 895064000d9a4764e5f8d007d6eb2ab761ce2eca
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 07:51:55 2010 +1000
pidl-python: fixed the docstrings for ndr_print, ndr_pack and ndr_unpack
commit 0d7557e2dc489a16949451fa2372a206ffa055a6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 23 07:28:09 2010 +1000
libreplace: fixed the strptime() waf test
Thanks to Jelmer for pointing this out
commit 6cf29b3e4f3880882eb7df45dbcfaf7bd2b8d9f4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 20 12:15:15 2010 +1000
s4:security Change struct security_token->sids from struct dom_sid * to struct dom_sid
This makes the structure much more like NT_USER_TOKEN in the source3/
code. (The remaining changes are that privilages still need to be merged)
Andrew Bartlett
commit abcfc114978fd2d065f800bcfe53f63ab567c069
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 20 22:30:46 2010 +1000
s3:pdbtest Fix command name of pdbtest
Signed-off-by: Michael Adam <obnox at samba.org>
commit 0d9460a3680258744de8ecd42a90c3ba1e42832f
Author: Andreas Schneider <asn at samba.org>
Date: Sun Aug 22 22:55:01 2010 +0200
s3-build: Add a test-buildfarm target to stay UNIX Makefile compatible.
commit d8734c3c03ca3cd501b064c5f3b4684e62e751d6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 20 17:51:48 2010 +1000
s3:param Clarify parameter name on init_globals()
This parameter is used with the registry backend to
cause the globals table to be re-initialised.
Andrew Bartlett
Signed-off-by: Michael Adam <obnox at samba.org>
commit 8531921e3d4bba30ed6d10bf671b0b70d2f4f3f7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 22 20:00:46 2010 +0200
s3: Turn two macros into functions
commit 177e394f93278407557702d9f53bae65fd5fc434
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 18 18:23:49 2010 +0200
s3: Pass the rhost through smb_pam_accountcheck
commit 265f0b7745b811d6ba1575eb277213f707215a3b
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 18 17:31:39 2010 +0200
s3: Rename auth.c:backends to auth_backends
commit 6ff012a777889de5066fa77de9ed766f8421b1d5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 22 18:41:39 2010 +0200
s3: Fix some nonemtpy blank lines
commit 8bc58990a469b15a0ffc9977a5b9c2345eea9fe5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Aug 22 17:12:26 2010 +0200
s4: Only install testparm to /usr/bin/, no longer to /usr/sbin.
commit 4ec7dd8deb3d123941da21a880241ebe29f3bbb6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Aug 22 17:03:47 2010 +0200
s4: Install testparm to /usr/bin, consistent with old behaviour.
commit cfcfe3c1f5ab8f1cb919acbf8f215afdd9cc7d91
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Aug 19 09:22:54 2010 +1000
s4-waf: re-use SAMBA_LIBRARY() in building shared modules
make SAMBA_MODULE() call SAMBA_LIBRARY() to do the heavy lifting. This
fixes the problem with modules being a bit too slim :-)
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit de951249356a3705fc2a3c51575134415ac0ea05
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 18 16:50:26 2010 +0200
s3: Move check_access to cgi.c, its only user
commit 70c5bed4b2ca4660e8a06cee6d4e813744cc7be8
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 18 16:48:20 2010 +0200
s3: Replace calls to check_access by allow_access
We already have both the name and address of the client stored now
commit bc69a9d0d8aa746c2db88484ebf48f9aa7d73de6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Aug 22 05:24:55 2010 +0200
Avoid use of Samba DTD, which requires net access.
commit aa74b6ade4af5da962acd1ebf43b9e719ebe1f51
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Aug 22 05:02:00 2010 +0200
wafsamba: fix CHECK_XSLTPROC_MANPAGES().
commit 3dc720371368b670635f986f9a7bd412b00255a8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Aug 22 05:00:57 2010 +0200
Use DocBook DTD rather than Samba one, as no Samba-specific things are
used in the tdb manpages.
commit d7d19fdc84d73fda85e1794af7c7122ded6b24bb
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Aug 22 14:51:12 2010 +1000
s4-net: better error message on net setpassword
commit a2012dfc6b73f74fb9e9e3d815f3b8ede340f552
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Aug 22 14:50:46 2010 +1000
librpc: add python bindings for the netlogon pipe
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit d55b19b56af3fc8e122a890adad8b56bb05814be
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Aug 22 14:50:22 2010 +1000
pyldb: do type checking on the list form of ldb add
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit 24159a59a3b404346e7931ef8817d09eeeb0711f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Aug 22 14:49:10 2010 +1000
pidl: give the varible name for bad type in python calls
This makes it much clearer which argument to a function had the wrong
type
commit 34b86155743f0ef1916bc3ae15907961c230c9ab
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Aug 22 14:47:22 2010 +1000
pidl: cope with bad type conversions in unions
This prevents a crash when converting bad types in NDR unions
Pair-Programmed-With: Jelmer Vernooij <jelmer at samba.org>
commit 5a025c82f566b378a125abf0f9e74fc076d394c0
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Aug 22 14:46:01 2010 +1000
pidl: added a __ndr_print__() method on python NDR objects
This allows you to print a returned NDR structure using
s.__ndr_print__() which gives an easy view of complex
structures, such as those from netlogon
commit 0529160c0829eb2437896d7d8ecc36ad4f201de2
Author: Kai Blin <kai at samba.org>
Date: Sat Aug 14 07:40:51 2010 +0200
s3: Fix netgrent configure checks for compilers not supporting -Werror-implicit-function-declaration
This should fix bug 7620.
(cherry picked from commit 45ac8ffdb4181c31605ccda5035664a8019ffc49)
Signed-off-by: Kai Blin <kai at samba.org>
commit 45ac8ffdb4181c31605ccda5035664a8019ffc49
Author: Kai Blin <kai at samba.org>
Date: Sat Aug 14 07:40:51 2010 +0200
s3: Fix netgrent configure checks for compilers not supporting -Werror-implicit-function-declaration
This should fix bug 7620.
commit 9d8a3a4378d2993034629d7223c3d85f8f4688e9
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 21 11:32:58 2010 +0200
s3: Fix bug 7635
commit 554b1140a891d8b9a4a7be1eefae97b4e3a710ec
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 21 11:32:58 2010 +0200
s3: Fix bug 7635
commit 314202e1c8b63bc89d565eec845558ddf7b1aad9
Author: Jeremy Allison <jra at samba.org>
Date: Fri Aug 20 15:57:08 2010 -0700
Fix bug 7627 - smbclient ignores "-I" when used with "-L", fails name resolution.
Still needs some more work to fix missing netbios name issues, but fixes
underlying issue of IP address being ignored.
Jeremy.
(cherry picked from commit af081ec4a101aa5d0babfd913e40f5f8ed1b0fe9)
commit af081ec4a101aa5d0babfd913e40f5f8ed1b0fe9
Author: Jeremy Allison <jra at samba.org>
Date: Fri Aug 20 15:57:08 2010 -0700
Fix bug 7627 - smbclient ignores "-I" when used with "-L", fails name resolution.
Still needs some more work to fix missing netbios name issues, but fixes
underlying issue of IP address being ignored.
Jeremy.
commit 22a0168504846d618f70bb79175950f37f341769
Author: Jeremy Allison <jra at samba.org>
Date: Fri Aug 20 15:56:37 2010 -0700
Fix const warning.
commit 7e936e3122aed539b348bc5deea1732b65d94950
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Aug 20 21:58:22 2010 +0300
s4-ndr_basic.c: Fix ndr_*_hyper() when [bigendian] data is processed
commit 26efea195ae3d5a26b1152923f114cd841e89b5f
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Aug 19 15:52:49 2010 +0300
s4-drsuapi: Implement custom printing for drsuapi protocol for
drsuapi_DsReplicaAttribute and drsuapi_DsAttributeValueCtr objects
This makes tracing what data has been transferred much easier
commit f35811bfe074ec3c9c1f6b860b6d07d47b1cce92
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 18 18:35:53 2010 +0200
s3: Use sconn->client_id in session_claim
commit ee9a43c57ed106c2de060ff217224424a583ee83
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 17 08:05:14 2010 +0200
s3:winbindd: fix error handling in wb_next_grent_fetch_done()
We should not use 'result' uninitialized.
metze
(cherry picked from commit c9621a8c005cfc547a26dd92b8183b43665eec5c)
commit 5d7c27cb5b35848ff32f7c7e3f66247990c28ad1
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 15:59:17 2010 +0200
s3:librpc: make dcerpc_read_ncacn_packet_send/recv() available
metze
commit fe7819ae6f82bee65c14c57f87ec82b2243f4356
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 15:49:32 2010 +0200
librpc/rpc: move dcerpc_read_ncacn_packet_send/recv() to dcerpc_util.c
metze
commit 922f33521ea12bb3a85709e9933cb7d9d10179f7
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 20 14:52:04 2010 +0200
s3:Makefile.in: use python with -u to disable stdin/out caching
metze
commit c9621a8c005cfc547a26dd92b8183b43665eec5c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 17 08:05:14 2010 +0200
s3:winbindd: fix error handling in wb_next_grent_fetch_done()
We should not use 'result' uninitialized.
metze
commit 5c272b8ce7d0ffc9ce6b2ff780aa6f9e54415840
Author: Zahari Zahariev <zahari.zahariev at postpath.com>
Date: Thu Aug 19 18:30:03 2010 +0300
Remove place-holders when it is single domain
This patch changes the behavior of LDAPCmp in a single domain
scenario. No place-holders will be applied during comparison
so replication will be fully tested and even the silightest
difference will pop up.
There is a second smaller fix when we compre hosts in different
domains. This fix disables ${SERVERNAME} paace-holder when there
are more then one serevr (domain controller) in the given domain.
commit 0cc3525c039e08bee32199109a515fa08933b31d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Aug 20 17:17:23 2010 +1000
s4-dsdb: the RODC_JOIN control also changes samAccountName
when adding a user with the RODC_JOIN control, the samAccountName is
automatically set to the krbtgt_NNNNN form
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 3d13c9e53a25a3af73c520a0ecfa35eafc80784c
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Aug 20 07:26:53 2010 +1000
s4-pysamdb: fixed get_domain_sid()
we need to actually return the SID!
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit a662bdc0243743f0e6ff7327cca247f1e3e76e84
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Aug 20 07:26:09 2010 +1000
s4-ldb: added support for rodc_control in ldb
this allows you to specify the RODC join control in python ldb calls
or on the command line
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f1c6bab60e52624f5f3188689eb9452a0fdc9221
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Aug 19 13:06:08 2010 +1000
s4-drs: fixed the error code for EXOP_REPL_SECRET getncchanges calls
when we deny a EXOP_REPL_SECRET call we should set the exop error code
to NONE, and the main return code to WERR_DS_DRA_ACCESS_DENIED (based
on observing windows server behaviour)
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 4cc6b5a69b1f94d96a73ac15d58ff71d2e4febfd
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 18 18:38:26 2010 +1000
s4-drs: bring us much closer to the docs for DRS secret replication
The rules for when a RODC can replicate secrets are:
- it can always replicate its own acct
- it can also replicate its krbtgt acct
- it can't replicate other krbtgt accts
- it can't replicate interdomain trust accounts
- it can't replicate users in the denied group list
- it can replicate users in the allowed group list
otherwise it can't replicate
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6eb34e69078630f1795a75d186eccf50e1f3c683
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 18 18:36:12 2010 +1000
s4-dsdb: fixed dsdb_get_extended_dn_sid()
it should honor the component_name
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ba079f9d674417eed26c21d21f0e0ff03a3c5e33
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 18 18:35:41 2010 +1000
idl: added the RODC allow/deny secrets RIDs
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c12293991988bda16ff85135e83c21d23d08abca
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 18 14:31:05 2010 +1000
s4-drs: implement RODC attribute filtering override
When a RODC uses extended getncchanges operation
DRSUAPI_EXOP_REPL_SECRET it gets an override on the ability to
replicate the secret attributes.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit dc7cf47371e15a1bfe8c97341773076f00c67aa1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 18 14:27:17 2010 +1000
s4-drs: added sam_ctx_system on DRS bind state
The getncchanges call needs to be able to access the sam as the system
user for RODC clients. To do this it needs a sam_ctx connection with
system credentials
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 34092c11b49a8bb16838be414cb71b0b5c2136bf
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 20 11:14:06 2010 +0200
s3:loadparm: make lp_load_ex static. We have wrappers for external callers.
commit 7326fdb8d1fc4298c3a38c0f1d69e8c277994a98
Author: Jim McDonough <jmcd at samba.org>
Date: Thu Aug 19 08:46:59 2010 -0400
s3-libsmbclient Convert dos error codes to NTstatus in async libsmbclient.
DOS error codes were being lost with the conversion to async
libsmbclient. If we're passing around NTSTATUS internally,
let's just convert it when we get it.
DOS ACCESS_DENIED on nautilus was not prompting for other credentials,
because it was not being mapped.
commit 0ec0095d1a40435042b8ff9e4bc7fedbeb371e5f
Author: Jim McDonough <jmcd at samba.org>
Date: Thu Aug 19 08:46:59 2010 -0400
s3-libsmbclient Convert dos error codes to NTstatus in async libsmbclient.
DOS error codes were being lost with the conversion to async
libsmbclient. If we're passing around NTSTATUS internally,
let's just convert it when we get it.
DOS ACCESS_DENIED on nautilus was not prompting for other credentials,
because it was not being mapped.
commit 95a444b35e7196a36975852ba2b517932b07d111
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 19 14:22:01 2010 +0200
s3-ldapsam: add samba.ldif LDAP schema.
This one is suiteable for cn=config setups and should be added via ldapadd.
Thanks to Sumit Bose <sbose at redhat.com> for providing it.
Guenther
(cherry picked from commit 6864a3e98660396b3cd1e6adae039012929bf59b)
commit 72b0958c4e0330cc8c9ef14a170d576110188b5d
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 19 14:01:47 2010 +0200
s3-idmap: fix uninitialized variable in idmap_tdb_sids_to_unixids_action().
Michael, please check.
Guenther
(cherry picked from commit 28ba023b4c2bcae3baed5aefe782d7705271af26)
commit 8e603ca1b898921bd882e6eea236f5d189c5d49d
Author: Surbhi Palande <surbhi.palande at canonical.com>
Date: Thu Aug 19 11:56:30 2010 +0300
-ENOTSUP translates to NT_STATUS_NOT_SUPPORTED
https://launchpad.net/bugs/276472
This patch adds the translation of Unix Error code -ENOTSUP to NT Error Code
NT_STATUS_NOT_SUPPORTED. The absense of this translation wrongly sends back to
the client a STATUS_DENIED message in samba3.
Signed-off-by: Surbhi Palande <surbhi.palande at canonical.com>
(cherry picked from commit 9b8f7a2a01845a37176ce7b4b4024503d6e9ca62)
commit cbe9f879afc7b212c1e105fcb54b4563d5f6dfe0
Author: Simo Sorce <idra at samba.org>
Date: Thu Aug 19 07:35:01 2010 -0400
s3-ads: Fix wrong test in if statement
commit 861566c6d03a9040d0b791df80c845da9c537b8f
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 19 15:24:20 2010 +0200
s3-waf: fix the build.
Guenther
commit 6864a3e98660396b3cd1e6adae039012929bf59b
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 19 14:22:01 2010 +0200
s3-ldapsam: add samba.ldif LDAP schema.
This one is suiteable for cn=config setups and should be added via ldapadd.
Thanks to Sumit Bose <sbose at redhat.com> for providing it.
Guenther
commit 4349027b632d8e6757b5c46014a4a21f37ec434e
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 19 14:02:22 2010 +0200
s3-cli: fix uninitialized variable.
Volker, please check.
Guenther
commit 28ba023b4c2bcae3baed5aefe782d7705271af26
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 19 14:01:47 2010 +0200
s3-idmap: fix uninitialized variable in idmap_tdb_sids_to_unixids_action().
Michael, please check.
Guenther
commit 4fec72db1c73c03e6a666723dcc8eb8a2667d598
Author: Matthieu Patou <mat at matws.net>
Date: Thu Aug 19 12:37:00 2010 +0400
s4 provision: POLICY_ACL is already an FS acl no need to translate it
commit 6e7d6844620936cf5394c3d35ac1c8c8c5d042fc
Author: Matthieu Patou <mat at matws.net>
Date: Thu Aug 19 12:33:57 2010 +0400
s4 provision: Add some documentation to GPO related functions
commit 2cadfe8f2a3c0a4cf200288f0b6123eca866c510
Author: Matthieu Patou <mat at matws.net>
Date: Sat Aug 14 18:51:55 2010 +0400
unit tests: debug to ease locating pb, remove dir if exists to avoid error
commit ed51bf5f68b77f97b00b30e1a6be3773841299b6
Author: Matthieu Patou <mat at matws.net>
Date: Sat Aug 14 16:57:49 2010 +0400
s4 upgradeprovision: exit with a non null return code so that it can be trapped in blackbox tests
commit a5653bcf837f6941fd26d233fbba15976fb0897e
Author: Matthieu Patou <mat at matws.net>
Date: Thu Aug 12 17:28:28 2010 +0400
s4 upgradeprovision: add more attrbutes the ignore list
Also format in a pretty way the int64 ranges
commit e378d7fd89beeffc20bafa04e0fcfb895eaccbf5
Author: Matthieu Patou <mat at matws.net>
Date: Thu Aug 12 12:22:08 2010 +0400
s4 upgradeprovision: Deal with bootstrap indexing attribute to avoid useless reindexing
commit d79a5cc3584fe5763ddf0d8e22fb8140c376ba41
Author: Matthieu Patou <mat at matws.net>
Date: Sun Jul 11 15:36:32 2010 +0400
s4 upgradeprovision: Add a function for schema reloading
Full schema reloading is needed when we modify exisiting elements that
have attributes that comes from not from the default schema (ie.
openchange schema, user schema ..)
commit eaf1d050febc4d9ebf6cde9fd671ac5362d10e29
Author: Matthieu Patou <mat at matws.net>
Date: Thu Aug 12 01:25:27 2010 +0400
s4 upgradeprovision: upgrade_delta_samdb return a msg_diff of @ATTRIBUTES
This is used by upgradeprovision to readd this delta just before loading
a merged schema
commit 3e49b20cf0b0cadccc4e5b5ff3d20cbf60eeb3c4
Author: Matthieu Patou <mat at matws.net>
Date: Tue Aug 10 18:19:40 2010 +0400
s4 upgradeprovision: Fixes for increment_keyversion
fix
commit 503824b75723f62bbe7ee578d0ed6ad4a1203665
Author: Matthieu Patou <mat at matws.net>
Date: Tue Aug 10 17:39:29 2010 +0400
s4 upgradeprovision: fix a typo and pass correct parameter to increment_calculated_keyversion
commit f6ac919a91663a97fbc27fb8430c73e13bf03a55
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 18 18:25:20 2010 +0200
s3-libsmb: fix some uninitialized variables.
Volker, please check.
Guenther
commit 9b8f7a2a01845a37176ce7b4b4024503d6e9ca62
Author: Surbhi Palande <surbhi.palande at canonical.com>
Date: Thu Aug 19 11:56:30 2010 +0300
-ENOTSUP translates to NT_STATUS_NOT_SUPPORTED
https://launchpad.net/bugs/276472
This patch adds the translation of Unix Error code -ENOTSUP to NT Error Code
NT_STATUS_NOT_SUPPORTED. The absense of this translation wrongly sends back to
the client a STATUS_DENIED message in samba3.
Signed-off-by: Surbhi Palande <surbhi.palande at canonical.com>
commit ba706d696b8fb14b8d449cd198d982eef18e4320
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 18 18:16:24 2010 +0200
s3: Remove smb_pam_accountcheck from the auth modules
We go through the same check in auth/auth.c line 287 after the module has done
its job. So we don't have to do that check twice.
commit 89899f55dc1fb137a0adfd734c87b65039f598a4
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Aug 19 03:17:36 2010 +0300
s4-drs: ATTIDs for deleted attributes should be based on msDs-IntId value if it exists
commit e05027401f4733e43b62148fa5c59559f49b4c1b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Aug 19 03:08:29 2010 +0300
s4-test: make better error message for ATTID checks
commit c3cf388eaf322b7646aa464774baa324be81a56d
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Aug 19 02:47:14 2010 +0300
s4-test: Change attribute syntax and value for readability
When it comes to read logs and dumping data received
Octet String syntax comes in handy
commit a46ead0724f54a6034913fe5d1da077140d58133
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Aug 18 13:21:10 2010 +0300
s4-test: Enable drs.rpc.msdsintid test case - it should be passing now
commit 695072478d5d5bd476524228fc09cde200abcf6b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Aug 18 03:19:45 2010 +0300
s4-dsdb: No need for dsdb_syntax_one_DN_drsuapi_to_ldb() to be public
It is intended to be used in schema_syntax.c module
commit 6a51afcfdbcbce7813fb59c0655e4178268ca70e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Aug 18 03:52:48 2010 +0300
s4-drs: GetNCChanges() to return correct (in AD-way) ATTIDs
Depending on which NC is being replicated, GetNCChanges() returns
either ATTID based on local prefixMap or msDs-IntId value of
the attributeSchema class for the attribute being replicated.
If set, msDs-IntId value is always returned when replicating
object form NC other than Schema NC.
Objects in Schema NC replica always use prefixMap based ATTIDs.
commit 35d886db176123b3ef3a0436463f59edcaed1322
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Aug 18 03:06:53 2010 +0300
s4-dsdb-syntax: ATTID should be msDs-IntId value for the attributeSchema object
in case object replicated is not in Schema NC and attributeSchema
object has msDs-IntId attribute value set
commit fffc98f33e333b8711da053e5cd5ddcc601cd275
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Aug 17 04:48:24 2010 +0300
s4: fix few comment typos
commit d01804dda9d1e1793f3e1d2f863c4444ed7e900c
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Aug 17 04:44:52 2010 +0300
s4-schema_syntax.c: Fix white spaces and alignment
commit c5ec1f3d9246f5737279340bf1755baf542d982b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Aug 17 04:20:46 2010 +0300
s4-dsdb: Use dsdb_syntax_ctx in *_drsuapi_to_ldb functions
commit b5af7b9a1eb70db949c83fe6b55e402b82a2a9a4
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Aug 17 04:12:54 2010 +0300
s4-dsdb: Use dsdb_syntax_ctx in *_ldb_to_drsuapi functions
commit ca809186137e259060032ef61d9d3e93cddad298
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Aug 17 03:58:26 2010 +0300
s4-dsdb: Use dsdb_syntax_ctx in *_validate_ldb functions
commit b7d1586ccd05a78a4fae512c54fa39dda408e08b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Aug 17 03:21:46 2010 +0300
s4-dsdb: Add context structure for dsdb_syntax conversion functions
This structure is intended to hold context-dependent data.
Syntax-conversion and object-conversion functions need
that data to convert objects and attributes from drs-to-ldb
and ldb-to-drs correctly.
For instance: ATTID value depends on whether we are converting
object from partition different that Schema partition.
commit 20a8481d3ff149e3cece6f2d8d2cf6ae8462d11a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Aug 16 18:57:02 2010 +0300
s4-test-dssync: remove unused variable
commit b26e86c3b11ec38f0f5a9d4ce3ea3256946e5353
Author: Jeremy Allison <jra at samba.org>
Date: Wed Aug 18 16:25:15 2010 -0700
Fix bug 7626 - Typo in configure samba_cv__CC_NEGATIVE_ENUM_VALUES two underscores.
Noticed by bj at sernet.de.
(cherry picked from commit da2554117e2d9dc4bde7d47d6e81d5d572ca1d02)
commit da2554117e2d9dc4bde7d47d6e81d5d572ca1d02
Author: Jeremy Allison <jra at samba.org>
Date: Wed Aug 18 16:25:15 2010 -0700
Fix bug 7626 - Typo in configure samba_cv__CC_NEGATIVE_ENUM_VALUES two underscores.
Noticed by bj at sernet.de.
commit 2e7c697f1c4f81c30029b47949dd8b1013a0aa97
Author: Jeremy Allison <jra at samba.org>
Date: Mon Aug 16 16:31:33 2010 -0700
Fix bug 7563 - Creation of symlink using smbclient is buggy.
Fix semantics of symlink. "oldpath" should be an untouched blob,
"newpath" should fit the share path semantics.
Jeremy.
commit 34230608dfa7e9f4aa0c633e7a92df37ca94d28f
Author: Jeremy Allison <jra at samba.org>
Date: Mon Aug 16 16:31:33 2010 -0700
Fix bug 7563 - Creation of symlink using smbclient is buggy.
Fix semantics of symlink. "oldpath" should be an untouched blob,
"newpath" should fit the share path semantics.
Jeremy.
commit ec78096e7cc4ca60dd8741a065fd33156001558b
Author: Jeremy Allison <jra at samba.org>
Date: Wed Aug 18 11:07:49 2010 -0700
From master: b9353c65c0662895c8e87f3d1c66574444ccfa12.
Volker Lendecke <vl at samba.org> s3: Fix serverid_register_msg_flags.
commit 8f7bf85c40068523b607b01a141d24e27b9f4be1
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 18 16:44:04 2010 +0200
s3: Remove an unused variable
commit ce60e8d69735bc2d5c6f776c84dea2e17dae95ac
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 18 15:47:15 2010 +0200
librpc/rpc: call do_ndr_print hook in dcerpc_binding_handle_call*()
metze
commit 1ab17f13a27429d34439c0ba3b77685e3a55c2c3
Author: Simo Sorce <idra at samba.org>
Date: Wed Aug 18 09:36:54 2010 -0400
s3-ads: Remove unused wrapper and make function static
commit d7c8fb21bb0a29bb7227d4b242aba2f1524f6c48
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 10 07:44:15 2010 +0200
s3: async cli_list
commit 77761d9adcf34a9d1cd4567422c98efac101b3f6
Author: Volker Lendecke <vl at samba.org>
Date: Fri Aug 13 14:01:03 2010 +0200
s3: Add cli_flush
commit 71dfa62b61380396785c7856c38f45c77c966ff0
Author: Simo Sorce <idra at samba.org>
Date: Wed Aug 18 06:46:53 2010 -0400
s3-ads: cleanup ads_keytab_list()
commit 64d8300a56eb0891389a5a2afc5e4902c2d909a2
Author: Simo Sorce <idra at samba.org>
Date: Wed Aug 18 06:09:27 2010 -0400
s3-ads: cleanup ads_keytab_create_default()
commit 3a9912370dc36500d207aeb9d1ae58834526b6c3
Author: Simo Sorce <idra at samba.org>
Date: Wed Aug 18 04:33:32 2010 -0400
s3-ads: cleanup ads_keytab_add_entry()
commit d6d1ed8bdfb290ac6e1fa4264f2b84d0e4790d98
Author: Simo Sorce <idra at samba.org>
Date: Wed Aug 18 04:16:41 2010 -0400
s3-ads: Split, simplify and cleanup keytab functions
add helper function for both smb_krb5_kt_add_entry_ext() and
ads_keytab_flush()
commit b9353c65c0662895c8e87f3d1c66574444ccfa12
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 18 13:20:50 2010 +0200
s3: Fix serverid_register_msg_flags
Thanks, Andreas, for pointing this out! (How drunk have I been?...)
commit 937da4d14111e1cd32f514a9382291f12764c1c9
Author: Andreas Schneider <asn at samba.org>
Date: Wed Aug 18 12:08:47 2010 +0200
s3-lib: Fixed a possible crash bug.
Volker please check!
commit 555b175212d5c7e5b8628d4d5e3cba4541037dbb
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 29 14:00:30 2010 +0200
s3-printing: Added function to update the queue.
commit 7e9d6021c91919f2e457e1e471cb253886aad9aa
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 29 13:43:40 2010 +0200
s3-printing: Rename jobs_changed functions to jobs_added.
commit 536d4d48bfc3e915be210988fa7d9f6433d875f2
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 18 11:17:52 2010 +0200
s3: Fix an uninitialized variable
commit a847f13d7b0c8606471792a50e9c64d1f6bd430c
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 17 09:34:27 2010 +0200
s3: Use pipe_struct->client_id->name for pjob.clientmachine
commit 29093bc0009bbcd5f9a98a2f4611fc3eb65f2539
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 17 09:17:26 2010 +0200
s3: Move initializing pjob.clientname to print_job_start()
commit 4b5e252354660501576c8452f48514852f40270e
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 16 11:01:26 2010 +0200
s3: Add "client_id" to pipes_struct
commit 6d10684556e9f9e847ec03dd8af057e8d4558e35
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 16 09:39:29 2010 +0200
s3: Remove unneeded "client_address" from connection_struct
commit 7b6835ec1da127713d0a412edcbe0a3c1bcc6192
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 16 08:30:36 2010 +0200
s3: Add smbd_server_connection->client_id
commit ac7b63384d3f8afdb768f95e7744380f4df07d76
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 16:13:00 2010 +0200
s3: Lift smbd_server_fd from reload_services()
commit 59289d4fa9e5f6f2ff6abd13e8f07ca6ee3e2a3c
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 17 15:03:58 2010 +0200
s3-build: only include smb_signing.h where needed.
Guenther
commit 5a2f6c970027aacf8505d0971b44907900959f6d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 18 13:15:03 2010 +1000
s3:selftest This test does not fail anymore (Samba4's smbtorture has been fixed)
commit effc61cb782a470a0a3dee317ad271e521f6c3be
Author: James Peach <jpeach at samba.org>
Date: Thu Aug 12 14:31:52 2010 -0700
smbtorture: Make SAMBA3CASEINSENSITIVE report failures properly.
commit b7ad0c6e394b09a8933080e966ba1c77575d9f31
Author: James Peach <jpeach at samba.org>
Date: Thu Aug 12 12:36:24 2010 -0700
smbtorture: Emit correct test results if setup fails.
If the test setup fails, we still need to format the test result for the
UI. At leas in the subunit case, the format doesn't specify what to do
here, so we fail every test manually with the setup failure message.
commit 21fe7533032168222a32bc12e2ade1169d41b763
Author: James Peach <jpeach at samba.org>
Date: Thu Aug 12 12:35:53 2010 -0700
smbtorture: Ensure that the RPC setup returns correct status.
commit f37793ef0aa31eec9a6e619b55fa07c3025fcac6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 18 10:00:40 2010 +1000
s4:ldap_server use talloc_unlink() to avoid talloc_free() with references
Both the session_info and the ldb can have references.
Andrew Bartlett
commit 23dc2e4244a99f1e955d54c22516a7a8c108d989
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Aug 14 20:33:36 2010 +1000
s4:auth Change {anonymous,system}_session to use common session_info generation
This also changes the primary group for anonymous to be the anonymous
SID, and adds code to detect and ignore this when constructing the token.
Andrew Bartlett
commit 2ceb3d8d35b87926d0ffc933782321598457fc11
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Aug 14 19:55:30 2010 +1000
s4:auth Avoid doing database lookups for NT AUTHORITY users
commit ba52834dd97d4c855ab98c2cbab1d6ed8d189de8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Aug 14 17:45:57 2010 +1000
s4:auth Remove system_session_anon() from python bindings
commit a68a5592c5fc88fc7ba335cfbe375d687c8b8112
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Aug 14 14:16:41 2010 +1000
s4:auth Remove the system:anonymous parameter used for the LDAP backend
This isn't needed any more, and just introduces complexity.
commit d99ff145aec8933a49be9e6fcc4d9e39591bbb28
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Aug 14 14:15:49 2010 +1000
s4:auth Remove special case constructor for admin_session()
There isn't a good reason why this code is duplicated.
Andrew Bartlett
commit 7c6ca95bec5141707d4f19e802062731d6789cc5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Aug 14 13:30:51 2010 +1000
s4:security Remove use of user_sid and group_sid from struct security_token
This makes the structure more like Samba3's NT_USER_TOKEN
commit 60086dcf9a58525d400b39e9464847d73cbce6d2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Aug 14 13:28:40 2010 +1000
s4:ntvfs Don't treat the user SID and primary group SID special for idmap
This simply askes IDMAP about all the user SIDs, rather than the user
and group sid, followed by all but the first two sids from the token.
Andrew Bartlett
commit e229f68b3e8f146d5dfa4ab57f126cc7ea5c7214
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Aug 14 13:26:35 2010 +1000
s4:security Bring in #defines for the user and primary group token location
This will allow us to stop duplicating the user and primary group SID in the
struct security_token, and therefore make it more like the NT_USER_TOKEN
in Samba3.
Andrew Bartlett
commit 26ff85893437c2c762972ed2eb542c6cfe1bb049
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 16 08:00:48 2010 +0200
s3: Remove smbd_server_fd() from session_claim
commit f8ecec21e2c4451fe892885cfc12afa98a8c14f6
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 15:46:29 2010 +0200
s3: Remove smbd_server_fd() from read_smb_length()
commit 840b0f523b978aa6cb9acbac26023a756afcea81
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 15:45:21 2010 +0200
s3: Move read_smb_length() to smbd/reply.c
commit e65197e56f86fd523516fc3ef577e72877cfab22
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 15:40:08 2010 +0200
s3: Remove smbd_server_fd from receive_smb_raw
This is only called from client code
commit a58cea002626cee2db77ac12aa091e5b48381662
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 15:38:31 2010 +0200
s3: Lift smbd_server_fd() from receive_smb_raw_talloc
commit 1f0afe1aed5cc267c3c24322992bfcb7c82847b1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 15:36:28 2010 +0200
s3: Lift smbd_server_fd() from read_smb_length_return_keepalive
commit 7d164498dbad77e2072eaae9e421ee1c45336257
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 15:30:21 2010 +0200
s3: Lift smbd_server_fd() from read_data()
All callers have appropriate debug messages themselves
commit 9671547d17fa8152dbad127fde2a963b2ba834a0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 15:23:47 2010 +0200
s3: Lift smbd_server_fd() from read_fd_with_timeout()
commit 0060b1ebac0960d95b5a24c7611d1f1568d29551
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 17 08:02:46 2010 +0200
s3:winbindd: don't ignore 'result' in wb_dsgetdcname_done()
Ignoring it could cause a segfault in winbindd_getdcname_recv()
metze
(cherry picked from commit aca7b22e96482bdd90e59973e25dc41690969bab)
commit ea4179813e64aa54105959f040531901acb6b65a
Author: Volker Lendecke <vl at samba.org>
Date: Fri Aug 13 22:51:29 2010 +0200
s3: Fix some error messages
(cherry picked from commit ad871b73a26f3b48a522c8374c00aa5ff7d2eb4c)
commit 786c41b0954b541518d1096019e1ce7ca11e5e98
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 21:51:14 2010 +0200
s4:netlogon RPC server - "ServerPasswordSet" operations - introduce also here the new password change syntax
commit 4c8edc8f5e9db9a08b5d672707ce71d82efdad15
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jul 6 18:16:32 2010 +0200
s4:kdc/kpasswdd.c - let the user change his own password with his own rights
Now it's finally possible that the user can change his password with a DSDB
connection using his credentials.
NOTICE: I had to extract the old password from the SAMDB since I was unable to
find it somewhere else (authinfo for example).
commit cd711da6ca206a6fe6911c55882ee3e7e7ecedc9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jul 6 18:07:31 2010 +0200
s4:samr RPC server - samr_password.c - make real user password changes work
Now it's finally possible that the user can change his password with a DSDB
connection using his credentials.
commit 2a423e05476cfae4d3465683831aa4d5f03bd3c9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 21:06:11 2010 +0200
s4:kdc/rpc server - adapt the "samdb_set_password" calls which perform password sets
commit eb345ebedf06ccef420f4352d145c54c1d39efe3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 21:26:07 2010 +0200
s4:samdb_set_password/samdb_set_password_sid - make more arguments "const"
commit d72d7f9c5f318b58e38a47d38debe72bb6f53891
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 20:44:28 2010 +0200
s4:samdb_set_password/samdb_set_password_sid - make the adaptions to support the password change control
And introduce parameters to pass the old password hashes.
commit 35954bb3108ce1d2c05c729712ce881402bf3723
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 20:31:30 2010 +0200
s4:password_hash LDB module - perform the adaptions to understand the new password change control
commit 23bd3a74176be4a1f8d6d70b148ababee397cf8c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jul 8 16:00:19 2010 +0200
s4:acl LDB module - support password changes over the DSDB_CONTROL_PASSWORD_CHANGE_OID control
This control is used from the SAMR and "kpasswd" password changes. It is
strictly private and means "this is a password change and not a password set".
commit 895a9fbbfb06f371f4dbab3174451ace50dbb2b7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 20:01:27 2010 +0200
s4:DSDB - DSDB_CONTROL_PASSWORD_CHANGE_OID - add a structure as value to the control
This contains the NT and/or LM hash of the password specified by the user.
commit bbb9dc806e4399c65dee9b5dc2cde0bfaa9609bd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 19:52:18 2010 +0200
s4:DSDB - rename the "DSDB_CONTROL_PASSWORD_CHANGE_OLD_PW_CHECKED_OID"
Rename it to "DSDB_CONTROL_PASSWORD_CHANGE_OID". This control will afterwards
contain a record with the specified old password as NT and/or LM hash.
commit 7eebcebbab8f62935bd1d5460e58b0a8f2cc30e8
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 17 17:13:15 2010 +0200
Revert "waf: enable gccdeps in developer mode"
This reverts commit 61930f50cbace4741500d8b53fc11a4ef3e0d4f8.
This breaks the build with older gcc versions
gcc --version
gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
(This is SLES 11)
Please only enable it if thet compiler supports it.
metze
commit 656607943d8028721e2caa6a0d62d769864046e6
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 17 14:22:35 2010 +0200
s4:selftest: recreate $SELFTEST_PREFIX/s4client with each make test run
Otherwise just fill the disks of the build-farm hosts.
metze
commit 39f99e7d53848534c9a78c82b6d22101e1cbf539
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 17 14:18:03 2010 +0200
s4:selftest: run ldapi tests in 'dc:local' environment
metze
commit 38e41728c5fdf90ec063572b3fae2d1c267f20a6
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Aug 17 17:05:42 2010 +0300
s4-tests: Added tests for acl checks on search requests
commit c36082222643059b3f81d2dcd962c550fb497b74
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 14:46:46 2010 +0200
s3: Directly call write_data from print_job_write()
commit 3aba8e9b7e1feb3a429dfa8e68fb00b61e985ffd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 14:45:48 2010 +0200
s3: Remove unused "pos" arg from print_job_write
commit feb22e08972ab8a2ed6610b4d1ac1de361e6a500
Author: Andreas Schneider <asn at samba.org>
Date: Tue Aug 17 13:44:42 2010 +0200
s3-samr: Correctly fix the transition from enum to uint32_t.
What type an enum is depends on the implementation, the compiler and
probably the compiler options. sizeof(enum) is normally not sizeof(int)!
commit 56f04188df598767901ab918e2be1f23a922c531
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 20:15:28 2010 +1000
s4-ldb: ensure element flags are zero in ldb search return
the distinguishedName element was getting an uninitialised flags value
commit bb2ba90663609c4051bf9cbedb4246802216126a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 18:29:42 2010 +1000
s4-ldbwrap: ensure session_info in ldb opaque remains valid
A DRS DsBind handle can be re-used in a later connection. This implies
reuse of the session_info for the connection. If the first connection
is shutdown then the session_info in the sam context on the 2nd
connection must remain valid.
commit 8835a360cad78feabb17be6802e43fe7aa763fa4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 18:25:45 2010 +1000
s4-rpcserver: log unknown RPC calls at debug level 3
This was added as we are occasionally getting an encrypted unknown
netlogon call, and I'm having trouble looking at it in wireshark
commit 2688375ffeba81ad635ca6bce175b1c849178482
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 18:24:29 2010 +1000
s4-netlogon: added SEC_CHAN_RODC
This seems to be equivalent to SEC_CHAN_BDC, but for RODCs
commit 82c171aa558c6b9ea0455915c9a2a2286498b8ea
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 15:20:11 2010 +1000
s4-net: use an encrypted ldap session when setting passwords
this allows for "net setpassword -H ldap://server -Uusername%password USERNAME"
to set a password remotely on a windows DC
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 896f10301cc3db10793cac115bcbca0f58f0f010
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 14:55:23 2010 +1000
s4-dsdb: check the type of session_info from the opaque
we saw a crash with a bad pointer here, and this may help track it
down
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 21729b63f0a43798751517369a032ba8672aeb20
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 14:21:07 2010 +1000
s4-drs: allow getncchanges from RODC with WRIT_REP set
w2k8r2 is setting this bit as a RODC. Instead of refusing the
replication, we now remove the bit from req8, which means other places
in the code that check this bit can stay the same
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 45a2b408ba16ebabedc519a7235b05c104dede6b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 14:12:21 2010 +1000
s4-drs: added domain_sid to DRS security checks
we need the domain_sid to determine if the account is a RODC for our
domain
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 84bedf4028a5c841f08c079bfd20b9111fe52777
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 14:11:24 2010 +1000
s4-drs: fixed check for SECURITY_RO_DOMAIN_CONTROLLER
check more than the user_sid, and also check for the right rid value
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 4e9daa0f032547787a1a1957a6f4f4002aa50371
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 14:10:34 2010 +1000
s4-dsdb: added support for UF_PARTIAL_SECRETS_ACCOUNT
when this is in user_account_control the account is a RODC, and we
need to set the primaryGroupID to be DOMAIN_RID_READONLY_DCS
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit df14f645b3c56ca7652463d53731437158d5c4bb
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 13:19:53 2010 +1000
s4-dsdb: cope with cracknames of form dnsdomain\account
this is used by w2k8r2 when doing a RODC dcpromo
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f6e0b151a32a2fa450ded3af2fd87d9767cd4540
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 12:06:24 2010 +1000
s4-dsdb: set LDB_FLAG_INTERNAL_DISABLE_VALIDATION for msDS-SecondaryKrbTgtNumber
msDS-SecondaryKrbTgtNumber is setup with a value that is outside the
range allowed by the schema (the schema has
rangeLower==rangeUpper==65536). We need to mark this element as being
internally generated to avoid the range checks
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0caf347098913e9d224d1db4b48887e2b78bae03
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 12:04:45 2010 +1000
s4-ldb: added LDB_FLAG_INTERNAL_DISABLE_VALIDATION
When this flag is set on an element in an add/modify request then the
normal validate_ldb() call that checks the element against schema
constraints is disabled
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 9e27201b24106babc7ac2400f7f063f438b0ddcd
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 12:03:47 2010 +1000
s4-ldb: added LDB_FLAG_INTERNAL_MASK
This ensures that internal bits for the element flags in add/modify
requests are not set via the ldb API
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6baa834ebe710d73cfd54e465479a2b2de9d2476
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 11:21:11 2010 +1000
s4-ldb: use LDB_FLAG_MOD_TYPE() to extract element type from messages
The flags field of message elements is part of a set of flags. We had
LDB_FLAG_MOD_MASK for extracting the type, but it was only rarely
being used (only 1 call used it correctly). This adds
LDB_FLAG_MOD_MASK() to make it more obvious what is going on.
This will allow us to use some of the other flags bits for internal
markers on elements
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 527042f78bc1672ca9a2f766b232165fb2a81d9f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 11:13:59 2010 +1000
s4-dsdb: support LDB_CONTROL_RODC_DCPROMO_OID for nTDSDSA add
this control disables the system only check for nTDSDSA add operations
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 974279b67de6aa346f961b4546bfa556b4ab7ece
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 11:12:54 2010 +1000
s4-dsdb: fixed test for LDB_CONTROL_RODC_DCPROMO_OID
the ldb_msg_add_fmt() call returns LDB_SUCCESS on success
commit eed3838b4806cebd986b07bea21b88974b394d2f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 11:12:09 2010 +1000
s4-ldapserver: support controls on ldap add and rename
we need to pass the controls down to the add and rename ldb operations
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 191d632e237761004fe0fe79a29a7274b7267d45
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 09:59:18 2010 +1000
s4-dsdb: added support for LDB_CONTROL_RODC_DCPROMO_OID
this control adds a unique msDS-SecondaryKrbTgtNumber attribute to a
user object.
There is some 'interesting' interaction with the rangeLower and
rangeUpper attributes and this add. We don't implementat
rangeLower/rangeUpper yet, but when we do we'll need an override for
this control (or be careful about module ordering).
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit dcd9fcc7b395cc2babfa89aa26163e43186ad669
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 17 09:17:17 2010 +1000
s4-ldap: use common functions for ldap flag controls encode/decode
many controls are simple present/not-present flags, and don't need
their own parsers
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 16ad1bbb4e8c50b9b45ed2cbdd8a815b267e3961
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 17 13:18:34 2010 +0200
s3-dcerpc: try to fix the non gssapi build.
Guenther
commit 36cfadcf6a49ec208c2525f1541597b25d8b9397
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 17 13:06:36 2010 +0200
s3-dcerpc: fix c++ build warning.
Guenther
commit 35052d71d3de5e0eb3d2dfa06bf75f7547c543f8
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 17 13:06:13 2010 +0200
s3-dcerpc: fix uninitialized variable in cli_get_session_key().
Simo, please check.
Guenther
commit ff175167321f0134f2f2e445aee1af04afe72f39
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 17 13:03:58 2010 +0200
s3-util: remove unused variable.
Guenther
commit 0a89722671aa7fba8d7befa530dc69bb67260919
Author: Simo Sorce <idra at samba.org>
Date: Tue Aug 17 06:40:38 2010 -0400
s3-ads: Remove unused function and file
commit aca7b22e96482bdd90e59973e25dc41690969bab
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 17 08:02:46 2010 +0200
s3:winbindd: don't ignore 'result' in wb_dsgetdcname_done()
Ignoring it could cause a segfault in winbindd_getdcname_recv()
metze
commit 40ae8b74b669ced9dee0c33e15bc5e0ac8680506
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 16:02:37 2010 +0200
s3: Remove smbd_server_fd() from write_data()
This completely removes the DEBUG(0, ..) error message from write_data(). I've
gone through all callers of write_data() and made sure that they have their own
equivalent error message printing.
commit f40ef7e24cda2d25dcb04cb7e83cd1f3d62a66e4
Author: Simo Sorce <idra at samba.org>
Date: Tue Aug 3 05:11:28 2010 -0400
s3-dcerpc: Use common send functions for ntlmssp too
Remove unused function.
commit 86914b8fab764667ca5021f44b61c0222dbb2e09
Author: Simo Sorce <idra at samba.org>
Date: Mon Aug 2 12:15:43 2010 -0400
s3-dcerpc: properly implement gse/spnego_get_session_key
commit 26a3ba60e661bc2eaf05a2c03f8851d252515d3e
Author: Simo Sorce <idra at samba.org>
Date: Mon Aug 2 12:05:45 2010 -0400
s3-dcerpc: Check data and return appropriate error
commit 9b8c7d47f98dffe961dc513f5452dfd72b508136
Author: Simo Sorce <idra at samba.org>
Date: Mon Aug 2 12:18:58 2010 -0400
s3-dcerpc: Remove unused function
commit 7b12513d125e13a4db3f32adc05030fbb302f510
Author: Simo Sorce <idra at samba.org>
Date: Mon Aug 2 10:28:10 2010 -0400
s3-dcerpc: make a few local functions as static
commit 9a9a38c666a8285fdfac35758aa85f5d33ba6e95
Author: Simo Sorce <idra at samba.org>
Date: Mon Aug 2 10:14:02 2010 -0400
Change debug statements to use __location__
commit 72a0098415c1d676a77a032c0f5fda90e9c1b905
Author: Simo Sorce <idra at samba.org>
Date: Mon Aug 2 10:03:04 2010 -0400
s3-dcerpc: Pull packet in the caller, before validation
commit 558320cf582a5ebc50af28061f5e33f7e4158fba
Author: Simo Sorce <idra at samba.org>
Date: Mon Aug 2 09:47:01 2010 -0400
Add my (c)
commit 1791d0533552d9070a72c7e4b827f6b6dd03fae4
Author: Andreas Schneider <asn at samba.org>
Date: Fri Aug 13 15:56:49 2010 +0200
s3-samr: Fixed some build warnings.
commit 5f1b12059949a37edd10a59e04ab44fa782cb5ee
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 17 08:45:22 2010 +0200
s3: Fix a ton of type-punned warnings
commit 8f3542c58e843d49dcecd2753f85f45731bd13c0
Author: Brad Hards <bradh at frogmouth.net>
Date: Tue Aug 17 08:43:28 2010 +1000
build fix
commit 045e04a2c6649c2c11d0925969f960662f637673
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 16 11:38:26 2010 +1000
s4-ldb: test the 'displayName=a,b' bug
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ec3ed2898fec44ceb48ee78fc934c6f4e67aaf73
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 3 17:15:10 2010 +1000
s3-provision: cope with the policy directory already existing
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit fd59a7c4affdd1a6c6fe7caf29264acabcd0c03e
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 16 11:03:58 2010 +1000
s4-ldb: fixed the ldb 'displayName=a,b' indexing bug
the problem was the inconsistency between the key form of DNs between
the itdb used for indexing and the on disk form
Thanks to Matthieu Patou for finding this bug!
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 1cc471d69fc6ff5dc835462b712645415f8feca4
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 16 11:00:41 2010 +1000
s4-ldb: add some comments explaining the ltdb_index_idxptr() function
this function copes with alignment sensitive CPUs
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 68e86969fae55584f12191f09ac0442d09872030
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 11:43:46 2010 +0200
s3: Remove smbd_server_fd() from smbd_process
commit 0bd39c73be4cc14ac0961441f8ab3e65d0e9346a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 11:41:08 2010 +0200
s3: Remove smbd_server_fd() from smbd_echo_loop
commit 2cd643865d89b403f1b30b68ba4e6f040705dc8d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 11:40:28 2010 +0200
s3: Remove smbd_server_fd() from smbd_echo_reader
commit a23483310d4403071ec77e50d83b1a679ca20cdf
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 11:39:09 2010 +0200
s3: Remove smbd_server_fd() from smbd_echo_reply
commit bb867df269a3c39c6f757f53c3770a0501eb42ff
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 11:36:27 2010 +0200
s3: Remove smbd_server_fd() from keepalive_fn
commit a2bf46e9ec27092cf25515587956cbd68a909248
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 11:35:23 2010 +0200
s3: Remove smbd_server_fd() from smbd_server_connection_handler
commit 8e7a92bc242bf167a62e36f0d9258af41d39cb25
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 11:34:48 2010 +0200
s3: Remove smbd_server_fd() from smbd_server_connection_read_handler
commit 6737c3dd32aeff76322f0f6056612f71da2fe45e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 11:33:53 2010 +0200
s3: Remove smbd_server_fd() from chain_reply
commit b9d052c72874de91ffabc2fb75e1af57e0d4f839
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 11:33:05 2010 +0200
s3: Remove smbd_server_fd() from construct_reply
commit 61989a9e54ef0ded0fbf2d5353aa8d0c0e34e409
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 11:31:51 2010 +0200
s3: Remove smbd_server_fd() from switch_message
commit ee796255cee4efa280b8896deca492a877b2e135
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 11:31:13 2010 +0200
s3: Remove smbd_server_fd() from smbd_server_connection_loop_once
commit 95b232a008c00d69280f0fb15425d5f10c21b7a1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 11:29:44 2010 +0200
s3: Remove smbd_server_fd() from receive_smb_raw_talloc_partial_read
commit 4a27c10903a90604c354dc335a7e42c15b798a1d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 11:10:13 2010 +0200
s3: Remove smbd_server_fd() from make_connection
commit 897d09174d541a2fcdb35b424167c78b0c5fcce3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 11:05:18 2010 +0200
s3: Remove smbd_server_fd() from share_sanity_checks
commit 05604b315b41a8af02dc7e28436625cd5236bfbd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 09:24:30 2010 +0200
s3: Remove smbd_server_fd() from setup_new_vc_session
commit a98604d7f281f890fefd23e23e887c2199842484
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 09:24:17 2010 +0200
s3: Remove smbd_server_fd() from make_connection_snum
commit 910e3df7dd10e43e058874002b60e452c13cfa18
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 08:59:19 2010 +0200
s3: Remove smbd_server_fd() from reply_echo
commit 495bb1efb3f4ee38b97438e20d295c8e3c959fbb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 08:57:26 2010 +0200
s3: Remove smbd_server_fd() from reply_writebraw
commit 36cfc1d145d003005111612c67474fac5b9f442e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 08:56:18 2010 +0200
s3: Remove smbd_server_fd() from send_file_readX
commit 209b3aee1c265a3d81ede4242963c043288289bb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 08:54:23 2010 +0200
s3: Remove smbd_server_fd() from send_file_readbraw
commit cc5f83831961fdcee1a286ff465e616cbcba1f13
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 08:52:01 2010 +0200
s3: Remove smbd_server_fd() from reply_readbraw_error
commit 59645506a092ed2d9b49d901c45968d10ea3b6a2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 08:51:28 2010 +0200
s3: Remove smbd_server_fd() from sendfile_short_send
commit 6f85247494e04657a11e0a05933bdc2da788277e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 08:50:26 2010 +0200
s3: Remove smbd_server_fd() from fake_sendfile
commit 3e28c05e98485c0cd3ffa3855314128400f32ad9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 08:48:54 2010 +0200
s3: Remove smbd_server_fd from netbios_session_retarget
commit 2d571fdddbe86672ce47f22d8dd05e6dddaffa06
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 23:14:26 2010 +0200
s3: Remove smbd_server_fd from vfs_pwrite_data
commit 30ce02299b3c6cb7e2f9f80ce530e8d5e3441d6c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 23:14:16 2010 +0200
s3: Remove smbd_server_fd from vfs_write_data
commit a92efa0e4738bef8a5411fb7a0bb361e3a67ca14
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 23:13:28 2010 +0200
s3: Remove smbd_server_fd from send_trans2_replies
commit 50b3ee57e2860c4074de356a45f9d54a3236f3e8
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 23:13:11 2010 +0200
s3: Remove smbd_server_fd from smbd_initialize_smb2
commit 0e12c216dcf2fccccd6b38dfbe532bfa2593ae79
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 23:12:46 2010 +0200
s3: Remove smbd_server_fd from reply_special
commit 7a1c32c98a7b536fd1478f33c2e56cc2522d7eba
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 23:12:21 2010 +0200
s3: Remove smbd_server_fd from pipe_write_done
commit 7c0c7f33379efd3caa222e4c76d7390d5aadd58b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 23:12:01 2010 +0200
s3: Remove smbd_server_fd from send_break_message_smb1
commit e34c5e235d831160599202960cc1a3411883934f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 23:11:43 2010 +0200
s3: Remove smbd_server_fd from api_dcerpc_cmd_read/write_done
commit 215d803cdbfeb7df8b4cc20c7b8d532b7be7bb99
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 23:11:23 2010 +0200
s3: Remove smbd_server_fd from send_trans_reply
commit 9878fa6f725e4c44b863de0b18269746b9ca7144
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 23:10:45 2010 +0200
s3: Remove smbd_server_fd from send_nt_replies
commit 774bae74d15621c303228c44ce4ea3707f9e078c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 23:10:18 2010 +0200
s3: Remove smbd_server_fd from blocking_lock_reply_error
commit 9115beb88c1640f00b5d5cddcfc2a09a54b3a90e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 23:10:01 2010 +0200
s3: Remove smbd_server_fd from generic_blocking_lock_error
commit c9458a756cd48abb69e5c520baba00f954ca445f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 14:54:13 2010 +0200
s3: Remove smbd_server_fd from handle_aio_read/write_complete
commit bda7c70bc0c04eeb0adb2a1a08bf958895a68879
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 14:53:45 2010 +0200
s3: Remove smbd_server_fd from schedule_aio_write_and_X
commit 2f53d1deb7a244e67302425d0f5e82caaa51f027
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 14:52:59 2010 +0200
s3: Add "sock" to smbd_server_connection
commit 7644fbdff9036088a51dfe21b32849c9d9908d16
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 16 21:40:04 2010 +0200
s3-waf: Added missing client option to pidl list for wbint.
commit 0827e52b4e82bf52f723c76a286cf6746054294a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 14:30:07 2010 +0200
s3: Simplify the logic of check_access by an early return
commit 17150dfa9ae97ef5ac2c2c55a0b31b1fd4a3501d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 12:11:07 2010 +0200
s3: Lift smbd_server_fd() from read_target_host
commit 1b022d1d3d613d2299350f9c8cea8cec4510d0b2
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 16 21:30:26 2010 +0200
s3-waf: Try to fix the idl build.
commit 5af3177dbd79c3fe494ae82509a37368c8caf204
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 16 20:35:31 2010 +0200
s3-waf: Create a variable for LIBNDR_NTPRINTING_SRC.
commit 53e0421300f6f1d8e143eddda8bec9221b73e6bb
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 16 20:25:46 2010 +0200
waf: Generate the ntprinting ndr functions.
commit 45c7f83ccb2822564ec8df3c41b5c0a9dead6e9c
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 16 20:35:16 2010 +0200
s3-waf: Fixed the rpc_client build.
commit b3f9345d7639c724aa553ade0223789a45c934b4
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 16 21:12:52 2010 +0200
Fix a typo
commit f036b449db07c17d04b7f47b1defedef2c2a0970
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 16 20:18:20 2010 +0200
s3-waf: Fixed the build.
commit f1fed298d80a3170f4fdec22ee06b4625a6876f9
Author: Jim McDonough <jmcd at samba.org>
Date: Mon Aug 16 14:07:44 2010 -0400
s3-printing: fix BUG 7280 - auto printers not loading with registry
config
commit efd822982e531d82b4b95624146b90cd3334f78f
Author: Jim McDonough <jmcd at samba.org>
Date: Mon Aug 16 14:07:44 2010 -0400
s3-printing: fix BUG 7280 - auto printers not loading with registry
config
commit dadcc840091c848ccedc3348591d0e19eff75182
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Aug 16 18:45:26 2010 +0200
s4:samdb_set_password_sid - fix comment
Add more possible result NTSTATUS codes
commit c80d4cb6fe6b02307599e0b9ad20031a3130f2f5
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 16 16:40:12 2010 +0200
s3-selftest: fix make oldtest (testparm_s3 tests use $LOCAL_PATH).
Guenther
commit 760948a5d4b65fe9353357e701e854f437adf7cb
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 15:28:27 2010 +0200
s3:winbindd: remove rpc_pipe_client references from winbind_dual_ndr code
metze
commit 13c744fa30b94e6ab4321c69a8a3d01ef42845d7
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 15:13:54 2010 +0200
s3:winbindd: use dcerpc_wbint_* functions instead of rpccli_wbint_*
metze
commit 2ccaa2355872612559935090cb032031659ea284
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 15:12:11 2010 +0200
s3:winbindd: add binding_handle to struct winbindd_child
metze
commit e79c8098d62d415d988a840f71f5733b9dfb9f68
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 14:50:47 2010 +0200
s3:include: remove unused dispatch* fn pointers from rpc_pipe_client
metze
commit 7f2343be122e80a426eeea29ed602fbc84bdc77b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 14:49:47 2010 +0200
s3:winbindd: remove unused wb_ndr_dispatch* functions
metze
commit 12379097abbab06f7a41bdcd00093f0c7ba08a8f
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 14:48:27 2010 +0200
s3:rpc_server: remove unused rpc_pipe_internal_dispatch()
metze
commit 745f63fd1ead248d5a7cd257c0cb38af3ed9dd8b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 14:46:24 2010 +0200
s3:rpc_client: remove unused cli_do_rpc_ndr* functions
metze
commit dd16d3b2d6cdaa036fe12c80b06d9963d20f5b27
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 14:39:42 2010 +0200
s3:rpc_client: remove unused rpc_pipe_open_local()
metze
commit d418f9f11abb5b5ed038acbaf5dbb2a656d39d87
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 16 13:53:10 2010 +0200
s3-printing: Lift the use of smbd_server_fd from job_submit.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit dc2313d1e87b68a5d85be8443e377491f979ecbc
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 16 13:42:23 2010 +0200
s3-param: also remove lp_update_encrypted from loadparm.
Andreas, please check.
Guenther
commit 13d1e39e473aa7c8cd78b3ca48bbe7889b29f620
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 14:26:20 2010 +0200
s3: Fix some type-punned warnings
commit 731604d8aeccc4b49db1a7f88a5334788a8ed4ef
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 16 13:30:00 2010 +0200
s3-smbtorture: fix printf statement in ioctl test.
Guenther
commit 976e1b46ef5d5751af5fb9b6bf9d0ed9bd2e3bf0
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 16 08:11:00 2010 +0200
s3: Remove an unused struct definition
commit 96ae4570230d2d47e23da6909f6e21dd43a19868
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 10:22:12 2010 +0200
s3: Remove get_client_fd()
commit a482b3e14ec4e3eada9c2477c9eae2bfbe017f53
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jul 29 13:18:35 2010 +0200
s3-auth: Remove docs about obsolete 'update encrypted' option.
commit 66b6a8cf62c2fe9b1eafeb094916e6046f686359
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jul 29 13:16:09 2010 +0200
s3-auth: Remove obsolete 'update encrypted' option.
commit f03ac22770ef96d4b0fec81d94efefcddd8b310b
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 16 12:22:27 2010 +0200
s3-selftest: add samba3.posix_s3.rpc.spoolss.notify to knownfail list.
Guenther
commit dba68d845200bb4416a87c5777de2b554110d20b
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 16 12:11:19 2010 +0200
Revert "s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is broken"
This reverts commit 8ca8250443319e0f19f05aab2014118fd03eaa8a.
commit f24c99fba05ee24232f8047a11f09a093da7b266
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 16 12:08:33 2010 +0200
s3-build: always check for python.
This should fix make test. Metze, please check.
Guenther
commit b0b73ca041ba3d90b3924b380abed4975e5354d9
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 16 10:07:24 2010 +0200
pidl:Samba4/NDR/Client.pm: correctly copy fixed size out arrays
metze
commit 1fc3676974b254fd5fd402e7fa600b9020748734
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 19:45:29 2010 +0200
s4:samdb_set_password - fix formatting
(Sorry, I've overseen this)
commit af3c6a42426241704580f4440b09a8c155d212df
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 18:19:52 2010 +0200
s4:passwords.py - proof the most important extended error codes
commit 3fcd76237d1c621e6bb876c4c33706e0db2056e2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 18:05:29 2010 +0200
s4:samdb_set_password - implement the extended LDAP error code detection
commit 2dbff00b6dd3affc95c717296d52343daf49361b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 17:38:47 2010 +0200
s4:password_hash LDB module - introduce the extended LDAP error codes on the important failure cases
commit 33bb063b053c24a84fdd13b866d1f80a964aeabf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 10:20:48 2010 +0200
s4:password_hash LDB module - support this new password set syntax
commit 6dc0c07a51ee3d26ffc44e6178b6ae842190bd19
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 10:02:43 2010 +0200
s4:passwords.py - another special password test
This looks like a password change but it's rather a password set operation.
commit 28cfae774edf7bd4e2c4d9285b0d0508bee64284
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 09:36:25 2010 +0200
s4:password_hash LDB module - allow to compare against both NT and LM hashes on password change operations
This is to match the SAMR password change behaviour.
commit 9476c43967af66e854cfda13bf09e21da7e63a44
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 18:45:09 2010 +0200
s4:ldap_backend.c - Windows returns WERROR codes in majuscule HEX format
commit fb58c0f36575510ca6572e695afdd81469ced3dd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 09:25:58 2010 +0200
s4:ldap_backend.c - map error codes - add a change which allows custom WERROR codes
This is strictly needed by my recent passwords work, since I want to remove
most of the password change stuff in "samr_password.c". Since AD gives us
CONSTRAINT_VIOLATION on all change problems I cannot distinguish on the SAMR
level which the real cause was about. Therefore I need the extended WERROR codes
here.
commit 08b628efe40bd93993ed4b662d924436444bb242
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 14:56:19 2010 +0200
s3: Remove some unused code
commit 3d447e01603c9289d027730565c1771585b19dde
Author: Andreas Schneider <asn at samba.org>
Date: Sun Aug 15 13:17:36 2010 +0200
s3-test: Try to fix the build farm subunit parsing.
commit 98187fe3092273713b7ac9f8dada01bc5485c7ef
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 09:48:53 2010 +0200
s3: Increase debug level for shutdown_other_smbds
commit 02002a52f243d29d61f62802c7e0d878b3d84a34
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 09:48:19 2010 +0200
s3: Add debugs to shutdown_other_smbds
commit f94039a8ea9c59c481e98e53080fe37d05c883a4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 09:43:56 2010 +0200
s3: Fix a typo
commit fb274f056b85b56fec773c05329c41b72e0f7715
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 15 09:24:22 2010 +0200
s4:subtree_rename.c - relax the checks when requested
(Needed by upgradeprovision for example)
commit 887b7306a779509d9929d18d0ca91b17d510fd5b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Aug 11 01:54:05 2010 +0300
s4-test: Add drs.rpc.msDSIntId test to knownfail tests
commit 776a3cdc08cb6220656c3b4b7f782d87677e29c0
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Aug 13 23:42:34 2010 +0300
s4-test: Run all DRS-RPC.* tests in ncacn_ip_tcp_tests tests group
Andrew, please check.
commit e58aed25fcc2a4f4ed5b4c167fc8f954c5d471f5
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Aug 13 22:30:39 2010 +0300
s4-drs-test: Make the two DRS test suite a top-level test suites
so that test cases gets visible with "smbtorture --list"
commit d6ccd4c9daaaf19e9fb4dd16ba8b6599d28ef1d5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 14 19:44:58 2010 +0200
s4:ldap_backend.c - fix a DS error code after WERROR change
commit 7ffae937625afa59f2e554f4aa7dc2113699f7df
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 14 19:41:46 2010 +0200
werror.h - fix order and duplicate DS error codes
commit ab3e20b82fca206d03a68acc501fdbd5a59b47a7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 14 18:47:15 2010 +0200
s4:libnet - free the "c" context also on error conditions
(and if it's NULL then "talloc_free" does ignore it)
commit 2de63aa2801a907905b3e05557074af5b896d486
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 14 18:36:49 2010 +0200
talloc:documentation - explain that "talloc_free" works also with "NULL" pointers
(talloc.c)
...
> static inline int _talloc_free_internal(void *ptr, const char *location)
> {
> struct talloc_chunk *tc;
>
> if (unlikely(ptr == NULL)) {
> return -1;
> }
>
> tc = talloc_chunk_from_ptr(ptr);
...
Obviously this never had been documented before.
commit 07af3f289e403396a9ddef744cf42e2badc1f1cc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 14 17:11:40 2010 +0200
s4:samdb_set_password - return "NT_STATUS_WRONG_PASSWORD" when a user account doesn't exist
This is for the (SAMR) account detection protection mechanism.
commit 1fa9e994423b96cc6a13682f79e827cae6850553
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 14 17:10:59 2010 +0200
s4:password_hash LDB module - improve an error message
commit 4b569d74a4be62a65e9c6ef1248eb83eae215831
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 14 11:51:47 2010 +0200
s4:password_hash LDB module - implement the SAMR behaviour when checking old passwords
Sooner or later this module should take over all password change actions.
commit e335b24ad00c3398f2bd4b7da9c4df6087597121
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 14 11:19:29 2010 +0200
s4:password_hash LDB module - fix wrong error codes
To match the passwords.py test
commit a9b055291c39198be5fb1648ba1f51418af16e09
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 14 11:59:47 2010 +0200
s4:passwords.py - test the error code when there doesn't exist any password yet
After the creation of a user object we don't have any password yet.
commit c335c5f54a2bb174b558f7edaced468e597c7ed6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 14 10:46:38 2010 +0200
s4:passwords.py - perform testing of wrong old passwords on change operations
commit 4f6377043dc7a524a2afd05cd151c82350f06cfe
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 14 11:19:53 2010 +0200
s4:torture/rpc/samr.c - fix a wrong torture error message
commit 13a4922ae631578fcc88eb6b98a15361fd805186
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 12:23:13 2010 +0200
s3: Remove a conn NULL check from claim_connection
We've already dereferenced conn before
commit 19280b65a5744ffc23fae1918f371582a237c195
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 14 10:06:55 2010 +0200
s3: Fix an uninitialized variable
commit 4f8ef205ac05cfb445e1252b02faccf9f442f1c3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 4 23:44:50 2010 +1000
s3:auth Add error paths for invalid password_state values
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 70211ea6a3517cb64f18fe7768078e7d51c51ca1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 17 19:04:31 2010 +1000
s3:auth Change winbindd -> auth interface to more standard structures
This removes conversions to and from the source3 varient of the
server_info structure when replaced in s3compat, and presents a tidier
interface to winbindd in any case.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit b1b9752506e73766ec66c3c5d26797e9f0112527
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 17 18:10:13 2010 +1000
s3:auth Change 'make_user_info' to be talloc based
This is an ideal candidate, as it already uses a free function. It
now uses talloc destructors to clear the passwords if required.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit e66f6e715fc98641f6cb20f137867723a315f672
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 21:53:42 2010 +1000
s3:auth Whitespace fixes after auth merge
commit 23994e1b53b8528007f6325ce5f286712ec021be
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 21:52:01 2010 +1000
s3:auth Make Samba3 use the new common struct auth_usersupplied_info
This common structure will make it much easier to produce an auth
module for s3compat that calls Samba4's auth subsystem.
In order the make the link work properly (and not map twice), we mark
both that we did try and map the user, as well as if we changed the
user during the mapping.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 272e49e85c47d88ef0a84bce88e6f8d984f2eae4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 4 16:44:08 2010 +1000
s4:auth Move struct auth_usersupplied_info to a common location
This also changes the calling convention slightly - we should always
allocate this with talloc_zero() to allow some elements to be
optional. Some elements may only make sense in Samba3, which I hope
will use this common structure.
Andrew Bartlett
commit 61930f50cbace4741500d8b53fc11a4ef3e0d4f8
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 9 16:39:13 2010 +1000
waf: enable gccdeps in developer mode
there are some bugs in the waf builtin preproc this that avoids
commit 952ef310b5e96fe2529562d4bb288f313be62e8a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 9 16:38:33 2010 +1000
s4-build: fixed library name in dcerpc_server.pc.in
Thanks to Metze for spotting this
commit 3828c76c76e4e9ce7bdb33bc4871f5cf571cc18b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 9 16:37:52 2010 +1000
ndr: allow ndr_print to print DATA_BLOB
this prints DATA_BLOB structures using the ndr->print() calls
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 7bb5d353e84fa2998ae03fb7ecff1c59685dd9b7
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 9 16:36:50 2010 +1000
dnsp: dnsp_name is 2 byte aligned
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit a21b0b22c75b253f9d366c9bf9117a45df214059
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 13 17:26:36 2010 +0200
s3:idmap: fix sid_to_unixid for builtin and own domain.
The old idmap code created a new mapping if asking the backends failed.
Now with the new layering, if passdb (which is used for our own domain
and builtin), then we need to continue and ask the backends, giving
tdb or whatever the default backend is a chance to create a mapping.
commit 4159048e381a29daa81876cca9841eb9189a6fff
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 13 16:15:38 2010 +0200
s3:idmap: fix spacing/indentation
commit c6a88cfd90b8f081b0b93af9cc6423af2878cdf1
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 12:02:31 2010 +0200
s3:idmap_ldap: use idmap_rw_new_mapping in idmap_ldap_new_mapping
commit 33e35cc4bab16903c2d89ac7363881005e7647f8
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 12:18:35 2010 +0200
s3:idmap_ldap: add idmap_rw_ops to idmap_ldap_context and init in db_init()
commit 502405a8a027d9700f5009c8d1cab1ed46a3ae2c
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 12:02:31 2010 +0200
s3:idmap_tdb: use idmap_rw_new_mapping in idmap_tdb_new_mapping
commit 9973ceaa4122aae02fc55cd5a7da6b4c4babb04b
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 12:12:37 2010 +0200
s3:idmap_tdb: add idmap_rw_ops to idmap_tdb_context and initialize them in init_db
commit 698d5429df315f21f8762247cb04312f81188010
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 12:02:31 2010 +0200
s3:idmap_tdb2: use idmap_rw_new_mapping in idmap_tdb2_new_mapping
commit 9d6c204c1b543aeaad96fe4db9ce84dbb04bd782
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 12:01:47 2010 +0200
s3:idmap_tdb2: add rw_ops to idmap_tdb2_context and initialize in idmap_tdb2_db_init
commit eb89a64250d976d34b20785a90921c9269cd44c4
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 17:12:32 2010 +0200
s3:idmap: add abstract idmap_rw new_mapping mechanism without registering backends
commit f1c32861c847efe531f3cfcacc8dcf235847c8cc
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 14:13:55 2010 +0200
s3:idmap_ad: untangle two assignments from checks
commit fa735eb9bbefd3720e7a979a33c3f544325482e3
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 14:12:14 2010 +0200
s3:idmap_ad: remove unused filter_low_id and filter_high_id from idmap_ad_context
The filter range from the idmap_domain is used now.
commit 726a8c279c8d78650552a165c401563e9f9b9df4
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 14:09:57 2010 +0200
s3:idmap_ad: use range from idmap_domain in idmap_ad_sids_to_unixids()
commit 7eeed2538b355a97673bf772fd76475066a10d16
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 13:13:57 2010 +0200
s3:idmap_ad: use range from idmap_domain in idmap_ad_unixids_to_sids()
commit 1f02264c9e0e37d66eadf594fc0700bcfe2e2f77
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:47:41 2010 +0200
s3:idmap_rid: remove a comment that does not apply in that place.
Probably got copied from a different location.
commit 06197dbb8e2267b59129d0a30e532b33c8b9daa7
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:44:22 2010 +0200
s3:idmap_rid: remove unused domain_name from the idmap_rid_context.
commit 4532455353a2ced4ce9da0cdd787a059e24b34e9
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:42:52 2010 +0200
s3:idmap_rid: remove range from idmap_rid_context()
Now, the idmap_domain range that is centrally parsed is used.
commit b289abe0cd41e9bc8309ba9a713c6b035229804c
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:42:06 2010 +0200
s3:idmap_rid: use range from idmap_domain in idmap_rid_sid_to_id()
commit 219f3b7ce241261408e3ce2eb324f35b98aa12b4
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:38:19 2010 +0200
s3:idmap_rid: use ranges from idmap_domain struct in idmap_rid_id_to_sid()
commit 99518e7eca42dc65bf6c624f2dd64a9ca6e5670e
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:32:35 2010 +0200
s3:idmap_rid: remove unused talloc context var from idmap_rid_sids_to_unixids()
commit 330402031eaa72f76d76d48d17d36987efb93324
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:31:41 2010 +0200
s3:idmap_rid: remove unused talloc context arg from idmap_rid_sid_to_id()
commit 946c89c0f356055c22d4497e4b265be5b1d1a910
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:30:58 2010 +0200
s3:idmap_rid: remove unused talloc context var from idmap_rid_unixids_to_sids()
commit cfedf68009918e07215bd3fbfcf5e59b8ba63eaf
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:29:57 2010 +0200
s3:idmap_rid: remove unused talloc ctx argument from idmap_rid_id_to_sid()
commit 7b9b9f094a124700cf31f7ff9b49fe1daff74851
Author: Michael Adam <obnox at samba.org>
Date: Mon Jun 21 17:28:37 2010 +0200
s3:idmap_rid: untangle assignment from check in idmap_rid_initialize()
commit 54e1ba5da5e9edd48b0d73a027987d5616924364
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 12:39:59 2010 +0200
s3:idmap_ldap: add my (C)
commit ec997b0a04a2cadcb3d262afd5dfd06355df8818
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 21:55:02 2010 +0200
s3:idmap_ldap: create mappings for unmapped sids in idmap_ldap_sids_to_unixids()
commit ccfb698c88cd3402992109e4443c1e835191b83b
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 20:19:46 2010 +0200
s3:idmap_ldap: add a idmap_ldap_new_mapping().
High level function to create a new mapping for an unmapped sid.
This builds logic that used to reside in the top level idmap code
in the backend.
commit 00cb9aedaed11ae114c5ac41589e5df94be8439e
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 20:18:27 2010 +0200
s3:idmap_ldap: add idmap_ldap_get_new_id() to allocate a new id given a domain
Currently this only works with the default domain, calling out
to idmap_ldap_allocate_id(). In the future this will be extended
to also work for non-default domains.
commit 4b25cc09874da240bb41a16c4ed0203ebe183ebc
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 20:15:25 2010 +0200
s3:idmap_ldap: move idmap_ldap_set_mapping() further up.
commit 51b0db00edcef3497ca92b851f0da82b78316e38
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 19:45:39 2010 +0200
s3:idmap_ldap: make idmap_ldap_alloc_context a member of idmap_ldap_context
this hides this beneath the idmap structure and removes a global variable
commit 2fb6cec08d588bddd56e7b2da9876b6ca9b0b978
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 19:17:48 2010 +0200
s3:idmap_ldap: call idmap_ldap_alloc_init from idmap_ldap_init.
The alloc subsystem is now subordinate to the idmap system.
commit a59d3785761c15f37f3b95a8ed12fcc290427269
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 19:03:46 2010 +0200
s3:idmap_ldap: remove the (now unused) range from idmap_ldap_alloc_context
commit 836351cb800f681c2c461a342b51105b3221191e
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 19:03:12 2010 +0200
s3:idmap_ldap: use ranges from idmap domain in idmap_ldap_allocate_id()
Second step in removing the idmap range from the idmap_ldap_alloc_context.
commit 70ad965b8207c00c9a83676856ca096d1dac684e
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 18:59:28 2010 +0200
s3:idmap_ldap: add idmap_domain arg to idmap_ldap_alloc_init and verify_idpool
First step in removing idmap ranges from the idmap_ldap_alloc_context.
The range from the domain is to be used now.
commit e28ba638f3e4564246b235c8ec8b473202a4c09a
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 10:16:54 2010 +0200
s3:idmap_ldap: remove unused filter range from struct idmap_ldap_context
commit cadbed7335f49c821c92e634b633adb841019ee5
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 10:16:20 2010 +0200
s3:idmap_ldap: don't load ranges - they have been loaded into struct idmap_domain
commit aea355a06655ee50fc24a331c674beb2f0e73c45
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 10:00:49 2010 +0200
s3:idmap_ldap: use filter range from idmap domain, not idmap_ldap_context
commit dd63335ac890ab975bbfdc6703a6e8376f627b9b
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 14:49:00 2010 +0200
s3:idmap_ldap: re-implement allocate_id in idmap methods.
commit 843eff2f507780bf21adac8cd30364bae78713dc
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 09:39:11 2010 +0200
s3:idmap_tdb: add my (C)
commit 5e21116a654c1682e18b2f4af701af6f3724d787
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 09:01:32 2010 +0200
s3:idmap_tdb: properly initialize the idmap_tdb context with zero
commit 51bd9a97fddb6b65d6646bf888c0a44f32752793
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 09:35:52 2010 +0200
s3:idmap_tdb: prevent opening the idmap db more than once.
commit 75d95ce5f3f30779935f0743f4da1d2553b9560f
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:53:54 2010 +0200
s3:idmap_tdb: rewrite sids_to_unixids to create mappings for unmapped sids.
commit 0787ecc1584e354e9aa0810bc320af5f6e9e635a
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:44:04 2010 +0200
s3:idmap_tdb: add a idmap_tdb_new_mapping().
High level function to create a new mapping for an unmapped sid.
This builds logic that used to reside in the top level idmap code
in the backend. To be called inside a transaction to guarantee
atomicity of the operation.
commit 9baf941ce974fbe18bc83200298af66d0d3c8df8
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:43:11 2010 +0200
s3:idmap_tdb: move the set_mapping code up
commit 316ec56538e4929abe3e916caf262c881047583e
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:35:28 2010 +0200
s3:idmap_tdb: use transaction wrapper for idmap_tdb_set_mapping().
commit fe1ce43c92cdd86ef12f4ad53ebb369e1a5ccfc2
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 09:47:27 2010 +0200
s3:idmap_tdb: remove unused struct idmap_tdb_state.
commit a387ac094894f737661d4076e95d66e67053195b
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:17:39 2010 +0200
s3:idmap_tdb: remove unused idmap_alloc_db
commit 44b9eb10d59818052d72799653f0c01498cf5050
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:17:06 2010 +0200
s3:idmap_tdb: remove unused idmap_tdb_alloc_close().
commit 176857e9e6aac2b7eccfb9f788aa143929901986
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:16:05 2010 +0200
s3:idmap_tdb: give idmap_domain arg to idmap_tdb_allocate_id and use ctx->db
instead of alloc_db
commit c9c89d76b02b6efc85ab30de82dc94f46e533106
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:12:43 2010 +0200
s3:idmap_tdb: call idmap_tdb_init_hwm() from idmap_tdb_open_db().
commit 7e75b36a8617b278dc380f045d0ae03c964c0ac5
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:11:19 2010 +0200
s3:idmap_tdb: move idmap_tdb_init_hwm up.
commit 263d77c1e92732dc72b784f96f8bf91ac09ac87f
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:07:40 2010 +0200
s3:idmap_tdb: remove unused idmap_tdb_load_ranges()
The idmap_tdb_state (which should actually be called idmap_tdb_alloc_context)
is being removed since the alloc part is combined with the id mapping part.
commit d467141e012fa64a90f8059472bf8fbae444103b
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 10:53:29 2010 +0200
s3:idmap_tdb: have idmap_tdb_open_db take an idmap_domain struct as argument
the other arguments are not needed any more and are removed.
commit dbb802953791dc1acc97f28655cf81900db6aef7
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 07:56:46 2010 +0200
s3:idmap_tdb: rename idmap_tdb_alloc_init->idmap_tdb_init_hwm and use db from idmap_tdb_context
instead of the special idmap_alloc_db
commit 323dba879a66ff2da1726b2259c0d0b147c60973
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 07:51:15 2010 +0200
s3:idmap_tdb: move definition of struct idmap_tdb_context up.
commit f66e98976e4a40b45c11967c96ba37a10db907de
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 07:43:14 2010 +0200
s3:idmap_tdb: remove filter_low_id,filter_high_id from idmap_tdb_context
These are now taken from the idmap_domain struct.
commit 5f06f697d34d2a5b25586bf2192fe578c6a10468
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 09:46:08 2010 +0200
s3:idmap_tdb: add idmap domain arg to idmap_tdb_upgrade and use domain range
commit 7864784aee76d1f71dfc4ef9c4366e9c0f423eb8
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 07:42:00 2010 +0200
s3:idmap_tdb: use filter from idmap_domain rather than from idmap_tdb_context
commit bd9f5b76e4f2a206761535567655f55344384576
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 07:35:28 2010 +0200
s3:idmap_tdb: give idmap domain argument to idmap_tdb_sid_to_id
instead of idmap_tdb_context. This is in preparation of using the
filter from the idmap_domain struct.
commit e634368bf2f60984128934805c0352a3389e44dc
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 07:32:12 2010 +0200
s3:idmap_tdb: give idmap domain argument to idmap_tdb_id_to_sid
instead of idmap_tdb_context. This is in preparation of using the
filter from the idmap_domain struct.
commit d1c2715c50af1e7ae01636ed6c49ff3794f58d16
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 14:41:31 2010 +0200
s3:idmap_tdb: implement allocate_id in idmap methods for tdb backend
commit 3c7c19b191419d970f9444d525f65ce7349e9f3d
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 09:26:17 2010 +0200
s3:idmap_tdb: add idmap_tdb_get_new_id() to allocate a new id given a domain
Currently this only works with the default domain, calling out
to idmap_tdb_allocate_id(). In the future this will be extended
to also work for non-default domains.
commit 3f6fd206e016412c236edec656d61349b4ca9bae
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 09:19:21 2010 +0200
s3:idmap_tdb: convert idmap_tdb_allocate_id() to use transaction wrappers
commit e09718fa2fd9434aa659ec55cdd5e248e09cfde2
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 15 09:12:49 2010 +0200
s3:idmap_tdb: remove an extra blank line
commit 011beed432b884799d4077f64a8f5f8e40b25239
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 09:39:24 2010 +0200
s3:idmap_tdb2: add my (C)
commit 4ead92961996f81e0d77ce4a20638893ab85596a
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 11:30:56 2010 +0200
s3:idmap_tdb2: move idmap_tdb2_new_mapping() up. spare a prototype.
commit 28529f5fba13d1d3640568e3848549ea9481e19c
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 09:31:53 2010 +0200
s3:idmap_tdb2: get rid of an extra variable in idmap_tdb2_db_init().
commit 8765a94c793a47ec578f8871227bc9248f113101
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:23:25 2010 +0200
s3:idmap_tdb2: move idmap_tdb2_set_mapping() up to its _action callback.
commit 35afa54c6943804faf738a6b6e6a5c9e7c00a386
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:04:53 2010 +0200
s3:idmap_tdb2: use the right talloc context for db_open in idmap_tdb2_open_db()
commit be15ee3a58c4f0d55535aee1e1022bc4087a46cf
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 22:02:54 2010 +0200
s3:idmap_tdb2: don't check whether sid is already mapped in idmap_tdb2_new_mapping().
idmap_tdb2_new_mapping() is called from inside a transaction only
with sids, that have been verified not to be mapped directly before
that in the same transaction.
commit 832ded7ebed9ff59b04a0abe616a2d81153549c4
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:40:12 2010 +0200
s3:idmap_tdb2: add the db_context to the idmap_tdb2_context
this removes the idmap_tdb2 global variable
commit 4bc0552a75f45dabb59817bc07e742a417657030
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 22:36:33 2010 +0200
s3:idmap_tdb2: talloc_zero (instead of talloc) the idmap_tdb2_context
commit b02e82441a6a27fb406e74d780a5835f0a5ab5e5
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:30:07 2010 +0200
s3:idmap_tdb2: rename idmap_tdb2_alloc_load -> idmap_tdb2_init_hwm
commit 78f84418ea2650beb3f13d04c497e645442a3d63
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:28:34 2010 +0200
s3:idmap_tdb2: move idmap_tdb2_alloc_load() up to reduce need for prototype
commit 16824af26f6ce18d225c5b7be31d1d4bac38a1a1
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:26:26 2010 +0200
s3:idmap_tdb2: remove unused idmap_tdb2_state and idmap_tdb2_load_ranges
commit e4e70606741b089585987baa9256c8c16a94e9dd
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:24:40 2010 +0200
s3:idmap_tdb2: give idmap_tdb2_alloc_load() and idmap domain arguemnt
and use the ranges from the idmap domain for checking the HWM values
commit a5e46968d7de6dd9c374fe8f559531cec2bf3af5
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:21:27 2010 +0200
s3:idmap_tdb2: add an idmap_domain struct argument to idmap_tdb2_open_db()
commit eaf9f053277e4fd925da5d04c641788aecaaf116
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:31:52 2010 +0200
s3:idmap_tdb2: remove filter_low_id and filter_high_id from idmap_tdb2_context
Now these are taken from the idmap_domain struct.
commit 7fae8f252c539f23e10d742d6fb117bc949365c3
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:17:44 2010 +0200
s3:idmap_tdb2: don't parse config and fill filter_low_id and filter_high_id
into idmap_tdb2_context in idmap_tdb2_db_init().
Now these are taken from the idmap_domain struct instead.
commit 558e311ce2e56523a158658fdd5eb1cda82d844d
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 1 16:45:51 2010 +0200
s3:idmap_tdb2: honour the "idmap read only" flag in the tdb2 module.
Note that this will not prevent the idmap script from writing its
mappings to the database, but no new unix ids will be allocated via
the allocator and hence no new mappings will be autogenerated.
commit eb7126904c564c243de89ad9393a520a93a4c64e
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:14:51 2010 +0200
s3:idmap_tdb2: use range from idmap_domain in idmap_tdb2_allocate_id
commit 7d35ceded8dbe72953a605cbe63225d0c871b7c6
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:12:44 2010 +0200
s3:idmap_tdb2: use filter from idmap_domain rather than from idmap_tdb2_context
commit f82638769b355ba89580b1ee4f6d81ee7e384ddc
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:06:17 2010 +0200
s3:idmap_tdb2: pass idmap_domain (not idmap_tdb2_context) to idmap_tdb2_sid_to_id
commit 2df9157ccf7b31d0a0ab7a2e16b1c909d068e5a0
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 16:02:07 2010 +0200
s3:idmap_tdb2: pass idmap_domain instead of idmap_tdb2_context to idmap_tdb2_unixids_to_sids
The reason for this will become apparent later: The ranges are being moved to
the idmap_domain: They are universal.
commit 514d406d9f6c00ba7025c82c8a995f93379ad11f
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 15:49:30 2010 +0200
s3:idmap_tdb2: also support idmap script for named domains
this can be configured via "idmap config DOMAIN : script = foobar"
commit 687a7d776983fe68307e07e45c56af3aea0ffb2a
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 15:47:23 2010 +0200
s3:idmap_tdb2: move the idmap script from idmap_tdb2_state to idmap_tdb2_context
The state (aka idmap_tdb2_alloc_context) is being removed.
The (global) idmap script was wrong there anyways.
It belongs to the per-domain context.
commit 2b98c5f2313fbfe047673eab7ab73befc177680e
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 15:31:55 2010 +0200
s3:idmap_tdb2: remove use of idmap_tdb2_state from idmap_tdb2_allocate_id
idmap_tdb2_state should actually be called idmap_tdb2_alloc_context.
This is being removed as the idmap and allocation is moved together.
We use the idmap_tdb2_context * that is sitting in dom->private_data.
This contains the same ranges as those in the state anyways.
Later, when we can also allocate for named domains, this will become
necessary anyways.
commit ce3e5601f5393b667acd091dce86ee0d09a5a1c9
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 15:31:05 2010 +0200
s3:idmap_tdb2: move definition of struct idmap_tdb2_context up.
commit b412754456f33daf373d5c23ca316e71de3baaa1
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 15:08:16 2010 +0200
s3:idmap_tdb2: open the db after loading the ranges in idmap_tdb2_db_init().
commit 912d3dc5b4a6d27fc29719f6f6077bfbcdf3bdcc
Author: Michael Adam <obnox at samba.org>
Date: Thu Jul 29 23:13:54 2010 +0200
s3:idmap_tdb2: add allocation of new mappings to idmap_tdb2_sids_to_unixids
This moves the new_mapping feature inside the tdb2 backend to make creations
of mappings atomic.
Note: The new internal function idmap_tdb2_get_new_id() that is used to allocate
a new unix id is prepared to function for multiple explicitly configured idmap
domains, but currently it does only work for the default domain. The extended
allocation support requires extension of the data base format to store multiple
counters (per domain). This will be added in a later step (TODO!).
commit 92215d1de02cccd7665f50d039c2e7bca19c48f2
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 14:47:11 2010 +0200
s3:idmap_tdb2: re-implement allocated_id in idmap methods.
commit cb337df6ed36fb87ab878949d8d93af46674fd9b
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 16:59:26 2010 +0200
s3:idmap: add idmap_unix_id_is_in_range() for checking an id against an idmap range
commit a3a8cd96fddb70873dcb1f4ba00c135cef5720ce
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 16:29:13 2010 +0200
s3:idmap: don't check range for passdb idmap domain
commit 203f3feed9ece70085cfff8a4ee952e7316750a8
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 16:07:55 2010 +0200
s3:idmap: parse ranges and "read only" in idmap_init_domain().
commit f5ae06544f44f895b7ad7773efe4bcad24948692
Author: Michael Adam <obnox at samba.org>
Date: Thu Jul 29 17:51:13 2010 +0200
s3:idmap: add a read_only flag to the idmap_domain struct.
This will be used to mark "allocating backends" (tdb, tdb2, ldap) read-only.
commit 9555a10577ab2bccdd21a379286babb6b9bb06cc
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 16:05:34 2010 +0200
s3:idmap: add low_id and high_id to the idmap_domain struct
This global data will replace the backend-specific filter_low_id
and filter_high_id. The presence of a range is generic to all
idmap configs.
commit 3416b7094fe9649b281c4ada882f582f9f2df97a
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 15:55:01 2010 +0200
s3:docs: fix net manpage to reflect removal of net "idmap secret alloc" feature
commit b773a106db4e54dc6273a23273e5276e0582d602
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 15:00:38 2010 +0200
s3:net: remove the "net idmap secret alloc" functionality.
This is now not available any more, since allocation is moved
below the id mapping layer. The functionality could be
reintroduced on a per domain basis as an e.g
"net idmap secret <domain> alloc" command.
commit 2ab80e2e7dffeb5341b5020cc046733d558787df
Author: Michael Adam <obnox at samba.org>
Date: Fri Jul 30 15:15:47 2010 +0200
s3:docs: add documentation for new "idmap read only" parameter
commit 2142d1728ac0b2957d1edaa4a95220012cc67089
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 1 15:35:01 2010 +0200
s3:loadparm: add new boolean parameter "idmap read only"
This will be used to be able to put the default idmap config
read only. This can make sense for instance with the tdb2
idmap backend and using the idmap script feature.
commit 7520532042f548c7f0b75976e9727b332467139e
Author: Michael Adam <obnox at samba.org>
Date: Fri Jul 30 15:01:37 2010 +0200
s3:docs: remove documentation of removed parameter "idmap alloc backend"
commit be8e6b649be6198e9bb52bfcec13f472cfa758f5
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 15:53:27 2010 +0200
s3:loadparm: remove parameter "idmap alloc backend"
commit a34d092911363b40ff89e5bd5db7b31fa7d24d66
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:56:55 2010 +0200
s3:idmap: remove unused definition of idmap_alloc_methods.
Allocation is now completely handled in the allocating backends.
commit 2a5222de3785adc6993c42b4f9fa58850f65ff77
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:55:18 2010 +0200
s3:idmap: remove idmap_alloc_context from idmap.c
The registering of alloc backends is being removed.
The idmap backends are responsible for initializing
their alloc code on their own if necessary.
No list of alloc backends is maintained any more in the top level.
commit c3aec10984bda6b8fc24981e1393d483633f83ea
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:47:04 2010 +0200
s3:idmap: remove the alloc methods list from idmap.c
The registering of alloc backends is being removed.
The idmap backends are responsible for initializing
their alloc code on their own if necessary.
No list of alloc backends is maintained any more in the top level.
commit 556609b56126428713f3b8e775d8a97c51fd410b
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:45:58 2010 +0200
s3:idmap: remove unused get_alloc_methods().
commit 493df894b62835f0fe6d3ad514d0b2fa962fbf97
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:44:44 2010 +0200
s3:idmap: remove unused smb_register_idmap_alloc().
The registering of alloc backends is being removed.
The idmap backends are responsible for initializing
their alloc code on their own if necessary.
commit fb48387d637c823f79e7e80df87006d4be6ab20f
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:41:05 2010 +0200
s3:idmap_ldap: remove unused idmap_ldap_alloc_methods.
commit 32ff774281aac9c95dcf1ef6d026113e642f93e8
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:38:58 2010 +0200
s3:idmap_ldap: remoce unused idmap_alloc_ldap_init
commit 392632505b2c590392a97757843af7b57c5522f7
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:37:40 2010 +0200
s3:idmap_ldap: don't call idmap_alloc_ldap_init in idmap_ldap_init
The registering of alloc backends is being removed.
The idmap backends are responsible for initializing
their alloc code on their own if necessary.
commit 8e763d0ed91adcd8e39697df61b6ad0300326a2d
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:34:46 2010 +0200
s3:idmap_tdb: remove unused idmap_alloc_methods
commit 8b6a03925ceaaec83530d3b0c7539766fdb224d5
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:33:34 2010 +0200
s3:idmap_tdb: remove unused idmap_alloc_tdb_init()
commit 3cf1d6c5177769425054700358e887558a3969de
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:32:20 2010 +0200
s3:idmap_tdb: don't call idmap_alloc_tdb_init in idmap_tdb_init
The registering of alloc backends is being removed.
The idmap backends are responsible for initializing
their alloc code on their own if necessary.
commit 21746f9411ef9172a70fa4f905bebff449d89da7
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:29:00 2010 +0200
s3:idmap_tdb2: remove unused idmap_tdb2_alloc_init().
commit 30c142e6133d9156a50993f20e30d686859dbc9d
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:28:02 2010 +0200
s3:idmap_tdb2: remove unused idmap_tdb2_alloc_close().
commit 0b1c5d3b9bc526d07cc9589aeb2a68d0d6187f84
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:27:18 2010 +0200
s3:idmap_tdb2: remove unused idmap_alloc_methods.
commit f6b0dbd34abfc869adb710895f0e1c4bbdbb704e
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:24:52 2010 +0200
s3:idmap_tdb2: don't call smb_register_idmap_alloc() in idmap_tdb2_init
The registering of alloc backends is being removed.
The idmap backends are responsible for initializing
their alloc code on their own if necessary.
commit 10fc3a2f659d26f3ade0ca1e8bd5579434b961b7
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 10:14:18 2010 +0200
s3:idmap_tdb: make idmap_alloc_tdb_init() static.
commit c371da52ed87cb2546e86fe39c358ad1ee51cece
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 00:27:23 2010 +0200
s3:idmap: remove unused idmap_alloc_init().
commit dba12aa3e2c74fe318c43f825a2b0198158305da
Author: Michael Adam <obnox at samba.org>
Date: Thu Jul 29 23:20:21 2010 +0200
s3:idmap: use allocate_id() from the idmap_methods in idmap_allocate_unixid()
The idmap alloc methods are being removed.
commit 59cae55fa8c30aaf29b9a675b84146fd160936c7
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 14:31:24 2010 +0200
s3:idmap: add an allocate_id method to the idmap_methods struct.
The idmap_alloc_methods are being removed, but this single "alloc" method
is still needed for the samba-wide Unix-ID allocator, which is used in
group-mapping and ldapsam:editposix.
This method should ultimately also disappear.
commit 6011f7ecc1a14ceb1ac65cf8eb511baa249c609d
Author: Michael Adam <obnox at samba.org>
Date: Sun May 30 21:40:44 2010 +0200
s3:idmap: factor out common code of idmap_allocate_uid|gid()
into new idmap_allocate_unixid().
commit 883e2268c84e0122298a9e22a0536ea826bb46e1
Author: Michael Adam <obnox at samba.org>
Date: Wed May 19 10:20:08 2010 +0200
s3:idmap: remove the set_mapping method from the idmap API
commit 33a87e2a43d50e9a26486727b582e99bf4ce3f5e
Author: Michael Adam <obnox at samba.org>
Date: Thu May 20 10:28:03 2010 +0200
s3:idmap: remove idmap_new_mapping() - now implemented in the backends
commit e08d9589df0171ce3e64b20473be8bca44904cd2
Author: Michael Adam <obnox at samba.org>
Date: Sun May 16 00:32:10 2010 +0200
s3:idmap: add a debug message to idmap_sid_to_gid
commit 995cc519970c29c6aaa290968ac6afe7bc34e062
Author: Michael Adam <obnox at samba.org>
Date: Sun May 16 00:31:39 2010 +0200
s3:idmap: add a debug message to idmap_sid_to_uid
commit bb2b4d2ad7665c2f55cec42dc7b61dc50cbc93e4
Author: Michael Adam <obnox at samba.org>
Date: Fri May 14 16:19:46 2010 +0200
s3:idmap: don't call idmap_new_mapping idmap_sid_to_gid
The setting of a new mapping is moved into the backend code
to achieve atomicity and greater flexibility.
Michael
commit b8bebcf5b9b71c01a39c7c3e4219a87149888d8d
Author: Michael Adam <obnox at samba.org>
Date: Fri May 14 16:18:16 2010 +0200
s3:idmap: don't call idmap_new_mapping idmap_sid_to_unixid.
The setting of a new mapping is moved into the backend code
to achieve atomicity and greater flexibility.
Michael
commit 6f618fb8407c358eaf708bde117afa810604fdba
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 18:05:20 2009 +0100
s3:winbind: increase interface version after removing calls
Michael
commit 51b59d14ffac27831706d7e0a2d38b7cae388f53
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 17:59:18 2009 +0100
s3:idmap: remove unused method set_id_hwm from idmap API
Michael
commit e4d1ff8c3a8bad8bbdfeedbc52e6670fb085d300
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 17:56:19 2009 +0100
s3:idmap: remove unused alloc method get_id_hwm from idmap API
Michael
commit 19452a41799ecc95a1f667f38b6589dd60f8f240
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 15:52:34 2009 +0100
s3:idmap: remove unused method dump_data() from the idmap API
Michael
commit 4d9906b57f5edc34c1d388f5e82e7b689502a7e4
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 14:44:24 2009 +0100
s3:idmap: remove the remove_mapping method from API and backends
Michael
commit 69044c7f80ec1580f9f09d2e3e4792970102d3e9
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 14:38:21 2009 +0100
s3:idmap: remove unused idmap_remove_mapping().
Michael
commit a077fc131c1d2499902288e5f903ed988e0a3ac9
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 14:36:51 2009 +0100
s4: remove REMOVE_MAPPING from wb_samba3_protocol
Michael
commit a8a4cffb74fa7221f36754d3e8e74f3fc3ee9c07
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 14:34:50 2009 +0100
s3:winbind: remove the method REMOVE_MAPPING from winbind's API
Michael
commit a025513f539f8c844a526863a6be954695eaf3c9
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 14:31:55 2009 +0100
s3:idmap: remove unused idmap_set_mapping().
Michael
commit 0eac879ba6aed5ef27a5aa5be948c44ce1d8bbf6
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 14:30:25 2009 +0100
s4: remove SET_MAPPING from wb_samba3_protocol
Michael
commit c31f60efca65b47cf1b6329f10fbcd814f5fe8c8
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 14:29:15 2009 +0100
s3:winbind: remove the method SET_MAPPING from winbind's API
Michael
commit 8af0379c10a4156f8bd255c8799b7a5403e099ef
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:57:21 2009 +0100
libwbclient: unimplement wbcRemoveGidMapping()
Michael
commit 78ea3e6396ae72d53f4ed08993df5a08705fde78
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:56:09 2009 +0100
libwbclient: unimplement wbcRemoveUidMapping()
Michael
commit fd870f3259afae0a659ed025a65eca7c431482c2
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:54:03 2009 +0100
libwbclient: unimplement wbcSetGidMapping()
Michael
commit 8a2698a504080729c826d4d3b131111e36727816
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:51:53 2009 +0100
libwbclient: unimplement wbcSetUidMapping()
Michael
commit b9ddb07538d39916b258848ced8325a2662751f4
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:49:42 2009 +0100
s3:idmap: remove unused idmap_set_gid_hwm()
Michael
commit 603524cacfa9d2c84063a95ea20b7a5292fe3fc7
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:49:06 2009 +0100
s3:idmap: remove unused idmap_set_uid_hwm()
Michael
commit 29982536eb91a57dba5f84239cc9ecf116882de1
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:46:25 2009 +0100
s4: remove SET_HWM and SET_DUAL_HWM from wb_samba3_protocol
Michael
commit c9c472c3b33a56910bd3fadf4316c8fe548fa3c6
Author: Michael Adam <obnox at samba.org>
Date: Mon Jun 28 00:34:29 2010 +0200
s3:winbind: remove SET_HWM from winbind's API.
commit 98e6dd8ca79318fe7abcf1f8371f77389f2b73b9
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:39:33 2009 +0100
libwbclient: unimplement wbcSetGidHwm()
Michael
commit fed7200d6005c862bc2be7ba05f652ec625d2950
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:37:11 2009 +0100
libwbclient: unimplement wbcSetUidHwm()
Michael
commit 82585cd64d765a7a4013b5e22dd87c7797402597
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:33:54 2009 +0100
s3:net: rewrite "net idmap restore" using dbwrap
This removes the use of libwbclient from "net idmap".
This detects the idmap backend from the current smb.conf
and stores the id mapping tables in the corresponding data bases.
Currently, only tdb and tdb2 backends are supported.
Support for the ldap backend may be implemented later.
commit e4f535b89aeb4ffed66f1d7debc5f1454b0a8fa7
Author: Michael Adam <obnox at samba.org>
Date: Mon Jun 14 12:25:11 2010 +0200
s3:net: change "net idmap dump" to use dbwrap instead of direct tdb access
This way, it will also work in a samba-ctdb cluster.
commit 2fc7fbd15f0591d63523f7cfacb4f48b77047347
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 12:20:46 2009 +0100
s3:net sam provision: compose sid before getting uid for Guest
Michael
commit ed0380200e6d6b2bc5c649f53c9950403f493fc1
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 12:12:43 2009 +0100
s3:net sam provision: allocate the uid after composing the sid for Administrator
Michael
commit 07384a32a85b0c5fa94301b7d7e7587a962ca165
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 12:01:16 2009 +0100
s3:pdb_ldap: move some code in ldapsam_create_dom_group()
to make the flow more similar to ldapsam_create_user().
This prepares for calling winbind_sid_to_gid() instead of
winbind_allocate_gid(): we need the group_sid for this...
Michael
commit 818cc18acedfa2665c61c5b38fe264254bc733b5
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 11:10:01 2009 +0100
s3:groupdb: allocate a gid after allocating a rid in pdb_default_create_alias()
Michael
commit 2bcd266ad00aaead7afc283e40033b307827cd54
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 1 14:03:32 2010 +0200
s3:idmap_tdb2: fix a debug message
commit 60eae5a1342cb0e4463d380aa2db837684e111c7
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 13 17:26:36 2010 +0200
s3:idmap: fix sid_to_unixid for builtin and own domain.
The old idmap code created a new mapping if asking the backends failed.
Now with the new layering, if passdb (which is used for our own domain
and builtin), then we need to continue and ask the backends, giving
tdb or whatever the default backend is a chance to create a mapping.
commit 9f60eb8c1b325ece9127a7c3858de7c7a48ae18f
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 13 16:15:38 2010 +0200
s3:idmap: fix spacing/indentation
commit a739cb59445f069594f01f38a6e3c7eedccd4dcc
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 12:02:31 2010 +0200
s3:idmap_ldap: use idmap_rw_new_mapping in idmap_ldap_new_mapping
commit a7ba9064d6e5446cb3d0a8d773c8f31b95667134
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 12:18:35 2010 +0200
s3:idmap_ldap: add idmap_rw_ops to idmap_ldap_context and init in db_init()
commit 6659ac11de986bb29225b87cb891c3b50175d1f9
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 12:02:31 2010 +0200
s3:idmap_tdb: use idmap_rw_new_mapping in idmap_tdb_new_mapping
commit 5a82cffb8b9444afbfa763cad2a7be57a1874d66
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 12:12:37 2010 +0200
s3:idmap_tdb: add idmap_rw_ops to idmap_tdb_context and initialize them in init_db
commit 3f3cff9127b971c0de50975ed47cbb2d102a0e03
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 12:02:31 2010 +0200
s3:idmap_tdb2: use idmap_rw_new_mapping in idmap_tdb2_new_mapping
commit e82ef14008082ae34af5d1f0205aa2b5782fc567
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 12:01:47 2010 +0200
s3:idmap_tdb2: add rw_ops to idmap_tdb2_context and initialize in idmap_tdb2_db_init
commit 307e5b239ada7f817b941f7ffa4af6f1451ae91e
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 17:12:32 2010 +0200
s3:idmap: add abstract idmap_rw new_mapping mechanism without registering backends
commit 9897647584f042e7227f3fdbf5a9a5b91a9ce83e
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 14:13:55 2010 +0200
s3:idmap_ad: untangle two assignments from checks
commit 264910b06f71ed76df8ce432d320c33ec9dac42f
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 14:12:14 2010 +0200
s3:idmap_ad: remove unused filter_low_id and filter_high_id from idmap_ad_context
The filter range from the idmap_domain is used now.
commit d515d7fe49287b62a42aab5a8261745d27e349c9
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 14:09:57 2010 +0200
s3:idmap_ad: use range from idmap_domain in idmap_ad_sids_to_unixids()
commit 96607d9543ebc1b485fa701db8f4f11fd501b750
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 13:13:57 2010 +0200
s3:idmap_ad: use range from idmap_domain in idmap_ad_unixids_to_sids()
commit f07049495d81dc4ad2df440f274d470ac41b83c9
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:47:41 2010 +0200
s3:idmap_rid: remove a comment that does not apply in that place.
Probably got copied from a different location.
commit a75822836719f17b74cb009c482482bd78349cc7
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:44:22 2010 +0200
s3:idmap_rid: remove unused domain_name from the idmap_rid_context.
commit 2916b302f35e434a1f9dfe329a146cb815bcda7e
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:42:52 2010 +0200
s3:idmap_rid: remove range from idmap_rid_context()
Now, the idmap_domain range that is centrally parsed is used.
commit ac63c50684ec2edb4a99f6ed1995288700ce5642
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:42:06 2010 +0200
s3:idmap_rid: use range from idmap_domain in idmap_rid_sid_to_id()
commit cda44b9e8e8f0edc111f5fa8daf6f8a9f5bf2a7f
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:38:19 2010 +0200
s3:idmap_rid: use ranges from idmap_domain struct in idmap_rid_id_to_sid()
commit a6f58b76cccc95f2ac69f5e215fd3a0c9d639c9e
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:32:35 2010 +0200
s3:idmap_rid: remove unused talloc context var from idmap_rid_sids_to_unixids()
commit 376e2bcc6e6f8c8b032d83116dc742c5975f042e
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:31:41 2010 +0200
s3:idmap_rid: remove unused talloc context arg from idmap_rid_sid_to_id()
commit 597292a819450866a28e8a46091a0287db9631c1
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:30:58 2010 +0200
s3:idmap_rid: remove unused talloc context var from idmap_rid_unixids_to_sids()
commit 62833871bc5e2efe203d8f0a1efaf7c9fa62ff94
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 12:29:57 2010 +0200
s3:idmap_rid: remove unused talloc ctx argument from idmap_rid_id_to_sid()
commit 622bda8a67083af2b1d0821e5cffcce4a50ea0b8
Author: Michael Adam <obnox at samba.org>
Date: Mon Jun 21 17:28:37 2010 +0200
s3:idmap_rid: untangle assignment from check in idmap_rid_initialize()
commit a896ba07bb0808143979d752ce89e94c47164f0c
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 12:39:59 2010 +0200
s3:idmap_ldap: add my (C)
commit 58cb5163f269f11ecf2846bb00022d0b382af1d7
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 21:55:02 2010 +0200
s3:idmap_ldap: create mappings for unmapped sids in idmap_ldap_sids_to_unixids()
commit 26c82596d95d31dc3d141656266123ca1fff8644
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 20:19:46 2010 +0200
s3:idmap_ldap: add a idmap_ldap_new_mapping().
High level function to create a new mapping for an unmapped sid.
This builds logic that used to reside in the top level idmap code
in the backend.
commit 4ed6f315d93213154a39748c4ecc68d3d51df488
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 20:18:27 2010 +0200
s3:idmap_ldap: add idmap_ldap_get_new_id() to allocate a new id given a domain
Currently this only works with the default domain, calling out
to idmap_ldap_allocate_id(). In the future this will be extended
to also work for non-default domains.
commit 5f77570bb6ba0a8e8233e5f8081acac48829e772
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 20:15:25 2010 +0200
s3:idmap_ldap: move idmap_ldap_set_mapping() further up.
commit 3e71eaeca09fd8df39e6b894c02e83be8df4bac1
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 19:45:39 2010 +0200
s3:idmap_ldap: make idmap_ldap_alloc_context a member of idmap_ldap_context
this hides this beneath the idmap structure and removes a global variable
commit 523b94f180a8390788a3a7ce3e10ff94f350ac98
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 19:17:48 2010 +0200
s3:idmap_ldap: call idmap_ldap_alloc_init from idmap_ldap_init.
The alloc subsystem is now subordinate to the idmap system.
commit c85426186704316e64153b938c85582e6d0ebb17
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 19:03:46 2010 +0200
s3:idmap_ldap: remove the (now unused) range from idmap_ldap_alloc_context
commit 3f39921e7e1175523766a108f338ea38038c5d79
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 19:03:12 2010 +0200
s3:idmap_ldap: use ranges from idmap domain in idmap_ldap_allocate_id()
Second step in removing the idmap range from the idmap_ldap_alloc_context.
commit 5518bcb840c288a4b041e1a0aa15e6cdefd9f028
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 18:59:28 2010 +0200
s3:idmap_ldap: add idmap_domain arg to idmap_ldap_alloc_init and verify_idpool
First step in removing idmap ranges from the idmap_ldap_alloc_context.
The range from the domain is to be used now.
commit 1cf27374ab97841cf7b70a73217151276938885b
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 10:16:54 2010 +0200
s3:idmap_ldap: remove unused filter range from struct idmap_ldap_context
commit 5bb4a94c6c022256e04e047ecf70be0d2cf09924
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 10:16:20 2010 +0200
s3:idmap_ldap: don't load ranges - they have been loaded into struct idmap_domain
commit 634cd2e0451d4388c3e3f78239495cf595368b15
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 10:00:49 2010 +0200
s3:idmap_ldap: use filter range from idmap domain, not idmap_ldap_context
commit 3a5f86216b820c4c57d46b586634b93e1ce423f2
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 14:49:00 2010 +0200
s3:idmap_ldap: re-implement allocate_id in idmap methods.
commit 5bb5b69b0faff34ec0defbd2d358eeaf6daf4ea8
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 09:39:11 2010 +0200
s3:idmap_tdb: add my (C)
commit 78979c642030c725489643fc7f395ea578c69261
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 09:01:32 2010 +0200
s3:idmap_tdb: properly initialize the idmap_tdb context with zero
commit 9c3d4dff828574263f4f2ff3632c08af387a01f1
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 09:35:52 2010 +0200
s3:idmap_tdb: prevent opening the idmap db more than once.
commit 66a38d8612733427637b13c721dd474389b7cc90
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:53:54 2010 +0200
s3:idmap_tdb: rewrite sids_to_unixids to create mappings for unmapped sids.
commit 4f2bb1a2595a23d3bba0d0b3bb7bb38872e47c95
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:44:04 2010 +0200
s3:idmap_tdb: add a idmap_tdb_new_mapping().
High level function to create a new mapping for an unmapped sid.
This builds logic that used to reside in the top level idmap code
in the backend. To be called inside a transaction to guarantee
atomicity of the operation.
commit 47387b3ebb0d4d04403d0d65312d29af6bccc95a
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:43:11 2010 +0200
s3:idmap_tdb: move the set_mapping code up
commit 2b2a8f9b3b283a39f391548775628e1aeb6fb811
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:35:28 2010 +0200
s3:idmap_tdb: use transaction wrapper for idmap_tdb_set_mapping().
commit b0615e475786faba1146949d5414518a0c2d05cf
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 09:47:27 2010 +0200
s3:idmap_tdb: remove unused struct idmap_tdb_state.
commit 28535349bd321fbaad8c8cdcdcbf5a1a95b18c96
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:17:39 2010 +0200
s3:idmap_tdb: remove unused idmap_alloc_db
commit 9010194972310e0749d426b3810785e4f5fce51d
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:17:06 2010 +0200
s3:idmap_tdb: remove unused idmap_tdb_alloc_close().
commit 2e4a0382f5f9df4e50c7a7e9759bf02f54c21925
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:16:05 2010 +0200
s3:idmap_tdb: give idmap_domain arg to idmap_tdb_allocate_id and use ctx->db
instead of alloc_db
commit 4301a81c995e0230eaac859c0a5444a90d944ed0
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:12:43 2010 +0200
s3:idmap_tdb: call idmap_tdb_init_hwm() from idmap_tdb_open_db().
commit 10395064933bd1c92d647606b4b3958aaacaf759
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:11:19 2010 +0200
s3:idmap_tdb: move idmap_tdb_init_hwm up.
commit f739ccb1b9da4b5b7941944e8a4342049254c8d8
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:07:40 2010 +0200
s3:idmap_tdb: remove unused idmap_tdb_load_ranges()
The idmap_tdb_state (which should actually be called idmap_tdb_alloc_context)
is being removed since the alloc part is combined with the id mapping part.
commit b1285a5cb3411dc0e2437d0952318b4837f14d81
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 10:53:29 2010 +0200
s3:idmap_tdb: have idmap_tdb_open_db take an idmap_domain struct as argument
the other arguments are not needed any more and are removed.
commit 53856fc8b0cdbb01eb0b639800be3ec1812aae41
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 07:56:46 2010 +0200
s3:idmap_tdb: rename idmap_tdb_alloc_init->idmap_tdb_init_hwm and use db from idmap_tdb_context
instead of the special idmap_alloc_db
commit 384e35f8a754feb601fdd9d032c3aad121e0fbc3
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 07:51:15 2010 +0200
s3:idmap_tdb: move definition of struct idmap_tdb_context up.
commit db3897258392eca17835a72d022364aa5b668c32
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 07:43:14 2010 +0200
s3:idmap_tdb: remove filter_low_id,filter_high_id from idmap_tdb_context
These are now taken from the idmap_domain struct.
commit 3315f2cf9b6113ff84dde3a402f98c5c49f74bb9
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 09:46:08 2010 +0200
s3:idmap_tdb: add idmap domain arg to idmap_tdb_upgrade and use domain range
commit 6d66018187624f4b0a0a21f34abb6e74053ce7d3
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 07:42:00 2010 +0200
s3:idmap_tdb: use filter from idmap_domain rather than from idmap_tdb_context
commit 053e4510cd4a674e3c9809b0829f32e1bca183ea
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 07:35:28 2010 +0200
s3:idmap_tdb: give idmap domain argument to idmap_tdb_sid_to_id
instead of idmap_tdb_context. This is in preparation of using the
filter from the idmap_domain struct.
commit f7a5f0987c014b26bafd4a3af8fc49396d735d34
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 07:32:12 2010 +0200
s3:idmap_tdb: give idmap domain argument to idmap_tdb_id_to_sid
instead of idmap_tdb_context. This is in preparation of using the
filter from the idmap_domain struct.
commit 0f248169d9b42fcd9f70d7cf8d13640011dd3256
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 14:41:31 2010 +0200
s3:idmap_tdb: implement allocate_id in idmap methods for tdb backend
commit 2b9ad09ae7bbfc4382e620705b2bc9c06e60fa5a
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 09:26:17 2010 +0200
s3:idmap_tdb: add idmap_tdb_get_new_id() to allocate a new id given a domain
Currently this only works with the default domain, calling out
to idmap_tdb_allocate_id(). In the future this will be extended
to also work for non-default domains.
commit 9e8df7403af834699eb94a71a5c1131a98c8b4c9
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 09:19:21 2010 +0200
s3:idmap_tdb: convert idmap_tdb_allocate_id() to use transaction wrappers
commit 85e9b35993cbcbabc3abbf4f8490581c06c5f88a
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 15 09:12:49 2010 +0200
s3:idmap_tdb: remove an extra blank line
commit aad8756daebf4eee03fb67e28324c723b81c3a02
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 09:39:24 2010 +0200
s3:idmap_tdb2: add my (C)
commit dac9f73ccd7041334308367a2f712df87173bb76
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 23 11:30:56 2010 +0200
s3:idmap_tdb2: move idmap_tdb2_new_mapping() up. spare a prototype.
commit 627b9aa4b7ccc87938c864a9be19e23b404d3fa1
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 09:31:53 2010 +0200
s3:idmap_tdb2: get rid of an extra variable in idmap_tdb2_db_init().
commit d27992e70837850136b93b93886740c77ead0416
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:23:25 2010 +0200
s3:idmap_tdb2: move idmap_tdb2_set_mapping() up to its _action callback.
commit 3bc40a09799ed3b39ff387d07b0a3928ae800444
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 08:04:53 2010 +0200
s3:idmap_tdb2: use the right talloc context for db_open in idmap_tdb2_open_db()
commit 39079acc5770c23f4c1428be60202f48882eeef3
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 22:02:54 2010 +0200
s3:idmap_tdb2: don't check whether sid is already mapped in idmap_tdb2_new_mapping().
idmap_tdb2_new_mapping() is called from inside a transaction only
with sids, that have been verified not to be mapped directly before
that in the same transaction.
commit 1a52e0d25b2d32e336f1bac4d41039e290311a6b
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:40:12 2010 +0200
s3:idmap_tdb2: add the db_context to the idmap_tdb2_context
this removes the idmap_tdb2 global variable
commit 83ad3cdf6966e25ca931ebb6feabbf9be059e838
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 22:36:33 2010 +0200
s3:idmap_tdb2: talloc_zero (instead of talloc) the idmap_tdb2_context
commit c08a45ebd9aa18d0d5795c90fc467cee089f2b7f
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:30:07 2010 +0200
s3:idmap_tdb2: rename idmap_tdb2_alloc_load -> idmap_tdb2_init_hwm
commit 41cead6a31ff7f5733103fd36711a25559edf43c
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:28:34 2010 +0200
s3:idmap_tdb2: move idmap_tdb2_alloc_load() up to reduce need for prototype
commit 2c549be359152964f9126530664e24bedd75f6f5
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:26:26 2010 +0200
s3:idmap_tdb2: remove unused idmap_tdb2_state and idmap_tdb2_load_ranges
commit fd81228ed8691e3c8fc61e0be6f516b219c0e39f
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:24:40 2010 +0200
s3:idmap_tdb2: give idmap_tdb2_alloc_load() and idmap domain arguemnt
and use the ranges from the idmap domain for checking the HWM values
commit bd4cc44c7d99dd2aeabed73ef0659909b78c6830
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:21:27 2010 +0200
s3:idmap_tdb2: add an idmap_domain struct argument to idmap_tdb2_open_db()
commit 871945ae199472f4635a272467a3df5bb4d8c44c
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:31:52 2010 +0200
s3:idmap_tdb2: remove filter_low_id and filter_high_id from idmap_tdb2_context
Now these are taken from the idmap_domain struct.
commit 2842389e55f846d559e3ae6297e6dc93b9ac68f8
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:17:44 2010 +0200
s3:idmap_tdb2: don't parse config and fill filter_low_id and filter_high_id
into idmap_tdb2_context in idmap_tdb2_db_init().
Now these are taken from the idmap_domain struct instead.
commit 6a70e7da58c61ada84e4fbe43d6631f359a466e4
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 1 16:45:51 2010 +0200
s3:idmap_tdb2: honour the "idmap read only" flag in the tdb2 module.
Note that this will not prevent the idmap script from writing its
mappings to the database, but no new unix ids will be allocated via
the allocator and hence no new mappings will be autogenerated.
commit d5c3cb5a8a55e325a84d5fc5f704af86588b2027
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:14:51 2010 +0200
s3:idmap_tdb2: use range from idmap_domain in idmap_tdb2_allocate_id
commit 4b10036da81857449e95272381faa2167ee4f10b
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:12:44 2010 +0200
s3:idmap_tdb2: use filter from idmap_domain rather than from idmap_tdb2_context
commit 77096b9a26b23edc6a059dc2bc4f56d26f4aa0ea
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 17:06:17 2010 +0200
s3:idmap_tdb2: pass idmap_domain (not idmap_tdb2_context) to idmap_tdb2_sid_to_id
commit 863212ad0e5ae59a218d9960553ec1e946f17826
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 16:02:07 2010 +0200
s3:idmap_tdb2: pass idmap_domain instead of idmap_tdb2_context to idmap_tdb2_unixids_to_sids
The reason for this will become apparent later: The ranges are being moved to
the idmap_domain: They are universal.
commit bb8a4415c86bd23909d7fc34b933d8214b3e1846
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 15:49:30 2010 +0200
s3:idmap_tdb2: also support idmap script for named domains
this can be configured via "idmap config DOMAIN : script = foobar"
commit f27858548e64b9f27d62a900aec400ea66266fa5
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 15:47:23 2010 +0200
s3:idmap_tdb2: move the idmap script from idmap_tdb2_state to idmap_tdb2_context
The state (aka idmap_tdb2_alloc_context) is being removed.
The (global) idmap script was wrong there anyways.
It belongs to the per-domain context.
commit 834008c2cd55a87d4fada2390606381ec7316915
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 15:31:55 2010 +0200
s3:idmap_tdb2: remove use of idmap_tdb2_state from idmap_tdb2_allocate_id
idmap_tdb2_state should actually be called idmap_tdb2_alloc_context.
This is being removed as the idmap and allocation is moved together.
We use the idmap_tdb2_context * that is sitting in dom->private_data.
This contains the same ranges as those in the state anyways.
Later, when we can also allocate for named domains, this will become
necessary anyways.
commit 1dfb20d0292623f21f47e93afaba865d9ff3b05b
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 15:31:05 2010 +0200
s3:idmap_tdb2: move definition of struct idmap_tdb2_context up.
commit 5b264561e7959019974d6934af7568891a1d2c99
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 15:08:16 2010 +0200
s3:idmap_tdb2: open the db after loading the ranges in idmap_tdb2_db_init().
commit 8da3d7c39be33899b29276cb2778cb9e1771bb6e
Author: Michael Adam <obnox at samba.org>
Date: Thu Jul 29 23:13:54 2010 +0200
s3:idmap_tdb2: add allocation of new mappings to idmap_tdb2_sids_to_unixids
This moves the new_mapping feature inside the tdb2 backend to make creations
of mappings atomic.
Note: The new internal function idmap_tdb2_get_new_id() that is used to allocate
a new unix id is prepared to function for multiple explicitly configured idmap
domains, but currently it does only work for the default domain. The extended
allocation support requires extension of the data base format to store multiple
counters (per domain). This will be added in a later step (TODO!).
commit 36017ecebf87b2c04d5af37bc209a64a4c6527a7
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 14:47:11 2010 +0200
s3:idmap_tdb2: re-implement allocated_id in idmap methods.
commit 1cd1dff7569fbcd2ab02066764933fc50f0dc966
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 16:59:26 2010 +0200
s3:idmap: add idmap_unix_id_is_in_range() for checking an id against an idmap range
commit 212627e9c0d62cf36f5f6101f0226f76bcee3881
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 16:29:13 2010 +0200
s3:idmap: don't check range for passdb idmap domain
commit 24ff45ff4dd01d0ea5db7e7b182c8a4c8a9df761
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 16:07:55 2010 +0200
s3:idmap: parse ranges and "read only" in idmap_init_domain().
commit dc4d838401787a5754d2114ba94029bef2a19f6d
Author: Michael Adam <obnox at samba.org>
Date: Thu Jul 29 17:51:13 2010 +0200
s3:idmap: add a read_only flag to the idmap_domain struct.
This will be used to mark "allocating backends" (tdb, tdb2, ldap) read-only.
commit 10c50f74d0efc4a6e4d58e7158b319da41528f8f
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 16 16:05:34 2010 +0200
s3:idmap: add low_id and high_id to the idmap_domain struct
This global data will replace the backend-specific filter_low_id
and filter_high_id. The presence of a range is generic to all
idmap configs.
commit c09ee2bcb41ef80ab4f33abf5de3ff4aca324f51
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 15:55:01 2010 +0200
s3:docs: fix net manpage to reflect removal of net "idmap secret alloc" feature
commit 502d00e463ad39b9d8843bd3539fdedfa56add38
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 15:00:38 2010 +0200
s3:net: remove the "net idmap secret alloc" functionality.
This is now not available any more, since allocation is moved
below the id mapping layer. The functionality could be
reintroduced on a per domain basis as an e.g
"net idmap secret <domain> alloc" command.
commit 8496c663ff2c93911b0221e24fdf4f4b31e9e563
Author: Michael Adam <obnox at samba.org>
Date: Fri Jul 30 15:15:47 2010 +0200
s3:docs: add documentation for new "idmap read only" parameter
commit 6d9f4d6d36da6f9ab729d769d00e615fe8b4a499
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 1 15:35:01 2010 +0200
s3:loadparm: add new boolean parameter "idmap read only"
This will be used to be able to put the default idmap config
read only. This can make sense for instance with the tdb2
idmap backend and using the idmap script feature.
commit 2056703d56c67b4f01b61edafdf17d5e20220078
Author: Michael Adam <obnox at samba.org>
Date: Fri Jul 30 15:01:37 2010 +0200
s3:docs: remove documentation of removed parameter "idmap alloc backend"
commit c62f7c7a0b46ab4f834ff847f3f1a13374a53714
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 15:53:27 2010 +0200
s3:loadparm: remove parameter "idmap alloc backend"
commit 7dd8339ca1d8cb8b44c128097f4ee4ee6f0b412f
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:56:55 2010 +0200
s3:idmap: remove unused definition of idmap_alloc_methods.
Allocation is now completely handled in the allocating backends.
commit 3a2487e66b85bcceba6d52881f7bc4810b757023
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:55:18 2010 +0200
s3:idmap: remove idmap_alloc_context from idmap.c
The registering of alloc backends is being removed.
The idmap backends are responsible for initializing
their alloc code on their own if necessary.
No list of alloc backends is maintained any more in the top level.
commit 12a0ab3c96acf4333371b67d81d33b3bf0c5489a
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:47:04 2010 +0200
s3:idmap: remove the alloc methods list from idmap.c
The registering of alloc backends is being removed.
The idmap backends are responsible for initializing
their alloc code on their own if necessary.
No list of alloc backends is maintained any more in the top level.
commit a423f5151d3ecf7d3dc37ae85b5868a46cdb9d39
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:45:58 2010 +0200
s3:idmap: remove unused get_alloc_methods().
commit 75a6c244591b4bc13c494c2b0ec40926379d2d4a
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:44:44 2010 +0200
s3:idmap: remove unused smb_register_idmap_alloc().
The registering of alloc backends is being removed.
The idmap backends are responsible for initializing
their alloc code on their own if necessary.
commit f96575d6db1f0137469d2611a3f3111a8101366d
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:41:05 2010 +0200
s3:idmap_ldap: remove unused idmap_ldap_alloc_methods.
commit 0369eb5555cddcdf80a7901dd64cef3114e524bc
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:38:58 2010 +0200
s3:idmap_ldap: remoce unused idmap_alloc_ldap_init
commit 0dfe400d64285cb2433718d6c09961d9513bd9a2
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:37:40 2010 +0200
s3:idmap_ldap: don't call idmap_alloc_ldap_init in idmap_ldap_init
The registering of alloc backends is being removed.
The idmap backends are responsible for initializing
their alloc code on their own if necessary.
commit bc59660fc19493076a847e6439b80e5f6b6324d5
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:34:46 2010 +0200
s3:idmap_tdb: remove unused idmap_alloc_methods
commit 5e317beadb0f73f825e46cff01aefeb8b5529454
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:33:34 2010 +0200
s3:idmap_tdb: remove unused idmap_alloc_tdb_init()
commit dd4adc172171bab0e2a211d50b0c584834aff161
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:32:20 2010 +0200
s3:idmap_tdb: don't call idmap_alloc_tdb_init in idmap_tdb_init
The registering of alloc backends is being removed.
The idmap backends are responsible for initializing
their alloc code on their own if necessary.
commit 77e41c0ad47f9a0974ad34e4de3d0721117c7917
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:29:00 2010 +0200
s3:idmap_tdb2: remove unused idmap_tdb2_alloc_init().
commit 261663389b3b04b9071b11b4f2dba39a15fda03b
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:28:02 2010 +0200
s3:idmap_tdb2: remove unused idmap_tdb2_alloc_close().
commit 39fced2f33eb60b25f8c1bddea09c429fc218f1a
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:27:18 2010 +0200
s3:idmap_tdb2: remove unused idmap_alloc_methods.
commit 8a13c959313fb876d5ef798be8e54d2971e5307d
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 11:24:52 2010 +0200
s3:idmap_tdb2: don't call smb_register_idmap_alloc() in idmap_tdb2_init
The registering of alloc backends is being removed.
The idmap backends are responsible for initializing
their alloc code on their own if necessary.
commit 7b4c6f7e89c6e5b9e68676f89e32a0d51cf947f5
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 10:14:18 2010 +0200
s3:idmap_tdb: make idmap_alloc_tdb_init() static.
commit fe8b1588b465bd84a20cc137aabdaab7453a2211
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 00:27:23 2010 +0200
s3:idmap: remove unused idmap_alloc_init().
commit 212468bc6e032c1f704a1d5042222b7299f9bcfb
Author: Michael Adam <obnox at samba.org>
Date: Thu Jul 29 23:20:21 2010 +0200
s3:idmap: use allocate_id() from the idmap_methods in idmap_allocate_unixid()
The idmap alloc methods are being removed.
commit 770b22ff5aa3f852daaf6f0fd1b2f4f81d78343c
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 22 14:31:24 2010 +0200
s3:idmap: add an allocate_id method to the idmap_methods struct.
The idmap_alloc_methods are being removed, but this single "alloc" method
is still needed for the samba-wide Unix-ID allocator, which is used in
group-mapping and ldapsam:editposix.
This method should ultimately also disappear.
commit 0d369271c5d7c466e2594a446a14977302850e2e
Author: Michael Adam <obnox at samba.org>
Date: Sun May 30 21:40:44 2010 +0200
s3:idmap: factor out common code of idmap_allocate_uid|gid()
into new idmap_allocate_unixid().
commit 0d0032e744e394597d108def097143927637f854
Author: Michael Adam <obnox at samba.org>
Date: Wed May 19 10:20:08 2010 +0200
s3:idmap: remove the set_mapping method from the idmap API
commit 95617a03db896a2ac2051f74e7d7ba1209fbc61b
Author: Michael Adam <obnox at samba.org>
Date: Thu May 20 10:28:03 2010 +0200
s3:idmap: remove idmap_new_mapping() - now implemented in the backends
commit e2968160a4649573e7820b72589042e4208ccee8
Author: Michael Adam <obnox at samba.org>
Date: Sun May 16 00:32:10 2010 +0200
s3:idmap: add a debug message to idmap_sid_to_gid
commit a08e60dd2ccc5e4be5697e3215440ec0267fe586
Author: Michael Adam <obnox at samba.org>
Date: Sun May 16 00:31:39 2010 +0200
s3:idmap: add a debug message to idmap_sid_to_uid
commit 9ee31346911bb14715704a10086214b1ddc15371
Author: Michael Adam <obnox at samba.org>
Date: Fri May 14 16:19:46 2010 +0200
s3:idmap: don't call idmap_new_mapping idmap_sid_to_gid
The setting of a new mapping is moved into the backend code
to achieve atomicity and greater flexibility.
Michael
commit f301ea59773b174da9009dfd482a56d7e72a76dd
Author: Michael Adam <obnox at samba.org>
Date: Fri May 14 16:18:16 2010 +0200
s3:idmap: don't call idmap_new_mapping idmap_sid_to_unixid.
The setting of a new mapping is moved into the backend code
to achieve atomicity and greater flexibility.
Michael
commit ccfe40c27f9be794d5ae6d4cb337d820b0a03718
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 18:05:20 2009 +0100
s3:winbind: increase interface version after removing calls
Michael
commit 95b840cbf1a22c13c038f9ffe999672bf444daa9
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 17:59:18 2009 +0100
s3:idmap: remove unused method set_id_hwm from idmap API
Michael
commit 3715a1687f0b258d0c8f0966eddc8aa6586a8735
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 17:56:19 2009 +0100
s3:idmap: remove unused alloc method get_id_hwm from idmap API
Michael
commit 672ab10ee784fcfc3270df3e7665f74ff08f7d40
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 15:52:34 2009 +0100
s3:idmap: remove unused method dump_data() from the idmap API
Michael
commit 0f913731563e3265ccc17589a01b5667c45019ec
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 14:44:24 2009 +0100
s3:idmap: remove the remove_mapping method from API and backends
Michael
commit d888e726a9b1e1e1603211821a71fd88aea566c7
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 14:38:21 2009 +0100
s3:idmap: remove unused idmap_remove_mapping().
Michael
commit c03fa64a2c05672f4b4d5a05263a449c0c7e85e1
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 14:36:51 2009 +0100
s4: remove REMOVE_MAPPING from wb_samba3_protocol
Michael
commit 3b56f7f6b5040a8f130060e7e1d8c062aa6d3b16
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 14:34:50 2009 +0100
s3:winbind: remove the method REMOVE_MAPPING from winbind's API
Michael
commit 6740c180e668307f1ee16084f5d6531508bb1cbf
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 14:31:55 2009 +0100
s3:idmap: remove unused idmap_set_mapping().
Michael
commit 74da3163f6ef7ec8c8e5d52d926dbc3e02be0c2d
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 14:30:25 2009 +0100
s4: remove SET_MAPPING from wb_samba3_protocol
Michael
commit 474020b1aeca8c527ea9aac6c39c6fb8386ace23
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 14:29:15 2009 +0100
s3:winbind: remove the method SET_MAPPING from winbind's API
Michael
commit 1ac8bf4ea8f28bf39990c42449eda07966bd5f81
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:57:21 2009 +0100
libwbclient: unimplement wbcRemoveGidMapping()
Michael
commit 89100cb509dadeb0f9905f15ea8a631094e3f052
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:56:09 2009 +0100
libwbclient: unimplement wbcRemoveUidMapping()
Michael
commit 788123ec2e975bd9019aa9a8a70f4a95b82431b8
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:54:03 2009 +0100
libwbclient: unimplement wbcSetGidMapping()
Michael
commit 2e657035081984b84063e1fbb6f6e3314e8d6166
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:51:53 2009 +0100
libwbclient: unimplement wbcSetUidMapping()
Michael
commit 806e00628810a0fd1d2884bcdb649df147f05286
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:49:42 2009 +0100
s3:idmap: remove unused idmap_set_gid_hwm()
Michael
commit 002fe91768757f20de2a40f14480b6c5f8b74bdc
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:49:06 2009 +0100
s3:idmap: remove unused idmap_set_uid_hwm()
Michael
commit 61f019d61d2aeb5d5dd79c3048d9c6048f4881f5
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:46:25 2009 +0100
s4: remove SET_HWM and SET_DUAL_HWM from wb_samba3_protocol
Michael
commit 66e67c1bad2b6bd7c28600ba166971a83e3f3520
Author: Michael Adam <obnox at samba.org>
Date: Mon Jun 28 00:34:29 2010 +0200
s3:winbind: remove SET_HWM from winbind's API.
commit ec33a624a395d6108e47a4eef9430626ec83b314
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:39:33 2009 +0100
libwbclient: unimplement wbcSetGidHwm()
Michael
commit e09a269bcc76be2101a285c0466f7fffa74366ac
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:37:11 2009 +0100
libwbclient: unimplement wbcSetUidHwm()
Michael
commit a03e2cacafacabda3fe75c784c0c360e5384339f
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 13:33:54 2009 +0100
s3:net: rewrite "net idmap restore" using dbwrap
This removes the use of libwbclient from "net idmap".
This detects the idmap backend from the current smb.conf
and stores the id mapping tables in the corresponding data bases.
Currently, only tdb and tdb2 backends are supported.
Support for the ldap backend may be implemented later.
commit 80bceab9cb53318387133edde4be888d7b3156b1
Author: Michael Adam <obnox at samba.org>
Date: Mon Jun 14 12:25:11 2010 +0200
s3:net: change "net idmap dump" to use dbwrap instead of direct tdb access
This way, it will also work in a samba-ctdb cluster.
commit a0920a5ee5f7b390b0177a0d2899bf7da43c17e1
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 12:20:46 2009 +0100
s3:net sam provision: compose sid before getting uid for Guest
Michael
commit d923907ced67b349013041327aef2d915c476102
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 12:12:43 2009 +0100
s3:net sam provision: allocate the uid after composing the sid for Administrator
Michael
commit c45eca5751fe7b50106d77b5421c1169338c27e1
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 12:01:16 2009 +0100
s3:pdb_ldap: move some code in ldapsam_create_dom_group()
to make the flow more similar to ldapsam_create_user().
This prepares for calling winbind_sid_to_gid() instead of
winbind_allocate_gid(): we need the group_sid for this...
Michael
commit 0dc3cd75a175a33a3883aa50a324db9699cb4c6b
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 22 11:10:01 2009 +0100
s3:groupdb: allocate a gid after allocating a rid in pdb_default_create_alias()
Michael
commit b28371b9a4145d5d84d290a5fece40536838b7ed
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 1 14:03:32 2010 +0200
s3:idmap_tdb2: fix a debug message
commit a8492d2a927a6f381d0ba091019a0d3e90788d4f
Author: Michael Adam <obnox at samba.org>
Date: Sat Aug 14 01:54:37 2010 +0200
s3:test: add a new "valgrindtestenv" target, similar to gdbtestenv
this runs the daemins in xterm under valgrind instead of in gdb
commit 1bc1fbe5fddfbd808daa2538221a976bbdeb5a6b
Author: Michael Adam <obnox at samba.org>
Date: Sat Aug 14 01:52:41 2010 +0200
s3:gdbtestenv: also start an xterm with nmbd. and start winbindd before smbd.
commit 40090d9b24d62c1f0e48c33f18178f076bfa7f7d
Author: Michael Adam <obnox at samba.org>
Date: Sat Aug 14 01:49:52 2010 +0200
s3:gdbtestenv: also set the xterm's window title appropriately
commit e051f3bd62201511afb2b4830b1ca597857cea65
Author: Michael Adam <obnox at samba.org>
Date: Sat Aug 14 01:48:09 2010 +0200
s3:gdbtestenv: print the server's name in the icontitle instead of "server"
commit 22e2090dfc1efdaebde80b0c2b99976dfbe77fe0
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 13 17:29:07 2010 +0200
pidl: fix printing of server side ndr request debug messages
The macros NDR_PRINT_IN_DEBUG and NDR_PRINT_OUT_DEBUG are made for
the client side. For the server side, the NDR_SET_VALUES flag needs
to be added for the OUT struct and not for the IN struct, otherwise,
the OUT part can print uninitialized data and the IN part may
recalculate string lengths illegally.
(cherry picked from commit 045f4c96d5d9c0528661499ce0e5cc729df9713d)
commit 267320b6ffa4f4930a52033b1bcc636286052df5
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 12 12:55:11 2010 +0200
s3: Reduce the load on the echo handler
If the parent is fast enough, the echo handler should not step in. When the
socket becomes readable, the echo handler goes to sleep for a second. If within
that second, the parent has picked up the SMB request from the net, the echo
handler will just go back to select().
(cherry picked from commit f7e14a8e5e65b15d83dc1be3fe2dc47b5c46d764)
commit 327021e1514f008a8eb9d8ff0f8e63e3193f4ca3
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 12 12:48:43 2010 +0200
s3: Slightly simplify the logic in smbd_server_echo_handler
(cherry picked from commit c672797a0a2fe3aa3bd2d2ef449cb5866d289981)
commit 993fc374c470fc77edd5384de895a7c94397182b
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 12 12:48:30 2010 +0200
s3: Slightly simplify the logic in smbd_server_connection_handler
commit 685035ca86c824558db255c8df53a1e9c328a828
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 15:12:29 2010 +0200
s3-dcerpc: fix build warning seen with -O3.
"warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false"
Guenther
(cherry picked from commit bb8936c08709ea5e59eeba2f67359c7511fb89f0)
commit 045f4c96d5d9c0528661499ce0e5cc729df9713d
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 13 17:29:07 2010 +0200
pidl: fix printing of server side ndr request debug messages
The macros NDR_PRINT_IN_DEBUG and NDR_PRINT_OUT_DEBUG are made for
the client side. For the server side, the NDR_SET_VALUES flag needs
to be added for the OUT struct and not for the IN struct, otherwise,
the OUT part can print uninitialized data and the IN part may
recalculate string lengths illegally.
commit ad871b73a26f3b48a522c8374c00aa5ff7d2eb4c
Author: Volker Lendecke <vl at samba.org>
Date: Fri Aug 13 22:51:29 2010 +0200
s3: Fix some error messages
commit a2f082e1dda4c762090973695a2e63b4dcbea78f
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 16:02:28 2010 +0200
s3-waf: remove pointless RPC_PARSE_SRC2.
Guenther
(cherry picked from commit 0f264935e0946f5d369df643028d1cf4b408cf76)
commit d55f8c70bb3cf74f714164e7fe4602f44b31d80b
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 16:01:56 2010 +0200
s3-build: remove pointless RPC_PARSE_OBJ2.
Guenther
(cherry picked from commit 2c99eef35561cf83b3e75d5d56d4fb03311c4aa8)
commit 94ebdbe8ba8e87b8ca4884f255945678b1822b23
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 15:24:00 2010 +0200
s3-libnet: also remove libnet/libnet_samsync_keytab.c.orig.
Guys, what are you doing here ? ;-)
Guenther
(cherry picked from commit 06a2c2364120f6c5a64545d0007ae3eb77f8afed)
commit 1cd68f7c1a4226af4667b001f93c4e474300100e
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 15:22:06 2010 +0200
s3-libnet: remove source3/libnet/libnet_join.c.orig, added by a previous commit.
Guenther
(cherry picked from commit f0475ac36cf4a7e186f0cbaab08202a3306bd496)
commit c6d9dbf89ea2d9ae9ee6ddd59e1ea524b2917dbb
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 10 12:00:29 2010 +1000
s3:libnet Add other required headers for libnet_samsync_keytab.c
Due to missing defines in modern kerberos libraries, this code was
not compiled and so this wasn't noticed.
Andrew Bartlett
Signed-off-by: Simo Sorce <idra at samba.org>
(cherry picked from commit fff6fa72ffa7890cee516bd7e65b50bdb8daf51d)
commit 87442e5a98179b35a1c48ce3387f230f32bcda8a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 10 08:25:02 2010 +1000
s3-krb5 Only build ADS support if arcfour-hmac-md5 is available
Modern Kerberos implementations have either defines or enums for these
key types, which makes doing #ifdef difficult. This shows up in files
such as libnet_samsync_keytab.c, the bulk of which is not compiled on
current Fedora 12, for example.
The downside is that this makes Samba unconditionally depend on the
arcfour-hmac-md5 encryption type at build time. We will no longer
support libraries that only support the DES based encryption types.
However, the single-DES types that are supported in common with AD are
already painfully weak - so much so that they are disabled by default
in modern Kerberos libraries.
If not found, ADS support will not be compiled in.
This means that our 'net ads join' will no longer set the
ACB_USE_DES_KEY_ONLY flag, and we will always try to use
arcfour-hmac-md5.
A future improvement would be to remove the use of the DES encryption
types totally, but this would require that any ACB_USE_DES_KEY_ONLY
flag be removed from existing joins.
Andrew Bartlett
Signed-off-by: Simo Sorce <idra at samba.org>
(cherry picked from commit 71d80e6be0687ac7c2f3caab5e7b8caf400fe37e)
commit 62d614225bb2a6e65a2c8d33550cf14a27d055fd
Author: Björn Jacke <bj at sernet.de>
Date: Fri Aug 13 14:53:22 2010 +0200
tdb: add TDB_DEPS variable filled with required libraries
This is required for Solaris, which needs to link in librt to make use of
fdatasync().
(cherry picked from commit 5390baeb6b97acbfde89bdb6a2c678a516a0e360)
commit 0c82bf028d296533c1e7fdab8fc2226343367af3
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:08:08 2010 +0200
s3-build: separate out libads_printer.
Guenther
(cherry picked from commit 3f76555ebea15cafbb635b116e67df4fd99bd734)
commit d60b00dd2516dd414f04acce4cdc8b168d97f240
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:04:12 2010 +0200
s3-waf: separate out libads_printer.
Guenther
(cherry picked from commit d1be71f1e0f5df19f978eecd8a2b96ab3cae44e0)
commit 1fca2c4f698694c62a183371365e77562978b7b4
Author: Björn Jacke <bj at sernet.de>
Date: Thu Aug 12 16:18:45 2010 +0200
s3: fall back to cups-config for underlinked libs
some OpenBSD systems have underlinked cups libraries. If linking against cups
alone fails, try to link against all the cups-config --libs cruft, which we
usually don't want. (bugzila #7244)
(cherry picked from commit 616e187d68e3e7b202413a96518b31d029e9563a)
commit 117e9c9c449cf2d364e6d3b92c7456fede136158
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 9 18:37:58 2010 +0200
Revert "s3: Use cups-config --libs"
This reverts commit 911db761148. This was introduced in 18f1f5b56b140
intentionally.
(cherry picked from commit 1d443f6bc251303e827e97401771a66c03fc33e7)
commit 6b550e642281278c2db522bb6888f24bb26cffb4
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 10 14:29:42 2010 +0200
pidl:Samba3/ClientNDR: ignore "todo" functions
metze
(cherry picked from commit a2e1f54b3eac810e147ee5e608c6bdee03f5a8a7)
commit 5720be02c69109f1a6f5a16ecdeb2d79cc555498
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Sat Aug 14 02:13:26 2010 +0930
tdb: workaround starvation problem in locking entire database.
We saw tdb_lockall() take 71 seconds under heavy load; this is because Linux
(at least) doesn't prevent new small locks being obtained while we're waiting
for a big log.
The workaround is to do divide and conquer using non-blocking chainlocks: if
we get down to a single chain we block. Using a simple test program where
children did "hold lock for 100ms, sleep for 1 second" the time to do
tdb_lockall() dropped signifiantly. There are ln(hashsize) locks taken in
the contended case, but that's slow anyway.
More analysis is given in my blog at http://rusty.ozlabs.org/?p=120
This may also help transactions, though in that case it's the initial
read lock which uses this gradual locking routine; the update-to-write-lock
code is separate and still tries to update in one go.
Even though ABI doesn't change, minor version bumped so behavior change
can be easily detected.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
(cherry picked from commit 11ab43084b10cf53b530cdc3a6036c898b79ca38)
commit b7ecdd9a188c1b06d8244a926d3bd59d5fcfdc29
Author: Jeremy Allison <jra at samba.org>
Date: Fri Aug 13 10:47:08 2010 -0700
Eliminate any chance of a class of "uninitialized auto variable" errors.
Jeremy.
(cherry picked from commit 15d3541c678894adebd3e9c446e3aa1c43148837)
commit 15d3541c678894adebd3e9c446e3aa1c43148837
Author: Jeremy Allison <jra at samba.org>
Date: Fri Aug 13 10:47:08 2010 -0700
Eliminate any chance of a class of "uninitialized auto variable" errors.
Jeremy.
commit 11ab43084b10cf53b530cdc3a6036c898b79ca38
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Sat Aug 14 02:13:26 2010 +0930
tdb: workaround starvation problem in locking entire database.
We saw tdb_lockall() take 71 seconds under heavy load; this is because Linux
(at least) doesn't prevent new small locks being obtained while we're waiting
for a big log.
The workaround is to do divide and conquer using non-blocking chainlocks: if
we get down to a single chain we block. Using a simple test program where
children did "hold lock for 100ms, sleep for 1 second" the time to do
tdb_lockall() dropped signifiantly. There are ln(hashsize) locks taken in
the contended case, but that's slow anyway.
More analysis is given in my blog at http://rusty.ozlabs.org/?p=120
This may also help transactions, though in that case it's the initial
read lock which uses this gradual locking routine; the update-to-write-lock
code is separate and still tries to update in one go.
Even though ABI doesn't change, minor version bumped so behavior change
can be easily detected.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit f00b61c7d4611802c66495824c97af6cad69704e
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 10 11:33:03 2010 +0200
s3-selftest: move make test to selftest.
The old "make test" can be still called as "make oldtest".
Guenther
commit 472d2a356fe2fad8b54920d99e2829344fd646cd
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 18:28:48 2010 +0200
s3-selftest: fix testparm tests as non-root.
Thanks to Andreas for pointing this out.
Guenther
commit ca8db7fd63749989dcb3daae0c38b8b788ebdfb8
Author: Andreas Schneider <asn at samba.org>
Date: Tue Aug 10 13:45:55 2010 +0200
s3-smbd: Publish nt printers.
Reloading of the printers requires rpc services up and running! The
first call in reload_services will be skipped.
Signed-off-by: Simo Sorce <idra at samba.org>
commit aff002e829b8169997f7f446959e2f1d5baf3a60
Author: Andreas Schneider <asn at samba.org>
Date: Tue Aug 10 12:29:27 2010 +0200
s3-smbd: Move rpc services init to smbd parent.
The move to the parent makes it possible to use an internal rpc pipe
really early and as we migrated serveral parts of samba to rpc function
this is required. This should speed up the fork of a smbd a bit cause
the rpc services are already running.
We still have several problems here which aren't solved. We don't have a
dependency tree here. For example we have to make sure that the registry
is initialized before we can use the winreg pipe. The spoolss server
requires winreg, so we have to start winreg before we can start the
spoolss server. I'm sure there are more dependencies.
Signed-off-by: Simo Sorce <idra at samba.org>
commit 62a2a9e27f8983717f13dbe3d92b21ed4b9bf22e
Author: Andreas Schneider <asn at samba.org>
Date: Tue Aug 10 12:28:46 2010 +0200
s3-smbd: Regroup some init functions.
Signed-off-by: Simo Sorce <idra at samba.org>
commit 9ab62b774f071be83375a4b2544a7e70e147e699
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 9 15:57:38 2010 +0200
s3-smbd: Fixed indent.
Signed-off-by: Simo Sorce <idra at samba.org>
commit 4a5cef82d8c2a0f35e9c06a0dc262fdb367279a1
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 9 14:50:12 2010 +0200
s3-loadparm: Added some comments to lp_load_ex calls.
Signed-off-by: Simo Sorce <idra at samba.org>
commit e18039062c77947dd4e6d1c841a7c587a85ab8ce
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 9 14:49:08 2010 +0200
s3-smbd: Cleanup the order of the init functions.
Signed-off-by: Simo Sorce <idra at samba.org>
commit 120bd9775a286e173a22f7c90b61e107887122e4
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 9 14:47:55 2010 +0200
s3-smbd: Make sure the event context is initialized.
Signed-off-by: Simo Sorce <idra at samba.org>
commit 2c99eef35561cf83b3e75d5d56d4fb03311c4aa8
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 16:01:56 2010 +0200
s3-build: remove pointless RPC_PARSE_OBJ2.
Guenther
commit 0f264935e0946f5d369df643028d1cf4b408cf76
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 16:02:28 2010 +0200
s3-waf: remove pointless RPC_PARSE_SRC2.
Guenther
commit 734f5819069a5e38226223a45ca6aa59a0523b23
Author: Volker Lendecke <vl at samba.org>
Date: Fri Aug 13 15:08:38 2010 +0200
s3: Replace some cli_errstr calls by nt_errstr
commit 06a2c2364120f6c5a64545d0007ae3eb77f8afed
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 15:24:00 2010 +0200
s3-libnet: also remove libnet/libnet_samsync_keytab.c.orig.
Guys, what are you doing here ? ;-)
Guenther
commit f0475ac36cf4a7e186f0cbaab08202a3306bd496
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 15:22:06 2010 +0200
s3-libnet: remove source3/libnet/libnet_join.c.orig, added by a previous commit.
Guenther
commit bb8936c08709ea5e59eeba2f67359c7511fb89f0
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 15:12:29 2010 +0200
s3-dcerpc: fix build warning seen with -O3.
"warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false"
Guenther
commit 71d80e6be0687ac7c2f3caab5e7b8caf400fe37e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 10 08:25:02 2010 +1000
s3-krb5 Only build ADS support if arcfour-hmac-md5 is available
Modern Kerberos implementations have either defines or enums for these
key types, which makes doing #ifdef difficult. This shows up in files
such as libnet_samsync_keytab.c, the bulk of which is not compiled on
current Fedora 12, for example.
The downside is that this makes Samba unconditionally depend on the
arcfour-hmac-md5 encryption type at build time. We will no longer
support libraries that only support the DES based encryption types.
However, the single-DES types that are supported in common with AD are
already painfully weak - so much so that they are disabled by default
in modern Kerberos libraries.
If not found, ADS support will not be compiled in.
This means that our 'net ads join' will no longer set the
ACB_USE_DES_KEY_ONLY flag, and we will always try to use
arcfour-hmac-md5.
A future improvement would be to remove the use of the DES encryption
types totally, but this would require that any ACB_USE_DES_KEY_ONLY
flag be removed from existing joins.
Andrew Bartlett
Signed-off-by: Simo Sorce <idra at samba.org>
commit fff6fa72ffa7890cee516bd7e65b50bdb8daf51d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 10 12:00:29 2010 +1000
s3:libnet Add other required headers for libnet_samsync_keytab.c
Due to missing defines in modern kerberos libraries, this code was
not compiled and so this wasn't noticed.
Andrew Bartlett
Signed-off-by: Simo Sorce <idra at samba.org>
commit 5390baeb6b97acbfde89bdb6a2c678a516a0e360
Author: Björn Jacke <bj at sernet.de>
Date: Fri Aug 13 14:53:22 2010 +0200
tdb: add TDB_DEPS variable filled with required libraries
This is required for Solaris, which needs to link in librt to make use of
fdatasync().
commit 37177f1c05398e1d4a59bebcdb3cd16dd6e8382b
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 13 13:33:40 2010 +0200
s3-build: pointless to link in libads and dcutils into smbcacls.
Guenther
commit 3f76555ebea15cafbb635b116e67df4fd99bd734
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:08:08 2010 +0200
s3-build: separate out libads_printer.
Guenther
commit d1be71f1e0f5df19f978eecd8a2b96ab3cae44e0
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 17:04:12 2010 +0200
s3-waf: separate out libads_printer.
Guenther
commit b0343b2c0b4851c7bfd3e2fdec171790f09536be
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 15:43:03 2010 +0200
s3-selftest: add testparm tests to selftest.
Guenther
commit 5ea7f0e6805b33a4f6301e892dcbb1b5bf8fe043
Author: Jeremy Allison <jra at samba.org>
Date: Thu Aug 12 14:24:01 2010 -0700
Fix bug #7617 - smbd coredump due to uninitialized variables in the performance counter code.
In the file rpc_server.c, function _winreg_QueryValue()
uint8_t *outbuf
Should be :
uint8_t *outbuf = NULL;
As it is later freed by
if (free_buf) SAFE_FREE(outbuf);
in some cases, this frees the unintialized outbuf, which causes a coredump.
(cherry picked from commit 84fd910c347ddfad6f01edbe7f6e25546c8382ee)
commit 84fd910c347ddfad6f01edbe7f6e25546c8382ee
Author: Jeremy Allison <jra at samba.org>
Date: Thu Aug 12 14:24:01 2010 -0700
Fix bug #7617 - smbd coredump due to uninitialized variables in the performance counter code.
In the file rpc_server.c, function _winreg_QueryValue()
uint8_t *outbuf
Should be :
uint8_t *outbuf = NULL;
As it is later freed by
if (free_buf) SAFE_FREE(outbuf);
in some cases, this frees the unintialized outbuf, which causes a coredump.
commit a8326c6dfe8186e6d9fce58ed6478d0956e6284a
Author: Jim McDonough <jmcd at samba.org>
Date: Thu Aug 12 17:51:02 2010 -0400
s3-libnet: fix bug #6364: Pull realm from supplied username on libnet join
commit c67b4ed3a406011d0fc7e1e2cbdc27ec4822e57c
Author: Jim McDonough <jmcd at samba.org>
Date: Thu Aug 12 17:51:02 2010 -0400
s3-libnet: fix bug #6364: Pull realm from supplied username on libnet join
commit 73a69e2d0f011327dddf2d0086e13b7b05397af7
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 16:51:24 2010 +0200
s3-waf: fix the build.
Guenther
commit 616e187d68e3e7b202413a96518b31d029e9563a
Author: Björn Jacke <bj at sernet.de>
Date: Thu Aug 12 16:18:45 2010 +0200
s3: fall back to cups-config for underlinked libs
some OpenBSD systems have underlinked cups libraries. If linking against cups
alone fails, try to link against all the cups-config --libs cruft, which we
usually don't want. (bugzila #7244)
commit 1d443f6bc251303e827e97401771a66c03fc33e7
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 9 18:37:58 2010 +0200
Revert "s3: Use cups-config --libs"
This reverts commit 911db761148. This was introduced in 18f1f5b56b140
intentionally.
commit feb432292ee7c8a158524b8c5abbe41ca7882d4b
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 12 16:28:10 2010 +0200
ntlmssp: fix unitialized variable in ntlmssp_server_postauth().
Guenther
commit 5130e664b91636a9ca31a52897ba1d121d0252a2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 21:01:25 2010 +0200
pidl:Samba3/ClientNDR: implement rpccli_ stubs on top of dcerpc_ stubs
metze
commit 56a6a972f2eba3b668add8af69ebb3a724cea28f
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 6 12:20:07 2010 +0200
s3:Makefile: link in dcerpc client stubs
metze
commit 7e24d1dd57ab0a664eb83ff1178d56a9c8d90ecb
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 6 11:50:09 2010 +0200
s3:winbindd: add wbint dcerpc_binding_handle backend
metze
commit 262dcfcd87997a94ea097b58e60d29e334d0167d
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 7 14:37:21 2010 +0200
s3:rpc_server: add rpc_pipe_open_internal dcerpc_binding_handle backend
metze
commit 2c0e296dd74c1b064d836f6807a808231f8998d4
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 6 11:30:51 2010 +0200
s3:rpc_client: add dcerpc_binding_handle backend
metze
commit b34209006fd75533b22e77c77d8fde3e4cb1506a
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 7 14:48:57 2010 +0200
s4:librpc/rpc: make struct dcerpc_binding_handle private
metze
commit 51fb4c386040c9fdc44f4473025c9d83e628b5e6
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 10 13:27:12 2010 +0200
pidl:Samba4/NDR/Client: add sync dcerpc_pipe based stubs as compat for OpenChange
This will activate the compat wrappers for all functions of an interface:
#define DCERPC_IFACE_MYPROTO_COMPAT 1
#include <ndr_myproto_c.h>
This will activates the compat wrappers just for specific functions:
#define DCERPC_CALL_MYFN1_COMPAT 1
#define DCERPC_CALL_MYFN2_COMPAT 1
#include <ndr_myproto_c.h>
metze
commit 719981adfdd6d828ec0a78ca2be2776502751674
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 16:10:52 2010 +0200
pidl:Samba4/NDR/Client: add non struct base dcerpc_binding_handle client stubs
metze
commit 62297dff8f64de8ffa3fe4d2a7cd99d45173561d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 13:29:56 2010 +0200
pidl:Samba4/NDR/Client: convert code to $self->pidl()
metze
commit 570eefc57a051166d99445a830b8d7e5ffbd86f7
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 12:59:46 2010 +0200
pidl:Samba4/NDR/Client: s/interface/if/
metze
commit 76691e9eaf9520429c7ea0ef6b2955c143b068e5
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 18:22:02 2010 +0200
pidl:Samba4/NDR/Client: make use of the new dcerpc_binding_handle_call() infrastructure
metze
commit db89fdac7329d02bf08f705443b62369bb23081e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 17:56:10 2010 +0100
pidl:Samba4/NDR/Client: remove old dcerpc_pipe based sync stubs
They're unused in Samba and only used by OpenChange.
I'll add a compat functions for OpenChange later.
metze
commit 7eef08cc63ed231b54dd2a5936579ffc60a0c087
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 18:18:30 2010 +0200
s4:librpc/rpc: add dcerpc_binding_handle dcerpc_pipe backend
metze
commit 4030bc9b2df3f2a1c18b373a94c53e48ba80cfc1
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 18:14:04 2010 +0200
librpc/rpc: add dcerpc_binding_handle abstration
metze
commit 282831874379445a071dfe157ae4cfba6aeb10aa
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 10 15:11:02 2010 +0200
s4:librpc/rpc: fix dcerpc_log_packet() prototype
metze
commit af89b460f72acb843b57a80a8f61a26056dc0dd2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 10:50:47 2010 +0200
s4:librpc/rpc: autodetect the need of async call logic
metze
commit a2e1f54b3eac810e147ee5e608c6bdee03f5a8a7
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 10 14:29:42 2010 +0200
pidl:Samba3/ClientNDR: ignore "todo" functions
metze
commit 6fe216642a1003a2fda2b8332199ff84c8712984
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 12 09:31:38 2010 +0200
testprogs/midltests: add some example IDL files and there midltests.exe output
metze
commit f7e14a8e5e65b15d83dc1be3fe2dc47b5c46d764
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 12 12:55:11 2010 +0200
s3: Reduce the load on the echo handler
If the parent is fast enough, the echo handler should not step in. When the
socket becomes readable, the echo handler goes to sleep for a second. If within
that second, the parent has picked up the SMB request from the net, the echo
handler will just go back to select().
commit c672797a0a2fe3aa3bd2d2ef449cb5866d289981
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 12 12:48:43 2010 +0200
s3: Slightly simplify the logic in smbd_server_echo_handler
commit c7a2e52ef171512e2c0f80a57dd3f61b4cf0dba1
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 12 12:48:30 2010 +0200
s3: Slightly simplify the logic in smbd_server_connection_handler
commit 277248a4a7241a277cf442f0683b925d01a37ae6
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 12 12:25:41 2010 +0200
s3: ?true:false is a *bit* pointless :-)
commit f62756e8f06c0c3d54c41460c8d25cb12af5fb24
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 10 19:41:38 2010 +0200
Fix a typo
commit 44de839dabb6062d524ddc0001ca23fb8505e643
Author: James Peach <jpeach at samba.org>
Date: Fri Aug 6 15:21:31 2010 -0700
smbtorture: Don't crash RAW-QFILEINFO if there's no alternate name.
commit 88d48a7d92ca7dedc5357a1e7caab544e586bafb
Author: James Peach <jpeach at samba.org>
Date: Fri Aug 6 15:25:12 2010 -0700
smbtorture: Make BASE-OPENATTR report a failure if it fails.
commit c43e832c5160fbffb31ddd64b43dbbc8124b1ca0
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 11 12:45:51 2010 +0200
s3-waf: fix the waf build with more recent MIT krb5 libs.
(such as MIT krb5 1.7.1 on fedora 13).
This whole area needs more work and love later, for now it builds at least.
Kai, please check.
Guenther
commit 03bfd4290f70ab2de46ccd82a429fda57c8c6bb9
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Aug 10 01:08:19 2010 +0300
s4-test: Implement DRS-RPC-msDSIntId test case
commit d595f070f6ab7c6c8732c3c3a4ca39d37bcca3b4
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Aug 10 21:05:47 2010 +0300
s4-dsdb: fix attributes_by_msDS_IntId index sorting
commit 06f59855a7b4fcc6f4957d9e1a8e29e387397b50
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Aug 7 12:52:07 2010 +0300
s4-test: Move dsdb_schema loading into public function
I will use this function for tests implementation later
commit c30f9bd7345cddd85502eb9d099279606959f447
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Aug 5 04:55:04 2010 +0300
s4-test: Move RPC-DSSYNC test in DRS-RPC test suite
commit da074f10e3900413a134ee8143c68f05563da13f
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Aug 5 18:37:24 2010 +0300
s4-test: Move dssync.c to torture/drs/rpc
commit f3c06892eccac1169a73615637bf82bf956ce523
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Aug 5 18:35:35 2010 +0300
s4-test: strip trailing white-spaces
commit dfc1cf9e57b5cbdf924287d7b2f9c3c8284a54cf
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 9 19:38:30 2010 +0200
pidl:NDR: correctly handle no pointer bracket arrays with 'string'
metze
(cherry picked from commit a22989a54afd411a8d038110c7df2c545b4121b7)
commit 067b5721c71cbc0004ea59d357e79cd4fc8d8954
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Aug 10 21:01:11 2010 +0200
s4:objectclass LDB module - weak the check for the "rIDSet" delete constraint
Perform it only when a "rIDSet" does exist. Requested by ekacnet for
"upgradeprovision".
commit 765199607a07dfff1e37da9e897ca89fbe72f5ad
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 6 14:50:31 2010 +0200
s3:utils/net_rpc_service.c: we also need some ndr_pull functions
metze
(cherry picked from commit 1c515fb94b9bc4d432aa6435e352cb8294f436e2)
commit dba6d936ccea25800ab278d5b506049f590b57df
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 6 14:51:54 2010 +0200
s3:libnet/libnet_samsync.c: we also need some ndr_pull functions
metze
(cherry picked from commit 08cf7ac7a0d885ca4bf733c7f7f705b3f2a30e92)
commit 46be277ad6e707d03739541d07ebf6ae05b58293
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 6 14:52:58 2010 +0200
s3:rpcclient: we also need some ndr_pull functions
metze
(cherry picked from commit d6eb42cc619206c280edd732b1b56563a21e8f4d)
commit 4acb48edc00c0b82d3c6e63128f147bf8188a5b5
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 17:19:16 2010 +0200
librpc/idl/mgmt.idl: add missing size_is()
metze
(cherry picked from commit ad94ae980462dc4c581a2fa1d7e927c2ae625c19)
commit 31bc9ad0c08eba2b79b09ce0a9c0f2a2e98a9646
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 16:10:37 2010 +0200
pidl:NDR: correctly handle bracket arrays with 'string'
metze
(cherry picked from commit 0a7f749bc80d9846b97cd22cd503473a205aaafd)
commit 7853a6d4bbb9c2f0dcacb950fe353ff77701d227
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Aug 8 09:21:57 2010 +0200
s3:smbd: fix valgrind warning, sizeof(16) != 16...
metze
(cherry picked from commit ac9f06c9b93ada5d0e8331a122e199a8f69049a3)
commit 6af4ce44d0c2d75652a8cad99eae9071595fe19f
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Aug 8 09:23:00 2010 +0200
s3:rpc_server: fix valgrind warning
metze
(cherry picked from commit cc6951243d5641e2185ed9dee3b6ee4de07d217b)
commit bc64c9ab1b4e58ad1475c82e8f97c9ad9f50a9c5
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 7 14:27:27 2010 +0200
s3:rpc_server: fix memory leaks in rpc_pipe_internal_dispatch()
metze
(cherry picked from commit 66412bfc76dc8b7337f3690ec75b14542a3df11e)
commit 303089f5b8ced9fb80ed76cb0205f0cdf11fc530
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Aug 9 19:52:00 2010 +0200
s4:dsdb/common/util.c - provide a call which returns the forest function level
Sooner or later we'll need this too since not all operations depend only on the
current's domain function level (see the MS-ADTS docs).
commit 3b1d74f4b677842a0cbe16ba29be7d672c07b87c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Aug 9 19:48:03 2010 +0200
libds/common/flags.h - fix a comment's typo
commit e53fc1228f12ff2ce2c84936e38fef3b5ae311c4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Aug 9 19:45:45 2010 +0200
s4:dsdb/common/util.c - use LDB constants whenever possible
commit 1b58b1ecd0fc920e3433c2f67b3b88be81b226fe
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 4 14:55:10 2010 +0200
s3-waf: fix the build.
Guenther
(cherry picked from commit 4b17ff4a9088860646e127b17df18d415dbdc97d)
commit 163cd49b09102976036b9425043d921bbcb851f8
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 3 15:55:20 2010 +0200
s3-dcerpc: fix some uninitialized variables build warnings.
Guenther
(cherry picked from commit 64b26affe0afa2999130cdd4f1d521dccd877c9c)
commit dcc0314f06bd607757ae534f0626f016c521ca90
Author: Günther Deschner <gd at samba.org>
Date: Sun Aug 1 15:34:52 2010 +0200
s3-build: fix some c++ build warnings.
Guenther
(cherry picked from commit 322b52419485b882658c53c21f86e5bdfa82b71f)
commit 9673c7f01ec562cf9e5a203cf584cdfc8c87987b
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 30 16:34:53 2010 -0400
cleanups: Trailing spaces, line length, etc...
(cherry picked from commit 28c74564c5bd3c972745deaa904ec8695f21ea1f)
commit 398020fb42cd97dc4e2a918f8adc1656724cb08d
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 30 14:01:01 2010 -0400
s3-dcerpc: Use dcerpc_guess_sizes in the server code too.
(cherry picked from commit 57bd974e5865212641f6941dd875bc1bc4967ed9)
commit c12e4f2cb13f4fdd52602d3d0fe2bb36731a31f6
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 30 13:12:35 2010 -0400
s3-dceprc: Improve dcerpc_guess_sizes() interface
Make it possible to pass in the NDR padding size so that theoretically
client and server code can decide to use a different alignment.
Pass in the header length as a parameter so that this function can be used for
different type of packets.
Make sure padding size will not make the fragment exceed the maximum length.
Calculate padding taking in account the header length.
(cherry picked from commit 4c64e4d4af3403559b370381d7f14a83a39adfa7)
commit da1b08d3c957dc78c2d8ffe3329494331d3af6ae
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 30 12:19:20 2010 -0400
s3-dcerpc: rationalize packet creation in the server code
Move all related functions into create_next_packet, but make it transport
neutral (not pass in pipse_struct)
(cherry picked from commit 3469fbc5e4098e798a03d14fece24fde2b60d9b9)
commit 191f069fad1c9b537b67076470e57217c3cbcc38
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 30 11:27:40 2010 -0400
s3-dcerpc: Make function to guess pdu sizes common.
(cherry picked from commit a9d3a596a7c4d7e5775751cbce74e2fb07ce2192)
commit 3a8a5492f4cbe09475c279773f591be0a3868009
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 29 20:20:49 2010 -0400
s3-dceprc: consolidate use of dcerpc_push_dcerpc_auth()
(cherry picked from commit 9329a9fe848761e2835ff58123d8f64d8bab35b2)
commit 6d550efdbe2e4514f2da990f13dbfa6393ad197a
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 29 20:21:53 2010 -0400
s3-dcerpc: Remove unused functions
(cherry picked from commit da6c246aacc298ec0c7536289afbd9e0d99ea130)
commit 88cf1c1d4ccfe38a9a6111a1f58d7c5e3c59c98d
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 29 19:55:44 2010 -0400
s3-dcerpc: use common spengo wrapper code for client SPNEGO/NTLMSSP
(cherry picked from commit 186f93633b4890c444115ac4eed109aa24f20b44)
commit 04f397fdc8fe20dbc1cc78c32892d22a8e79859b
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 29 16:34:39 2010 -0400
s3-dcerpc: add sign/seal support when using SPNEGO/KRB5
(cherry picked from commit 984438ca1522bfc2d882b2e3e7e8db187577e05a)
commit 3bf13474133d014bfaceef9d38b0a748651dda76
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 28 17:06:51 2010 -0400
s3-dcerpc: Add SPNEGO incapsulation for KRB5 auth
commit 9132f34c2e31f41ce815e04e1ef509be8b875c9d
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 29 20:07:19 2010 -0400
rpcclient: Use DCERPC_AUTH_LEVEL_CONNECT if no sign/seal is set for ntlmssp
(cherry picked from commit e286b9c0bd7bf553f216d7c8288bb75a6b3dde95)
commit db8bd28f5d7e5b7082ca4f04a94557c5279d0fd8
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 28 17:06:14 2010 -0400
s3-dcerpc: Try to fix build when gssapi_ext.h is not available
(cherry picked from commit e8ac4a8b82798ef0691d384f59d880dc38b56592)
commit 24b0188ca69447a2c3e6c8228c25675ebd0b0439
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 28 15:53:56 2010 -0400
Do not refernece pipe_auth_data directly in dcerpc_gssapi.c
(cherry picked from commit 7c9c075987e7cdb2d5cb6311876f088f907e46f2)
commit 0ce9b9728ce6a218747c038719b17949e5229234
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 28 15:35:02 2010 -0400
s3-dcerpc: Avoid ifdef, it is handled within dcerpc_gssapi.c already
(cherry picked from commit d17abc69f690ccc845a0a1d6d291b6e21ce86b3d)
commit bcb5b482a374511223c05f924364fc77a125214c
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 28 12:44:37 2010 -0400
smbd: Fix build warning
(cherry picked from commit c4b3c9ec0f2efa937529160999f7e44bcad3591f)
commit b8979bba77769129d5b09a03331523fc45d47cc0
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 24 13:02:57 2010 -0400
s3-dcerpc: Add sign/seal with gssapi
(cherry picked from commit 7eaa15af2c5b544946bfb2b8c522ba9677527972)
commit 6841746520a631f9d4f85bdf15270178e9180171
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 24 10:35:25 2010 -0400
s3-dcerpc: Add next authentication step with gssapi
(cherry picked from commit 1abcbd70aed327ae5233423ce74662241fa9d21a)
commit c09e6599288f594ce6d91d7690de5b714b56e135
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 23 14:47:36 2010 -0400
s3-decrpc: Introduce gssapi support for dcerpc krb5 auth
commit acd1abe6c184157bb0fc647567a6b51844046a75
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 21 12:11:37 2010 -0400
rpcclient: Use DCERPC_AUTH_LEVEL_CONNECT if no sign/seal is set for krb5 auth
(cherry picked from commit 72088096af8dbf57cbc85c71cd0eef4447e7560d)
commit be1c095069a882cee384d0c68589e4c948592459
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 22 16:14:16 2010 -0400
s3-dcerpc: Refactor calculate_data_len_tosend()
(cherry picked from commit 183e0a0d9f87bc619cd832decf5745be1d28f598)
commit a448126bbbb1d9213f0ea0d5d57650fb0d4afb8b
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 21 13:33:09 2010 -0400
s3-dcerpc: Add auth trailer only when appropriate.
(cherry picked from commit c08d684f4ef679831e8fed69cd87e4d9b06cb3e0)
commit 42eb8ca66edafc7a3a025e065db3d32dbc8521b1
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 21 12:12:58 2010 -0400
s3-dcerpc: consolidate unmarshalling of dcerpc_auth
(cherry picked from commit 866f85e31973de356c3843836d5cacdbdf245e32)
commit 268df6f3d9f4952a268541a16ba2da673bde70f5
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 18:43:37 2010 -0400
s3-dcerpc: revive cli_rpc_pipe_open_krb5()
(cherry picked from commit 146af48d4887e8fa0c66bf53aa5f204366648478)
commit d92aab481dbc5e91f0dff318b1a8159a632af6be
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 18:39:46 2010 -0400
misc: Remove unused structure elements
(cherry picked from commit 250e341e0aad67c2f70fea597f34deadea1d2ccc)
commit 881236af69585f84119b04d7a972c44346accd33
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 17:26:32 2010 -0400
s3-rpcclient: Allow choosing spnego mech: (ntlm/krb5)
(cherry picked from commit b00f9a0a2d3b692dd12e182a2a4a7979c626dec7)
commit 05dc21ca9446f64c46cda8a6637a95ce9d699f91
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 13:26:36 2010 -0400
s3-dcerpc: Use dcerpc_AuthType in pipe_auth_data
(cherry picked from commit 2463a871776bb4de8653d6a44469d2adb3ec9418)
commit 810c4a6e2296cb5c910730f234f625ea2aff923c
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 11:49:23 2010 -0400
s3-dcerpc: Cleanup and refactor create_rpc_bind_req()
(cherry picked from commit 1e915d231d4191bf3a0bb54ba99a31ad6b2afd3b)
commit fda83be3765798ef9b50150f07c8f1301f7053c7
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 11:23:11 2010 -0400
s3-auth: Remove unimplemented functions
(cherry picked from commit 3c3237dd0afa37ba0e545424f5008973b645cf96)
commit 304081abc3f82bcd4375a2586a3e2735c2652f22
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 11:22:50 2010 -0400
s3-dcerpc: Set flags directly instead of calling unimplemented functions.
(cherry picked from commit bfe53d414548cd8a0226136b73cf2b766b6a61ef)
commit fecb756f2b6b0d451b65ce9dc4dab34486523b76
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 20:03:08 2010 -0400
s3-dcerpc: Use dcerpc_check_auth in client code too
(cherry picked from commit 7407c979a1469997c9277c501787b5f222216aac)
commit 4c5995b3e9520178b1ee606894f2a99b0fd544f5
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 19:49:35 2010 -0400
s3-dcerpc: Make dcerpc_check_auth() common code
(cherry picked from commit 9565e3f6a7ef2fb590558eb7b29c6c2fc657fca9)
commit b0363df33866a45f8521eb3b1be0801d12729365
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 19:42:12 2010 -0400
s3-dcerpc: Add the same paranoia checks we have in the client code
(cherry picked from commit 5f2cca6b2a7b8b7bad4a47a2bd31174c45fa2611)
commit 63ada388cf9f820d42a929ce31d1951ad5cb976b
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 19:34:34 2010 -0400
s3-dcerpc: Split auth checking into a generic function.
(cherry picked from commit 49a8c2965d2982e6510609fa9772a56597494641)
commit d923df6afdb96023e269272e426bed4082148563
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 17:51:18 2010 -0400
s3-dcerpc do not pass pipes_struct to dcesrv_auth_request()
(cherry picked from commit 1fc71c9c6ff26f2d49f314b8425c6cd4c91683f3)
commit 6850e68d09a2940f2acc29275dd62f7a123347da
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 17:14:56 2010 -0400
s3-dcerpc: Make dcesrv_auth_request() return NTSTATUS codes
(cherry picked from commit 2ce169ce187cc7229aecdc3e5cd889c5194956aa)
commit d586cdb1af4078d9644169b43b08e9199b93dc7a
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 16:16:40 2010 -0400
s3-dcerpc: Use the common dcerpc_add_auth_footer() in the server code
(cherry picked from commit aa4c5a2bfb27fc274de2a83c4724e0f10ad6b119)
commit e95387189a2db566cd6036ac5a421cacc19f6661
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 16:10:35 2010 -0400
s3-dcerpc: Move dcerpc_add_auth_footer() to the common helpers file
(cherry picked from commit 31393334194be7763072900408bb61ebb7c1d11a)
commit 1fb22ee527f1bf77d475df3b053b7c91d71d138a
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 09:07:22 2010 -0400
s3-dcerpc: Introduce generic helper function to add auth trailer
(cherry picked from commit 6f5cdf9ae9707cdbc62e0ed5ad2578316796b4b3)
commit a5ddac2fba3d083e649b1c402c7dfdaf90f3fc14
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 17:53:44 2010 -0400
s3-dcerpc: Pass explicit arguments so that this is not client specific
(cherry picked from commit 1b572493e2ea30b262a0ca1b04e913017a3ac13d)
commit 18c4c8bcfe03d40e12565c2dab7b8ce808fc024f
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 17:32:35 2010 -0400
s3-dcerpc: Move marshalling of dcerpc_auth_header in the callers
(cherry picked from commit e2b0e43da9b6c3f1fb12a10898dcc09e56da795a)
commit 75adca63f21ab4b415e0f909a54972d8dd57a153
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 21:31:21 2010 +1000
libcli/auth Make the source3/ implementation of the NTLMSSP server common
This means that the core logic (but not the initialisation) of the
NTLMSSP server is in common, but uses different authentication backends.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit 979b672dcb013ed38a312b280fa6c0642469649b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 20:53:39 2010 +1000
s3:ntlmssp Split the NTLMSSP server into before and after authentication
This allows for a future where the auth subsystem is async, and the
session key generation needs to happen in a callback.
This code is originally reworked into this style by metze for the
source4/ implementation.
The other change here is to introduce an 'out_mem_ctx', which makes
the API match that used in source4.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit 4969b3de632c1545d7ea5997c52b85aa4baaf4d8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 20:48:17 2010 +1000
s3:ntlmssp Always call ntlmssp_sign_init()
There is no code path that sets nt_status before this point, without
a return.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit 617ec0733dad40c9441b1e1533fb3d99bf22c24f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 20:41:54 2010 +1000
s3:ntlmssp Don't use talloc_tos() for NTLMSSP blobs for now
This code will, I hope, soon be merged in common, and the Samba4
use case does not currently support talloc_tos() properly. Use another
context for now.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit d112557a05b23480abd3f2f52c1c7b8ded2b4f66
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 20:24:35 2010 +1000
s3:ntlmssp Don't permit LM_KEY in combination with NTLMv2
This is another 'belts and braces' check to avoid the use of the
weak 'LM_KEY' encryption when the client has chosen NTLMv2.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit f6cc686036281ee9b467ba18e96ee5086b89bef7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 19:43:06 2010 +1000
s3:ntlmssp Don't reply with the LM_KEY negotiation flag when not available
This ensures the client isn't confused and we don't enter this
weaker authentication scheme when we don't really, really need to.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit 3c0a17a1274df1b38b3acd9335192cd78730b01c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 19:01:34 2010 +1000
s3:ntlmssp Don't use the lm key if the user didn't supply one.
This may help to avoid a number of possible MITM attacks where LM_KEY is
spoofed into the session. If the login wasn't with lanman
(and so the user chose to disclose their lanman response),
don't disclose back anything based on their lanman password.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit f744e42bd08cd724da09b5b04bafb68de07888cc
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 18:35:25 2010 +1000
s3:ntlmssp Add extra DEBUG() message for auth system failures
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit e0c94d14b3ddc6f20e8f37b2a01b045ca2ad7375
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 18:18:51 2010 +1000
s3:ntlmssp Redirect lp_lanman_auth() via 'allow_lm_key'
This will allow this to be handled via common code in the future
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit 78fa58f8c36a111b5231a979aaa8b89a29ec815f
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 10 11:51:01 2010 +0200
libcli/auth/ntlmssp: remove outdated comment. The version flag is well understood now.
Guenther
commit d84a2aeb6405f37d485a2108c05c932518dcd272
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 10 11:39:04 2010 +0200
s3: fix the waf build.
Guenther
commit 1e83b36afb67c43d99c4fdd2a8eba0da5da5b95e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 18:16:32 2010 +1000
libcli/auth Move some source3/ NTLMSSP functions to the common code.
libcli/auth Use true and false rather than True and False in common code
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8c66926a39e2abe34b4b7c4c4f4a6a1f1e51f8fd
Author: Jeremy Allison <jra at samba.org>
Date: Mon Aug 9 16:16:24 2010 -0700
Fix bug #7608 - Win7 SMB2 authentication causes smbd panic
We need to call setup_ntlmssp_server_info() if status==NT_STATUS_OK,
or if status is anything except NT_STATUS_MORE_PROCESSING_REQUIRED,
as this can trigger map to guest.
Jeremy.
(cherry picked from commit e0f79dabee39c3f3e49823055c3a30929278a294)
commit e0f79dabee39c3f3e49823055c3a30929278a294
Author: Jeremy Allison <jra at samba.org>
Date: Mon Aug 9 16:16:24 2010 -0700
Fix bug #7608 - Win7 SMB2 authentication causes smbd panic
We need to call setup_ntlmssp_server_info() if status==NT_STATUS_OK,
or if status is anything except NT_STATUS_MORE_PROCESSING_REQUIRED,
as this can trigger map to guest.
Jeremy.
commit 7b419696036bbcf7e37792721899bc65b4a2f0f8
Author: Matthieu Patou <mat at matws.net>
Date: Tue Aug 10 00:54:50 2010 +0400
s4 upgradeprovision, fix a typo preventing the ridset to be correctly identified
commit a22989a54afd411a8d038110c7df2c545b4121b7
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 9 19:38:30 2010 +0200
pidl:NDR: correctly handle no pointer bracket arrays with 'string'
metze
commit 14328a44af94422462d45712174bba7ab5a216da
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 5 15:14:04 2010 +0200
s3-netlogon: remove global include of netlogon.h.
This reduces precompiled headers by another 4 MB and also slightly speeds up the
build.
Guenther
(cherry picked from commit 0f8e032628865861b356755b4fbafb6fbfeddbeb)
commit 6307164deeba3ba70828436b9db286307f4aa163
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 5 15:03:00 2010 +0200
s3: remove global include of samr.h
Guenther
(cherry picked from commit ccd4af271f73e88abd6899a347f9ce5af69c1f1c)
commit aa34c9aa299da7237d2a36315d0db47353863c76
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 4 12:01:50 2010 +0200
s3-build: no need to include privileges.h twice.
Guenther
(cherry picked from commit a90ed3381a772c46c06aaae66ec6113d878a6029)
commit 60b9152bc8c0fac2360db49b2e3fb7f4541ac0f7
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 3 00:03:03 2010 +0200
s3-net: only include netapi header when needed.
Guenther
(cherry picked from commit 002ac5681f95760968bc5111cc39e849a0449c44)
commit 19f1727b4ab7ababa712fa28bc09aaedadc8e0ec
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 23:21:09 2010 +0200
s3-libsmb: include nbt.h in namequery_dc code.
Guenther
(cherry picked from commit 164ee0fe56af9e4b1f30c83165b0580220ac9531)
commit 80d3012bedccd8daeeeb62a3378fbf770f775366
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 23:18:53 2010 +0200
s3-libnet: include netlogon.h in libnet samsync header.
Guenther
(cherry picked from commit f9012635da311afb31ce33ef5917e9a73207d688)
commit d3086b7e65ecaab28d030dfcfe2f169bafb99fff
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 5 15:25:35 2010 +0200
s3-smbtorture: include svcctl.h
Guenther
(cherry picked from commit af38b5f8009ac9f0ea7fb9cc10c0565e4908b2c3)
commit 41b5ba8fae4805bf232f526ecbd4683d50eb5346
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 23:17:25 2010 +0200
s3-services: include svcctl.h where needed.
Guenther
(cherry picked from commit 441d607589afec65d9064703e6f11cc0806333bb)
commit 777ac14bae10ce012f85e2cbe3951594f5851bac
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 5 15:02:09 2010 +0200
s3-build: remove global include of krb5pac.h.
Put in samr and netlogon, as they were pulled in via krb5pac.h.
Guenther
(cherry picked from commit c31df3adb2775523f465fdc9d03849c540c073a0)
commit ecf1981d648a779ce800a9022aeca7b13fe6977b
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 23:12:16 2010 +0200
s3-krb5: include krb5pac.h where needed.
Guenther
(cherry picked from commit 257a1f1097576fa981341521bda15824e7fac555)
commit 672be653ef47d072b6501e8a6459e7d5ff2a65af
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 22:54:29 2010 +0200
s3-rap: include svcctl.h where needed.
Guenther
(cherry picked from commit 2523aec6d19c519280793020f6db21c65a3c95ea)
commit 30e752e390e99a87798ec35516c7bcab907dd1d9
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 22:52:00 2010 +0200
s3-passdb: include samr.h where needed.
Guenther
(cherry picked from commit ae36783c7bed73461c012d78ec3e1f3a6bc3d221)
commit 3cfbd84ac42e3de67b60804bc9f05b41d858de69
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 23:23:12 2010 +0200
s3-param: include svcctl headers in loadparm.
Guenther
(cherry picked from commit 677dcfa6782f03fa11c322b6c8e1abdc0a354604)
commit 0cfa681b9ab3a34b92c564f7c0e37407fa2d8768
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 22:48:16 2010 +0200
s3-nmbd: include svcctl.h where needed.
Guenther
(cherry picked from commit 728fba1233afc632fbe2b6d5262ac32db751233f)
commit afe0e73b7bb640428396c9f40dbbcba5c311fcd9
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 9 14:31:24 2010 +0200
s3-winbind: Fix Bug #7568: Make sure cm_connect_lsa_tcp does not reset the secure channel.
This is an important fix as the following could and is happening:
* winbind authenticates a user via schannel secured netlogon samlogonex call,
current secure channel cred state is stored in winbind state, winbind
sucessfully decrypts session key from the info3
* winbind sets up a new schannel ncacn_ip_tcp lsa pipe (and thereby resets the
secure channel on the dc)
* subsequent samlogonex calls use the new secure channel creds on the dc to
encrypt info3 session key, while winbind tries to use old schannel creds for
decryption
Guenther
(cherry picked from commit be396411a4e1f3a174f8a44b6c062d834135e70a)
commit be396411a4e1f3a174f8a44b6c062d834135e70a
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 9 14:31:24 2010 +0200
s3-winbind: Fix Bug #7568: Make sure cm_connect_lsa_tcp does not reset the secure channel.
This is an important fix as the following could and is happening:
* winbind authenticates a user via schannel secured netlogon samlogonex call,
current secure channel cred state is stored in winbind state, winbind
sucessfully decrypts session key from the info3
* winbind sets up a new schannel ncacn_ip_tcp lsa pipe (and thereby resets the
secure channel on the dc)
* subsequent samlogonex calls use the new secure channel creds on the dc to
encrypt info3 session key, while winbind tries to use old schannel creds for
decryption
Guenther
commit 46bcb627803caa83c59f8ca9c1064e399000e64d
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 9 11:47:23 2010 +0200
s4-rpc_server: Fixed the build of the dcerpc_server library.
Brad please check!
commit 56db40d5fd7b60361664d964fb92f687ac2ca3ce
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 9 10:45:46 2010 +1000
s4-build: use @PACKAGE_VERSION@ in s4 pc.in files
this gets replaced by vnum from the build rule
commit ebd4ea733811a4e37bc7231bf2aa8fd5612ffb02
Author: Brad Hards <bradh at frogmouth.net>
Date: Mon Aug 9 10:37:34 2010 +1000
s4-build: added dcerpc_server library
OpenChange needs this for dcerpc_register_ep_server()
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 016418d6c240da20f010d2bbd95051feef0a5244
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 22:54:43 2010 +0200
s3: Remove the smbd_messaging_context from load_printers
commit 1c1d83a5327b86042df7c33d075e05adff7a30f2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 22:53:02 2010 +0200
s3: Remove the smbd_messaging_context from pcap_cache_reload
commit 795589b4f81b8d40d3cd6a53b85153df01e3ff01
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 22:50:28 2010 +0200
s3: Remove the smbd_messaging_context from cups_cache_reload
commit 83045b1ba9fb8aa211d94b66453e2a2a61cae7ed
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 22:47:45 2010 +0200
s3: Remove the smbd_messaging_context from cups_pcap_load_async
commit d0ac5c69fb0460e8ae2882a75df3415fd4d95323
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 18:55:03 2010 +0200
s3: Remove the smbd_messaging_context from smb_conf_updated
commit 10a76f5d42253aa726104f38a325424e6cf1d7ad
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 18:53:15 2010 +0200
s3: Remove the smbd_messaging_context from spoolss_init_cb
commit b71f2af1a6e0db46c6aaf3a732e8352f340fdfac
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 18:48:01 2010 +0200
s3: Remove some smbd_messaging_context references from smbd_process
commit 37d71a56fd95dfa8687dcbf88eaa6114c316d96d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 18:47:02 2010 +0200
s3: Pass sconn to smbd_process
commit 1702b17494523ff7fad513268bad59148a08ac5b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 18:43:37 2010 +0200
s3: Lift the server_messaging_context from housekeeping_fn
commit e64bd85d90b2ccb6ee89bb5d4c5d50d3f991d423
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 18:42:12 2010 +0200
s3: Lift the server_messaging_context from check_reload
commit 53ed39de4aee1e0def1423b0c53e903d1be0741c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 18:41:13 2010 +0200
s3: Make check_reload() static
commit f0896759cef9de8ae4a4b5eb2d26586fb10bbf39
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:32:21 2010 +0200
s3: Lift the server_messaging_context from spoolss_setjob_1
commit 18ff84b089cbbdf5c29fc678417090caa0ecd8d1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:31:38 2010 +0200
s3: Lift the server_messaging_context from construct_printer_info6
commit 35c39b07cc4d284b8e6af5212c4d602909ac6f30
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:30:57 2010 +0200
s3: Lift the server_messaging_context from construct_printer_info2
commit 73a5c2d02d5f768a952a219b5c62231b0f9af75b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:29:12 2010 +0200
s3: Lift the server_messaging_context from construct_notify_jobs_info
commit 788498d2ff1b07cc94250395dd1da6bb63be2454
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:28:16 2010 +0200
s3: Lift the server_messaging_context from construct_notify_printer_info
commit 02c008613f6cd6fc12ac014cb311ca0285a30068
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:25:42 2010 +0200
s3: Pass messaging_context through s_notify_info_data_table
commit 1b60ead64add4920bf92b73a0e57e0a7e320e99f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:19:12 2010 +0200
s3: Lift the server_messaging_context from update_monitored_printq_cache
commit ef208c5571bb20a0701f1da845c07f38f84c26e1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:17:05 2010 +0200
s3: Lift the server_messaging_context from print_job_endpage
commit d1f3a2efb7eef8372b7431cc5de3f8ab5d6ac981
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:15:23 2010 +0200
s3: Lift the server_messaging_context from print_job_write
commit ae1600b99557e482fbb7aa04478b54b86976f6ae
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:12:52 2010 +0200
s3: Lift the server_messaging_context from print_job_delete1
commit de108248729cbed4464f0fb68b6f4b2d2bbdcc1e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:11:23 2010 +0200
s3: Lift the server_messaging_context from print_job_set_name
commit 3b5b74c7dd931815e7b3763ad1cbf47c3710f60d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:09:00 2010 +0200
s3: Lift the server_messaging_context from print_queue_update_with_lock
commit c2894503d1c66504e74f378141a9cfb221091c63
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:07:28 2010 +0200
s3: Lift the server_messaging_context from print_queue_update_internal
commit 2b13864569115a3f459a4ffffba36b1d33513c83
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:05:15 2010 +0200
s3: Lift the server_messaging_context from traverse_fn_delete
commit 8b6d88854c55553fce59aa8956d025b16f513a25
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:02:24 2010 +0200
s3: Lift the server_messaging_context from print_unix_job
commit 0b423493c30ca291ed09c9c2fc288d59635e79df
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 17:00:55 2010 +0200
s3: Lift the server_messaging_context from pjob_delete
commit 6806ae729065ed0914d89b84eb486b0fe8bec89a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:54:09 2010 +0200
s3: Lift the server_messaging_context from pjob_store
commit 9ff35d0690f0938e489523d0528c9e5700cf82a3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:50:17 2010 +0200
s3: Lift the server_messaging_context from pjob_store_notify
commit 128976e01121c877cb815e60504fb6a5391255a2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:42:59 2010 +0200
s3: Lift the server_messaging_context from notify_printer_byname
commit d62c73b799baf908269835f2d69b1a2094ef23c6
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:41:31 2010 +0200
s3: Lift the server_messaging_context from notify_printer_location
commit 83c4c04121addc39ae7b13001545ed303b8adf1c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:40:08 2010 +0200
s3: Lift the server_messaging_context from notify_printer_port
commit f3313c53078d60a437cfa4bea71995beb223b819
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:38:54 2010 +0200
s3: Lift the server_messaging_context from notify_printer_printername
commit c427423aeecfc8c123a75079d4398b093ab9bc76
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:37:21 2010 +0200
s3: Lift the server_messaging_context from notify_printer_sharename
commit 7285e0d5dd3f6186a919bbf04a66469d5c1090ea
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:35:56 2010 +0200
s3: Lift the server_messaging_context from notify_printer_comment
commit 4e4bf13e704f8e2af77cbc5099953380dc0758dc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:34:44 2010 +0200
s3: Lift the server_messaging_context from notify_printer_driver
commit b71debcca0bc7adc99787ceee028e3ef3a0cb267
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:33:05 2010 +0200
s3: Lift the server_messaging_context from notify_job_submitted
commit aa5fd419b27b7c52eccc6c129b17d606e4635b3e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:31:41 2010 +0200
s3: Lift the server_messaging_context from notify_job_name
commit 06cf2ae6ea3c8ef5e092dc3b465461746f3d466b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:29:31 2010 +0200
s3: Lift the server_messaging_context from notify_job_username
commit 7a9f94dae87061b15245314cbe6d079f62f1db98
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:28:03 2010 +0200
s3: Lift the server_messaging_context from notify_job_total_pages
commit bd6626c40ce9806a6f5bc8aee4fe969028bda928
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:26:40 2010 +0200
s3: Lift the server_messaging_context from notify_job_total_bytes
commit edbed43119212c3642951516a1e6c065bd9db756
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:24:51 2010 +0200
s3: Lift the server_messaging_context from notify_job_status
commit 9b3a53a7a7f6b055bfa074fe6d3fcaa6d6ccc9ce
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:21:42 2010 +0200
s3: Lift the server_messaging_context from notify_job_status_byname
commit 21811fe72df202413ca7f65bf271d4c9fe1345c5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:19:03 2010 +0200
s3: Lift the server_messaging_context from notify_printer_status
commit 49d18478fd952b360221852a0bc0e2f4f6427aea
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:16:37 2010 +0200
s3: Lift the server_messaging_context from notify_printer_status_byname
commit 30de2f735b160c0a3d311748066c73421f7a484d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:09:20 2010 +0200
s3: Lift the server_messaging_context from send_notify_field_buffer
commit dddb5a8795643e79d1869d226ad018336d1d44c4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:07:56 2010 +0200
s3: Lift the server_messaging_context from send_notify_field_values
commit 6720c6e071058a4b1dd0406d40fe6f30632044dc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:01:51 2010 +0200
s3: Lift the server_messaging_context from send_spoolss_notify2_msg
commit fc6e7bdc9e752b7b5ee4b978a605dde5b7c075e4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 15:59:00 2010 +0200
s3: Lift the server_messaging_context from print_notify_event_send_messages
commit c6e6aee0a0524cf68bb206b339040c4ccf208bb2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 15:55:19 2010 +0200
s3: Lift the server_messaging_context from print_queue_status
commit a36103ca05109e402c4db57f892d61023d0e6104
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 15:53:06 2010 +0200
s3: Lift the server_messaging_context from get_stored_queue_info
commit c50c973036cda52c0ce04a5220168fbfa7195dc0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 15:51:30 2010 +0200
s3: Lift the server_messaging_context from print_job_end
commit a4c27786ffe3b9513a0e64ce25f37dfe0ff0dc1b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 15:47:51 2010 +0200
s3: Lift the server_messaging_context from print_queue_length
commit 31d23c83fef2b67c3afa4cf1d1f409086f92649d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 15:39:48 2010 +0200
s3: Lift the server_messaging_context from print_queue_update
commit bc760e79c868c11af9771c0179c18c9d543b9294
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 15:35:31 2010 +0200
s3: Lift the smbd_messaging_context from start_background_queue
commit 75b4dfd14d4dac5268c01351768b2317fcce34fb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 15:18:12 2010 +0200
s3: Lift the smbd_messaging_context from smbd_setup_sig_hup_handler
commit 5281e6294112a521e2c9603f1617b18107480973
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 15:15:01 2010 +0200
s3: Lift the smbd_messaging_context from smbd_sig_hup_handler
commit 39da717fe1583308239278615ac44f8b910c50e3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 15:09:47 2010 +0200
s3: Lift the smbd_messaging_context from reload_services
commit 7c7ffb70fb53c8cedd388c016836d13107f28ac1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 15:02:29 2010 +0200
s3: Lift the smbd_messaging_context from reload_printers
commit 89b4c905776fefc12c1e3cc4b1c47b64863e9f30
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:59:47 2010 +0200
s3: Remove smbd_messaging_context from dummysmbd
commit b985a9afb8a8573d5e017dff2db57a5193d4622c
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 6 17:38:15 2010 +0200
s3-net: fix copy/paste typo in usage of "net printing".
Guenther
commit d18caa5d65ff3d5e5b366376910599e9b3c11e6a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 1 20:15:57 2010 +0200
s3: Fix an uninitialized variable
commit bee567072dd03aa83fd67df9b1b5a700527cd24d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 1 20:15:39 2010 +0200
s3: Fix a C++ warning
commit 9a4ac5b2d36fc8202d770c79c7a3ecf6d967b087
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 16:46:48 2010 +0200
s3: Fix the build without ADS
commit cc280f0cd1f970b044011dee386e15ec87eccec8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:52:59 2010 +0200
s3: Lift the smbd_messaging_context from print_queue_purge
commit 9723f33ef54235b27d0126810fdd7546d2510f23
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:51:40 2010 +0200
s3: Lift the smbd_messaging_context from print_queue_resume
commit 5f9165a7eaa081b15f2ca435ca86210eaa5c4752
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:50:15 2010 +0200
s3: Lift the smbd_messaging_context from print_queue_pause
commit 9441e8c52c4d624f80bf826daa312b45cd0a80f4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:48:30 2010 +0200
s3: Lift the smbd_messaging_context from print_job_start
commit bff871384a281dab89a3117cfcb45f7cbe0824dd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:47:18 2010 +0200
s3: Lift the smbd_messaging_context from print_job_checks
commit 7df0e672f237b01f69f1d8671732c56634e49d64
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:46:04 2010 +0200
s3: Lift the smbd_messaging_context from print_job_resume
commit 2811c258f6e01d10c0eb0cb0537f96bf5f1d6275
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:44:32 2010 +0200
s3: Lift the smbd_messaging_context from print_job_pause
commit 8dcbeecd6d0aac40da23aef8a4e126faa1bf43e2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:42:47 2010 +0200
s3: Lift the smbd_messaging_context from print_job_delete
commit 4a514d2261b7528696f96bb29717fb7a20708869
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:40:46 2010 +0200
s3: Lift the smbd_messaging_context from construct_printer_info7
commit 99b2da4504307b6eefc6afbd502d931d29625ea0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:39:40 2010 +0200
s3: Lift the smbd_messaging_context from is_printer_published
commit bccb7c87cca02adacd7ede9b60d543b8b3b1eb29
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:37:47 2010 +0200
s3: Lift the smbd_messaging_context from check_published_printers
commit 7d08c25f989df14131567d055a9c922e27247c14
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:35:50 2010 +0200
s3: Lift the smbd_messaging_context from nt_printer_publish
commit 61837197d8e0583d1ced7edd57353a72699495bb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:33:45 2010 +0200
s3: Lift the smbd_messaging_context from nt_printer_publish_ads
commit 8c665f6da62f7b181bc975212ec5e486af401a44
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:32:37 2010 +0200
s3: Lift the smbd_messaging_context from store_printer_guid
commit e43ffde91f6781c135d4125b91911e79c06a7409
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:31:14 2010 +0200
s3: Lift the smbd_messaging_context from nt_printer_remove
commit 39ce462043d32e94b71a98001a43a95360017528
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:29:39 2010 +0200
s3: Lift the smbd_messaging_context from print_time_access_check
commit be7fd4ae5054435b25b1a6a460b626d556f39936
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:28:17 2010 +0200
s3: Lift the smbd_messaging_context from print_access_check
commit d79895e82606bcfe265a67bf9a6b7e03368f0bae
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:24:48 2010 +0200
s3: Lift the smbd_messaging_context from printer_driver_files_in_use
commit 862e888f71119b528d72290ad565d5a6203b4f17
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:23:12 2010 +0200
s3: Lift the smbd_messaging_context from printer_driver_in_use
commit 51c47a330257c58e8c3b5db197df07cf3bf7d9a1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:20:48 2010 +0200
s3: Lift the smbd_messaging_context from netr_set_machine_account_password
commit ae8619f703d3ee7d639a79afbcfbd3dd66845c45
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:19:53 2010 +0200
s3: Lift the smbd_messaging_context from get_md4pw
commit 7850496fe79c3e60a7dd87629a25b054e7bf3439
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:17:21 2010 +0200
s3: Lift the smbd_messaging_context from enumprinterdrivers_level
commit ab196c7bfb531e854b1b4fce54c6b9c113991b6d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:16:24 2010 +0200
s3: Lift the smbd_messaging_context from enumprinterdrivers_level_by_architecture
commit e1af63fdeefdaa1ed2f6723a2fe6d8cf8fe1f40b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:14:33 2010 +0200
s3: Lift the smbd_messaging_context from update_dsspooler
commit 8ee2a0a26917729212b8c91a54bb4231e6bd6cb1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:12:57 2010 +0200
s3: Lift the smbd_messaging_context from construct_printer_driver_info_level
commit 9daa6a2501a1486aa78e7eed71d12a404df2e882
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:11:39 2010 +0200
s3: Lift the smbd_messaging_context from enumprinters_level5
commit d7803ea49c1412296220b0496e0ace7f67571237
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:11:03 2010 +0200
s3: Lift the smbd_messaging_context from enumprinters_level4
commit 89d8998d7c0f386e106817ead9ec4360b3c2f1de
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:10:11 2010 +0200
s3: Lift the smbd_messaging_context from enumprinters_level2
commit e35ac20ca32e9c4221da6320706eb3562b544302
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:08:58 2010 +0200
s3: Lift the smbd_messaging_context from enumprinters_level1
commit bf10fa67ef423d37b70b5c53990fd6ff98f4566d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:07:37 2010 +0200
s3: Lift the smbd_messaging_context from enum_all_printers_info_2
commit ada007d971dfa429fa6add8bfb8436cc824cd123
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:05:46 2010 +0200
s3: Lift the smbd_messaging_context from enum_all_printers_info_1_network
commit 2c0e63067b61461368fe7b725b732274101ecd95
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:04:56 2010 +0200
s3: Lift the smbd_messaging_context from enum_all_printers_info_1_name
commit 6dc35f8f70eee4ae536ea17e4b5cb223cbb4c501
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:03:52 2010 +0200
s3: Lift the smbd_messaging_context from enum_all_printers_info_1_local
commit 67fbb0462e5ac5a752f990da653e0492f2e12166
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 14:02:52 2010 +0200
s3: Lift the smbd_messaging_context from enum_all_printers_info_1
commit 259b9d7809f31202c544c6536f3ef98c93bb0fd0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 11:01:58 2010 +0200
s3: Lift the smbd_messaging_context from enumprinters_level0
commit 1a3ba2f6eb9a5b1af6722f780761fcde45a896db
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 11:00:22 2010 +0200
s3: Lift the smbd_messaging_context from enum_all_printers_info_level
commit 5b0a36b552f44e6fb6110588773005a3f7c1d739
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:58:04 2010 +0200
s3: Lift the smbd_messaging_context from construct_printer_info0
commit f776d107a1459d943a1f5797d48d58ae24d50c39
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:56:50 2010 +0200
s3: Lift the smbd_messaging_context from set_printer_hnd_name
commit 1af73b04fc30c6be8a9fa792e2ecdb1affb9996b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:55:41 2010 +0200
s3: Lift the smbd_messaging_context from winreg_del_driver_list
commit d104e37ed12653008301d68a584d76270a558ca4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:54:01 2010 +0200
s3: Lift the smbd_messaging_context from winreg_del_driver
commit ae6a3ac22503fe342e7e04f83dd6c7a449e204ea
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:52:19 2010 +0200
s3: Lift the smbd_messaging_context from winreg_get_driver
commit 3a85d0c79a660555b5dfaaf38340900edb624d3f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:47:35 2010 +0200
s3: Lift the smbd_messaging_context from winreg_add_driver
commit 6bd973ad0128f6abaa976289c549132451f9625b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:46:00 2010 +0200
s3: Lift the smbd_messaging_context from winreg_printer_getform1
commit d78c8c26e4ae720734eb7ce2409b128fff362bbb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:44:13 2010 +0200
s3: Lift the smbd_messaging_context from winreg_printer_setform1
commit cf016e3e494765f40b4866bd81dd91b8694dd833
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:41:54 2010 +0200
s3: Lift the smbd_messaging_context from winreg_printer_deleteform1
commit 428e86e562e830093b9af6bab09e851a4163b934
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:39:42 2010 +0200
s3: Lift the smbd_messaging_context from winreg_printer_enumforms1
commit fe5985316c9b63057b68f7ce6bf0062fe61edbeb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:37:43 2010 +0200
s3: Lift the smbd_messaging_context from winreg_printer_addform1
commit b9fe8de0ff7d0a44c5d0169b552a673e3d225524
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:35:57 2010 +0200
s3: Lift the smbd_messaging_context from winreg_printer_get_changeid
commit 8efa27cdbea926d55b4ae43884796910a2b0b85e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:34:00 2010 +0200
s3: Lift the smbd_messaging_context from winreg_printer_update_changeid
commit 747f5c531862ba3f06f1b8c54eed5c01e549efc8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:29:50 2010 +0200
s3: Lift the smbd_messaging_context from winreg_delete_printer_key
commit 3ccdbc4119ca50b4a745b820f05f0a0f0965e827
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:27:40 2010 +0200
s3: Lift the smbd_messaging_context from winreg_enum_printer_key
commit 30d64d2f92a0edd8c62ed0b0fb14ff695b808714
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:25:54 2010 +0200
s3: Lift the smbd_messaging_context from winreg_delete_printer_dataex
commit 9346df6289b17c4c4e53e77922788ec8fcc071df
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:23:49 2010 +0200
s3: Lift the smbd_messaging_context from winreg_enum_printer_dataex
commit cb8f700855eb0867aad38c3b653c00e416cdd870
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:22:11 2010 +0200
s3: Lift the smbd_messaging_context from winreg_get_printer_dataex
commit e4cd34926f3d8c8f0c567467de39d47cf4b816f7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:19:35 2010 +0200
s3: Lift the smbd_messaging_context from winreg_set_printer_dataex
commit 7471ecb27f1bcec6f75b58bd34d4c42fd9434f14
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:14:31 2010 +0200
s3: Lift the smbd_messaging_context from winreg_set_printer_secdesc
commit 4fb993f61346b783e100839879211825b5568336
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:11:00 2010 +0200
s3: Lift the smbd_messaging_context from winreg_get_printer_secdesc
commit bd8a1d8a8601474e1cf7cec459d05e2fe45b28b0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:08:22 2010 +0200
s3: Lift the smbd_messaging_context from winreg_get_printer
commit 9751d7613b3db543a2cdb515c597d9600531dd76
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 09:37:43 2010 +0200
s3: Lift the smbd_messaging_context from winreg_update_printer
commit d7f8a6f82d56d7d46a0bcf8ed833ad09b9d00f26
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 09:34:23 2010 +0200
s3: Lift the smbd_messaging_context from winreg_create_printer
commit 2eb58637221899b63da4eb819d23284031f27976
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 09:32:12 2010 +0200
s3: Lift the smbd_messaging_context from winreg_printer_opendriver
commit c29e1c3e41ff0e85f053b2c40dae0f27098bcd79
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 09:30:30 2010 +0200
s3: Lift the smbd_messaging_context from winreg_printer_openkey
commit 80cda2e807ee32e3a1e3f93097310798fa4a3814
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 09:27:04 2010 +0200
s3: Lift the smbd_messaging_context from nt_printing_tdb_migrate
commit 2d3623529fed0be2945cecfb19cef579e5af057e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 09:22:05 2010 +0200
s3: Lift the smbd_messaging_context from rpc_pipe_open_internal
commit 33256d6478381af3bee9ef064566e69cb4943c39
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 09:11:45 2010 +0200
s3: Lift the smbd_messaging_context from np_open
commit 7c90a6bf38829dc6be026b65b29b81db9fbbdf0d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 09:08:40 2010 +0200
s3: Lift the smbd_messaging_context from make_internal_rpc_pipe_p
commit d5b8a993e0d782b123ed537709c28efede468419
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 08:47:05 2010 +0200
s3: Remove a direct reference to smbd_server_conn
commit 5acb5b09ee4d00cee83b7df3bc0a52894e9f303d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 7 18:39:38 2010 +0200
s3: Remove references to smbd_messaging_context()
commit 43c2dcaf4caa8b0ff471bcceaf4141ddcd78faee
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 8 10:14:01 2010 +0200
s3: Fix a type-punned warning
commit ad94ae980462dc4c581a2fa1d7e927c2ae625c19
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 17:19:16 2010 +0200
librpc/idl/mgmt.idl: add missing size_is()
metze
commit 0a7f749bc80d9846b97cd22cd503473a205aaafd
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 16:10:37 2010 +0200
pidl:NDR: correctly handle bracket arrays with 'string'
metze
commit d6eb42cc619206c280edd732b1b56563a21e8f4d
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 6 14:52:58 2010 +0200
s3:rpcclient: we also need some ndr_pull functions
metze
commit 08cf7ac7a0d885ca4bf733c7f7f705b3f2a30e92
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 6 14:51:54 2010 +0200
s3:libnet/libnet_samsync.c: we also need some ndr_pull functions
metze
commit 1c515fb94b9bc4d432aa6435e352cb8294f436e2
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 6 14:50:31 2010 +0200
s3:utils/net_rpc_service.c: we also need some ndr_pull functions
metze
commit 8ca8250443319e0f19f05aab2014118fd03eaa8a
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Aug 8 10:15:12 2010 +0200
s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is broken
See https://bugzilla.samba.org/show_bug.cgi?id=7486.
metze
commit cc6951243d5641e2185ed9dee3b6ee4de07d217b
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Aug 8 09:23:00 2010 +0200
s3:rpc_server: fix valgrind warning
metze
commit ac9f06c9b93ada5d0e8331a122e199a8f69049a3
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Aug 8 09:21:57 2010 +0200
s3:smbd: fix valgrind warning, sizeof(16) != 16...
metze
commit 66412bfc76dc8b7337f3690ec75b14542a3df11e
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 7 14:27:27 2010 +0200
s3:rpc_server: fix memory leaks in rpc_pipe_internal_dispatch()
metze
commit 9e88b57407fc9d201277a70226a6be3fb713ae39
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 7 18:27:36 2010 +0200
s3: Fix typos
commit 6598d6dc41743b5390c803097eea27f951efa531
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 7 18:15:01 2010 +0200
s4:rpc_server/lsa: better include a .h file don't include a .c file
This fixes the build with --nonshared-binary=smbtorture,
as use by the source3/ make test.
metze
commit 72fd7fb49dac33bf4fd91bf1d8795f62b5a9fb82
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 7 13:23:07 2010 +0200
s3: Remove some references to smbd_messaging_context()
commit 390bfed7b7d9edfa61e6d3b1f79ba33fbd44c42d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 7 13:32:52 2010 +0200
s4:kcc_connection.c - fix typo in error message
commit bc702a394ddd1912c621054acbc75f29166fd17a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 7 12:30:33 2010 +0200
s4:ldap.py - comment a test part which fails with another error code on Windows
commit 8243272fa071dadd62199f84d7caf608d90ea6ed
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 7 11:59:57 2010 +0200
s4:ldap.py - test the new "systemFlags" constraint
commit f99d672b138e17e6b40f286a527812f75b65c3d7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 7 11:50:10 2010 +0200
s4:objectclass LDB module - "add operation" - enhance and clean the "systemFlags" section
Also here we have to test for single-valueness.
commit e009d02bd5718fb5e9f636a616ff3b622d68325d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 7 11:07:03 2010 +0200
s4:ldap.py - test for an invalid "objectCategory" attribute
commit 6e6af9c14c1a421b8c3323982e5bd8bbb69589bb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Aug 7 11:04:53 2010 +0200
s4:objectclass LDB module - "add operation" - implement "objectCategory" validation
commit 299b59b7c3603642154d78a5e3251926c8ce6e62
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Aug 5 22:23:22 2010 +0200
s4:ldap.py - proof for the impossibility to add a LSA-specific object over LDAP
commit 89c71a8f06414a62c04d3460e9b4c9348bfb7fd1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Aug 5 22:22:57 2010 +0200
s4:urgent_replication.py - relax also here the add of a secrets object
commit 67b1e1b8f3314f49d028a11df5ccda1e81986cda
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Aug 5 22:00:27 2010 +0200
s3:dcesrv_lsa.c - use the RELAX control in order to create LSA objects
commit 25e973d5db9ffa6d4138cdbe7c3dd1880149ad2a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Aug 5 21:58:57 2010 +0200
s4:dsdb/common/util.c - add a function "dsdb_add"
commit 7d62128e2cce540043df84d51967e43bdca4c493
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Aug 5 21:40:11 2010 +0200
s4:objectclass LDB module - "add operation" - reject creation of LSA specific objects
(only using the RELAX flag allowed)
commit a3c6d4c4d52c174d7fcac73fb315dc7e7c03fdd9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Aug 5 21:02:29 2010 +0200
s4:objectclass LDB module - "add operation" - move two checks
To be more consistent with the MS-ADTS doc.
commit ace6f52d57e40d3e198f844fd3f2f35392ffc620
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Aug 5 21:01:38 2010 +0200
s4:objectclass LDB module - "add operation" - deny multiple "objectclass" message elements
Requested by MS-ADTS 3.1.1.5.2.2
commit 9f0cbe1558ec473f0a75b662bbc123473aa0a7aa
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Aug 5 20:59:56 2010 +0200
s4:objectclass LDB module - "add" operation - free "mem_ctx" as soon as possible
We don't need to have it around until the end of the function.
commit 92282a815d2d7351b21fd734a345e1500db89068
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 7 12:35:54 2010 +0200
s3: Remove references to smbd_messaging_context() from the spoolss server
commit a5a0711f0c5e8b3e42301d5b050197a413e86fa7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 7 12:27:22 2010 +0200
s3: Remove a reference to smbd_messaging_context()
commit 19a908350eef1ae7725e3412da087be8e7cf05b0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 7 11:58:48 2010 +0200
s3: Remove some references to smbd_messaging_context()
commit 77c63149a3c91798445a56b31624036473e7f570
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 8 18:00:07 2010 +0200
s3: Remove procid_self() from connections_fetch_entry()
commit 21229178bd4703a70f222e102bd2588449ac023b
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 6 22:52:19 2010 +0200
s3: Add msg_ctx to pipes_struct
commit c9b654f5810f46b20e082895499c0bf2a3077173
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 6 22:43:14 2010 +0200
s3: Remove smbd_messaging_context() from send_stat_cache_delete_message()
commit 4b47245a9d7292255a5dca8286283b5519de12e6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Aug 7 18:56:35 2010 +1000
s4:ntlmssp Merge more aspects of the source3/ NTLMSSP layer
This changes the talloc treatment of the session keys to avoid
memory duplication - the session key has always been allocated
onto the ntlmssp_context by the auth subsystem callback.
The remainder of the changes are cosmetics, such as avoiding
using lm_session_key as a pointer (and avoiding then doing an
if statement on something that is always true).
Andrew Bartlett
commit 6644f48d724085f839da86ef75bd814a46359ea5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 17:53:44 2010 +1000
s4:ntlmssp Re-add gensec_ntlmssp wrapper to allow merge with source3/
By re-adding this wrapper, the actual guts of these functions are now very
similar to that found in source3/libsmb/ntlmssp.c
This should make it easier to merge the implementations.
Andrew Bartlett
commit 1979486c8ea9125cb8b16782acc0dcea9c6f552e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 17:51:34 2010 +1000
s4:ntlmssp Always setup the session keys and signing state
While it would save some CPU to only setup the session key when
requested (like windows does), this instead matches the
implementation in source3/libsmb/ntlmssp.c
We could re-add this later after the codebase is merged.
Andrew Bartlett
commit b03bc8822b5282fa1acd8e3a90b1424656fced4c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 7 10:29:43 2010 +0200
s3: Remove a pointless "else"
commit 4c6fd6043b3cf3b395b58037e99b1c2b7334a411
Author: Volker Lendecke <vl at samba.org>
Date: Fri Aug 6 23:27:36 2010 +0200
s3: Remove an unnecessary NULL check
Now that connections.tdb is not used for the broadcast messaging anymore,
connections_fetch_entry is only called for real connections.
commit 16949ef75a91adf68c2888cb4cb0d7f802e8781e
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 6 17:38:15 2010 +0200
s3-net: fix copy/paste typo in usage of "net printing".
Guenther
commit 0f8e032628865861b356755b4fbafb6fbfeddbeb
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 5 15:14:04 2010 +0200
s3-netlogon: remove global include of netlogon.h.
This reduces precompiled headers by another 4 MB and also slightly speeds up the
build.
Guenther
commit ccd4af271f73e88abd6899a347f9ce5af69c1f1c
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 5 15:03:00 2010 +0200
s3: remove global include of samr.h
Guenther
commit a90ed3381a772c46c06aaae66ec6113d878a6029
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 4 12:01:50 2010 +0200
s3-build: no need to include privileges.h twice.
Guenther
commit 002ac5681f95760968bc5111cc39e849a0449c44
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 3 00:03:03 2010 +0200
s3-net: only include netapi header when needed.
Guenther
commit 164ee0fe56af9e4b1f30c83165b0580220ac9531
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 23:21:09 2010 +0200
s3-libsmb: include nbt.h in namequery_dc code.
Guenther
commit f9012635da311afb31ce33ef5917e9a73207d688
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 23:18:53 2010 +0200
s3-libnet: include netlogon.h in libnet samsync header.
Guenther
commit af38b5f8009ac9f0ea7fb9cc10c0565e4908b2c3
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 5 15:25:35 2010 +0200
s3-smbtorture: include svcctl.h
Guenther
commit 441d607589afec65d9064703e6f11cc0806333bb
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 23:17:25 2010 +0200
s3-services: include svcctl.h where needed.
Guenther
commit c31df3adb2775523f465fdc9d03849c540c073a0
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 5 15:02:09 2010 +0200
s3-build: remove global include of krb5pac.h.
Put in samr and netlogon, as they were pulled in via krb5pac.h.
Guenther
commit 257a1f1097576fa981341521bda15824e7fac555
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 23:12:16 2010 +0200
s3-krb5: include krb5pac.h where needed.
Guenther
commit 2523aec6d19c519280793020f6db21c65a3c95ea
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 22:54:29 2010 +0200
s3-rap: include svcctl.h where needed.
Guenther
commit ae36783c7bed73461c012d78ec3e1f3a6bc3d221
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 22:52:00 2010 +0200
s3-passdb: include samr.h where needed.
Guenther
commit 677dcfa6782f03fa11c322b6c8e1abdc0a354604
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 23:23:12 2010 +0200
s3-param: include svcctl headers in loadparm.
Guenther
commit 728fba1233afc632fbe2b6d5262ac32db751233f
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 22:48:16 2010 +0200
s3-nmbd: include svcctl.h where needed.
Guenther
commit bf9a1dd4605cbf9c29e2b5bab9042b389980f1da
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 19 21:00:41 2010 +0200
s3: Remove some explicit calls to procid_self()
commit e6604e5d20c4ec45787ff49d5392484ef1d2f313
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 19 21:04:04 2010 +0200
s3: Remove some explicit calls to procid_self()
commit 3f4c99b1f24b4e679079ed13f487bb2a4fd3f4ec
Author: Andreas Schneider <asn at samba.org>
Date: Thu Aug 5 16:05:31 2010 +0200
s3-torture: Improve the winreg deletekey torture comments.
(cherry picked from commit 91a8d9bc9bfe557c1095a7262e3a1b28fc3279ab)
commit 51c3425e86544084242678ad8cb168041f43b068
Author: Andreas Schneider <asn at samba.org>
Date: Thu Aug 5 15:35:52 2010 +0200
s3-torture: Correctly cleanup the winreg volatile key test.
Günther please check!
(cherry picked from commit 2a15f7008c5b49cfa91c8001ad2541c5a6c80f73)
commit 449dcd100be1cf61cdb6778560c929cfa2c475e3
Author: Andreas Schneider <asn at samba.org>
Date: Thu Aug 5 15:24:20 2010 +0200
s4-torture: Fixed the winreg EnumValue test against Windows.
Günther please check!
(cherry picked from commit 0a8e382d73d16062502b98037d89bf003abc3c4b)
commit a4f31256185c8310ef886a1149ac5aa301210b4b
Author: Andreas Schneider <asn at samba.org>
Date: Thu Aug 5 10:49:53 2010 +0200
s3-popt: Only include popt-common.h when needed.
(cherry picked from commit ce2a086119330a0a39e6d7423432c1b2e0da247b)
commit 49f16f9b4b914a4c6e2d0f9185b44d4f22188b5b
Author: Andreas Schneider <asn at samba.org>
Date: Fri Aug 6 13:49:37 2010 +0200
s3-spoolss: Make sure we convert a 4 byte value to uint32_t.
(cherry picked from commit e9eb263391b2be16924b7e6ea935fdf44b1a0ead)
commit a9aceb24238d5a954ff3a95ab614f27b1f8d08fd
Author: Andreas Schneider <asn at samba.org>
Date: Fri Aug 6 13:49:01 2010 +0200
s3-spoolss: Fixed setting driver version correctly.
We are in a loop here, so setting tmp to 0 at the beginning of each
iteration sets info8->version to 0 if we enumerate over another value.
(cherry picked from commit 043c6f46583fac13588baf207582a08cfa802a28)
commit d1e92cd2944983ecabd0511ff7c8221c1033a3a8
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 10:04:57 2010 +0200
pidl: Samba3/ClientNDR - Correctly copy arrays, if r.out.size < r.in.size.
metze
Signed-off-by: Andreas Schneider <asn at samba.org>
(cherry picked from commit 33d1879d5b50e2d98c1bb13b835e7cfb178e3336)
commit 429578c3bdeb4e2d884f0bab24a778bc50c8e20f
Author: Andreas Schneider <asn at samba.org>
Date: Thu Aug 5 11:36:37 2010 +0200
s3-spoolss: Use the correct value for the data length.
(cherry picked from commit 174a46837d728e67e8a8226db143f9018f5faf2d)
commit 24e88b52b0bc61e1349d305a0d7904475ac988ca
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jul 29 20:48:01 2010 +0200
s3-spoolss: Increased debug level for trace output.
(cherry picked from commit e8d386704e4c126b979ffe6c8b588fb311cc2e34)
commit 2a00250c135ec246e144291bea1b4ed70237336b
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jul 29 20:45:07 2010 +0200
s3-spoolss: Fixed debug statements and increased level.
(cherry picked from commit b2be8f2267a2fdee2d9fce6a100225eea8e7928b)
commit e9eb263391b2be16924b7e6ea935fdf44b1a0ead
Author: Andreas Schneider <asn at samba.org>
Date: Fri Aug 6 13:49:37 2010 +0200
s3-spoolss: Make sure we convert a 4 byte value to uint32_t.
commit 043c6f46583fac13588baf207582a08cfa802a28
Author: Andreas Schneider <asn at samba.org>
Date: Fri Aug 6 13:49:01 2010 +0200
s3-spoolss: Fixed setting driver version correctly.
We are in a loop here, so setting tmp to 0 at the beginning of each
iteration sets info8->version to 0 if we enumerate over another value.
commit 33d1879d5b50e2d98c1bb13b835e7cfb178e3336
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 5 10:04:57 2010 +0200
pidl: Samba3/ClientNDR - Correctly copy arrays, if r.out.size < r.in.size.
metze
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 034a6efd04c0b171f12a0ba2485e1751e9ea4f90
Author: Volker Lendecke <vl at samba.org>
Date: Fri Aug 6 12:32:30 2010 +0200
s3: fail db_open_ctdb if ctdb is not around
commit 8f0c86373241cb9e308ed4b91b2b51d6e67fd88f
Author: Volker Lendecke <vl at samba.org>
Date: Fri Aug 6 12:32:30 2010 +0200
s3: fail db_open_ctdb if ctdb is not around
commit 2616dfeed7808002bee04ecea3ce47e4d2151a10
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Aug 6 13:06:42 2010 +1000
s3-printing: cope with missing printers in print migration
The printers database may be completely missing in a new install, and
we may have SECDESC entries for printers that have been removed. Don't
consider these fatal errors in the migration.
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit fe5f4d91ce5067c4222648967719f67f6e670642)
commit 55f3b5c8fe14fe0e175aafd8a6e6191f47f505fc
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 5 02:25:37 2010 +0200
s3-secrets: only include secrets.h when needed.
Guenther
(cherry picked from commit c136b84f0d28d1a88c5918b06f81766a271a3780)
commit 49f8403bd5351cf3b91d13dbbc66db7a015556be
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 2 00:32:52 2010 +0200
s3: avoid global include of ads.h.
Guenther
(cherry picked from commit e7a6a3ec0da01666c8e0c9772007ce7146df9d75)
commit 0fc95a2320ceb8f637f5f2557cbaa50c27b14dbe
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 4 16:49:43 2010 +0200
s3-libnet_join: add ads.h as helper header to IDL.
Guenther
(cherry picked from commit 385adcce732e3a0788ce935fbc76363feb9ff22f)
commit 31fc9cde5246f3d277bed325e5a9d9686adaee37
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 4 15:31:08 2010 +0200
s3-printing: move AD related printing components to an own file.
Guenther
(cherry picked from commit 31c484edb95c09b0b400cff9bab6b6cb2c33b120)
commit fe5f4d91ce5067c4222648967719f67f6e670642
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Aug 6 13:06:42 2010 +1000
s3-printing: cope with missing printers in print migration
The printers database may be completely missing in a new install, and
we may have SECDESC entries for printers that have been removed. Don't
consider these fatal errors in the migration.
Signed-off-by: Günther Deschner <gd at samba.org>
commit a2607a62f3ff359715e49fed93ec23f744e861b5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 6 16:14:11 2010 +1000
s4:ntlmssp Adjust Samba4 ntlmssp code to look more like the code in Samba3.
This does not change behaviour, and some of the whitespace isn't ideal, but
at the moment making this code more similar, even in cosmetics, will assist
later merge efforts.
Andrew Bartlett
commit 91a8d9bc9bfe557c1095a7262e3a1b28fc3279ab
Author: Andreas Schneider <asn at samba.org>
Date: Thu Aug 5 16:05:31 2010 +0200
s3-torture: Improve the winreg deletekey torture comments.
commit 2a15f7008c5b49cfa91c8001ad2541c5a6c80f73
Author: Andreas Schneider <asn at samba.org>
Date: Thu Aug 5 15:35:52 2010 +0200
s3-torture: Correctly cleanup the winreg volatile key test.
Günther please check!
commit 0a8e382d73d16062502b98037d89bf003abc3c4b
Author: Andreas Schneider <asn at samba.org>
Date: Thu Aug 5 15:24:20 2010 +0200
s4-torture: Fixed the winreg EnumValue test against Windows.
Günther please check!
commit ee11bb8748afebf2b42876a59da210f628613a02
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 5 14:05:58 2010 +0200
s3: Remove some direct cli->inbuf references in interpret_long_filename
commit 869a19f06c0ef7b106dfbbc3db1ed1091a1a4259
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 5 14:02:56 2010 +0200
s3: Remove a pointless wrapper function
commit 61fb8a4fd1a8b30fffdf941a9ff843825bf966e3
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 5 13:45:59 2010 +0200
s3: Explicitly pass flags2 to clistr_pull_talloc
Required to eventually make cli_list async
commit 1cbe8b85ae155896e8a4ef39f4b129b2f1e6b1d8
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 5 13:11:14 2010 +0200
s3: Remove some pointless wrapper functions
commit 6cb5a0d097e52577e956d3527b753c1bcf124d9d
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 5 13:06:11 2010 +0200
s3: Remove some pointless wrapper functions
commit 0a224bc77b9bb59c72b9d79d9e8637837ffd878c
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 5 12:48:52 2010 +0200
s3: Save the received trans2 from the inbuf in cli_trans
commit a13b96f04a59ec9be9e72ffab4dc6b3f9e1b4dc3
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 5 12:45:20 2010 +0200
s3: Fix a crash in masktest
commit 174a46837d728e67e8a8226db143f9018f5faf2d
Author: Andreas Schneider <asn at samba.org>
Date: Thu Aug 5 11:36:37 2010 +0200
s3-spoolss: Use the correct value for the data length.
commit ce2a086119330a0a39e6d7423432c1b2e0da247b
Author: Andreas Schneider <asn at samba.org>
Date: Thu Aug 5 10:49:53 2010 +0200
s3-popt: Only include popt-common.h when needed.
commit c136b84f0d28d1a88c5918b06f81766a271a3780
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 5 02:25:37 2010 +0200
s3-secrets: only include secrets.h when needed.
Guenther
commit 1946ab5a1b4be6d64307fb24847640f959a1e024
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 11 07:35:43 2010 +0200
s4-dns: ndr_dnsp helper functions
these handle the dnsp_name type
commit febd35ecd29a25979ff4f7a8f7a0d9dc80399dfb
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Aug 5 15:25:38 2010 +1000
s4-dns: fix dnsp for old build
commit 8892748085d896f46582ea52d299513ce035d8a3
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 11 07:09:46 2010 +0200
s4-dns: expanded the DNSP code to handle more record type
commit a41dffcb6a0a2dcb6bbcf3ecbb4a7a1df47d85df
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 11 07:09:05 2010 +0200
pidl: added a new type dnsp_name
This is a name type used in DNS where each DNS component maps to a
length byte followed by the string
We want these to map to a char *, which is why we need to do this in
PIDL
commit 1a701914fd226f7d3844bd6feadcd58cb7144246
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Aug 5 15:22:49 2010 +1000
s4-ldb: added ldif handler for the dnsRecord attribute
commit 2883bc94c76bc54187bb9bd0db1a36dd482a0aea
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Aug 5 15:20:13 2010 +1000
dns: first version of dsnRecord parser
commit e7a6a3ec0da01666c8e0c9772007ce7146df9d75
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 2 00:32:52 2010 +0200
s3: avoid global include of ads.h.
Guenther
commit 385adcce732e3a0788ce935fbc76363feb9ff22f
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 4 16:49:43 2010 +0200
s3-libnet_join: add ads.h as helper header to IDL.
Guenther
commit 31c484edb95c09b0b400cff9bab6b6cb2c33b120
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 4 15:31:08 2010 +0200
s3-printing: move AD related printing components to an own file.
Guenther
commit 867626abcad88b84684e9d328abf51d4f410a1cb
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 2 19:22:22 2010 +0200
s3: Convert cli_list() to return NTSTATUS
If needed, the callback functions can count themselves
commit 2ff73f0df3257c27cb3cdae779e679de3170be17
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 2 15:25:45 2010 +0200
s3: Use data_blob_null
commit dbdef72953ddca5fd827dc3798e7f0c3b63696ce
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Aug 4 19:43:59 2010 +0200
s4:LDB modules - remove the "kludge_acl" module code
Obviously this has been forgotten by Nadya.
commit 4b17ff4a9088860646e127b17df18d415dbdc97d
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 4 14:55:10 2010 +0200
s3-waf: fix the build.
Guenther
commit d50a9e8d9e706f545862ab1f5b9a8eaa27447844
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Aug 4 15:22:17 2010 +0300
s4-dsdb: Removed kludge_acl as it is no longer necessary
Moved the access check on extended operations to acl module and removed kludge_acl
commit 04f2fb782f79f4acfb8ea515df49845aee83d123
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Wed Apr 21 15:10:39 2010 +0200
small optimizations for shadowcopy2 module
- remove a compiler warning
- replace strlen usage
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit 77965ce85e46f7356960c4b7b84fbf5d3dfebeba
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Wed Apr 14 10:05:56 2010 +0200
fix snapshot content display with hide unreadable
With the hide unreadable option set, snapshots are be displayed
as empty with shadow_copy2 and a NFSv4 ACL module.
To prevent multiple conversions of the paths when the acl call
does a VFS_STAT (as the nfs4acl code does), a check was added
to convert_shadow2_name() so it will not touch paths any more
that look like they have already been converted.
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit ed824ac680b5fee67c551b7603b5ca5c41dcce41
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 12 12:30:58 2009 +0100
s3: Fix shadow copies after the change for in-path @GMT-
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit 7f19709431db85b0a0fe145dc3ccc8d90873e802
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 9 11:06:30 2009 +0100
s3: Fix in-path shadowcopy2 module
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit f4e60b42d37b5136dfd124de8bb5c1c9cd084957
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Wed Apr 21 15:10:39 2010 +0200
small optimizations for shadowcopy2 module
- remove a compiler warning
- replace strlen usage
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit b77f241b28bcf29a88e28a49623a5e99a356bb34
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Wed Apr 14 10:05:56 2010 +0200
fix snapshot content display with hide unreadable
With the hide unreadable option set, snapshots are be displayed
as empty with shadow_copy2 and a NFSv4 ACL module.
To prevent multiple conversions of the paths when the acl call
does a VFS_STAT (as the nfs4acl code does), a check was added
to convert_shadow2_name() so it will not touch paths any more
that look like they have already been converted.
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit cc2aa855a3cc690716233bde57ae74711813db0f
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 12 12:30:58 2009 +0100
s3: Fix shadow copies after the change for in-path @GMT-
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit 68c6e07591ed35c2c6aca2e1979ee08ae469c13c
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 9 11:06:30 2009 +0100
s3: Fix in-path shadowcopy2 module
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit 09f3c927bc6577d6613f88a345ee869df7cfec8b
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 3 15:13:57 2010 +0200
s3-spoolss: fix type-punned pointer build warning.
Guenther
(cherry picked from commit bf19a5228aa582e35d1447cb918a1f66bfdf8b2d)
commit 7ba6c37c79d4dfcc75238d2d2db9573b271ffceb
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 3 14:51:27 2010 +0200
s3-spoolss: fix uninitialized variable build warning.
Andreas, please check.
Guenther
(cherry picked from commit 743a2dedf42c2aa3e9e6caee92e3e9581ae56dce)
commit b663c8ce907794072460bc9841d9a9797282c970
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 3 13:18:01 2010 +0200
s3-printing: make sure to set NTSTATUS code before checking it.
Andreas, please check.
Guenther
(cherry picked from commit c530aa33cd9ac75bdd79754a2886bff54115800a)
commit fc94b272d6f61d779c5b3fab7468727f4df77493
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 3 00:12:27 2010 +0200
s3-spoolss: remove duplicate (and incorrect) header.
Guenther
(cherry picked from commit eab6d8c390f34ab331115a190735cb010ca59829)
commit 4c3f51bb1880bd3e594921357d1536e991c9ecbc
Author: olivier <olivier at virtscano.fakenet>
Date: Tue Aug 3 00:20:11 2010 +0200
make scannedonly notify the scanner if no .scanned: file was found during rename
commit 72cd5bcd58a2c85ba7257dfcfca61af3ddc1f590
Author: olivier <olivier at virtscano.fakenet>
Date: Tue Aug 3 00:20:11 2010 +0200
make scannedonly notify the scanner if no .scanned: file was found during rename
commit 64b26affe0afa2999130cdd4f1d521dccd877c9c
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 3 15:55:20 2010 +0200
s3-dcerpc: fix some uninitialized variables build warnings.
Guenther
commit bf19a5228aa582e35d1447cb918a1f66bfdf8b2d
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 3 15:13:57 2010 +0200
s3-spoolss: fix type-punned pointer build warning.
Guenther
commit 743a2dedf42c2aa3e9e6caee92e3e9581ae56dce
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 3 14:51:27 2010 +0200
s3-spoolss: fix uninitialized variable build warning.
Andreas, please check.
Guenther
commit c530aa33cd9ac75bdd79754a2886bff54115800a
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 3 13:18:01 2010 +0200
s3-printing: make sure to set NTSTATUS code before checking it.
Andreas, please check.
Guenther
commit bf5d88ec1caf47d9b0009396811d6bff5bfecc31
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon Aug 2 16:47:38 2010 +0300
s4/vampire: update dNSHostName for the Server object
commit b136cfd93512af6a69eaa80ffd8000d18d3a6254
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 2 18:32:40 2010 +0200
idl: Fixed a possible crash bug.
(cherry picked from commit b6e9d8d406974ec2f4593fd0147113fe86b883f9)
commit bf41bc2b4250e1c455ea05383c0f40026d31389a
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 2 13:49:59 2010 +0200
s3-spoolss: Fixed a segfault if a value has no data.
(cherry picked from commit d3fff4590420a3b2d1858e6c8dbaf4df93447a46)
commit 1be40662b854b9cc9bb6f125961727b474da2a8e
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 2 13:21:47 2010 +0200
s3-spoolss: Move some debug message to a higher level.
(cherry picked from commit 307bd439d7f5df828923189c02fcbe30124d1e01)
commit a1c3a82a576f9e8539532328c8ca380fcc880704
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 2 12:38:57 2010 +0200
s3-spoolss: Fixed some C++ build warnings.
(cherry picked from commit 4412bafa4460bbafe2170f980e8ce88937422529)
commit d4e29ee9235ec59457dcfbd5878946bf40ab4ff3
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 2 12:09:03 2010 +0200
s3-spoolss: Use a stackframe to allocat memory.
This is faster and should be more secure to use if something goes wrong.
(cherry picked from commit 772fbce9ffd7ec9de7d33e29d96852dce7f35c43)
commit f8279045964cd0140be23b436ead1169096a8d18
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Aug 3 04:26:57 2010 +0300
s4-schema: More verbose error log when subClassOf is not found in schema
Error message show failing classSchema object
but not the specific value for the failure,
which makes diagnostics by log files really hard.
commit a268e0846f1bc37a3dd63d2085884edc91b83e2a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Aug 3 04:14:45 2010 +0300
s4: fix comment typos
commit eab6d8c390f34ab331115a190735cb010ca59829
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 3 00:12:27 2010 +0200
s3-spoolss: remove duplicate (and incorrect) header.
Guenther
commit 30644821c0fe426ab27c3d809f39f20f2b3dc724
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 16:08:30 2010 +0200
s4-smbtorture: remove another old and now invalid s3 special case during spoolss testing.
Guenther
(cherry picked from commit 6463281f36edc796e51960d4b0c896af24e1b3c2)
commit ad68e45b505331683a2510de20f113a7c20e68e1
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 15:52:09 2010 +0200
spoolss: fix potential crash bug in spoolss_PrinterEnumValues push path.
Guenther
(cherry picked from commit 45952b56797982d27731b20d97f5648c9414814a)
commit a48b47b46a7326dc51266822554cf28d089e5afe
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 15:31:10 2010 +0200
s3-spoolss: remove unused MAX_OPEN_PRINTER_EXS define.
Guenther
(cherry picked from commit ff1c5b37f619ed3373b65af72c026a36de4b94c9)
commit 902e66e06d7067d95cd59db8039fd83331093212
Author: Günther Deschner <gd at samba.org>
Date: Sat Jul 31 00:54:45 2010 +0200
s3-printing: remove unused get_local_printer_publishing_data() call.
Guenther
(cherry picked from commit 9e0000224a53f418eb4d2c87f1b8d8c47e348665)
commit 654f86e7ce5c93b4eeba04b1de45687ed77c7880
Author: Günther Deschner <gd at samba.org>
Date: Sat Jul 31 00:47:20 2010 +0200
s3-build: avoid to globally include printing and spoolss headers.
This shrinks precompiled headers by 3MB and will slightly speed up any build.
Guenther
(cherry picked from commit 813fbbd68c50811ad3776140e409d31b60dba76f)
commit df552f2f90d4370f07b377925dabfe1a4b90e6e9
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 30 11:24:23 2010 +0200
s4-smbtorture: remove ifdefed symlink test, this is already skipped internally
in the s3 case.
Guenther
(cherry picked from commit a6e1fa23adaa31579366ec3445949cbde0520ac5)
commit 9d0c7f9dcb9a7a90912b1a42b112fa1c50278efc
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 30 11:23:06 2010 +0200
Revert "s4-torture: Disable setting REG_BINARY printer data with size 0."
This reverts commit 104c419345a42a9a02ae25df482f449dc41a6380.
(cherry picked from commit 89071133e34cd5264bfc55d77d4ee77dc3604a9f)
commit b6e9d8d406974ec2f4593fd0147113fe86b883f9
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 2 18:32:40 2010 +0200
idl: Fixed a possible crash bug.
commit 31782e52955f4f9301611a1e94b52b880f2ae302
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 2 10:21:36 2010 +0200
s4:librpc/rpc: avoid using DCERPC_NDR_REF_ALLOC for epm_Map()
metze
commit b1a584f9dc67bee1ecde408620dd815be3533091
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 2 09:53:27 2010 +0200
s4:torture/libnet: avoid dereferencing dcerpc_binding_handle internals
metze
commit d3fff4590420a3b2d1858e6c8dbaf4df93447a46
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 2 13:49:59 2010 +0200
s3-spoolss: Fixed a segfault if a value has no data.
commit 307bd439d7f5df828923189c02fcbe30124d1e01
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 2 13:21:47 2010 +0200
s3-spoolss: Move some debug message to a higher level.
commit 4412bafa4460bbafe2170f980e8ce88937422529
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 2 12:38:57 2010 +0200
s3-spoolss: Fixed some C++ build warnings.
commit 772fbce9ffd7ec9de7d33e29d96852dce7f35c43
Author: Andreas Schneider <asn at samba.org>
Date: Mon Aug 2 12:09:03 2010 +0200
s3-spoolss: Use a stackframe to allocat memory.
This is faster and should be more secure to use if something goes wrong.
commit 6463281f36edc796e51960d4b0c896af24e1b3c2
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 16:08:30 2010 +0200
s4-smbtorture: remove another old and now invalid s3 special case during spoolss testing.
Guenther
commit 45952b56797982d27731b20d97f5648c9414814a
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 15:52:09 2010 +0200
spoolss: fix potential crash bug in spoolss_PrinterEnumValues push path.
Guenther
commit ff1c5b37f619ed3373b65af72c026a36de4b94c9
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 2 15:31:10 2010 +0200
s3-spoolss: remove unused MAX_OPEN_PRINTER_EXS define.
Guenther
commit 322b52419485b882658c53c21f86e5bdfa82b71f
Author: Günther Deschner <gd at samba.org>
Date: Sun Aug 1 15:34:52 2010 +0200
s3-build: fix some c++ build warnings.
Guenther
commit eccf498e95b9b4cb67078e0ac62360a81646619c
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 2 11:03:13 2010 +0200
s3: Use cups-config --libs
commit 911db761148329f3bfc84ee68e0747215d0e8b2d
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 2 11:03:13 2010 +0200
s3: Use cups-config --libs
commit e4b32cb0d44ce7e5b068f8b9f6ce0567d79426aa
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 1 22:12:04 2010 +0200
s4:ldap.py - remove superflous spaces
Sorry, forgot to delete them in the last commit
commit e92f44782385be5315daa77f7821296f96ea729d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 1 21:12:50 2010 +0200
s4:ldap.py - additional "instanceType" checks
commit c38219adfc12828d436bd46b17107feba619aa55
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 1 17:34:43 2010 +0200
s4:instancetype LDB module - add checks requested by MS-ADTS 3.1.1.5.2.2
We've to test for the WRITE flag if we are performing an NC add. And if it
isn't an NC add then only the WRITE or no flag is allowed.
commit ba4578f98b411f175803160a9a1f81c1c3786f1f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 1 17:36:11 2010 +0200
s4:objectclass LDB module - consider the "instanceType" when adding NCs
This is requested by MS-ADTS 3.1.1.5.2.2 (NC add operation).
commit 89c7859006a47d646762f8f3e2256f72d6133c70
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 1 17:02:45 2010 +0200
s4:descriptor LDB module - remove the "forest DN" check
Also here we have to work with the default base DN.
After some reading I've discovered that this isn't really true. The forest
partition does exist on one or more DCs and is there the same as the default
base DN (which is already checked by the module).
And if we have other DCs which contain child domains then they never contain
data of the forest domain beside the schema and the configuration partition
(which are checked anyway) since a DC can always contain only one domain!
Link: http://www.informit.com/articles/article.aspx?p=26896&seqNum=5
commit f824e459f0c7971e86ff214bdfe84ce93dba14aa
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 1 17:02:45 2010 +0200
s4:acl LDB module - remove the "forest DN" check
After some reading I've discovered that this isn't really true. The forest
partition does exist on one or more DCs and is there the same as the default
base DN (which is already checked by the module).
And if we have other DCs which contain child domains then they never contain
data of the forest domain beside the schema and the configuration partition
(which are checked anyway) since a DC can always contain only one domain!
Link: http://www.informit.com/articles/article.aspx?p=26896&seqNum=5
commit 149f4251c5ae38d598a14aa899f5b418acf1c962
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 1 16:39:45 2010 +0200
s4:acl LDB module - remove unused call "is_root_base_dn"
commit 3f2a8d508123550c7fd4c7d29ab7d53f24a61629
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 1 17:44:50 2010 +0200
s4:urgent_replication.py test - adapt the test for the harder delete restrictions
Otherwise we are not able to delete the "test crossRef" object which points
to the default NC anymore.
commit ea5c40428f7e195f9db1efbd320969184bda6593
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 1 13:09:46 2010 +0200
s4:ldap.py - perform tests on the additional delete constraint checks
commit 316eda12068af4f059a082d0a9299d8fdb02d602
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 1 12:50:56 2010 +0200
s4:objectclass LDB module - implement additional delete constraint checks
MS-ADTS 3.1.1.5.5.3
commit c59ab01e33aa5fbfd3837d311c0e65593ab7a08a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 1 20:15:57 2010 +0200
s3: Fix an uninitialized variable
commit fb167a602879e9348d7fab1a24e04dc289678725
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 1 20:15:39 2010 +0200
s3: Fix a C++ warning
commit 0213cfa6af19fe1267662af802f42b8c0ce7194c
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 19 21:00:31 2010 +0200
s3: Fix some nonempty blank lines
commit 9bf2d260aa584f4cc8daa4228e71049ee2524ad3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 1 19:55:06 2010 +0200
s3: Fix an uninitialized variable
commit 542396ccd9a8b06a769300c5952477e13e3db8ae
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 1 11:26:08 2010 +0200
s4:ldap.py - add a test for "CN=System" object rename behaviour
commit 7ea1796fa44335858360031b778c5867b1c4c3fe
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 1 11:06:18 2010 +0200
s4:subtree_rename LDB module - rename "check_system_flags" into "check_constraints" and perform more checks
Always considering MS-ADTS 3.1.1.5.4.1.2.
commit 2e66033ab93ed036289892bd3718839472b3f27f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 1 11:05:26 2010 +0200
s4:subtree_rename LDB module - introduce out of memory checks
commit f997fd299d24339d8a386f37f710503c2d815a18
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Aug 1 11:32:14 2010 +0200
s4:dsdb/samdb/ldb_modules/util.c - remove unused variables
commit b99a02a7d4b21e37b9ff61171311ca1b143e2b14
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Aug 1 11:18:05 2010 +0200
s4:torture/rpc/winreg: fix "strict aliasing" compiler warnings
metze
commit c7ba3c4dcf77e51434783e5da2b505bf6c7a14c4
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Aug 1 11:17:14 2010 +0200
s4:torture/rpc/winreg: fix the build with non gcc compilers (e.g. on solaris)
metze
commit 81cc92c5af1a6e8c140e5c388d610f9061ca86db
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jul 9 19:22:01 2010 +0200
s4:ldap.py - performs some "systemFlags" testing
commit 3cdc83d4f9a67011cfa51b242cb84f3f6b59e226
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jul 4 20:07:09 2010 +0200
s4:subtree_rename LDB module - introduce the "systemFlags" protection rules
This is done in a dedicated call "check_system_flags".
commit 3244f6feaab218984978ac14e156d62e101a1104
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jul 8 21:05:33 2010 +0200
s4:dsdb/pydsdb.c - import "systemFlags" into Python
Needed by ldap.py tests
commit 4e3afb36dab12b460cdd0cbc95607d4032115c05
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 31 21:26:38 2010 +0200
s4:subtree_rename LDB module - "subren_ctx_init" - fix the "out of memory" return
commit 1b7029b47be296588b80e4c2ba871dba572cf18e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 31 20:59:02 2010 +0200
s4:torture/winreg.c - fix warnings of Solaris 10 cc through the appropriate casts
commit 380b2cb4b0d9e63b2825840697604bd977b40807
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 31 20:58:47 2010 +0200
s4:torture/winreg.c - remove unreachable code
commit f0c4a1aff4407826c301c54f58d0fb65c71c4a07
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 31 20:57:18 2010 +0200
s4:torture/winreg.c - add a FIXME comment on a codepart which isn't standard C-compatible
It seems to be GCC specific since it doesn't compile on Solaris 10 cc:
http://build.samba.org/?function=View+Build;host=sunX;tree=samba_4_0_waf;compiler=cc
commit f5f236a4b9943a3b44dea40940c3cb00960e669e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 31 14:52:44 2010 +0200
s4:dcesrv_netr_LogonGetDomainInfo - improve the client OS informations update
As ekacnet pointed out on the mailing list we don't need to do a delete if we
(re)set the values afterwards - only if we don't set any new ones.
commit 76e5d41d6a887e598bef8ec57ddc405c368acc00
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 31 11:35:31 2010 +0200
s4:blackbox/newuser: use test specific user names
As this test doesn't delete the user accounts at the end,
we should use test specific user names. That lowers the
chance of conflicts with other tests.
metze
commit 0b4247ef7a60e7fe419681919daa3b31cae7bc48
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 31 11:31:43 2010 +0200
s4:selftest: skip samba4.blackbox.ktpass for now as it's not portable
ktutil might not be installed or from MIT.
We should build a samba4ktutil and use that instead,
until then we need to skip this test.
metze
commit 34692556bed72130acd2985cc734d74c8a57203e
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 31 11:12:10 2010 +0200
s4:blackblock/ktpass: use test specific user name
metze
commit 16756196566770b07ebe066ff7329773c1ae07dc
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 31 09:00:44 2010 +0200
s4:librpc/rpc: use the correct ndr flags in dcerpc_ndr_validate_in()
metze
commit 9e0000224a53f418eb4d2c87f1b8d8c47e348665
Author: Günther Deschner <gd at samba.org>
Date: Sat Jul 31 00:54:45 2010 +0200
s3-printing: remove unused get_local_printer_publishing_data() call.
Guenther
commit 813fbbd68c50811ad3776140e409d31b60dba76f
Author: Günther Deschner <gd at samba.org>
Date: Sat Jul 31 00:47:20 2010 +0200
s3-build: avoid to globally include printing and spoolss headers.
This shrinks precompiled headers by 3MB and will slightly speed up any build.
Guenther
commit 28c74564c5bd3c972745deaa904ec8695f21ea1f
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 30 16:34:53 2010 -0400
cleanups: Trailing spaces, line length, etc...
commit 57bd974e5865212641f6941dd875bc1bc4967ed9
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 30 14:01:01 2010 -0400
s3-dcerpc: Use dcerpc_guess_sizes in the server code too.
commit 4c64e4d4af3403559b370381d7f14a83a39adfa7
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 30 13:12:35 2010 -0400
s3-dceprc: Improve dcerpc_guess_sizes() interface
Make it possible to pass in the NDR padding size so that theoretically
client and server code can decide to use a different alignment.
Pass in the header length as a parameter so that this function can be used for
different type of packets.
Make sure padding size will not make the fragment exceed the maximum length.
Calculate padding taking in account the header length.
commit 3469fbc5e4098e798a03d14fece24fde2b60d9b9
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 30 12:19:20 2010 -0400
s3-dcerpc: rationalize packet creation in the server code
Move all related functions into create_next_packet, but make it transport
neutral (not pass in pipse_struct)
commit a9d3a596a7c4d7e5775751cbce74e2fb07ce2192
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 30 11:27:40 2010 -0400
s3-dcerpc: Make function to guess pdu sizes common.
commit 9329a9fe848761e2835ff58123d8f64d8bab35b2
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 29 20:20:49 2010 -0400
s3-dceprc: consolidate use of dcerpc_push_dcerpc_auth()
commit da6c246aacc298ec0c7536289afbd9e0d99ea130
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 29 20:21:53 2010 -0400
s3-dcerpc: Remove unused functions
commit 186f93633b4890c444115ac4eed109aa24f20b44
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 29 19:55:44 2010 -0400
s3-dcerpc: use common spengo wrapper code for client SPNEGO/NTLMSSP
commit 984438ca1522bfc2d882b2e3e7e8db187577e05a
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 29 16:34:39 2010 -0400
s3-dcerpc: add sign/seal support when using SPNEGO/KRB5
commit 0b24e8e869207dcb567b61272794daef48ee492a
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 28 17:06:51 2010 -0400
s3-dcerpc: Add SPNEGO incapsulation for KRB5 auth
commit e286b9c0bd7bf553f216d7c8288bb75a6b3dde95
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 29 20:07:19 2010 -0400
rpcclient: Use DCERPC_AUTH_LEVEL_CONNECT if no sign/seal is set for ntlmssp
commit 1b069a9a425ccea32b8d7fdfa2e13aab4b652b43
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 30 16:18:51 2010 +0200
s3: Remove "cli" from "struct finfo"
commit fcdda8f44372b567b866b0eee90c7a9444f7f96c
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 30 16:18:51 2010 +0200
s3: Remove "cli" from "struct finfo"
commit a6e1fa23adaa31579366ec3445949cbde0520ac5
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 30 11:24:23 2010 +0200
s4-smbtorture: remove ifdefed symlink test, this is already skipped internally
in the s3 case.
Guenther
commit 89071133e34cd5264bfc55d77d4ee77dc3604a9f
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 30 11:23:06 2010 +0200
Revert "s4-torture: Disable setting REG_BINARY printer data with size 0."
This reverts commit 104c419345a42a9a02ae25df482f449dc41a6380.
commit b7f029016a6a3fb98652c65f27ae80ad78048396
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 29 13:47:27 2010 -0700
We should be using the winbindd separator in this case, not hardcoding a \\ value.
Jeremy.
commit 0eeee199500ece1e23514e22bb65350bd92bd6cf
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 29 13:47:27 2010 -0700
We should be using the winbindd separator in this case, not hardcoding
a \\ value.
Jeremy.
commit dbaa89214e1c4b63ea3a88716478488422ae8dc5
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 29 14:48:06 2010 +0200
s3: Do the ftruncate write cache optimization in one place
Instead of hand-tuning all the cases that are below this piece of code, this is
a general case that we can catch upfront.
commit 3a311f387679f3589ffb38e7e57c1920d83a45a1
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 29 14:21:14 2010 +0200
Revert "s3: Avoid pwrite calls for the 1-byte writes with zero content"
This reverts commit 6763730304627a58139450fd3e03a0ce48e31bb9.
commit a86e338a048ea70af850e24956f4c461143f336a
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 29 17:04:18 2010 +0200
s3: Avoid an unnecessary ftruncate call
If we just created the file, it has length 0 by definition. This is still done
while holding the share mode lock, so no race around wrt other cifs clients.
commit a8cd3ef99eb70d70b9272b6e3ab5cc737195e06c
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 29 14:48:06 2010 +0200
s3: Do the ftruncate write cache optimization in one place
Instead of hand-tuning all the cases that are below this piece of code, this is
a general case that we can catch upfront.
commit a86cad3921c4a8ddbcab1929c825356aec4fe76a
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 29 14:21:14 2010 +0200
Revert "s3: Avoid pwrite calls for the 1-byte writes with zero content"
This reverts commit 6763730304627a58139450fd3e03a0ce48e31bb9.
commit fec8505e0be067a09929216cfe476802f21d14fe
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 29 17:04:18 2010 +0200
s3: Avoid an unnecessary ftruncate call
If we just created the file, it has length 0 by definition. This is still done
while holding the share mode lock, so no race around wrt other cifs clients.
commit 5bc0db425f71ec8b7a570294b04cb2fb6d27be69
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 29 12:44:00 2010 -0700
Fix bug #7589 - ntlm_auth fails to use cached credentials.
In handling the WINBINDD_PAM_AUTH message winbindd canonicalizes a *copy*
of the mapped username, but fails to canonicalize the actual username
sent to the backend domain process. When "winbind default domain"
is set this can lead to credentials being cached with an index of
user: user, not DOMAIN\user. All other code paths that use
canonicalize_username() (WINBINDD_PAM_CHAUTHTOK, WINBINDD_PAM_LOGOFF)
correctly canonicalize the data sent to the backend. All calls
the can cause credentials to be looked up (PAM_CHAUTHTOK etc.)
correctly call canonicalize_username() to create the credential
lookup key.
Jeremy.
commit 4f4303048260ca19a5feef6b9338add1a19fb53c
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 29 12:44:00 2010 -0700
Fix bug #7589 - ntlm_auth fails to use cached credentials.
In handling the WINBINDD_PAM_AUTH message winbindd canonicalizes a *copy*
of the mapped username, but fails to canonicalize the actual username
sent to the backend domain process. When "winbind default domain"
is set this can lead to credentials being cached with an index of
user: user, not DOMAIN\user. All other code paths that use
canonicalize_username() (WINBINDD_PAM_CHAUTHTOK, WINBINDD_PAM_LOGOFF)
correctly canonicalize the data sent to the backend. All calls
the can cause credentials to be looked up (PAM_CHAUTHTOK etc.)
correctly call canonicalize_username() to create the credential
lookup key.
Jeremy.
commit e8d386704e4c126b979ffe6c8b588fb311cc2e34
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jul 29 20:48:01 2010 +0200
s3-spoolss: Increased debug level for trace output.
commit b2be8f2267a2fdee2d9fce6a100225eea8e7928b
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jul 29 20:45:07 2010 +0200
s3-spoolss: Fixed debug statements and increased level.
commit 749b94656e1670493f075ba59c13d0a770f60ba8
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jul 28 05:15:40 2010 -0700
Fix tdb_check() to work with read-only tdb databases. The function tdb_lockall() uses F_WRLCK internally, which doesn't work on a fd opened with O_RDONLY. Use tdb_lockall_read() instead.
Jeremy.
commit bc1c82ea137e1bf6cb55139a666c56ebb2226b23
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jul 28 05:15:40 2010 -0700
Fix tdb_check() to work with read-only tdb databases. The function tdb_lockall() uses F_WRLCK internally, which doesn't work on a fd opened with O_RDONLY. Use tdb_lockall_read() instead.
Jeremy.
commit 39d287ec67d9c33b17c8809ac34d3c09f72f689d
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 22:52:45 2010 +0300
s4-test: Expand DSSYNC test to be executed against all partitions
It is still possible to supply specific partition
to test with on command line using
--option="dssync:partition={PARTITION_DN}"
commit bd6f77ee0bb5f73ade9e7a20eef650f9be98096d
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Jul 14 05:10:34 2010 +0300
s4-test-dssync: Issue warning in case we have diffrences in link attributes
In case differences in messages are:
1. Attributes with different values, i.e. 'replace'
2. Those attributes are back-link attributes
then we just warn about those differences.
It turns out windows doesn't send all values for back-link
attributes in replicated_object but in linked_attributes.
I consider this as workaround for the problem.
A better solution might be to merge linked_attribute values
into replacted_objects before comparing those with LDB result
(although this will work for Win2k8 and latter)
commit 5bf54f17bd1c9067437088456f16b6dd504efc14
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Jul 14 03:42:56 2010 +0300
s4-test: Simplify test_GetInfo() - we have what we need through LDB connection
we have already opened.
Added 'config_dn' and 'schema_dn' members which are to be used
later for extending the test_FetchData() to be executed
against every partition in case partition is not specified explicitly.
DsSyncText.site_name was removed also as it is not used anymore
commit 88f17981001c509c4844304b5a120540ae2963f6
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 13 02:37:58 2010 +0300
s4-ldb: use TALLOC_CTX type instead of 'void'
commit e8ac4a8b82798ef0691d384f59d880dc38b56592
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 28 17:06:14 2010 -0400
s3-dcerpc: Try to fix build when gssapi_ext.h is not available
commit a2e20cf768d2d9a1f3783b7b6578935af772b6d8
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jul 28 20:09:48 2010 +0200
s3: Fix cli_qpathinfo2
Does not fix the DIR_CREATETIME test, but it is definitely an error.
commit 7c9c075987e7cdb2d5cb6311876f088f907e46f2
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 28 15:53:56 2010 -0400
Do not refernece pipe_auth_data directly in dcerpc_gssapi.c
commit d17abc69f690ccc845a0a1d6d291b6e21ce86b3d
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 28 15:35:02 2010 -0400
s3-dcerpc: Avoid ifdef, it is handled within dcerpc_gssapi.c already
commit 44add9952e5375f2858b26a2f676be49b70d839a
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jul 28 20:09:48 2010 +0200
s3: Fix cli_qpathinfo2
Does not fix the DIR_CREATETIME test, but it is definitely an error.
commit c4b3c9ec0f2efa937529160999f7e44bcad3591f
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 28 12:44:37 2010 -0400
smbd: Fix build warning
commit 7eaa15af2c5b544946bfb2b8c522ba9677527972
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 24 13:02:57 2010 -0400
s3-dcerpc: Add sign/seal with gssapi
commit 1abcbd70aed327ae5233423ce74662241fa9d21a
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 24 10:35:25 2010 -0400
s3-dcerpc: Add next authentication step with gssapi
commit 135a82e78f9537fb7b7f4b82fb7cba065737675f
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 23 14:47:36 2010 -0400
s3-decrpc: Introduce gssapi support for dcerpc krb5 auth
commit 72088096af8dbf57cbc85c71cd0eef4447e7560d
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 21 12:11:37 2010 -0400
rpcclient: Use DCERPC_AUTH_LEVEL_CONNECT if no sign/seal is set for krb5 auth
commit 183e0a0d9f87bc619cd832decf5745be1d28f598
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 22 16:14:16 2010 -0400
s3-dcerpc: Refactor calculate_data_len_tosend()
commit c08d684f4ef679831e8fed69cd87e4d9b06cb3e0
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 21 13:33:09 2010 -0400
s3-dcerpc: Add auth trailer only when appropriate.
commit 866f85e31973de356c3843836d5cacdbdf245e32
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 21 12:12:58 2010 -0400
s3-dcerpc: consolidate unmarshalling of dcerpc_auth
commit 146af48d4887e8fa0c66bf53aa5f204366648478
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 18:43:37 2010 -0400
s3-dcerpc: revive cli_rpc_pipe_open_krb5()
commit 250e341e0aad67c2f70fea597f34deadea1d2ccc
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 18:39:46 2010 -0400
misc: Remove unused structure elements
commit b00f9a0a2d3b692dd12e182a2a4a7979c626dec7
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 17:26:32 2010 -0400
s3-rpcclient: Allow choosing spnego mech: (ntlm/krb5)
commit 2463a871776bb4de8653d6a44469d2adb3ec9418
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 13:26:36 2010 -0400
s3-dcerpc: Use dcerpc_AuthType in pipe_auth_data
commit 1e915d231d4191bf3a0bb54ba99a31ad6b2afd3b
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 11:49:23 2010 -0400
s3-dcerpc: Cleanup and refactor create_rpc_bind_req()
commit 3c3237dd0afa37ba0e545424f5008973b645cf96
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 11:23:11 2010 -0400
s3-auth: Remove unimplemented functions
commit bfe53d414548cd8a0226136b73cf2b766b6a61ef
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 11:22:50 2010 -0400
s3-dcerpc: Set flags directly instead of calling unimplemented functions.
commit 7407c979a1469997c9277c501787b5f222216aac
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 20:03:08 2010 -0400
s3-dcerpc: Use dcerpc_check_auth in client code too
commit 9565e3f6a7ef2fb590558eb7b29c6c2fc657fca9
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 19:49:35 2010 -0400
s3-dcerpc: Make dcerpc_check_auth() common code
commit 5f2cca6b2a7b8b7bad4a47a2bd31174c45fa2611
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 19:42:12 2010 -0400
s3-dcerpc: Add the same paranoia checks we have in the client code
commit 49a8c2965d2982e6510609fa9772a56597494641
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 19:34:34 2010 -0400
s3-dcerpc: Split auth checking into a generic function.
commit 1fc71c9c6ff26f2d49f314b8425c6cd4c91683f3
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 17:51:18 2010 -0400
s3-dcerpc do not pass pipes_struct to dcesrv_auth_request()
commit 2ce169ce187cc7229aecdc3e5cd889c5194956aa
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 17:14:56 2010 -0400
s3-dcerpc: Make dcesrv_auth_request() return NTSTATUS codes
commit aa4c5a2bfb27fc274de2a83c4724e0f10ad6b119
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 16:16:40 2010 -0400
s3-dcerpc: Use the common dcerpc_add_auth_footer() in the server code
commit 31393334194be7763072900408bb61ebb7c1d11a
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 16:10:35 2010 -0400
s3-dcerpc: Move dcerpc_add_auth_footer() to the common helpers file
commit 6f5cdf9ae9707cdbc62e0ed5ad2578316796b4b3
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 09:07:22 2010 -0400
s3-dcerpc: Introduce generic helper function to add auth trailer
commit 1b572493e2ea30b262a0ca1b04e913017a3ac13d
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 17:53:44 2010 -0400
s3-dcerpc: Pass explicit arguments so that this is not client specific
commit e2b0e43da9b6c3f1fb12a10898dcc09e56da795a
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 17:32:35 2010 -0400
s3-dcerpc: Move marshalling of dcerpc_auth_header in the callers
commit f8cd9511b101a563d786e778369daa4877d0955f
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 11:06:36 2010 +0200
s3-rpc: Use struct pipes_struct.
(cherry picked from commit 6ffd7dc7805f572bcedf0693514f6aeb7be861f9)
commit 6ffd7dc7805f572bcedf0693514f6aeb7be861f9
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 11:06:36 2010 +0200
s3-rpc: Use struct pipes_struct.
commit e4b330917aa6003de007631d7406e62b281fc9fa
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:28:57 2010 +0200
s3-include: Use struct pipes struct and get rid of the typedef.
(cherry picked from commit f7a1453957223ead6ca2297dc57ce8c353f7fe5d)
commit bc3e7284c292907db0854b83cee12b4b3ff257a4
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:28:36 2010 +0200
s3-winbind: Use struct pipes_struct.
(cherry picked from commit 97dba0c0d957e17ac89e3c78eb5749621eab2a43)
commit df3d8dd2864cd9f42ad2ff6605c8250367ed12b2
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:28:18 2010 +0200
s3-uid: Use struct pipes_struct.
(cherry picked from commit 6457f814f50a00496384aad1712aba53d2609f63)
commit 131db0326031eacf9cf9a773785828fd1f0dfbdc
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:27:55 2010 +0200
s3-wkssvc: Use struct pipes_struct.
(cherry picked from commit d34fc3d1682c85c7d36fab168bc75bbb61b2931b)
commit f2f2e36dcd2d1cf67e70ea7c81aac4e0879d2f2f
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:20:10 2010 +0200
s3-winreg: Use struct pipes_struct.
(cherry picked from commit 31a4240b8dd4d3f6b7f181b4d70284833589f696)
commit 5d500282df204828519ef070d07f4393e95b7c39
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:19:26 2010 +0200
s3-svcctl: Use struct pipes_struct.
(cherry picked from commit ce59e69bcab308c998d8a54a68c805444d6e93ee)
commit 01ca496b5db2f8b4fd7082f9d1882af9fd391e4e
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:19:05 2010 +0200
s3-srvsvc: Use struct pipes_struct.
(cherry picked from commit 0fee377a52762a36a435e3fe2ffe0853cdac0bef)
commit aa83c863c706dd2fea4e7ae1398d47376e0ac857
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:18:08 2010 +0200
s3-spoolss: Use struct pipes_struct.
(cherry picked from commit 64fbaad942d12b343badaf8e45115a5b5ce5ea0f)
commit 190baa7cf01099cc550a6d719f30d986e6dd5fcb
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:17:21 2010 +0200
s3-samr: Use struct pipes_struct.
(cherry picked from commit c3817fe9d220a3cee3d651db2808212de2b7f2cb)
commit 47b14fcf690f01867fcfb935a798ff04ede9b791
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:16:34 2010 +0200
s3-rpc_pipe: Use struct pipes_struct.
(cherry picked from commit 667d43d4c8916043e6474418a57aaa0d03aee078)
commit 00578f40119167c1381c2c1f5e45c60cec2b0fad
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:15:45 2010 +0200
s3-ntsvcs: Use struct pipes_struct.
(cherry picked from commit 33d30926d1a9c2f077bdbc186c34ee01d9d2e74b)
commit 5b68707c918016c402ab2c4851a73c859c2ef5fc
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:49:07 2010 +0200
s3-netlogon: Use struct pipes_struct.
(cherry picked from commit 3fd138fae33529fbba2da4853c10f026a6b11fb4)
commit d1c7e525ca523fad41e7a8b01f2f3dbeec08ecfc
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:48:42 2010 +0200
s3-lsa: Use struct pipes_struct.
(cherry picked from commit 872f9655587a0bb314172797c799cd5d2a0b4e8f)
commit 30ed816d6571906b02f380e64daa197fc0814678
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:48:25 2010 +0200
s3-initshutdown: Use struct pipes_struct.
(cherry picked from commit 35d629d54ce30a4dbf6a53f4616ed77dd0033a1b)
commit 11d086bc79ec98d0905afb6f07c8648237d7aa3a
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:48:08 2010 +0200
s3-eventlog: Use struct pipes_struct.
(cherry picked from commit ba023aeaa95161029a0bec7dd79116a0c9db22f7)
commit fd9d1240864f6d8d15cd80d069960428b522bb1f
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:47:40 2010 +0200
s3-echo: Use struct pipes_struct.
(cherry picked from commit c9e37375361714dce009c5305e185e73a483a7eb)
commit ce1b9cf7b0f2da4c8104eab4dddca393b7ef832a
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:47:25 2010 +0200
s3-dssetup: Use struct pipes_struct.
(cherry picked from commit 96786a7df036d095649de300be4f37f8bcb70a6c)
commit 6575deed99341fe0390ba362fea9a6659cc195d5
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:47:04 2010 +0200
s3-dfs: Use struct pipes_struct.
(cherry picked from commit 2956bc986f319f29bce3262ae52dd990d938146c)
commit cb5bdb37a0ee693eff4491e90e60b9d1d5c127d9
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:46:43 2010 +0200
s3-rpc_server: Use struct pipes_struct.
(cherry picked from commit 46397f788bf283f7eb0f26e6eeb6a2926d2769bc)
commit 78590fa79a7ebf418adda410435cf2cb026a24f2
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:23:25 2010 +0200
pidl: Use struct pipes_struct.
(cherry picked from commit c1e81686af605bf0dafb45c316bfca3cd1a2cf9a)
commit cc54f68359fd74bfb3fa8bdb31faff30215c8899
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 30 13:18:21 2010 +0200
s3-lib: Remove redefinition of RL_COMPLETION_CAST.
This is already defined in replace/system/readline.h.
(cherry picked from commit dc87fbcb0f9a6ce1d722c62dafee540e75ba310e)
commit f7a1453957223ead6ca2297dc57ce8c353f7fe5d
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:28:57 2010 +0200
s3-include: Use struct pipes struct and get rid of the typedef.
commit 97dba0c0d957e17ac89e3c78eb5749621eab2a43
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:28:36 2010 +0200
s3-winbind: Use struct pipes_struct.
commit 6457f814f50a00496384aad1712aba53d2609f63
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:28:18 2010 +0200
s3-uid: Use struct pipes_struct.
commit d34fc3d1682c85c7d36fab168bc75bbb61b2931b
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:27:55 2010 +0200
s3-wkssvc: Use struct pipes_struct.
commit 31a4240b8dd4d3f6b7f181b4d70284833589f696
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:20:10 2010 +0200
s3-winreg: Use struct pipes_struct.
commit ce59e69bcab308c998d8a54a68c805444d6e93ee
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:19:26 2010 +0200
s3-svcctl: Use struct pipes_struct.
commit 0fee377a52762a36a435e3fe2ffe0853cdac0bef
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:19:05 2010 +0200
s3-srvsvc: Use struct pipes_struct.
commit 64fbaad942d12b343badaf8e45115a5b5ce5ea0f
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:18:08 2010 +0200
s3-spoolss: Use struct pipes_struct.
commit c3817fe9d220a3cee3d651db2808212de2b7f2cb
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:17:21 2010 +0200
s3-samr: Use struct pipes_struct.
commit 667d43d4c8916043e6474418a57aaa0d03aee078
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:16:34 2010 +0200
s3-rpc_pipe: Use struct pipes_struct.
commit 33d30926d1a9c2f077bdbc186c34ee01d9d2e74b
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 10:15:45 2010 +0200
s3-ntsvcs: Use struct pipes_struct.
commit 3fd138fae33529fbba2da4853c10f026a6b11fb4
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:49:07 2010 +0200
s3-netlogon: Use struct pipes_struct.
commit 872f9655587a0bb314172797c799cd5d2a0b4e8f
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:48:42 2010 +0200
s3-lsa: Use struct pipes_struct.
commit 35d629d54ce30a4dbf6a53f4616ed77dd0033a1b
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:48:25 2010 +0200
s3-initshutdown: Use struct pipes_struct.
commit ba023aeaa95161029a0bec7dd79116a0c9db22f7
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:48:08 2010 +0200
s3-eventlog: Use struct pipes_struct.
commit c9e37375361714dce009c5305e185e73a483a7eb
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:47:40 2010 +0200
s3-echo: Use struct pipes_struct.
commit 96786a7df036d095649de300be4f37f8bcb70a6c
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:47:25 2010 +0200
s3-dssetup: Use struct pipes_struct.
commit 2956bc986f319f29bce3262ae52dd990d938146c
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:47:04 2010 +0200
s3-dfs: Use struct pipes_struct.
commit 46397f788bf283f7eb0f26e6eeb6a2926d2769bc
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:46:43 2010 +0200
s3-rpc_server: Use struct pipes_struct.
commit c1e81686af605bf0dafb45c316bfca3cd1a2cf9a
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 28 09:23:25 2010 +0200
pidl: Use struct pipes_struct.
commit dc87fbcb0f9a6ce1d722c62dafee540e75ba310e
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 30 13:18:21 2010 +0200
s3-lib: Remove redefinition of RL_COMPLETION_CAST.
This is already defined in replace/system/readline.h.
commit 27833f5ec12944ac3e521ee62856654c8cca9eba
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Apr 15 09:52:23 2009 +0200
s3/configure: Disable the automatic merged build.
Karolin
commit 8c0c3940986945406ca9f35112498eacddaed5c9
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Jul 28 09:47:55 2010 +0200
VERSION: Bump version to 3.6.0pre1.
Karolin
commit e3f8e0d14c109c987aac2cbf8c55eda25ab5d427
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Jul 28 09:46:51 2010 +0200
VERSION: Adapt version string.
Karolin
commit a20ee817b269f575e1c38a7d48d7d0a81ef108b4
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Jul 28 09:27:43 2010 +0200
WHATSNEW: Update changes.
Thanks to Simo for providing the summary!
Karolin
commit dace013898a450b50606740704c83ba25855e332
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 27 10:59:55 2010 +0200
s3: Remove a typedef (struct file_info)
commit 9168713774c02ba2f71d89379cc239a900ebeafe
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jul 27 12:27:54 2010 +0200
s3-spoolss: Fixed FILL_DRIVER_STRING leading to wrong results.
commit 90c17828824401c7be065a7bbf706dcafef0fc31
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 26 18:28:15 2010 -0400
s3-spoolss: Avoid segfault, check drivername is actually not NULL.
commit 6cd2f2ff31768a40ca60112964b35bf040b2e6d8
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 26 19:14:03 2010 +0200
s3-spoolss: Fixed a possible segfault in winreg_get_printer.
commit bb0226f10ef86296af273ea0e9692b72d0ead4c2
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jul 26 18:12:13 2010 +0200
s3-spoolss: Correctly set the default values.
commit b95d5563ddff7aec15f4138be731578785dca7ec
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 15 13:37:44 2010 +0200
s3-printing: Added automatic migration of printing tdbs.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 924cc43d1b8f8358f7c7aaef16b06437e39cd05b
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 30 10:40:24 2010 +0200
s3-spoolss: Move the standard mappings to spoolss.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit c3186f22c5d501cc6afed7556579906d27763251
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 30 10:39:43 2010 +0200
s3-lib: Make the standard_mapping parameter const.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 1be454538b2e4d242be90e43fab9eb09f0b07a57
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 30 10:25:08 2010 +0200
s3-spoolss: Remove the program global current_user_info.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit d8c81423aa52f1810cafeefa186f7dd0590cb0de
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 29 15:05:00 2010 +0200
s3-spoolss: Remove unused MAGIC_DISPLAY_FREQUENCY
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 8fe6813ca0e6ccbe4fed91425f82443f5cb166a4
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 09:57:41 2010 +0200
s4-torture: Enable tests with keynames including a slash.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit db2a777b0ee1e75fb6d11ad1240d7214a4e1dac4
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 15 13:37:44 2010 +0200
s3-printing: Added automatic migration of printing tdbs.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 35e03ef5c22020e047bd05e61be6c46701a07702
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 15 11:48:12 2010 +0200
s3-printing: Move all tdb upgrade functions to a separate file.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit c18913a2c216d9dd092f4efb3dfbad376fc29bb6
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 7 05:03:32 2010 -0400
s3-smbd: Convert reply_printqueue to use spoolss.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 3f68a39458dddf7cfc67ce78248f3f1bdad18ba6
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 1 17:09:21 2010 +0200
Revert "s4-smbtorture: skip driverName and printerName DsSpooler tests for now."
This reverts commit 23eb2888d94b34822e4c49b1d62f4bd3fac43fcf.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 96c25cdad5e82a1aed77692796617532f663aca1
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 8 13:03:22 2010 +0200
s3-spoolss: Create winprint print processor key.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit f5a2f8fa2b66d23eb2e99443f6d6bb85b6199b63
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 7 10:37:48 2010 -0400
s3-printing: Removed unused function print_job_fd().
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 21cd59e7a5b319a8800c904d21f0d1e885acc7fb
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 7 07:35:23 2010 -0400
s3-smbd: Use the right check to test if we can print.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit bdab6b10d25f536fe25c09b3821376e278395abc
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 7 08:01:13 2010 -0400
s3-printing: Moved printing.c headers to include/printing.h.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 628f9bee05b96b806225f3494c05c3a86acb1a1f
Author: Simo Sorce <ssorce at redhat.com>
Date: Wed May 5 08:56:46 2010 -0400
s3-spoolss: Use WERROR for print_job_delete.
And also check for PJOB_SMBD_SPOOLING in print_job_write.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 95f587a565543678da3beeff46167001b92bea79
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 7 07:45:25 2010 -0400
s3-printing: Removed unused printfsp.c.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 849cc65654d20e7077621ead2429a82fcac35197
Author: Simo Sorce <ssorce at redhat.com>
Date: Tue May 4 04:28:48 2010 -0400
s3-smbd: Migrated to new spoolss functions for printing.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 660506d359d76700f6f6ae5b7e9c4d05fe505fb6
Author: Simo Sorce <ssorce at redhat.com>
Date: Tue May 4 02:51:12 2010 -0400
s3-printing: Handled case when smbd spools a file on behalf of spoolss.
commit 94ee35f9cc0880c267bee14047d559948eb14ede
Author: Simo Sorce <idra at samba.org>
Date: Sat May 1 17:42:52 2010 -0400
s3-printing: Made print_job_start more robust.
Explicitly return ntstatus errors instead of relying on elusive errno.
Split the function to make it easier to follow.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 4761498c9e40d8b00060d2949bfcff32c6cf7f99
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 11:14:55 2010 +0200
s3-printing: Moved remaining prototypes to nt_printing.h.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 7c629bda2f86271b709292dbc5a9e811e438a902
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 11:07:36 2010 +0200
s3-printing: Remove unused printer registry key functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit ae405eed4fa1857e90f240671c539088be51d562
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 11:02:59 2010 +0200
s3-printing: Removed unused security descriptor functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit e2d3c0efa9a972d76279c3f834784525de1439b0
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 10:55:20 2010 +0200
s3-printing: Removed unused nt_forms.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit c918cfdedec5730b0851fd8132986f26b40a3cdc
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 10:52:11 2010 +0200
s3-printing: Removed unsuded c_setprinter functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit d8ab3e52dc717cbfd82b02c00426e98001acc764
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 10:49:46 2010 +0200
s3-printing: Removed unused free_a_printer function.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 5c1f28374712c1e23d794670a9cd91052e99f34e
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 10:49:03 2010 +0200
s3-printing: Removed unused mod_a_printer functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 4e45d5f8244fae0e26a6d0592a092f2a9c791666
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 10:46:10 2010 +0200
s3-printing: Removed unused get_a_printer functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 38d6274864ebb4d31333946379496d67745cd3c5
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 28 18:55:20 2010 -0400
s3-smbd: Added code to print via spoolss.
commit 8d44b11c6bf90f4698e472b46d4f47a136b960ba
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 16:46:34 2010 +0200
s3-spoolss: Removed wrong comment.
This doesn't reflect the current implementation.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit f6db3694edc947ca46d52f3627844127525b262c
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 16:41:10 2010 +0200
s3-spoolss: Moved shared printing functions to nt_printing.h
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 395dcbd111fd531324eb3e77940756e448a22024
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 16:44:47 2010 +0200
s3-spoolss: Removed the last free_a_printer() call in spoolss_nt.c.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit c26bfd228de962b70ba744fd9dc9ca62ecca1470
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 7 09:42:55 2010 -0400
s3-spoolss: Removed unused set_printer_dataex().
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 6d6ce4d1adbcb59231ec81fdc757d14f51a18534
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 30 10:35:08 2010 +0200
s3-spoolss: Create and update DsSpooler values.
commit 3fe2f6443d3ad623360701fcb09ed8913da6baa3
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 30 10:14:09 2010 +0200
s3-spoolss: Use a temporary talloc context in update_printer.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit c52e019ae10ba01f97851c0d4578a64209633a41
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 29 14:07:10 2010 +0200
s3-spoolss: Use the existing memory context for winreg_get_printer.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit c7ae6cb0464ed505fc0d44bb5095bb897c11d458
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 28 22:46:22 2010 +0200
s3-spoolss: Don't return the printer devicemode in spoolss_EnumJobs.
Jobs have their own DeviceMode, see print_job_devmode().
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 48828ab154160489586fd07e442739db35103fca
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 28 12:41:23 2010 +0200
s3-spoolss: Fixed the driver unc strings for dependent files.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit a1fe2ed68aef71083dc6a9938440e32e5a0cf63c
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 18:50:44 2010 -0400
s3-spoolss: Use winreg_delete_printer_key to delete printers.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit fdf669d37744487a7671b1d90541dbc21a41aeb6
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 18:33:20 2010 -0400
s3-spoolss: Get rid of get_server_name.
This function was useless the structure is public and used everywhere.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 44bc6714b0c5f40eb73def532b3074a4b19f6df4
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 17:34:24 2010 -0400
s3-printing: Converted printer publishing functions.
Use spoolss_PrintInfo2 and winreg calls.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit d17d73f4be6938b942f1eed875c6dd629d8bec88
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 14:46:33 2010 -0400
s3-printing: Convert print_driver_in_use.
Use spoolss_PrintInfo2 and winreg calls.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 017a305fede73b3f61517f38dec2bf706e2648df
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 13:51:33 2010 -0400
s3-printing: Convert print_time_access_check.
use spoolss_PrintInfo2 and winreg calls
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit afc4a387628e00376a118fbd9aeeec0694201e6f
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 13:08:32 2010 -0400
s3-spoolss: Use spoolss_PrinterInfo2 in notify code.
commit 78b985ac3e38bbbb42545a722096bf53ee2821eb
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 11:56:00 2010 -0400
s3-spoolss: Convert do_drv_upgrade_printer() to winreg functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 375bdfc7f89d8941c006bc2afb058176d81027e3
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 10:24:46 2010 -0400
s3-spoolss: Removed construct_dev_mode() function.
Replace it with spoolss_create_default_devmode() or
copy_devicemode() where needed.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 0d694e1261975bdc565b673e38001c67f9ca239a
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 09:30:10 2010 -0400
s3-spoolss: Use spoolss_PrinterInfo2 in construct_printer_driver_info_level.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 7f6f5806ff4bd97b22b77e011f22402f5583acb5
Author: Simo Sorce <idra at samba.org>
Date: Fri Apr 23 17:58:10 2010 -0400
s3-spoolss: Use spoolss_PrinterInfo2 for job info.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 52b8f1f4710f1e3482031a76fd2191388289967f
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 14 20:48:00 2010 -0400
s3-spoolss: Migrated driver functions to winreg.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit e517588a2073986ccd0edd76f9e3c865146bf1f4
Author: Andreas Schneider <asn at samba.org>
Date: Mon Apr 26 11:52:19 2010 +0200
s3-spoolss: Set c_setprinter always to 0.
This value is only used for the well known printers list which Samba
doesn't implement.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 90e96d3ee20caf4aa58ea87a3afc5013f31d0ae4
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 22 23:52:33 2010 +0200
s3-spoolss: Migrated spoolss_DeletePrinter to cleanup winreg keys.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit be6dc65b9e1b96872a10d3622b345d6be35872ef
Author: Andreas Schneider <asn at samba.org>
Date: Mon Apr 26 11:53:25 2010 +0200
s3-spoolss: Migrated spoolss_GetPrinter and spoolss_EnumPrinters to winreg_update_printer.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit a2c51a88cca77accdcd6660bdbdeccad63b8ee6a
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 22 10:59:27 2010 +0200
s3-spoolss: Migrated spoolss_OpenPrinter to create defaults with winreg_create_printer.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 653364f5a38fb6ec7c6ede38b62b2b15200b9f77
Author: Andreas Schneider <asn at samba.org>
Date: Fri May 7 10:38:54 2010 +0200
s3-spoolss: Removed unused function printer_info2_to_nt_printer_info2().
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 665eba334e96ee120f036e693c2a36167deaede2
Author: Andreas Schneider <asn at samba.org>
Date: Fri May 7 10:38:17 2010 +0200
s3-spoolss: Removed unused function convert_printer_info().
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit e2c9ad93cb914186b89e2055f1bed3cceee1f768
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 16 11:35:05 2010 +0200
s3-spoolss: Migrated spoolss_AddPrinter and spoolss_SetPrinter.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 2a5dba555520bf99a9545e1c7296075baf92cbea
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 15 15:20:42 2010 +0200
s3-spoolss: Migrated spoolss_Forms to use the winreg changeid function.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 67bdaa561608eca2f8ae500c6c6590630aa79094
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 1 12:46:22 2010 +0200
s3-spoolss: Migrated spoolss_GetForm to the winreg function.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit a879bba0acc8682949a2ca38e23f354baa6f96d1
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 1 11:53:01 2010 +0200
s3-spoolss: Migrated spoolss_SetForm to the winreg function.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 76f72fe5157cb6dd37f1beaa0ff6473bd67c6b0f
Author: Andreas Schneider <asn at samba.org>
Date: Wed Mar 31 15:31:53 2010 +0200
s3-spoolss: Migrated spoolss_DeleteForm to the winreg function.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit fad361aa8a050e99ac64c3aae6ee292d2a538c80
Author: Andreas Schneider <asn at samba.org>
Date: Wed Mar 31 14:48:27 2010 +0200
s3-spoolss: Migrated spoolss_AddForm to the winreg function.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 2ae1796b090b793397f4082a996b8e430172d365
Author: Andreas Schneider <asn at samba.org>
Date: Wed Mar 31 13:04:30 2010 +0200
s3-spoolss: Migrated spoolss_EnumForms to the winreg function.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 142431d09774da4004ed7fae7f0891f7ba62f8f9
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Mar 26 13:22:57 2010 +0100
s3-spoolss: Migrated spoolss_DeletePrinterKey to the winreg functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit fb5529f6230526701df5506836f93ca9b03e43e8
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 12:30:32 2010 +0100
s3-spoolss: Migrated spoolss_DeletePrinterDataEx to the winreg functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit e210230587bc129e7136b436242d7b9ae781d13d
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Mar 17 16:38:52 2010 +0100
s3-spoolss: Migrated spoolss_EnumPrinterKey to the winreg functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit df35b343dbb10ef5b248265e0b23ea0711ecce46
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 14:01:01 2010 +0100
s3-spoolss: Migrated spoolss_EnumPrinterDataEx to the winreg functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 795618a59284e5ce44ec6de60eccdfafecfbbc99
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 12:28:09 2010 +0100
s3-spoolss: Migrated spoolss_GetPrinterDataEx to the winreg functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 3d7e99e2c3247f1d6303196485f86d2ab05ec8c8
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 12:20:31 2010 +0100
s3-spoolss: Migrated spoolss_SetPrinterDataEx to the winreg functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 71be0ec140c6e5cd3315fd20f6c8795fa0aaca63
Author: Andreas Schneider <asn at samba.org>
Date: Wed May 26 11:27:28 2010 +0200
s3-registry: Redirect KEY_CONTROL_PRINTERS to KEY_WINNT_PRINTERS.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 65eb38bc00a723052d8ac371cb2cf7fd68e0954b
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 8 11:26:40 2010 +0200
s3-registry: Init all needed registry keys for printing.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 5604a78f0919f77fdf041989e3e2e0f61da80fd9
Author: Simo Sorce <idra at samba.org>
Date: Thu Apr 22 16:53:15 2010 -0400
s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 104c419345a42a9a02ae25df482f449dc41a6380
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Mar 26 14:40:05 2010 +0100
s4-torture: Disable setting REG_BINARY printer data with size 0.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 6446c75f70fcb80c9d66fd7d6d9cfdd01157c385
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 27 02:36:57 2010 -0700
Fix several places where talloc_asprintf returns were unchecked.
Jeremy.
commit 1890a2a1725848b622f1cd7b904b3c41fd318568
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Jul 27 09:48:05 2010 +0200
WHATSNEW: Update changes.
Thanks to Jeremy for providing this summary!
Karolin
commit cc43f985d15c128486d945c2c4f1576622ab4374
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 27 00:23:37 2010 -0700
Second part of fix for bug 7578 - 'net idmap restore' fails to set HWM, causing duplicates.
Jeremy.
commit cf38e8d8222aa1000bcf1022692011a993984df4
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Jul 27 09:02:36 2010 +0200
WHATSNEW: Update changes.
Thanks to Holger for providing!
Karolin
commit 4f01159a3165d7ae3a845956b46b23b03d8f6ef9
Author: Justin Maggard <jmaggard10 at gmail.com>
Date: Tue Jul 27 08:42:04 2010 +0200
s3: Fix bug 7578
Uninitialized variable read in _wbint_SetHWM
commit 75db0f0a63f671912e52edd6f15dc3bb5f929d56
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 23 20:08:58 2010 +0200
s3: Early start of an async nbench
The current nbench implementations have the problem that they fork a child
per simulated client. With hundreds or thousands of clients this can put
quite some load on the client. This test (when finished) will read the
standard dbench client.txt and run completely async from within one
process.
Volker
commit 2ad4b4f63ef6e8fa8f875135a4fa5764ef57c6ac
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 10:35:15 2010 +0200
s3: Convert cli_qpathinfo_streams to cli_qpathinfo_send
commit 27fb920ee8caade141cf0fd39e75afac7f4b5d0b
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 10:08:38 2010 +0200
s3: Factor out parse_streams_blob
commit 7c242cab9533ec240756fe1f18e99aef7d4086c2
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 09:41:25 2010 +0200
s3: Convert cli_qpathinfo_basic to cli_qpathinfo_send
commit f62bde93ce911445c0f3cb952d17d271a6536385
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 09:27:11 2010 +0200
s3: Convert cli_qpathinfo2 to cli_qpathinfo_send
commit 9a2d08bd3c10b8632c1497cfac3f91bcccbed8a7
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 09:21:17 2010 +0200
s3: Use error status instead of cli_errstr
commit 5030ba5e9473b4d169f69afdcf2de20ce14f82f9
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 22:57:47 2010 +0200
s3: Callers of cli_qpathinfo_recv might ignore the output
commit b6c4eb3c5204a5d43af10ba349fedc5f40796607
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 23 12:22:23 2010 +0200
s3: Log the correct core path on Linux if core_pattern is set
Contributions from Bill Hymas, IBM
commit 2ef87d8ec00f70aa8714c739525c487e44142853
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 15:04:52 2010 +0200
s3: fix a typo
commit 63d86757b463b89be98f9714deedbfb8c3c77b84
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 09:11:40 2010 +0200
s3: cli_qpathinfo2 expects at least 68 bytes
commit 0ba4404f21c76f139ca6ea287385dc2eb4817c4e
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 08:34:35 2010 +0200
s3: Convert cli_qpathinfo1 to cli_qpathinfo
commit 9851e1989aa87dbd121fb16062d5ec2e969f1b81
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 07:49:58 2010 +0200
s3: Fix a structure mess-up
I wonder why the compiler did not complain -- maybe because
the structs have the same data members? No clue.
commit cc8977b15723667eae995c120c6086f3b97f051d
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 07:47:39 2010 +0200
s3: Remove some unused struct members
commit 059ad34e0f61459fb5d9e0a845d3ac0d8df1b49d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jul 26 11:15:14 2010 +1000
lib: added samba-util.pc creation
Thanks to Brad Hards for this patch
commit 334d5bfe30188a42af758db3f6a3551dd074900a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 21:32:13 2010 +0200
s3: Convert cli_get_ea_list_path to cli_qpathinfo_send
commit 5380f67730154d872ad21a3d9908cfc2bb91edbd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 19:42:22 2010 +0200
s3: Factor out parse_ea_blob
commit d5e285abae34339f6eabc54a17049dcc5b56a6b0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 17:49:20 2010 +0200
s3: Convert cli_posix_stat to cli_qpathinfo_send
commit 786e4cd0980f0562b28ac74612a72faa4e2050cc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 17:46:01 2010 +0200
s3: Convert cli_posix_getfacl to cli_qpathinfo_send
commit cb9baa7c2c6edafd835bc6e36a385b0d00f5277e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 17:37:16 2010 +0200
s3: Convert cli_posix_readlink to cli_qpathinfo_send
commit 535774d88068052accedb21b626fd97a79502c0e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 17:26:43 2010 +0200
s3: Add async cli_qpathinfo
commit ce3dfd777f8f2da4cb08f6c91a465e647b84a8f1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 13:19:34 2010 +0200
s3: cli_qpathinfo->cli_qpathinfo1
commit b04eba165e45bafbe813f93b9e133dc489d2fe2e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 19:12:28 2010 +0200
s3: Fix cli_posix_stat
nlink seems to be defined as 8 bytes, not 4
Jeremy, please check!
commit 1528a4ffbe40fe63329e67370f13c0ef6b117b81
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 19:11:30 2010 +0200
s3: use dump_data in query FILE_BASIC_UNIX_INFO
Jeremy, please check! To me this is a lot more readable than the decimal
listing of the bytes.
commit 032bf5c62948387a43501509d046b21f7a6f9d85
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 24 13:17:15 2010 +0200
s3: Fix a typo (missing space)
commit 5912206606babc178aa1e3c1a3be853eba808323
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 23 10:54:46 2010 -0700
Fix bug 7583 - Smbclient fails to kerberos connect to a Alfresco JLAN CIFS Server
Correctly calculate the gssapi channel binding checkum.
Jeremy
Signed off by: simo <idra at samba.org>
commit c75106fd3ab3715af190dbbdeda9809a019edaac
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 20 19:48:39 2010 +0200
s3: not use as-needed by default and auto use if enable-developer is active
as discussed on samba-technical, we don't want people out there to use it
unwittingly by default. However by enabling it when enable-developer is used we
make sure that we don't break the feature.
commit 61cfbf342fb508477bd45ed8378af7ba6f147727
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 16:34:33 2010 -0400
s3-rpc_server: Cleanup the way we free pipe auth data
commit 636de433ac9cb658c35b8fc45933d8dcb98a991e
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 15:43:22 2010 -0400
cleaup: Reformat cli_get_session_key()
merge cli_get_session_key
commit 3b502d899d8924d285e72f8a9fe666865d6f6926
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 16:01:07 2010 -0400
s3-dcerpc: Fix potential memleak
Use a free function for schannel data too for now.
commit a3713d746949788c393ecf2b0d10d105c2220b22
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 13:56:25 2010 -0400
s3-dcerpc: Properly initialize output buffers on nak/fault
commit 26f1218a3678e648c73db3b34732703396ad48b2
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 20:00:12 2010 -0400
s3-libsmb: Use data_blob_talloc to get krb5 ticket and session keys
commit 8137f2d7e7e69db66a5191c1a80e0bda52506528
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 19:45:00 2010 -0400
misc: cleanup get_krb5_smb_session_key()
commit e8460b4ebc82659d2cf1ea1588c708fa7069be5c
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 19:41:19 2010 -0400
misc: cleanup cli_krb5_get_ticket()
commit 5002b3a90d6002ce51ad1d8a038ea4c7be98ab43
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 16:17:58 2010 -0700
Add approriate TALLOC_CTX's thoughout the spnego code. No more implicit NULL contexts.
Jeremy.
commit 8df0f0e49e1a91fa10edd65582aa43020e6bc101
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 15:12:07 2010 -0700
Fix warning on 64-bit machines.
Jeremy.
commit cce19c51625e2d73a541bbdfcc549f5a63c26abe
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 14:59:31 2010 -0700
Fix one more data_blob -> data_blob_talloc. Move away from implicit NULL context tallocs.
Jeremy.
commit 4ed9437b7e24365b9acd179b6553793db95a4c54
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 13:35:43 2010 -0700
Add TALLOC_CTX argument to spnego_parse_negTokenInit, reduce
use of malloc, and data_blob().
Jeremy.
commit dc443ee6e9e97c08bcceaa1cbc155635e73e8118
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 20 21:54:45 2010 +0200
s3: Fix two uninitialized variables
commit 7d17bfcf51880c84a2f2173c941f2955d045f5c5
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 11:14:49 2010 -0700
Rename spnego_gen_negTokenTarg() -> spnego_gen_krb5_negTokenInit()
as this correctly describes what this function does.
Jeremy.
commit 8a882b645c7913a12776065d239cd97d0628108c
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 11:04:19 2010 -0700
Remove gen_negTokenTarg(), as it's not actually creating a TokenTarg frame, but a TokenInit one.
Move to using spnego_gen_negTokenInit() instead.
Jeremy
commit 668744964db9210d7b106dcaa27ea1152bd635cd
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 09:51:48 2010 -0700
Fixes pointed out by <david.kondrad at legrand.us>. Free memory if not being
returned to caller. Remove unneeded asn1_tag_remaining() calls.
Jeremy.
commit f5def289d3d66e41c0a7ace3145107123e4ea54f
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 09:34:32 2010 -0700
Fix warning - no return value for a non-void fn.
Jeremy.
commit c58aeaaf311d4b1ec50cd9a606969c5643dd1380
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 20 18:03:13 2010 +0200
s3: also run the test prog from the explicit external lib bug check
on Linux linking already stops with a broken ld, on FreeBSD8 linking works but
the binary is broken, so we must check both.
this should be the final fix for bug #7561
commit b20e5eb3aab2d0c3b028e769dd126387699a8f7d
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 18:57:12 2010 -0400
dcerpc: Clarify what the arguments of dcerpc_pull_auth_trailer() actually represent.
commit 2a8399f7ce676e7e4fa70e8f8f04ba2876350695
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 20 13:39:59 2010 +0200
s3: check for explicit external lib bug in ld's as-needed code
Second part of fix for bug #7561
Based on test provided by Olaf Flebbe.
commit 09944302a195a3571dde29e3f77134a7542e1077
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 20 13:35:03 2010 +0200
s3: add configure swtich to manually disable as-needed
first part fix for bug #7561
based on earlier patch from metze
commit fa4dec31cf3bc37ff86fde722b1fa85d1ab1f0c6
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 20 11:13:51 2010 +0200
Revert "s3: Don't use as-needed"
This reverts commit b9835a1f9d8b81e4121a01a190dffaefe67cbe5c.
commit 4581902553b511a5ad4bae3249df9326b4cf95ec
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 16:58:50 2010 -0400
s3-dcerpc: Unifiy cli_pipe_auth_data and pipe_auth_data
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit a91727fc7974aeb314bfb6378f078e6727b20344
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 13:39:01 2010 -0400
s3-auth: Add auth_ntlmssp wrapper for client side
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e958b39042b67acaf2dc90a1f3d9bea51d7cebd8
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 13:36:33 2010 -0400
s3-auth: Move auth_ntlmssp wrappers in their own file
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit a04bbd281c5b94166e23026ea06e98939250028c
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 16 18:33:38 2010 -0400
s3-auth: Refactor and rename auth_ntlmssp_server_info()
Rename it to auth_ntlmssp_steal_server_info() to make it clear that
the server_info struct is stolen from the auth_ntlmssp_state structure.
Use talloc_move instead of manual steal&clear
Add comments to explain what is going on.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 0bb8d133c9a39873828dbe977513edd31e1a7045
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jul 19 17:14:26 2010 -0700
Remove gen_negTokenInit() - change all callers to spnego_gen_negTokenInit().
We now have one function to do this in all calling code. More rationalization
to follow.
Jeremy.
commit 8cba4a0c9639c48ec2433a98529bd8352e9d06c9
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jul 19 16:45:16 2010 -0700
Move the addition of the 16 byte guid out of spnego_gen_negTokenInit() and
into negprot_spnego() where it belongs (it's not an SPNEGO operation).
Add a TALLOC_CTX for callers of negprot_spnego(). Closer to unifying all
the gen_negTokenXXX calls.
Jeremy.
commit 625a51138916473eacc1447b11ffd93db0832077
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jul 19 15:41:45 2010 -0700
Remove parse_negTokenTarg(), as it's actually incorrect. We're processing
negTokenInit's here. Use common code in spnego_parse_negTokenInit().
Jeremy.
commit 962951e63d0bd3588085314b3bd94bac35415347
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jul 19 14:21:01 2010 -0700
Fix [Bug 7577] SPNEGO auth fails when contacting Win7 system using Microsoft Live Sign-in Assistant
Based on code from <david.kondrad at legrand.us>. Cope with every NegTokenInit ::= SEQUENCE value.
Jeremy.
commit 6763730304627a58139450fd3e03a0ce48e31bb9
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 19 16:15:01 2010 +0200
s3: Avoid pwrite calls for the 1-byte writes with zero content
When a write cache is empty and we write one 0, there is no point in actually
writing into the write cache, which would trigger a potentially superfluous
write cache flush. We can rely on posix semantics to give us 0's when
subsequent read calls want to read from file areas not written yet.
Jeremy, please check!
commit 944494d350fa0e42aa8a87849fa7168731f3b0a6
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 13:53:34 2010 -0400
s3-auth: Remove unused variable.
It was a spurious remnant after a rebase.
commit f9f3358348229b14d368316e327cfd2a4cb48c7c
Merge: 7e4de49bfceed18c81abf93703a61d0a22617a24 630a2eb68af0d523a1bb4451bbaa75d2ba47d252
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 13:48:31 2010 -0400
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit 630a2eb68af0d523a1bb4451bbaa75d2ba47d252
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jul 19 14:26:20 2010 +1000
waf: make the error msg when gen_ndr directory is missing clearer
the next time someone removes gen_ndr/README the fix should be more
obvious.
commit a709e423d2940a7c71099ff11383a5f0ef3b1d7e
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jul 19 14:20:33 2010 +1000
waf-idl: put the gen_ndr/README file for source3 back
This was removed by 100d37fc4624690423f6a932709b3f9046d05c64, probably
accidentially.
commit 5cefbfef26bf2d5f470f1d8c52d75e9756c0f738
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jul 16 14:52:42 2010 +0200
s3-rpc_server: Added callbacks for init and shutdown of a rpc service.
This adds two callback function for each rpc service. One is for
initialisation and the other for shutdown. rpc_<service>_unregister()
needs to be called to execute the shutdown function.
commit b91e5cf17d09e4e8bf73e78b96f69831a7cb0d0b
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jul 15 12:47:19 2010 +0200
s3-rpc_server: Don't register the same rpc commands twice.
commit b742c4952e1df7a898a73330e9c01a8f48a557b4
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 19 12:47:09 2010 +0200
s3-docs: Add more verbose description of "log writeable files on exit".
commit 775f1ed045666f30e2b45512b30ed8e9a0df322a
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 19 12:35:58 2010 +0200
s3-docs: Add more verbose description of "ctdb locktime warn threshold".
commit 4c0f760edfa9ccdfe0340af46c27e388457ae9af
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 19 12:22:05 2010 +0200
s3-docs: Add more verbose description of "username map cache time".
commit a785b4349c9041c81e0fb17060e0c0c4ece99439
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Jul 19 11:54:05 2010 +0200
s3-docs: Remove older documentation of smb2 parameters.
Jeremy, these parameters were already documented. My fault.
Sorry for the noise!
Karolin
commit 35b1e00ba330d5f90f121f2af384ff416dd4a62b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:19:07 2010 +0300
s4: Remove trailing whitespaces
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 11a44ce6f885de1c1f78c791cbe85a915934ae8a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:18:49 2010 +0300
ldb: Mark _DEPRECATED_ ldb_msg_diff() and ldb_msg_canonicalize() functions
They are not quite safe to use (requires caller to steal
resulting message in own context) and may lead to holding
memory for too long.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 31aeb841c9823574cb6f13986f4da34d00bb40a1
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:18:14 2010 +0300
s4-dsdb: use ldb_msg_normalize() in ldb_msg_difference()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 1e20dbd8127bcecda8e4a656d326b391cc5c8e8d
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:16:38 2010 +0300
s4-test: Use ldb_msg_normalize() in sqlite3 backend
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 91d9f88d28e58157ca63caeb76ff779321d7bb53
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:13:20 2010 +0300
s4-test: Use ldb_msg_normalize() in torture/rpc/dssync.c test
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit d71b20e8dc9d8e8366ffb5147c84586f5d71416e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:03:53 2010 +0300
s4-dsdb: use ldb_msg_normalize() in ldbadd-process_file()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 2ad701911e2bd5d4cdc5d5db64449f3cc01df3cd
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:01:49 2010 +0300
s4-dsdb: use ldb_msg_normalize() in source4/lib/ldb/common/ldb.c
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 86cc914717a915808479126a14baa915450b24f6
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:59:40 2010 +0300
s4-dsdb: use ldb_msg_normalize() in source4/dsdb/schema/schema_set.c
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e5a9469a88e039b558e13273ae637f874bbb42b3
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:55:42 2010 +0300
s4-ldb: Add ldb_msg_normalize() to accept a memory context from client
Previos implementation from ldb_msg_canonicalize()
was moved into this function and now ldb_msg_canonicalize()
is based on ldb_msg_normalize()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 48574ccc3f46a58940a06b524ff3be3c6da6b104
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:47:41 2010 +0300
s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add()
Previous implementation was 'leaking' attribute name
string, that is allocated by ldb_msg_add_empty()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 3944c81d08177e7fa360b1925648686c729e2773
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:46:05 2010 +0300
s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add_empty()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 8d523d46f5dfcbf5a428fd75b908fe5bd738e62c
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:44:13 2010 +0300
s4-ldb: Add separate function to add empty element into ldb_msg
It just adds another element, nothing more.
Caller is responsible to fill-in the added element and
determine how to handle data allocation contexts.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit a95fd4ef647ed6d4c81ab862e08e7c42ee2fe0d6
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:41:57 2010 +0300
s4-ldb: Write more explanatory comment for ldb_msg_add()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 8deae13313b87c0d7efa64e9334c06987ed90ac6
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:40:50 2010 +0300
s4-pyldb: Use ldb_msg_difference() in py_ldb_msg_diff()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 148b8588bc7864f4771c8dcf21cfdc150b22e701
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:38:09 2010 +0300
s4-test: Use ldb_msg_difference() in torture/rpc/dssync.c test
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit fa0db46af16080dd3a540072f7ad664c0b9270ca
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:35:07 2010 +0300
s4-tools: use ldb_msg_difference() in ldbedit - modify_record()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit fb1c0796c7c533f468b74d55507e9877b93ead72
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:27:30 2010 +0300
s4-dsdb/schema/schema_set.c: fix trailing spaces and comments spelling
Few comments split on several lines also...
(Sorry Metze, I know you hate reviewing "and this, and that"
type of patches, but those are just cosmetics)
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit a11d3b4dfbdddb16d3f132ea8fe0175cb7d09444
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:26:45 2010 +0300
s4-dsdb: use ldb_msg_difference() in source4/dsdb/schema/schema_set.c
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 65b967a706bb4ee2da1d4211c31c91d31a81e8f1
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:23:24 2010 +0300
s4-ldb: Implement ldb_msg_difference() function to accept a memory context from client
Old implementation from ldb_msg_diff() was moved into
this this function but with changed interface
so that a memory context may be passed.
ldb_msg_diff() function is now based on ldb_msg_difference(),
which fixes a hidden leak - internal ldb_msg object
(returned from ldb_msg_canonicalize) wasn't freed
and stays attached to ldb_context for the connection lifetime.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit c09dcb903cdc1a68f71e892501a450df31367a54
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 16 19:44:22 2010 -0400
s3-auth: Use talloc hierarchies to properly free auth_ntlmssp_state contexts
Turn auth_ntlmssp_end into a destructor and attach it to auth_ntlmssp_state.
Remote auth_ntlmssp_end and use TALLOC_FREE in the callers.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 673fcfa3775ac6bdc467dde0bcf6670966cab50c
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 10:22:04 2010 -0400
s3-auth: auth_make ntlmssp_state the parent context
There is no need for a separate mem_ctx member.
Also make the ntlmssp_state a children of auth_ntlmssp_state
Also cleanup auth_ntlmssp_end to free only what is not automatically freed
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e60ed80754f1f51c74bc338cc3a81d12f49d9687
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 16 18:23:55 2010 -0400
s3-auth: Simplify how we free the auth_context
Turn the freeing function into a destructor and attach it to the
auth_context.
Make all callers TALLOC_FREE() the auth_context instead of calling
the free function.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e4bd6eb72fba92c0b0a3e5e636e5312629758bc1
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 16 17:47:21 2010 -0400
s3-auth: Cleanup and readability fixes
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit cdcdaaa6dd61475b8c0f37ce140a77271175cc9d
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 16 17:30:14 2010 -0400
s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it.
All the members are children of ntlmssp_state anyway.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 7e4de49bfceed18c81abf93703a61d0a22617a24
Merge: 378e4d5b8d30733f0f28cc2bceb28d9b9b594707 27aece72004a84a6e0b2e00987d8a362e307d1d8
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 18 20:04:42 2010 -0400
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit 27aece72004a84a6e0b2e00987d8a362e307d1d8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 18 17:12:30 2010 +0200
s3: Actually use the usecs in aio_fork_suspend
Jeremy, please check!
commit 1946beb679c7de75b142b30d84b5e4bf12c7e6bd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 18 17:12:11 2010 +0200
s3: Fix an uninitialized variable
commit 55512f479172047ae7f69604c23fffecf66de8c4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 18 14:40:43 2010 +0200
s3: Work better without the aio sighandler
Refuse async I/O if we can't set up the signal handler
commit b1717ac92edbc08e1f4cd2a38dd9f60be8492469
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 18 13:39:51 2010 +0200
s3: Fix some nonempty blank lines
commit 7ac58281aeebe4be282ca719ba1da2f821e521a5
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 17 23:16:26 2010 +0200
s3: Remove a direct use of procid_self()
commit 898fd584a4f96ba40c2692550518856671892add
Author: Andreas Schneider <asn at samba.org>
Date: Sun Jul 18 15:04:20 2010 +0200
s3-rpc_client: Fixed a segfault in rpccli_samr_chng_pswd_auth_crap().
This fixes the WINBIND-WBCLIENT test. The test set
old_lm_hash_enc_blob.length to 0 and we don't check the length here. So
the memcpy segfaulted.
commit 0d16a591f4053785f419b27b7bc9694ecdd47fd0
Author: Andreas Schneider <asn at samba.org>
Date: Sun Jul 18 11:28:24 2010 +0200
s3-waf: Fixed the build.
commit b9835a1f9d8b81e4121a01a190dffaefe67cbe5c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 18 11:56:17 2010 +0200
s3: Don't use as-needed
This is just broken. RHEL5 can't deal with it, FreeBSD8 is broken with it, and
who knows what other platforms are broken. I can rather live with a system that
links in a bit too much than a system that does not work at all.
commit bd54969d9bf970e29392856eb351ecf5a129daac
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 17 21:37:43 2010 +0200
pam_winbind: Fix shadowing a global on FreeBSD
FreeBSD defines a function pam_error()
commit 3c0e10d70c7f3b5f50269166d3c7f44e13157d5a
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 15:43:28 2010 -0400
s3-dcerpc: Fix build and remove unneeded headers
Sorry, botched a rebase.
commit 52f6bfea4b88f36f5744283d8fa64b13f2146696
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 15:22:26 2010 -0400
s3-dcerpc: Move mere processing functions from srv_pipe_hnd.c to srv_pipe.c
commit 3c3cfb9806458816dc07703dc3e18fe02b21127c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 17 21:13:11 2010 +0200
Fix a typo
commit 628b57ca37641634a34d9b172c7cd5c35a882d4e
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 15:00:24 2010 -0400
s3-dcerpc: Move common cli/srv functions into a common file
commit 3925411de4067cc1c203b27cfb082bc693a13def
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 17 20:20:14 2010 +0200
s3: Really fix the 64-bit warnings
Hmm. Forgot to git commit this piece, sorry :-(
commit 32fd6e3c252d7c63252c5e8bbf39dcd52865d839
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 17 17:20:03 2010 +0200
s3: Fix some 64-bit warnings
commit a7e6b2aeb4a5ae3bf575c14bf866544b975d5f0b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 17 17:08:30 2010 +0200
s3: Right now we do not have includes in Makefile.in
Skip the expansion step on non-GNU-make systems
commit b7a1dd69804e19971b23fc4ebff3bb7234abfad7
Author: Matthieu Patou <mat at matws.net>
Date: Sat Jul 17 21:45:12 2010 +0400
s4 pam_winbind: don't build if pam header are not installed
commit c55f5f2a35a138e130e15eee8206b5f72675b7e8
Author: Matthieu Patou <mat at matws.net>
Date: Sat Jul 17 20:07:52 2010 +0400
s4 nss_switch: fix build problem on computer without the iniparser
Although the build was ok on my workstation it appears that on build
server it was not because the include path was not correct.
commit dbbfad82862343eed0be86c8ca4fa23bdff5beb5
Author: Matthieu Patou <mat at matws.net>
Date: Sat Jun 5 19:16:20 2010 +0400
s4-waf: add the missing bits for builing nss_winbind and pam_winbind
This is something that was not picked up during the migration to waf
commit e461e29cd9a81d4a74fcd489c2c7b693b49f41d4
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jul 12 00:07:20 2010 +0400
s4 unittests: add blackblox test for ktpass
commit 5a8c77f97b30ab2c81f7170a12dddb4ab9972414
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 28 21:38:35 2010 +0400
s4: create a simple version of ktpass
This script is intended to be a replacement for the ktutil of Windows.
It's use is for exporting keytab that will be used for kerberized
services.
commit feb21905cb4926baffd95b822c07c22d06260bf5
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 23:25:12 2010 +0200
s3-build: add LIBNDR_XATTR_OBJ.
Guenther
commit 3036822985cf109cfe551f5306cb495a659fd112
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 16 14:39:52 2010 -0700
Fix bug #7570 - New smb2 max parameters are undocumented.
Jeremy.
commit c5e85a4987ca846741efac855aaf313d851d954c
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 23:09:54 2010 +0200
s3-dcerpc: rename SCHANNEL_SIG_SIZE to NL_AUTH_SIGNATURE_SIZE and move to IDL.
Guenther
commit 5815119cb0ca56f5155936d99dae5fc9e4a53db8
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 23:00:17 2010 +0200
s3-perfcount: make it possible to compile the example perfcount daemon.
Guenther
commit 3b0c87cf319b562aeb1f5e12135905d6d57e926f
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 22:46:58 2010 +0200
s4-smbtorture: run all testcases with bigendian push as well in RPC-BIND.
Guenther
commit 1c7d08990469cc41e07e11e3d3d714021753f7e2
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 22:42:11 2010 +0200
s4-smbtorture: rearrange testlist in RPC-BIND.
Guenther
commit 7755e196a15ada80505c3ffd77b41c20e60b69ec
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 22:41:32 2010 +0200
s4-smbtorture: make sure to wipe out dcerpc auth flags before RPC-BIND starts.
Guenther
commit 65116adcebe23d3ae42a641515f6001268ed0ef0
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 16 15:15:48 2010 -0400
s3-dcerpc: Fix ability to receive Big Endian PDUs
commit ec25a000317f863df7af0d97f1fd8948b2f8959d
Author: James Peach <jpeach at samba.org>
Date: Fri Jul 16 11:07:31 2010 -0700
smbtorture shell: Allow any config option to be set.
Not sure what I was thinking by restricting the shell to "torture:"
parametric options. It's really extemely useful to be able to set
arbitrary options.
commit e058de31e81a23692ccb2bef290042a558e0e795
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 16 11:05:34 2010 -0700
Make the "map to guest" parameter work correctly with NTLMSSP (spnego
and raw) under SMB2. Still need to investigate fixing this with krb5
auth (does this make sense ?).
Jeremy.
commit 378e4d5b8d30733f0f28cc2bceb28d9b9b594707
Merge: 2f249538ac8f2a54d9c8f8dbf0107db2f33bfe16 6b266b85cf34145ac1f03d8f787b81121e4ec92b
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 16 09:57:03 2010 -0400
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit 6b266b85cf34145ac1f03d8f787b81121e4ec92b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jul 16 14:32:42 2010 +1000
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e4c35c5a09dd66c9280caa39130b7e3b941b7e51
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jul 16 14:32:10 2010 +1000
s4-loadparm: change lp_*() to lpcfg_*() and provide s3 compatibility lp_*()
This patch changes all Samba4 loadparm functions that take a
loadparm_context or a loadparm_service structure to use a lpcfg_*()
prefix. It then creates lp_*() functions which are wrappers around the
lpcfg_*() functions. This should allow us to mix Samba3 and Samba4
code which uses loadparm calls.
This first patch just makes the manual changes to the core loadparm
code. The tree will not build with just this patch. The next patch
replaces all of the callers, and was generated automatically with a
perl script.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 8b1980c22cd68f19ae47dee844963ae74b896e00
Author: Karolin Seeger <kseeger at samba.org>
Date: Fri Jul 16 10:02:39 2010 +0200
WHATSNEW: Start 3.6.0pre1 release notes.
Karolin
commit 2f249538ac8f2a54d9c8f8dbf0107db2f33bfe16
Merge: 0ab8e8be62bcbb1f6441f745736fcee7cbd559eb 5f8678f34be57ccbbf9d9c93ee34b1d8f09c75c4
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 15 20:50:06 2010 -0400
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit 5f8678f34be57ccbbf9d9c93ee34b1d8f09c75c4
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 02:37:51 2010 +0200
libcli/netlogon: re-enable debugging.
Now that we do not share binary objects anymore, we can safely enable
debugging here again.
Guenther
This reverts commit 3eb122069b9f81196ac658375fcb828924af3e94.
commit 914fd13eddef5cd917a10da1816565acfaa5fd57
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 02:20:34 2010 +0200
s3-registry: use some prs macros to the only place where they are used.
Guenther
commit 196b4e83424c65f8d56ef17e5fca1dfb11c9cf2b
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 02:07:51 2010 +0200
s3-waf: fix the build.
Guenther
commit 7cf4797dd3c13555dee59fdf0c959ac66b7633b1
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 01:11:39 2010 +0200
s3-dcerpc: fix c++ warning.
Guenther
commit f4c6c7e7b8714e8ab6b1245ab95e19133956d83e
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 15 17:45:29 2010 -0400
Move the remnants of rpc_parse code under registry/
The registry code is the only last user of this code.
Move everything under registry/ and hope someone will get rid od
it completely from there in the future.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 7520d8e9263f43e756d73dfd036cab215fe0d5fb
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 15 17:27:11 2010 -0400
s3-parse_prs: Remove unuesd functions
Signed-off-by: Günther Deschner <gd at samba.org>
commit 53945a2e990df92cdee8b54b3d1c3ade0305e99c
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 15 16:54:14 2010 -0400
s3-dcerpc: Use a local function to dump pdu regions
Signed-off-by: Günther Deschner <gd at samba.org>
commit 67b6fe3dc39aaf88787471b1ce10f47db74c5b1e
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 15 16:19:04 2010 -0400
s3-misc: Move smb_io_time() to regfio.c
This is the last file using this function and we do not want anyone
else to keep using hand marshalled stuff anyway.
So make it also private to that file.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 100d37fc4624690423f6a932709b3f9046d05c64
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 15 10:28:59 2010 -0400
s3-dcerpc: Use DATA_BLOB for pipes_struct input data
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8f2bfa88b5846528aa78840979a8ce8babef2cc0
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 15 08:48:51 2010 -0400
s3-dcerpc: Use DATA_BLOB instead of prs_struct for req_data
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8e9cd4144e0997991c1b54acf4e62213bce9019e
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 23:31:38 2010 -0400
s3-dcerpc: Use DATA_BLOB instead of prs_struct for rpc_out
Signed-off-by: Günther Deschner <gd at samba.org>
commit 3b83211cd8859429541b383bafb657d58f16fe30
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 19:57:01 2010 -0400
s3-dcerpc: Avoid unnecessary memory allocation for dcerpc_ctx_list
Signed-off-by: Günther Deschner <gd at samba.org>
commit ff121c89d365db657128bb53bd63d18c8bfa7155
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 19:39:54 2010 -0400
s3-dcerpc: Use DATA_BLOB instead of prs_struct for reply_pdu
Signed-off-by: Günther Deschner <gd at samba.org>
commit b44a91b2206b514ff47b8841d607ffd2cc297c8b
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 18:29:32 2010 -0400
s3-dcerpc: Use DATA_BLOB instead of prs_struct for incoming fragments
Signed-off-by: Günther Deschner <gd at samba.org>
commit cc15396c8a70270d4c85055111e58d71f5c96dd6
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 16:15:13 2010 -0400
s3-dcerpc: Read a pdu in 2 steps, header first the payload
We can't really cope with receiving more data than expected anyway
as there is code that checks if the size of the buffer is consistent with
pkt->frag_length and throws an error if not.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 79c207ed62ef661add5d48ea898b7a415a9c17d9
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 13:56:13 2010 -0400
s3-dceprc: Use IDL defined constants for length calculations
Signed-off-by: Günther Deschner <gd at samba.org>
commit 84c50a248e3a7c02d6cbcbb5ce49a6580700d39a
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 14:01:44 2010 -0400
Reformat and cleanup
Signed-off-by: Günther Deschner <gd at samba.org>
commit bd19c964d54571b1cdb8e4f1ea47a24e790e6e3c
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 12:18:49 2010 -0400
s3-dcerpc: Move common helpers into a common file
Signed-off-by: Günther Deschner <gd at samba.org>
commit ca3bdca52e93ec492f06f18d8428e80bbad375be
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 11:09:04 2010 -0400
s3-dcerpc: Padding is never done on a DCERPC_PKT_BIND_ACK packet.
Empirically verified against Windows.
It never pads the auth credentials on this packet type.
Signed-off-by: Günther Deschner <gd at samba.org>
commit cb3725a9310d88a8d5226025292e25d178d7a4db
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 02:04:04 2010 -0400
dcerpc: remove ncacn_packet_header and related functions
ncacn_packet_header was an artifact and it is not necessary anymore
Signed-off-by: Günther Deschner <gd at samba.org>
commit f9a15d1d94b4ea97f560536c32780b1c7e43c451
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 01:59:10 2010 -0400
s3-dcerpc: Refactor code and stop using ncacn_packet_header
Signed-off-by: Günther Deschner <gd at samba.org>
commit 2452a7a4c1094047f4c67f0901b746e069639f8f
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 23:56:01 2010 -0400
s3-dcerpc: consolidate respones packet creation code
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8cd3912afa51468e14d13b77394a308dd184b775
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 18:01:16 2010 -0400
s3-dcerpc: Convert frag from prs_struct to a simple DATA_BLOB
Signed-off-by: Günther Deschner <gd at samba.org>
commit 31b59bbf99835279a0a78858aca2f327150eb5e2
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 15:43:44 2010 -0400
s3-dcerpc: Convert rdata from prs_struct to a simple DATA_BLOB
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8246214e7ef5374acc0a1f97f4f1203374fba7f8
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 12:03:21 2010 -0400
s3-dcerpc: Remove unused functions and headers
parse_rpc.c is dead, long live parse_rpc.c !
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8ffac961db75aa3e0727e0c8f3e15cb0916f64d7
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 11:53:41 2010 -0400
s3-dcerpc: Stop using hand marshalling in create_next_pdu_noauth()
Signed-off-by: Günther Deschner <gd at samba.org>
commit a678d4e3b4766ce9520152da3d8d3ba299a470f1
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 09:52:56 2010 -0400
s3-dcerpc: Stop using hand marshalling in create_next_pdu_schannel()
Signed-off-by: Günther Deschner <gd at samba.org>
commit 5918a6c751e9dc1a93c4e1851149a270c4216ee1
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 09:26:13 2010 -0400
s3-dcerpc: Stop using hand marshalling in create_next_pdu_ntlmssp()
Signed-off-by: Günther Deschner <gd at samba.org>
commit f0626d14f051c11cdb2356bd730342249feeb0a9
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 10:27:37 2010 -0400
s3-dcerpc: Stop using hand marshalling in rpc_finish_auth3_bind_send()
Signed-off-by: Günther Deschner <gd at samba.org>
commit 7d9c62c646d3bc72d19c2d188305680ce0cd8ad0
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 08:49:35 2010 -0400
s3-dcerpc: Do not parse the packet twice.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 282db1f5d28fe923700faef4576aa78d312547c0
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 08:39:03 2010 -0400
s3-dcerpc: Remove unused function
Signed-off-by: Günther Deschner <gd at samba.org>
commit 137743fac2ef917e2e9ba7d85840aa392e3a6946
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 08:29:21 2010 -0400
s3-dcerpc: Do not reparse the header
Instead pass back and use the packet we have already parsed.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 459c8e32fd49766ba7382c4c3da1d0c61d9deadb
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 07:59:12 2010 -0400
s3-dcerpc: Pull the whole packet at once instead of fetching just the header
Signed-off-by: Günther Deschner <gd at samba.org>
commit 602e10f3fdb5f0f94e5f22b639121220d419d47f
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 12 09:36:39 2010 -0400
s3-dcerpc: Delay parsing rpc header in client code
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8ce15b3a71a29fe27b7146c1b802aa11e7c96433
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 15 16:06:11 2010 -0700
Fix bug - 7551 smbclient does not return proper exit code.
Catch error in cli_push.
Jeremy.
commit 0e212acd32b0378e9d7ea912f0eee5afa230d898
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 15 16:45:13 2010 +1000
s4:testprogs Operate the blackbox kinit and net tests using the :local config
This :local tells selftest.pl to use the local smb.conf for the test
environment, not the generic client smb.conf
This then makes the rest work properly - otherwise, it may attempt to
connect to the wrong KDC for example.
The only problem is that we can't test the 'net join' with this set,
so this is removed from the test. The member server test environment
checks this anyway.
Andrew Bartlett
commit 8769e75a616a3f4b7cc1a2b5f7ea261262ad75d2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 15 14:05:23 2010 +1000
s4:testprogs Show that we no longer delete the old keytab entries
By using a CCACHE obtained while the old password was still valid, we
can tell if the server still accepts incoming Kerberos connections
with the old password.
Andrew Bartlett
commit 299057d8d97cce349af2ff931396fae1f09493a5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 15 14:03:11 2010 +1000
s4:provision Handle machine account password changes while keeping keytab
The challenge here is to update the existing record if it already
exists, rather than deleting the old record. This ensures that the
secrets.keytab handling code keeps the previous password in the
keytab.
Andrew Bartlett
commit 3e8dba17030544a389611814e47521ceafa1ae8a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 15 14:01:56 2010 +1000
s4:pyldb whitespace fix
commit fcdf619b361b9c30b59f65ba38f69f344b4c95ae
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 15 14:00:48 2010 +1000
s4:pyldb Fix memory handling for ldb_message_element
The problem here is that we need to use the array, not the individual
message element as the memory context.
Andrew Bartlett
commit 5d61b477c66dce60d8ea37081f0c7394c77e1867
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 15 10:54:08 2010 +1000
s4:testprogs Prove kerberos still works after a password change
Changing the machine account password should not prevent connections
with a current, valid CCACHE. This is because when the password is
changed, the server-side keytab keeps one old password around.
Andrew Bartlett
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 36b5feceee2ea23d6da757999f238e28ab7de485
Author: Matthieu Patou <mat at matws.net>
Date: Sun Jul 11 17:27:13 2010 +0400
s4 upgradeprovision: Adapt the list of attribute modified
* isMemberOfPartialAttributeSet is now allowed to be deleted (on schema
objects)
* attributeDisplayNames is now allowed to be added and modified (used on
display specifiers)
* spnMapping is now allowed to be altered on Directory Service objects
* minPwdAge is now modified if the previous value was 0
We issue a clear information about the userControl attribute for
administrator to invite the user to modify himself the value.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit a748402f61b4b3ea0df6666f4ec90f42fb45eaf8
Author: Matthieu Patou <mat at matws.net>
Date: Sat Jul 10 14:48:40 2010 +0400
s4 ldb modules: relax some tests about attributes that should not be here
For attributes that we know that are harmless and that used to be stored
in the ldb we relax the tests on the existance in a given objectclass.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 7478224189598f192065b91d57080f1dd1719a99
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jul 5 01:00:13 2010 +0400
s4 upgradeprovision: Synchronize the calculated keyversionnumber with the one previously stored
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 0a1b1121c48e26c5218e2ccc0c8a8cc724b96624
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jul 5 23:46:46 2010 +0400
s4 upgradeprovision: do not copy RID Set it's automaticaly created by the RID manager
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 2afc2f20b65b28140274828249160f1483090b5e
Author: Matthieu Patou <mat at matws.net>
Date: Sat Jul 3 16:26:24 2010 +0400
s4 upgradeprovision: add function to backup the provision before updating
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 6c51b3a43298e43332893f52d6951bf475bae6af
Author: Matthieu Patou <mat at matws.net>
Date: Sat Jul 3 16:53:44 2010 +0400
s4 upgradeprovision: fix whitespaces
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 62a32975c86e71eb1c5efeec0a4dee9d1ac20c10
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 15 12:54:05 2010 +0400
s4: Add unit test for increment_calculated_keyversion_number
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 93239016443c1ba40ec69c025a91d60c09833c20
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 15 12:49:19 2010 +0400
s4 upgradeprovision: introduce a new function to update the field use for calculating msds-keyversionnumber
This function change the version field of the unicodePwd in the
replPropertyMetaData so that the version is equal or
superior to the reference value passed.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit f97c90c9cd124314b4a0862e702dd021bd2df9a0
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 22 20:03:15 2010 +0400
s4 python: Add functions to samdb to manipulate version of replPropertyMetaData attribute
This change contains also helpers for attribute id to attribute oid
conversion and from attribute id to attribute name.
It brings also unit tests
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 6a0856da9cc075acaa7fcb6bad614f8f403df9c7
Author: Matthieu Patou <mat at matws.net>
Date: Wed Jun 16 18:47:18 2010 +0400
s4 dsdb: Use the changereplmetadata control
This control allow to specify the replPropertyMetaData attribute to
be specified on modify request. It can be used for very specific needs
to tweak the content of the replication data.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit d861ebbd8167cf6da6d7565799dbc5267adf6bae
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 22 19:56:37 2010 +0400
s4 dsdb: create a new control: changereplmetadata
This control is designed to allow replmetadata to be specified
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit b67a71f00bb84f14f7568d0afe143843d31a0a45
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 21 10:55:18 2010 +0400
ldb: allow ldb_sequence_number to be called in python
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 0496af8341b08ad2b8ceb42892ddde06af279c52
Author: Matthieu Patou <mat at matws.net>
Date: Sun Jul 4 16:39:17 2010 +0400
s4: Unit test update_machine_account_password through kinit
This patch is for testing the chgdcpass script which is mostly a call to
update_machine_account_password.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 7ea70f86ac3a34d84082fed8b5f80ec1b46893bf
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 28 13:49:08 2010 +0400
s4: Add a simple script to change dc password
This script will mostly be used by unit test (blackbox type) to test the
change of the dc password
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit fd2eb0dfd092e00408f206e6fe7ff302ccd27a10
Author: Matthieu Patou <mat at matws.net>
Date: Sun Jul 4 16:38:54 2010 +0400
s4 provision: move update_machine_account_password to helpers
This is to allow reuse of this function and also unit tests
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit ff93d58b60458678436f2f983803705020537991
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 15 10:36:40 2010 +0200
s3: Fix crashes in the printing code
create_conn_struct did not create the conn->sconn!=NULL assumption we now
depend on. Thanks to Andreas Schneider for testing!
commit 23ad6919a1e5f16d02e22adcf36ea7f039a9eeea
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 08:57:47 2010 -0400
s3-dcerpc: Break memory hierarchy for shared structure
Handles are shared among multiple pipes_struct. We cannot allocate
them on any specific pipes_struct or it will vanish for all others
as soon as that pipes_struct is freed, leaving back dangling
pointers.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 0ab8e8be62bcbb1f6441f745736fcee7cbd559eb
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 08:57:47 2010 -0400
s3-dcerpc: Break memory hierarchy for shared structure
Handles are shared among multiple pipes_struct. We cannot allocate
them on any specific pipes_struct or it will vanish for all others
as soon as that pipes_struct is freed, leaving back dangling
pointers.
commit d35e9008a78ed8303dad97296455faf6d0302805
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Jul 14 14:44:46 2010 +0300
s4: Added acl search tests for anonymous connection.
The tests make sure that we comply with dsHeuristics setting and
restrict anonymous access to rootDSE. They will be enabled when the
implementation is pushed. tests are verified against win2k8.
commit e30aa4566646e137c98bd53e4e2fda8c2d458595
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 14 12:35:39 2010 +0200
s3-dcerpc: fix crash bug in error path of process_complete_pdu().
Guenther
commit ee56f74cae1d7387465f966dbe751398eaf01f10
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Jul 14 10:30:40 2010 +0300
Fixed system_session_anon to actually make an anonymous session
It seems that because the flag is false, this always used the supplied credentials
rhather than establish anonymous connection.
commit 0d95cee58f80e46636fa4b826d248c9ce9983c9b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 12 14:26:34 2010 +1000
s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS
This fixes a bug where register_existing_vuid() could be called with a
NULL server_info if the alloction failed.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 1debe30689e75023fab44028ef6942a692e37e95
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 12 14:25:28 2010 +1000
s3:smbd Give the kerberos session key a parent
Nothing will free this, so this prevents a memory leak.
Andrew Bartlett
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 39d1a525d1bb658bd0a666c3f630a669b5399ef1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 12 14:21:34 2010 +1000
s3:smbd Fix segfault if register_existing_vuid() fails
The register_existing_vuid() call will handle both the ntlmssp_end and
vuid invalidation internally, so we don't want to do it again.
Andrew Bartlett
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit bfdd85d4a592fcf95d9cea4f63d86330df62ac58
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 14 01:32:02 2010 +0200
s3-selftest: enable RPC-BIND against s3.
Guenther
commit 595c5a2498d0c71731c9d5cee0bfd53746350b9d
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 14 01:31:12 2010 +0200
s4-smbtorture: add very simple RPC-BIND testsuite.
Guenther
commit 14cf257969a1cd793dd69214a6d255722a8a5499
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 13 23:57:07 2010 +0200
s4-smbtorture: rename rpc/bind.c to rpc/multi_bind.c.
Guenther
commit 7dad3251e3a2e672441e8306f5a015dc32019657
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 13 23:35:25 2010 +0200
s3-libnet: add missing header file, sorry.
Guenther
commit 80b47fcb0a73fb97a1b918173a61c55831239a0a
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 2 00:14:04 2010 +0200
s3-libnet: better separate headers.
Guenther
commit f85167a161b078b0ffa23598a4a548fb2fd54cbf
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jul 13 15:37:13 2010 +0200
s3-winbind: Don't cache queries to builtin and own sam domain.
commit 57ebc8af8061e1a81a46300154ac6c4d489b302a
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 7 14:27:04 2010 +0200
s3-winbind: Set status before we leave in some msrpc functions.
commit 5bdb8b472ce9c8072d4ffade4075f9ec17ae3819
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 13 09:30:35 2010 -0700
Revert "Remove the global char *LastDir."
Volker pointed out I'd missed the "last directory" cache
part of this code. Return us to caching the directory we're
in (reduces sys call load).
Mea maxima culpa.
Jeremy.
This reverts commit 2f30aea3324f32f9b8555e961256fc1280da2871.
commit 53e1586e2a2c32ad57524343de81f9cff5882b48
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 13 17:07:49 2010 +0200
s3-waf: fix the build.
Guenther
commit 0e31a3af9457ff425efc19f952a4a9d07211e068
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 13 16:45:52 2010 +0200
s3-ldb: fix build warning.
Guenther
commit 0b2d965e4bd7ccc694ddff2342936c5c7d5dd9e5
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Jul 13 17:15:54 2010 +0300
s4: Reorganized dsHeuristics reset so the code can be reused
Moved the setting of dsHeuristics to a method as soon we will have to set other
values as well in different tests
commit 0c93b7dff7600074977bb4504169488b090f1d46
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 17:49:06 2010 -0400
s3-dcerpc: Remove unused functions and headers
Signed-off-by: Günther Deschner <gd at samba.org>
commit bc6a3e0030f262d9182b241d09df403483c1bf03
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 17:35:02 2010 -0400
s3-dcerpc: Use dcerpc_push_ncacn_packet() in api_pipe_alter_context()
Signed-off-by: Günther Deschner <gd at samba.org>
commit 3ba93a986faa8cc3c7d6deaa753573ae6c654cea
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 17:07:19 2010 -0400
s3-dcerpc: Use dcerpc_push_dcerpc_auth() for spnego auth continuations.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 70500734f9840eaf77f3077e1e64498692af2323
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 11:48:22 2010 -0400
s3-dceprc: Use dcerpc_push_ncacn_packet() in api_pipe_bind_req()
Signed-off-by: Günther Deschner <gd at samba.org>
commit f6648c500b79b0575ccff7b9057c4006c21acadd
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 11:15:40 2010 -0400
s3-dcerpc: Use a DATA_BLOB in bind processing and avoid one mem copy
Also move dcerpc_push_dcerpc_auth() invocation in api_pipe_bind_req()
to simplify the workflow.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8213bba892c419022efdb3d800647ef3bcf51388
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 10:47:32 2010 -0400
s3-dcerpc: Rearrange api_pipe_bind_req() to do checks before allocating memory
Signed-off-by: Günther Deschner <gd at samba.org>
commit 87605e2030262bc24b59468fe4b5837e8ff584b0
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 12:18:13 2010 -0400
s3-dcerpc: fix dcerpc_push_ncacn_packet, pass arg by address
There is no need to copy the whole structure twice by passing it in by value.
Signed-off-by: Günther Deschner <gd at samba.org>
commit fe9036cf5bd8aa775a0419be8effae257d6f97f2
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 10:37:07 2010 -0400
s3-dcerpc: pass the packet to setup_bind_nack()
Allows to not rely on p->call_id but use the value directly from the request
packet header.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 272704e8c24cff706c5ce38567f7ab35b335cf92
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 10 18:53:36 2010 -0400
s3-dceprc: Add debug messages
Signed-off-by: Günther Deschner <gd at samba.org>
commit 4ba89230ae03d00f9c6a0882df1361c5369b77a9
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 10 17:05:58 2010 -0400
s3-dcerpc: Remove unused members
Signed-off-by: Günther Deschner <gd at samba.org>
commit 29a3142be856b010ccebb153afad0bf6499d5b56
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 10 17:05:24 2010 -0400
s3-dcerpc: Remove unused functions
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8e235df2de96954af0bd8dc1cc464f6d9d834372
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 19:34:34 2010 -0400
s3-dcerpc: Use dcerpc_pull_ncacn_packet() to unmarshall dceprc requests
Signed-off-by: Günther Deschner <gd at samba.org>
commit e340aa40d19cb03d9c9b5d6e64ac073aeee4b759
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 18:23:49 2010 -0400
dcerpc: move dcerpc_pull_auth_trailer into a the common dcerpc_util.c file
Signed-off-by: Günther Deschner <gd at samba.org>
commit 77fb3649cede61407ba5df008ceaa49d32ef71d7
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 19:35:22 2010 -0400
s3-dceprc: Store opnum in its own variable
Signed-off-by: Günther Deschner <gd at samba.org>
commit a138b3d31ef9952dc59630f478264f74091f613d
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 16:28:52 2010 -0400
s3-dceprc use a DATA_BLOB to hold the curren pdu in pipes_struct
Signed-off-by: Günther Deschner <gd at samba.org>
commit d078b54b22061be808c07a40e0e55dd00591cc69
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 15:46:43 2010 -0400
s3-dcerpc: use dceprc_push_ncacn_packet_header in create_next_pdu_noauth()
Signed-off-by: Günther Deschner <gd at samba.org>
commit 53e9c262712ffe5b1fa60ca53a1e5b407d1ebea8
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 15:38:03 2010 -0400
s3-dcerpc: Use dcerpc_push_ncacn_packet_header() in create_next_pdu_schannel()
Signed-off-by: Günther Deschner <gd at samba.org>
commit 98913d8f44b48da345e115847efdbefbe5536e5f
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 15:33:03 2010 -0400
s3-dcerpc: use dcerpc_push_ncacn_packet_header() in create_next_pdu_ntlmssp()
Signed-off-by: Günther Deschner <gd at samba.org>
commit 77699c777e78a1cd8ed8bc9c92cfeebe46997f70
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 15:32:25 2010 -0400
sr-dcerpc: add dcerpc_push_ncacn_packet_header()
Signed-off-by: Günther Deschner <gd at samba.org>
commit aca330a2c5f4a98a050af1a991f7b4eae1a31b0c
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 14:23:59 2010 -0400
s3-dcerpc delay rpc header unmarshalling
Use dcerpc_get_frag_length() to get the whole pdu first
Signed-off-by: Günther Deschner <gd at samba.org>
commit 43064a74a3ee9f7e4a269ceddb7fffb80dea514f
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 20:25:50 2010 -0400
s3-dcerpc: Remove unused headers
Signed-off-by: Günther Deschner <gd at samba.org>
commit cf664b73a4682a09a8e03b69e65aa5f7b18ff13d
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 19:17:13 2010 -0400
s3-dcerpc: Use dcerpc_set_frag_length()
Automatically calculate the fragment length where possible.
Signed-off-by: Günther Deschner <gd at samba.org>
commit ea66d8e4a5cf44924cc59063a023b7fc158629f9
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 1 22:37:38 2009 +0200
s3-dcerpc: link against ../librpc/rpc/dcerpc_util.c
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit 716f9d6847a867744f7456eacf45abacb6eb1963
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 1 22:37:09 2009 +0200
s4-dcerpc: move some util functions up to main librpc directory.
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit 229791382989c5005ec8e7c0a6d3b84745d37cbe
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 10 16:55:37 2010 -0400
s3-dcerpc: Remove unused prototype
Signed-off-by: Günther Deschner <gd at samba.org>
commit 25d487bebfdc771b1e0ab510ecbe4a8601f8fc98
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 12 18:57:32 2010 -0400
s3-dcerpc: Fix ntlmssp sign/seal.
Header calculation was misplaced.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 6555307aa11741171258541da2c13ce25d9e3f55
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 12 16:27:22 2010 -0400
s3-dceprc: Fix auth_length in auth3 response
Signed-off-by: Günther Deschner <gd at samba.org>
commit 1b51ddd37085e6dcc2fbe5056e902270d1efb076
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 12 15:09:42 2010 -0400
s3-dcerpc: Fix miscalculation of buffer start address
This was breaking schannel
commit 77a3858f2f25e84e8e23d82097be710195a250d5
Author: Volker Lendecke <vl at samba.org>
Date: Sat May 22 23:44:01 2010 +0200
tsocket: Fix some unreachable code
commit c186f92437a918a256b84be84dcf6de569f0cc20
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 11 17:30:53 2010 +0200
s3: [ug]id_to_unix_... can not fail
Remove some silly failure checks
commit c6a6d884f98aead1f449bc94aee19c3069efca27
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 14:15:08 2010 +0200
README.Coding: fix typos
Thanks to Michael Wood <esiotrot at gmail.com> for the review.
metze
commit 1c2ff4563d0fd7e1d00117eef051f5554daaba14
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 10:06:17 2010 +0200
README.Coding: add examples for good and bad comments
metze
commit 23f810041bdd990a2dfabb5fcb076a269809ce7a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 9 13:08:07 2010 +0200
s4:provision: remove --policy-guid and --policy-guid-dc cmdline options
metze
commit 800c7af0c9f78ce81d40270bf9a385235869e0d7
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jun 25 13:26:06 2010 +0200
s4:provision: also use fixed GUID names of the default group policies for domain and domain controllers in tests
metze
commit f16007430a683c0e43e1aca13f59c55dde70dfac
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jul 9 00:09:49 2010 +0400
s4 provision: use correct GUID for default policies
The value of GUID for policy is not random for default policies, it is
described here ("How Core Group Policy Works"):
http://technet.microsoft.com/en-us/library/cc784268%28WS.10%29.aspx
at paragraph System\Policies Container.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e962e7e9562f26b1ea6854b1a34f0237c3abf222
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jul 9 20:29:27 2010 +0400
s4 unittests: remove the provision directory before (re)generating
commit cad04dabbb89b024628ab3ec9bf2772d2fbe5182
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jul 2 23:52:33 2010 +0400
s4 net: Add spn module to list/add/remove spn on objects
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 22dfb16d73667d7adbe28e85d880c44a5e9f9344
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:25:57 2010 +0200
testprogs/blackbox/subunit.sh: initialize failed to 0
This is a short-term workarround for broken scripts,
which use "exit $failed", without initializing failed.
We need a discussion on the mailing list how to handle this
in a nicer way.
This should fix some random failures in the blackbox tests.
metze
commit 80f9ad4074889bd5acec74316c427ec2b3963006
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:09:28 2010 +0200
s4:winbind: let WBSRV_SAMBA3_SET_STRING() initialize the whole buffer
We should not send uninitialized bytes to the winbind pipe,
this makes also makes valgrind very unhappy.
metze
commit 751a26214e3d88d2d1bd89787524e7a49c30037f
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:08:57 2010 +0200
s4:wb_cmd_list_groups: also handle NT_STATUS_NO_MORE_ENTRIES
metze
commit c7a30c6b173cb2720bcb7d5eefe00899f629b91e
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:08:31 2010 +0200
s4:wb_cmd_list_users: also handle NT_STATUS_NO_MORE_ENTRIES
metze
commit 1ea4215e5681ccef921bbf77bb1af79fc1a82b77
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:06:44 2010 +0200
s4:libnet_GroupList: allocate children strings on the correct talloc parent
Otherwise the _recv() function won't move the children strings to the
callers memory context and let the callers crash.
metze
commit 35c554bef02e9acfe9cbec12d1f4ebc1067bedd4
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:04:43 2010 +0200
s4:libnet_UserList: allocate children strings on the correct talloc parent
Otherwise the _recv() function won't move the children strings to the
callers memory context and let the callers crash.
metze
commit 85f73840b0c64ef8082c8a9665c3cc3caa176c1d
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:14:15 2010 +0200
s4:buildtools: add 'make show_waf_options'
metze
commit c48ff4c6a937924f16bc37251c74b753fbe1f5c1
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:10:52 2010 +0200
s4:buildtools: make it possible to use advanced test options via the make waf wrapper
You can to do thinks like this now:
make test TEST_OPTIONS="--valgrind-server" TESTS=wbinfo
metze
commit c0aa55d55033e0dfb0ee0933b137dba38de2fd16
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Thu Jul 8 16:30:12 2010 -0400
s3: Cleanup of the initial SMB2 counters patch.
This reorganizes smbd_smb2_request_dispatch to have a central exit point,
and use the normal profiling macros.
Signed-off-by: Jeremy Allison <jra at samba.org>
commit 1caa8b06f781758943e31c367e70014de1d04380
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 9 16:27:34 2010 +0200
s4:drepl_notify: hide some bugs from the make test output
It's useless to get messages like this every few seconds:
dreplsrv_notify: Failed to send DsReplicaSync to
edbf4745-2966-49a7-8653-99200f1c9430._msdcs.samba2003.example.com for
CN=Configuration,DC=samba2003,DC=example,DC=com -
NT_STATUS_OBJECT_NAME_NOT_FOUND : WERR_BADFILE
We have a non bug regarding non-linked DN attributes
and changes of the target DN.
metze
commit 02a627e71995dc1b0d75165b0772da332b67ba7e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 9 12:52:11 2010 +0200
s4:drsuapi: don't return all linked attributes at the same time
Windows gives them in chunks, but I don't know the correct
rule to calculate the chunk size.
For now I'll use 1500 as the max size.
Windows isn't happy when it gets ~ 100000 linked attributes in one
response. It corrupts its directory index and later moves some objects
to the LostAndFound folder.
metze
commit 5b5ee73ece4d74747234115de08be19b4a9ae62a
Author: Andreas Schneider <asn at cynapses.org>
Date: Fri Jul 9 15:42:34 2010 +0200
s3-build: Add a gdbtestenv environment for Samba3.
This will open 3 xterms; smbd with gdb, winbind with gdb and a window to
run client commands.
Example: make gdbtestenv SMBD_OPTIONS="-d2"
commit 9e928995f0289fcf56bfa60a7541a829e2d67a38
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 9 09:24:30 2010 +0200
s4:selftest: run RPC-SAMR-LARGE-DC against the vampire_dc to test the rid alloc code
metze
commit de632de6ef10cba5fd2591f1d01ab447dae595c8
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 9 09:23:04 2010 +0200
selftest/Samba4: set dreplsrv:periodic_startup_interval = 0
metze
commit 538bb9b3ec2d3250bb97fe6f6f01e6917399fd01
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 16:20:11 2010 +0200
s4:dsdb/repl: expose drsuapi_DsExtendedError to the caller (e.g. the ridalloc client)
metze
commit 49deed5a77af0a774cf186c2332416fbf6bba05b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 16:18:21 2010 +0200
s4:drepl_out_helpers: don't return NT_STATUS_OK, if an extended operation doesn't return success
metze
commit 658a0f9ef84aa16c270d715283f38b9bb9e683c1
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 15:38:16 2010 +0200
s4:drepl_ridalloc: only ask the rid master for a new rid pool if we need to.
if we are at least half-exhausted then ask for a new pool.
This fixes a bug where we're sending unintialized alloc_pool
variable as exop->fsmo_info to the rid master and get back
DRSUAPI_EXOP_ERR_PARAM_ERROR.
metze
commit afba6204a31908396f4bebb7b5885e48670bda73
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 15:14:59 2010 +0200
s4:dsdb:ridalloc: use ridalloc_ridset_values infrastructure in ridalloc_allocate_rid_pool_fsmo()
metze
commit cd8d8dfe1445879d91d922abef83dbea8f1eed26
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 21:38:28 2010 +0200
s4:dsdb:ridalloc: use ridalloc_ridset_values infrastructure in ridalloc_allocate_rid()
metze
commit 3b8c9276dcfa349013450c18d09bfd1b78e6224e
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 15:10:07 2010 +0200
s4:dsdb:ridalloc: use ridalloc_ridset_values infrastructure in ridalloc_create_rid_set_ntds()
metze
commit 12d26d59bddaa7d3469b4e9ecab4146a9ea67180
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 12:32:33 2010 +0200
s4:dsdb:ridalloc: add ridalloc_ridset_values infrastructure
metze
commit bbed1fdfcdcc0d270bb861bf06b509a1655a13a2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 12:34:15 2010 +0200
s4:dsdb:ridalloc: use dsdb_module_constrainted_update_uint64() to update rIDAvailablePool
metze
commit ad173331148a9fdd793cc5fa4776bdfd53bb4727
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 12:06:39 2010 +0200
s4:dsdb:ridalloc.c: fix C++ warning
metze
commit 217177a4df55439cec1d2563ab1af8fbdfe4a991
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 12:02:42 2010 +0200
s4:dsdb: add dsdb_module_constrainted_update_uint32/64() wrapper functions
metze
commit 65ca5a3542cb1ccb07da0831c61c043f4632ffa8
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 12:01:44 2010 +0200
s4:dsdb: add dsdb_msg_constrainted_update_uint32/64() wrapper functions
metze
commit 1d6f321a918699906cabbe3ee2970bd0a635180b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 11:32:59 2010 +0200
s4:dsdb: add dsdb_module_constrainted_update_int32/64() functions
metze
commit 388e955f28a578e5421182c0aa3afe9da27a6c34
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 11:32:26 2010 +0200
s4:dsdb: add dsdb_msg_constrainted_update_int32/64() functions
metze
commit 514c59656152742c0c73ce65e0778f000cdd1437
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jul 8 22:04:23 2010 +0200
ldb:common/ldb_dn.c - "ldb_dn_get_parent" - no need to manipulate the real DN
Since the parent DN is a duplication of the passed DN parameter.
commit 1c0cb365a895ce670fc32db3380cee7f129ce95b
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jul 7 21:50:23 2010 +0200
s3: Optimize the write cache for sequential writes
In case of the one-byte allocating writes we don't work work optimally because
we start the write cache at the current offset. This patch tries to avoid this
case.
commit 6a0d3665e2a2cd9cbae4096c82418f9b0406161f
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Jul 8 21:04:13 2010 +0300
s4: fix warning: unused variable âiâ
commit 966641b9fed90a34beae32fff091edb983ca6359
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 18:38:25 2010 -0400
s3-dcerpc: Use dcerpc_pull_dcerpc_auth in api_pipe_bind_auth3()
commit 207600991c2e42309672ab7d3c9731c5c77696d1
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 16:02:08 2010 -0400
s3-dcerpc: Use dcerpc_auth in api_pipe_bind_req()
commit 1796767a36fcd880139eb40176c7bcb34fd4ec90
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 15:18:08 2010 -0400
s3-dcerpc: make dcerpc_pull_dcerpc_auth() public
commit a054832f4fda4a158c1d0bf6fa2646bd5835aa2e
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 11:36:03 2010 -0400
s3-dcerpc: make dceprc_push_dcerpc_auth public
commit aca60c29e7f890524ebd3a896a3e4f591b5830f6
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 15:16:32 2010 -0400
s3-dcerpc: use dcerpc_pull_dcerpc_auth() in rpc_finish_spnego_ntlmssp_bind_send()
commit 559113596478a5ac8f5227bc25a3720db56314fe
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 15:04:40 2010 -0400
s3-dcerpc: use dcerpc_push_dcerpc_auth in add_schannel_auth_footer()
commit 1febe9de6b6137d575ac1b1263e7d1f7a29cea1f
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 14:55:20 2010 -0400
s3-dcerpc: use dcerpc_push_dcerpc_auth() in add_ntlmssp_auth_footer()
commit c609e84170486f183ad0a7a13c87c3b7c7bc490d
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 14:00:54 2010 -0400
s3-dcerpc: use dcerpc_pull_dcerpc_auth() in cli_pipe_verify_schannel()
commit 91cb2aed54cb7fe1f5e5c6359b0ef505f689b172
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 13:30:50 2010 -0400
s3-dcerpc: use dcerpc_push_ncacn_packet() in create_rpc_bind_auth3()
commit 7e134f179fe43bdc2e6d94262327199367a038a8
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 8 15:18:30 2010 -0700
Change one more use of "struct rpc_hdr_info" -> "struct ncacn_packet_header"
Jeremy
commit 6b7e436871ec7cac1d08c830efaab95d8bb3afa3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jul 8 14:51:49 2010 +0200
s4:acl LDB module - password attributes - check also the "dBCSPwd" attribute
It's also a possible password change/set attribute candidate.
commit 921308f1e830e0443bb49b6d4eb19ae95357a16e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jul 7 18:01:34 2010 +0200
s4:acl LDB module - move a "mem_ctx" creation to the place where it is actually checked
Memory allocations and their result checks should be as tight as possible.
commit 38896f3362073680da82259485dc1031e08f4d6c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jul 7 19:03:13 2010 +0200
s4:drsuapi RPC server - "result_site_name" - fix variable denomination
commit 32a2bbb44b58a8a3da6a6b70d5d21a21c1b68d10
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jul 8 09:36:30 2010 +0200
s4:samdb.py - "setpassword" - performs password sets using the "unicodePwd" attribute
This does work per default on each AD-compatible DC. "userPassword" support on
Windows however has to be activated explicitly by the "dSHeuristics".
commit 61be498adbdcefb3d2d79bc26019ede01411178f
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jul 5 23:41:13 2010 +0400
s4 upgradeprovision: For SID > 1000 do not copy them, let the system regenerated a new one
This should avoid colliion with newly added objects that use the same
SID as existing users in the upgraded provision.
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 690ed0c5e2c61584daa2acb5dbfb680ecee83e0f
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 2 10:17:44 2010 +0200
s3-rpc: when using rpc_pipe_open_internal, make sure to go through NDR.
Otherwise a lot of information that is usually generated in the ndr_push remains
in an uninitialized state.
Guenther
commit 309ad2b08f2964c30fd71af027b7c94f5d761e4a
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 8 15:58:12 2010 +0200
s4-smbtorture: skip wbcChangeUserPassword test when no oldpass is set in environment.
Guenther
commit 10c60f237223f805566a66293418bd1cf04a8f5e
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Jul 8 15:38:16 2010 +0300
Added a test to prove by default users can change each other's pass if the old is known
commit 328f3ca103e8cd8d73e591dccce6d4dd0fc30b48
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 8 13:32:48 2010 +0200
s3: Slightly simplify make_server_info_pw
commit b595469bf7d6c1171d694366686d99de031c18b9
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 8 11:46:48 2010 +0200
s3-rpcclient: add another usage display to sign and seal commands.
Guenther
commit b0d69a857c14cec052f8c109fdf47f493c8d35c2
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 8 10:59:16 2010 +0200
Revert "s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS."
This reverts commit 3587bb63e21c3f033a17bb493dceb64b05fe85d6.
commit 41fc0dd0eff225329fa78fad65953256c986742a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jul 8 16:42:39 2010 +1000
s4-net: the net binary depends on the auth subsystem
This helps with the OpenChange build
commit 7571c15af93f638a78d69378ce7c793b0e90dc4e
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 01:48:05 2010 -0400
s3:dcerpc Remove unused structure and functions
commit 7236f8cda93ccfbbbac74b9392bfb5dc93268bcb
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 01:14:16 2010 -0400
s3:dcerpc Use prs_parse_dcerpc_bind
commit 0d9b63663f888bafbc7451845a79dabf9ceadc0f
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 01:13:57 2010 -0400
s3:dcerpc Add prs_parse_dcerpc_bind
commit ae526514a936b46112845480646402fdd385d7a2
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 7 17:14:27 2010 -0400
s3:rpc user idl define dcerpc_ctx_list instead of custom RPC_CONTEXT
commit d57ecf920cfb0c1a03734f120e888d34bd618f2d
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 2 01:05:55 2009 +0200
s3-dcerpc: use dcerpc_pull_ncacn_packet() for rpc_pipe_bind_step_one_done().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 5351a8919dcf705061242813186dfd29e03e72a0
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 2 00:35:19 2009 +0200
s3-dcerpc: use dcerpc_push_ncacn_packet() in push_next_frag().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit e8e2fa586b81ddfe45e6751fafcce85842423eed
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 2 00:34:42 2009 +0200
s3-dcerpc: use dcerpc_pull_ncacn_packet() in cli_pipe_validate_current_pdu().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit dbeaa5efc7ccbf52fd54e18c0cf7683a8fbc2cd4
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 2 00:33:52 2009 +0200
s3-dcerpc: use dcerpc_pull_dcerpc_auth() in cli_pipe_verify_ntlmssp().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 49c529349285a79f13b0e1f261f815c4beb62646
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 1 23:39:20 2009 +0200
s3-dcerpc: add dcerpc_pull_dcerpc_auth().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit fe9ce4b60c60273d67b9616f7dcef2020136ddac
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 1 23:18:25 2009 +0200
s3-dcerpc: use struct ncacn_packet_header instead of struct rpc_hdr_info.
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 77e3fffd09e5548ded472bed25109ddda2d45b30
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 1 23:07:03 2009 +0200
s3-dcerpc: add dcerpc_pull_ncacn_packet_header().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 389a6774264b273fa210dcd30669d58a5c0db615
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 1 23:04:23 2009 +0200
dcerpc: add ncacn_packet_header to IDL.
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit eeb034e72a0e3ed167ffe3c08162311a7c5d2fdf
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 24 23:56:42 2009 +0100
s3-dcerpc: use dcerpc_push_dcerpc_auth() for all authenticated binds.
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 4b56e6e95b7176921dc1bb28c344975074f4f17d
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 24 23:50:32 2009 +0100
s3-dcerpc: add dcerpc_push_schannel_bind().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 0f02dda9154aeeda20d7bb3ca88bbaf89174e3ce
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 24 19:09:29 2009 +0100
s3-dcerpc: add dcerpc_push_dcerpc_auth().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 257f5145b571960fce0e12ce0cd04dbd0ac83f6a
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 24 20:29:59 2009 +0100
s3-dcerpc: remove unused init_rpc_hdr_rb and init_rpc_context.
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 5aabd9af8e2abe0eafcafbba60a10ce9102d77c4
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 24 18:21:18 2009 +0100
s3-dcerpc: use dcerpc_push_ncacn_packet() for create_bind_or_alt_ctx_internal().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit dc6e0cedfcdd7ca0d9b7a13ecbc3e8520ddcc8f0
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 23 12:45:09 2009 +0100
s3-dcerpc: remove unused smb_io_rpc_hdr_fault.
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit d6de820480ce5db4b786a66886a5e255344acd43
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 23 12:00:40 2009 +0100
s3-dcerpc: use dcerpc_pull_ncacn_packet() for pulling a RPC fault pdu.
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit cb9eddb31248f0c7b0ffcff642154ca4b0230276
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 23 12:00:12 2009 +0100
s3-dcerpc: add dcerpc_pull_ncacn_packet().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 0cbe0f3c5fab1da968486269d65c02ffa44e54ca
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 23 11:05:21 2009 +0100
s3-dcerpc: use dcerpc_push_ncacn_packet() for setup_fault_pdu().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 8fdc02aa63d1a93de7e5008db4efb54e197afd17
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 21 00:11:15 2009 +0100
s3-dcerpc: use dcerpc_push_ncacn_packet() for setup_bind_nak().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 3d9a12dca7e00e133702ea1d8d31e50eceac9039
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 23 11:04:34 2009 +0100
s3-dcerpc: add dcerpc_push_ncacn_packet().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit f0b918473db75ff389a7d2e3bf4a069b8b30d141
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 7 23:43:47 2010 -0400
s3:winbindd_samr Do not use static contexts
It is a very bad idea to use a static context within the open function.
Use the memory hierarchy to keep track of a client connection.
commit 90b1a1d29623c6c2abc86e2571b535a7832dd376
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Thu Jul 1 17:51:41 2010 -0400
s3: Add SMB2 performance counters.
A performance counter was added for every base type of SMB2 op.
commit 609b8656910eccbb409b58050c306798be22a078
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 04:06:23 2010 +0300
s4-dsdb/util: Reorder DSDB_FLAG_* checks
On good thing about having more clear function interfaces
(and forcing callers to specify clearly what they want)
is that now I can execute following search:
git grep DSDB_FLAG_NEXT_MODULE | wc -l
This showed that DSDB_FLAG_NEXT_MODULE flag is about 6 times
more frequently used than DSDB_FLAG_OWN_MODULE.
So this should reduce branch prediction by six times
in this part of the code, right :)
commit 0c4bbb7106cc2d49052eb85f995dc991b578d885
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:31:17 2010 +0300
s4-dsdb: Implement module switching in dsdb_module_search_dn()
This allows caller to choose from where to start DN search
commit 62a0f11dcbc0dbc7dbb78442d933c0fccee2282b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:26:03 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/acl.c Use DSDB_FLAG_NEXT_MODULE flag
commit 02f0c6d1ebaee211e1749c14bb351c1eaebf3948
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:25:41 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/linked_attributes.c Use DSDB_FLAG_NEXT_MODULE flag
commit 0d2116a42396546eb0de11cac6794d257e5a224e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:25:28 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/naming_fsmo.c Use DSDB_FLAG_NEXT_MODULE flag
commit b18ab826043c16adf5aafdb89e4a57be90ff8acf
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:25:11 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/operational.c Use DSDB_FLAG_NEXT_MODULE flag
commit 7694b1964f0e51c5f312ef16b9f4d07d0c273bb2
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:24:59 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/partition_init.c Use DSDB_FLAG_NEXT_MODULE flag
commit b62715964a6060c002f0d6ae4ef42d8e296fc582
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:24:15 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/pdc_fsmo.c Use DSDB_FLAG_NEXT_MODULE flag
commit 2ee14378c3b9e46a71b50a37a18ae0bb2705f131
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:23:58 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/repl_meta_data.c Use DSDB_FLAG_NEXT_MODULE flag
commit d7bcac5a9f39a325d984269f7e8651870dcb82ab
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:23:43 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/ridalloc.c Use DSDB_FLAG_NEXT_MODULE flag
commit dc720739ab8d966c6d7d5064281740b6b35b77bf
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:23:21 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/samba_dsdb.c Use DSDB_FLAG_NEXT_MODULE flag
commit 8c7a6a8dc77fa239aca2283583d3fc858cfb8505
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:22:28 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/schema_load.c Use DSDB_FLAG_NEXT_MODULE flag
commit 64c31b7e0ae2085658ad8f5df7791b0343239276
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:22:09 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/util.c Use DSDB_FLAG_NEXT_MODULE flag
commit 76a084feeec208aff2bbfaa45c134592c1719600
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 17:01:09 2010 +0200
s3-winbindd: Fix child logfile handling which broke with c67cff0372.
Andreas, please check.
Guenther
commit 0da5e153787b461ea9ba5ac5353a0046a5a26e07
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 6 17:02:33 2010 +0200
s3-winbindd: route samr chgpwd ops for own domain over internal samr pipe as well.
Guenther
commit 519d17e451399f09f154dc581a22e74162ff7807
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 12:40:41 2010 +0200
s3-rpc_misc: remove unused UNISTR.
Guenther
commit 7e1fa8d06774de4fa103118006309b2d1d63069b
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 12:39:46 2010 +0200
s3-rpc_parse: remove finally unused prs_unistr().
Guenther
commit 8def236f187dbbb804a142124bc5042d0cc89854
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 12:36:33 2010 +0200
s3-libgpo: remove handmarshalled PReg parser from registry CSE.
Guenther
commit 5f92bd863c1f2b8b45aae8155a215366f380a0cc
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 02:45:01 2010 +0200
s3-registry: add preg.idl.
Guenther
commit f706d1a96e0cc80000c6b87c90becfcbfe26d314
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 14:56:14 2010 +0200
s3-rpc_parse: fix c++ buildwarning in prs_init().
Guenther
commit ca460113ea28ca82429845c2b3977989175f8ada
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 01:50:56 2010 +0200
s3-notify: use autogenerated FILE_NOTIFY_INFORMATION marshalling in smbd.
Guenther
commit 6ab9eaf90fa732153dc500087b6f7dcea2a94465
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 01:50:18 2010 +0200
s3-notify: add MS-CIFS 2.2.7.4.2 FILE_NOTIFY_INFORMATION to IDL.
Guenther
commit 2c1279f454124c9921bce7005b3bc8296c9fc4aa
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 13:40:48 2010 +0200
s3-build: some makefile cosmetics.
Guenther
commit 2356496ac6490aa82d37b8d9436d6d40979d2e80
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 13:44:42 2010 +0200
s3-build: add IDL_FILES variable.
Guenther
commit 87df785a68c1c8043b345b71c98764ef36b76179
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Jul 6 13:21:54 2010 +1000
s4-dsdb: use ldb_operr() in the dsdb code
this replaces "return LDB_ERR_OPERATIONS_ERROR" with "return ldb_operr(ldb)"
in places in the dsdb code where we don't already explicitly set an
error string. This should make is much easier to track down dsdb
module bugs that result in an operations error.
commit fc68558ab937859a91214e8675d53c0afaf3c4e6
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Jul 6 13:20:19 2010 +1000
s4-ldb: added ldb_error() and ldb_operr()
These will be used to help avoid the problem we have with hundreds of
places that do "return LDB_ERR_OPERATIONS_ERROR" without an
explanation. It is very difficult to track down ldb errors which don't
have any explanation.
By replacing "return LDB_ERR_OPERATIONS_ERROR;" with "return ldb_operr(ldb);"
we at least get a file:line message in the ldb error string. It isn't
an ideal error message, but it is much better than just "operations
error"
This change also makes ldb_oom() return the error code
(LDB_ERR_OPERATIONS_ERROR) so you can do:
return ldb_oom(ldb);
instead of:
ldb_oom(ldb);
return LDB_ERR_OPERATIONS_ERROR;
commit 0b6cebd60288b37f28176e24abeb20109dfd70e5
Author: Kai Blin <kai at samba.org>
Date: Fri Jul 2 22:35:28 2010 +0200
s3 build: Fix *netgrent prototype detection on opensolaris
commit 9c3a9824a9165e9d7cf362d4b8c6add8ad0cc983
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Jul 6 15:36:21 2010 +1000
s4-ldb: added support for simple binds on ldb_ldap backend
this uses the options[] array to pass in bindMech, bindID and
bindSecret. Currently only "simple" is supported.
commit 7f9153f7e8a3a39d23b6b9c1336031f769dce923
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Jul 6 15:35:16 2010 +1000
s4-ldb: added ldb_options_find()
ldb_options_find() allows backends to find options in the options[]
array passed to the connect operation.
This will be used by the ldb_ldap bind code
commit 85504ae6ff72204894ea7a856f0f36b44ad77fe2
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Mon Jun 28 16:06:33 2010 -0700
s4:libcli: Modify S4 client library to check for proper CN alignment
MS-CIFS 2.2.7.4.2 states that FILE_NOTIFY_INFORMATION structures in
change notify replies must be aligned to 4-byte boundaries.
This updates s4 client to check for this restriction and also adds a
torture test which should tickle a server into giving unaligned
structures if it doesn't follow the spec.
commit 00056e73c1cb54f5d6c10e63b70afc2c84e5883e
Author: Chere Zhou <chere.zhou at isilon.com>
Date: Mon Jul 5 17:18:35 2010 -0700
s3:smbd: Align change notify replies on 4-byte boundary
MS-CIFS section 2.2.7.4.2 states this is mandatory. WinXP clients
don't seem to care, but a Win7 client will send an immediate Close()
to the directory handle when receiving an incorrectly aligned
change notify response.
commit 502bddf7676b8061a877e7c83b647a64963c3efe
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jul 6 17:51:00 2010 +0200
s4:new_partition LDB module - fix an uninitalised variable warning
> [ 651/1946] Compiling dsdb/samdb/ldb_modules/new_partition.c
> ../dsdb/samdb/ldb_modules/new_partition.c: In function 'new_partition_add':
> ../dsdb/samdb/ldb_modules/new_partition.c:195: warning: 'down_req' may be used uninitialized in this function
The "down_req" variable isn't used anymore.
commit b03040c5a903e24a8216b9245f2925eb2205cd67
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jul 5 17:42:40 2010 +0200
s4:SAMR rpc server - "SetUserInfo" - fix the implementation of the expire flag
It has to consider the "password_expires" flag to known if the "pwdLastSet" has
to be updated or to be resetted.
commit 7f15ca4427ae07520a457fa8f19991f6e350205b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jul 5 15:54:21 2010 +0200
s4:SAMR rpc server - "QueryUserInfo" - send back the password expired flag on level 21
Taken from the s3 server code
commit 9c8135785ad7b2bee4a0d37470dc37fed04a6516
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jul 5 16:55:50 2010 +0200
s4:dsdb - samdb_result_force_password_change - also when "pwdLastSet" is "-1" we shouldn't force a password change
This value is set by the ADUC console.
commit 293d3eb545b04438a13313b06927469f928d6479
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 6 19:53:37 2010 +0200
s3-selftest: add "make testenv" target to Makefile.
Guenther
commit a679319192a50f8115c830ceabe33010d584e3c9
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 6 18:39:26 2010 +0200
s3:pdb_ldap: change LDAP password before samba password hashes
this way we can catch up with password change refuses from ldap password policy
overlays and abort the password change early.
Thanks to Andy Hanton <andyhanton at gmail.com> for the initial patch.
commit 44d8c8dbb721eadface3785cee135b2912ca00e7
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jul 6 14:56:50 2010 +0200
s3-winbind: Handle aliases in rpc_lookup_groupmem().
commit 11ae9aff971759f2b4658b294e9f1845500ecd4e
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 6 12:50:48 2010 +0200
s3-winbind: Fixed the winbind caching.
commit 66fc77e8863ef126317c1077628989e437827514
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jul 6 10:58:46 2010 +0200
s3-winbind: Use same format for all msrpc debug messages.
commit 2794c5ad24170c58d9d491e1f6cec1a58b82ad3f
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jul 6 10:53:01 2010 +0200
s3-winbind: Fixed debug messages of open_internal_lsa_pipe().
commit 9d23f8fbc5b80b0a2f34bbd1a1beef63cb06d3c1
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jul 6 15:33:50 2010 +0200
s3-winbind: Make sure that the policy handles are closed.
commit c5cd35658be8c473893f4aa230b38de667f12154
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jul 6 01:05:39 2010 +0200
s3-winbind: Make sure we close all policy handles in sam.
commit c67cff0372d987d13105b81a7625ff42a3ceac43
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jul 5 19:43:25 2010 +0200
s3-winbind: Create all logfiles in the same directory.
If log file is set in the config file, we should create the log files of
the winbind child processes in the same directory.
commit a56c6883661123ed7eb07f7e6f0e947714d1d575
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 6 16:55:14 2010 +0200
s3: Fix another aspect of bug 7262 and make paged results work again
commit 4efa1081aadc4de22bc1e8c51c41978464730f95
Author: Sumit Bose <sbose at redhat.com>
Date: Tue Jul 6 14:55:32 2010 -0400
s4:rpc_server/lsa/dcesrv_lsa.c - fix typo
Signed-off-by: Günther Deschner <gd at samba.org>
commit b4c3f72d445a5659971b0080ab1eba88695d2a0d
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 6 15:07:05 2010 +0200
s3: Fix a segfault in the RPC server
After converting the rpc infratructure to talloc, read_from_internal_pipe freed
the outdata too early. If the last fragment was read in two pieces (as
rpcclient does it), all the outdata was freed during the read of the first
piece of the read of the last fragment. Later read&x calls, trying to read the
rest of the last fragment stepped into p->out_data.frag with non-zero offset
when this was already freed.
commit 60a3cc850a27a14110541439c05387efb0312210
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 6 11:54:31 2010 +0200
s3: Fix another winbind crash
This is similar to 09a9cc3, this re-arranges winbindd_ads.c:query_user_list()
so that "ads" is not accessed anymore across a call to nss_get_info_cached()
call which can destroy it behind the scenes.
commit 1dcf0e917e99cadf7267566db2139c3dbfc0815a
Author: Günther Deschner <gd at samba.org>
Date: Mon Jul 5 17:34:19 2010 +0200
pidl: s3 server stubs: make sure LIBNDR_FLAG_BIGENDIAN is set when negotiated.
Guenther
commit d56cc23c6a31f10151420086bbead715fa911f6e
Author: Günther Deschner <gd at samba.org>
Date: Mon Jul 5 16:39:44 2010 +0200
s4-smbtorture: add my (C) to rap torture lib.
Guenther
commit a236bc4b334433eb743cb88a8a5f36c7d694681c
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 30 08:26:08 2010 +0200
s4:dsdb/password_hash: implement DSDB_CONTROL_BYPASS_PASSWORD_HASH_OID
metze
commit 6d7b9648e5bff20136dd4462313ce4c3cd502662
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 30 08:24:35 2010 +0200
s4:dsdb: allocate DSDB_CONTROL_BYPASS_PASSWORD_HASH_OID
When importing users from Samba3 we need to control all values.
metze
commit 24d6950f631f7b1f36ee72c1d06b6b4bc9a1033a
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 30 12:08:30 2010 +0200
s4:dsdb/password_hash: fix some c++ compiler warnings
metze
commit 4a0edb597caf7ffa9a1f7f6a44a90fecefb30dc1
Author: Zahari Zahariev <zahari.zahariev at postpath.com>
Date: Mon Jul 5 17:55:11 2010 +0300
DNS objects should not be ignored
Recently I have found that after vampireing from a clean Windows
server we have the same DNS objects in the ldb. So ldapcmp has to
no longer ignore them.
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit 3255a7c42c13874eb7bfbf058f8388325afe5a7f
Author: Günther Deschner <gd at samba.org>
Date: Mon Jul 5 17:38:16 2010 +0200
s3-waf: fix the build.
Guenther
commit 3323e88f74ecdfb94026fc23b870c10bba375d34
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 11:15:18 2010 +0200
s3-winbind: Rename lookup_groupmem to msrpc_lookup_groupmem.
commit 973ef399e3b7853e68bf8d3d54700fd2c89a9611
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 11:14:12 2010 +0200
s3-winbind: Use rpc_trusted_domains in msrpc.
commit b4160af73646f48073778b610938c9f67a5f6e39
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 11:13:50 2010 +0200
s3-winbind: Use rpc_trusted_domains in samr.
commit 9c372a145dacfabd14dd86b6dbc458f20ce73fe9
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 11:13:25 2010 +0200
s3-winbind: Added a common rpc_trusted_domains function.
commit b8a0b95e74bf4e57d5ee5e15a91c7b27f7edd3c6
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 10:54:53 2010 +0200
s3-winbind: Rename common_password_policy to sam_password_policy.
commit 3f2c2c7c70c0cfbcc84c28526d9108e9ee8ed7d5
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 10:53:15 2010 +0200
s3-winbind: Rename common_lockout_policy to sam_lockout_policy.
commit 49dc713957593bc7b2b6a1704f2fcd0f8595a4fd
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 10:48:15 2010 +0200
s3-winbind: Use rpc_sequence_number in msrpc.
commit eba6ff0c1a506601c5447706678171926ba4cd93
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 10:47:54 2010 +0200
s3-winbind: Use rpc_sequence_number in samr.
commit c4a5fc72c732e40c53b6206280ed9c22cc8f0fb1
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 10:47:22 2010 +0200
s3-winbind: Added a common rpc_sequence_number function.
commit 62038010e0cb74a0de8fe68c7566a6db153ea58b
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 10:28:47 2010 +0200
s3-winbind: Use rpc_lookup_groupmem in samr.
commit 3c06d42bec49f3fd0ab0d03fe3cbc7205f6d2e2d
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 10:28:21 2010 +0200
s3-winbind: Added a common rpc_lookup_groupmem function.
commit 1f2fe8dee9df1228974ab713b77e470185552916
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 19:08:41 2010 +0200
s3-winbind: Use rpc_lookup_useraliases in msrpc.
commit aa831374b8484846702622562c28138363fda2f7
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 19:08:28 2010 +0200
s3-winbind: Use rpc_lookup_useraliases in samr.
commit 73b2f60f6d7f11702d24b8e90209ad6406d79a90
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 19:07:43 2010 +0200
s3-winbind: Added a common rpc_lookup_useraliases function.
commit ad8c9125632798ca762d7de5d13b91bfa9e3ea28
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 18:20:12 2010 +0200
s3-winbind: Use rpc_lookup_usergroups in msrpc.
commit c1a6a24a76bacec4d678537716675e0c7f4fb5b4
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 18:19:50 2010 +0200
s3-winbind: Use rpc_lookup_usergroups in samr.
commit 473d1f10868e8fd33641657daa5b4f07e39770ad
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 18:19:16 2010 +0200
s3-winbind: Added a common rpc_lookup_usergroups function.
commit a3f8bbf3daf916878d0b1374f7fae4b65540be28
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 17:48:17 2010 +0200
s3-winbind: Use rpc_query_user in samr.
commit 64f1052c7fc0aa5eca4c9fd0b437a5b35f07c9fe
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 17:47:47 2010 +0200
s3-winbind: Use rpc_query_user in msrpc.
commit 7d304d7e998fef942386d931e8e4ea3ed8b53f4d
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 17:47:16 2010 +0200
s3-winbind: Added a common rpc_query_user function.
commit c48d85026508e35a98bbf4828e688a7bef0249eb
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 19:32:18 2010 +0200
s3-winbind: Use rpc_rids_to_names in samr.
commit fd79bc9a58ccb06f59cda1f42fe9067f3f8af473
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 19:31:51 2010 +0200
s3-winbind: Added a common rpc_rids_to_names function.
commit aa745bedd3c9862c793d2d2dbaa70ff85ea40614
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 16:25:33 2010 +0200
s3-winbind: Use rpc_sid_to_name in samr.
commit 506dc899b26eea7b3115748b6311e8a07fb16909
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 16:25:07 2010 +0200
s3-winbind: Added a common rpc_sid_to_name function.
commit 22c9ced11952bc61c0f074103b5ca9a312f53c70
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 16:07:02 2010 +0200
s3-winbind: Use rpc_name_to_sid in samr.
commit 37dbfaebc7a31a6c44d51003770945cb4dab8848
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 16:06:34 2010 +0200
s3-winbind: Added a common rpc_name_to_sid function.
commit 01730e4b471b7ccf699f9435b87a997980156c37
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 15:53:06 2010 +0200
s3-winbind: Use rpc_enum_local_groups in samr.
commit 44c6432d64635c94348d2a1b0e7c42ac03ea9373
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 15:52:44 2010 +0200
s3-winbind: Use rpc_enum_local_groups in msrpc.
commit 89c8ef97c4141e748e5c566a4c25981c31fba507
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 15:51:58 2010 +0200
s3-winbind: Added a common rpc_enum_local_groups function.
commit 8159b1281be6ebbad0626c71070ddf457f2558e0
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 14:55:19 2010 +0200
s3-winbind: Use rpc_query_user_list in samr.
commit e44d7e1582d84473c5cf1d75ee5ea0396b88cee4
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 14:54:55 2010 +0200
s3-winbind: Use rpc_query_user_list in msrpc.
commit c83e8cbe4ae3192b576b47bfae2a4ba90d6e0ce9
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 14:54:02 2010 +0200
s3-winbind: Added a common rpc_query_user_list function.
commit b3f4e18859e051602a236ee552a641ecd743fc68
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 13:57:12 2010 +0200
s3-winbind: Use rpc_enum_dom_groups in samr.
commit 11610a4e996fd70a2df3b1124f8e658cc9188827
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 13:56:54 2010 +0200
s3-winbind: Use rpc_enum_dom_groups in msrpc.
commit bec184048ee691d9f709365f65104a53f2f33cc0
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 16 21:15:54 2010 +0200
s3-winbind: Added a common rpc_enum_dom_groups function.
commit 692cc06f0c1e1c2dd0d553bb65a8af78ad0a6523
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 16 17:43:57 2010 +0200
s3-winbind: Rename winbindd_rpc.c to winbindd_msrpc.c.
commit e1c4b5bbe91b0f2e0abf4e1ddfcd9a7232b12fc8
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 16:44:02 2010 +0200
s3-winbind: Replace the passdb backend with a samr/lsa based backend.
commit 488badb8acdb6bcf9135a3073b08e4f5526d73b0
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 15:20:13 2010 +0200
s3-winbind: Implemented samr backend function common_sequence_number.
commit 645ce68e357948c8bddf46e7b3777788af4d0a72
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 15:12:37 2010 +0200
s3-winbind: Implemented samr backend function common_lookup_useraliases.
commit d92cb43b7723c8103a62602dfe1a02eba2526576
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 14:57:15 2010 +0200
s3-winbind: Implemented samr backend function common_lookup_usergroups.
commit c60a9e8077d875f7b4c9a11351f06506fafda133
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 14:41:54 2010 +0200
s3-winbind: Implemented samr backend function common_password_policy.
commit 54e8f8bd578ce6c0df30eecde471190ee700dc32
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 14:39:55 2010 +0200
s3-winbind: Implemented samr backend function common_lockout_policy.
commit de7990bca160c1f54ce4c1ad848b2761b77c5960
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 14:33:02 2010 +0200
s3-winbind: Implemented samr backend function common_rids_to_names.
commit 79700e690e44485b5037bd191934a56b6e765655
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 11:52:26 2010 +0200
s3-winbind: Implemented samr backend function common_sid_to_name.
commit f11648bfd7dfdacff5889dc3f12d89b59146b4f4
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 8 14:42:59 2010 +0200
s3-winbind: Implemented samr backend function common_name_to_sid.
commit 483d4528d97670d13d1cdb69a041d587e6e2194f
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 8 08:47:13 2010 +0200
s3-winbind: Implemented samr backend function common_enum_local_groups.
commit 47447809c825c90992abd67ef38a7e38b835a072
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 22:15:37 2010 +0200
s3-winbind: Implemented samr backend function sam_lookup_groupmem.
commit 41939ce32f66c288e51013648adfdcae64a97396
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 21:46:02 2010 +0200
s3-winbind: Implemented samr backend function sam_trusted_domains.
commit 48147555d2a2e879b027c09fb48c2ab7c40f4126
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 21:20:15 2010 +0200
s3-winbind: Implemented samr backend function sam_query_user.
commit 7ee0ebe40604123e38b02661ac9cba294ee23563
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 16:39:44 2010 +0200
s3-winbind: Implemented samr backend function sam_enum_dom_groups.
commit 9d0d6ed66f582464dd874ec793cdeb7cf1b9aece
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 16:18:12 2010 +0200
s3-winbind: Implemented samr backend function sam_query_user_list.
commit cc3d9dd042c6c7abd1815acca0af4ab3fb427c73
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 10:18:01 2010 +0200
s3-winbind: Added a skeleton for samr based functions.
The goal is to replace the passdb backend later.
commit 9fa72399073731aba54dfe70c35677b3c2960589
Author: Andreas Schneider <asn at samba.org>
Date: Thu May 27 12:06:24 2010 +0200
s3-winbind: Initialize the server_info on winbindd start.
commit 30d25210a97403c083f7f8babe2eaa4d4cdfc1ad
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 11 11:48:37 2010 +0200
s3-rpc_client: Use the right memory context for array elements.
commit 7d013f4065caad4caf742adc37b0b7622419de1a
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 14 11:49:32 2010 +0200
s3-winbind: Free some memory which isn't needed anymore.
commit b37db757b6d552a9b3dea7428a811e403a2c6bbd
Author: Günther Deschner <gd at samba.org>
Date: Mon Jul 5 15:24:55 2010 +0200
s3-build: add idl_full to Makefile.
Guenther
commit cb52b1ad99e17c09d4c429a780f30772efd6eaf9
Author: Günther Deschner <gd at samba.org>
Date: Mon Jul 5 15:24:27 2010 +0200
s3-idl: support --full for s3 build_idl.sh as well.
Guenther
commit 6071ca9daed6e18302da546e5de0c7b1d282bbd2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jul 5 15:19:31 2010 +0200
s4:include/smbldap.h - introduce a placeholder for "LDAPMessage" if we don't link against a LDAP library
commit 1d166fd3cff7ed8b6d3d17427fb18fa9f6405b48
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jul 5 11:44:48 2010 +0200
s4:winbind/wb_cmd_setpwent.c - fix a possible crash condition in the "winbind struct test"
Use a "talloc_strdup" for duplicating usernames.
commit afcf18f3c996558135cb2535e10a9d5dd32f86e7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jul 4 23:21:07 2010 +0200
s4:samr RPC server - "SetUserInfo" - allow some more informations to be set
Taken from the s3 implementation.
commit 915ddf0dc74d2b36d5da2c1bf377a289291c13b8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jul 4 22:34:43 2010 +0200
samr.idl:UserInfo structures - fix some names according to MS-SAMR documentation
See MS-SAMR section "FULL IDL"
commit 3278554b3e8864bc412926b67faf8a924a4416c7
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 5 12:36:19 2010 +0200
s3: Make talloc_attrs() static
commit dfc84ece9ddcaf510bac79e006f05dfdad9f2770
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 21:53:52 2010 +0200
s3: Remove procid_self() from srv_spoolss_reply[open|close]printer()
commit 9e4ae600b700406fdfb797b0217ec2b7503bfc59
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:50:11 2010 +0200
s3: Remove procid_self() from ctdb_read_req() and ctdb_handle_message()
commit 1832e38425b12841d67aa6194bd4ae53697077ab
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:49:43 2010 +0200
s3: Remove some type-punned warnings
commit 2838047657d5ba37b1ba0259577875919c47b09c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:31:02 2010 +0200
s3: Put serverid_key and serverid_data together
commit 390c3ffc2a5ec90ad0715c278ecef56a6c1bd9b2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:20:44 2010 +0200
s3: Remove procid_self() from brl_close_fnum()
commit 6436ea3e7a0000ee1e494b7e81138a948c33c731
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:18:29 2010 +0200
s3: Remove procid_self() from srv_spoolss_drv_upgrade_printer()
commit b0f76a37d35b4e4c688d3a44180f9ae96d9ecb02
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:17:32 2010 +0200
s3: Remove procid_self() from cancel_pending_lock_requests_by_fid_smb2()
commit a521ad4b5ab4849a503e14bef5cc1120ddb18fdc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:16:35 2010 +0200
s3: Remove procid_self() from remove_pending_lock()
commit e168b85f00540892508c888a17b07e1981e9ad5a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:14:27 2010 +0200
s3: Remove procid_self() from fill_deferred_open_entry()
commit aa217afc46f3be4b6e5dbdc7289044e661924ab3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:06:07 2010 +0200
s3: Remove procid_self() from do_lock_cancel()
commit 1af668df028e238a17e7ce0bf30107189a789f55
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:05:43 2010 +0200
s3: Remove procid_self() from do_unlock()
commit 471a47a1de504ea60a1411f44ea82eec123ae0a8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:02:30 2010 +0200
s3: Remove procid_self() from do_lock()
commit b485c1917fd4320dee1efbafd77cbf402ed62971
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:01:48 2010 +0200
s3: Remove procid_self() from query_lock()
commit 9b0fbcf35ad94e984c085eb209034325396db712
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:56:51 2010 +0200
s3: Remove smbd_messaging_context() from shutdown_other_smbds()
commit 0ea7aed7461767fbdce90ea30dde33816bc41d5e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:51:43 2010 +0200
s3: Remove smbd_messaging_context() from make_connection_snum()
commit a2d7cd55582d6e8ec31661726ccbe231c0c47817
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:50:35 2010 +0200
s3: Remove smbd_messaging_context() from reprocess_blocked_smb2_lock()
commit 3df821acc462626efba86acd7c6a278473d4f0c2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:50:25 2010 +0200
s3: Remove smbd_messaging_context() from remove_pending_lock()
commit 411412dc65961acf8132ae03a3120c24e8602ef0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:47:45 2010 +0200
s3: Remove smbd_messaging_context() from push_blocking_lock_request_smb2()
commit 8aa3f47dc96b41b1f8b589f55633a774492e253c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:47:02 2010 +0200
s3: Remove procid_self() from irix_oplocks_read_fde_handler()
commit c63f75f17c51d1e6ddb4411bc4c0ad3c3e7edb95
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:46:15 2010 +0200
s3: Remove smbd_messaging_context() from smb_set_posix_lock()
commit 8ea271bb2e9e94093c1849a5840bb3a2a38f728e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:44:57 2010 +0200
s3: Remove smbd_messaging_context() from linux_oplock_signal_handler()
commit 02a42a0a1d7d10495711e1a8621d45629e810c67
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:46:27 2010 +0200
s3: Remove procid_self() from blocking_lock_cancel_smb1()
commit f60c6f55c96f4ed1ed87a4bbc4746d6585d3552a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:45:15 2010 +0200
s3: Remove procid_self() from process_blocking_lock_queue()
commit a9aa582de51df042e17e5c35c9e925436bf35afa
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:44:46 2010 +0200
s3: Remove procid_self() from remove_pending_lock_requests_by_mid_smb1()
commit a07c1586ba280d08dadf1db9ff3f478ac47c9307
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:44:14 2010 +0200
s3: Remove procid_self() from cancel_pending_lock_requests_by_fid()
commit c49f6a681dca609353263410c809a8c0c90f7aae
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:43:39 2010 +0200
s3: Remove procid_self() from generic_blocking_lock_error()
commit d42806a01389fc3f265f3490228c3f82600d7077
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:42:55 2010 +0200
s3: Remove procid_self() from push_blocking_lock_request()
commit eb29f84b5f83306be68804d9edd9be8c1922fa9b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:40:57 2010 +0200
s3: Remove smbd_messaging_context() from blocking_lock_cancel_smb1()
commit dd48e0afe06087622483605f472f382f5448dd70
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:40:40 2010 +0200
s3: Remove smbd_messaging_context() from process_trans2()
commit ae75a90b188a34eff806797fdcfd14586135c285
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:39:57 2010 +0200
s3: Remove smbd_messaging_context() from process_lockingX()
commit e606b271144fb004adce0a3b265e61b44bf4d38e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:39:31 2010 +0200
s3: Remove smbd_messaging_context() from reply_lockingX_error()
commit fef875f64fcdae094aabe291b9b8849c28324015
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:38:12 2010 +0200
s3: Remove smbd_messaging_context() from push_blocking_lock_request()
commit 75e16757e3e696f1a2f4e8d438d0634abe327ab0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:35:06 2010 +0200
s3: Remove smbd_messaging_context() from contend_level2_oplocks_begin_default()
commit d1587f99248c7616d168e7025d2c58c4fa7245e4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:34:31 2010 +0200
s3: Remove smbd_messaging_context() from reply_to_oplock_break_requests()
commit b01a41d05b06962cae748f0f8fbb7da87861db07
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:32:17 2010 +0200
s3: Remove smbd_messaging_context() from smbd_do_locking()
commit 914b1c034fe9f52b4c858486730543bee8daaf88
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:31:41 2010 +0200
s3: Remove smbd_messaging_context() from rename_open_files()
commit 8da057550758919fa0bded72c2ec973f2aefd1d6
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:31:09 2010 +0200
s3: Remove smbd_messaging_context() from reply_unlock()
commit 9a3f53075ed1d5406dc3b09e8e01829c821723df
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:30:48 2010 +0200
s3: Remove smbd_messaging_context() from reply_lock()
commit 80cc726b4aadcccca34a32f0352c4cad73d2af95
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:30:08 2010 +0200
s3: Remove smbd_messaging_context() from reply_writeunlock()
commit 298da9a0a4f1c6374bdd99fd0ada9293a9eddb52
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:28:53 2010 +0200
s3: Remove smbd_messaging_context() from reply_lockread()
commit ba3b101c45f67154fe11d27d6c432ddf9a65a0d1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:28:04 2010 +0200
s3: Remove smbd_messaging_context() from send_break_message()
commit e6a089484bbde72368a93ca83e69858fb3d2be8e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:26:57 2010 +0200
s3: Remove smbd_messaging_context() from exit_server_common()
commit 6c53365d119fa1b2685d6d6d85604d2c0bee6376
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:26:14 2010 +0200
s3: Remove smbd_messaging_context() from close_normal_file()
commit f22e58bcd35a5219463863f7dae2d771d9cd5f0b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:25:02 2010 +0200
s3: Remove smbd_messaging_context() from notify_deferred_opens()
commit 50db5cb0dfaad0c556c375dee20ee6a2ee881db4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:20:11 2010 +0200
s3: Remove procid_self() from fill_share_mode_entry()
commit b9032978785be65dcc189ea982bd843fa8453b80
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:18:58 2010 +0200
s3: Remove procid_self() from init_strict_lock_struct()
commit 07854cb099555a3d1590ec310b1d938e786a9eb5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:17:36 2010 +0200
s3: Remove procid_self() from make_connection_snum()
commit 5387d6ee16d575251d656ce3e17b933e1be52343
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:15:36 2010 +0200
s3: Remove procid_self() from claim_connection()
commit 33242471e5ad974bf96d2340c9aa8d56941795e7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:12:24 2010 +0200
s3: Remove NULL checks from claim_connection()
Nowadays this is only called from make_connection_snum() where we always
provide a connection_struct.
commit faef081e967f657fb7043de683131f230f5e22c4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:09:59 2010 +0200
s3: Remove procid_self() from push_blocking_lock_request_smb2()
commit c89b55b5736db5a78ab5949c762afd281e707256
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:08:16 2010 +0200
s3: Remove procid_self() from reply_negprot()
commit 2d7cce6b7c0e38a8eb3ecdd9972ba25138f1845e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:07:29 2010 +0200
s3: Remove procid_self() from break_kernel_oplock()
commit 13441a9e1832a99742b1ca9919f1b61fbccd8419
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:06:26 2010 +0200
s3: Remove procid_self() from session_claim()
commit f1d6eed9626f286a41a0280e55b91cfd1d16eeb9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:06:01 2010 +0200
s3: Remove procid_self() from exit_server_common
commit 23790c9a8f54593602dce27a3fb1b1f752299431
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:02:36 2010 +0200
s3: Add sconn_server_id()
commit 58b9595babebdeb42cd6ffdc2b12e54b46964127
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:02:19 2010 +0200
s3: Add missing prototype for smb2_opcode_name
commit 0220246c2683e363d4871c7b93480438a5d88a7a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 17:57:57 2010 +0200
s3: Add messaging_server_id
commit 9cc52e8411c5b5bda73bbbe58d98a73ebd671b65
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 17:50:04 2010 +0200
s3: Add msg_ctx to smbd_server_connection
It would be obvious to initialize this in smbd_init_globals(), but there the
messaging_context can't be initialized yet because we don't have smb.conf
loaded yet.
commit a27bd84bf827fc3f7efe6afb6329d98a20a00389
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 17:49:30 2010 +0200
s3:Fix a bogus uninitialized variable warning
commit 300667e4a9f02104fc8759dd846ea41f400441bf
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:54:04 2010 +0200
s3: Pass procid_self() explicitly to messaging_ctdbd_connection()
commit 849f72b254ee52501ba46e8419938d3bf5e31900
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:51:06 2010 +0200
s3: Create a unique id for the smbd parent
commit da35836dd50e7f8036ca79efafc4009eae58222f
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 5 10:05:27 2010 +0200
s3: Keep the connections.tdb data format fixed
At Simo's request, we can not change internal databases anymore. Sorry for not
respecting this policy.
commit d300085868b7ba3f5cd4dd24fbea8e35ad9f87ee
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon Jul 5 00:20:37 2010 +0300
Changed passwords.py to use the correct account as acl checks now pass.
commit 81240b13b365400e2da903a7fc0af1f501bc1249
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon Jul 5 00:17:38 2010 +0300
s4-dsdb: Implementation of User-Change-Password and User-Force-Password-Change
These CARs need to be checked on password change and password reset operations.
Apparently the password attributes are not influenced by Write Property.
Single detele operations and modifications of dBCSPwd are let through to the
password_hash module. This is determined experimentally.
commit 343e9320ba4446635a50a0fa3849888f3b265e23
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jul 4 10:41:17 2010 +0200
s4:subtree_rename LDB module - Cosmetic fixes
commit 7d483cdc04d0e58ea171d5d94f53013fb2c2cc0e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jul 4 10:23:41 2010 +0200
s4:subtree_delete LDB module - fix comments and add my copyright
(I've introduced the subtree delete mechanism)
commit 83dedef2c7b3c471d37f532f56d8eb0d45c20e51
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jul 4 21:22:28 2010 +0200
s4:wb_cmd_list_groups.c - don't crash when we don't get any group at all
commit 680453a9069fc5f7c84344d702fbd9ac5819401a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jul 4 21:19:36 2010 +0200
s4:wb_cmd_list_groups.c - indentation and comment fixes
commit b0bba4003e928cdf0540047d6e4b7659cb0ac765
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jul 4 20:04:28 2010 +0200
s4:libnet - add missing "talloc_free"s for "c" contexts on "recv" operations
commit 05237dca11b902104e271120a31a8a3114b35cc4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:04:55 2010 +0200
s3: Remove an unused variable -- thanks, metze!
commit 23a31becacee9da11ebe4dff4a3146e19c95a5be
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:45:43 2010 +0200
s3: Remove unused msg_flags from connections.tdb
This breaks rolling code upgrade!
commit b0c83d50f9f609848c19180b6b032e73a1d504cb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:40:46 2010 +0200
s3: Replace register_message_flags() with serverid_register_msg_flags()
message_send_all is now done by walking the serverid.tdb, not the
connections.tdb anymore.
Günther, Simo, please check!
commit 8cf1cd2d5c0469f170b0f81dda94a53ce8575af9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:41:51 2010 +0200
s3: Use msg_ctx->id in messaging
This removes some references to procid_self() deep inside the code
commit 7f0e6df88345c1154f19fd263966ad20c73f5d52
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:28:13 2010 +0200
s3: Pass the new server_id through reinit_after_fork
commit 5a3c64668a33fc3fa8f87a78d06fa040eed9f8f8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:18:12 2010 +0200
s3: Re-initialize the server_id in messaging_reinit
commit b3194be286a6af28044375e893cfa0b095dba6e6
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:09:09 2010 +0200
s3: Fix some type-punned warnings
commit eb50f77154e23b9dc231926d5a0af07dd7761bc4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:08:59 2010 +0200
s3: Fix some nested extern warnings
commit b01958b0bdb1a7115b82fc7029d8ffe630614cff
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:08:03 2010 +0200
s3: Remove serverid_[de]register_self
This removes some deep references to procid_self()
commit ba57d23c1ce5ef3b6c4b2e5e100a0457b8abdcbf
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 14:59:23 2010 +0200
s3: ALWAYS run make test before checkin ....
commit 34558ae9458519f785c1fee48982b1efccaff446
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 14:35:05 2010 +0200
s3: Slight reshaping of server_exists_parse
Doing a copy and then do the compare is a bit pointless, use memcmp
commit f8e7077d5ca738a62386917c14aebce515955c68
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 13:46:48 2010 +0200
s3: Don't attempt to deregister from serverid twice
The parent has to take care of crashed child processes anyway, so we don't have
to clean up in the child
commit 9e3fc22c600e3da150e96ac5f7823835c8be4333
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 11:32:50 2010 +0200
s3: Fix bug 7338, smbget skips leading slash when using a custom outputfile
commit 285176cbc9e77c6f70aabbc33bae37d35ffe808a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 11:02:21 2010 +0200
s3: Fix some nonempty blank lines
commit 8c0fbc410798512b7a4b7db73bcb24cde6fa7849
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 10:01:42 2010 +0200
s3: Fix bug 7336: Enable idmap_passdb module build as shared
commit e17ce247a3575ca868bc6e69a6491ff033551443
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 3 22:41:23 2010 +0200
wbinfo: Fix error messages
commit 6dc1c708760b887a5b195f860cd0a02cfcfffadd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 21:09:06 2010 +0200
s4:torture/rpc/samlogon.c - strip trailing whitespaces
commit e2e09f5c45cef1a826c5ab30272b21771d966013
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 21:04:47 2010 +0200
s4:torture/rpc/samlogon.c - provide a function which sets and afterwards resets the minimum password age
This is needed since we on s4 do now use the Windows Server standard of 1 day.
commit 518232d4578d700f5f5ea1609275a6cd1de3a1e7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 15:52:00 2010 +0200
s4:kinit blackbox test - set/reset also here the "minPwdAge"
commit f41d9eb8dc5cf63625260ce577548b0471fc84c8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 15:37:45 2010 +0200
s4:dsdb/tests/python/ldap_schema.py - remove a now useless "schemaUpdateNow" request
"schemaUpdateNow" on s4 is now a non-op and therefore not strictly needed anymore.
commit 465c601071df9de9f15f65bdad3355a77cdc1d59
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 14:52:18 2010 +0200
s4:urgent_replication.py test - remove unneeded "relax" control parameters
commit 326aac06f52a1e4d37449622e02d561ee12608cf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 14:33:23 2010 +0200
s4:schema_load LDB module - fix a segfault condition on schema refresh
The schema refresh operation itself starts requests from the top of the LDB
modules stack (see call "dsdb_schema_set_attributes" - search operations).
This doesn't work well when these do perform "dsdb_get_schema" calls. Since the
new schema isn't marked as "refreshed" atm (but in fact it still is - we didn't
terminate the reload/refresh yet) we could perform other calls to
"dsdb_schema_refresh" and run into serious trouble (segfault).
commit 02eab6602640e73f295a37019c0989dbd799229b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 14:07:44 2010 +0200
s4:schema_set.c - Fix a comment
commit d1ee7ab16ee2993e12dad2a3eed2f1719fae11d7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 14:05:04 2010 +0200
s4:dsdb_schema_set_attributes - remove unneeded filter criterias
We already choose the right entry by specifying the right basedn with scope
"LDB_SCOPE_BASE".
commit 368aa25f7c1a2b8c05780479b1e03a2632c42d11
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 12:47:46 2010 +0200
s4:dsdb_module_load_partition_usn - check for "res->count" equal/unequal to 1
commit 4df9757b48d72f0fd33ef6b7b4e359d6baa9b44f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 12:36:34 2010 +0200
s4:schema_set.c - fix typo
commit de81160e754cfb65a471f29e03b6e1f1c1461eb2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 12:35:16 2010 +0200
s4:schema_load.c - jump to "failed" on an error condition
commit 43b0c314d80efdaec17d601929d3e6b0cdebcff0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 10:56:14 2010 +0200
s4:setup/provision_basedn_modify.ldif - set "minPwdAge" to the right value
Now we should have fixed all password related tests to cooperate with this value
commit c0ee606474ffb355e7c4e8dd70c773fe8904fa4b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 11:27:20 2010 +0200
s4:pwsettings net utility - change also here the "minPwdAge" to be the real default
Which is one day.
commit 73c69a195abc68146352da399418b9f64a6ca803
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 11:23:39 2010 +0200
s4:blackbox/test_passwords.sh - perform also here the adaptions for "minPwdAge" != 0
commit ec9fa906c79c4f71d0230dd57dfde6dd67f37201
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 11:07:10 2010 +0200
s4:dsdb/tests/passwords.py - set and reset the "minPwdAge" properly
After a patch proposal of Nadya and some reflection I think that it's really
worth to change all tests which need a "0" "minPwdAge" to set it manually and
reset the default afterwards.
So we can finally introduce the default "minPwdAge" on provision.
Patch proposal by: Nadya Ivanova
commit 86cde0a7dc8388747060a11f101f715645ef0eae
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Fri Jul 2 16:38:05 2010 +0300
Tests for user-change-password and force-password-change access rights
commit 61e956036e28b8fe8c57ab47c478a542cbf44532
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 2 13:08:00 2010 +0200
s3-net: forgot to set type in winreg getvalue operation.
Guenther
commit 62341537d7c43d678e66ba663ad07be629e3328e
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Fri Jul 2 11:39:39 2010 +0300
s4/schema: remove unnecessary deletion of dsdb_schema cached pointer
This is needed so we can find and free old schemas based using
the cached pointer
commit d9429a874c5bd463f4b89db55fdae14b1764a494
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 11:22:20 2010 +0200
s3-registry: remove 2 byte winreg type limitation.
We already pull and push 4 byte winreg type in the registry.tdb, we were just
not using full 4 bytes within the reg_object functions.
With this change we finally pass the set extended value torture test.
Guenther
commit ddb8fae40174c72be8b3b6fc1c67cbaad3343153
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 15:50:58 2010 +0200
s3-registry: allow to read NULL entries (that we allow to store) back from the tdb.
Guenther
commit 6da040261debcbd4b193caf9d5a055efad898aca
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 03:04:39 2010 +0200
s4-smbtorture: enable extended SetValue test against Samba3.
Guenther
commit 786198e523257de75d9238cd993594e5f8a8a4b7
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 02:57:19 2010 +0200
s3-registry: remove unused reg_util_marshalling code.
Guenther
commit b381fba0892021f164223bae8b0951014a28735e
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 16:13:15 2010 +0200
s3-registry: avoid using registry_value union.
Just pull and push data as is.
Guenther
commit 84c5dd1e4bb1b4c45d7b5ac68ab432cfc399835c
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jul 2 11:39:28 2010 +1000
s4-ldb: fixed error handling in openldap backend
fixed several bugs in error handling. the ldb context was used without
being initialised in the error paths, and several error paths did not
set an ldb error string.
commit 277a9b4aaca60745acfa3f82bd021390de337a26
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jul 2 11:37:50 2010 +1000
s4-ldb: fixed the parsing of references in the openldap backend
We need to use ldap_parse_reference() not ldap_parse_result()
commit f9022a1a30dbe57c6b6226c1f3d749b0ba87ce66
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jun 30 13:49:05 2010 +1000
s4-dsdb: fixed use after free of sasl mechanisms opaque
the supportedSASLMechanisms opaque must live for at least as long as
the ldb, or we can crash when the first connection is torn down
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 2671b5aeb0442b1c2a67ba9c43113ba3eec6bc15
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jun 30 13:47:29 2010 +1000
s4-dsdb: fixed spelling of supportedSASLMechanisms
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c48279896d93ab8d4490cbf9d47eb6f763b43785
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 30 23:25:32 2010 +1000
s4:dsdb Ensure we free old schema copies
It was reported by aatanasov that we kept around one whole schema per
modification made. This does not fix that, but I hope moves us closer
to a fix
The most important part of the fix is that:
- if (schema_out != schema_in) {
- talloc_unlink(schema_in, ldb);
- }
was the wrong way around. This is now handled in the schema_set calls.
Andrew Bartlett
commit 5a66edc99ee782e36efa2fc64a7603247ba3abc1
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Jul 1 23:47:02 2010 +0300
s4/dsdb: Assert DSDB_FLAG_*_MODULE is always passed in function call
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 73474998e167837002da495993fa75de17e3aecd
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:29:05 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/util.c Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 682f7a53383f1c72f53fc5238f4ca2db348f9df3
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:28:46 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/subtree_delete.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit bf373d5c29737264724ae4f86e05a79d7b69b4ee
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:28:30 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/schema_load.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 7c653c429a7d31d00620fc8cfda913a814c1048f
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:28:10 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/samldb.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 0e023f23408df71aa3ad24f0a78cfead44d63d4b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:27:51 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/samba3sid.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 30a69eb4a0cf61cc21c11bbb71494aae57bfe139
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:27:32 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/rootdse.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 68c6e607d9facd20ba792cd8f8e1a5e8740bf300
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:26:53 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/ridalloc.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit f3f87e8deed86d066346e852269ae12d1966ea0a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:26:07 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/repl_meta_data.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit b29921b82ea34f307f04acb86afe64f33a69ab1e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:25:28 2010 +0300
s4-dsdb/samdb/ldb_modules/linked_attributes.c: make use of DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit f570eec26432a66d7fbc2a70017b3df8dbdd1e89
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:07:51 2010 +0300
s4/dsdb: Add DSDB_FLAG_NEXT_MODULE flag
Although it is not currently used in implementation,
my intention is for callers to clearly state what
action they want to execute.
Currently when a caller wants to pass the call to the next
module in the chain, this flag is either omitted or 0 is used
(which is somewhat hacky, isn't it)
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 3721161d90c835604f38d2f178fbcd8c5f708077
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 1 17:47:46 2010 -0400
s3:auth Fix switch statement referencing a uninitialized variable
Looking at the original commit (9a747d500fad699038ecf75615c680a9fd9e4cc7)
this seem the right solution.
Andrew please check.
commit d1538add736ae3ac7ca3c728e2bd1696d588b374
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 00:44:15 2010 +0200
s3-nss_info: only include nss_info.h where needed.
Guenther
commit 04641abb33a06486327088105b578865ed727a23
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 23:48:34 2010 +0200
s3-libads: move ldap posix schema defines to their own header file.
Guenther
commit 3f453f73a80c98cc98b6b61698c547339817285c
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 23:47:03 2010 +0200
s3-libads: move spnego defines to their appropriate header file.
Guenther
commit dff7be8ccb9538cfe8468884aa2eecd129c631cb
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 23:38:57 2010 +0200
s3-libads: only include libds flags where needed.
Guenther
commit 6d810eff81f6a0abb371b2661cb0711e46e1bf1d
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 23:20:22 2010 +0200
s3-libads: move keytab macros out of ads.h.
Guenther
commit 56538be6af9d4d76bffe5f142ba6a62e978561da
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 22:36:40 2010 +0200
s3-libads: move ads_dns out of main includes.
Guenther
commit e64df82146cf62ae6e13b8e4c1adcc8b49b2fd6d
Author: Günther Deschner <gd at samba.org>
Date: Mon May 31 12:51:58 2010 +0200
s3-libads: move ads_status to a separate header file.
Guenther
commit 6b25d47fea231fad2009a1e0971ccfa1acf68176
Author: Günther Deschner <gd at samba.org>
Date: Mon May 31 12:51:29 2010 +0200
s3-libads: move ads_protos.h to ads_ldap_protos.h.
Guenther
commit 568a54f324c4564438edd6369ae4fdf17b667e6e
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 23:15:13 2010 +0200
s3-waf: fix the build after smbd/change_trust_pw.c removal.
Guenther
commit f7a3bd4fa42eba56675c46d0a2baf0dccded8018
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 19:05:43 2010 +0200
tdb: fix the build on mac os x 10.6.4.
Guenther
commit eb634e8c7fcce424186514a8e0a8a799d6e7fc8d
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 01:19:39 2010 +0200
s3-libnet_join: small IDL enhancement.
Guenther
commit 2f9076ac29904c98e1a794d04c79db637283f888
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 23:09:05 2010 +0200
s3-libads: use shared well known guids.
Guenther
commit b9e6962dd7616eaeaf8a0bc42c1180541ca06dd3
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 22:32:00 2010 +0200
s3-libads: move KRB5_ENV_CCNAME to separate header krb5_env.h.
Guenther
commit c2e2f783d02c7128ce1d7748ec2764998edc1be1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jul 1 17:23:01 2010 +0200
s4:dsdb/tests/python/passwords.py - add the right result codes for user password changes
They will be enabled once the ACL modules supports it. It was my fault to not
import them earlier.
commit 21c215512661907832570d18e7e61b3bb6447dcf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jul 1 16:35:12 2010 +0200
s4:lib/registry/ldb.c - free some "msg" objects earlier through explicit "talloc_free"s
No other functional change
commit de8a339cdf95f6737a8b1d34aa2aa9287bae0e46
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 16:10:32 2010 +0200
s4:registry - move some common constraint checks to the "local" backend
They should also be enforced when we don't use "ldb".
commit d81e2af69de4401335681d859c44b2c30fb4456c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 18:27:49 2010 +0200
s4:lib/registry/tests/registry.c - test recursive key generation
commit ae50385d524d8cb4831d8eb0c45feb4d04437f28
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 18:08:47 2010 +0200
s4:registry - on key add operations we have to handle with paths not always only a name
Recursive key generations are allowed.
commit 781ea5be1399de8abe201ab239d3915331264deb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 15:45:37 2010 +0200
s4:lib/registry/local.c - support recursive key generation
Code taken from "local_open_key".
commit 809c74790006c985ac64eb7823a4a450498c832f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 21:12:19 2010 +0200
s4:lib/registry/ldb.c - refactor "reg_path_to_ldb"
This makes it easier to understand and would also support splitting in more
DN components.
commit 50ae292e60e53275f87ad2281b25eda34d0af59c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 17:37:45 2010 +0200
s4:lib/registry/ldb.c - use "ldb_path" rather than "ldap_path" as LDB key varibale identifiers
commit d0e877e785f6463dadbb973bc42174674cbdbad2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 15:52:19 2010 +0200
s4:lib/registry/ldb.c - "ldb_add_key" - fix talloc handling
- free "msg" when possible
- prevent "talloc_strdup"s where not necessary
commit e4ba8fb3b9a6eebe7a56179f67d1aeff64cf1abc
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 13:46:55 2010 +0200
s3-printing: Fix Bug #7541, %D in "printer admin" causing smbd crash.
Guenther
commit 74721bf706371d3fdc5783995a60808763fc7e6d
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 01:22:11 2010 +0200
s3-registry: fix malloc/talloc mismatch upon free in reg_enumvalue().
Guenther
commit 69610484872bb8c9d52cd1b12c56a3bf99be78ae
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 17:13:42 2010 +0200
s4-smbtorture: in extended setvalue winreg test, reduce max random buffer length to 16 bytes.
Guenther
commit 17ddefef8a3dd299fd318a9e3908396beba62cbb
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 13:25:28 2010 +0200
s3-docs: try to make "default case" explanation a little clearer.
Guenther
commit 6625aada8174d61f52d6ef22d49edefa15f4a9bb
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 12:10:55 2010 +0200
s3-libsmb: move change_trust_account_password out of smbd into libsmb.
Guenther
commit e1c185d07db69827435812227a392e711bc06db0
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 02:07:15 2010 +0200
s4-smbtorture: enable QueryMultipleValues{2} torture tests against samba3.
Guenther
commit 2a4bd64973252d87b34f90e14872285ed12135ed
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 16:31:46 2010 +0200
s3-winreg: implement _winreg_QueryMultipleValues().
Guenther
commit de0d9e0bff7d39c3f784112bd043095aeaa1042a
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 02:03:27 2010 +0200
s3-winreg: implement _winreg_QueryMultipleValues2().
Guenther
commit 21869f5ed00af5a05f1d109339cd8b725fcc7d61
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 02:02:43 2010 +0200
s3-registry: add reg_querymultiplevalues() to reg_api.
Guenther
commit a329dd02674010e673fbcc7acf369a19befb6738
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 17:13:14 2010 +0200
s4-smbtorture: add some more multiple_values_tests to RPC-WINREG.
Guenther
commit 14f8953aa4f000173a051b8010252063db5295c1
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 30 11:09:10 2010 +0200
s4:dsdb: move dsdb python tests from lib/ldb/ to dsdb/
metze
commit 19d93c6a1e810dbd634f35cf440412c1ff958448
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 30 10:57:37 2010 +0200
s4:ldb/python: make it possible to run tests standalone
metze
commit 45fc7284982f3d6d3f5757f2e7336c878c4a6519
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 30 10:19:07 2010 +0200
libcli: Fixed a build warning for a missing prototype.
commit bf844aed5b6ad6a9a5287ebd9b7da121fa9dd1a8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 30 09:37:08 2010 +0200
s4:auth/session.c - suppress a warning when freeing "group_string"
commit 6abfe8904a1024512c0ea8bb4844e4409e8d994b
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Thu Jun 24 20:48:07 2010 +0300
s4:schema/schema_set.c - free LDB message diffs
Especially the "free"s after "ldb_msg_diff" are very important since the diff
message is allocated on the long-living LDB context.
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 2821abee1f85c5d9a191a9880808b7022ac2e0b1
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Thu Jun 24 20:48:07 2010 +0300
s4:auth/session.c - free "group_string" when not needed
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 32b8b401d6de27caa02a258fd540a208c486d1d6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 30 10:20:11 2010 +1000
s4:dsdb Fix possible schema segfaults for DRS-replication based schema
The problem here is that if the schema has been modified on the source
domain, there may be attributes that appear over DRS with 0 values (to
indicate that any existing values on the target should be deleted).
This would confuse the previous version of this macro.
Andrew Bartlett
commit 73fbc9c1791c2391ccb59a2a02df009cbd2fdc7e
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 23:35:45 2010 +0200
s4-smbtorture: remove duplicate torture_assert_sid_equal macro.
Guenther
commit cc8d6d99df7f13e5396ec3d8e4943511cbe20cc3
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 23:10:47 2010 +0200
s4-smbtorture: fix incorrect IDL for QueryMultipleValue (aka RVALENT).
Found by torture test.
Guenther
commit 1fb8e192cad7de58586645ca915a8934320bac70
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 21:53:00 2010 +0200
s4-smbtorture: add more sophisticated tests for winreg_QueryMultipleValues{2}.
Guenther
commit f6f21202ebecc82832e10353bdf967cf7920a753
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:30:05 2010 +0200
s4:ntvfs/ipc/vfs_ipc.c - remove unused code
Spotted by the Solaris 10 compiler
commit 146dad103bac0488f8bacc45dfbb2ea099e852ee
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:33:32 2010 +0200
s4:ntvfs/ipc/vfs_ipc.c - add casts to suppress warnings on Solaris 10
commit 645c3d200cd015597896d77fd4c22bc01a8b7da3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:33:32 2010 +0200
s4:ntp_signd/ntp_signd.c - add casts to suppress warnings on Solaris 10
commit 95127b3f5f253ce5df6ec27972c456d0859d23c4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:30:05 2010 +0200
s4:rpc_server/browser.c - remove unused code
Spotted by the Solaris 10 compiler
commit 06bafb75965983601f9afd08b70c9f7463d4c5f3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:30:05 2010 +0200
s4:smb_server/smb2/find.c - remove unused code
Spotted by the Solaris 10 compiler
commit 00f189f78ca5dcaf9917e231ddaef2b4398db0b5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:30:05 2010 +0200
s4:smb_server/blob.c - remove unused code
Spotted by the Solaris 10 compiler
commit 4f029f6f1b443db0762c3bac275415b385c26435
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:23:15 2010 +0200
s4:dsdb/new_partition.c - remove the "ldb_next_request" call which we find also below the "if" block
commit 17a5c876a69156843a8f4acca0e52e08845511fd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:21:22 2010 +0200
ldb:ldb_map_outbound.c - "ldb_parse_tree_collect_attrs" - remove unneeded return value
commit 8e9d7e84f6d4a0cdc4ed6d1a8a20c1fc88cefb76
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:16:15 2010 +0200
ldb:ldb_modules.c - "ldb_dso_load_symbol" - remove unneeded caste before "dlsym"
commit 657045ca9aa4abe11088127a05d697e5ae99a5c9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:10:14 2010 +0200
s4:ldb - "ldb_dn_update_components" - fix free of invalid DN parts
Use "LDB_FREE" for such free operations and in addition wipe also the casefolded
DN out.
commit f1e92c91b21b354802b8e342e414d62368820b43
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:07:51 2010 +0200
ldb:ldb_dn.c - "ldb_dn_set_extended_component" - free the linearized string when the components change
commit 0f0d9aa9b5959a12385c2b79d7dd35e9d081033c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:04:24 2010 +0200
s4:ldb_dn.c - make the code parts which free extended components consistent
Cosmetic
commit 1e04f49ddbfaa002ba930f2b79883ed3688e1ea8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 21:59:37 2010 +0200
ldb:ldb_dn - "ldb_dn_explode" - move the "dn->comp_num" initalisation upwards and use "LDB_FREE" for freeing "dn->components"
Mostly cosmetic - no behaviour change
commit be7bff5eb59f903fdf8ea35f4dd330ec4313df76
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 19:57:06 2010 +0200
s4-smbtorture: remove some pointless mem_equal tests in LOCAL-NDR-WINREG testsuite.
Guenther
commit 92f3e143b7b89ce25b996d6e68f130bbd7142af5
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 17:19:28 2010 +0200
s4-smbtorture: handle NT_STATUS_NOT_IMPLEMENTED in GetForestTrustInformation test.
When skipping over it, we can at least verify the credential chain.
Guenther
commit 5bc77c8778dda8e688c1eff0167c67fa19b31d75
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 17:16:25 2010 +0200
s4-smbtorture: use TEST_MACHINE_NAME in test_netr_GetForestTrustInformation().
Guenther
commit b31ff0537a22ec35bc457066002709dcfc9d66ae
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 17:13:01 2010 +0200
s4-smbtorture: add netr_GetForestTrustInformation test to RPC-NETLOGON.
Guenther
commit 62e2d4a504e69d4d1038fa158277783dafddefac
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 14:54:43 2010 +0200
s3-utils: remove rpccheck.
Impossible to get this to compile after the conversion to pidl.
Guenther
commit 0e21b4ffa067237ed2c3037216c14a955f339e51
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 14:48:25 2010 +0200
Revert "s4/dsdb: Fixed partition_search() not to pass special DN's to LDAP backend."
This reverts commit ed4c107bc1eac8531fdd8d09f7698efcbc7ecb14.
See post "Endi's Bug 7530 patches (LDAP backend)" on samba-technical.
commit 2198831e6b7c112b8f7551fccb25305742636df2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 14:52:43 2010 +0200
Revert "s4/auth: Fixed authsam_expand_nested_groups() to find entry SID if not available in the DN."
This reverts commit fa9557fee3ca546878d99b77f1ff37f724c37024.
See post "Endi's Bug 7530 patches (LDAP backend)" on samba-technical.
commit 1662e383dd890d48e0e1207a51d4b3f9fb12ab65
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 12:26:24 2010 +0200
s4-smbtorture: add NDR torture test for winreg_QueryMultipleValues2.
Guenther
commit 7ae7750c4085b2d95b46fa4433586e9a68d593ae
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 12:14:02 2010 +0200
s4-smbtorture: add RPC torture test for winreg_QueryMultipleValues2.
Guenther
commit c02cbaae34bd27826ba13f98fc40a396b0e1530d
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 12:04:56 2010 +0200
winreg: fix winreg_QueryMultipleValues2 IDL.
Guenther
commit bf07bf2857517b0972f47f5e9b46b7bde80c041b
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 11:40:24 2010 +0200
winreg: fix winreg_QueryMultipleValues() IDL and torture tests.
Guenther
commit ee01fe8c5bd450c82db3f7a7e8c783ac32b0812d
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 29 10:42:36 2010 +0200
s3-client: Make sure we only write to an opened file.
Found by clang-analyzer.
commit f324036e76abb0b572fb65c4c403e7ede259682a
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 29 10:34:17 2010 +0200
s3-winbind: Make sure we crash if domain is really not found.
Found by clang-analyzer.
commit eb7bf9d7309914fb2207f822e8017e1c1001de46
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 29 10:07:22 2010 +0200
s3-net: Make sure we don't call free on garbage.
Found by clang-analyzer.
commit 1db7356fa17cb3aeffcf4aff2149eaceaa5a62ea
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 13:20:18 2010 +0200
s3-net: Use talloc_asprintf and return if file is in wrong format.
Found by clang-analyzer.
commit e52f3d8637c7af2f0ea57954c7f13389f5a1e125
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 21:00:30 2010 +0200
s3-librpc: Fixed GUID_from_data_blob() with length of 32.
If we hit the case that the blob length is 32. The code goes to the end
of the function and generates a GUID with garbage.
So try to convert the blob to the GUID and return.
commit 845e7a609d23677539d9439b941e0dffb53f6bc9
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Jun 29 11:46:22 2010 +0300
Fixed incorrect use of cn instead of lDAPDisplayName
commit cc7c572b3d87d2bd16cd7ec939a2d8a81bf36ef9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 21:15:43 2010 +1000
s4:secrets Ensure secrets.ldb uses the same hooks as the rest of Samba
This ensures that, for example, the utf8 functions are the same,
the GUID handler is the same and the NOSYNC flag is applied.
Andrew Bartlett
commit 48c8896f2ede1c441a1448c2e45106a317b64832
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 24 09:42:40 2010 +1000
s4:selftest Split out PKINIT tests from test_kinit.sh and test enc types
This allows us to run the PKINIT tests only against the main DC (for
which the certificates were generated), while testing the available
encryption types in each functional level.
In particular, we need to assert that AES encryption is available in
the 2008 functional level.
Andrew Bartlett
commit d76e4852ebf6ebaaa0e59b481c4b17ac15310aec
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 24 09:40:16 2010 +1000
s4:kdc Rework the 'allowed enc types' calculation
This changes the calculation to apply the allowed enc types to all
uses of the key (no point allowing a weak kinit to a key the server
wanted strongly protected). It also ensures that all the non-DES keys
are available on the krbtgt in particular, even as it does not have a
msds-SupportedEncryptionTypes attributes.
Andrew Bartlett
commit f41e71109744cbacfcbf6b8cf545e1f322d68494
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 24 10:03:29 2010 +1000
s4:auth Query LDB for msds-SupportedEncryptionTypes for the KDC
The KDC needs this to determine what encryption types an entry supports
Andrew Bartlett
commit 5167b97ff2d77ef28c59bb36988835ae421f027b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 28 23:19:16 2010 +1000
s4:kerberos Add functions to convert msDS-SupportedEncryptionTypes
This will allow us to interpret this attibute broadly in Samba.
Andrew Bartlett
commit 9fc3f8194d55c20e1d5404301a0663888c4a0ba5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 28 23:17:28 2010 +1000
s4:libnet_join Fix typo in msDS-SupportedEncryptionTypes
commit 94637e5fe4724261f1cd5f48d8641e82f4b776ae
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 28 23:14:23 2010 +1000
s4:provision Add an msDS-SupportedEncryptionTypes entry to our DC
This ensures that our DC will use all the available encyption types.
(The KDC reads this entry to determine what the server supports)
Andrew Bartlett
commit 30dc87dab98a864ea640fb1df693b6eb8df6a920
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jun 28 13:40:32 2010 +1000
build: only use git when found by configure
this rebuilds version.h whenever the git version changes, so we always
get the right version with samba -V. That adds about 15s to the build
time on each git commit, which shouldn't be too onerous
commit 3774ba350e6b828512e693b982e0927877cd13eb
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jun 28 13:39:00 2010 +1000
build: allow LOAD_ENVIRONMENT() to pass when no configure has been run
this returns an empty environment
commit 8cbd36afe84685ee1e289fee11065d3eb0cadc22
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jun 28 12:07:55 2010 +1000
build: allow always=True/False on SAMBA_GENERATOR()
this allows us to force a rule to always run. Will be used by
samba_version
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 1e8876a4f1b49a614bc478ae68b067e8cf6aec62
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 20:46:39 2010 +0300
s4/repl_meta_data: remove duplicated (and commented out) log
commit 12bc68d4d0d62c72c3a2b86a38c20238b6e387d7
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 20:43:11 2010 +0300
s4/ndr: Fix tuncating of constant to a 'long' type
commit e6371246ef8a6e0f27880d81ef041e9959b22322
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 23:12:10 2010 +0200
s4:lib/registry/ldb.c - add a missing brace
Sorry didn't check that earlier.
commit ba01b216e23ddae9961f7120792969fc2fe075b1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 21:17:37 2010 +0200
s4:lib/registry/ldb.c - fix memory handling in "ldb_open_key"
commit 094c1034d2fb11e746261ff5b5048cd52fce2938
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 21:15:17 2010 +0200
s4:lib/ldb/registry.c - handle the classname in the right way
This is for "ldb_get_key_info".
commit 2fb3d8a6cc94bd74974a2cc11996a2032774b08c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 20:11:09 2010 +0200
s4:lib/registry/ldb.c - remove really useless "local_ctx"
"mem_ctx" should fit for these few local allocations.
commit 3935502c67edd436134bac0c663ed3d5b593ec32
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 16:17:16 2010 +0200
s4:lib/registry/ldb.c - retrieve the classname correctly in "ldb_get_subkey_by_id"
commit 77e87e66b0e783cd0717f3fed885fcde629aa434
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 16:06:39 2010 +0200
s4:lib/registry/ldb.c - change the "ldb_get_value" implementation to use the value cache and not an LDB lookup
In addition this fixes the use of special characters in registry object names.
commit 3549425b30f00adfbee7e2a16f35a17c8e4cd2f8
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Mon Jun 28 13:39:28 2010 -0400
s3: Change exit on immediate socket failure.
This change makes it so socket errors early in the smbd child
process cause orderly exits not coredumps.
Signed-off-by: Jeremy Allison <jra at samba.org>
commit b6eb17eb1eb23461149b6c8cbefc41f5265a77d9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 20:26:16 2010 +0200
s4:auth/sam.c - "authsam_expand_nested_groups" - small performance improvement
We can save one search operation if "only_childs" is false and when we had no
SID passed as extended DN component.
commit a782eaa2fd6f9b7e7b1ebdab0e0b53e4123cca43
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 20:25:47 2010 +0200
s4:auth/sam.c - "authsam_expand_nested_groups" - cosmetic/comments
commit 03ffed73db41e9433ddc41a6fddf79c2a632a043
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 19:57:12 2010 +0200
s4:auth/sam.c - "authsam_expand_nested_groups" - use "dsdb_search_dn" where possible
And always catch LDB errors
commit 5f9a053d6367fe85f0bb4d18eea658411685b1cc
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Jun 28 20:10:08 2010 +0200
selftest: Remove accidentally committed dummy test.
commit 7cb98a0cdcef27f591357ec63633b50fd9dce29f
Author: Endi S. Dewata <edewata at redhat.com>
Date: Mon Jun 28 11:13:03 2010 -0500
s4/spnupdate: Fixed spnupdate to use secrets credentials when accessing SamDB.
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 5bee3efacac76fdf8753a7c7cb2845bf6058d088
Author: Endi S. Dewata <edewata at redhat.com>
Date: Mon Jun 28 11:18:16 2010 -0500
s4/libcli: Register LDB_CONTROL_REVEAL_INTERNALS and DSDB_CONTROL_PASSWORD_CHANGE_STATUS_OID controls.
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit ed4c107bc1eac8531fdd8d09f7698efcbc7ecb14
Author: Endi S. Dewata <edewata at redhat.com>
Date: Mon Jun 28 10:54:37 2010 -0500
s4/dsdb: Fixed partition_search() not to pass special DN's to LDAP backend.
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit fa9557fee3ca546878d99b77f1ff37f724c37024
Author: Endi S. Dewata <edewata at redhat.com>
Date: Mon Jun 28 10:45:04 2010 -0500
s4/auth: Fixed authsam_expand_nested_groups() to find entry SID if not available in the DN.
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit ba0ba4e85b6c248cfc8079d6db9b8a22e55f7336
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 28 16:54:56 2010 +0200
s3: Make some routines static in smbldap
commit 4fc51ad07a1787241a4065d35c0d2783661e3a6a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 11:25:43 2010 +0200
s4:repl_meta_data LDB module - fix counter type
commit fc2d8fcb83909845e4b4676ba37143dcb778d5ff
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 11:25:43 2010 +0200
s4:acl LDB module - fix counter type
commit e5c5d371d144847ce1fbb8daa634d6bfbc1af1ac
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 11:21:56 2010 +0200
s4:dcesrv_drsuapi.c - fix a counter variable
commit 666b611182562ad787d349f3a29c07c61339eee0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 11:08:19 2010 +0200
s4:selftest - also "rpc.samr.users.privileges" does work now
commit 4826fdf95f68b63e5d35e13f8d033db0d0949587
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 11:05:59 2010 +0200
s4:lsa RPC server - Fix up "dcesrv_lsa_DeleteObject"
- Return always "NT_STATUS_OK" on success
- Remove "talloc_free"s on handles since the frees are automatically performed by
the DCE/RPC server code
commit d01e36e64716d8184eb225e1feb84ab464333139
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 10:45:26 2010 +0200
s4:knownfail - "pwdLastSet" test does work now
commit 560617399745cd04ddbe8ebe02662d631add9a05
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 10:43:11 2010 +0200
s4:torture/rpc/samr.c - test_SetPassword_LastSet - introduce the delays also for s4
commit c0160d0614ad74be275d4008559a45da3d79d2e7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 15:47:14 2010 +0200
s4:torture - SAMR password tests - activate support for password sets on level "18" and "21"
commit b200d8a5ca2d58f5351b6963c864aa52db925f65
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 22 22:11:00 2010 +0200
s4:selftest - activate the lanman password changes
This is needed for a working "OemChangePasswordUser2" operation.
commit d6098de507ed46750ecd8063c075c5b1b2b3d32d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 22:26:31 2010 +0200
s4:dcesrv_samr_SetUserInfo - implement right "pwdLastSet" behaviour
Behaviour as the torture SAMR passwords tests show.
commit 3c1a9fb87fe165485abaa694e9d9616e46c8cf6e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 27 23:13:14 2010 +0200
s4:dcesrv_samr_SetUserInfo - deny operations when "fields_present" is 0
Taken from s3
commit ea83d21341306dfab1f14c9491856a9414a29669
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 14:54:19 2010 +0200
s4:dcesrv_samr_SetUserInfo - port the "SAMR_FIELD_LAST_PWD_CHANGE" check from s3 to s4
commit 4c63bb312fa33f6188e543a62282012edb651bbb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 14:41:27 2010 +0200
s4:dcesrv_samr_SetUserInfo - implement password set level 21
commit b7050267717d7fba0ee4c6bf375e3cc9d2864717
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 14:40:11 2010 +0200
s4:dcesrv_samr_SetUserInfo - implement case 18 which allows to reset the user password
commit 8feda76d4fb4dac680b13e3234925802fb32e7f1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 22:59:11 2010 +0200
s4:OemChangePasswordUser2 - return "NT_STATUS_WRONG_PASSWORD" when we haven't activated the the lanman auth
This is what s3 does.
commit 8f20a5512a91cb9c6e2e50040cd0b61d39521d69
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 21:16:20 2010 +0200
s4:samr_password.c - add a function which sets the password through encrypted password hashes
Used for password sets on "samr_SetUserInfo" level 18 and 21.
commit 427c95327371d42304594cf32ce8726194a286e5
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 28 14:47:16 2010 +0200
s4-smbtorture: fix typo.
Not my day...
Guenther
commit f2e0ca2662af172868c5a06bd41177cfd8b2aa93
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 10:24:28 2010 +0200
s4:torture/rpc/samr.c - test_SetPassword_LastSet - fix "pwdLastSet" test
- Remove superflous checks (on level 18, 24, 26 we do always have "pwdLastSet"
resets if "password_expired" > 0)
- Fixed some bugs
Signed-off-by: Günther Deschner <gd at samba.org>
commit c5bab3ea33ac6815cc08d5db4bc7e5fc175d8ebd
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 28 14:08:30 2010 +0200
s4-smbtorture: add trustDomainPasswords blob test to LOCAL-NDR testsuite.
Our parsing of this struct is incorrect atm. and apparently also causes the s4
server to crash.
Thanks to Sumit Bose <sbose at redhat.com> for providing the auth data retrieved
from a w2k3 domain.msc operation.
Guenther
commit 158504381e8b2a02915212c69ddcd41b95c5cfc3
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 28 14:04:47 2010 +0200
s3-registry: missed one perflib keyname delimiter.
Guenther
commit 121214df913a2082d2cc3689b322fcd5be60c492
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 28 14:08:11 2010 +0200
s3: More cleanup in winbindd_ads.c:query_user
We can't ads_msgfree after the ads struct has been killed. Do early returns.
commit 8707be6d7587217a62abdedf2b4294e31c261260
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 28 13:51:51 2010 +0200
s3: Fix a valgrind error
nss_get_info_cached does not necessarily fill in gid
commit 09a9cc32ee611c20c0e3384c404dd39f615b89ed
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 28 11:52:26 2010 +0200
s3: Re-arrange winbindd_ads.c:query_user
We can't access the LDAP message after nss_get_info_cached has potentially
destroyed the ads_struct
commit a67080457926baa044265d46b7286737f4f5913a
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 28 11:21:03 2010 +0200
s3: free -> SAFE_FREE
commit c79e0c0ce4a6689a6cd8ded7cb273d17b6be6211
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 28 11:20:23 2010 +0200
s3: Do an early TALLOC_FREE
commit 658048ecbc417a9632e32f64107f4d31d3dea725
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 28 13:15:06 2010 +0200
s3-registry: fix printing keyname delimiter.
Guenther
commit 3d24040ac6ffec9d6f59ee4e2468548570ee7241
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 28 13:14:36 2010 +0200
s3-registry: fix perfmon keyname delimiter.
Guenther
commit 0c579bc3e65388e22f4d4d52c6edcda71cf2cc06
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 12:54:11 2010 +0200
s3-net: Make sure that the data blob is initialized.
Found by clang-analyzer.
commit f8b6ac6a08138b247bb00ec1d238a56c9b2d13c7
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 11:48:15 2010 +0200
s3-eventlog: Fixed the keyname delimiter for the registry key.
commit 378cd5dc3833c1e1c7d113b3b05b5c41135d6c1e
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 11:37:28 2010 +0200
s3-registry: Fixed keyname delimiter in KEY_CURRENT_VERSION_NORM.
commit e716924590150faf1b0ec46a64c84d37eef0d526
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 11:19:18 2010 +0200
s3-smbd: Make sure that status is initialized when used.
Found by clang-analyzer.
commit 6ac050f73f7be0d49003e4c9053826620f5e3c6c
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 11:16:19 2010 +0200
s3-lanman: Make sure count is not used uninitialized if we jump to out.
Found by clang-analyzer.
commit d11e184ed25e6a89ecfbe24673008d7adf5e770a
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 11:13:24 2010 +0200
s3-vfs: Make sure that retval isn't used uninitialized.
Found by clang-analyzer.
commit ac5600fc7e996bdde23666bc96a834044556c85f
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 11:06:22 2010 +0200
s3-passdb: Make sure dn is initialized and don't free it.
dn is just a pointer to a memory which hasn't been duplicated.
Found by clang-analyzer.
commit 6d89116afe89e29d4e9bd0d69f7032a2b47f4c07
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 10:58:08 2010 +0200
s3-passdb: Make sure we don't call free on a garbage pointer.
Found by clang-analyzer.
commit 06a1766315e775062ba5277be0f739e735cc3547
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 10:49:55 2010 +0200
s3-lanman: Make sure that job_info is not undefined.
Found by clang-analyzer.
commit 459a1d58b1b5f90320a843234067654959fab8b1
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 10:44:58 2010 +0200
s3-nmbd: Leave the sync function if there are no syncs.
Found by clang-analyzer.
commit 34de8a00dd69d8ffba98babf141f484da54a472a
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 10:33:47 2010 +0200
s3-libsmb: Make sure that finfo is initialized.
Found by clang-analyzer.
commit b6100fa72f2f7e42f49538117846c973e2154b00
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 28 12:51:28 2010 +0200
s3-eventlog: make sure _eventlog_OpenEventLogW fails when we cannot open the registry key.
Guenther
commit c4d5cbbdc52504b950b082b8340e32735d48e92c
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 28 12:26:17 2010 +0200
s3: Fix some valgrind errors
Essentially the same change as 15297ee, this time for the client side.
Günther, Andrew B, please check!
Thanks,
Volker
commit a81b97ff340e021c3d2a7ddfe44ec09cc2b9f0d5
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 10:03:50 2010 +0200
s3-passdb: Make sure that we don't assign garbage.
commit dc2e41a16ab5c203d73bfc6e9f368820221ee3ea
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 10:00:39 2010 +0200
librpc: Use switch in GUID_from_data_blob().
commit b46eccfb1983c3107bcce2b8b5689e37cf3ec55f
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 09:30:29 2010 +0200
nss_wrapper: Fixed a possible NULL pointer problem.
commit bdfba236e9aebd6c277851efdb7ee57620810282
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jun 28 09:57:33 2010 +0200
s4:ldap_server: don't start if we can't bind to port 389
metze
commit 5a18fc2b2a520977440e301d816bdf11ac966bc2
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon Jun 28 10:34:14 2010 +0300
Implementation of self membership validated right.
When this right is granted, the user can add or remove themselves from a group even
if they dont have write property right.
commit a0bb31df5d48ddd346728971ff4e0506b8304d9a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 04:37:37 2010 +0300
s4/test: Run DrsDeleteObjectTestCase as part of S4 testing
I put this test in the end of the list of tests as it
runs with 'vampire_dc' environment running.
Currently there are tests that are failing when we have
2 DCs constantly replicating in the test environment
(this, of course, should be fixed in the near future)
commit 431386f3278bfa6fa9b74db9a8a40fd300621c2b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 04:33:40 2010 +0300
s4/drs: re-implement 'renaming' object replication
We should rename objects only after we make sure, that
changes on the partner DC are newer than what we have.
This fixes a bug, when we have following situation with 2 DCs:
- we have an object O on the two DCs
- we rename (delete) object O on DC1
- DC1 replicates from DC2
In the above scenario, object O will be renamed back
to its original name (i.e. it will be restored).
Now, we check that DC2 state is older than what we have,
so nothing happens with object's DN.
commit 46556432c067bfd651e79ecd370ff3d18ae83bd7
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 04:27:27 2010 +0300
s4/drs-test: Add few comments in DrsDeleteObjectTestCase test
Also remove unused code
commit 6f6365daba99c03788fc33a226467964825578db
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:58:45 2010 +0200
s4:rpc_server/srvsvc/dcesrv_srvsvc.c - remove unreachable code
commit f12dab8e00026a381296b6f5fbf5bac98af49627
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:58:45 2010 +0200
s4:rpc_server/wkssvc/dcesrv_wkssvc.c - remove unreachable code
commit 3c3ecf40e5bb0f81b8c0aa094384d7c3ee0e48bd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:58:45 2010 +0200
s4:rpc_server/lsa/dcesrv_lsa.c - remove unreachable code
commit d85d6054c98b4c164075e19175ac64e1b6f9acab
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:55:07 2010 +0200
s4:lsa/lsa_lookup.c - use a better type for the "rtype" of the wellknown SIDs
To suppress warnings on Solaris 10
commit 3f2e9ce2b40f67de8ef8488551b72f90fbc06315
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:45:45 2010 +0200
s4:rpc_server/drsuapi/drsutil.c - remove unreachable code
commit e5e4184e5a599c07e3814a3e7913a5caadd8c5f6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:45:45 2010 +0200
s4:rpc_server/dcesrv_auth.c - remove unreachable code
commit 75d6842c4087cd9f204b8beafaa88f1fac7cf999
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:43:51 2010 +0200
s4:winbind/wb_samba3_protocol.c - add cast to suppress warnings on Solaris 10 cc
commit 0c29224da36e06aa5b395496ca1050be3f4e8df2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:43:51 2010 +0200
s4:kdc/kdc.c - add cast to suppress warnings on Solaris 10 cc
commit c8a5ed8db9a765434db3d5e6037f4acfa33fd0e6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:42:29 2010 +0200
s4:kdc/kpasswdd.c - remove unreachable code
commit c7b52b233e265dd7990dce0f6113aaee5b01ac4f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 11:10:55 2010 +0200
s4:provision.py - fix comment regarding DNS entries
I think this should mean partially Samba4 specified (all beside the "dns"
account is standard)
commit 50da834f136e4ed2f1bd29b0e1b12c941f933c7c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jun 25 15:10:32 2010 +0200
s4:provision: add entries for root dns servers
metze
commit 6ab234cec9e1ed13ffd5d2d117417f7dd71c44f1
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jun 25 13:32:39 2010 +0200
s4:provision: move Samba4 specific DNS stuff to its own file
metze
commit c6b21931c6574322c8740f1a67f9125437c42c0d
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jun 25 14:01:21 2010 +0200
s4:provision: add --next-rid option
Make it possible to provision a domain with a given next rid counter.
This will be useful for upgrades, where we want to import users
with already given SIDs.
metze
commit 7905901bc018ec91c69368dedd906c1cf89103f3
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jun 25 12:47:34 2010 +0200
s4:dsdb/ridalloc: add comment about windows behavior regarding rIDUsedPool
metze
commit 712a149802e9613f105861e838a29bb226e62e02
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jun 25 11:11:56 2010 +0200
s4:provision: don't use hardcoded values for 'nextRid' and 'rIDAvailablePool'
On Windows dcpromo imports nextRid from the local SAM,
which means it's not hardcoded to 1000.
The initlal rIDAvailablePool starts at nextRid + 100.
I also found that the RID Set of the local dc
should be created via provision and not at runtime,
when the first rid is needed.
(Tested with dcpromo on w2k8r2, while disabling the DNS
check box).
After provision we should have this (assuming nextRid=1000):
rIDAllocationPool: 1100-1599
rIDPrevAllocationPool: 1100-1599
rIDUsedPool: 0
rIDNextRID: 1100
rIDAvailablePool: 1600-1073741823
Because provision sets rIDNextRid=1100, the first created account
(typically DNS related accounts) will get 1101 as rid!
metze
commit 89f94a43d89c9c0238f7b1d3d294175f8482adf9
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jun 25 12:27:27 2010 +0200
s4:provision: pass relax control also to modify_ldif
metze
commit 2f7fe9db023022c03e104dcc43a39f20bf5c804b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 25 15:56:35 2010 +0300
s4/net-drs: Fix error messages typo and formatting
commit 0c8ffc9f15bddeeee66b3a6971691aadf76b245e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 25 14:56:03 2010 +0300
s4/drs-test: Fix whitespaces and permissions for delete_object.py test
Sorry I've missed to do this before
commit e40afe975accd8199ffe54ea9f3c4dedd02edb02
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 25 21:51:23 2010 +0200
Move UCS2 macros to common code
commit afc6d2f46d6aed07f828ef2f0aa6b62250468132
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 25 13:29:00 2010 -0700
Don't use frame as the talloc ctx in open_schannel_session_store(), as this breaks running from inetd
(we free frame below). Use NULL instead.
Jeremy.
commit 86be54ec61153d6ecd6967fa0f8c65880bbb088c
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 25 12:02:08 2010 -0700
Change talloc_autofree_context() to frame in Andrew's schannel.tdb TDB_CLEAR_IF_FIRST
changes. Using talloc_autofree_context() has undesirable effects when forked
subprocesses exit.
Jeremy.
commit c84b74dddd6c74ad28597f069a43a0a3d334b04a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 10:37:13 2010 +1000
schannel Change to TDB_CLEAR_IF_FIRST to reduce fsync()
By making this DB TDB_NOSYNC, and by making that safe with
TDB_CLEAR_IF_FIRST, we greatly reduce the fsync() load on the server.
This particularly helps the source4/ 'make test', which otherwise tries
to disable fsync() in ldb.
Andrew Bartlett
Signed-off-by: Jeremy Allison <jra at samba.org>
commit cfece164981142168aa6c846c7433f0459fb6de7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 10:36:32 2010 +1000
s3:schannel Open the schannel_state.tdb at startup
This will allow future TDB_CLEAR_IF_FIRST behaviour
Signed-off-by: Jeremy Allison <jra at samba.org>
commit 58d0b638c802241655b205b1974e48f477c2eaeb
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 10:33:15 2010 +1000
s4:schannel Open the schannel_store.tdb at startup
This will allow TDB_CLEAR_IF_FIRST behaviour in future
Signed-off-by: Jeremy Allison <jra at samba.org>
commit 825b2f456c136b33d139ee76e58426437bce65b8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 10:31:50 2010 +1000
libcli/auth make open_schannel_session_store() public
This will allow TDB_CLEAR_IF_FIRST to be used
Signed-off-by: Jeremy Allison <jra at samba.org>
commit 6d973607c3bfec6d82347727b1bf800348c74202
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 25 18:13:06 2010 +0200
s3:registry: use regdb_store_regdb_version() in regdb_init().
commit 2f44dcc96b5a02379995c8ba6270ff8d89e56953
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 25 18:12:28 2010 +0200
s3:registry: use regdb_store_regdb_version() in regdb_upgrade_v1_to_v2()
commit 5641ee02fdbd768b90ca8de43ce2f14b007e4245
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 25 18:11:35 2010 +0200
s3:registry: add a function regdb_store_regdb_version()
commit a9bec6b779edd2feead5fae5cb25cf1f862eaaf2
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 25 18:04:52 2010 +0200
s3:registry: rename regdb_upgrade_to_version_2() -> regdb_upgrade_v1_to_v2()
commit 36b95fee152d348926fad1bcdc9f05312bb2aad5
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 25 17:26:34 2010 +0200
s3:net [rpc] registry: be as user-friendly as possible wrt to the normalization change
The registry has been changed to use '\' as a key delimiter instead of '/'.
Originally, one could mix both characters in the specification of registry
key for net [rpc] registry. Now this can not work any more, since '/' is
generally treated as a valid character of a key name.
Now, to be as user-friendly as possible, the net [rpc] registry code has
been changed to still support '/' as a key name delimiter if no '\' character
is found in the given registry path string. In that case, all '/' characters
are converted to '\' characters before proceeding. If on the other hand,
a '\' character is found in the path string, then no conversion is assumed,
and it is hence assumed that the path is already in the correct form and
'/' characters are supposed to be part of the key names.
commit 8e4f8128234f0015c9d63bb18821487bb3e7b06e
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 25 14:34:04 2010 +0200
s3:registry: improve logic of upgrade code in regdb_init()
Don't overwrite unknown versions (0 or > 2) of the registry.
commit 3703b79b11eecf3d8f2232b400bb8a2dd5b55876
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 25 12:32:22 2010 +0200
s3:registry: fix some debug messages in regdb_ini()
commit 15bacaf3c594ac24cf26b0329723e873a5cae43d
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 24 16:33:37 2010 +0200
s3-registry: Convert registry key delimiter from slash to backslash.
This is needed to support keynames containing a '/' like TCP/IP. Which
is used in serveral standard paths.
Signed-off-by: Michael Adam <obnox at samba.org>
commit f540833632ffe2c743e90ef9df1627e69b7a0c7b
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 24 15:26:04 2010 +0200
s3-registry: Added a db upgrade function to normalize the key delimiter.
This converts the key delimiter from a slash to a blackslash. We need to
support keynames with a backslash.
Signed-off-by: Michael Adam <obnox at samba.org>
commit 175d9478fea24812046299be6a0224bdc699feb9
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 25 17:06:00 2010 +0200
s3: In make_server_info_info3, check the result of copy_netr_SamInfo3
commit 17cd3d06cb00db9a94375e00aa42832e25c05726
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 25 16:56:38 2010 +0200
s3: In copy_netr_SamInfo3 copy all of the sids array
commit 7cf04431594e09043b3b53144fc8511d20b088ee
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 25 11:47:30 2010 +0200
s3: Fix a winbind crash
nss_get_info_cached might deep inside sequence_number() invalidate the
ads_struct without telling its callers.
commit a9523f17ea2cd85a130e081f3a89cffbee1fdc06
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 22 15:59:44 2010 +0200
s3: Fix a winbind crash
nss_get_info_cached might have invalidated "ads" deep inside.
commit 5c98ccd70601c475f3bcb34e6a233069c9f542f6
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 22 00:58:48 2010 +0400
s4 python: Add unit tests related to PyLong/PyInt handling
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 3fc9675e93c3bfb3381b06bce3d2b130952e9026
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 22 19:57:22 2010 +0400
ldb: Fix a wrong changetype in unit test
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 7703b89ae57d76a3246db7489c77c9de848ea832
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 21 10:48:58 2010 +0400
pidl: Finish to fix the python generated code for 64bit integers
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 0802f354ea837b8884c861d6d98f20aa746e4445
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 25 02:40:37 2010 +0200
smbtorture: Fix loading of --load-list.
commit 653b30f91f7f9e13f16d5d6134adaa04b0675257
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 25 02:35:29 2010 +0200
selftest: Clarify generation of idlist option.
commit 408a3aa3085e783523ed80bb328a3c65159900ab
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 16:06:11 2010 +0200
s4:lib/registry/ldb.c - cosmetic - fix comment
commit 14386e6ec50b55039be6a719a17b185e651ee025
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 16:05:31 2010 +0200
s4:lib/registry/ldb.c - cosmetic - wrap lines
commit 92cfc632871e742dedf26ebd43ac789ebed0860c
Author: Michael Wood <esiotrot at gmail.com>
Date: Fri Jun 25 08:46:13 2010 +0200
s4 upgradeprovision: Try to support older Pythons.
Use "...".split(sep, 1) instead of "...".partition(sep).
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 163ed44903fd6d9bf3047d0987bcbb8f0a28e7e2
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 25 04:34:42 2010 +0300
s4/drs: DsReplicaSync should search partition to Sync
by any valid DSName attribute given, be it - partition DN,
partition GUID or partition SID
commit e40635c48d4b5853cbf463455e2ec90178375100
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 25 04:31:41 2010 +0300
s4/utils: fix few 'net drs replicate' error messages
mainly for the output to be more informative
commit 0dd6a759ed41960500e0869bfe96d93b2d11f50a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 25 04:30:21 2010 +0300
s4/drs-test: Tests Deleted objects replication
Tests how deleted objects are replicated between two DCs.
Currently the test exploits following vulnerabilities:
- DsReplicaSync is not correctly implemented
- a 'deleted object' is restored (kind of) in case DC1 replicates
from DC2 before the 'deleted object' is replicated
commit e0aa54d0ed25a55fd6b4f5d08644d37981572fdd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 25 01:21:14 2010 +0200
selftest: Store the output of the last test run in st/subunit.
If a testrepository repository is present, add the test output when it
has completed.
commit 700fcfbc63c4b20fcb35dc3c7ef50ed20117cf74
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 25 00:16:18 2010 +0200
pidl/python: Make sure to always increment reference counter when using
Py_None.
commit 4a75cb9cd5dfdd347803d03acbc0533c2e7e89cc
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jun 24 23:17:51 2010 +0200
pidl/python: Increment reference counter on Py_None to prevent us from
accidentally deallocating it.
commit 7e49a58ab9a66a709ee2a15d40db7c59bf55cbac
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Tue Jun 22 10:42:20 2010 -0700
s4 torture: Warn on NOT_IMPLEMENTED in addition to NOT_SUPPORTED for RAW-QFILEINFO
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit 2a0340baa35163d04537b0606f58ab77a1d39108
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 24 15:32:46 2010 +0200
s3:registry: remove unused function normalize_dbkey()
commit 5cac4e648c635f4f3a46a5878827414a2cb80366
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 24 15:31:06 2010 +0200
s3:registry: use normalize_reg_path() in regdb_set_secdesc()
instead of normalize_dbkey
commit 4c948251d97bea9429d3fa24f98814ac57f4d525
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 24 15:30:31 2010 +0200
s3:registry: use normalize_reg_path() in regdb_get_secdesc()
instead of normalize_dbkey.
commit 8ad01613f673a123304da889e6fed4909c619309
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 15:11:25 2010 +0200
Revert "s4:provision.ldif - fix the number of available RIDs"
This reverts commit 41cdcd54b7b7e3fb70fdb220e74a1daf30e1891a.
As per request of metze revert this (cause written on the mailing list).
commit 0f455362797308ccef7976d81317d6175bc59ea5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 11:05:41 2010 +0200
s4:auth/gensec/gensec_gssapi.c - reorder constructor
To have the same order as in the structure definition.
commit 0be1820718202bd73a0e756c35a9b21edbbc563b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jun 24 16:03:02 2010 +1000
s4-ldb: use CHECK_XSLTPROC_MANPAGES()
commit f6e46ee0fba25efecb78412a61270d7e70bb6f7d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jun 24 16:02:43 2010 +1000
build: check if the manpages stylesheet is available locally
this avoids trying to fetch the stylesheet from the internet. If we
can't process the stylesheet with --nonet at configure time then don't
build manpages.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 4cb423f52737d980132709fe63bc3194b9307880
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jun 24 14:33:58 2010 +1000
s4-python: python is not always in /usr/bin
Using "#!/usr/bin/env python" is more portable. It still isn't ideal
though, as we should really use the python path found at configure
time. We do that in many places already, but some don't.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 41cdcd54b7b7e3fb70fdb220e74a1daf30e1891a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 09:35:58 2010 +0200
s4:provision.ldif - fix the number of available RIDs
There should be 4611686014132422209 and not 4611686014132422109.
commit fec489bd8706a7dbb84589ff7f5da08550d86e78
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 09:23:32 2010 +0200
s4:provision.ldif - this Win2003 revision level seems always to be "9" on Windows Server 2008 machines
commit 64e19ef9fb85d31f9428a6714ce485de2704734b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 09:14:24 2010 +0200
s4:provision_users.ldif - change a group description to be correct
commit 560620a53df66ddbaa273afc9db796fc7562b53d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 09:06:49 2010 +0200
s4:upgradeprovision - fix include order for "ldb"
Patch originally posted on the list by Matthieu Patou.
commit e228b67e56ab63414055e64455a97ea0643803e2
Author: Endi S. Dewata <edewata at redhat.com>
Date: Wed Jun 23 07:26:25 2010 -0500
s4/ldb: ldb_msg_el_map_remote() should rename the remote attribute names into local names as defined in simple_ldap_map.c.
commit e88f37daa068f7effe6f11b8ff8aeb79316e6632
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 21:13:27 2010 +0100
s4:setup/provision.reg - raise version to Windows Server 2008 R2
commit b172b7f467e3c2968ec154fab38399b29ad63d9b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 23 17:30:10 2010 +0200
s4:libnet_join.c - always use LDB constants
commit f34db12d7f4a61757277d40153877338c4c9b55a
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 23 13:25:15 2010 -0700
Add parse_setjob_command() to make setting job state easier for users.
Jeremy.
commit ba40f3828180ba63debb4b3578c0e0faf16f6cbc
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 23 15:00:06 2010 +0200
s4-smbtorture: test more valid key names in RPC-WINREG.
Guenther
commit 2dc50ec44c4e9af144733f028122970be83332ba
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 23 14:59:27 2010 +0200
s4-smbtorture: more work on test values WINREG test.
Guenther
commit 740c97b513dfb43342eda700362f4b59de5d5b83
Author: Lukasz Zalewski <lukas at eecs.qmul.ac.uk>
Date: Wed Jun 23 10:05:50 2010 +0100
Fix to undo nasty hack for for grouptype conversion
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit c5d07d2a1a85f8ebc023d5647752ca36210bbe2b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 23 10:09:02 2010 +0200
Per Andrews request, revert
"heimdal/waf: Initial work on making it possible to use the system"
as the hdb_check_s4u2self function handling is incorrect.
This reverts commit b099631f428d0ecc641d59bd3c94674e6348dde9.
commit 714c926cf04c837902fdcfa097c51429f31ee581
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 23 12:09:35 2010 +0200
s4-smbtorture: add test for different winreg SetValue value names.
Guenther
commit ff5ace20a26f90179b63fe4730b7d81b77cca3fe
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 13:50:55 2010 +1000
s4:selftest Fix up netbios names for rpc_echo test
commit aba99e4464af8d74de01d45ecc0dda69fbd23fec
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 10:24:14 2010 +1000
s4:selftest For the moment the server role '2008_R2' is case sensitive
commit 58a7b9af3f139df70feeefe6d6875935e1eea832
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 09:53:20 2010 +1000
s4:selftest Change netbios aliases to shorter names.
This makes the netbios names more sensible, and the aliases shorter.
(the name localfl2008rc2dc7 was too long...)
Andrew Bartlett
commit 1acd49c524f40d27e1bef09e1dcc572863894b01
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 21 22:17:40 2010 +1000
s4:selftest Add 2003 and 2008R2 test environments and tests
These tests were chosen particularly because they are known to test things
that vary across the functional levels.
Andrew Bartlett
commit 86ed5eb8923e477f3336cbf4a0bedb69b2f3c288
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 21 21:41:49 2010 +1000
s4:net Remove warnings for 2000 native mode and Samba4.
We now support 2000 native mode, and so we just need to warn about mixed mode.
Andrew Bartlett
commit d0f52ddac23a0b1af3718627af00469ae13ab762
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 21 21:40:15 2010 +1000
s4:provision Raise default max functional level to 2008R2
We don't support many of the extra features, but that applies across many
other parts of AD. Allow the admin to join a 2008R2 domain if he or she wants.
This also makes it possible to test 2008R2 domain code in 'make test'
Andrew Bartlett
commit b26125b7d3242895038065ddece32554436ba474
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 21 23:18:53 2010 +1000
s4:provision Remove am_rodc from Schema
The SamDB created in the schema code isn't real enough to care if it's an
rodc or not.
commit ebc2da10cdd63e5151f9b1138f9da91b408830c9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 21 21:20:27 2010 +1000
s4:libnet When joining a domain, update msDS-SupportedEncryptionTypes
We need this for our DC to have clients use AES keys to us
commit c4482bf53e26c43edccb0871fa5525a590a1026c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 21 20:19:02 2010 +1000
libds:common Remove DS_DC_* domain functionality flags
These are just a subset of the DS_DOMAIN_ functionality flags, are compared and often confused with each other. Just make them one set.
Andrew Bartlett
commit 80701e5f29567e4ad75a66eb6c8711f817b361b8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sun Jun 13 13:19:23 2010 +1000
s4:kdc Use msDS-SupportedEncTypes in our KDC
We need to honour this, otherwise we will send AES-encrypted tickets
to unprepared Kerberos targets.
Andrew Bartlett
commit 06ed6667bece67de768f07f0381e551be2c742a9
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 23 10:59:55 2010 +0200
doc: Remove the documentation of the sequence command of wbinfo.
The command is deprecated, see --online-status.
commit 790d01cb2e9c04d0111b7a8c952596c496e69b38
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 23 10:58:37 2010 +0200
wbinfo: Document the deprecated sequence option correctly.
I didn't find a way in popt to hide it.
commit 7f8b3a26ecb657bb3c818f2b295648a56c093788
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 23 10:47:01 2010 +0200
s4-smbtorture: Fix test_SetPrinterDataEx_keys and test_SetPrinterDataEx_values.
We want to continue, not to skip here.
Guenther
commit 26a95463a614035a16192af157df874fd5554d13
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 23 09:53:23 2010 +0200
s4:operational LDB module - fix a misleading comment
commit eff7d2db312ba7e811ffc8985d6122fc852a39b5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 22:19:21 2010 +0200
s4:samr RPC server - make use of LDB constants in macros
commit 0e637be43b584aef9f5101d15ae5bdc1172c5502
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 19:40:50 2010 +0200
s4:password_hash LDB module - fix another problem regarding the lanman hash
When a user only provides only the lanman hash (and nothing else) and the
lanman authentication is deactivated then we end in an account with no
password attribute at all! Lock this down.
commit 37264e5917cace1582f41d6029a857fd4059eff6
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jun 22 12:19:05 2010 -0700
Fix bug 7528 - Solaris with NIS autohome.
Ensure entries containing "\n" are stripped.
Jeremy.
commit 1e897f656104f29769b204dc443f1684395d8173
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 22 15:45:45 2010 +0200
s4-smbtorture: add "printerdata_values" test to RPC-SPOOLSS-PRINTER.
Guenther
commit 13ede2bf7a75b2b52132954684f23ad5a89a83a1
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 22 15:25:01 2010 +0200
s4-smbtorture: also test keynames with '/' in it in SetPrinterDataEx keyname tests.
Guenther
commit e439b6cb8ceb01d930bd8ec2d7b9c79ebca5647e
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 22 15:22:03 2010 +0200
s4-smbtorture: activate all keys in SetPrinterData keys test.
(just skip some of them still against s3).
Guenther
commit c31ffaf5872292c610394406cf8e8ce61d8439c5
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 22 14:55:20 2010 +0200
s4-smbtorture: split out a "printerdata_keys" test for RPC-SPOOLSS-PRINTER.
This separates key and value tests for SetPrinterDataEx and GetPrinterDataEx
(and also speeds up the whole testsuite).
Guenther
commit df96f18e8ff3400d1bb7e9743498936ad32ee005
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon May 31 10:02:38 2010 +0200
testprogs/win32: add prepare_dcpromo tool
This tool can set the DOMAIN-SID and nextRid counter in
the local SAM on windows servers (tested with w2k8r2)
dcpromo will use this values for the ad domain it creates.
This might be useful for upgrades from a Samba3 domain.
metze
commit efe65cd7b707c3ba5b321016829da431d6905415
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jun 22 04:42:15 2010 +0300
s4/dsdb-test: fix usage comment
commit acebfcb93897657a28f0a4588a19abcf5356ebcf
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jun 22 04:41:49 2010 +0300
s4/test: fix DC password in selftest-vars.sh
commit c668b21cd6460e3baa12f8ef0375a58ee6b2d1d2
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Thu Jan 21 18:18:03 2010 +0000
s4 torture: RAW-SFILEINFO display warning instead of error on unsupported info level
Also add a test to make sure setting the directory attribute is
disallowed.
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit f5709975c1671dc23471a81b2a6523138d98a74b
Author: James Peach <jpeach at samba.org>
Date: Mon Jun 21 14:11:58 2010 -0700
smbtorture: Fix missing includes.
commit 32f82fbec0a4dab0c3679dae6951535c2e1ca396
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 21 11:24:18 2010 +0400
s4 upgradeprovision: fix the logging stuff so that it actually log
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 15297eea0e6b1e95ddb9e2ccd25ff454a405c351
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 21 22:20:10 2010 +0200
s3: Fix some valgrind errors
With -d 10, there were a ton of uninitialized variables: The "NegotiateFlags"
in the automatically parsed ntlmssp structures were not initialized.
This also cleans up the talloc use a bit: do early TALLOC_FREE()
Günther, please check!
Thanks,
Volker
commit 6227eac607131ed1042af1de83af7f70d0b05375
Author: James Peach <jpeach at samba.org>
Date: Mon Jun 21 11:09:45 2010 -0700
smbtorture: Fixx off-by-one command line parsing.
If we are not in shell mode we require both the target and test name
arguments. Make sure we process these from the correct index.
commit 0fc18ead76a79286365646eeb7607b39b01a1c9f
Author: James Peach <jpeach at samba.org>
Date: Mon Mar 22 21:55:49 2010 -0700
smbtorture: Add "target" command to interactive shell.
Add a "target" command to set the target server to test. Refactor
the command line argument processing a little so that you can run
--shell without any additional arguments.
commit 7a25e2efe9360b333fedc3fb938774437703700e
Author: James Peach <jpeach at samba.org>
Date: Sun Mar 21 22:04:37 2010 -0700
smbtorture: Enhance shell "help" command.
Sort the command list alphabetically. Let the help command print
usage info for other commands.
commit bf35aa86038aa5bbf06bf73eb58cfa6fa1eae904
Author: James Peach <jpeach at samba.org>
Date: Sun Mar 21 21:56:05 2010 -0700
smbtorture: Add "auth" command to the shell.
Add a new "auth" command to set the cmdline credentials from withing
the smbtorture shell.
commit 3f398ec36d6b733c92682f5eb03eeacb047e582f
Author: James Peach <jpeach at samba.org>
Date: Fri Mar 19 22:04:08 2010 -0700
smbtorture: Refactor interactive shell into independent commands.
Refactor the smbtorture interactive shell into a set of independent
command callbacks to make it easier to add more independent commands.
commit 9f697903556529bb4fedd73d027c317e56f6bf21
Author: James Peach <jpeach at samba.org>
Date: Fri Mar 19 21:24:15 2010 -0700
smbtorture: Move interactive shell into a separate file.
commit a5e14bded48ac53e21307eda1c9767be64b39a17
Author: James Peach <jpeach at samba.org>
Date: Thu Mar 18 21:59:35 2010 -0700
smbtorture: Print global options for interactive "list" command.
commit 12e15b0ac800a84d553ff82c4c61ccc8da9fd5fd
Author: James Peach <jpeach at samba.org>
Date: Thu Mar 18 21:25:17 2010 -0700
smbtorture: Add history support to shell mode.
commit 6f96293406bfaff35e7588d0624842de145ff249
Author: James Peach <jpeach at samba.org>
Date: Thu Mar 18 21:14:47 2010 -0700
smbtorture: Add list command to smbtorture shell.
commit acf54c37a81b9c593220a0de5aa1b82a3bd05e24
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 29 16:13:14 2010 +0200
s3-winbind: Make KRB5_EVENT_REFRESH_TIME a function
commit eb3ee7801fec0e06561732aca6012f8a8b4c24ff
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jun 21 16:20:25 2010 +0200
libcli/named_pipe_auth: fix error handling in _tstream_npa_connect_recv()
metze
commit 67a24fe9333836e4d33c167ea01f2efdc005bacd
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jun 21 16:13:14 2010 +0200
libcli/named_pipe_auth: fix memory handling for temporary data
In a tevent_req based function tevent_req_create() should be the first
function! If it fails it's the only reason, why the function
could every return NULL.
And all temporary data belongs to 'state' and gets free'ed by
tevent_req_received() in the _recv function.
metze
commit e9e80a36e461a0d07cdc9d1be27e60624133b096
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 21 08:47:38 2010 +0200
tldap: Fix a type-punned warning
commit 4b64555d759c85d8ce471a28f9a4b9210fae59d5
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 21 08:42:58 2010 +0200
tsocket: Fix some type-punned warnings
commit 8af446be78211a3471af60ef0173cdda3e6f61bc
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 21 08:41:56 2010 +0200
s3: Fix some enum/int mixup warnings
commit dee72d807f8e2f5fef83dbd409554eddefc9bd6f
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 21 08:39:54 2010 +0200
s3: Remove an unreachable line of code
commit c0ed0bca59dc1dc0c614641c2e54933fbc4f64da
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 21 08:38:51 2010 +0200
s3: Fix a type-punned warning
commit b784c20df8fcafc3a5c66f847b1af58b77eeb42b
Author: Michael Adam <obnox at samba.org>
Date: Mon Jun 21 12:32:57 2010 +0200
s3:net rpc registry: make getsd succeed when key sd only gives access to SD not key contents
You don't need the REG_KEY_READ permissions to access the SD of a key.
And for instance, the key HKLM\security ususally has no specific bits
set for builtin\administrators, but the READ_CONTROL_ACCESS.
I.e. builtin\administrators can get the sd but not enumerate the key.
commit e78f2b2e1eebed6950c5c99954d57bfb59c48a11
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 21:28:54 2010 +0200
s3:fix an outdated comment.
commit 3f99ff104a210bd307818746da922408f151cd18
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 20:50:36 2010 +0200
s3:idmap_ldap: remove unreached code (and explicit error return code)
commit 276a1a7fec1432bde870448f247ef710554c3ab8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 12:33:57 2010 +0200
s3/s4 - remove "talloc_tos()" from common code since s4 doesn't support it
Please don't use this in common code parts until we change the policy regarding
it.
commit c38f94ed9b68f53721421c91f74a8bd1f30efd4d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 11:02:45 2010 +0200
s4:dsdb_load_partition_usn - free the right memory context (tmp_ctx)
commit 2352538362977e456e8d05783f2732ff650cea41
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Jun 21 10:30:25 2010 +0200
s3-docs: Add missing whitespace.
Karolin
commit 3aa8853f58b32c5430cd03164a0c2bc26c1b04c0
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Jun 20 23:31:43 2010 +0300
s4/dsdb: msg_idx->dn should be allocated in msg_idx mem context
commit cc7e2c10f2b944fd7eac4ff11e9d48fac0043030
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Jun 19 12:30:36 2010 +0300
s4/dsdb: Move schema accessors cleanup in separate function
This way dsdb_setup_sorted_accessors() will
free memory allocated for accessor arrays correctly
in case of failure,
commit 267645ca55f7825e87a098c9dc51f132aac1f452
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Jun 19 00:00:08 2010 +0300
s4/dsdb-schema: Index attributes on msDS-IntId value
O(n) search for dsdb_attribute by msDS-IntId value was
replaced by binary-search in ordered index.
I've choosen the approach of separate index on msDS-IntId values
as I think it is more clear what we are searching for.
And it should little bit faster as we can clearly determine
in which index to perform the search based on ATTID value -
ATTIDs based on prefixMap and ATTIDs based on msDS-IntId
are in separate ranges.
Other way to implement this index was to merge msDS-IntId values
in attributeID_id index.
This led me to a shorted but not so obvious implementation.
commit ecbe9a74c6757415720657fbd3ba207989b47848
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 22:17:33 2010 +0200
s4:kdc/db-glue.c - remove unreachable code
Would be nice if someone could check if this fits.
commit 05f31c3f6d790f650c2b449c4726521464911777
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 22:14:27 2010 +0200
s4:registry/regf.c - add some casts to suppress build warnings on Solaris
commit 2adfe4730362220afe3874b750e71c6e006b310a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 22:06:51 2010 +0200
s4:registry/rpc.c - fix Solaris warnings by casts
commit 2f49c8f58e213e4b8b3f60bb6e02dfc833bb27f3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 22:03:45 2010 +0200
s4:samr RPC server - fix Solaris build warning
commit 871cdec4141e29f377b11fa7a5c177ac7e2dae80
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 21:54:50 2010 +0200
s4:registry RPC server - quite some build warnings on Solaris
commit 82fd4837589bbf5918e672669ed30ad300bf3a4a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 21:49:52 2010 +0200
s4:lsa_lookup.c - fix type argument
commit 0bf26edf6c466bfffa87c47b0acb64cc6f4544f7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 21:46:53 2010 +0200
s4:rpc_server/service_rpc.c - fix warnings on Solaris
commit c972e6ec233fc2023b33da0d707ae035f85faba2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 22:32:04 2010 +0200
s4:rpc_server/service_rpc.c - deactivate the 0-length struct
This should fix the build on Solaris
commit 58715dd3652ba53fa85cb5457be5d8c607b3d798
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 20:34:48 2010 +0200
s4:libpolicy - fix printf output specifiers to suppress warning
commit 26bcbf6e3542fb350045888473a6e25d661ff6fa
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 20:23:56 2010 +0200
s4:libpolicy - Solaris compatibility fix
commit 91c49c2fb29a188db24695a78b365aeb4f51db27
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 17:36:43 2010 +0200
s4:ldap.py - test subtree deletes through a new testcase
commit 449370db545f189449dbce75fd73271caf5ab187
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 15:13:36 2010 +0200
s4:ldap_backend.c - now also the LDAP server supports controls on delete operations
commit 9803c89ee28b4b4d6e4514b362aa60adb7f93366
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 15:09:55 2010 +0200
s4:ldap_backend.c - move function "ldb_mod_req_with_controls" to a better place in the code
Under the "add" and over the "delete" function.
commit fbd09029581d2f9b6c6f0c2410d768d501f4b75c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 12:49:04 2010 +0200
s4:subtree_delete LDB module - now do support tree delete operations
commit 87d0f636320b3b6818c1703d99b94648f00d0af7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 12:43:49 2010 +0200
s4:dsdb - add a new dsdb delete function which understands the tree delete control
commit ad5e19f29e3d716579607e706b42a4e7d2ed11c4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 12:19:31 2010 +0200
ldb:controls - add the "TREE_DELETE" control for allowing subtree deletes
commit 065579b4c6a05de7fd867dbe0eb736b86a6bc5f7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 12:08:50 2010 +0200
ldb:ldb.h - add classifications to the control declarations
This makes it easier to understand which standard specifies which control.
commit e062e7300bd2993b4a5d641ce3128f9c461f6328
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 13:03:59 2010 +0200
s4:python LDB __init__.py - remove completely unused "erase_partitions" call
Seems to be a relict from the past.
commit 2fb715b484d1eec3fadbdf3dc79d0fc88f01af52
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 11:46:55 2010 +0200
s4:samldb LDB module - remove "samldb_set_defaultObjectCategory"
As far as I can tell and the test show the DN gets now normalised automatically
when stored into the database.
Anyway, if we find a case where this doesn't happen then I propose to do it
centrally for all DN attributes in common since we should get away from special
attribute hacks as far as possible.
commit c8d2c5fff017a42ffb75aeaabfa19b8503b9e7af
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 15:33:29 2010 +0200
s4:ldap_backend.c - add some newlines to make logs easier to read
commit d7ad7eed24108491bb86271f39ef233826f41352
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 18:20:00 2010 +0200
ldb:pyldb.c - introduce a "mem_ctx" also on "py_ldb_search"
To prevent memory leaks
commit 00bf6084817046481e8d049357638387185c39ca
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 18:06:54 2010 +0200
ldb:pyldb.c - some cleanups and adequations also in "py_ldb_modify" and "py_ldb_rename"
To make them consistent.
commit 4cc49d365fa096e46259d6795b4626603919d69c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 18:46:51 2010 +0200
s4:ldap_controls.c - remove encoding functions for private recalculate SD control
commit 0714e23971f701999f69ed85c65e4f3f33153a97
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 17:46:39 2010 +0200
provision: Look for Samba prefix a bit harder.
commit a87561613af3e54503f80d559227f836c17ed263
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jun 20 16:22:46 2010 +0200
Revert "s4:ldb-samba: fix the build without a system ldb"
This reverts commit 44c01a5eb45a0cd5ca3de8be5c4680de75418dce.
This caused problems when using a system ldb and as we don't
do ABI checks for ldb-samba4 any more, we don't need this change.
metze
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit e812832db347269e46b28af31ff7ba3301405117
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jun 20 16:13:38 2010 +0200
s4:ldb: only do ABI checking for the standalone build for now
Otherwise we fail to build samba4 with a system ldb.
metze
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 52307a11e1f0019f8fbdcce51676282aee21aa39
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 15:50:12 2010 +0200
libpolicy: Fix the build.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit e18a172207b433a3f027541d4d5e98cea73dbcb6
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon Jun 7 15:21:53 2010 +0200
Add preliminary support for storing changed Group Policies.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 04133225c1c3ab53191da50cae39f2019e7f7f01
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Tue May 25 01:21:45 2010 +0200
Refactor policy filesystem code.
* It now uses reusable code to download the GPT.
* It creates a list before copying for better error handling.
* String_replace is now used instead of manually replacing '\\' with '/'
for local paths.
* A security check has been added for file names with "../".
* It adheres to the 80 column rule, if at all possible.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit b9b85d6b0e23e042d60c83fef477fd4006a20c14
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon May 24 21:36:49 2010 +0200
Fix memory allocation with error handling.
Also moved pypolicy.c headers around so as not to generate compile warnings
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 9b5e0fe6bb363aaaba513b0604476616d6cc9fd8
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon May 24 20:11:15 2010 +0200
Add talloc_frees in error cases in net_gpo.c
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit c09922cfae1364f2ce8736ae59053805a337658b
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon May 24 20:05:42 2010 +0200
Code cleanups: GUID generation, lp_dnsdomain instead of lp_realm, missing spaces.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 5c2c8dfc5a90eddcaab2d78379d898a00e865ec2
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon May 24 19:56:07 2010 +0200
Set inherit flag type to bool.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit d61f0240eefc3c96a36c16a9bf83167eb01dfe94
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon May 24 19:53:12 2010 +0200
Fix 'magic' numbers to be strlen(something)
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit e86ef688ee4c65fc5dd06910fd61222c195c1dc9
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon May 24 19:47:27 2010 +0200
Change talloc_steal to strdup because function might not expect it.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 674d559f37a1e553be3e01ade04936ff9662baa3
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon May 24 17:07:48 2010 +0200
Add GP ini functions.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 3fe793fce7060c785576bb5f3d7039df60bc7b1d
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri May 21 23:51:28 2010 +0200
Remove iconv convenience in used functions, which were deleted in commit f9ca9e46ad24036bf00cb361a6cef4b2e7e98d7d
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit e1f22174e172971ef8b0460da076a138b1fa73e4
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri May 21 23:49:45 2010 +0200
Fix net gpo list to use the dsdb with extended DN's. Fixes memberOf group memberships.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 3895b8fbf84764ff603af91644198e518af97e74
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri May 21 14:56:15 2010 +0200
Revert "Add old functionality back which was removed in commit 589a42e2."
This reverts commit 94e3b4a0d8b714c101803886d60ae6c484740d2f.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 8f74ee01d9bb93872c5cd5471084c8bd2da0d17f
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri May 21 14:41:02 2010 +0200
Add ini parser for GPO's.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit c36bd5de6a479b87baeb1632af2304c049079703
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Thu May 20 16:56:40 2010 +0200
Add net gpo setacl support. Create gp_set_acl function. Show ACL in net gpo show.
Cleanup memory allocation of gp_create_gpo
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 5434171296e33ffe493995589ae41b123a12d9aa
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Wed May 19 18:58:54 2010 +0200
Fix set GPT security descriptor to match windows' behaviour.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 31aeddfa4354cbf0e0b562d0dcfe1f41cd95e0f9
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Wed May 19 18:31:19 2010 +0200
Fix crash when get_gpo_info returns incorrect data.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 299531ce327340937e72530a96991c33fcd48e48
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Wed May 19 17:22:48 2010 +0200
Add preliminary NT ACL support for GPT (GPO on filesystem).
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 60bc5fe0ed1aae43c3931eae2a765dae765c85e5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu May 6 11:16:27 2010 +0200
samba4: Add python bindings for samba.policy.get_gplink_options.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 381e82465842c7d1195ca81db40a0c5d9f9e9c57
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu May 6 11:10:21 2010 +0200
policy: Add samba.policy.get_gpo_flags binding.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 41fae89daf41128debbef4097e8646596441adfb
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Thu May 6 18:42:14 2010 +0200
Add gpo create functionality. Also fix gPLink handling bugs
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 32ee6f8cfddefff92e59e230c5920afec16ffd7d
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Wed May 5 10:12:20 2010 +0200
Fix mode_t in mkdir.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 2941d2ebc353f16b6eb63985a8a71f454f16212e
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Wed Apr 28 11:34:31 2010 +0200
Finish net gpo fetch function. Reorder arguments to make them more understandable. Rename getgpo to show.
This makes the net gpo break for it's samba 3 origins, but makes the syntax more intuitive.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 2b761c3defdadb2566a23ce58e62b9571c02ed25
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Wed Apr 28 11:27:43 2010 +0200
Optimize the backslash logic in the path traversal.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit f24f472d445f67654126fc5de6b680709f2fe843
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Tue Apr 27 22:41:25 2010 +0200
Fix error in logic, making recursion work past the first level.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 3b11a53304df29ebe2f2bfdeb5a6f0bf66553013
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Tue Apr 27 21:06:11 2010 +0200
Add fetch function for GPO which fetches all relevant files from the sysvol share.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 698144851a07f66e7b786f5e1eb08d4670ddb619
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon Apr 26 17:26:51 2010 +0200
Add getinheritance and setinheritance to net gpo util and library.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit a4cb72790cfc8f267f8574de3eea8634aed62e57
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri Apr 23 19:12:01 2010 +0200
Implemented delete group policy link function and corresponding feature in net gpo.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit f0353fddde4a0b8aab448db779cc2c1cc419b4a0
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri Apr 23 18:10:43 2010 +0200
Changed add_gplink to set_gplink, so we can change gPLink options as well.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 40d71815072b5258cbe3ed0f1de62be68625e25e
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri Apr 23 17:31:21 2010 +0200
Add add gPLink function and corresponding net gpo linkadd call.
Also added some definitions for future functions in policy.h
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit a1fceac844a0a7690ab985fa08e6a08127e770bf
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri Apr 23 11:58:26 2010 +0200
Rename files to reflect the libpolicy naming convention. Also fix the GNU make build.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit b02571541998f2698a92be8729f4f0da869a0f99
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri Apr 23 11:53:04 2010 +0200
Rename libgpo to lib/policy to avoid confusion with samba3 and add waf build
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 626db5c3b5854a895b79ab186a36d1b5cbb769b5
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri Apr 23 11:10:11 2010 +0200
Add old functionality back which was removed in commit 589a42e2.
Andrew, please review!
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 08a7bb4abc6e59bc109ac38c164ad3f0b63b2439
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri Apr 23 09:32:01 2010 +0200
Add gpo list function for listing applicable GPO's for users/machines.
Implements:
* Hierarchical listing through all parent containers
* security ACL checking on the GPO
* User/computer disabled flags on the GPO
* gPLink disabled
* gPLink enforced
* Block inheritance on the container
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 6478a1edb70a60cfd318292478781a665b022887
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Wed Apr 7 21:22:36 2010 +0200
Add gPLink and getgpo functionality to net gpo.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 8d5f8f577f2e906cd80a6a11b76114922182cb99
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Tue Apr 6 20:15:38 2010 +0200
Created net gpo and new libgpo for samba 4. This adds the init function which finds a DC and connects to its LDAP. It also can return information on all group policy objects on a DC.
Aborted earlier attempt at reconciliation with samba 3.
Did not work out due to lack of ldb support in samba 3, also the
different registry libraries and different libnet did not help..
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit cfee179d03e9c3b8d02a51995bd1c205daabb6c3
Author: Kai Blin <kai at samba.org>
Date: Sun Jun 20 16:29:24 2010 +0200
s3: Attempt to fix the build on NetBSD
Unlike Linux and OSX, NetBSD seems to have *netgrent prototypes in netgroup.h.
commit 9e02764f7c34fd5c9686c7a754a30e9a6ae95769
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 15:22:49 2010 +0200
pydsdb: Mark all SamDB and Schema methods that are in pydsdb as
private, to discourage them being called directly.
commit 7b32f65600988421dc8c825109e225612a3b6166
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 15:04:42 2010 +0200
testparm: Check netbios name and workgroup characters and length.
commit 5f3d5a3ad873feca66e118e020ed77189a7f2f9c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 14:24:54 2010 +0200
provision: Properly cancel transactions on the secrets ldb.
commit 237ab66f6c292b62b37af05771913b693b32d885
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 14:14:47 2010 +0200
selftest: Use scripted testparm.
commit 7a064b9960ab3cfb4ef76a939da7670aa34519a6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 14:14:01 2010 +0200
pyparam: Support Loadparm.get(p, "global")
commit a2540fb3cbf8f288b106b03589d097212629b386
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:54:51 2010 +0200
ldb: Add ABI file for use when including ildap in the build.
commit 08a3e8b9f4d4d99cfca65752b0b516e0ec3f8651
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:51:39 2010 +0200
testparm: Simplify default option handling.
commit 338315f4d713e2648419f2eda805748901435204
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:51:14 2010 +0200
pyparam: Allow specifying None as section name to LoadparmContext.get()
to mean default section.
commit f0ab4503d6204ede46fad1d7586ad5d655c1c6fa
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:47:36 2010 +0200
testparm: Fix suppress prompt option.
commit c0e9a41f67f787f4fecec69dd661d92ecd24e608
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:41:38 2010 +0200
testparm: Fix exit value, install.
commit de3f9e31d34eac6ddc17e298299d5065f9a86e7c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:40:49 2010 +0200
s4-python: Add LoadparmService.dump()
commit 74c66c9a3f6aedbbcdbce66a1d72a3c3b74137f8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:29:35 2010 +0200
s4-python: Implement LoadParm.dump().
commit f051a8557f29352b4ec76ab6a8ed4de083f0816f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:22:26 2010 +0200
testparm: Split up functions that do multiple things.
commit 0a07b8ebfe797f062e50fbb901cd8040513af6d2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:16:30 2010 +0200
testparm: Convert to Python.
commit 8f383fc5c8ca7190c719e58473d609cf9dce9444
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:15:09 2010 +0200
s4-python: Remove more unused imports, fix use of sets in upgradehelpers.
commit 1e35ec43f2dcf08446bdeb62aa6a03827666b154
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 12:19:08 2010 +0200
setnttoken: Remove empty utility.
commit 3795358aca56f0c961f48b84ffeea4dd286ab914
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 12:06:50 2010 +0200
Use standard Python syntax, booleans and set()'s where appropriate.
commit 66e27e5214180b473b848201d2dcc7ccc3ad2b04
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 11:59:49 2010 +0200
Remove unnecessary use of transactions.
commit 9bcd0daba2cdd2acd6fc0e3de44f5138f2f3303f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 11:49:08 2010 +0200
ldb: Change LDBSAMBA back to subsystem, update comments, use different
ABI file based on whether ldb_ildap is included.
commit 44c01a5eb45a0cd5ca3de8be5c4680de75418dce
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jun 20 11:33:43 2010 +0200
s4:ldb-samba: fix the build without a system ldb
metze
commit a453b87d68f89c48e0d0545fe240801e4eac1686
Author: Kai Blin <kai at samba.org>
Date: Sun Jun 20 09:49:34 2010 +0200
s3-waf: Change the (set|get|end)netgrent checks to match the configure.in checks
commit ff32f691bba41afab45efe7e21a2c91bb2c157bb
Author: Kai Blin <kai at samba.org>
Date: Sun Jun 20 09:36:19 2010 +0200
s3 configure: Check for (set|get|end)netgrent prototypes
commit fa3e50fee421a7fe407510627e0fdbcd5f4013c0
Author: Kai Blin <kai at samba.org>
Date: Thu Jun 17 22:41:57 2010 +0200
build: Allow for a custom message in CHECK_C_PROTOTYPE
commit 1f07f53827908d48e50b018c50e97de4740b740b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 02:44:39 2010 +0200
ldb: Remove last import of dsdb.
commit 94e06fe2032b0143939abd85044b5c3ccddefe70
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 02:32:23 2010 +0200
Some more formatting fixes, move schema related functions from Ldb to Schema.
commit d3d7ff66d4a7952a50e7d9175528985358cb3522
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 01:43:51 2010 +0200
Move convert_to_openldap onto Schema class.
commit afad634207ecdc5e67386e857ff3b9d5d7acd1ac
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 01:56:52 2010 +0200
Formatting cleanups; use True/False for booleans, unnecessary backslashes, spacing.
commit a5e8ef884b847c5db50431956db0ef5ecc5f77e2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 01:37:06 2010 +0200
Move a few more samdb-specific methods to SamDB, away from Ldb.
commit 1d86414eb022bd8c4d86bdab094a06f43e4eb10c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 01:28:39 2010 +0200
samdb: Fix formatting, move get_oid_from_attid from Ldb to SamDB.
commit b48182007c53faebb0a57cefb5e1923a3bef5851
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 01:26:23 2010 +0200
s4-python: Remove trivial function, replace by dictionary.
commit e55c012accef40a9e07f8a9e67d54afd18ba2a7e
Author: Lukasz Zalewski <lukas at eecs.qmul.ac.uk>
Date: Sun Jun 13 11:02:44 2010 +0100
make test modules for net group set of commands and modification to the newuser to include additional parameters
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 214133fbec27c4ed42bb8c527e1365a321de0fbf
Author: Lukasz Zalewski <lukas at eecs.qmul.ac.uk>
Date: Tue Jun 8 20:33:56 2010 +0100
Modifications extending functionality of newuser cmd and new net group set of commands for group related operations on ldb
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit c58c0c2129b1df7b5eeb984bed4a09f2ecdfc2b1
Author: Lukasz Zalewski <lukas at eecs.qmul.ac.uk>
Date: Mon Jun 7 17:10:28 2010 +0100
Modifications extending functionality of newuser cmd and new net group set of commands for group related operations on ldb
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 38a26f79eaded8364a178ba2aac71e64f5d60be5
Author: Matthieu Patou <mat at matws.net>
Date: Wed Jun 16 11:25:19 2010 +0400
s4 upgradeprovision: Make grouped commit / rollback more resistant to unexpected problems
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit c4f7b0e5f673943dfdda88f3e289912778a07a33
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 14 12:28:58 2010 +0400
s4 upgradeprovision: Check that the policy for DC is present if not warn the user
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit aea0003d088f5e5f7d1393d4d75f570418dda043
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 14 02:14:48 2010 +0400
s4 upgradeprovision: Emit message instead of crashing when not able to set acl
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 17af115de59fc3b52134a44ae1b0c5170b8f67e3
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 14 01:50:47 2010 +0400
s4 upgradeprovision: add an option to force the rebuilding of FS ACLs on sysvols share
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 59f17f9e64f4fdf4a63440e20d6b30008072b4df
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 15 12:53:18 2010 +0400
s4 unittests: add unit tests for upgradehelpers
The functions tested are:
* construct_existor_expr
* search_constructed_attrs_stored
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 75389cecdde884356e222e3f846e7358f82c20c0
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 15 12:50:29 2010 +0400
s4 upgradeprovision: Add function for searching stored constructed attributes
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit f3e7d0ae8f63c57fc0ec7680b2863c6f50e167fe
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 15 02:41:18 2010 +0400
s4: Using control bypassoperational allow the logic of this module to be bypassed for some given attributes
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 3ebe56062297e52cf31499c6eb63c7ce70073bcc
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 15 02:23:11 2010 +0400
ldb: add a new control bypassioperationnal
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 9c5f0ed7298e666fcfa05257fc7abfb6d3208433
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 15 23:41:39 2010 +0400
s4 upgradeprovision: additional restyling
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 423f99172efcb57a654af5a6fcbad1045f210027
Author: Matthieu Patou <mat at matws.net>
Date: Thu Jun 10 01:00:43 2010 +0400
s4 upgradeprovision: Restyle imports
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit fbeacc1013bc3a95f19d7932a2bbf3d28176a977
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 8 00:01:16 2010 +0400
s4 upgradeprovision: Move functions to helpers and improve code
Among code improvement the most significant part is that we now
compare DN object instead of their string representation. It allow
to better react to case an white space difference.
Some new move objects have been added (ie. System into well known
security principals).
This will allow more unittesting
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 8ff65b0136f442204f4d059fb1a13ad4a6419ab4
Author: Matthieu Patou <mat at matws.net>
Date: Fri May 7 04:22:36 2010 +0400
s4 python: Update unit tests related to create secrets
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 9c808c47fc2fddac396d12452428443f3ab26073
Author: Matthieu Patou <mat at matws.net>
Date: Mon May 24 09:41:44 2010 +0400
s4: Add comments about setup_secrets
Comments are to inform people that this function should not handle
transaction within the function as it is mainly used in provision and
that we want to commit secrets only if all the action on secrets have
worked.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 84342b1c7f289e5288470d4d4e3899aac6f042c5
Author: Matthieu Patou <mat at matws.net>
Date: Fri May 7 16:26:26 2010 +0400
s4 upgradeprovision: Add documentation on the update process
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit a466e0d61a97da648970eea02c246c08c503c421
Author: Matthieu Patou <mat at matws.net>
Date: Tue May 4 00:01:00 2010 +0400
s4 python: Add unit tests for upgradeprovision related stuff
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit ad55248958fe9aaeb6ebdc6f2d4c66a85ead6786
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 8 00:52:25 2010 +0400
s4 upgradeprovision: move some functions to upgradehelpers for unit tests
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 0537de17c124b8ceccbeb9a57e9636a461239774
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 8 01:13:45 2010 +0400
s4 upgradeprovision: Fix style
reformat *_update_samdb functions
fix_partition_sd
rebuild_sd
update_samdb
update_privilege
update_machine_account_password
update_gpo
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit b624440a0fc99c43e97c73ffe7e17621a17b59ae
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 7 16:27:48 2010 +0400
s4 upgradeprovision: Use replPropertyMetaData for better guess
Rework upgradeprovision in order to get more precise updates when doing upgrade provision.
This is done through the use of replPropertyMetaData information and raw information revealed by the
"reveal" control.
The code has been changed also to avoid double free error when changing the schema (for old provision).
Checking of SD is done a bit more cleverly as we compare the different parts for an ACL separately.
Fix logic when upgrading provision without replPropertyMetaData infos
Also for old provision (pre alpha9) do not copy the usn range because data here will be wrong
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit dd963ddb4e84bb1b7bea6ecb3a1e045d170338dc
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 7 23:47:43 2010 +0400
s4 upgradeprovision: Reformat attributes lists and reformat parser
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 60400a7803d765fd53100fe088f1237e67887fe3
Author: Matthieu Patou <mat at matws.net>
Date: Fri Apr 9 02:55:38 2010 +0400
s4 upgradeprovision: Inform about new dns dynamic update if the provision didn't have it
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 26ccc3f4400165448f9a53efdec224d11f290783
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 8 00:21:48 2010 +0400
s4 upgradeprovision: fix style
add_deletedobj_containers
add missing objects
clean add-mising
handle special add + dump denied
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 0ff46ec557009ec2dff0650dd39d6314e9df3a4e
Author: Matthieu Patou <mat at matws.net>
Date: Sun May 2 19:56:03 2010 +0400
s4 upgrade provision: Refactor code to do all the modification within 1 transaction
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit ec90b1b40e1f610dfc1e2aa3ba91c0b27dde4f60
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 8 00:21:00 2010 +0400
s4 upgrade provision: Fix style in gen_dn_index
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 50072e27fec0d3528e111ec566204f4e39e24ea5
Author: Matthieu Patou <mat at matws.net>
Date: Sun May 2 19:56:31 2010 +0400
s4 Add functions related to ldb manipulation when doing upgrade
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit e2df3c251060d634c8538dd7e771819ccf196130
Author: Matthieu Patou <mat at matws.net>
Date: Thu Apr 22 12:53:12 2010 +0400
s4 provision: Add information about provisioned usn range in sam.ldb
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit c92db7b6dc31756fc461ea9f74e1cd675e3e160d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 18:58:18 2010 +0200
python: Use samba.tests.TestCase, make sure base class tearDown and
setUp methods are called, fix formatting.
commit 105ebb34405eb458c51ebbfb57b3ce31a41c34e2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 18:57:35 2010 +0200
acl: Clean up formatting, use samba.tests.TestCase.
commit 5060367bf9356a9f18fbc41563b8052fb68153d2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 18:57:13 2010 +0200
pyrpc: Fix reference counting when using secondary connections.
commit 50429fb75074863598807267a6d02ed44056efe8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:49:46 2010 +0200
samba.tests.samba3: Clean up imports, use new TestCase class.
commit f57b26b6f44494efc0689724a33780e660e3d795
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:49:15 2010 +0200
ntacls: Raise TestSkipped rather than writing to stdout.
commit 96f120e2349b855ea34888ad923861e787812827
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:48:37 2010 +0200
python/passwords: Clean up imports.
commit 026a4d85a1a909d2efe447bea36b941e01da7e42
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:48:05 2010 +0200
samba.tests: Provide TestCase and TestSkipped classes (from testtools) for convenience.
commit 5e67566f5e660a91c004aa606d1987fd7665f5dd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:46:57 2010 +0200
pytdb: Cleanup formatting.
commit 2b7b69544cfc498b731ef0d65759f65376d460fd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:32:01 2010 +0200
dsdb_schema_info: Clean up imports, avoid using rpc test case for
non-RPC tests.
commit c2cb0a710b050845420e6128cf80e6c3653df650
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:27:50 2010 +0200
python: Remove unnecessary Ldb.set_invocation_id - use SamDB.set_invocation_id instead.
commit 827ce7b0a37595b23ab35d016fd391a82d408a76
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:23:41 2010 +0200
pyglue: Trim dependencies.
commit 27d82685dabf93c41ddbe273563073394d21afd3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:19:48 2010 +0200
pyglue: Remove unused code.
commit 74309eb29cba6a9a3c22bcb808b5c2e59a9f9880
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:15:26 2010 +0200
pydsdb: Move write_prefixes_from_schema_to_ldb to pydsdb from pyglue.
commit a4f60ffe4bb4e0e32d7cd62dc872b1f23435edca
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:09:52 2010 +0200
pydsdb: Move dsdb_set_schema_from_ldb to pydsdb.
commit 05b108a06b383f2172a379629b9a6bcff82c6868
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 16:52:09 2010 +0200
pydsdb: Move set_schema_from_ldif function to pydsdb from pyglue.
commit d3a99579f6c87bf9bc5863ca645bc1456ee6834f
Author: Brendan Powers <brendan0powers at gmail.com>
Date: Tue May 25 16:14:37 2010 -0400
libcli: Fixed a segfault in security_acl_dup when the acl is NULL.
This can happen when duplicating a security descriptor that is missing either sacls or dacls.
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit cadca1f6ba514eb7b022d761935f80b3049cede4
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 30 18:47:44 2010 +0200
s4:provision: don't use hardcoded 'Default-First-Site-Name'
metze
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 131be8da0fa2db11b91cb08a182a524832db1d41
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 19 19:33:16 2010 +0200
s4:instancetype LDB module - "instanceType" is single-valued - MS-ADTS 3.1.1.5.2.2
commit 3055ead4cff55895917ca88c3fb91c89da34ad5f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 15:39:06 2010 +0200
s4:torture/ldap/basic.c - add more error code/messages tests
And now we do match at least the LDAP error code (the WERROR one does still
differ from Windows - we will see how to change that).
commit 7cbe3035d9f0d534d017f65fa2250011c45bb415
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 19 14:58:31 2010 +0200
s4:ldap_backend.c - more customisations to match Windows Server error behaviour on renames
commit e315aceda357711284da08094f80b1e03346fef0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 19 14:49:23 2010 +0200
ldb:ldb_dn.c - don't support "ldb_dn_add_child" on a "" parent DN
It's meaningless and could end in DNs as "cn=child,".
commit bce8017ca9f64ce8e3bf94312d69f97e87d3d41a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 22:20:22 2010 +0200
s4:python/samba/__init__.py - now specify the "relax" control for the delete operation before the provision
commit c0538a006d5381f3bc17d90f873e791d35bbde17
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 22:17:54 2010 +0200
ldb:api.py - add a small test for the enhanced "py_ldb_delete" syntax
commit ca34ffaaac4cc98dc600cb8b5bc6e8ecf93f7492
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 22:08:58 2010 +0200
ldb:python bindings - some small cleanup & improvements in "py_ldb_add"
Also to make it similar to "py_ldb_delete".
commit 2aeea4bb4d214675334da7c45e896d88ccb85832
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 22:04:07 2010 +0200
ldb:python bindings - let also "py_ldb_delete" support controls
commit d16697df4908de57a379796e22c82929b8422b92
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 21:35:43 2010 +0200
s4:objectclass LDB module - disable delete operations when "SYSTEM_FLAG_DISALLOW_DELETE" is specified
commit 46bcf883bfe07d50b1009f1878093d8643d70a95
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 21:13:39 2010 +0200
s4:rootdse LDB module - strip trailing whitespaces
commit 7f46a91e7764766460cb374b5cc65e769184d91f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 21:10:19 2010 +0200
s4:rootdse LDB module - protect add and delete operations on the rootdse entry
commit 72e14ea8bd47695dcdf1a3c8ee3a017c6d2e4d5c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 20:53:25 2010 +0200
s4:rootdse LDB module - Return "UNWILLING_TO_PERFORM" when no attribute fits on a change
commit 2af67a3602528f55f3fb871bac0bc15ee88df702
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 20:52:33 2010 +0200
s4:rootdse LDB module - refactor error messages
Fix indentations, use "set_errstring" when no "asprintf" functionality required.
commit a4381239ba364ad025308e9b8f310942dde36db8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 19 17:47:22 2010 +0200
s4:objectclass LDB module - use the old DN when displaying error messages
commit ee2bb4474f38ce3c8d7a641059ca85cde1a12e9c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 19 17:46:57 2010 +0200
s4:objectclass LDB module - add a better message when the parent DN is invalid
commit 04890bb750ba900e8ee476690e8f882676217c72
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 15:32:48 2010 +0200
s4:objectclass LDB module - add an error message when someone tries to add entries without objectclasses
commit 9da8b06112257f87860e31273c9d3128bc811371
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 15:17:05 2010 +0200
s4:objectclass LDB module - handle the case when there is a retry to add the root basedn
This isn't quitted with a normal "NO_SUCH_OBJECT" (parent not found) but with a
very special referral: one with the DN itself and the hostname is the last
component value of the DN.
commit 24930aa716c3501b336e8f5534590e968d837aaf
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 16:00:04 2010 +0200
wafsamba: Use octal modes directly rather than constants.
commit b099631f428d0ecc641d59bd3c94674e6348dde9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 15:32:27 2010 +0200
heimdal/waf: Initial work on making it possible to use the system
heimdal again.
Still missing are the detection of the right Heimdal version and
linking (unresolved symbols at the moment).
commit b03637cb9e1690f7c571186456229ad7c40b3740
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 14:46:22 2010 +0200
dsdb: Fix includes when building against system ldb.
commit f370bd47b058677ffa108d7312bb6ff2609ac4e3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 14:45:35 2010 +0200
wafsamba: Allow manually specifying cflags/ldflags for system libraries.
commit 7646eb6a0fe9c28cdd006493502bd4b36ccfd2bc
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 14:02:18 2010 +0200
wafsamba: Use convenience function to find out if bundling is necessary.
commit ccaf0c60380b80ade3b1ac6085518218d236c281
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 13:55:41 2010 +0200
dsdb: Use Samba includes so _PUBLIC_ is defined.
commit a8aaf3d4be4e835fc32bca46dbc4667bf265e1ef
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 13:47:11 2010 +0200
wafsamba: Factor out functions to determine if a bundled library should not or
must be used.
commit 238e89f7b0c3f35578105329578685a187209f83
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 13:46:39 2010 +0200
dsdb: Make module ops struct for each module public.
commit f36a9afc2f62827700e4b8b441448aef00439f7d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 13:41:48 2010 +0200
s4-python: Use sys.prefix rather than guessing prefix from current
file path.
commit bd1786f7f15d9fd6382979ff753fefc7a9cd0024
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 12:10:29 2010 +0200
wafsamba: Fix typo: noextenion -> noextension.
commit bf8045037dae76d1e5f1faa0d6586a90e894fb31
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 02:26:13 2010 +0200
waf: Add missing dependency (so header paths are inherited) on talloc to internal python lib.
commit 5143353108c02a27ad62b33e59a26f5bc5d136fe
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 18 22:43:37 2010 +0200
samba4: Build libreplace as builtin library by default so it doesn't end
up in $prefix/lib.
commit f2527d217cbc7f64259d00c63a549a3119a4ed66
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 18 22:43:17 2010 +0200
replace: Avoid hiding symbols when libreplace is builtin, as this
appears to cause unresolved symbols at the moment.
commit 380ee5f081d4525c5c308ec203864b07c3cf36a1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 18 10:09:03 2010 +0200
ldb: Remove dependency on self.
commit e0fe9412186ab0962c672241ac386cafb25f95ef
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 18 09:45:15 2010 +0200
wafsamba: Use BUILTIN_LIBRARY() rather than relying on side-effects.
commit da0fb0affbf4601aca6aa83264b2c81cc9d1d4c1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jun 17 22:36:33 2010 +0200
ldbsamba: Build as subsystem to prevent infinite recursion issues.
commit 4c22434b3b261d5af45131dc5542e81857c4f468
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 20:38:22 2010 +0200
s4: Don't build a $prefix/lib/libpython.so, as such a library often already exists :-)
commit b391b7d07274d30231273255ebe064b4c356e855
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 20:35:40 2010 +0200
s4-waf: Don't include pytalloc when embedding python.
commit ebd0bca555f13f19bebdb220088c97a3473daa61
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 20:15:19 2010 +0200
s4: Build more python convenience files as subsystems rather than as python modules.
commit 8e8496208b4fa5bf69fcc884fdb054352060e21e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 20:14:46 2010 +0200
ldb: Don't build pyldb_util as python module but rather as subsystem, so as to not delute /usr/lib.
commit f74dceda8c91b46180e14787ffd3dce01e1b023d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 20:14:31 2010 +0200
ldb-samba: Don't build pyldbsamba as python module but rather as subsystem, so as to not delute /usr/lib.
commit 938250790967dffa617446ab2e7b266b06033495
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 20:01:38 2010 +0200
web_server: Don't build wsgi support as python module but rather as
subsystem so we don't install it into /usr/lib.
commit 837a975c2be620396f3eac02a14d057a2de6c270
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 19:11:35 2010 +0200
s4:cldap_server/rootdse.c - simplify the code a bit
Remove "NULL"-content variables and use "NULL"s directly as arguments. Add some
linewraps where needed.
commit 9969cfc36cc40d37d0cd740d60f698dad3f55bbb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 18:57:38 2010 +0200
s4:cldap_server.c - here the counter variable should be "signed"
commit 2e8c5639618fa4c6efb461ad4e6b51c84da8bd10
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 17 15:51:19 2010 -0700
Second part of fix converting prs_XX struct and functions to talloc. Remove unneeded prs_mem_free calls.
Jeremy.
Signed-off-by: Simo Sorce <idra at samba.org>
commit f4e7d9d38ebf209be6c040f4ef98dd8111735187
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 17 15:35:07 2010 -0700
Convert the prs_XXX struct and functions to use talloc instead of malloc. Passes valgrind and make tests for client and server. Second version of this patch after splitting up at Simo's request. Patch to follow will delete extraneous prs_mem_free() calls.
Jeremy.
Signed-off-by: Simo Sorce <idra at samba.org>
commit 3fa38046cb76d38a6be8e29111a4be225b8bdf96
Author: Matthieu Patou <mat at matws.net>
Date: Wed Jun 16 12:39:16 2010 +0400
unittest: Change the name of the base ldb test so that it can be easily called separatly
commit c9ef9da12fed2c3ea1d46dc710393f6ffebe7491
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 16:35:55 2010 +0200
s4:ldap_backend.c - fix crash bugs when we got in error situations with "res" still set to "NULL"
commit e7fef1ac84c39647306f8bb075f97e36549a8289
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 16:00:13 2010 +0200
s4:ldap_backend.c - fix a small error (use "ModifyResponse" rather than "AddResponse")
commit 955e1835ef14aa961127007014dfd93b464779eb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 15:27:50 2010 +0200
s4:objectclass LDB module - move "mem_ctx" initialisation lower
Saves us some "talloc_free"s on error cases
commit 56e4822566743a42a3e20cc9dc969826969ba156
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 09:42:17 2010 +0200
s4:dcesrv_netr_DsRAddressToSitenamesExW - fix the detection of the address family in a better way
Obviously the last attempt wasn't enough. Now we do really only read the first
byte in the address buffer which on little endian transmission does always
contain the address family (MS-NRPC 2.2.1.2.4.1).
This should now be working platform-independently.
commit 01e9d090f1f9f340d9bdb597341b445544cf7a7d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 09:33:10 2010 +0200
s4:torture/rpc/netlogon.c - make sure that the address family is set in little endian in the "AddressToSitenames" tests
commit 917f6015a6292a5b9b88607060dc5f87dc78fb9b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 09:23:00 2010 +0200
s4:torture/rpc/netlogon.c - activate "AddressToSitenames" tests which do run against s4
commit be31b2ba62c49eaee6fb090a92b13ac8cf33bd1f
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 17 12:34:15 2010 -0700
Use #defined constant instead of "false" to be clearer about intent.
commit 160d882f34cee6c74e5d289dd2fcebb97037a008
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 17 15:01:01 2010 +0200
s3-selftest: fix locktest9 in make selftest.
Guenther
commit 14c8d319e34eb4f525967d14253ebe071cbc451b
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jun 16 23:36:38 2010 +0200
s3:configure: use cc for linking on IRIX and fix shlib usage
commit d823e529b86e01b7a8246b89e27cfd75f7b61428
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 16 23:11:05 2010 +0200
s4:torture/rpc/remote_pac: use dcerpc_netr_LogonSamLogon_r() instead of dcerpc_netr_LogonSamLogon()
metze
commit 22eb6d7b6b57ff0bee99ea86ddec676e7faaab8a
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 16 11:22:30 2010 +0200
selftest/Samba4: make the naming of passwords more consistent
metze
commit f26c0e545617ba336720cd8852f4f376f4062af5
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 16 11:14:46 2010 +0200
selftest/Samba4: let localfl2000dc use 127.0.0.5
Now we have 127.0.0.6-10 available for more servers.
metze
commit 8aed54adbf1a87de833cd53e4bc9a4eab074128e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 16 11:13:28 2010 +0200
selftest/Samba4: let localvampiredc use 127.0.0.2
metze
commit 6a0db03c80275c00dc0fe7aff099f9b6cc2d113e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 16 11:02:48 2010 +0200
selftest: use 127.0.0.11-16 for the client
This gives more room for servers.
Note: socket_wrapper currently only supports 127.0.0.1-16
see MAX_WRAPPED_INTERFACES.
metze
commit 1e8d025a3cd1b326e9660a0a5b388e67fc2d172a
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 16 11:00:29 2010 +0200
selftest/Samba3: remove unused create_clientconf() function
metze
commit 9e3511ef1cf9b278cff04f1c883aed487876b93a
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jun 17 08:55:10 2010 +0200
pidl/wscript: build manpages in build group 'final'
So that waf --target=smbtorture doesn't build them
metze
commit b0b2b4ff8bbcf80976b95b587aa7427c70c11b06
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jun 17 08:49:36 2010 +0200
pidl/wscript: only try to build pidl manpages if pod2man is available
metze
commit e80f576db66ad04592ac436ed74ceb9b96452060
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jun 17 08:44:53 2010 +0200
pidl/wscript: call pod2man with the detected perl version
Some systems like SLES11 have a broken perl path in pod2man.
metze
commit 93280974b8fb236b212b9116a1d8921329e5e1d8
Author: Kai Blin <kai at samba.org>
Date: Thu Jun 17 08:09:41 2010 +0200
s3-waf: Fix the OSX 10.4 build by adding an explicit resolv dep on smbclient
commit 83ad437a9cf9f0ed36ea0e72282020e9330f8c88
Author: Kai Blin <kai at samba.org>
Date: Tue Jun 15 06:53:11 2010 +0200
s3-waf: Add check for iconv
commit 7a1c24705dba06753a693a3dbee93d473726d05a
Author: Kai Blin <kai at samba.org>
Date: Tue Jun 15 06:52:42 2010 +0200
s3-waf: Work around missing *netgrent prototypes on OSX 10.4
commit d9c81e3ea54fabc30121872a56bf3a393f26983b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 16 21:47:22 2010 +0200
s4:dcesrv_netr_DsRAddressToSitenamesExW - fix the read of the IP packet version
This should make it clearer by the use of the standardised "sa_family_t" type
and hopefully fixes the problems on platforms other than Linux (NetBSD in the
buildfarm for example).
commit ad7859dfff3598d351aa91b025e4afba7ab46382
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 16 21:45:15 2010 +0200
s4:ldif_handlers.c - fix warning
commit 7e388c8b2763a11aac50b390ccd3697a15b5be65
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 16 10:27:54 2010 -0700
Remove an unused chunk of code (will make it easier to talloc'ize prs_XXX).
Jeremy.
commit 5a77d648d9ce2ad60d4a951b69461a5b3d24289f
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 16 10:26:47 2010 -0700
Remove two unused functions (prs_force_dynamic, prs_set_session_key).
Jeremy.
commit 1614bcf0ecae211a92c308cd795c138d0533ee63
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 19:14:08 2010 +0200
codepages-waf: When built with --with-fhs, install to
$prefix/share/samba, not $prefix/share.
commit aa76e8263d5aaa12a19b1c351ac8ec8f0e7a9002
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 15 12:01:09 2010 +0200
lib/crypto: only include what is needed.
Guenther
commit 65ca3e4ee985689cdb038ae366f57d523cbeb964
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 18:25:04 2010 +0200
pidl-waf: Avoid relying on MakeMaker when installing pidl manpages.
commit bd8fcd869da5a99d9505ede6f5038f98b7951bb3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 18:13:18 2010 +0200
s4: Fix build when there is a system-provided ldb.
commit a6f1c111ffad6ff3f5017305c274c578368d1739
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 17:09:47 2010 +0200
s4-smbtorture: Remind myself we need to add a test for SMBsplretq in RAP-PRINTING.
Guenther
commit cfb67b1a169350a8316532eb5d53de4a3f2bacb3
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 17:08:36 2010 +0200
s3-docs: Fix some of ntlm_auth ntlm-server-1 protocol documentation.
Guenther
commit 7af7e94952cf551656b538993ec511533299e632
Merge: 50882e2077f20731c14e1687c09d785633e200ee 12fdfc94307b5f1b7982fc82c525b260806c8323
Author: John H Terpstra <jht at samba.org>
Date: Wed Jun 16 08:57:44 2010 -0500
Merge branch 'master' of git+ssh://git.samba.org/data/git/samba
commit 50882e2077f20731c14e1687c09d785633e200ee
Author: John H Terpstra <jht at samba.org>
Date: Wed Jun 16 08:56:42 2010 -0500
Fix typo reported by Söderlund David <david.soderlund at baesystems.se>.
commit 12fdfc94307b5f1b7982fc82c525b260806c8323
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 16 14:51:05 2010 +0200
s4:ldap.py - add another test about linked attributes
In addition this test makes sure that the bug regarding the search with deleted
linked attributes in the filter has been fixed.
commit 53afe4e018cb3bd8728e68699910ec4501fd658d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 14 15:52:01 2010 +1000
s4:ldif-handlers Add a custom handler for DNs that knows about deleted values
In Samba we my store a deleted DN for a linked attribute. We must
ensure that we can't match on it, or else searches for member= will
still reveal it.
Andrew Bartlett
commit 5779c21e41c6da9eabaaaf373d6a45311b234e90
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 16 15:18:34 2010 +0200
s4:provision.py - we do now support the "Windows 2000 Native" domain function level
commit 233ce18a176fc8c7c8b6b6dbf2eadd30a225405d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 16 15:15:39 2010 +0200
s4:linked attributes LDB module - strip trailing whitespaces
commit e190683b59db4d22c89644a72d0dd3779ac3d706
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 16 14:49:08 2010 +0200
s4:linked_attributes LDB module - cosmetics
- unsigned counters for LDB objects
- we tend to have the "ret" variable always as the last declaration to see
which type of error a function returns
commit b4364add896d1657263a66c55d867d28bf5ceb1b
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 14:18:45 2010 +0200
s3-auth: in make_user_info_for_reply_enc make sure to check length and data
pointer of nt and lm hash.
This fixes kernel cifs client with sec=ntlmv2.
Guenther
commit fe90496ce55a5845154e4477d0eb84368c450824
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 14:17:44 2010 +0200
s3-build: allow to build bin/ndrdump4 (just as bin/smbtorture4)
Jelmer, please check.
Guenther
commit 5b17d34d6280f3a98dc0118eab41b3f7f072521d
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 14:16:57 2010 +0200
ntlmssp: add decode_NTLMv2_RESPONSE to IDL.
Guenther
commit 06417abc7c9129958a6ef6fb002944bab133561e
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 12:31:11 2010 +0200
s3-auth: fix debug message in check_winbind_security().
Guenther
commit a75feeaa239c35473c3d8f27b539df126beda81f
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 15 14:25:12 2010 +0200
s3-tdb: Added missing out of memory check in rename_file_with_suffix().
commit 6dbcffb51d979094cbdac80df5e9480475230137
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 16 13:43:38 2010 +0200
s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.
This is needed to remove samba specifc symbols from the bundled
ldb, in order to get the ABI right.
metze
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 8843eea2e06736f27080eedab883ffc51feacb33
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 11:03:31 2010 +0200
s4-smbtorture: only pull info when status code indicates success in smbcli_rap_netprintqgetinfo().
Guenther
commit 185adc4c810eff3876727ed33b87c208aa09cb62
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 12:18:32 2010 +0200
Revert "s4-smbtorture: only pull info when status code indicates success in smbcli_rap_netprintqgetinfo()."
This reverts commit 1f1c04010a55e67d8dc2110276eed4cf2a8a0afa.
commit bd4bbd9bebc21da232d6a9ed53814eecda2163f3
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 12:07:43 2010 +0200
pidl: make sure to fill in cli->pipes_struct->hdr_req.opnum in s3 server dispatch tables.
Guenther
commit 439e7590c920ebdf70e74e15483a3c1e3500331b
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 11:04:34 2010 +0200
s3-lanman: Fix return code for "" printqname in api_DosPrintQGetInfo().
Guenther
commit 1a86532fce51ec2f46b1e8abb1c1838e6793b76b
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 11:04:12 2010 +0200
s4-smbtorture: test smbcli_rap_netprintqgetinfo() with "" printqname.
Guenther
commit 1f1c04010a55e67d8dc2110276eed4cf2a8a0afa
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 11:03:31 2010 +0200
s4-smbtorture: only pull info when status code indicates success in smbcli_rap_netprintqgetinfo().
Guenther
commit 14f2525f9e72edffbc0530d3aa20a5a9b80b2ce2
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 11 11:24:06 2010 +0200
s3-printing: add BUILTIN\Print Operators as FULL CONTROL to default sd.
Guenther
commit 47ae4a518c5eb7c02d3f6c65f64d2ac490a90e83
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 16 11:44:36 2010 +0200
s3-spoolss: Provide a memory context for clean_up_driver_struct().
If we use a stack variable to setup spoolss_AddDriverInfoCtr this would
segfault with a talloc bad magic value.
commit 18f3e5113ae18e120770ba93b0d36a7b176b0c52
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 16 12:01:10 2010 +1000
s4:dsdb Allow renames with (now removed) linked attributes
It is important to allow the rename, even if we just have one-way
links, as this happens on deleted objects, which have the backlinks
alredy removed by repl_meta_data.
Andrew Bartlett
commit 0687a0c9dc3804e34a64f64f064fbbadb3e72ad5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 16 09:16:05 2010 +1000
s4:selftest Change domain name for functional level 2000 DC
commit 35237d5356d50be16963b9561b17b045cd2c2999
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 15 23:01:51 2010 +1000
s4:libnet Remove 'ads min function level' checks.
We support Windows 2000 native now.
Andrew Bartlett
commit 25abcb68185ed21ecf030ee6b081e2c912a687f5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 15 22:57:14 2010 +1000
s4:dsdb Fix linked_attributes to cope with the Feb 2010 changes to DLIST
The DLIST macros changed in behaviour in Feb 2010, and walking the
lists backwards is no longer safe if you don't use the macros.
Andrew Bartlett
commit 5150f8597a2211414ddbd588e8bd64e0ef3c29a7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 15 22:26:22 2010 +1000
s4:dsdb Assert that we can't get backlinks as input in linked_attributes
The objectclass_attr module should prevent users creating such links,
and the mrepl_meta_data module should only create them in functional
level 2003 or above.
Andrew Bartlett
commit f9018bc0ea882bf9303350ca594262c88942c38f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 15 22:24:36 2010 +1000
s4:selftest Add test environment for functional level 2000
This required that we pass the name of the realm down as a parameter,
so we can start up two different realms.
Andrew Bartlett
commit d523e946b189826bd0ada2297ba6bdf7d6e73947
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 15 20:45:25 2010 +1000
s4:provision Add import for DS_DOMAIN_FUNCTION_2000
commit 814cb8895db8fbb39761ce5b2e581cb8cec9f77f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 15 19:52:58 2010 +1000
s4:provision Allow functional level 2000 to be chosen
commit 697cd139782a8337c1979442fc5d5705e748aa3f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Mar 12 10:36:12 2010 +1100
s4:selftest Add vampire_dc test environment
This starts a domain controller, after running 'net vampire' to
populate it. We don't use it as the 'all' environment yet, as the
rest of the code isn't quite ready to handle it.
Andrew Bartlett
commit ec6839ac26ee54c501e3377d446cf9884175034e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 14 15:50:13 2010 +1000
s4:dsdb use dsdb_module_modify() rather than ldb_next_request()
This does exactly the same thing, but with less code.
Andrew Bartlett
commit ffa787772fe6b88a846209e1733d004d80c99afc
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sun Jun 13 15:54:23 2010 +1000
s4:dsdb Handle backlinks for Windows 2000 level linked attributes
This revives the code from 5964acfa741d691c0196f91c0796122ec025f177,
before tridge and I simplified this too much, and removed the Windows
2000 functional level linked attribute support.
By telling the linked_attributes module that repl_meta_data has
handled the links, we avoid a conflict for the new style (functional
level 2003 and above) linked attributes. However, we still need
backlinks for 2000 style linked attributes, so this allows that code
in the linked_attributes module to be revived to handle those.
Andrew Bartlett
commit ecfce7365c8d3fffc5b8eeda13b18e2605ff7b02
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 14 15:30:36 2010 +1000
s4:dsdb Add control for signaling between repl_meta_data and linked_attributes
This control will allow the linked_attributes module to know if
repl_meta_data has already handled the creation of forward and back
links.
Andrew Bartlett
commit 81f70834caa4d77f0799506bd9c17d05d631ebd4
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jun 15 15:33:44 2010 -0700
Remove unused function.
commit 2c125595fb03d1f3940545438bb4ec462585beb7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 00:00:01 2010 +0200
waf: Fix installation of pidl manapges.
commit 6da487580e9fac388ce3f3a2decaae03d5ae99a5
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Tue Jun 15 11:21:34 2010 -0700
s4 torture: RAW-SEARCH: break out some of the old search levels
* Added two new parameters: raw_search_search and raw_ea_size which
can be enabled/disabled based on whether the server supports
RAW_SEARCH_SEARCH and/or RAW_SEARCH_EA_SIZE levels
* Skip unsupported levels from the server and give a warning rather
than failing.
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit 2170a59215d00554b97dc2053eeb6dde38ef3e97
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Jun 14 16:50:29 2010 -0700
s4 torture: RAW-SEARCH: Only test supported info levels
commit a4a127ea5a62102890f4eecde45fdb244023dfa3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 20:52:01 2010 +0200
s4-waf: Fix build of libldb_ildap against system ldb.
commit 773e47f4a9c1601284eefac1efc8c139fdf2907a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 20:35:22 2010 +0200
wafsamba: Fix include path inheritance from module subsystems.
commit d913aacfe47153b927c537cd5869ba62eadfb676
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 16:38:15 2010 +0200
dcerpc-samr: Fix library name.
commit 8c88c9c5006bd4e23105740defa7db0949a21e74
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Jun 14 02:15:32 2010 +0200
Attempt to fix SamDB test infrastructure (not used in Samba anywhere, only in OpenChange).
commit 026fcc6a4f1b50518f2b1d33b278f5b671fb18a1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 13:12:23 2010 +0200
ldb: Bump version number, use same ABI version for Samba4 and non-Samba 4 versions.s
commit fb7a98aa32875f8b113974e062c240e636a7ef64
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 02:46:16 2010 +0200
ldb: Fix included ldb build.
commit de68718d3ddb9a8e88267fae51e90d5db9b91fe7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 01:35:42 2010 +0200
wafsamba: Fix filenames for ldb modules.
commit 0d7f8fb73d95c4658e785cb2f8bba57baf85b487
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 01:24:20 2010 +0200
wafsamba: Fix building of modules as shared libraries.
commit 12b46472896bc89dd7f1597a1f7ffeb5589046b1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 01:00:40 2010 +0200
wafsamba: Improve assertion error message to include the module.
commit e27ef3dd6d59c3e985e912671976ee30b1c613d5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 00:59:49 2010 +0200
ldb: Only build standard ldb modules when building bundled ldb.
commit 7fe9e6cd69c03246cf56cacc6a2d4e0693dc1101
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 00:55:03 2010 +0200
dsdb: Fix includes when building against system ldb.
commit 419928b8dfec9b055fc2bb775c40ee57108892e6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jun 10 13:02:59 2010 +0200
wafsamba: Only add init function if not building module as shared library.
commit 6c9336110c75b9c14739c772f96147af5cea1eac
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 2 13:37:15 2010 +0200
dsdb: Build modules as external modules when using system ldb.
commit 9ac0a876a744e571ea9d797b59a033ff6db6241f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 1 13:28:50 2010 +0200
ldb-samba: Add missing dependency on credentials code.
commit 60ea59331b7d7306e67dfea199e23841625c2b51
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 15 11:43:30 2010 +0200
s3-waf: fix the build.
Guenther
commit b16e602660e9fcfe7a0e46633e81c898b2053238
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 14 13:19:43 2010 +1000
s4:dsdb Move linked attribute restrictions to objectclass_attrs
This puts more of the schema restrictions in one place.
Andrew Bartlett
commit 8ea411847262fec592b48d1a5a3bf4809653a420
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 14 13:27:59 2010 +1000
s4:dsdb Add const to dsdb_dn functions that operate on an ldb_val.
Andrew Bartlett
commit 0800c9e6f19f7905159ac3ab457ce8cd1899c995
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 15 10:20:37 2010 +1000
s4:selftest Remove unused basedn specification in selftest env setup
commit 982f688c02aae76e362d9c310284f1c830565759
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Jun 12 13:24:57 2010 +1000
s4:selftest Remove becomedc tests from knownfail, these should now pass
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit b5d80a225e06a65c6681eef6d065980d94329f58
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Jun 12 11:05:47 2010 +1000
s4:dsdb Rework the vampire schema handling to convert 3 times.
This seems like a lot of duplicate work, but by the end we should
have, in normal LDB format, the remote DRS schema, having bootstrapped
it with the locally loaded schema.
The multiple steps are to resolve the problems with references to
schema items that we don't 'yet' know about.
Andrew Bartlett
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit 7c60ac97bf72aa08df39aa9695607270e39931c5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 10 21:33:45 2010 +1000
s4:provision Allow a specific prefix map to be loaded into a new schema provision
This allows the prefixMap from a DRS server to be used when loading
the schema from the local files. This helps us then import other
schema with this map in place.
Andrew Bartlett
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit 9e28ceda96a0c76752af851db4ccba86c010ed67
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 9 21:53:01 2010 +1000
s4:dsdb Keep the DRS-based prefix map for use in provision-based schema
We need to use the remote prefix map for the provision schema, or else
we can't decode new, non-standard attributes into OIDs. Then once we
decode that schema, we can try again and get them properly translated.
Andrew Bartlett
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit 5323485eb3d5aeb844535c5b08fbdd3e7f8c9429
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 9 20:52:02 2010 +1000
s4:dsdb Allow the setting an override on the schema
The change here is to try and convert a per the previous rules, but if
we don't know a particular OID as a attributeID, then store it as an
OID (for example). This allows known values to be converted as
before, but still copes with unknown values.
Andrew Bartlett
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit 6a2f7fe04c2c658e59fba01f7346303676b121b3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 9 18:57:52 2010 +1000
s4:dsdb Use the schema from our local provision to decode the schema
This works on the assumption that the schema partition can only
contain schema objects.
We may need to pass down some kind of 'relax' to the DRS -> LDB
conversion code, so that it allows incomplete conversions, so that we
don't fail if a new attribute is present, and we can't decode it.
This would then be resolved the second time we do the conversion.
Andrew Bartlett
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit ecf782da87b67b8d977aa1bbfce21f1b6ed8288a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Jun 12 17:24:26 2010 +1000
s4:torture Rework NET-API-BECOMEDC test to use libnet_vampire callbacks.
The libnet_vampire code was derived from this code in the first place,
but has continued to evolve, while this code has often bitrotted.
This avoids the needless duplication of the callbacks, while keeping
the toture wrapper.
Andrew Bartlett
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit c3135905473e9a03c891f43a12557cfddb63382b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Jun 12 17:23:32 2010 +1000
s4:libnet Steal ldb and lp_ctx from python result into correct structures.
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit 1104b41f1e7d794f0bb52b9f8c96d7fe43ca0edc
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Jun 12 17:22:20 2010 +1000
s4:libnet Make the libnet_vampire default callbacks non-static
These are intended to be called from the NET-API-BECOMEDC torture test
to avoid duplication of code.
Andrew Bartlett
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit 2977c659ea1c2b647b8afd4c83cf82eac7e3ec2f
Author: Zachary Loafman <zachary.loafman at isilon.com>
Date: Wed Nov 18 00:21:44 2009 +0000
s4 torture: RAW-WRITE should check lockread_supported
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit dd2fad01fd50f2617bd8ee43e1329e6c0f942e54
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jun 14 16:58:15 2010 -0700
SMB2 correctness fix. As we've already returned the credits in an interim
response, don't add more in the final return.
Jeremy.
commit c705c35076fa7a200d0156199d68870e73d1f30b
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jun 14 15:55:19 2010 -0700
Fix warning messages about unused result of talloc_move. We're really talloc_steal'ing here.
commit 5ad12f70c543005fa5ef5485018150900382b8f0
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon Jun 14 15:12:00 2010 +0300
s4:Descriptor tests clean-up.
A bit of refactoring and modified the tests to use encrypted connection so that they pass against Windows unconditionally.
commit 352fb5c7e4465de938910a531b3ad640a37a6553
Author: Andrew Kroeger <andrew at id10ts.net>
Date: Sun Jun 13 10:48:31 2010 -0500
s4:provision: Make gc._msdcs DNS entries A/AAAA records
When adding an additional DC as a GC server, the new DC attempts to register its
own gc._msdcs records. If the existing gc._msdcs record is a CNAME, BIND fails
the update with the message "attempt to add non-CNAME alongside CNAME ignored",
and the new DC is not registered as a GC server.
The A & AAAA record types for gc._msdcs have been verified against the DNS
server of a W2K8 DC.
commit 3f54b415199d8fd2f9a36ec83e159d2aae5b0c3b
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 14 12:04:18 2010 +0200
s3: Make g_smb_perfcount_handlers static
commit 1137e8e95e6b53ed6a9468126634d01f6bc37f08
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 14 11:41:32 2010 +0200
s4:SAMR server - cosmetic fix
commit f0ab520f6e48096299624d30d904335e0d32a8a5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 14 11:30:27 2010 +0200
s4:SAMR server - on alias search operations do never use the domain DN as base dn
Aliases (especially in the "builtin" domain) are often domain-independant.
commit a28b103900ea33d70c6acec150575e10caebfb9a
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 14 11:10:16 2010 +0200
s3: Remove some dispensable ()
commit 2edd6527294617384b55b151950a21cf08fb79d1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 20:52:47 2010 +0200
s4-waf: Fix installation of .so links for libraries that are not bundled but have a mangled name.
commit d319c83f1f117d3b7ab69ec7b0df7eec80721912
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 19:55:53 2010 +0200
librpc: Install the right headers.
commit 08c972504a437ccec97dcb51e92fa99ab49ffa11
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 19:39:20 2010 +0200
Support system talloc/tevent headers.
commit 14f1ce72ed878e22fb6a016be9dc36bb920c0145
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 19:35:48 2010 +0200
libgpo: Use system libraries if possible.
commit c3550c9c28d11442b17f53dc6be0489aee9827dd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 19:21:17 2010 +0200
librpc: Fix netlogon.h file to install - not the torture one but the one
generated by pidl.
commit f52a0d31f08aff9eb8e8890730ec76dfdee7016a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 19:21:02 2010 +0200
param/share: Use static prototypes.
commit 09fb7fcd5f63e180007958de82e59359cc8cfd5e
Author: Thomas Nagy <tnagy2pow10 at gmail.com>
Date: Mon May 24 02:26:36 2010 +0200
Do not use headermap.txt for the header installation
Try to find the headers by searching on the filesystem. Warn when
a public header replacement cannot be found (talloc.h, ...).
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 4b6ce8efc0f4b914bcd43ba6a05ce383e51d49fd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 13 18:19:37 2010 +0200
s4:fix allocated control OIDs for "password_hash" LDB module
The password hash module controls overlapped others. Sorry, but the
"schema_samba4.ldif" hasn't been kept up-to-date.
commit 7b7213f1eedfbb68217fa760edaa3392dab5f507
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 17:43:25 2010 +0200
s4-provision: Use logger in provision backends.
commit 51058213cb183bcb127f5bb275cbb781efc55e35
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 16:38:24 2010 +0200
s4-test: Use smb.conf path set in environment rather than using
command-line options.
This is the first step towards supporting custom test runners.
commit 46037a816091506c4c89df6141d57b281728b395
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 16:02:26 2010 +0200
Remove unused version options for subunitrun.
commit 74ed48aa1cf6169757a397ad89dfe88736b0468b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 15:57:44 2010 +0200
Friendlier message.
commit d9d0d54475c1bf78ce1c45f139097cd30029ccaa
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 15:32:41 2010 +0200
upgradeprovision: Use logging infrastructure.
commit 3552ad3ab13a97c28925713dcea01d1e01df8868
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 15:13:12 2010 +0200
upgrade: Properly cancel/commit transactions in a couple more places.
commit 956a256faa035fbc43dbd37273d1c5d62aee0735
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 15:05:50 2010 +0200
s4-python: Start using standard python logging infrastructure rather
than simple messaging callbacks.
commit f0afda14ba95bc16ec8ca2377640f4ee13825af9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 13 14:13:42 2010 +0200
Fix aio_read detection for -lrt
commit c7f44801e3e55a37cfc467de8d9ac127cd89327e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 13 15:17:31 2010 +0200
s3: Remove fsp_belongs_conn
check_open_fsp does exactly the same
commit b90eb7dd6920dccd7a814ce77eec886e3a6ca8f0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 13 15:01:34 2010 +0200
s3: Remove some leftovers from macros
check_fsp and check_fsp_open used to be macros
commit 3f7e2222f47d5960cece48dd751470bcc0983d93
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 13 12:11:26 2010 +0200
s3: Remove the pointless PRINTERNAME macro
commit 1b13755698464581fb1b4a3083f5930d7b408ea4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 13 12:07:37 2010 +0200
s3: Remove the pointless SERVICE macro
commit 731b4469cb3b074a39b21fee220517af3df26a68
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 17:50:52 2010 +0200
s4:dcesrv_samr_GetGroupsForUser - return error code if a SID wasn't found
This shouldn't happen since SIDs are mandatory for security objects
commit a67fa2db3b48d48d3460e4cc1d9826a107b64066
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 17:45:14 2010 +0200
s4:dcesrv_samr_QueryGroupMember/GetMembersInAlias - unify the structure
Mostly cosmetic fixes
commit 890d590e5193cc187d4c8dc423afef57048400fa
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 13:22:54 2010 +0200
s4:password_hash LDB module - this does really deactivate the MS LAN manager hash
Previously, only the conversion from cleartext to the LM hash was deactivated,
and not when the user specified it directly through "dBCSPwd".
commit 3e98262c7115322bb069d19e275c43b1fbd30ec3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 13:22:22 2010 +0200
s4:password_hash LDB module - fix comment
commit 4d681471608f4e319672af368f34912f68ca26a4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 12:17:33 2010 +0200
s4:torture - SAMR testsuite - now we do support "GetAliasMembership" as expected
commit d2c25e1b11c3ce1e59da2ee7148b5b4ad37a9167
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 12:14:59 2010 +0200
s4:dcesrv_samr_GetAliasMembership - provide a correct implementation
We could also have no valid SID specified at all and also then we have to
return an empty array with "NT_STATUS_OK". This shows the torture testsuite.
commit 4a8ee9a333ef2b9d0f0cc39c5debf9344cff1f83
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 11:39:25 2010 +0200
s4:dcesrv_samr_EnumDomainGroups/Aliases - when we don't get a SID then the database is corrupted
Group/User/Alias entries do always have a SID (it's a mandatory attribute in the
SAM directory)!
commit 4659b3c4fd0e9ae7108e9fc4d613682f9f0a098a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 00:06:36 2010 +0200
s4:dcesrv_samr_QueryAliasInfo - return "NT_STATUS_NO_SUCH_ALIAS" when it wasn't found
commit d2099a1deff54423b477bf58c977118256ece92b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 00:06:07 2010 +0200
s4:dcesrv_samr_QueryGroupInfo - make it more like "QueryAliasInfo"
commit 776eb25ef75bf4d7625f04db404c4b8a1ae90936
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 23:59:12 2010 +0200
s4:dcesrv_samr_QueryUserInfo - minor fixes
Return "NT_STATUS_NO_SUCH_USER" when user account doesn't exist.
commit cdecae6c03fd4ce49f3bcabfe5fccc1c9e7488b0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 23:57:39 2010 +0200
s4:dcesrv_samr_QueryDomainInfo - allocate the "info" structure only when really needed
That means the allocation should move after the lookup (as it is on
"QueryUserInfo"). Return "NT_STATUS_NO_SUCH_DOMAIN" on an invalid domain.
commit 0171f714b4caf6ef67ea36729106b89e91706002
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 23:44:46 2010 +0200
s4:dcesrv_samr_EnumDomainGroups - mostly small fixes
commit f2c3d39e7223f6bd162f3a38efa1b568aee621de
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 11:49:26 2010 +0200
s4:dcesrv_samr_EnumDomainAliases - return an empty array also when no entry was returned
commit 5a1cb7029cdeaaf2bf1c2093ddc00f51a15d95e5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 23:42:14 2010 +0200
s4:dcesrv_samr_EnumDomainAliases - mostly small fixes
The biggest change consists in the implementation of the Windows Server
return size formula MIN(*r->out.num_entries, 1+(r->in.max_size/SAMR_ENUM_USERS_MULTIPLIER).
commit 84bda98066e23b7963a6280155eafa88312724a9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 23:39:46 2010 +0200
s4:dcesrv_samr_EnumDomainUsers - make this call look more similar to "EnumDomainGroups" and "EnumDomainAliases"
That means that the lookup is now also done by "samdb_search_domain" to be more
consistent.
commit bbb0b31911c41091dd79da3612b0227c68139da7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 11:31:30 2010 +0200
s4:ldif_read_prefixMap - don't cause memory leaks on error conditions
commit 14974ba1f1e23c3f960cc1c0dd4a1dcf0e5c5601
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:52:54 2010 +0200
s3: Remove smbd_server_conn from cancel_pending_lock_requests_by_fid_smb2
commit 5dc2fe5fdccfcae24819f533371d8aea4280bce7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:52:09 2010 +0200
s3: Explicitly pass sconn to process_blocking_lock_queue_smb2
commit 2592928f00b0d53da1b5df328f454b9c9415754a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:50:08 2010 +0200
s3: Remove smbd_server_conn from push_blocking_lock_request_smb2
commit 375ce3c96a695f447a09a8414735249e16cc7916
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:48:42 2010 +0200
s3: Explicitly pass sconn to [remove|schedule]_deferred_open_message_smb2
commit 9747eb45d606222b8a8361a9e0a3d878b063551a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:44:53 2010 +0200
s3: Explicitly pass sconn to open_was_deferred_smb2
commit c0240dbeecf74b5c3a681d919de8fb2cf3c7038e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:43:12 2010 +0200
s3: Explicitly pass sconn to find_open_smb2req
commit 330a64c72b1eb9f2fd87a74df82d54249c5f2b36
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:31:04 2010 +0200
s3: Explicitly pass sconn to process_blocking_lock_queue
commit cb03710c76b120c5aa3e8a5df2001ffca015b80b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:27:56 2010 +0200
s3: Remove smbd_server_conn from blocking_lock_cancel_smb1
commit cc825231cd50c5214dc6167a441432a7751413bc
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:26:32 2010 +0200
s3: Explicitly pass sconn to recalc_brl_timeout
commit ec2079f5d0d41aa580008efc43c9019764a68ec3
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:25:08 2010 +0200
s3: Explicitly pass sconn to blocking_lock_was_deferred_smb1
commit f856fb0b359a21a786a62ea9f70043afcd6f8373
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:23:12 2010 +0200
s3: Explicitly pass sconn to remove_pending_lock_requests_by_mid_smb1
commit 91bd52da1a96f7be60df93dfb1a629424b517f0c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:18:55 2010 +0200
s3: Remove smbd_server_conn from cancel_pending_lock_requests_by_fid
commit 034e616448d54a515ffd8a0b87baed09977854e2
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:18:15 2010 +0200
s3: Remove smbd_server_conn from push_blocking_lock_request
commit bfd5f24fa1a9b8914ac81161b4612bdcfd408174
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:16:39 2010 +0200
s3: Remove smbd_server_conn from brl_timeout_fn
commit 6b8db9b215395c41aa5cd18a3a6109f6aaca242a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 13:23:10 2010 +0200
s3: Remove smbd_server_conn from switch_message
commit a529fbb713d99b73a20f54302ebd3faaf667458d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 13:21:46 2010 +0200
s3: Remove smbd_server_conn from break_level2_to_none_async
commit 5d43180a550b7b4ad4613e99437cb92a1ef7ebd9
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 13:20:17 2010 +0200
s3: Explicitly pass sconn to the remove_pending_change_notify_request_by_mid
commit f589909eb1ef6117007948f54c291775141be645
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 13:17:51 2010 +0200
s3: change_notify_reply() does not need its "conn" argument
commit 4a9b3e557f0a3b4049b301574461a39ef0e4ba09
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 13:13:20 2010 +0200
s3: Explicitly pass sconn to the change_notify_remove_request
commit 9386e2d9d8c908a5424e244b0c049fbcfab07aa9
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:43:11 2010 +0200
s3: Remove smbd_server_conn from change_notify_add_request
commit 2509eb4209a5568c4c96e34d3ccfd98bc94e60bd
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:39:47 2010 +0200
s3: Remove smbd_server_conn from reply_sesssetup_and_X
commit c03012ea1c2111647f60d3d7cd79c1489b3d92eb
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:39:21 2010 +0200
s3: Fix a typo
commit 8de7bf19b8138e6fd1d138d3594d129ed06aa011
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:39:00 2010 +0200
s3: Remove smbd_server_conn from reply_sesssetup_and_X_spnego
commit 853b29066c54079974fd130ba52de96f070d6bb4
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:38:29 2010 +0200
s3: Remove smbd_server_conn from reply_spnego_auth
commit 32900fdc97c2da365349506a0822a1b1b9b81ec6
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:38:09 2010 +0200
s3: Remove smbd_server_conn from reply_spnego_negotiate
commit 0f852ab070881c9227c29c40777aa1836af73783
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:37:49 2010 +0200
s3: Remove smbd_server_conn from reply_spnego_ntlmssp
commit 2260dbecc2a54f618f6407c111d33308469d193b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:37:31 2010 +0200
s3: Remove smbd_server_conn from reply_spnego_kerberos
commit 89c5023b2519cf4e189b9cdcc00bd551e577f16f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:30:04 2010 +0200
s3: Explicitly pass sconn to the api_ functions
commit f437f12d3eb67d148bde19f66005039c2a979e92
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:21:20 2010 +0200
s3: Remove smbd_server_conn from send_trans_reply
commit 391cb416f610029d77cc72a628af8abdd7213206
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:10:37 2010 +0200
s3: Remove smbd_server_conn from reply_findclose
commit 93867d5f3410c2c582aaa5eb2ac5eff42f27025a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:10:07 2010 +0200
s3: Remove smbd_server_conn from call_trans2setfsinfo
commit b250232b8b86bb705c216460730e2db472d426e3
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:08:12 2010 +0200
s3: Remove smbd_server_conn from smbd_do_qfsinfo
commit b340953881b8325a98afd3dc96ccf57c26a32f8c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:06:14 2010 +0200
s3: Remove smbd_server_conn from call_trans2findnext
commit 6608400e2d21f47a33872f9e365308b88309ac4f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:05:37 2010 +0200
s3: Remove smbd_server_conn from call_trans2findfirst
commit 72b4afc6998a6340c85c44c8da15beb02d268e32
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:05:12 2010 +0200
s3: Remove smbd_server_conn from send_trans2_replies
commit 29f716971abd846425792203fc6289d6137d5167
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:02:47 2010 +0200
s3: Remove smbd_server_conn from register_existing_vuid
commit dd192bb649341d0f2bd91350c7efe98dbdb47172
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:55:42 2010 +0200
s3: Explicitly pass sconn to is_valid_writeX_buffer
commit 73955a2d92bff0dd78b42f9ec34835fb6a78583a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:53:25 2010 +0200
s3: Explicitly pass sconn to reply_readbraw_error
commit d5f20aea73de38d0536b7ec3fa6b425bf3fdde34
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:50:56 2010 +0200
s3: Pass sconn explicitly to reply_special
commit 7223799b6eb37d7d9e686ec75454ece7f02a9e17
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:49:02 2010 +0200
s3: Remove smbd_server_conn from smbd_do_locking
commit 5005ad2e78ccd5f28d943f84016d4787e3bd61c2
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:48:06 2010 +0200
s3: Remove smbd_server_conn from reply_rmdir
commit 0d6f3d64fa076c9d5185062c04139c36d28ee14d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:47:33 2010 +0200
s3: Remove smbd_server_conn from reply_writebraw
commit 8f8aac9c2fae57351785e28afc7096f9dc7be028
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:46:29 2010 +0200
s3: Remove smbd_server_conn from reply_read_and_X
commit e16476ac4839199f71db2c1687388cc7e84ce2bc
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:45:24 2010 +0200
s3: Remove smbd_server_conn from send_file_readX
commit 993738d3688d0d37e65661638b09c9d823db16c5
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:44:41 2010 +0200
s3: Remove smbd_server_conn from reply_read
commit 96acccf26173d5e33362929330d4aae19d09fe92
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:44:14 2010 +0200
s3: Remove smbd_server_conn from reply_lockread
commit fd1891829a60967114353e42dc3ee73b84e1ac33
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:43:53 2010 +0200
s3: Remove smbd_server_conn from reply_readbraw
commit 2826471123857c3304763fee25c639f41cbd1d84
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:42:40 2010 +0200
s3: Remove smbd_server_conn from reply_send_file_readbraw
commit f26b7384124df20f2bfefbed44586179ab3a563e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:42:06 2010 +0200
s3: Remove smbd_server_conn from reply_ulogoffX
commit 557aebc327d6b8db190debac5ccab53799182835
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:41:40 2010 +0200
s3: Remove smbd_server_conn from reply_fclose
commit 96854ec994c15bb14fea6e540019001833c8db1a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:41:22 2010 +0200
s3: Remove smbd_server_conn from reply_search
commit bf2f2f468c9bca7c4fbbfa778a25b366508b5048
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:41:00 2010 +0200
s3: Remove smbd_server_conn from reply_tcon_and_X
commit 0275502b9ce870656e033791196c2c33330ca4b0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:40:37 2010 +0200
s3: Remove smbd_server_conn from reply_tcon
commit d724ac3e8c861b0fa59fd3fb9529af9c8aa0642e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:39:03 2010 +0200
s3: Remove smbd_server_conn from make_connection_snum
commit d04a89682a062e48dfd01f5b56899b84eb9220b6
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:34:38 2010 +0200
s3: Remove smbd_server_conn from change_to_user
commit 5a2277ca2f2457b32eaf68f4539b037733022e4c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:29:26 2010 +0200
s3: Remove smbd_server_conn from reply_ntcancel
commit e01ee1c77d4c120f29dd636e40d9e71835f149f5
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:29:12 2010 +0200
s3: Remove smbd_server_conn from send_nt_replies
commit b55a8e8ccf060be0e8aee92719ec1dab5d9736c1
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:26:51 2010 +0200
s3: Remove smbd_server_conn from reply_smb2002
commit a45ea200c67ea1be4accc17d05513653c454556e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:25:41 2010 +0200
s3: Explicitly pass sconn to negprot_spnego()
commit b82fc135a760fc9d153e0fe5e86b28a08c98f92c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:19:21 2010 +0200
s3: Remove some global references to smbd_server_conn
commit 3087986e768e4d79d321dcb2062f883237b0794a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 13:08:31 2010 +0200
s3: Remove sconn arg from smbd_notify_cancel_by_smbreq
commit 546a264e0e2b6bc31768cee4bc2ce478019d2c42
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:54:02 2010 +0200
s3: Initialize smb_request->sconn in smbd_smb2_fake_smb_request
commit 46a48edcdfc043a400310e6b1b84d0469c5623e1
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:06:24 2010 +0200
s3: Use "sconn" argument in smbd_[un]lock_socket_internal
Metze, please check!
commit d7bc5fe7346e4f6c3f04be96618046879666a127
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:01:27 2010 +0200
s3: Pass sconn to init_smb_request()
commit edfc7eaf6ddd0e08c6a8544230c42f50ed45d9aa
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:01:10 2010 +0200
s3: Add "smbd_server_connection" to smb_request
commit 312a508e8880bead0d5a3343540f67e7696a00a0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 10:28:42 2010 +0200
s3: Fix some nonempty lines
commit 8d8678fcfd8017a679ec9ce442f050a43689fcaa
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Jun 12 11:03:36 2010 +1000
s4:dsdb Allow calling dsdb_convert_object_ex() directly
This will allow the libnet_vampire code to manually convert individual
schema objects.
Andrew Bartlett
commit 72486a6dd16608465e1b76bf838d3f5b019dac8f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 10 21:34:48 2010 +1000
s4:dsdb Add debug
commit 088d5b76ca416e798b505d9fd9266db73a0a8450
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 10 21:29:57 2010 +1000
s4:dsdb Simplfy match of objectclass in dsdb_schema_set_el_from_ldb_msg
There is no need to do a full ldb_match_msg() for a simple case
insensitive string.
Andrew Bartlett
commit 57b6979ad034b50debd47979e05b925daa54b5a4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 10 08:58:44 2010 +1000
s4:provision Allow both additional and override prefixmaps in Schema
The idea here is to allow some callers to specify a new prefixMap that
will override the values loaded from the prefixMap.txt.
Andrew Bartlett
commit 6336f244758e78dfce61715b5de403e3db7fb02e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 10 08:51:30 2010 +1000
s4:dsdb Allow a binary prefix map to be specified in the LDIF
This allows it to be specified in either binary or as a string.
Andrew Bartlett
commit d6f5c1ace215131dc09611abcd2a52254bdab4d6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 10 08:27:59 2010 +1000
s4:dsdb Provide a function to convert from DRS prefix maps to the LDB prefixmap
This allows us to push a prefixmap directly into the schema we
generate in the provision code.
Andrew Bartlett
commit e82836467c2ecdcb2c89c2b6eb4dae51bd2f22a2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 10 08:25:49 2010 +1000
s4:dsdb Add more debugs to help track down failures to parse the prefixmap
commit c6bf8e4cadea563011630af2fa673e3ea5e3b2ee
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 9 20:21:19 2010 +1000
s4:dsdb Put back the reference and set_attributes in dsdb_reference_schema
I'm not sure why I removed these in fe3e1af901c970f738bee92baac5d7d4f5736e17
Andrew Bartlett
commit 7aa8af144efc6d57f33b90ac856096aa7089468d
Author: Olaf Flebbe <o.flebbe at science-computing.de>
Date: Tue May 25 13:22:56 2010 +0200
check if LD_AS_NEEDED breaks linking with libreadline fixes #7209
Signed-off-by: Simo Sorce <idra at samba.org>
commit c65eb4852c2c401149b840884e76a21ff7cd37c7
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 11 16:02:10 2010 +0300
s4/test-libnet: Re-align code a bit - more readable this way IMO
commit 9baa73053e9119991d3ad6c72b153a006e153b89
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 11 15:44:34 2010 +0300
s4/test-libnet: Refactor test_group_create() a little to:
- Close unused policy handle for created group
- re-align code - it is more readable this way IMHO
commit 6eecb968cb0eeea7212477dcee8148f093d8c88f
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 11 15:37:12 2010 +0300
s4/test-libnet: Refactor test_user_create() little bit to:
- fix a flaw that user RID is not returned in case
user is recreated
- close unused policy handle to created user
- do not take into account the result from
test_samr_close_handle - we don't case
commit a735c1ade2573fadc84a0aae03cdaa1bddd43f90
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 11 15:30:09 2010 +0300
s4/test-libnet: add few comments for utility functions
commit 84fb3ed8a5e6cb253ec1e461185b0b68e57cf21a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 11 15:11:01 2010 +0300
s4/test-libnet: Move LSA close handle function to a common location
commit 8714f130e5de2738e8fd430385f236f2e360967e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 11 15:01:07 2010 +0300
s4/test-libnet: remove unused code
Pre-connecting SAMR and LSA pipes is implemented in
test_libnet_context_init() function
commit 7168b1c99ffa093fd62597762aef2dfc129875fa
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 11 14:59:57 2010 +0300
s4/test-libnet: Fix compile-time warning
commit e3c95940cd6e1f6976cb249a8b329cdff4c756ee
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Fri Jun 11 17:22:21 2010 +0300
Adjusted ACL tests to use encripted connection.
This way we get rid of the conditional if.Samba checks, because users are
successfully created and enabled.
commit 4bb351ac8080c92ff6a84a5cdeca0b158864da1b
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 11 15:05:36 2010 +0200
s3-auth: Fix valgrind warning (unitialized var) in samu_to_SamInfo3().
Guenther
s3:auth do not fail if there are 0 group sids
Signed-off-by: Günther Deschner <gd at samba.org>
commit a9b06f58f254e659ccf253af0d8fb7f062e03188
Author: Olaf Flebbe <o.flebbe at science-computing.de>
Date: Fri Jun 11 13:52:23 2010 +0200
configure.in prevent generation of file "shlib.so"
commit 4fc36ca802230fbed8bb2b3b959bc2a6afd1ed3d
Author: Simo Sorce <idra at samba.org>
Date: Fri Jun 11 08:25:27 2010 -0400
s3:auth fix samu->info3 conversion
Some pdb_get_ functions where missing because of previous mis-patching
commit d5cf6482ed0cd9a11448ca04944b2e01200a7c89
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 8 14:33:05 2010 +0200
s3: Fix starving the echo responder
When both the echo responder and the 445 socket want to send stuff to the
worker smbd, the select loop is not fair. It always chooses the smaller file
descriptor to work on. This can mean that on a busy system the echo responder
never gets around to feed its stuff to the parent.
This fix chooses the async echo responder socket when both the 445 and the echo
responder socket are readable.
Yes, it is a very hackish fix which is required *now* I think. The proper fix
would be to either assign priorities to fd's in tevent, or the from my point of
view better fix would be to make tevent kindof round-robin.
Round-robin would mean that whenever a fd has been dealt with, it is taken off
the list of interested sockets, and only if no other socket is active, all of
the ones waiting are put back. This is a bit like EPOLL_ONESHOT, which I would
like to use for this in the epoll case. Although, I need to do some research if
maybe epoll already guarantees round-robin, I did not find anything in the docs
yet.
Volker
commit b61fa4b67686aa5df69c28ca86d8d26aaa3ba9d4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 10:19:19 2010 +0200
s4:rootdse LDB module - use LDB result constants
commit 93fe926842227bb7605503f69e471df765ab87e9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 10:04:50 2010 +0200
s4:passwords.py - set the "dSHeuristics"
As per Nadia's request and abartlet's suggestion the test now also sets the
"dSHeuristics" attribute properly to be able to perform the tests also against
Windows without further configuration.
The code has the neat feature that it undoes the change and resets the
behaviour as it was before.
commit 61976e4fcf49b340a50487d177dea38321ab0e06
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 10:04:19 2010 +0200
s4:passwords.py - use "self" before "enable_account" to make really sure which LDB connection should be used
commit 315602f8455fd8fa86254585a27cca91f1542201
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 09:19:02 2010 +0200
s4:ldap.py - check how the directory server behaves when the 'distinguishedName' attribute wasn't set correctly
(On add operations the server does completely ignore it and uses the "header"
DN)
commit ace9bd6560fcbd918ea38e6541137bbfe99da73c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 09:17:08 2010 +0200
s4:ldap.py - check if the "name" of an entry was really ignored
commit 4d3362776f72407e8609144d2801ba067485a261
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 08:52:12 2010 +0200
ldb:ldb_sqlite3 backend - remove a warning which has already been resolved
commit 155a672567ac95e0a631a82f9273ddec71bcf643
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 08:50:36 2010 +0200
ldb:ldb_sqlite3 backend - remove checks which are now done elsewhere
(In SAMBA LDB modules)
commit 4690ebf0f47ec435e2e63687dce257b6b2bd5464
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 11 01:47:45 2010 +0200
Add missing stub functions.
commit c446fbc3bfa345c8bc748a162dedb24857272aab
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jun 10 23:12:53 2010 +0200
s4-python: Fix formatting.
commit a53ca944163f5366493b4c36ed94fd9f92e86238
Author: Simo Sorce <idra at samba.org>
Date: Mon Jun 7 17:38:01 2010 -0400
s3:rpc improve handles memory hierarchy and use better name.
While there also cleanup the code a bit.
Signed-off-by: Günther Deschner <gd at samba.org>
commit bcc4383ef28c16ded8548ce54b18cf32e49636dd
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 8 12:26:15 2010 +0200
s4-smbtorture: rework internals of RPC-SPOOLSS-ACCESS testsuite.
Guenther
commit 1ceb0dd92f1c1795264832eee0711612cc58d9a8
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Jun 10 18:23:06 2010 +0300
s4/test: use test_libnet_context_init() function to create libnet_context
This way we ensure that LIBNET call will be issued against
the DC we are testing against
commit d6d8ec80f9fc713924df1c9b72ab0491bdf95bde
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Jun 10 18:21:44 2010 +0300
s4/test: fix SEGFAULT in test_group_create when rid is NULL
Caller of this function may not need group RID and
in such case it passes NULL for rid parameter
commit eda49261205471a1e0c96ae4e1eda037edb11eba
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Jun 10 13:12:08 2010 +0300
s4/test-libnet: Helper func to initialize libnet_context
and create rpc connections to SAMR and LSA pipes.
This function should be used in cases where we need
'deterministic' connection to the DC we are testing against.
The problem is that most of the test follow the pattern:
1. Connect to server supplied on command line
2. Create user/group through connection in 1.
3. Use 'fresh' libnet_context to query/alter the object in
step 2.
In singe-DC environment this work well. But in multiple-DC
environment libnet may connect to another DC (step 3), not
the one we use in step 1 and 2. This leads to false error -
object created in step 2 is not found on DC we are querying
in step 3.
commit 85d7863b2c2420bd652d73ab4ec230f709acae73
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Jun 10 02:02:06 2010 +0300
s4/test: Call test_user_cleanup with original RDN for the user
'name' var is changed during the test execution and should
contain samAccountName for the user, while test_user_cleanup()
expects account RDN to be passed
commit 61e5ac4a5a1d4a2bb59297cd28288ef1460d1ea4
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Jun 10 01:59:51 2010 +0300
s4/test: Fix incorrect NTSTATUS comparison
In case group already exists, we should get NT_STATUS_GROUP_EXISTS.
commit 64a71d380cb88b19ecb8673dab07210514fc6a52
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jun 8 18:03:00 2010 +0300
s4/test: remove create/delete group implementation in API-CREATEGROUP test
We already have common implementation for create/delete
group in libnet/utils.c
commit d02c395abdee28a7eef2cbbbf2e183da8f707004
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jun 8 15:44:00 2010 +0300
s4/test: Remove duplicated test_opendomain() functionality
We already have a nice common test_domain_open()
function in libnet/util.c
commit 7135abcd8d979b9f7149e74f80edf118dc98de51
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 7 18:44:14 2010 +0300
s4/test: libnet_user tests should use common test_user_cleanup
implementation instead of not-so-informative test_cleanup()
commit d1bcc23b2c4df54e42597647395ccd948e338195
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 7 18:33:35 2010 +0300
s4/test: Refactor test_user_cleanup to be more robust
We always call this function with user's account RDN
while samr_LookupNames() searches for samAccountName.
commit 1b8a8ddfe08bc4c083510ccf60e96079af952b74
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 7 17:51:26 2010 +0300
s4/test: remove duplicated comment
commit 09627638224759c985f0636c5616b0357c91e450
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 10 11:48:39 2010 -0400
s3:misc make use of server_[event/messaging]_context directly
Untangle these functions from smbd specific dependencies so they can be freely
used in multiple servers.
commit cbda0369a831ed279cec7ff231ad7399af74db39
Author: Simo Sorce <idra at samba.org>
Date: Thu Jun 10 11:55:27 2010 -0400
s3:winbindd use common server context functions
commit 5e576a53abbf2822c0a8fcc87f76140a755599e4
Author: Simo Sorce <idra at samba.org>
Date: Thu Jun 10 11:54:00 2010 -0400
s3:lib make server contexts generic
Pair-programmed-with: Andreas Schneider <asn at samba.org>
commit aeb25ad0b87af2a2af7735f49744a677ebf4fe06
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 10 14:28:55 2010 -0700
Fix the build in the non WITH_AIO case (sorry).
commit a8c051b2f91852b5228d6a903d6a7fd50d22de28
Author: Björn Jacke <bj at sernet.de>
Date: Thu Jun 10 23:15:19 2010 +0200
s3: readd h_errno struct member but rename it
as pointed out by metze this is a structure of fixed size, which should not be
changed.
commit b53f8c187de8c8aff5989e4a0a460970f89b9011
Author: Rusty Russell <rusty at rustorp.com.au>
Date: Thu Jun 10 13:27:51 2010 -0700
Since idtree assigns sequentially, it rarely reaches high numbers.
But such numbers can be forced with idr_get_new_above(), and that
reveals two bugs:
1) Crash in sub_remove() caused by pa array being too short.
2) Shift by more than 32 in _idr_find(), which is undefined, causing
the "outside the current tree" optimization to misfire and return NULL.
commit 321d7a6303b651cc2533f4b72dc7cef6b7d64da4
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 10 13:20:37 2010 -0700
Implement AIO in SMB2. Doesn't allow cancel calls yet (to be added).
Jeremy.
commit edd8940e1864deedaf0f6484809def586ac215f2
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 10 13:19:25 2010 -0700
Ensure we correctly setup req->subreq before testing for async. Stops crashes when
XX_send functions set async to stop interim replies being sent.
Jeremy.
commit b5638a05601ce8206a85c2f3625f8894ed0e0a6f
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 10 13:17:35 2010 -0700
Don't use the autofree context for the globals. This causes child smbd's forked
by modules to crash due to destructors being called (found when using the vfs_aio_fork
module with smb2).
Jeremy.
commit 405a0c558c023a752e88e52b7e40048d3b7090c5
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu Jun 10 14:56:03 2010 -0400
s3:cleaunp reformatting for readability
commit 446deb0082193d1203a1454b93458ab23757a112
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu Jun 10 14:36:19 2010 -0400
s3:cleanup remove trailing spaces
commit ec94efb79d4516b09c7d1d93a4ff8ce0f7046f41
Author: Björn Jacke <bj at sernet.de>
Date: Thu Jun 10 17:19:16 2010 +0200
s3: fix build on HP-UX
this struct member h_errno is not used in the HP-UX code paths, it was just
there because Solaris has it, too. As h_errno is a function call macro on HP-UX
when thread support is enabled we run into trouble here. Just commenting it out
should be okay as we don't use it anyway.
commit bdd83c0639ad0066a2b0e77611548f2d165bb747
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 16:18:41 2010 +0200
s4:ldap.py - add testcase which demonstrates the reset of the "primaryGroupID"
commit d604d499390dea1a10bfdd462b512bfe1845a101
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 16:15:10 2010 +0200
s4:samldb LDB module - fix up the case when the old and new "primaryGroupID" are the same
commit 13ca999b3b4660e530ac0b91342c40ff8a3c7a31
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 16:08:23 2010 +0200
s4:samldb LDB module - don't create multiple "ac" module contexts on modify operations
Since we do now run sequentially through all checks we don't need multiple "ac"
contexts anymore.
commit 9f9529886499acc80ad7316d5eab590545643b87
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 15:47:48 2010 +0200
s4:dcesrv_samr_Add/DeleteAliasMember - provide better NTSTATUS return codes when something didn't work
commit 7374cd035807029d800815f82474ab9c6ed2e861
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 12:42:04 2010 +0200
s4:dcesrv_samr_GetAliasMembership - fix type of counter variables
commit 34b43a8642bd13dfad50a4e2436ccc5814135ce2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 12:19:04 2010 +0200
s4:dcesrv_samr_DeleteAliasMember - add more braces to fit better the coding styles
commit 305f2c70434ecc244c4c7bcad285e2cfae8f3215
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 12:17:48 2010 +0200
s4:dcesrv_samr_AddAliasMembership - Merge the two error blocks into one
commit 13b1f7a2b33b299208abfbb50fbf1e2b982ca326
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 11:50:12 2010 +0200
s4:dcesrv_samr_Add/DelGroupMember - remove the account type check
MS-SAMR 3.1.5.8 speaks from accounts which are not necessarely only users.
commit f95634dbe0b8afbae8b90323ba98ddb69d9dcf6e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 11:48:33 2010 +0200
s4:dcesrv_samr_AddGroupMember - also the error code "LDB_ERR_ATTRIBUTE_OR_VALUE_EXISTS" is allowed
This is returned when the group is the primary group of the specified entry.
commit 1305c9159876f1621710b9888624aaf037046155
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 11:05:43 2010 +0200
s4:samba_dsdb LDB module - move the "objectclass_attrs" module back
I think it should be lower in order to control also the "instanceType" module.
commit c1b4ccb23b18c4d729f3fe299a1f03efa497a958
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 10:52:31 2010 +0200
s4:ldap.py - add a test to demonstrate the 'instanceType' behaviour
commit 0a41b7e95b394e410cc0d8d02e9ff5ea1f64cd9c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 10:39:52 2010 +0200
s4:instancetype LDB module - prevent all types of "instanceType" manipulation
Also on Windows Server you aren't able to change it.
commit f66cc827096c53d4d16b8c850c83a3b5664e9725
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jun 10 15:40:14 2010 +0200
s3: Fix EnumDomainAliases when no aliases are in LDAP
We used to return NT_STATUS_ACCESS_DENIED, now we just return 0 entries, just
like W2k8 does.
usrmgr.exe was pretty unhappy with the NT_STATUS_ACCESS_DENIED
commit ba809ecb8ab217e4376bf75d2300e146b62b88eb
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 10 11:56:15 2010 +0200
s3:pdb_ldap: fix bug 7505 - init_sam_from_ldap stores group in sid2uid cache
commit 1819beb0887d7ee75318d330124c13b2ad2d830b
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jun 10 09:50:32 2010 +0200
s3: Add a dummy test to prove the maxfd calculation
To be run in a debugger, there's no way to inspect the internal tevent_select.c
maxfd calculation
commit 7f29f817fa939ef1bbb740584f09e76e2ecd5b06
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jun 10 09:41:11 2010 +0200
tevent: Fix maxfd calculation in tevent_select
When doing
fd1 = tevent_add_fd(ev, ev, 2, 0, NULL, NULL);
fd2 = tevent_add_fd(ev, ev, 3, 0, NULL, NULL);
TALLOC_FREE(fd2);
fd2 = tevent_add_fd(ev, ev, 1, 0, NULL, NULL);
we end up with select_ev->maxfd==1. This is wrong.
An alternative fix might be to make select_ev->maxfd an unsigned int and make
EVENT_INVALID_MAXFD==UINT_MAX. But in theory we might end up with an fd of
UINT_MAX.
std_event_add_fd() contains exactly the same piece of code, so I'm directly
pushing it.
Volker
commit 9fdb69ebcdca9e56e39affd7a35d1ccb28daad5c
Author: Karolin Seeger <kseeger at samba.org>
Date: Thu Jun 10 10:35:56 2010 +0200
s3-smbd: Fix typo in comment.
Karolin
commit 8ca88e2f818d01311e16c290882c8ec47f0d4bfc
Author: Karolin Seeger <kseeger at samba.org>
Date: Thu Jun 10 10:34:58 2010 +0200
s3-passdb: Fix typo in comment.
Karolin
commit d28fa8faab5de5979dcd5535a7cd7095d3233e29
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 9 19:12:02 2010 -0700
Rename "allow_smb2" -> "using_smb2" and make the usage clearer.
commit 3c0eead9fd0693c81388b42f34fadd503edfe891
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 9 17:09:11 2010 -0700
Split out the "finished write processing" code into a function so it can be called
by both sync and async code.
Jeremy.
commit efd0c35a7e195865b18ce75bf2d592aaf1724d7d
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 9 17:08:41 2010 -0700
Ensure we don't send SMB1 keepalives on an SMB2 connection.
Jeremy.
commit 09e74b675fb9090c34f03e0894340cffcb501004
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 9 10:48:12 2010 -0700
Split out the "finished read processing" code into a function so it can be called
by both sync and async code.
Jeremy.
commit 95047bc717a1129452b6e11d00e7a67d16156095
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 16:15:28 2010 +0200
s3-winbind: Fixed setting default sequence number.
commit 6a6bb768c6542d738a8b2b6da282159a65ed611d
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jun 9 15:24:26 2010 +0200
s3: fix calculation of st_blocks in streams_xattr
Thanks to Joachim Schmitz for finding that miscalculation.
commit 687c42ee6526ff5deb9f3a8d7c13667b520b7440
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jun 9 15:21:24 2010 +0200
s3: fix calculation of st_blocks in init_stat_ex_from_stat
this is just relevant for the very rare systems that don't have the st_blocks
struct member. This is a fixup of the fix for bug 7474.
Thanks to Joachim Schmitz for spotting this!
commit 8823bdc7e2d141add138420feadd86837ea2257d
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Jun 9 12:03:32 2010 +0300
Added guids for the validated writes.
commit 1fd15dcb7c31f18036ce15cb504ae2d4a9122629
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 16 21:03:34 2010 +0100
s3: Fix bug 7253
acct_ctrl is 32 bit in LOGIN_CACHE, but "w" as a format specifier for
tdb_unpack only writes 16 bits. Okay on x86, not okay on Solaris.
Thanks to Vladimir.Marek at Sun.COM!
Volker
commit 34a8324409961c4837e83c714fb1a285f238312d
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jun 8 21:20:07 2010 -0700
Fix a valgrind error found by SMB2-COMPOUND test.
If a file is closed we must also NULL out all chained_fsp
pointers when the fsp is freed to prevent invalid pointer
access.
Jeremy.
commit 0c5d0e1c37daf5b802e990bde8469934ae33f6cc
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jun 8 17:44:05 2010 -0700
Second part of fix for 7501 - SMB2: CREATE request replies getting mangled.
Based on code from Ira Cooper <samba at ira.wakeful.net>, and also
advice on refactoring the patch into a function call. outbuf vectors
can be reallocated by smb2 processing code, so when returning interim
responses we must not make assumptions about vector size.
Jeremy
commit fd9e02d5f3a2d98fe14b10b52c4ca3e654a6bd3e
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Tue Jun 8 11:20:23 2010 -0700
Fix for bug 7501 - SMB2: CREATE request replies getting mangled.
Code for dup_smb2_req() was duplicating the wrong vector (i, instead
of i+2) when returning a non-minimal SMB2 response.
commit aeacb023b966dfe2943a5fa799a7b1bc4df4181c
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 8 14:34:20 2010 +0200
s3-selftest: disable domain creds smbclient_s3 tests for now.
Not sure they were ever working before.
With this patch, make selftest is down to 4 failures from 259 tests.
(two times LOCK9 from s3 smbtorture, one spoolss notify test and
samba3.posix_s3.unix.info2).
Guenther
commit 575b1018c65312e9eab562cf4851524cf2f8f24a
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 8 11:25:00 2010 +0200
s3-netdomjoin-gui: Fix Bug #7500. Fix 'not a string literal' warning in netdomjoin-gui.
Patch from Buchan Milne <bgmilne at mandriva.org>.
Thanks!
Guenther
commit 7a7f28d96dd80d3ce175b0caee0c2169de7b810b
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 8 10:26:43 2010 +0200
Revert "s3:smbd Fix segfault if register_existing_vuid() fails"
This reverts commit 8f1cec5faf4e26de8b9797777059e99f2a66558b.
commit 3e502159c751d85c09df4e74a63c95738fad2d7d
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 8 10:26:35 2010 +0200
Revert "s3:smbd Give the kerberos session key a parent"
This reverts commit 4a7f45b7e1cef13bc28d7ee50dd4b5519bdec397.
commit 34b29b11986095531488cd0139ecec6dd22e55d3
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 8 10:26:08 2010 +0200
Revert "s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS"
This reverts commit edba46ce94c335411ab337eeb4ef6f88fb3aae80.
Conflicts:
source3/auth/auth_ntlmssp.c
commit 984fec252af70ef54461ca84a6afedb97ff81dec
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 8 10:56:41 2010 +0200
s3-waf: fix the the waf build.
Guenther
commit 096a3d3eea60d514a5d8fe8a35b3e463238b3766
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jun 7 16:26:30 2010 -0700
Make aio_ex owned by a talloc context, not neccessarily on the null context.
commit d70413fa0cba9338fbf2adad0db6e4b88da9ad65
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jun 7 16:25:18 2010 -0700
Move "write_though" into aio_ex struct.
commit 5da783f4a79ee0a927f2483ae20b691074bb3007
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon Jun 7 14:08:05 2010 -0400
s3:smbd add utility function to check if there are open pipes
commit f9fc4df0c0a6401d185b057c17d6b30ef549b3d0
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon Jun 7 16:02:14 2010 -0400
s3:rpc make num_pipe_handles get an actual pipe as argument
Let the function abstract out how handles are counted
commit 22e9015e975096acf075240cc7d33f12c7c77395
Author: Simo Sorce <ssorce at redhat.com>
Date: Sun Jun 6 16:33:28 2010 -0400
s3:rpc handles are used by all pipes, use better name
commit f7e2e8370bfa91ad8dbd9de4f69bf1cfe0947573
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon Jun 7 15:07:38 2010 -0400
s3:rpc fix potential out of bound memory access
memcpy copies memory unconditionally, we are passing "" in some cases here.
Use strncpy which will stop reading from src if the null byte is found and
will fill with nulls the destination.
commit 711a30aa61bb5f6a9b3970007bad8a70f411fb87
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jun 7 23:06:28 2010 +0200
s3: fix build on platforms without st_blocks and st_blksize stat struct members
This fixes bug 7474.
commit 99c9e358c54b170b01e614483514026fddbd2688
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 7 21:26:33 2010 +0200
ldb:pyldb.c - we cannot use "ldb_dn_compare" if both message DNs are NULL in "py_ldb_msg_compare"
Discovered by the testcase.
commit 0c3dfd7a79d48ef5bdcd996537521868e479f1a4
Author: Matthieu Patou <mat at matws.net>
Date: Fri May 7 04:16:11 2010 +0400
s4 python: add more unit tests to verify the compare tests
commit 1949864417f3d10fb8996df7db259649eb777271
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 7 20:46:59 2010 +0200
s4:objectclass_attrs LDB module - move the single-valued attribute check into this module
It seems to me more consistent (and also to keep the same behaviour on all
backends).
Also the DRS hack should therefore not be needed anymore since the
"repl_meta_data" module launches requests behind "objectclass_attrs".
commit a75d271373dbbff973544865c2c9715510d67669
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 7 20:31:22 2010 +0200
s4:rdn_name LDB module - move the "distinguishedName" write prevent check here
In my eyes it fits better here than in the TDB backend code.
commit 9a747d500fad699038ecf75615c680a9fd9e4cc7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 2 22:52:56 2010 +1000
s3:auth add hooks to indicate if signing or sealing is desired with NTLMSSP
This allows the right hooks to be called in GENSEC when s3compat
implements the auth_ntlmssp interface. Otherwise, we can't do the
signing or sealing as we have not negoitated it's use.
Andrew Bartlett
commit edba46ce94c335411ab337eeb4ef6f88fb3aae80
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 2 22:35:53 2010 +1000
s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS
It's nicer to have an NTSTATUS return, and in s3compat there may be a
reason other than 'no memory' why this can fail.
Andrew Bartlett
commit 0af2dc43ade4f819ebbb192e3f5493838f99d89b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 3 21:05:57 2010 +1000
s3:named pipe proxy Improve error messages when named pipes fail to forward
I hope this helps the next person who needs to debug this.
Andrew Bartlett
commit 4a7f45b7e1cef13bc28d7ee50dd4b5519bdec397
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 3 21:15:33 2010 +1000
s3:smbd Give the kerberos session key a parent
I can't see what would free this, so this should prevent a memory leak.
Andrew Bartlett
commit d25e9ab9a1b8c07a65034d36818819019e170e8d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 3 20:59:25 2010 +1000
named_pipe_auth Always lower case the incoming pipe name
Windows connects to an upper case NETLOGON pipe, and we can't find the
socket to connect to until we lower case the name.
Andrew Bartlett
commit 8f1cec5faf4e26de8b9797777059e99f2a66558b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 19:19:01 2010 +1000
s3:smbd Fix segfault if register_existing_vuid() fails
The register_existing_vuid() call will handle both the ntlmssp_end and
vuid invalidation internally, so we don't want to do it again.
Andrew Bartlett
commit fc956cfcbb53103ed46a3729364e88536d569dc9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 21:11:14 2010 +1000
s3:auth Rename user_info->domain -> user_info->mapped.domain_name
This is closer to the structure I want for a common struct
auth_usersupplied_info.
Andrew Bartlett
commit deabae191b34bdd350c7fe6c0c9ad05defa8d08c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 21:08:38 2010 +1000
s3:auth Rename user_info->client_domain -> user_info->client.domain_name
This is closer to the structure I want for a common struct
auth_usersupplied_info.
Andrew Bartlett
commit e21935fc74e8bd64bbd231d6388ea424708c3acd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 21:01:23 2010 +1000
s3:auth fix header comment for internal_username -> mapped.account_name
commit 7a021df96deaf6dbe9f1abdfc16f6276e4a192fa
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 20:30:56 2010 +1000
s3:auth Rename user_info->internal_username -> user_info->mapped.account_name
This is closer to the structure I want for a common struct
auth_usersupplied_info.
Andrew Bartlett
commit 23159453d3e61e2ad47fe6f86f3763280a11ea0c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 20:27:03 2010 +1000
s3:auth Rename user_info->smb_name -> user_info->client.account_name
This is closer to the structure I want for a common struct
auth_usersupplied_info.
Andrew Bartlett
commit 0dc88d2745e89096fda0e097bcf958949d7efc2d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 7 15:02:38 2010 +0200
s4:samba_dsdb LDB module - fix typos
commit 63a8c658611cdd1aa975670965120c617519b190
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 7 14:58:30 2010 +0200
s4:samba_dsdb LDB module - enhance/fix module rule comments
commit 00089fd74af740f832573d904312854e494a869e
Author: Simo Sorce <ssorce at redhat.com>
Date: Sat May 29 11:29:29 2010 -0400
s3:auth make sure the primary group sid is usable
This function was previously performed under the cover by converting
back and forth from info3 to samu and then later from samu to info3.
Since we now shortcircuit that in some cases, check explicitly using
get_primary_group_sid()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 048575defba064a8d9f0e4eb542a299dc8730327
Author: Simo Sorce <ssorce at redhat.com>
Date: Sat May 29 11:02:47 2010 -0400
s3:auth return the full passwd struct from check_account
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 0a7ff146171abd2dee4aac44e4f2c6c812f1027e
Author: Simo Sorce <ssorce at redhat.com>
Date: Sat May 29 10:51:40 2010 -0400
s3:passdb Export function to calculate the proper primary group sid
Don't keep it buried in passdb, this function need to be available
for use in places where we do not want to construct an artificial
samu struct just to play tricks.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit aaf45cd48ecf8e9f640a6f487b66785d47b8154a
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 17:03:18 2010 -0400
s3:auth remove unused structure member
sids are now completely handled using info3, remove dead code that fills
server info sids and the structure members themselves
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit aa1a3cbad2ed62d5b59c48a6e7726eef4776f461
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 16:16:53 2010 -0400
s3:auth create nt token from info3 directly
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e6456df1489ec964445dfd6f009f9f75377b3d11
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 13:18:13 2010 -0400
s3:auth handle unix domain sids in samu
When we generate a user out of thin air we may end up adding sids
that are not part of the sam domain (unix domain sids).
Handle the case and preserve these sids as extra sids.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 61823fb8852cb8d66c341ecd54e7fb96abc4363a
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 13:22:41 2010 -0400
s3:auth set the resolved user sid in the fake sam account
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit ef942172b9dfe3c30b86161445c7d6290579b6f2
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 11:14:01 2010 -0400
s3:auth check the user is valid first
It makes no sense to go through all the hoops to build samu and
convert it to info3, just to discard them later if the user was
not valid.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 1bb0afa662cb65ad8eeec59d40008c6604b791bc
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 11:07:49 2010 -0400
s3:auth make sure we set the right username
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit aa3272588662f1389138a177a4c6644668c052fa
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 20:58:43 2010 +0200
s4:ldap.py - add some "objectclass" behaviour tests
commit e3c686daec130fb3c4a7457943173f31851a8e7d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 23:02:25 2010 +0200
s4:objectclass LDB module - rework the code which handles the objectclasses modification
Before it has been very incomplete. We try now to match the Windows Server
behaviour as close as possible.
commit 17f465a4ac5562bec1b40dc97ac414fb3920175b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 6 23:09:28 2010 +0200
s4:ldap.py - enhance the attributes testcase to demonstrate how the attributes are checked against the schema and the specified objectclasses
This demonstrates the bew "objectclass_attrs" LDB module behaviour.
commit ee278bf0c48dbc8b7afc37762ad4f305014a2e2c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 6 19:06:58 2010 +0200
s4:acl LDB module - LDB attribute names should be compared using "ldb_attr_cmp" or "strcasecmp"
commit 566d13c5d11ae832285c09f74d25ffdcf0397735
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 20:19:31 2010 +0200
s4:acl LDB module - adaption for "objectclass_attrs" module
Since the attribute schema checking code moved back we need to give here the
"LDB_ERR_NO_SUCH_ATTRIBUTE" error.
commit e7eef53fe543c940f7a792b16d037fed8d7743ec
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 19:11:25 2010 +0200
s4:objectclass LDB module - remove "fix_check_attributes"
Also this task is now performed by the "objectclass_attrs" LDB module.
commit 227144e0503504d4c716af4a4e92dc6397c705de
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 6 19:53:33 2010 +0200
s4:samldb LDB module - adjust the module to set always a "defaultObjectCategory" on objectclass add operations
This is needed to make the "objectclass_attrs" LDB module happy. The search
check and case adjustment are done as it was using a second modify operation.
commit bd910952ba2256ff54c0e48a6feda285b9fbb8a5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 19:09:51 2010 +0200
s4:remove the "validate_update" LDB module - the task is now handled by the far more complete "objectclass_attrs" LDB module
commit 2586cbaadcdf9baf77be5ec5b612cff324ab19a8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 17:34:35 2010 +0200
s4:dsdb - introduce a new "objectclass_attrs" LDB module which performs the objectclass attributes checking
Until now we had no real consistent mechanism which allowed us to check if
attributes belong to the specified objectclasses.
commit 9e56b54414ce9f62edbd8f87c09885dbb4b3ccea
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 19:17:16 2010 +0200
s4:objectclass LDB module - instanciate the schema variable centrally on the "ac" context creation
This unifies the position when the schema is read and prevents multiple
instanciations (eg on a modification operation).
commit da90868907c7dc7f9894dc06bd49df701ff442eb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 22:13:03 2010 +0200
s4:samldb LDB module - finally we can remove the RDN check
This is now dynamically always done by the objectclass LDB module
commit 9ab3365fa5a37257d818c414925264a336eb103c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 22:06:39 2010 +0200
s4:ldap.py - enhance the rename tests to demonstrate the functionality
commit ec9b6f3c608f61d694f2defe816b55bdc6d169ea
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 21:55:08 2010 +0200
s4:objectclass LDB module - finally implement the correct entry rename protections
Only the "systemFlags" check is still missing.
commit 0ca17eaa15641708acf182b9ed1cb33222b05617
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 21:43:55 2010 +0200
s4:objectclass LDB module - cosmetic change
commit c6020ccb87337b9045c51674d4d01c19f43fd288
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 21:42:06 2010 +0200
s4:objectclass LDB module - remove duplicated code
commit 95da72432560c042400faccb7f16d9ab9cd38df1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 21:24:49 2010 +0200
s4:objectclass LDB module - fix counter variable types
commit 0408ec11a9503a6e523651cc078334158c8c6f53
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 21:23:34 2010 +0200
s4:objectclass LDB module - explain why the search can return with an empty return
commit 6afa5a733c3ab12fd03e6980898e21f8d112bc3b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 19:44:22 2010 +0200
s4:objectclass LDB module - this "talloc_steal" is not necessary
The "parent_dn" was created on the "ac" context which lives anyway longer
than this child request.
commit 2d3760c04cd4a17a8c85196a0a7c4275e3b7050c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 4 20:48:52 2010 +0200
s4:objectclass LDB module - fix error result if an entry doesn't contain a structural objectclass
We need to return LDB_ERR_UNWILLING_TO_PERFORM (not LDB_ERR_NAMING_VIOLATION).
commit 2a294d380f13edad6fcdd3572336ba797baaa0e1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 13:06:54 2010 +0200
s4:objectclass LDB module - use "ldb_oom" for expressing out of memory
commit 3c4336bf949a47084ebcb068b2b9223eba4137e3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 22:42:59 2010 +0200
s4:objectclass LDB module - fix header and add my copyright
commit 04c7484cf9e8dd6d2d0b641eb942fcb97a604d9b
Author: Andreas Schneider <asn at samba.org>
Date: Thu May 27 09:07:03 2010 +0200
s3-waf: Build rpc_server/srv_spoolss_util.c too.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 0604df52e3b161e010ad4f1aba1a4bc7973c64c1
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 7 12:55:43 2010 +0200
s3-lsa: Fix static list of luids in our privileges implementation.
The high/low order changed while moving to LSA defines. Found by torture test.
Guenther
commit 5def19e4dc0b9f15fa30f7895a2b016c4e59abb0
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 7 12:41:39 2010 +0200
s4-smbtorture: test workstation auth as well in RPC-SPOOLSS-ACCESS.
Guenther
commit e2061095b52a198fa221d190117dcebbb63058e6
Author: Matthieu Patou <mat at matws.net>
Date: Fri May 7 04:15:28 2010 +0400
s4:ldb python bindings - implement comparison on Python LDB Message objects
Coauthors: Jelmer Vernooij, Matthias Dieter Wallnöfer
commit 315aeef0f9fa20a4628783241f90dbeacf0b6dc4
Author: Matthieu Patou <mat at matws.net>
Date: Sat Jun 5 19:25:18 2010 +0400
s4: Remove an uselessly exposed control
commit e271a2b861206eef65e3c9cc14c3403579d4621a
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 7 11:21:26 2010 +0200
s4-smbtorture: handle printservers w/o printers in RPC-SPOOLSS-ACCESS.
Guenther
commit 4591fdbc18b0d7a1117de196675067e88bc341b7
Author: Günther Deschner <gd at samba.org>
Date: Sat Jun 5 02:39:11 2010 +0200
s3-privileges: use LUID defines from lsa IDL.
Guenther
commit f7696717800e82193e2b1ab1b3467e117306a769
Author: Matthew McGillis <matthew at mcgillis.org>
Date: Fri Jun 4 17:48:40 2010 -0700
Fix bug with incorrect flag values for inherited ace in some cases.
commit 98b98a29f6502422fb6e4bd8c16b5731e2c9c553
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 18:35:00 2010 +0200
s4:password_hash LDB module - adapt the module to the new "ldb_msg_remove_attr" behaviour
commit 28cb8839b75ed9a023a032c195469b61224fe688
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 18:22:10 2010 +0200
ldb:ldb_msg_remove_attr - provide a better implementation
We can have some special (bad) messages which contain multiple message elements
for the same attribute. The AD password change ones are such an example.
commit 93db960fae43913a423fe1e35a60acf5ed0cc437
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 6 19:12:48 2010 +0200
s4:samldb LDB module - this codepart isn't needed due to the objectclass LDB module
When a "computer" entry will be added, also the inherited "user" objectclass is
going to be specified.
commit df63b2ca0e64897b18f8b6be8c31e16d62a96a30
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 4 21:10:41 2010 +0200
s4:get_last_structural_class - only real structural classes can be candidates for fetching the last one
Classes with objectCategory = 1 are always structural, these with
objectCategory = 0 also (as we can see in our Windows 2008 R2 schema file where
class "Person" has 0 but is structural).
Abstract classes and auxiliary ones cannot be considered (objectCategory = 2, 3)
http://msdn.microsoft.com/en-us/library/ms677964(VS.85).aspx
commit ae9faaa89449cf25c2e5e8b51e64ceaacba01832
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 18:05:52 2010 +0200
s4:ldap.py - enhance the RDN name test to show that invalid "name" attributes are allowed on add operations
commit dd64b253fcd9013788093f6b98ebd14ef2308619
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 18:25:43 2010 +0200
s4:rdn_name LDB module - use "ldb_msg_remove_attr" for deleting attributes
commit 430491b2df9e3512a98a88aa279f04a91c12be92
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 17:56:09 2010 +0200
s4:rdn_name LDB module - remove "rdn_name_find_attribute"
It does exactly the same as "ldb_msg_find_element".
commit cadf774f8b8af2aedcdd359acf51695e9f4b04db
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 31 14:52:46 2010 +0200
s4:dsdb/common/util.c - provide a better implementation of the "samdb_msg_add_(add/del)val" calls
This supports now also coexisting add and delete message elements with the
same attribute name.
commit fa2a86ec61a80f7fe85a2bb9668885a0b287afd6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 18:37:15 2010 +0200
ldb:ltdb_filter_attrs - fix a counter variable type
commit f3f91063bd1f79c8734fa55e92392a8f30ec4144
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 14:33:52 2010 +0200
s4:ldap_server/ldap_backend.c - send back also the extended error message if it exists
This message often contains suggestions how to fix issues.
commit 45171d61083339a624a83a1412602475ce7978a6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 17:45:51 2010 +0200
s4:ridalloc LDB module - add more "talloc_free"s where useful
Some were missing on failure return branches.
commit 787a42ef9972eca3f3889e2ad8b5e890b7c551fd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 20:08:45 2010 +0200
s4:acl LDB module - fix counter types where appropriate
commit fc037e029e23aeaa8debe1c17cf81bd3a859ae4a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 19:58:28 2010 +0200
s4:descriptor LDB module - cosmetic fixup
commit 2fbb8c08ef6042a7f479e3d9ef36ba7cc730de79
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 6 20:23:42 2010 +0200
s4:urgent_replication.py - specify the "dnsRoot" attribute which is requested on "crossRef" entries
commit 7896a35da37c5d1cae44d864a5069df08d21013e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 22:19:58 2010 +0200
s4:ldap.py - make sure that also the "posixuser" will be deleted on test breakages
commit b8ea2e07575a6f152019a8fbe17bf65552fbd324
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 6 00:11:16 2010 +0200
s4:provision - fix typo in substitution variable
commit 62e0a744e23ced873241b8fd531276e8f0c870b7
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 4 21:00:24 2010 -0700
Fix a long-standing bug with async io that would only be triggered by SMB2.
On normal or shutdown close, ensure we wait for any pending IO to
complete before returning. Implement a blocking aio_suspend inside
vfs_aio_fork.c. These changes pass make test when the aio_fork module
is used by default on the test shares.
Jeremy.
commit 79ec886aa4e8398cd45d9821030a1b87a17950f8
Author: Björn Jacke <bj at sernet.de>
Date: Sat Jun 5 02:13:21 2010 +0200
s3:build: add shared lib flag for HP-UX compiler
commit a973eb1968c416eb17de71655173fa2af16cb185
Author: Björn Jacke <bj at sernet.de>
Date: Sat Jun 5 02:12:02 2010 +0200
s3: fix build on Heimdal based systems like NetBSD5
commit 6309f7b9505d1de60ef01a7129e2d6022cdc8b9d
Author: Günther Deschner <gd at samba.org>
Date: Sat Jun 5 01:26:49 2010 +0200
s4-smbtorture: make RPC-SPOOLSS-ACCESS more compatible with older samba releases.
Guenther
commit 3ad2fa672818269f2cbb7a63ff71df4f2cc81a95
Author: Günther Deschner <gd at samba.org>
Date: Sat Jun 5 01:25:05 2010 +0200
s4-smbtorture: remove another incarnation of test_ClosePrinter.
This should fix the build; why waf didn't catch that durint make bin/smbtorture4 ?
Guenther
commit e89502e0f5a79c960cbecf50f49af3aa4bba8e35
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 4 19:03:11 2010 +0200
s4-smbtorture: add RPC-SPOOLSS-ACCESS.
This test creates
- a user
- a user with BUILTIN\Administrators membership
- a user with BUILTIN\Print Operators membership
- a user with SePrintOperatorPrivilege (if available)
- a user with full access in security descriptor
and checks what access rights are granted in spoolss_OpenPrinterEx.
Guenther
commit 29c0c103afed7238698cc83ff3ab017fc1510dcd
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 4 19:02:17 2010 +0200
s4-smbtorture: share test_ClosePrinter between RPC-SPOOLSS and RPC-SPOOLSS-WIN.
Guenther
commit b3ebebd3b18e4d9ebfc50012e02f7011f8d067be
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 4 16:55:07 2010 +0200
s3-rpcclient: allow to add access_mask in cmd_spoolss_open_printer_ex().
Guenther
commit 8b3059de977eeeae69ebff7d33119bd6b565b637
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 4 19:05:24 2010 +0200
s4-smbtorture: check error codes in RAP-SAM testsuite.
Guenther
commit fb79a8d7f0f4b7686983d8c9025c1ebd0445e84f
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 4 13:49:38 2010 -0700
Oops. Forgot to re-initialize the aio_ex pointer from sival_ptr.
commit b12409a480410116b88f8c6a4522a79056ccbaff
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 4 11:41:57 2010 -0700
wait_for_aio_completion() should return 0 on non-aio compiled case.
commit be5133f1e07599862ae732056161be6c124a0664
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 4 11:41:38 2010 -0700
Rename req -> smbreq.
commit e0acee4919d1f416c98faa1a0ebc779f3716ab70
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 4 11:30:46 2010 -0700
Change smbd_aio_complete_mid() -> smbd_aio_complete_aio_ex(). Simplifies
the code and eliminates find_aio_ex().
Jeremy.
commit 15f64af8e3d5aa889a9c9fb852a3357237ba9972
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 3 22:04:08 2010 +0200
s3-rpc: Create a file with all functions for a internal named pipe.
This makes it possible to use the samr rpc server in winbind without
linking in smbd.
Reviewed-by: Simo Sorce <idra at samba.org>
commit 3344adc3404df47f02f6eb3096cb623ae94850b8
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 3 22:01:46 2010 +0200
s3-rpc: Seperate rpc_srv_register for plain connection.
This will make it possible to create plain rpc named pipe connnections.
Reviewed-by: Simo Sorce <idra at samba.org>
commit 9097bdddd03f81579699e0d0ce725a7453a3a158
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 2 19:39:18 2010 +0200
s3-auth: Moved smbd user functions to a generic place.
Reviewed-by: Simo Sorce <idra at samba.org>
commit fad86ddf5531c8f5862b697e99c24a7bd526d73e
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 31 18:33:38 2010 +0200
s3-smbd: Remove unneeded dependency of map_username to globals.c.
Reviewed-by: Simo Sorce <idra at samba.org>
commit 09daf63c9332d0314dee6c7a46b95aacb470940b
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 4 14:31:08 2010 +0200
s3-selftest: do not call main RPC-SPOOLSS testsuite.
The tests formerly available in there can now be accessed via
RPC-SPOOLSS-PRINTSERVER.
Guenther
commit bb4693d15e18d7ee775d45cf7519b2352d9d5d7a
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 21:39:51 2010 +0200
s4-smbtorture: completely rework RPC-SPOOLSS-PRINTER.
This is now a child testsuite to RPC-SPOOLSS. You can call simple tests via
RPC-SPOOLSS-{addprinter,addprinterex}-testname.
Guenther
commit 789125f9a4fedaf31968893e77a19316a47186fe
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 20:48:49 2010 +0200
s4-smbtorture: rework order of test in RPC-SPOOLSS-PRINTSERVER a bit.
Guenther
commit e8576ef9f4186cba489b2a8f150b23002ac3afa2
Author: Björn Jacke <bj at sernet.de>
Date: Fri Jun 4 00:55:10 2010 +0200
Ñ3:Makefile: use PIC instead of PIE flags for shared libs
otherwise shared lib builds are broken on some platforms
commit a73b84680244f838854f3bf3bb112464da89b9ba
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 3 11:50:08 2010 -0700
Allow us to cope correctly with NT_STATUS_MORE_PROCESSING_REQUIRED when downgrading from krb5 to NTLMSSP over SMB2.
Jeremy.
commit e47d77832b70b539ce3e898da458227dd0b853b6
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 3 11:18:11 2010 -0700
Found by Guenther - fix up our fallback paths from krb5 to NTLMSSP when using SMB2.
Jeremy.
commit e65164ff482100c2590d724373aff11daffc7b50
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 23:40:43 2010 +0200
s4-smbtorture: convert RPC-SPOOLSS into a torture suite.
Guenther
commit 9884bf7d5737272db993b0602de85b12c2b4e0ea
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 17:08:55 2010 +0200
s4-smbtorture: allow to call single tests from a testcase in a testsuite
directly on the commandline.
Guenther
commit 3eac6335229fabfe3c985d0b206faa5d65ad1ce7
Author: James Peach <jpeach at samba.org>
Date: Thu Mar 18 19:30:54 2010 -0700
libreplace: Fix readline build with libedit.
libedit on MAc OSX 10.5 does not have the rl_completion_t typedef,
but uses a internal typedef names CPPFunction.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 30a9ddccff5b1bd1694a1a9f0e5ceebdee316d79
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 16:30:55 2010 +0200
s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().
This fixes some invalid typecasts.
Guenther
commit 12d1a3b0a5367b4f920d32e6cb1fcdc2f7d17513
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jun 3 16:09:31 2010 +0200
s3: Fix the build of the nfsv4 acl code
commit 8131e9f29059c6ad7428405f9a995ee1bef2e72b
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 14:54:02 2010 +0200
s4-smbtorture: move PrintProcessors winreg test to main RPC-SPOOLSS test.
Guenther
commit 6acaa70d6439eb206ab3c6fb1b81f12efc7b5f94
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 13:01:40 2010 +0200
s4-smbtorture: add test_PrintProcessors_winreg.
This does cross reference checks between spoolss PrintProcessors and entries
stored in winreg.
Guenther
commit 4a10635371a794281114e0e227ed174a518792ee
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 13:01:16 2010 +0200
s4-smbtorture: refactor test_EnumPrintProcessors().
Guenther
commit 3948876f66955a7b9a657937c0d7926b3578dd3d
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 11:46:44 2010 +0200
s4-smbtorture: only test data up to a length of 9 bytes in test_SetPrinterDataEx_matrix().
Guenther
commit 614e010daad98081bb7bd03289e9350a49ad81ce
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 01:45:01 2010 +0200
s3: remove authdata.h
Guenther
commit 4b342b73a6706eb6ce4b7e20d273b53583a64358
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 10:25:32 2010 +0200
s3-build: pure cosmetics, use better names for gen_ndr code pieces.
Guenther
commit 84a8f0451d618ad05d451714f309ed3ab4acf57e
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 09:57:50 2010 +0200
s3-build: only include generated spoolss headers (not ndr headers).
Guenther
commit ce851814305d618b20799f00de3b7e11fcd5c954
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 10:49:34 2010 +0200
s3: remove rpc_secdes.h completely.
Guenther
commit b6a2cea74d90499bd3e239ab696502ae8afed30e
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 10:36:05 2010 +0200
s3-security: use shared "Standard access rights.".
Guenther
commit 102b0cfe62c6486846cdfb4938a83e2be4aad912
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 01:27:50 2010 +0200
security: move generic_mapping and standard_mapping to security.idl.
Guenther
commit b5c2af94475337b4769dc464a695ee29bc5e87c7
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:57:09 2010 +0200
s3-security: use shared "File Object specific access rights".
Guenther
commit 37b978c343b5727c7257d7a0a574ba82bb0c9c0f
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:48:15 2010 +0200
s3-security: use shared "Generic access rights".
Guenther
commit 2794d2ee7f8e088060e4b86532176673cf7c2580
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:45:44 2010 +0200
s3-security: use shared Security Access Masks Rights.
Guenther
commit 5cf3b0bba4b45096390fb4bcfb3ad07704d56880
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:45:14 2010 +0200
s3-security: move ALL_SECURITY_INFORMATION to the only user.
Guenther
commit 1bed5254d9ee28d1efc98f32f5a407ae4359803d
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:39:05 2010 +0200
s3-security: remove duplicate Extra W2K flags.
Guenther
commit a75436e3ee11fa1491bfa574523269be716fc892
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:35:44 2010 +0200
s3-security: use shared SECINFO_DACL define.
Guenther
commit e24a59f932897888cadae31469366663aca1a414
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:29:16 2010 +0200
s3-security: use shared SECINFO_SACL define.
Guenther
commit 630c27bdad32086f16dbafdeab94d34fbc3b9b5e
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:25:18 2010 +0200
s3-security: use shared SECINFO_GROUP define.
Guenther
commit 415d3d5fe7637e8f9a649665497d3972391750b6
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:22:12 2010 +0200
s3-security: use shared SECINFO_OWNER define.
Guenther
commit 788d7f9e4ae76105ee481bde42e2ddb8fdac2617
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:16:32 2010 +0200
s3-security: remove some more shared secdesc defines.
Guenther
commit cb1590e410a3b8fd366f4670786046566b5f4f9c
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 2 16:57:08 2010 -0700
Ensure we remove SMB2 cancel requests from the active queue
now we don't remove them in the talloc destructor.
Jeremy.
commit 53e465062249bc91e53eb8d5fa54034933a650af
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 2 16:43:31 2010 -0700
Fix a crash bug found by Ira Cooper <samba at ira.wakeful.net>.
A create call comes in, goes async (on the oplock request).
At a later time (just before a cancel request is received)
it completes, and goes through smbd_smb2_request_reply() to
send the reply to the create call.
However, the output socket queue is full, so when
tstream_writev_queue_send() is called from smbd_smb2_request_reply(),
the smb2req stays on the "being processed" queue on
sconn->smb2.requests, as only when tstream_writev_queue_send() completes
is smbd_smb2_request_writev_done() get called, which will TALLOC_FREE
the smb2req (and thus take if off the queue).
The cancel comes in, gets processed and looks through the
requests on the queue, and BANG - hits the smb2req that
has already been processed and is outgoing....
Remove the request from the queue once
tstream_writev_queue_send() is called and not in the talloc
destructor function.
Jeremy.
commit bcd4077be64e49b11a819cdcf27939a0fcc0d9bd
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 00:09:26 2010 +0200
s3: remove unused librpc/ndr/sid.c.
Guenther
commit fbfc60fac1d2246b9c29f3731f9e255d4f68dd0c
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 2 10:25:56 2010 -0700
Move to using a DATA_BLOB inside of struct aio_extra, not a char *.
Will make using AIO in SMB2 easier.
Jeremy.
commit 3854f0708e8c7a2e37310cd24d8acd52d87b9d6b
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 15:35:33 2010 +0200
s3-selftest: Fix blackbox smbclient s3 tests during make selftest.
Guenther
commit 57ab910b6f3a24bf188415baf58de610203594b1
Author: Matthieu Patou <mat at matws.net>
Date: Fri May 21 11:57:29 2010 +0400
s3: Allow previous password to be stored and use it to check tickets
This patch is to fix bug 7099. It stores the current password in the
previous password key when the password is changed. It also check the
user ticket against previous password.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 95863bfb5e547132c8f02c49a2bed1ec308d8f5e
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 5 10:42:38 2010 +0100
s3: Add vfs_linux_xfs_sgid
http://oss.sgi.com/bugzilla/show_bug.cgi?id=280 shows an old Linux XFS bug that
still exists: Under certain circumstances the SGID bit is not inherited.
commit 7747575ef485a4d8cfe2fe9ada18b5b009074a0f
Author: Kai Blin <kai at samba.org>
Date: Wed Jun 2 11:28:54 2010 +0200
s3-waf: Fix up smbclient dependencies
commit 6331d7f90d411f18b760f6525a4534a3c663445f
Author: Kai Blin <kai at samba.org>
Date: Wed Jun 2 11:21:18 2010 +0200
s3-waf: Fixed dependencies of the the krbclient subsystem.
commit 6c7c81a8f286a10366a0d2cbb36c00272d6d1d47
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 2 11:19:36 2010 +0200
s3-waf: Fixed dependencies of the the avahi subsystem.
commit 74fad2568db8e218cb142703078034ec138943fd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 09:30:54 2010 +0200
s4:ldb_msg_element_compare - fix typo in comment
commit 6ad27cd7fe3e5f014821953c67ab93dbfed38a60
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 1 19:59:56 2010 +0200
s4:lib/ldb/pyldb_util.c - add a cast to quiet a warning
Jelmer, please fix if it isn't correct.
commit e799de256e418f011a042f999904872fecae4011
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Tue Jun 1 17:09:29 2010 -0700
SMB2: Fix rename on Windows 7.
This removes some code Jeremy (jra) suspected was bad. It turns out that the
command window rename command will not work with the offending code in place.
With it removed the bug is gone, and rename works.
commit e9ff32c6c3c270818f2341d85d2ba193c4e99864
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jun 1 16:05:44 2010 -0700
Don't use sigev_value.sival_int to just store the mid, use sigev_value.sival_ptr to store the private data structure.
This allows easier use from SMB2. Ensure aio is initialized before the
aio_pending_size check else aio will never be used.
Jeremy.
commit 1ba611a56c2b12f5138172be7bc23d187893cf16
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 1 23:02:13 2010 +0200
s3-eventlog: try to pass RPC-EVENTLOG during make test as non-root.
Guenther
commit b81f8b131c28c4c300d41eebb054bbf649bfbae4
Author: Holger Hetterich <hhetter at novell.com>
Date: Sun May 30 18:52:17 2010 +0200
s3-vfs: Send the share name instead of the path in smb_traffic_analyzer.
In protocol v2, the name of the service should be sent instead of the
path.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 23eb2888d94b34822e4c49b1d62f4bd3fac43fcf
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 1 16:48:51 2010 +0200
s4-smbtorture: skip driverName and printerName DsSpooler tests for now.
Guenther
commit 582847412a1f4d7d971b96551cd07ff738e9ff82
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 1 16:46:37 2010 +0200
s4-smbtorture: Make sure RPC-SPOOLSS and RPC-SPOOLSS-PRINTER pass against s3.
Printjobs are extremely fragile beasts on paused virtual printers within make
test. Very often the printq updater in the background is not fast enough, so
subsequent tests don't get to the updated information. Something to remember and
to work on later...
Guenther
commit fc9644a7d6bbf4f02c5cb1ce9fc5b3f3ddb66d2a
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 1 16:04:19 2010 +0200
lib/replace: fix some c++ build warnings in testsuite.
Guenther
commit 3bae05d286b54ccb8c4d624c7f305bd84138c454
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Tue Jun 1 15:05:02 2010 +0300
s4: check the sacl and dacl pointers on the old sd
commit da894b7023327ffaf533ec9de1b7cb2a199fe28c
Author: Kai Blin <kai at samba.org>
Date: Tue Jun 1 15:37:40 2010 +0200
s3-waf: Fix the build
commit f702578f765cdc514796afb8cb548394a517feb7
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 1 15:31:17 2010 +0200
s3: remove unused prototype for lp_idmap_domains().
commit a6c921fef74e368da9a12b8ce82fedbf86c66ed4
Author: Kai Blin <kai at samba.org>
Date: Tue Jun 1 10:31:11 2010 +0200
s3-waf: Add check for dirent.d_off member
commit 3f14d03adbda03b821210115af4fae044a9b4a3e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon May 31 10:57:52 2010 +0200
s3:winbindd: make sure we only call static_init_idmap once
metze
Signed-off-by: Michael Adam <obnox at samba.org>
commit e67b0cf603483aefe823ab3c86b02db27c48b6eb
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 14:55:17 2010 +1000
s3:winbind Ensure we always init idmap_passdb before we use it
It seems that it is possible for idmap_init_passdb_domain() to be run
before idmap_init_domain(), so ensure we run the static init functions
in both.
Andrew Bartlett
Signed-off-by: Michael Adam <obnox at samba.org>
commit b05c18cff275650b4caa74db6ba82975df3abe9d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 10:51:10 2010 +1000
s3:idmap Use idmap.idl defined structures and constants
This allows these structures to be shared across all of Samba
The additional name type ID_TYPE_BOTH is unused in source3 code at
this time.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Michael Adam <obnox at samba.org>
commit c256eb84565566a930bcadc60d03138878d2d0b0
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Jun 1 10:02:14 2010 +0200
s4-configure: Fix typo in comment.
Karolin
commit ea5c85aa423ab95cd9029437230ac01b2220c89d
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Jun 1 09:45:19 2010 +0200
selftest: Fix typo in comment.
Karolin
commit 1cad4304bf83c7a75527a8f5674804723a2904b8
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Jun 1 09:35:53 2010 +0200
s4-heimdal: Fix typo in comment.
Karolin
commit 3eab655e54d57c384ed4fc41ac61fb4c27d00c24
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Jun 1 09:33:53 2010 +0200
s4-cracknames: Fix typo in debug message.
Karolin
commit a6e07c22a385ccf09d8e13d71c46387b2144ee44
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 11:23:50 2010 +1000
s3:auth Rename wksta_name -> workstation_name in auth_usersupplied_info
commit fdc6db34caf4c30fd5bf439fcd3a5453fd26a590
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 21:18:15 2010 +1000
s4:ntlmssp Use common code for ntlmssp_sign.c
The common code does not have a mem_ctx on ntlmssp_check_packet() and
ntlmssp_unseal_packet().
We do however need some internal working of the code exposed, so some
structures are moved to ntlmssp_sign.h
Andrew Bartlett
commit 38a26f1073178736b8b3e1158a231b3ed7b6484a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 20:20:46 2010 +1000
s4:ntlmssp Use the new common ntlmssp.h
commit bc8d12e59331fb814a58733b68f8ec16cfffa61e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 19:59:23 2010 +1000
s4:ntlmssp Merge ntlmssp structures with version from source3/
Use this as an excuse to get rid of ntlmssp_set_domain() etc, which
don't do anything useful now that msrpc_parse() use talloc anyway.
Andrew Bartlett
commit dfb206f47e8b9bcf81493e7cb6aed7859fb54042
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 18 22:10:13 2010 +1000
s3:param Put 'server_role' functions in another file.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6d2e796f35dea93ca31e6879e79942a02572754d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 18 22:07:48 2010 +1000
s3:param Add helper function to get at Gobals.iDomainMaster
This is needed for a future split out of the server_role code.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 458b2484c73b9381aa3d10b94b3e3576d4bb44d3
Author: Kai Blin <kai at samba.org>
Date: Mon May 31 23:02:16 2010 +0200
s3-waf: Check for device major and minor macros
commit b497447e1722e6d89406f71b2371b61c616cf71b
Author: Kai Blin <kai at samba.org>
Date: Mon May 31 22:39:47 2010 +0200
s3-waf: Add check for asm/types.h
commit 5a3e744394b88d8e0dfbc8cb38add8970227919d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 23:10:59 2010 +0200
pyldb_util: Remove dependency on LIBPYTHON - it's already there
implicitly and not available in the standalone build.
commit 83788988cbd879789108e8119fa3527ceeb47fe4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 31 13:58:27 2010 +0200
s4:samldb LDB module - start on a sequential trigger implementation
This is a start to allow the triggers to be called sequentially.
commit a8788ce5236a4fbc1c8096a0eed48638b5a03dd8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 31 22:22:37 2010 +0200
ldb:ldb_msg_add_steal_string - prevent also there the addition of strings with length 0
commit 0fce829de46995d474053bd581555dd40e549ff1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 31 22:04:29 2010 +0200
s4:dsdb_load_udv_v1 - "uint32_t" counter type fits better than "unsigned int"
commit 0fddbe472edb33861386cb11cc141d9b02f95a02
Author: Kai Blin <kai at samba.org>
Date: Mon May 31 08:36:29 2010 +0200
s3-waf: Check if compiler supports LL suffix
commit 3811fdab5cec7830420c88cce99ea966236434f0
Author: Kai Blin <kai at samba.org>
Date: Mon May 31 08:35:58 2010 +0200
s3-waf: Check for broken nisplus include files
commit e80301eded1d42b6a015c622be07bba589ee3512
Author: Günther Deschner <gd at samba.org>
Date: Mon May 31 21:49:04 2010 +0200
s3-smbd: remove unused sconn from token_contains_name().
Guenther
commit d33c41fbf5bd48fe32d82174d8bd25d1651ee374
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 13 17:07:15 2010 +1000
s3:winbindd move reinit_after_fork() back out of winbindd_register_handlers
This particular init function needs to be done in a native Samba3
build, but it turns out to be difficult for s3compat, which has other
code listening on the sockets.
Andrew Bartlett
commit 19f4229fff0f0e350d0eb6e91f674c48c744d214
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 10:11:23 2010 +1000
s3:winbind Make state->mem_ctx a talloc child of state
This way everything is destoryed at the conclusion of
the connection correctly.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 61eb56be4ea1f4eb26f63b985aeb52cdb1183328
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 17 19:34:32 2010 +1000
s3:winbind tidy up connecting the winbind sockets.
By putting this code inline in winbindd_setup_listeners() we remove 2
static variables and simplify the code.
By putting the get_winbind_priv_pipe_dir() in the same file, we allow
it to be reimplemented in s3compat.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e5ebc52e9fd45346a74e2c421f2471b5e6cab998
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 14 13:11:48 2010 +1000
Revert "s3:winbindd Split helper functions to allow s3compat to call them"
I'm experimenting with a different entry point
This reverts commit f5c0f90da5f5372ca6b7a72daa8d073a2444a068.
commit fca69a9e2f19d7f54cee6ace17adf57372cea52e
Author: Günther Deschner <gd at samba.org>
Date: Mon May 31 21:26:30 2010 +0200
s3-netlogon: Fix crash bug in _netr_NetrEnumerateTrustedDomains().
Guenther
commit cf727404f4ccad04b7a8fe28d0c1e8eaed69522b
Author: Simo Sorce <idra at samba.org>
Date: Mon May 31 14:50:07 2010 -0400
Revert "ldb: Remove Samba-specific symbols."
This reverts commit fe8302b235197e359a20ba0489eb72b54793963e.
Jelmer, please do not re-re-revert this until we can properly handle
*both* s4 and standalone ldb builds.
commit a22d7db30813127690d5c3758e7abfa8805e76c9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 20:44:30 2010 +0200
wafsamba: Only try to build manpages if XSLTPROC was actually found.
commit 41cdac9c3e5b2e9eea3067892a3e60b4bff67154
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 20:44:12 2010 +0200
pyldb: Remove duplicate copy of function.
commit 38dfc480334926f07b7d1869225370693140e349
Author: Simo Sorce <idra at samba.org>
Date: Mon May 31 13:54:00 2010 -0400
ldb: Remove unexisting and mistyped function from header
commit 7f75ee025ff9c02763fb9201d94af4b2739c8e03
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 18:29:11 2010 +0200
ldb: Install ldb_handlers.h header.
commit fe8302b235197e359a20ba0489eb72b54793963e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 18:28:09 2010 +0200
ldb: Remove Samba-specific symbols.
commit 1bc53f0213b04e30ebf2ac60695c84c5781e4e72
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 18:12:05 2010 +0200
ldb: Move utility functions to separate file.
commit 82d56b937445585b9e60451daf660aee5ace0523
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 16:05:41 2010 +0200
ldb: Fix dependencies when building with system ldb.
commit 471ed70c497f4eeaca27594d609f41f2b2c689cd
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon May 31 10:52:06 2010 -0400
s3:smbd map_username() doesn't need sconn anymore
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 6a25668e55929a8111ac0fc5e34b5a83ae936349
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon May 31 10:47:01 2010 -0400
s3:smbd user_ok doesn't need sconn anymore
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 94bf9ce48a0ef8b77f22f3be6244881ca1a41e49
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon May 31 10:45:24 2010 -0400
s3:smbd user_in_list() doesn't need sconn anymore
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 7747dd82f79bc503efe6a2d3139413afb8dda864
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon May 31 10:43:19 2010 -0400
s3:smbd user_in_network() doesn't need sconn anymore
Signed-off-by: Andreas Schneider <asn at samba.org>
commit b32b59d47f8ec597be9d215e5e260e5d1411d3a4
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon May 31 10:36:02 2010 -0400
s3:smbd make yp cache local.
The my_yp_domain variable is just a static cache needed to avoid
making over and over expensive and potentially blocking calls to
yp_get_default_domain().
Instead of keeping this onto the smbd_server_connection struct, just
keep it local to the only function ever using this variable.
This disentagle this function (and a number of calling functions)
from having to pass around smbd_server_connection and thus having
to link against smbd. It also removes a few ifdefs.
Nothing changes from a global/local pov, as the smbd_server_connection
variable passed around is also a global one.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 1da415345971fbd045808d26142b9eca797aaedf
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon May 31 17:51:21 2010 +0200
buildtools/wafsamba: use build group 'final' for the creation of manpages
This way we don't try to build manpages just for waf build --target=smbtorture
metze
commit c866920c3de0fc75e9939bcc19ff880819a62e07
Author: Kai Blin <kai at samba.org>
Date: Mon May 31 15:56:30 2010 +0200
s3-waf: Fix build after ntlmssp_sign.c moved
commit 6af6b96b5728d7690979b2d3258eddb48e55bed4
Author: Kai Blin <kai at samba.org>
Date: Mon May 31 15:33:40 2010 +0200
ldb: Revert signature file changes made in 151e239bcf2860411527a953d627b2d724c0a57e
commit 98641648d8ec66a0c3e07a73e4275005bfa25811
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 15:31:35 2010 +0200
s3-netlogon: use LSA in _netr_NetrEnumerateTrustedDomains.
Guenther
commit 4bb7e91cfd9071e570c56bca36d35202d01ca80d
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 14:22:08 2010 +0200
s3-netlogon: use SAMR in _netr_ServerAuthenticate3.
Guenther
commit db5730cac4d6e0b64913bce21147352344077e2b
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 14:21:15 2010 +0200
s3-samr: give the system user a free pass for _samr_QueryUserInfo{2} level 18.
Guenther
commit 3f24f8d2c69be1db28cb1ffb866d45b520d9544d
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 14:19:28 2010 +0200
s3-auth: add "system" bool flag to auth_serversupplied_info.
Guenther
commit a7805811c432adb9b0e82039858269c2154521ae
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 12:39:12 2010 +0200
s3-netlogon: use SAMR in _netr_ServerPasswordSet{2}.
Guenther
commit 62708fbd1bf6a54d880011ce7d95ee43e08cf30e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 20:58:52 2010 +1000
s3:ntlmssp Move ntlmssp_sign.c from source3 to common code.
This needs a small re-arrangement of the supporting code.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit d6fa371b92681a327a86239721fc5990d91ad74f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 20:55:40 2010 +1000
s3:ntlmssp Use a TALLOC_CTX for ntlmssp_sign_packet() and ntlmssp_seal_packet()
This ensures the results can't be easily left to leak.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit ebae21f0235b957c8faeeb51c926724909d353e9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 20:19:22 2010 +1000
ntlmssp: Make the ntlmssp.h from source3/ a common header
The code is not yet in common, but I hope to fix that soon.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit 9a76932ccfe680b9bf224e0dcac7f9cdb7ce9f4e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 19:58:00 2010 +1000
s3:ntlmssp Add two unused variables to match the Samba4 ntlmssp.h
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit 723ea68d3b69a9fc31dc02256c4fc323dc9278ce
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 15:40:35 2010 +1000
s3:auth Remove AUTH_NTLMSSP_STATE typedef.
typedefs are no longer preferred Samba style.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit 3b706865f6bae7a2b04590da160bda939a3bafe5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 15:34:06 2010 +1000
s3:auth Make AUTH_NTLMSSP_STATE a private structure.
This makes it a little easier for it to writen in terms of GENSEC in future.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit a950c6c60097af750d4348cb096fdacb342e9e71
Author: Björn Jacke <bj at sernet.de>
Date: Mon May 31 14:33:51 2010 +0200
s3:configre: work around shell problem on HP-UX in AC macro
commit 8c017022dbb78966589fa98e03dea01d91d003b0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 13:55:17 2010 +0200
talloc: Don't set is_bundled for standalone build.
commit 151e239bcf2860411527a953d627b2d724c0a57e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 13:51:49 2010 +0200
ldb/waf: Fix build with system and bundled ldb.
commit f89e390fbc6e4f3d8269c40ccab7c718bfcd394f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 12:17:33 2010 +0200
waf: Refactor manpage building code.
commit f98bb7ffc33bf161caf301c50c55c8e3cc858b85
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 12:08:01 2010 +0200
Add manpages argument to SAMBA_LIBRARY().
commit cc77e7966ea95ccc0812dd772a9002b41792e6b8
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon May 31 12:51:58 2010 +0200
s4-waf: Fixed the ldb build.
commit 11e2608ba97018987b0143521248a83b2dab07e6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 31 10:15:25 2010 +0200
s3/s4:netrEnumerateTrustedDomains - this call returns a "NTSTATUS" result
See MS-NRPC 3.5.5.6.3.
commit 0eec33417eb56d1352fd66565f55162c62d86fcd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 31 12:01:34 2010 +0200
s4:dcesrv_netr_DsrEnumerateDomainTrusts - fix an integer type
commit aaf1c751f4cf447d80ef9dae341ef3247c1607e2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 15:58:45 2010 +0200
s4:torture/rpc/netlogon.c - add another "LogonGetDomainInfo" testcase
Mark it as dangerous since it does break some target systems.
commit 3e0b2c8c9ae557e615fe3551f561a622c1fa29cd
Author: Volker Lendecke <vl at samba.org>
Date: Wed May 26 17:52:10 2010 +0200
s3: Fix some debug messages
commit 2e4c41431e18ed68f0965cdb128d67b008f81389
Author: Volker Lendecke <vl at samba.org>
Date: Wed May 26 17:47:37 2010 +0200
s3: Don't announce readraw and writeraw with the async echo responder
commit 82e140c04562c1480d8ae1d6cb68d510824a1a1c
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 03:31:52 2010 +0200
s3: use shared security defines.
Guenther
commit fbb7814f91f85e95769a5e23506825167b44139f
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 19:40:31 2010 +0200
s3: only use netlogon/nbt header when needed.
Guenther
commit f9f8007361583c1d38be7e15eeae6b58a09614b3
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 02:19:32 2010 +0200
s3-build: only use ndr_security.h where needed.
Guenther
commit c00407bd3589e9a459014ddb0efd986b15d2eecc
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 03:04:45 2010 +0200
libcli/nbt/lmhosts: fix missing prototype warning.
Andrew, please check.
Guenther
commit 7426cf4306e84c994f3903b4b867cc76c45574be
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 10:30:15 2010 +0200
s3: remove prototype of non-existsing function idmap_tdb_tdb_close().
commit e3997c2a6d82276cc736686099ab897fa4fd0047
Author: Kai Blin <kai at samba.org>
Date: Mon May 31 09:39:44 2010 +0200
wafsamba: Correctly detect if bld.env.XSLTPROC is not set
This fixes the build on some build farm hosts and my machine.
Jelmer, please check.
commit cd2dd331032895259e0875c717e8d9f5e6de301f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 04:48:00 2010 +0200
ldb: Support building with system ldb library
commit 04fc459a301c09d027e2d484b9a4e0737819b093
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 04:20:44 2010 +0200
tdb-waf: Don't install binaries when using system tdb.
commit e6129bd59650b921e51d5b8aa10246778aacdd30
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 04:16:19 2010 +0200
tdb-waf: Simplify manpage handling.
commit 1d1d31f703e3f3f41dddd45e705cf2a9a5a0d3df
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 03:59:50 2010 +0200
wafsamba: Default blacklist to an empty list rather than None.
commit 3858b5db8be50dda5d994ecc8863b32a150a2528
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 02:43:17 2010 +0200
s4-waf: sanitize library names like the old build system did, only add
-samba4 suffix for libraries that are bundled.
commit 17ad28c5826590a973fe1f0e1c6be0d18f1ec458
Author: Björn Jacke <bj at sernet.de>
Date: Mon May 31 02:17:04 2010 +0200
s3: use PICFLAG instead of PIE_FLAGS
commit f3f1745e271ec3c44e4df04d05698f954b8f518d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 01:35:43 2010 +0200
wafsamba: Actually install manual pages.
commit 38cbb60e973d0db6d70f58d3803b3e62f1c942ce
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 01:35:07 2010 +0200
ldb: Remove manual pages for binaries that have already been moved to utils/.
commit 3e65af312c1250cbea8eea17d9705e1e2352262f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 01:28:15 2010 +0200
ldb-waf: Fix installation path of manpages, simplify manpage handling.
commit f757263fb3d56041d6778304e521bed55771aea1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 01:25:56 2010 +0200
s4-waf: Look for xsltproc executable, required to build manpages.
commit c2327b24a63289449b09fdc343b3b46871d13ee5
Author: Björn Jacke <bj at sernet.de>
Date: Mon May 31 00:26:01 2010 +0200
s3: final test for working shlib support requires PIE_LDFLAGS
commit 55ef0ecea85fda48e980f5f9c6029d7bcee865df
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 00:13:10 2010 +0200
s4-python: Remove cruft to deal with static python modules, which are no
longer supported.
commit 390b0521bd36702a698febdd670335bf09b49d54
Author: Björn Jacke <bj at sernet.de>
Date: Sun May 30 23:50:48 2010 +0200
s3: use autoconf macro to get some debug output in config.log
commit e4a9bdc39f499c7bfb04c00bc986c4894cf8e49a
Author: Kai Blin <kai at samba.org>
Date: Sun May 30 23:27:08 2010 +0200
s3-waf: Fix the build after rebase
commit 209555ef09bf57aa79f164f6e85a16e5b4977609
Author: Kai Blin <kai at samba.org>
Date: Fri May 28 15:56:32 2010 +0200
s3-waf: support avahi builds
commit 04d251a8476b8cf267667fc108f2f8c213fceb54
Author: Kai Blin <kai at samba.org>
Date: Fri May 28 15:50:26 2010 +0200
build: Also replace '-' by '_' when creating header defines
Tridge, please check
commit 8e2b69ca46739960354b90c6ef843e68bb4e2330
Author: Kai Blin <kai at samba.org>
Date: Wed May 26 13:44:43 2010 +0200
s3-waf: Add more darwin-specific options
commit 5a0b3cf93db3ebf79d81b9ef09669835569549f9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 22:46:50 2010 +0200
s4:tests/python/passwords.py - fix filter
commit 327fa70f3fe2f3917df509f783822a3b42a266f0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 21:58:11 2010 +0200
ldb:ldb_tdb/ldb_tdb.c - quiet a warning regarding TDB -> LDB error code conversions
commit 463d5f0afc5b378bf8143558b8b8f372680f9768
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 11 21:43:36 2010 +0200
s4:samldb LDB module - deny delete operations on some important attributes
Add operations are denied since these are single-valued - only replace is
allowed.
This is only provisorily at the moment - we need to implement the triggers
specified in MS-ADTS.
commit 092331d2d8c39ccfbd97c5e357705efb54f1ab6f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 11 21:35:46 2010 +0200
s4:ldap.py - add a test which shows the modification behaviour of important attributes
This shows how important attributes of SAM objects do behave when you launch
add and delete modify requests on them.
commit 08653ac9c26a4456d9ca7365c1773d021e5be51c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 21:08:05 2010 +0200
s4:samldb LDB module - rework the group change code to be again synchronous
commit c30c4529f59f25e2846e33bdd3676aed51c10dcc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 11 17:00:54 2010 +0200
s4:ldap.py - add more test cases to show invalid primary group change behaviour
commit f3b04854b855e1547182bc36d57841dac3b041d8
Author: Kai Blin <kai at samba.org>
Date: Thu May 27 23:38:02 2010 +0200
s3-waf: Set HAVE_GSSAPI if gssapi libs were found
commit 6a78241f4a9aae84e91ea2e49f066f2e5203beba
Author: Björn Jacke <bj at sernet.de>
Date: Sun May 30 21:44:14 2010 +0200
libreplace: include sys/file.h only when available
thanks to Joachim Schmitz <schmitz at hp.com>. This fixes #7460.
commit 3030d9db4ea7ddecc2e8bbef225738e0336e9be4
Author: Joachim Schmitz <schmitz at hp.com>
Date: Sun May 30 21:25:30 2010 +0200
s3: define timespec before we use it
this fixes #7464
Signed-off-by: Björn Jacke <bj at sernet.de>
commit c2a3792e72cb534bafce3808c4a7b9f6948e8895
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 20:46:57 2010 +0200
s4:dsdb/samdb/ldb_modules/util.c - make sure to always free temporary data
commit b7270fbc9971b6e625c15a60e6717410aec2b77a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 20:46:31 2010 +0200
s4:dsdb_module_search_dn - add code to handle NULL format string
commit f927881028303eb955566c08a940cca18e50ce99
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 20:45:56 2010 +0200
s4:dsdb/common/util.c - fix a counter variable
commit 598656985aeb1a1ac11d246bb942c2248dfbfd8c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun May 30 17:05:07 2010 +0200
selftest: list.remove raises ValueError rather than KeyError.
commit a1b44f4335f41a0c11505f1552d9173ca0b469f4
Author: Björn Jacke <bj at sernet.de>
Date: Sat May 29 02:06:56 2010 +0200
s3: set pthread cflags in a more portable fashion
this avoids one place of a GNU make dependency.
Portable make sucks a bit as it has no way of defining variables for a limited
set of targets only. Manual duplication of target rules is the only way to
achieve what we need.
If someone actually knows a trick how to do this without target duplication,
let me know.
commit 30c74cfa4995af57d8ec3f0f9d3f515e0b285beb
Author: Björn Jacke <bj at sernet.de>
Date: Sat May 29 02:02:20 2010 +0200
Revert "s3: Attempt to fix the non-gnumake build"
This reverts commit 086c6c0e9a56f7e6dca6c1398e210b8c6225e4ed, it broke some
builds. The following commit should also remove the gmake dependency.
commit 96ee9568eddf1a2f80ed5beb916ad00b1e2710bd
Author: Björn Jacke <bj at sernet.de>
Date: Sat May 29 01:40:21 2010 +0200
s3: fix check for pie compiler flags
some compilers (HP and Sun e.g.) output warning messages on stderr for unknown
options and we ended up partly using some unwanted random compile flags we
did't intend to use.
commit b869350ddda84d0d6953339843bebd25d18b8fba
Author: Björn Jacke <bj at sernet.de>
Date: Sat May 29 01:39:16 2010 +0200
s3: add m4 macro to check if stderr is empty or not
commit 55df7606e3f47e03255e6ff1cdead458a8bc6160
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 14:53:36 2010 +0200
Revert "s4:rpc_server/dcesrv_auth.c - Fix a RPC issue in conjunction with Windows 2000"
This reverts commit 1cf5be39e30f9478606a5525eb7beeb21ee83c24.
My fix approach isn't such appreciated therefore revert this.
commit 1cf5be39e30f9478606a5525eb7beeb21ee83c24
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 12:02:24 2010 +0200
s4:rpc_server/dcesrv_auth.c - Fix a RPC issue in conjunction with Windows 2000
Windows 2000 does strictly request header signing on some requests also if the
server doesn't provide it. But there is a small trick (don't reset the actual
session info) to make these special RPC operations work without a full header
signing implementation.
This fixes for example the list of domain groups in local groups when displayed
sing the local user/group management tool.
And this should finally fix bug #7113.
The patch was inspired by another one by tridge and abartlet: http://gitweb.samba.org/samba.git/?p=tridge/samba.git;a=commitdiff;h=2dc19e2878371264606575d3fc09176776be7729
commit 76cd237ee59a3301166ddcbc4166fc7a133e03e3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 11:01:25 2010 +0200
s4:web_server/wsgi.c - free the "env" and "inputstream" objects on an "asprintf" failure
commit 9bfd2c8ebc4d7dbd3fd6f47877d31e7e8f4721a5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 28 22:30:50 2010 +0200
s4:auth/credentials/credentials.c - initialise "password_last_changed_time"
Otherwise it could remain uninitialised.
commit f1d7d6d4df64b74ce00498e6cd9e49b2c0ec7ea0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat May 29 22:54:07 2010 +0200
nss_wrapper/testsuite.c - make sure to test always the "NSS wrapper" calls
This should fix bug #7319 and #7320.
commit 33c633df0bb49551a833d1bf86db0825b8007546
Author: Simo Sorce <ssorce at redhat.com>
Date: Sat May 29 16:49:37 2010 -0400
s3:auth make it easier to trace auth modules
commit bd38c0d47d6a22a68fea5d9d66a73a9e2521b239
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 13:35:56 2010 -0400
s3:auth fix info3 duplication function
commit b99dd10b39a4483a1c4b34f5438630ed99374c10
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 08:33:18 2010 -0400
s3:smbd Use the right num_sids
We use s_i->ptok->num_sids everywhere else in this call and
then suddenly we reference s_i->num_sids
commit d85d85b851f498330badc3eb47a7f10a6981376b
Author: Simo Sorce <ssorce at redhat.com>
Date: Sat May 29 09:48:20 2010 -0400
s3:passdb Fix memory leak
We were allocating this passwd structure on sampass, but never freeing
it nor assigning it to unix_pw where it could be reused.
commit b455c5e155f7e7ba4cc07cd4415a304163213e0f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat May 29 04:14:27 2010 +1000
s3:auth Fix segfault when the user cannot be found by getpwnam()
Add comment to notify when getpwnam() fails.
Reviewed-by: Simo Sorce <idra at samba.org>
commit a8d308faff760ee56f7aa4a97ccaab60bf965849
Author: Günther Deschner <gd at samba.org>
Date: Sat May 29 00:38:21 2010 +0200
s3-selftest: fix chmod commands in provisioning.
Guenther
commit 5232ce56cd3edef17166da8b61e9be6d3ec967e3
Author: Günther Deschner <gd at samba.org>
Date: Sat May 29 00:09:14 2010 +0200
s3-selftest: make sure provisioned s3 looks the same in make selftest as in make test.
This fixes some tests that were previously failing.
Guenther
commit c9c8de3dcb19c96ee9fab7f462b28f3a2f1997a1
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 22:14:39 2010 +0300
s4/test-libnet: Remove multiple test_samr_close() impelementations
We now have a nice common test_samr_close_handle() function to use
commit c742f59bd24a3a35732489aa013187c35edde0a2
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 21:20:03 2010 +0300
s4/test-libnet-user: Remove test_createuser()
We have same functionality already implemented by
test_user_create() in libnet/utils.c
commit 0f2263016fc7afd949af65e6e84b5c5455250191
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 17:59:25 2010 +0300
s4/test-libnet-utils: refactor test_user_create()
- param names made more clear what they stand for
- user RID out param is now optional, so that this function may
be used in cases where we don't need user RID
- SAMR connection handle is closed as it is not used further
(we should play nice with servers)
commit 8dedb4d06ec84224f1b491cb76edb87b37550c56
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 05:20:18 2010 +0300
s4/test: remove local impl for open_domain and use common one
commit fce427134d1a8fba216ff82d48d7f7cb6be7c3ce
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 05:14:47 2010 +0300
s4/test: remove torture/libnet/utils.h as we are using proto.h now
commit 1118c7b0e4d311becfcc0d6e3c53405649526a2c
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 05:06:55 2010 +0300
s4/test: change prototype for test_opendomain()
- name changed to test_domain_open to be more alike athore functions
in utils.c file
- output parameters moved to the end param list definition just
after mem_ctx so it is somehow more clear those params are OUT
commit 8e3a433f93618d6cadc58c19b54b9255acccec6e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 05:04:56 2010 +0300
s4/test: Refactor test_opendomain to address following
- param names made more clear what they stand for
- dom_sid out param is now optional, so that this function may
be used in cases where we don't need dom_sid
- SAMR connection handle is closed as it is not used further
commit 3a899e24d513de7c56363e39efb74b2c88c29854
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 04:45:40 2010 +0300
s4/test: make samr_close handle functio public
It is to be used further for closing opened handles when testing
using SAMR interface
commit cf794355456b82927cecfd183e49b47be6568385
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu May 27 17:24:10 2010 +0300
s4/test: refactor NET-USERINFO test to be more 'torture' friendly
Test may be further refactored to be converted as a test case
(what it is actually)
commit 2053403045cb8786abe778279a68b431b9c5977c
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu May 27 17:10:31 2010 +0300
s4/test: test_userinfo/_async tests should use passed user_name param value
commit f11cf62016070a26992e92c757da3cf6b96705c8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 28 18:58:45 2010 +0200
s4:web_server/wsgi.c - provide a better out-of-memory handling for an "asprintf" call
commit 8d6f88b469cea1aff0d3211f0a9dbd08e6a31497
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 13 17:41:33 2010 +1000
s3:winbind Kill amusing but un-used winbindd_kill_all_clients
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d266f8fdf17e5583d419c2b4bd9daf30acebfd6b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed May 26 11:11:08 2010 +1000
s3:lib s3:lib move get_global_sam_name to util_names.c
This doesn't really belong in util_sid.c, and has much more in common
with the other functions in util_names.c
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 539ef13bfe950c7c512a4bdafd9a846c04ba5be4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 17 16:25:26 2010 +1000
s3:lib split out global workgroup and netbios name functions.
Having these in their own file allows easier selective inclusion.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 59422efca9734f7e4248f9c7df8b6b823f17999b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed May 26 10:48:15 2010 +1000
s3:smbd move messaging_context and memcache into globals.c
This helps vfstest, which previously had duplicate copies of these functions.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6f279de0e672996ff1c142202581e6471ed6e859
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 27 07:18:58 2010 +0200
s3:smbd split reload services/printers functions from server.c
This helps vfstest, as it previously had duplicate copies of these
functions.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 8bc32513da9f0009774b6efce76f26c2177a976a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 13 07:48:04 2010 +1000
s3:smbd split smbd/server.c into smbd/server.c and smbd/server_exit.c
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit f7333629f80997822e0e617050a31d1fcc2d9595
Author: Kai Blin <kai at samba.org>
Date: Fri May 28 15:17:35 2010 +0200
s3-waf: Support builds with utmp accounting
commit 4eba4b07c6645cf7748b827d7e37326383e91d7f
Author: Kai Blin <kai at samba.org>
Date: Fri May 28 14:35:01 2010 +0200
s3-waf: Match the defines from the autotools build on PACKAGE_*
commit 93ac516e15ab771b6ed4eeacc556a2ec916387bb
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 14 15:15:32 2010 +0200
s3-auth: Added a function to get the server_info from the system user.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 87037006bd27601b620d0d31f72261ba968d9567
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 14:11:53 2010 +0200
s3-samr: Fix crash bug in _samr_QueryUserInfo{2} level 18.
Guenther
commit e5fca6aebf1fdde230be09c0bec718b7a607e056
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 28 20:34:08 2010 +1000
s4:build Don't automatically mark as 'not a git snapshot'.
If we generate a tarball, it may well be a git snapshot - we will
change the VERSION file if it really is a release.
Andrew Bartlett
commit b088a275512634af0adefe632097846439e83f92
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 28 20:33:28 2010 +1000
s4:build use autotools for mkrelease.sh
The mkrelease.sh script only works with the autotools build. However,
it isn't recommended.
Andrew Bartlett
commit 7ea7b23413f48325d1805fd2666757241eddc2e7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 28 20:24:47 2010 +1000
waf Provide release signing capability in 'waf dist'
This helps ensure the release is signed correctly - the .tar file, not
the .tar.gz must be signed, and it's easy to forget this.
Andrew Bartlett
commit 708d6fc5b002fb781983dd6ca4bda6e59a3a6411
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 28 18:54:57 2010 +1000
s4:waf Exclude the autotools based build environment from a Samba4 release
commit b50c006e203e313a836eb012548749948b515425
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 28 18:50:25 2010 +1000
waf Add DIST_BLACKLIST to list files that we cannot include in a release
This currently includes the source3 directory for Samba4 releases (per
past practice in mkrelease.sh), but also could include things like
DFSG-unfree RFC files in the future.
Andrew Barltett
commit e5232bdc69af45f15bc8fd95745276018f5961be
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 19:54:24 2010 +1000
s4:kdc Remove special talloc_free of the ldb context
I can see no reason not to just let this go with the talloc tree that
created it, and avoid a talloc_free with references.
Andrew Bartlett
commit d0e131ee4e3e1f35ebc33d6c1c27d5c9e69b8e87
Author: Kai Blin <kai at samba.org>
Date: Fri May 28 13:20:10 2010 +0200
s3-waf: Fix the smbclient build with libcap
commit 3d2c99f13b3b7f927ba3f912e8526f9e770aa34f
Author: Kai Blin <kai at samba.org>
Date: Fri May 28 12:59:04 2010 +0200
s3-waf: Detect which version of krb5_enctype_to_string is used
Pair-Programmed-With: Günther Deschner <gd at samba.org>
commit da0e0efe876fdc5e1fe96d1e3a88541006770ff0
Author: Kai Blin <kai at samba.org>
Date: Fri May 28 12:58:23 2010 +0200
s3-waf: Fix the build of swat with --enable-cups
commit 76f804af10e490f4037f556d1ac600fd905e0236
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 28 10:39:54 2010 +0200
s4:client/client.c - we don't need "&ctx" for talloc calls
Simply use "ctx".
commit ce99f9e73438ac8a62347f628f7c5d25941023da
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:45:19 2010 +0200
s4:web_server/wsgi.c - fix "asprintf" call
commit fe2a6076402ec26091eb0c543447e0ae09f39f75
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:41:39 2010 +0200
s4:utils/ntlm_auth.c - fix "asprintf" calls
commit a64262697afb85f8db5872238c51b9499114ee58
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:37:15 2010 +0200
s4:smbd/pidfile.c - fix "asprintf" calls
commit 67b2c424cefbecfe8581044703ba178c61c0ece1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:36:33 2010 +0200
s4:scripting/python/modules.c - fix "asprintf" calls
commit e831af7f076fe464d8860535ecae1986299765bd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:28:52 2010 +0200
s4:param/loadparm.c - fix "asprintf" call
commit 7a3a1cb5a76aae697f7a820c4fc5305f5684487f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:18:03 2010 +0200
s4:ntvfs/simple/svfs_util.c - change an "asprintf" into a "talloc_asprintf"
commit 69166d3ebb1ad1590d1d6078a2c6b592d06aef5e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:11:00 2010 +0200
s4:ntvfs/nbench/vfs_bench.c - change a "asprintf" into a "talloc_asprintf"
commit 315ae8ae9787935f012169b2c001a827078c92e0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:06:12 2010 +0200
s4:libcli/clideltree.c - fix "asprintf"s
commit 2c325236be3d16c200ba4f85d8f0a33b3c5d8e73
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:02:02 2010 +0200
s4:regshell - fix an "asprintf"
commit 8ddb4f6c84b431854a21825f2663d41878adf4ee
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:00:50 2010 +0200
s4:regshell - don't use negative exit codes
commit 3318459fdc2df686892f4257dca709ac66784e82
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 16:59:14 2010 +0200
s4:client/client.c - fix "asprintf"s
Fix the result values or change them into "talloc_asprintf"s where possible
see bug #6404
commit 892a4b24e79a71f5fd81bdb631d93615f2345bd9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 28 15:20:03 2010 +1000
waf Read VERSION file inside WAF to set package version
This replaces the call to mkversion.sh in both the Samba3 and Samba4
WAF builds.
Andrew Bartlett
commit 0ca8e2252b14811b9221acc95a510ab6a84f580f
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 00:02:15 2010 +0200
s3-lanman: Fix api_RNetUserGetInfo level 2 marshalling offset calculation.
54 + 4 = 58 (and not 60).
Found by torture test.
Guenther
commit c5eeb0d155bc49fe7ead2a601bdd1bffaa5b119c
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 02:47:12 2010 +0200
s3-auth: fix c++ buildwarnings.
Guenther
commit 38d69ca547d6eaead316d990dc140a8250cf64d2
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 02:20:21 2010 +0200
s3-build: remove duplicate ndr_krb5pac.h inclusion.
Guenther
commit 6d194756e00c73672bbd43c9a5eb9efc93a84567
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 02:20:02 2010 +0200
s3-build: use ndr_misc.h where needed.
Guenther
commit 66adb84e46489a94ea49fc70d93dfe90a601617c
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 02:18:21 2010 +0200
s3-build: only use ndr_samr.h where needed.
Guenther
commit 60079f59b09d5f05ac1f09b015ec9bd765269035
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 02:16:38 2010 +0200
s3-idl: fix some missing dependencies to other IDL files.
Guenther
commit 30eeb1e3d90e93a52d81503d022218b7b6521071
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 01:19:25 2010 +0200
s3-rpc_client: move protos to init_netlogon.h
Guenther
commit f888c82fe08f7bf624aad53c20aaa634662b36dd
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 20:40:22 2010 -0400
s3:auth Add comment to clarify usage of session keys.
Explain why we have what looks like a duplicate of session keys.
It is in fact not a duplicate.
commit 20fb37320224e8ed97473e60c1b70369d8069cb5
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 19:41:07 2010 -0400
s3:auth remove login_server from server info
It is not used anymore, we have that information in
info3->base.logon_server already
commit 3bb819581b1dc2624a9e52c2cae065cc3bda6a4b
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 19:22:02 2010 -0400
Fix Out of memory checks
Günther pushed an older version of the patch "s3:auth add function to copy a
netr_SamInfo3 structure" that was missing these fixes.
commit 2a6a696e32798f2a2aabef61dfa421da6328d069
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 03:21:35 2010 -0400
s3:auth add function to convert wbcAuthUserInfo to netr_SamInfo3
Signed-off-by: Günther Deschner <gd at samba.org>
commit 606be25ecf4a31cba9f15c43ebc650aecb17e765
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 05:31:45 2010 -0400
s3:auth Free sampass as soon as we have server_info
We don't keep sampass in server_info anymore
So it makes no sense to keep it around.
Signed-off-by: Günther Deschner <gd at samba.org>
commit d9cffc01be58184312a6a7b55bd523cf8daefa78
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 03:41:56 2010 -0400
s3:auth use info3 in auth_serversupplied_info
Signed-off-by: Günther Deschner <gd at samba.org>
commit 6713f3d945f09a732e620641771d9ff403aca9ef
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 02:40:59 2010 -0400
s3:auth add function to copy a netr_SamInfo3 structure
Signed-off-by: Günther Deschner <gd at samba.org>
commit 605cfef56c23f39eba88545c43284b061e9755bd
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 02:07:33 2010 -0400
s3:auth: add function to convert samu to netr_SamInfo3
Signed-off-by: Günther Deschner <gd at samba.org>
commit 667716d2041fc531bfa6241b02bbfc12d7666e51
Author: Günther Deschner <gd at samba.org>
Date: Thu May 27 16:10:10 2010 +0200
s4-smbtorture: finally test all levels in rap_NetUserGetInfo RAP-SAM test.
Guenther
commit 7803bcdae654f1474c57f0d31ed17f56492441e3
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 23:34:27 2010 +0200
s4-smbtorture: remove obsolete handmarshalled rap code.
Guenther
commit 82982bd48086712d5efd2e9be79c16a4338605f7
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:09:46 2010 +0200
s4-smbtorture: we can fully use autogenerated code to pull info unions now.
Guenther
commit 7bcd9c5583ac2f750aa9c90af7d1ac86eb36f86f
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:08:07 2010 +0200
libndr: add support for relative_rap_convert.
Will not harm anyone, is only used for rare short (2byte) relative pointers, and
relative_rap_convert is always 0 so far (as all init functions using struct
ndr_pull will zero the struct).
Guenther
commit 49a80fe6710a8c3c5977b35be2f55c2748b3bddc
Author: Kai Blin <kai at samba.org>
Date: Thu May 27 22:45:13 2010 +0200
s3-waf: Fix typo
Sorry for the noise
commit 21e8548c0a3ea8fcca4e97a9b0f8b5a2cddf3d29
Author: Kai Blin <kai at samba.org>
Date: Thu May 27 22:42:23 2010 +0200
s3-waf: Also set "developer" env when building in developer mode
commit abbf8efb24c3d079ff2f7e39b2bf8382efa2ad5c
Author: Volker Lendecke <vl at samba.org>
Date: Thu May 27 18:12:30 2010 +0200
s3: Fix a bad memleak in the async echo responder
commit eff13393b32d35d84f7afb564df5c7df8af58445
Author: Günther Deschner <gd at samba.org>
Date: Thu May 27 17:09:39 2010 +0200
s3-waf: fix the build after tstream changes.
Guenther
commit 9b534ad1453ab180533edd7e687ce17d871572f0
Author: Volker Lendecke <vl at samba.org>
Date: Thu May 27 14:27:58 2010 +0200
s3: Remove an unused variable
commit 869eed76e6dcf4da9fecac5f9b4089c94e9a6bdf
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 23:36:33 2010 +0200
s3-lanman: use samr for api_RNetUserGetInfo.
Following MS-RAP 3.2.5.13 NetUserGetInfo Command.
Guenther
commit a1fc7aebfc327c3553be47c44048c7c458316a25
Author: Günther Deschner <gd at samba.org>
Date: Thu May 27 13:25:31 2010 +0200
s4-smbtorture: create the user to test in test_usergetinfo() in RAP-SAM.
Guenther
commit dd895e526c4751865c587819d9e958c8fce9190b
Author: Holger Hetterich <hhetter at novell.com>
Date: Sun May 23 23:18:58 2010 +0200
vfs_smb_traffic_analyzer.c: set the len variable when running protocol v1.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 85a385324958c41ac9c017421b35db1eeabed87c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 15:15:09 2010 +0200
s3:rpc_server: make use of the npa_tstream code to connect to named pipes
This way we use the newest protocol, which is able to pass
the local and remote address of the SMB connection.
And we correctly support message mode named pipes
without the hack that analyzes the content for DCERPC pdus.
metze
commit 4afa54fd53cdef1dd8b8e549d77ab02fdec09df4
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 15:08:02 2010 +0200
s3:Makefile.in: add npa_tstream.o to the build of smbd
metze
commit 9a6636a56e3565202d71ae7049431e3764575b79
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 15:12:32 2010 +0200
s3:rpc_server: pass down local and remote tsocket_address to np_open()
metze
commit 56ebbb53c80a49f2d8dda8a108afc07669af333e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Apr 28 15:15:23 2010 +0200
s3:smbd: add PIPE_BUSY handling for SMBtrans calls on named pipes
metze
commit 9a77cb247d00828845df02030e7d174351daf432
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Apr 28 15:05:30 2010 +0200
s3:rpc_server: add np_read_in_progress() function
metze
commit 8c0be920442778c24e19f8a52d9f8bc385218834
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 26 10:43:19 2010 +0200
s3:rpc_server: make sure we don't send uninitialized memory for the named_pipe_auth handshake
metze
commit 6a14dad13cc4b619a5901e54747085e81e42597d
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 23:17:35 2010 +0200
s3-net: fix the build.
Guenther
commit 66e9b8c888c8c7b1bbb46c9e562bd5be1fd3118d
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 21:22:13 2010 +0200
s4-smbtorture: add usergetinfo to RAP-SAM.
Guenther
commit e94e13bd8d013d2c58cf4f2c647056b5a1b53e79
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 22:55:45 2010 +0200
rap: use rap_LogonHours in rap_NetUserInfo11 as well.
Guenther
commit 20f843b678ca93ae762e91969bb13fdb33db4a3f
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 13:29:35 2010 +0200
s3-waf: more work on krb5 build.
Guenther
commit eb6d6114f31c5ef42f7573b94e9a522121a3f0a0
Author: Kai Blin <kai at samba.org>
Date: Tue May 25 17:53:16 2010 +0200
s3-waf: Allow to build with kerberos support
commit 229b090308d09e749f70155c798ae3826bf24164
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 22:49:01 2010 +0200
s3-lanman: remove defines now provided by IDL.
Guenther
commit dd05e173a2001f5f59e6dfdbebf592dc1c64fc4d
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 22:48:32 2010 +0200
rap: fix typo in IDL.
Guenther
commit dc014657decc02e9896a7f1ec10732cd28829f24
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 22:32:32 2010 +0200
s3-waf: fix the build after chgpasswd.c changes.
Guenther
commit b86666ab538fe1cf739bfb8a3c9bb50dc4d49270
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 20:59:40 2010 +0200
s4-smbtorture: add smbcli_rap_netusergetinfo().
Guenther
commit fbd1d50824be44ed3289a18ce8733d1a337192ae
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 20:54:50 2010 +0200
rap: add rap_NetUserGetInfo IDL.
Guenther
commit 2807ab358ec346a1da15522adce7f182d3ffefe5
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 12:06:23 2010 +0200
s3-samr: move chgpasswd.c out of smbd and into the samr server.
Guenther
commit 14b03d132bba45b368a07de4c4ed3ce73a8e1bde
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 19:26:06 2010 +0200
s3-smbd: remove unused change/check_lanman_password.
Guenther
commit 7fa2129db665331dcfd2f1849220ea3278252ce3
Author: Günther Deschner <gd at samba.org>
Date: Tue May 11 02:24:43 2010 +0200
s3-lanman: parse encrypted and min_pwd_length in api_SetUserPassword().
Guenther
commit a17203ba651eb643580e98aa67955eb23a374a3e
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 14:37:25 2010 +0200
s3-lanman: use samr for api_SetUserPassword().
Guenther
commit c1e8838bf5483a5b7a8a2556a43ee2cf1040a1a1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed May 26 17:41:50 2010 +0200
flags.h - fix comment for "GTYPE_SECURITY_UNIVERSAL_GROUP" constant
commit 9b1daa78cf7a5e461a3e108ad240b6f9a2bdc434
Author: Björn Jacke <bj at sernet.de>
Date: Wed May 26 17:22:24 2010 +0200
s3:Makefile: add missing linker flags for smbfilter
this should fix the AIX build
commit 60cba59ff8ee75e3d476c1b293ca2f545b7f9e49
Author: Björn Jacke <bj at sernet.de>
Date: Wed May 26 17:18:59 2010 +0200
s3:Makefile: fix a typo in flag variable name
commit ab707cb9b3e62bd99afa0a82152064a6d75b032d
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 15:14:20 2010 +0200
s3-printing: fix buildwarning in publishing code after registry changes.
Guenther
commit 718718d0e7d4ffd1e706a2896cc385ae6dba24e2
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 28 10:23:48 2010 -0400
s3-lanman: Migrated to rpc_connect_spoolss_pipe().
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8aa96566a96413384b7c8af0143c4ed1af100492
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 28 09:51:12 2010 -0400
s3-rpc_server: Created a per connection spoolss pipe.
This way all code can reuse the same connection to spoolss
and not have to deal with the creation of a new pipe all over the
code every time we need to ask a service off spoolss.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 83b2fd30215c5286f0f05bddce76bd5e0959c5c8
Author: Kai Blin <kai at samba.org>
Date: Wed May 26 14:09:39 2010 +0200
s3-waf: Build smbclient binary
commit 59f3c4ec591e21235650e7e8bfae2540e423c533
Author: Kai Blin <kai at samba.org>
Date: Wed May 26 14:09:06 2010 +0200
s3-waf: Fix the naming of some variables introduced recently
commit c2021e4211ee1c4d840995d3adaf3e2494e35719
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed May 26 04:22:34 2010 +0300
s4/test: Connect SAMR and LDARPC pipes before calling libnet_ functions
In multi-DC environment, NBT name resolution may resolv
domain name to any of DCs.
This make this test to fail, as we are modifying the user account
on one DC and query user info immediately after that on another DC.
commit de60cbb6e75fb1f6fe42fd0e86204d304911d30c
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed May 26 13:32:13 2010 +0300
s4/test: remove unused code
There is no need anymore to modify samAccountName
of the testing user to original value as test_cleanup()
will spot the right samAccountName to delete
commit 5444272f89785b9c7a63b197b89bf8fc40c39284
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed May 26 13:27:07 2010 +0300
s4/test: make test_cleanup() in libnet_user library more robust
test_cleanup() is called always with RDN name of the user to be deleted.
When modify-user test fails however, we end up with a user
with RDN = libnetusertest and samAccountName = random_name.
This way we can not delete the user and the error message is
quite misleading (I've spent a *lot* of time trying to figure out
if the database is corrupted because of this error).
commit bbdb8384220f3fa51ded65d89fdab0496ad3da25
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue May 25 17:24:45 2010 +0300
s4/test: rename enum test_fields{} member names to be more descriptive
commit 644593d30ecddec27f0a48340d74db7cf164bfc3
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat May 22 05:03:16 2010 +0300
s4/test: Replace hand-made field count to test
This patch replaces hand-make count of fields to be tested
with defines for FIRST-LAST value for corresponding fields
to test with.
As a side-effect, 'acct_flags' is now included in tests.
commit 2bca048367456b09d16f51405373fa33be6eeca3
Author: Björn Jacke <bj at sernet.de>
Date: Wed May 26 10:18:03 2010 +0200
s3:configure: use the right AC_CACHE_CHECK variable
commit 3c8dc5cd214c58747bfbbd72a8d05fc50454585a
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 21 12:29:22 2010 -0400
s4:smbd: Use tstream_npa_accept_existing to accept named pipe connections
Pair-programmed-with: Stefan Metzmacher <metze at samba.org>
commit 2e171239f9abbadae0363818ce730df8f0eaada2
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 21 10:34:58 2010 -0400
s4:smbd: Add tstream to the stream_connection structure
commit b7159e6ffd9f2c907301ce4d3e6ba3ff01c8a1f6
Author: Simo Sorce <ssorce at redhat.com>
Date: Wed May 19 17:02:52 2010 -0400
named_pipe_auth: implement tstream_npa_accept_existing_send/recv
Pair-programmed-with: Stefan Metzmacher <metze at samba.org>
commit 9e194cd673a0d0a56cd064bab38cbf30b468999d
Author: Kai Blin <kai at samba.org>
Date: Wed May 26 00:16:10 2010 +0200
s3-waf: Check for additional options on *xattr
commit 5a023e73f7b1e788b49a05318b8de264aca085f0
Author: Kai Blin <kai at samba.org>
Date: Tue May 25 23:57:41 2010 +0200
s3-waf: Add darwin to the host_os-specific checks
commit b2546ee5571e644d3cb784f33517bf9f28c134d7
Author: Kai Blin <kai at samba.org>
Date: Tue May 25 23:53:04 2010 +0200
s3-waf: Don't hardcode the name of the awk executable in wscript_build
commit 475531c9bb6c2d4b522a77d0ced09a9775704085
Author: Jeremy Allison <jra at samba.org>
Date: Tue May 25 11:39:46 2010 -0700
Standardize debug messages for read and write.
Jeremy.
commit aa51fa0ce34cc36ad757bb5ab1450c37631bb082
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 17:28:05 2010 +0200
s3:fix the waf build after registry changes.
commit f12028a3fd5c64bc8e13996cb9a18a19ec0929e0
Author: Günther Deschner <gd at samba.org>
Date: Tue May 25 12:43:00 2010 +0200
s3-net: fix a "dereferencing type-punned pointer will break strict-aliasing rules" warning.
Guenther
commit 8e41f2e66a6be425e161ee2ec1cea386332a6186
Author: Günther Deschner <gd at samba.org>
Date: Tue May 25 12:27:02 2010 +0200
s3-waf: very simple start on getting krb5 build to work.
Guenther
commit abf27643616a0ad2c0477869c2146d852ee57026
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 25 11:21:46 2010 +0200
s4:torture/rpc/samr.c: Fix the "ValidatePassword" test
It was failing randomly due to an uninitialised "status" variable.
commit af2cbaa700f8a56228131061ad10a1d219df1d83
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 10:53:17 2010 +0200
s3:registry: add C for substantial changes to reg_objects
commit 80293b80670d5106d1aa8822c2de081f7caecb64
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 10:32:51 2010 +0200
s3:registry:reg_objects: Remove use of uint{8,16,32} in favour of C99 types
commit 0b446e0842a9e79dcc290aa0841e56e0b0d2c495
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 08:54:29 2010 +0200
s3:registry: add comment header block to registry.h
commit 0fe1ff99a1aa6858ec0f1cfb1130b801238fc8e2
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 01:00:37 2010 +0200
s3:registry: move reg_objects.h to registry/ and use it only where needed
Every place outside of registry/ where this is used, should probably
be changed to use pure reg_api.c code.
commit 552e505cee966e7f734fb6bc8f5991bb5b73ba32
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 00:42:50 2010 +0200
s3:registry: move non-reg_objects definitions from reg_objects.h to registry.h
commit 75e691ae6baeac88878e2c8107ceb7e057fd4c5b
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 00:05:26 2010 +0200
s3:registry: hide definition of regval_ctr and regval_blob in reg_objects.c
commit 0e8e5d5d6e7a1ab54cd108d70ade6aa884effe8f
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 15:10:48 2010 +0200
s3:net rpc registry: use regval_ctr_init() instead of direct allocation
commit bf65ff5ea2b84f3f5406d840f759da87e146cc3a
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 15:08:58 2010 +0200
s3:profiles: use regval_ctr_init() instead of direct allocation
commit 7b2f5f20daded43705f4321acf1b9311fa0fe6d4
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 15:07:47 2010 +0200
s3:rpcclient:spoolss: use regval_ctr/blob accessor functions.
commit 112eddf107de7910224e5854fda9fea2bfd11087
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 14:48:31 2010 +0200
s3:net_rpc_printer: use regval_blob/ctr accessor functions
commit c4de07a2597911e71b763a00ca7c72b68128fdbb
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 14:18:21 2010 +0200
s3:net rpc printer: fix use of a possibly uninitialized variable
commit b5d0fdd96c835281378d21a7dc73b1fd8f100d9f
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 14:08:01 2010 +0200
s3:nt_printing: use regval_ctr_init().
commit dcf2cc2806bcccef42adf84c8a60e875bc49efdf
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 14:06:20 2010 +0200
s3:srv_ntsvcs: use regval_ctr/blob accessor functions
commit 1be8f5fba4d5059a43732e2ad65ab269132bd205
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 14:03:46 2010 +0200
s3:services_db: use regval_ctr_init() instead of direct allocation
commit 53ba74ecee5ac0cb75f51f3af9f0c62119ed5367
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 13:57:35 2010 +0200
s3:libads:use regval_ctr/blob accessor functions in ldap_printer.c
commit 5fbf935ffce6204843fc498afd02dc3ba1dd9ff5
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 23:59:34 2010 +0200
s3:registry: use regval_ctr/blob accessor functoin in reg_eventlog.c
commit a71dac488233a9d95df32361d10d96dde951988c
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 23:58:28 2010 +0200
s3:registry: user regval_ctr/blob accessor functions in reg_backend_db.c
commit 0d20053f101f21f584f5bf5562ffc767979081db
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 23:56:40 2010 +0200
s3:registry: use regval_ctr/blob accessor functions in reg_api.c
commit 987514d98d3cb8711b5c56b5416fa690ecb3b8eb
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 22:55:12 2010 +0200
s3:registry:reg_objects: add regval_ctr_set_seqnum()
commit 6b331321e3d2bdf67c7acd63138b62fcf7cc5208
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 22:53:44 2010 +0200
s3:registry:reg_objects: add regval_ctr_get_seqnum()
commit e0d5bccfd381ebb83ee7d626ee94087d47f4b8dd
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 22:47:53 2010 +0200
s3:registry:reg_objects: add regval_ctr_init()
commit 97846edfa59b95572d176981bb4bab6a5c06b61c
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 00:31:01 2010 +0200
s3:registry: move definition of registry_hook to reg_init_full.c - it's only user
commit e829b42978d91cf8a5ec67cd322e66a538f7fd75
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 00:15:52 2010 +0200
s3:registry: extract registry_pull/push_value prototypes into own header
reg_util_marshalling.h and use them only where needed.
commit 36b74e03cfec6bb5aaa7c3909c115629f0b076b1
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 00:08:15 2010 +0200
s3:registry: rename lib/util_reg_api.c to registry/reg_util_marshalling.c
commit 773255ba504201e5ec1c34dbe30f40fd2bc0447d
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 00:04:13 2010 +0200
s3:registry: rename reg_util.{c,h} to reg_util_internal.{c,h}
commit f3053739b7e62e4749821bf2283d67ec379b1abc
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 23:37:09 2010 +0200
s3:registry: move prototype registry_create_admin_token() to new header reg_util_token.h
and use it only where necessary.
commit e3f7fab668c1bf1366257f64a5099cca919ca358
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 23:27:57 2010 +0200
s3:registry: move registry_create_admin_token() to new reg_util_token.c
commit 847a19df946432558e75a6f81f0a761407114f45
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 23:06:27 2010 +0200
s3:registry: extract reg_eventlog prototypes to header of their own
and use them only where needed.
commit 5a92d88f38dc9fc65db7e6451eae2d22da04463e
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 22:59:04 2010 +0200
s3:registry: extract reg_perfcount prototypes into header of their own.
And use them only when necessary.
commit b94267aa3f83ec604e8b242006e09ecf4f7d5e57
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 22:49:42 2010 +0200
s3:registry: extraxt the reg_dispatcher prototypes into their own header.
And use them only where needed.
commit d335f292ce10824d483eff8d34fb0444e3d91f23
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 22:42:00 2010 +0200
s3:registry: extract the reg_backend_db prototypes into their own header.
And use them only where needed.
commit 9ccf66379a946cef87d915c5f0f7758adb11a4d6
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 22:19:17 2010 +0200
s3:registry: adapt callers of regval_ctr_addvalue to uint8 * instead of char *
commit 70a81796fca29d3e924ab6a9396b1a4ab344a730
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 15:15:33 2010 +0200
s3:registry: fix regval_ctr_addvalue() to take data as uint8 *, not char *.
commit f7f9ce30caa838f8408faa4bddcaebe2e266a0e4
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 15:00:29 2010 +0200
s3:registry: fix data_p arg of regval_compose to be uint8 * instead of char *
commit 4ae77b2ef9ef5f936055b03a7fb96231a069683b
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 16:11:13 2010 +0200
s3:registry: extract the reg_util prototypes into their own header.
And use them only where needed.
commit c682fd65b20e6b17150b3a57bebb222767c60796
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 16:00:35 2010 +0200
s3:registry: remove superfluous comments from registry.h
commit a4efda959af36e0611c5204852dc1eea3f0310bf
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 15:57:27 2010 +0200
s3:registry: extract the reg_util_legacy prototypes into their own header.
And use them only where necessary.
commit 14a025062ee2923aac4f9e57c05a9004ddf55856
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 15:25:00 2010 +0200
s3:registry: extract the reg_cachehook prototypes into their own header.
And use them only where necessary.
commit 9c5d7c789664d15017a837ad735b79e3b0ea4479
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 13:32:08 2010 +0200
s3:registry: protect registry.h from multiple inclusion
commit d59d9dfb90c67a5332ca76f38702ba6bacc0da76
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 13:28:05 2010 +0200
s3:registry: add C to reg_cachehook, confessing considerable changes in 2008
commit 8eed328cb5b9585fc6c20cfc94d64568cd30b055
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 09:49:04 2010 +0200
s3:fix configure after change "add Werror_FLAGS for IBM's xlc"
For me, 24b3725407f1a67e13a7646d2e3f26ed1e4735ff broke configure.
The fix in f634450b67d2a084c41a63c0e94eb47adb90e101 is not complete yet.
After staring at the change a bit, tt seems to me that the
code inserted was just misplaced by one line.
Michael
commit f634450b67d2a084c41a63c0e94eb47adb90e101
Author: Björn Jacke <bj at sernet.de>
Date: Tue May 25 09:43:57 2010 +0200
s3: fix the configure run
commit ff0872d59d78ad42212c88313ef924ea4eb7a8a1
Author: Björn Jacke <bj at sernet.de>
Date: Mon May 24 23:34:00 2010 +0200
s3:configure: turn "error warnings" into errors
By default "Missing argument(s)" is just an "error warning" for xlc :-)
The change to turn "error warnings" into errors should fix bug #7427.
commit 24b3725407f1a67e13a7646d2e3f26ed1e4735ff
Author: Björn Jacke <bj at sernet.de>
Date: Mon May 24 23:28:44 2010 +0200
s3:configure: add Werror_FLAGS for IBM's xlc
commit 189950ce0615806b20a5536e6621d541044be42d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 24 22:01:36 2010 +0200
s4:dsdb_enum_group_mem - use "unsigned" counters
"size_t" counters aren't really needed here (we don't check data lengths).
And we save the result in a certain "num_sids" variable which is of type
"unsigned".
commit 4d76c0aa80e58ce944419bf36c695e7104c73712
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 24 22:00:54 2010 +0200
s4:dsdb_lookup_rids - "unsigned" counters fit better than "signed" in this case
commit 9696bba1d7e8e71ca1d186b174dfa13ac418c5c9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 24 21:53:34 2010 +0200
s4:dsdb_add_user - check the "cn"/"account_name" length (should be >= 1)
This needed by the "cn_name_len"-1 accesses.
And use a "size_t"-typed variable for storing it (length specificators should
always be stored using "size_t" variables).
commit 2a91b00b9217b9fe0caf4c848a433eff1d81d75c
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 24 11:03:42 2010 -0700
Add in support for the NTLMSSP version reply.
Jeremy.
commit 4a653798df86fa3a62a21768db912434eb10dcc6
Author: Volker Lendecke <vl at samba.org>
Date: Sun May 23 15:39:29 2010 +0200
fix a typo
commit a042e2413797965f85e9ae5099a0ac628418fcea
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 24 17:25:34 2010 +0200
ldb-waf: Install manual pages for ldb in standalone build, install
python module.
commit 1d66cb0e204fa5527f35f58d82bda8b7850e7118
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 15:03:17 2010 +1000
s4:winbind Give more detail on the parameters when reporting idmap failure
commit dceca3d8ae0220bb8d23325a0a771533bf946217
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 14:58:07 2010 +1000
s4:winbind Change idmap API to match that used by the source3/ idmap subsystem
This makes it much easier to write an idmap module that bridges the gap.
We should finish the change to the new API, but for the moment this
choke point works for the conversion.
Andrew Bartlett
commit 9573c35636806a0ce013c32e611603c0e8a480fd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 11:21:29 2010 +1000
s4:winbind Change include guard so as not to conflict with idmap.h in source3
commit e7fe4d388516e7bf496056ae9828a4219d5ff7db
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 10:52:18 2010 +1000
s4:winbind Fix up includes after seperation of idmap.idl from winbind.idl
commit 285647664cf60baa9f8f1a52bea0c55aa01b4e85
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 10:16:34 2010 +1000
s4:idmap Adjust code to new idmap structure names and layout.
Andrew Bartlett
commit 974ed9cf2c10ab3384c1070c22f5cd42908c95f1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 10:15:04 2010 +1000
s4:idmap Seperate idmap structures from winbind.idl and match to source3/ idmap
These structures now match those in use in the source3 code. I'm not
sure if this is the better API or not, but it is far, far safer to
remove a pointer than to add one.
Andrew Bartlett
commit f6aa0902025dc562748499d60f3257a0f47329c8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 00:57:32 2010 +1000
s4:samr Push most of samr_LookupRids into a helper function
This is a rewrite of the lookup_rids code, using a query based on the
extended DN for a clearer interface.
By splitting this out, the logic is able to be shared, rather than
copied, into a passdb wrapper.
Andrew Bartlett
commit c6ffd884d95eadf634b2e596d8fe5cb952f52ee2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 08:42:21 2010 +1000
s4:samr Push most of samr_QueryGroupMember into a helper function
This is a rewrite of the group membership lookup code, using the
stored extended DNs to avoid doing the lookup into each member to find
the SID
By splitting this out, the logic is able to be shared, rather than
copied, into a passdb wrapper.
Andrew Bartlett
commit 20d2847492f9ccdb159df91315be9dcc142b5d83
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 08:21:37 2010 +1000
s4:samr Move most of samr_CreateDomAlias into a helper function
This allows this logic to be shared, rather than copied, into a passdb
wrapper.
Andrew Bartlett
commit fc04e565b08012e2e9926b055b6a8c5f5dccc080
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 08:17:44 2010 +1000
s4:samr Split most of samr_CreateDomainGroup into a helper function
This allows this logic to be shared, rather than copied, into a passdb
wrapper.
Andrew Bartlett
commit 43c931b2d453537f0da0ef2abda14c80d8d91dc9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 08:14:53 2010 +1000
s4:samr Split the guts of samr_CreateUser2 into a helper function
This allows this logic to be shared, rather than copied, into a passdb
wrapper.
Andrew Bartlett
commit e0d141bd4661482f374cbd95d866be587307ecd2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 08:11:13 2010 +1000
s4:dsdb Allow a NULL search expression in dsdb_search()
The NULL search expression expands to (objectClass=*), but %s expands
NULL to (NULL) which doesn't parse...
Andrew Bartlett
commit 6c726745a4253f35a5d2e016185ba5624fd40644
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 18 20:34:20 2010 +1000
s4:ntvfs rename notify.idl to s4_notify.idl until we can merge this IDL
This IDL is almost common, but the source3 version has a
hand-marshalled server_id. The s3compat build has problems with two
different idl files of the same name.
Andrew Bartlett
commit 8e1e6b0112c06b8587c0823a62d2103c047f8310
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 24 12:42:32 2010 +0200
s4:LogonGetDomainInfo - allow to set DNS hostname for the first time
Otherwise it obviously can never be set.
commit ee524d3182de85dff2febaad2481e37ad5a8be8f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 24 11:06:29 2010 +0200
s4:"rdn_name" LDB module - fix the creation of the RDN attribute (try to normalise it)
And return always the correct error codes on the failed add operations (should
anyway be ERR_OPERATIONS_ERROR - therefore no behaviour change).
commit 40ced1a3be5ab04c7431ecda2c7924336a852994
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 24 10:38:16 2010 +0200
s4:setup/*.ldif - remove unneeded "cn" attributes
Should be generated automatically
commit 8e069e245bdda1303e9c2bd3b9e30be98f9d8680
Author: Björn Jacke <bj at sernet.de>
Date: Wed May 12 18:17:30 2010 +0200
s3: major overhaul of compiler and linker flags for HP-UX builds
this will fix a number of things like shared library builds. That in turn will
probably trigger some other build bugs...
commit 4c659433c09823c2ea34ac73fad3686f917ac609
Author: Björn Jacke <bj at sernet.de>
Date: Mon May 24 13:41:12 2010 +0200
s3:Makefile: set PIE flags also for nss_winbind
commit 2466dc7eaf52165a87a1e0311490034c70536a6e
Author: Björn Jacke <bj at sernet.de>
Date: Wed May 12 19:05:37 2010 +0200
s3:build: remove CFLAGS from LDSHFLAGS, SHLD has them already
commit 5f0a2a15d89089f78875676099cd8a23a18ace9e
Author: Björn Jacke <bj at sernet.de>
Date: Mon May 24 12:21:40 2010 +0200
s3:Makefile: position independency is also needed for shared libs
commit 857ca4176a3f5096629d1aa8a7cd12dd9e224ac1
Author: Björn Jacke <bj at sernet.de>
Date: Sat May 22 16:48:16 2010 +0200
s3:build: don't use pieflags twice - ldflags already have them
commit d12768cc0ae52d95ffd83070948c83af4ce8704b
Author: Volker Lendecke <vl at samba.org>
Date: Mon May 24 11:23:42 2010 +0200
s3: Fix a typo found by ITPFS oota <t-oota at dh.jp.nec.com>
Thanks!
commit 792743cfab19ad273c75a2f8d54fe2dd60de0240
Author: Thomas Nagy <tnagy2pow10 at gmail.com>
Date: Sun May 23 21:31:53 2010 +0200
solve the error "ldb.inst.h does not exist"
The error happens when headermap.txt is not available
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit eec93985d1d31c86509020fb03515758531a098f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun May 23 17:55:48 2010 +0200
build: get the SONAME right for installed libraries
commit bd8e3cf85586c9d2fadef40c861221073923c91c
Author: Thomas Nagy <tnagy2pow10 at gmail.com>
Date: Sat May 22 14:35:50 2010 +0200
Substitute the pidl files without using 'headermap.txt'
The headers generated by pidl contain references to bin/default. Those paths
may be replaced automatically.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 6e7d39f4dd29d090244a51df9f59a42d7cb060d5
Author: Volker Lendecke <vl at samba.org>
Date: Sun May 23 11:44:30 2010 +0200
s3: Another non-gnumake fix
AC_OUTPUT_COMMANDS must be called before AC_OUTPUT and
$MAKEFILE is not defined in ./config.status
commit 7eff96cb43587f03a6735e99492be6d775c5d7ef
Author: Volker Lendecke <vl at samba.org>
Date: Sun May 23 00:16:52 2010 +0200
s3: Factor out compiler-independent defines
commit 9d1a08032bdedf6606beea55167ded615a9c657f
Author: Volker Lendecke <vl at samba.org>
Date: Sun May 23 00:00:41 2010 +0200
s3: Next step to fix the build on OpenSolaris
commit 086c6c0e9a56f7e6dca6c1398e210b8c6225e4ed
Author: Volker Lendecke <vl at samba.org>
Date: Sat May 22 19:29:13 2010 +0200
s3: Attempt to fix the non-gnumake build
Björn, please check!
commit 8040bc608a93c4a78064acf55586d6605377f23e
Author: Simo Sorce <ssorce at redhat.com>
Date: Sat May 22 12:40:13 2010 -0400
torture: fix typos
commit 72d2c370e247d1fffb4d4fc6e558168b4cd4e3dc
Author: Volker Lendecke <vl at samba.org>
Date: Sat May 22 13:08:06 2010 +0200
s3: Remove unreachable code
commit 796904e983151cfa46a89a0be62f8940b9655f4a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 21 13:29:14 2010 +0200
s4:ldb_controls: make it possible to pass arbitrary control via the command line
--controls=local_oid:1.3.6.1.4.1.7165.4.3.7:1
To specify the DSDB_CONTROL_PASSWORD_HASH_VALUES_OID control as critical.
metze
commit d7542b58fcb0d9a67a20bde5bdf3aec6fd633237
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 21 23:59:54 2010 -0700
If using fake oplocks, use the correct SMB2 type code for "no oplock".
Jeremy.
commit 625ffba8ecaf0895382ce2469476e15480415248
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 21 17:33:05 2010 +0200
s4:libnet: use the new generated config from the provision for the self_join
This fixes net vampire with the --target-dir option.
metze
commit 82484461e3f8f9bba351bbb5f5178c6f17dd049d
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 21 17:12:40 2010 -0700
Don't forget brackets around bitwise tests.
Jeremy.
commit b2a7ad8c951562d1aea6663064784da0b0a98565
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 21 16:56:10 2010 -0700
Make DFS work over SMB2.
Jeremy.
commit 6af5e7cde198ac21ed8030fd3744ab0ae7f15fd3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 21 23:23:58 2010 +0200
s4:torture/rap/rap.c - quiet discard const warning
commit bd3e70c1bea906e942755cedfbcb467356b2a483
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 21 23:19:23 2010 +0200
s4:torture/raw/open.c - remove unused variables and fix error handling
commit a05ac3039b34f07b730b673c3b2c1a0a923cbd35
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 21 23:16:43 2010 +0200
s4:ntvfs/ipc/vfs_ipc.c - add more "const" in order to fix warnings
commit 68363049579c408e56170933cd0b5094934f7c20
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 21 23:14:19 2010 +0200
s4:ntvfs/posix/pvfs_wait.c - fix a "calculated value unused" warning
The calculated value is "req" (!= NULL) if "talloc_reference" did work correctly
or it is NULL if we ran out of memory.
commit 366333c08fe1d26276a90391dcec0526a65cb2a2
Author: Roel van Meer <rolek at bokxing.nl>
Date: Fri May 21 14:17:17 2010 -0700
Fix bug #7448 - smbd crash when sambaLMPassword and sambaNTPassword entries missing from ldap.
Protect SMBsesskeygen_ntv1() from a NULL pointer.
commit efb29227fa46e2c9420b3158ef7422aea4f5846e
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 21 12:08:18 2010 -0700
Make krb5 over SMB2 identical to the way we handle it in SMB1.
Jeremy.
commit f576cc5410a9074a769ca1fbf786a142449e6058
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 21 11:40:54 2010 -0700
Doh! If you're going to give advice in "useage", make sure it's correct.
Jeremy.
commit 03f22005f9692feee150cf51c70d09ce2100ae02
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 21 10:35:22 2010 -0700
Add comments to usage error message for -k to make it obvious what this needs.
Jeremy.
commit 8c9ea2ba7ce2536ebc9f5342a050eb5bc63feac3
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 21 10:32:46 2010 -0700
Set SMB2 max read/write/trans sizes to Win7 compatible - 1Mb.
Jeremy.
commit 28b8d421364a1d55bf28a2552f58b5e4325d2bbb
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Thu May 20 11:13:37 2010 -0400
s3: added support for fake oplocks in SMB2.
commit dd3c367153353407f41642b6da4549057cc4c1e7
Author: Günther Deschner <gd at samba.org>
Date: Fri May 21 18:05:48 2010 +0200
s4-smbtorture: Fix NetUserPasswordSet2 RAP tests.
Guenther
commit 94d41ddc8f7c97069f0d3c331f65932365c5eb8e
Author: Günther Deschner <gd at samba.org>
Date: Fri May 21 18:05:10 2010 +0200
s4-smbtorture: fix smbcli_rap_netuserpasswordset2().
Guenther
commit 032c0515233551bf1d170a8b0a1fe970425d69c5
Author: Günther Deschner <gd at samba.org>
Date: Fri May 21 18:02:45 2010 +0200
rap: fix rap_NetUserPasswordSet2 IDL.
Guenther
commit 7c979adfbf9433ac00b24e6bcd7adebfd3b74b8c
Author: Günther Deschner <gd at samba.org>
Date: Fri May 21 18:06:51 2010 +0200
s3-net: fix net_ads_gpo() for non-ads case.
Guenther
commit a4719a4e12c69f2602bb6063f635c66d3d4848a0
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 21 05:36:35 2010 +0300
s4-drsuapi: Sort ATTID definitions by ATTID value
commit ffc46769b35083f35a8ff2309e4a066502af9441
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 21 05:27:04 2010 +0300
s4/drsuapi: Yet another set of predefined ATTIDs
commit b6b38222894014de029131eb5b6d573294af314e
Author: Andreas Schneider <asn at samba.org>
Date: Thu May 20 14:00:57 2010 +0200
s4-torture: Improved the winreg symlink test.
This test is still disabled as we don't know how to remove a symbolic
link. It looks like there only DeleteKey functions which can work on a
handle are able to delete a symbolic link.
Pair-Programmed-With: Michael Adam <obnox at samba.org>
commit 74d0fc10fd646e493a98a00e524f17e9c4f3df3f
Author: Andreas Schneider <asn at samba.org>
Date: Fri May 21 12:49:23 2010 +0200
s4-torture: Disable the security descriptor tests.
commit 225bd02dab1a0656461d3d5e30ad03034e8c64f1
Author: Andreas Schneider <asn at samba.org>
Date: Fri May 21 12:42:55 2010 +0200
s4-torture: Try to fix the winreg tests.
commit 5fe476b6821b731db11225043756470c45c7f66c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 21 11:30:20 2010 +0200
s4:ldb: add --controls support to ldbedit
metze
commit ab093ffe4637db65afb3779f592f20dd55f4e5f3
Author: Thomas Nagy <tnagy2pow10 at gmail.com>
Date: Fri May 21 12:48:11 2010 +0200
wafsamba: Disable the abi checks when gdb is not available
Try to find gdb during the configuration, if gdb is missing, disable
the abi checks.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 50b472a772edeb23ec97c3878054fb437db24f9b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 20:07:18 2010 +1000
s4:libcli/ldap Update headermap.txt (autotools build) and wscript_build for libcli_ldap.h
It took a little while to find where to update this...
Andrew Bartlett
commit 124047877d3287b9cbc145682c5e5ce5606d682b
Author: Michael Adam <obnox at samba.org>
Date: Fri May 21 10:56:37 2010 +0200
s4:torture:winreg: improve error messages in test_HKLM_wellknown
commit 67439d4297781261ac469d7c9252677f36d8c54a
Author: Michael Adam <obnox at samba.org>
Date: Fri May 21 10:53:35 2010 +0200
s4:torture:winreg: improve error messages in test_QueryValue_full
So that one has a chance to tell what part of the test failed. And why.
commit cba7f8b8273e661d3c43652900d93e5a8eab4e5f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 11:25:01 2010 +1000
s3:dom_sid Global replace of DOM_SID with struct dom_sid
This matches the structure that new code is being written to,
and removes one more of the old-style named structures, and
the need to know that is is just an alias for struct dom_sid.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit a92b653af964364ee438c6ee69a87eb7603ceab0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 10:38:04 2010 +1000
s3:passdb Remove use of uint8 uint16 and uint32 in favour of C99 types
Signed-off-by: Günther Deschner <gd at samba.org>
commit c8a23147fe12c693fd7944af7bb09b88393789d9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 17:39:15 2010 +1000
s4:libcli/ldap Rename ldap.h to libcli_ldap.h
It is a problem if a samba header is called ldap.h if we also want
to use OpenLDAP's ldap.h
Andrew Bartlett
commit 82c97e0ab840d8acfc81c3096bebc8c3d3e0bde3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 16:38:44 2010 +1000
s4:auth Remove un-needed headers.
commit 9453a0f88f1d0c337a3c1b24a2567e2dde3466e8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 16:01:34 2010 +1000
s4:auth Fix previous commit - segfault in determinging a user's groups
The previous commit didn't include these vital fixes.
Andrew Bartlett
commit 80b4d50603fb54011396f0d868ffc9907247d2af
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 15:04:36 2010 +1000
Revert "Make -k a simple non-bool option."
This reverts commit 2bbf055dbb15ea99b80ae66adc906ad5494a3999.
This change broke 'make test', because the current syntax is deliberate
and an integral part of how Samba4 uses Kerberos.
If a change like this is to be implemented, then careful review of all
our test scripts must be taken first, and then new options such as
--dont-use-kerberos, --may-use-kerberos and --must-use-kerberos
should be added.
Andrew Bartlett
commit 91807d9dd59b3b99250e5e52f84748710be3c360
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 15:02:22 2010 +1000
s4:auth Error out when a memberOf DN does not have a SID
We previously segfaulted if this was not the case.
Andrew Bartlett
commit 783cd32a75608b87952f062da7b83351bac69348
Author: Günther Deschner <gd at samba.org>
Date: Fri May 21 01:25:16 2010 +0200
s4-smbtorture: add kernel_mode_registry_path().
Guenther
commit e6047c163449c61de7f6883e3d5d40e1c2a30454
Author: Günther Deschner <gd at samba.org>
Date: Fri May 21 00:28:36 2010 +0200
s4-smbtorture: Fix volatile test in RPC-WINREG.
Guenther
commit 304271bd8feb77891b57ed4db3b7c4070bfa9a1f
Author: Gregor Beck <gbeck at sernet.de>
Date: Wed May 19 11:37:23 2010 +0200
s3: registry: add tests with empty valuename
Signed-off-by: Michael Adam <obnox at samba.org>
commit 12ce1643849a4cbbf1435d4f9ab7b1a951f86d07
Author: Gregor Beck <gbeck at sernet.de>
Date: Wed May 19 12:20:10 2010 +0200
s3: registry: let test_setvalue use getvalueraw instead of enumerate
simplifies code, prerequisite to handle empty valuenames
Signed-off-by: Michael Adam <obnox at samba.org>
commit 0a173444ac7bba8d69bbc80792215930ce65fdc3
Author: Gregor Beck <gbeck at sernet.de>
Date: Wed May 19 11:16:54 2010 +0200
s3: registry: fix query empty valuenames
Remove a check introduced with commit 80c2446321c519797a57b8006942a983f8481d79
wich causes queries for values with empty name to fail. Empty valuenames are
used for the so called default value of a key.
Signed-off-by: Michael Adam <obnox at samba.org>
commit 136ea7b91d0a712bf78ee325f06ab2d75f712507
Author: Kai Blin <kai at samba.org>
Date: Thu May 20 23:05:21 2010 +0200
s3-waf: Actually make --with/--without-swat work
commit c926acf7f1b49191b18f04a9caf484d8ef1033b9
Author: Kai Blin <kai at samba.org>
Date: Thu May 20 22:58:59 2010 +0200
s3-waf: Really disable winbindd build when --without-winbind is specified
commit 2bbf055dbb15ea99b80ae66adc906ad5494a3999
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 20 14:59:34 2010 -0700
Make -k a simple non-bool option.
Jeremy.
commit 2d46e07c47418fdec5239d65032277c7917a44a4
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 20 14:30:44 2010 -0700
Fix what looks like a cut-and-paste error in our read_negTokenInit() function.
We should never be calling asn1_push_XXX functions inside an asn1
reading function. Change asn1_push_tag() -> asn1_start_tag() and
asn1_pop_tag() -> asn1_end_tag(). This allows us to connect to a
NetApp filer at the Microsoft plugfest.
Andrew PLEASE CHECK !
Jeremy.
commit 8a4525d9fa08959a46afa88e2c785e1bc291b941
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 23:40:30 2010 +0200
waf: fix the build of nsswitch libwbclient.
Guenther
commit 7c6be166d0ef799a1897c29d5c1c1cd9998ff5d3
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 22:13:48 2010 +0200
s4-smbtorture: use push_reg_sz/push_reg_multi_sz in spoolss tests.
Guenther
commit 393e1495af642af4525c7f66d869b0685731b3aa
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 20:50:31 2010 +0200
s4-smbtorture: pass down hkey to main keytest in RPC-WINREG.
Guenther
commit ff3d2bef113783a561bdba1eace41d9bd5fce337
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 21:57:53 2010 +0200
s4-smbtorture: print local_machine name in RemoteFindFirstPrinterChangeNotifyEx test.
Guenther
commit 7370d036278d2cd0cb14267b5c2b0baa6e1788eb
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 20:49:44 2010 +0200
s4-smbtorture: use push_reg_sz()/push_reg_multi_sz() in RPC-WINREG.
Guenther
commit 29f549e3fb62b8b431aea5f9e53fc916ff121111
Author: Kai Blin <kai at samba.org>
Date: Thu May 20 22:30:24 2010 +0200
s3-waf: ndr string functions moved to top level
commit aca2b5461c47e6bb6449d7b09e36faa0025bb912
Author: Kai Blin <kai at samba.org>
Date: Thu May 20 10:24:37 2010 +0200
s3-waf: Fix the build after rebase
commit 73f6fed4d61f69cbbbd911e3c5549f39cea05ac7
Author: Kai Blin <kai at samba.org>
Date: Fri May 14 11:03:19 2010 +0200
s3-waf: more elaborate host_os check for STAT_ST_BLOCKSIZE
commit 9ab33162503ea5965cd7f34a9b5b9c1f13e75d0c
Author: Michael Adam <obnox at samba.org>
Date: Wed May 12 23:48:10 2010 +0200
s3-waf: fix linking of eventlogadm by adding cap as dependency
commit f35bafe39c9aac0c156636965bffa1ebe0b39225
Author: Michael Adam <obnox at samba.org>
Date: Wed May 12 23:47:36 2010 +0200
s3-waf: fix linking of swat by adding cap as dependency
commit c33ba1f9d1a5af5a2055cc28cd859bef75fa7eba
Author: Kai Blin <kai at samba.org>
Date: Wed May 12 22:43:18 2010 +0200
s3-waf: Fix build with ldap by adding a SMBLDAP subsystem
commit 17b136a79f94be5133e1fc93e31001fb102e6d2e
Author: Kai Blin <kai at samba.org>
Date: Wed May 12 05:39:00 2010 -0600
s3-waf: fix the winbindd build again
commit b6c5d5de379de1e1e5ada78021b3defba3ca3194
Author: Kai Blin <kai at samba.org>
Date: Wed May 12 05:23:27 2010 -0600
s3-waf: Fix up PIDL includes.
Pair-Programmed-With: Stefan Metzmacher <metze at samba.org>
commit 9cc39ffb5673e17be78d3986c0cc56e4f1a2af32
Author: Kai Blin <kai at samba.org>
Date: Wed May 12 04:32:30 2010 -0600
s3-waf: Some files moved during the rebase
commit 5556deee7aabda43ee258d84670fcb9635632a47
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 12 04:31:27 2010 -0600
s3-waf: Add autogeneration with PIDL
commit d704d5295461a2d287f3d69b43d355fc4cfa1489
Author: Kai Blin <kai at samba.org>
Date: Wed May 12 04:27:49 2010 -0600
s3-waf: Remove references to LDB
Pair-Programmed-With: Stefan Metzmacher <metze at samba.org>
commit 1c6ba8551d74a469c80fdc666a8c795bd3a7bf52
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 12 04:23:10 2010 -0600
s3-waf: Also include source4/ when looking for headers
commit 8e04ad2db1e3071e3297a315021fc5158134f575
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 17:44:25 2010 +0200
s3-waf: build shared modules as subsystems
commit 2650198ff70320cc9f251f2ce881c25932bc0e95
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 17:14:54 2010 +0200
s3-waf: autogenerate lists of static modules
commit e48b73fc67e7e57d6944722adf738bcc923cf1a6
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 17:13:05 2010 +0200
s3-waf: clean up includes
commit 3ea211feb4b77633e22ecd09c8d653ccf892ec9f
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 17:11:41 2010 +0200
s3-waf: create a SECRETS subsystem
commit 1e97982633a4a7652d7481a0e888de4fe85c7791
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 15:24:13 2010 +0200
s3-waf: clean up dependencies a little
commit 997114564d1d8ec9e6f79be6e0cd557e34d04cb6
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 15:23:37 2010 +0200
s3-waf: tdb includes are in lib/tdb/include
commit 6a32dbd857b892a1c71130fdcb58ec53d06ea4ef
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 15:00:43 2010 +0200
s3-waf: fix eventlogadm build with winbind
commit 0e7e0397780a13b13649c910fe77709e4feedcf0
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 10:32:07 2010 +0200
s3-waf: Autogenerate the static and dynamic init function calls
commit 25f33a3f8e92e2687db782b56ad794e8dee02986
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 10:31:22 2010 +0200
s3-waf: add popt and tdb include dirs to the includes list
commit 63a30619b63d17347eda1c13e56ec200fa1ce853
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 10:30:25 2010 +0200
s3-waf: Fix up the winbindd build
commit 015c09031e48877bda9b15d9334846d7fd43c98e
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 19:45:06 2010 +0200
s3-waf: add eventlogadm binary
commit 07661287648e4764a0babf6f571e695c61957b41
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 14:43:57 2010 +0200
s3-waf: Use a common subsystem for the kerberos client code
commit 149167f5748860e6795d11c6aceeb0149101d241
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 14:33:49 2010 +0200
s3-waf: Use a common subsystem for samba-popt code
commit f242a31a43a0ff2d0be84553aca5e159aa138905
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 14:22:06 2010 +0200
s3-waf: note that the options are broken
commit b2431163fccb996b390acbfd65d29d39f92b4679
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 14:21:28 2010 +0200
s3-waf: replace all - with _ in the configuration option names
commit be712a8eea486d493d6e0c924d1d8e13312a52af
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 14:18:20 2010 +0200
s3-waf: Build swat
commit 8f9a3c9eb2b79539d04c59ed4a5a570c692cd63c
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 14:17:30 2010 +0200
s3-waf: build winbindd again
commit cf0cea838fd3565b81062a502732c249382a1149
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 11:25:52 2010 +0200
s3-waf: fix up the LDAP objects if LDAP isn't built
commit 0cb99738ca81a54fab1c3c63bb24f3014314e925
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 06:43:01 2010 -0600
s3-waf: install swat files
commit 5800e45fdd8bed7744481d7ec3671d701cbfb41b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 06:42:49 2010 -0600
s3-waf: fixed install path for sbin binaries
commit e86b2127395d389be131629050e391e9f37507ab
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 06:42:20 2010 -0600
s3-waf: fixed SWATDIR to match old build
commit 2261e8c0876dc1fa6eba3ccaf8341122ede67505
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 10:15:11 2010 +0200
s3-waf: Fix the minimal build
When using the internal zlib and popt, the dependencies and includes
have to be adapted a bit
commit c59da6e9a5cd177aed8fac38bd170979339bae7f
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 02:07:28 2010 -0600
s3-waf: Fix the build --with-ldap
The LDAP source files as set by configure weren't detected correctly in the wscript_build
Pair-Programmed-With: Stefan Metzmacher <metze at samba.org>
commit 4acb54c6a0a59ba03eeaa8807d114f8ec3743a9e
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 23 08:59:43 2010 +0200
s3-waf: Fix global includes to fix waf configure --help output
commit 9496bdc04f942be117816746e9838c0e57fa759b
Author: Kai Blin <kai at samba.org>
Date: Thu Apr 22 23:33:38 2010 +0200
s3-waf: Introduce more subsystems to reduce build time
commit c8c54af69ea032a00f27750928df6cd129011eec
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 22:31:35 2010 +0200
s3-waf: Don't build winbindd when --without-winbind is set
commit 23adc338fe3db0d975f12a2975133e14130b79a6
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 11:08:37 2010 +0200
s3-waf: Get winbindd to build again with current master
commit 4478413da9cff9c9c054351477724265e7e5a9f8
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 08:07:50 2010 +0200
s3-waf: Add dummy configuration option for pthreadpool
commit 81967f5087de6385142e1e3e05bbd17fd49c3691
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 08:04:12 2010 +0200
s3-waf: Add dummy configuration option for utmp
commit f4ff7a298d99d5a0c20b7d4c6d092faf00c898f1
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 08:03:38 2010 +0200
s3-waf: Add dummy configuration option for sendfile-support
commit cba7fd170cb08a8c200ca4d2fa5c19ba88213699
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 08:02:31 2010 +0200
s3-waf: Add dummy configuration options for quotas
commit f4ebdc98c2439269341e468613c89d6ece7db465
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 08:00:52 2010 +0200
s3-waf: Add dummy configuration option for PAM
commit 76e054ba988ec200ba140a6f9f5572d6c310bb40
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 07:58:44 2010 +0200
s3-waf: Add configuration option for merged build
This doesn't enable the merged build, but doesn't error out when the --disable-merged-build configuration option is set
commit 7ba5d2c012cf028b871d29409743b973382bdabe
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 18 10:08:25 2010 +0200
s3-waf: Fix install location of testparm and wbinfo
commit 1defd6e2a8a80ce850f11bcc0401868fb3d92522
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 18 10:07:54 2010 +0200
s3-waf: Build LDB as a subsystem
commit c332a13d743a6e949f4b8d40e7d9440f7cc598d4
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 18 09:30:59 2010 +0200
s3-waf: build testparm and winbindd
commit 372818620248dfd48dd2cb2d49671a86e5564f6c
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 18 09:26:54 2010 +0200
s3-waf dynconfig: s3 configfile default is $LIBDIR/smb.conf
commit eea89ddf8d5340458743f6fdfa746343169b00af
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 00:05:40 2010 -0600
s3-waf: merged auth subsystem changes from master
commit c85008e0843f5b2af0a83ed0748af46873515446
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 00:40:54 2010 -0600
s3-waf: move the KRB5_DEPRECATED check into lib/replace
this needs to be with the krb5.h check
commit ca7226500ce108fb00aed6280992ecbda16b9726
Author: Kai Blin <kai at samba.org>
Date: Mon Apr 12 07:21:41 2010 +0200
s3-waf: Don't recurse into tsocket dir during configure
commit 730c57048edcc03480c3ff55de751d68775bd860
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 8 13:05:36 2010 -0600
s3-waf: Add enable selftest configuration option
commit 0077761f7ec0e404e67ff602135e1b4189b4c5c6
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 8 15:03:40 2010 -0600
s3-waf: correctly handle the libcap dependency when libcap is not installed
commit fa48325bb65749af87106d4e19e29be1f91e6477
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 23:01:29 2010 +0200
s3-waf: build wbinfo using waf
commit c7a17087402d5a177cd4b614e3c5255776e8c6d3
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 22:43:23 2010 +0200
s3-waf: Add ctags command
commit b14d86f0a90672aaa4ffb831c11f1a7df3e239f6
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 22:05:50 2010 +0200
s3-waf: Build nmbd using waf as well
commit 8e32f81d4d5ceee14b00fac97d529d372de220de
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 22:05:10 2010 +0200
s3-waf: Support smbd build without ldap and kerberos
commit d59df05ff9a2de0fd04922f9221726a442d91ffb
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 10:36:05 2010 +0200
s3-waf: Allow building without ads/ldap/krb5 even if the libs are installed
commit f860a12d2fe7522e6bfefd0485c7005c6a3b56fe
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 10:34:52 2010 +0200
build: Don't look for krb5.h in libreplace
commit 771a8c17afbb287297958de1f8a017c96507db78
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 10:34:12 2010 +0200
s3-waf: Allow using --enable/--disable options as well
commit 99a2171f8b7ea1e2fda1060e07b2d7cd0ba5c8ae
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 8 15:04:55 2010 -0600
s3-waf: correctly handle cups dependencies when cups development packages are not installed
commit 3d1c0f1a2152b456be112ce992d281e0234f1a96
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 09:35:08 2010 +0200
s3-waf: Add helper that facilitates defining --with-x and --without-x options
commit adfd1db476cb1c399d5146b47f432199c585666c
Author: Kai Blin <kai at samba.org>
Date: Thu Apr 8 08:09:11 2010 +0200
s3-waf: Fix the CUPS dependency
commit 419873f2ee9997edd06f95758f7ab10aa1a8d15b
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 7 07:34:12 2010 -0600
s3-waf: All sorts of nasty hacks to finally get smbd to build/link
Pair-Programmed-With: Kai Blin <kai at samba.org>
commit 538edd5fc0668e08d955f75a3524811c1e987e93
Author: Kai Blin <kai at samba.org>
Date: Tue Apr 6 00:44:25 2010 +0200
s3-waf: Add some more krb5 checks
There is still quite a few of them missing.
commit 1316fa7b784b68bd066b649757e1e58901f6cade
Author: Kai Blin <kai at samba.org>
Date: Mon Apr 5 23:44:37 2010 +0200
s3-waf: Check for LDAP
commit 2b5f82f259e9f6529567de54a347737587f0b2d6
Author: Kai Blin <kai at samba.org>
Date: Mon Apr 5 14:41:23 2010 +0200
s3-waf: Move cups, ldap and krb5 checks to the end of the wscript file
commit d3c9d299e8d9bac8ab5504e61c99b4ad4a46afb0
Author: Kai Blin <kai at samba.org>
Date: Mon Apr 5 14:40:10 2010 +0200
s3-waf: Check for KRB5_DEPRECATED handling
commit 6f6b32044e4aed9262f31ac30e18950036828ae8
Author: Kai Blin <kai at samba.org>
Date: Mon Apr 5 14:39:07 2010 +0200
s3-waf: Fake some defines that need to be set by configure options later
commit a967deacdce516192a4faa4fdebcabca34923243
Author: Kai Blin <kai at samba.org>
Date: Mon Apr 5 01:34:43 2010 -0600
s3-waf: Add more objects trying to build smbd
commit 5f87d5a3d0390eb6c9139f78125d223f3a70b7ef
Author: Kai Blin <kai at samba.org>
Date: Fri Mar 26 16:52:32 2010 -0600
s3-waf: Added support dynconfig cflags
Pair-Programmed-With: Andrew Tridgell <tridge at samba.org>
commit a8a4fe0605e6149efb5f9051181d794572edbf27
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 20 11:36:47 2010 -0700
Fix bug #7410 - samba sends "raw" inode number as uniqueid with unix extensions.
Move to a consistent get_FileIndex() function for all inode returns,
that checks if st_dev on the file is identical to the top directory
dev_t of the exported share, and if so uses the raw 64-bit inode
number. If it isn't (we've traversed a mount point) - return what
we used to do for Windows which is the concatination of the bottom
32-bits of the inode with the 32-bit device number. We can get more
creative with this over time (hashing?) if we want as now all inode returns go
through this single function.
Jeremy.
commit a7cab4ea36eb21d7b72efa80a77c702bb92bec62
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 30 18:24:53 2010 +0200
s4:ldb-samba: handle more GUID attributes
metze
commit 3c1e87a29a776f5add9e7606dca3b909f5ea7445
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 2 21:21:26 2009 +0200
s3-libgpo: enable LDAP sign in ads_get_gpo_list().
Guenther
commit e4bdb7e00e3acdb4e18dafdbe44cd4826acaaeab
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 2 21:16:45 2009 +0200
s3-libads: add ads_set_sasl_wrap_flags().
Guenther
commit 33a156f0c13476f431584492977b0d4c28e4e4fb
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 2 22:07:01 2009 +0200
s3-net: show how to use filters for group policy processing.
Guenther
commit 96962277da64b2507f8c479b920fc06063cc296f
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 2 22:04:03 2009 +0200
s3-net: let net_ads_gpo() call no_ads when built w/o ads support.
Guenther
commit 32809efe766a4090de3bc43296d90785b76b50b9
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 2 21:15:28 2009 +0200
s3-net: compile net_ads_gpo_apply().
Guenther
commit aadd29356ee5785d11ebe072459b7dd3747ed9ed
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 18:32:37 2010 +0200
s3-registry: support REG_DWORD_BIG_ENDIAN.
Just treat it as a REG_DWORD for now. Long term all these checks will need to
pass away, once we get a real registry...
Guenther
commit fb16ac229beb9ce9d37b49ab6cb630d60c95ee9e
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 2 21:25:32 2009 +0200
s3-registry: support REG_QWORD.
Guenther
commit 026fae89d6628669ce594493ff7c27485e479603
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 12:02:55 2010 +0200
s3-utils: remove trailing whitespace from profiles utility.
Guenther
commit b75384546ac2300896b58a4474bce5f09dcc924a
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 13:57:22 2010 +0200
librpc: finally merge ndr_string.c.
Guenther
commit 6d9fe52310d4aedbd66294cecc1d375da46bef39
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 13:54:44 2010 +0200
s3-libndr: merge in better ndr warnings from s4 ndr_string.c
Guenther
commit 764cde51902da80bf4457e83e3a15641d259b684
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 13:54:08 2010 +0200
s3-build: add missing prototype for regtype_by_string().
Guenther
commit ba1befd36564cdc580d29be2303d824f9bde6a36
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 13:39:46 2010 +0200
s3-services: move services.h closer to services implementation.
Guenther
commit e7982bbe0b560dcf37beb3995b5ce8c091a9c21e
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 00:46:47 2010 +0200
s3-lanman: Fix various RAP printing calls according to win98 testing and MS-RAP docs.
Guenther
commit 29629b93907fd32e48d347c109333e9c0ad244eb
Author: Kai Blin <kai at samba.org>
Date: Thu May 20 11:29:03 2010 +0200
s3 smb2: Fix the build without kerberos
Jeremy, please check
commit 33c96e6d3a04a8e2f4a4b794081fe2d2a5dcc742
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 17 14:01:18 2010 +0200
s3-net: Created a migration tool for printing TDBs.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 9c7d47fdad5fe82cc7936fef9e905521db841f09
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 23:05:33 2010 +0200
s4-smbtorture: take a TODO note for RAP-PRINTING.
Guenther
commit 4b56aa277193f6f27fdbeb4e9d3939cb093aea98
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 20 10:23:45 2010 +0200
s4:operational LDB module - fix warnings (missing parameters, unused variable)
commit a0b0dc16a6ca63e633f51d079bb76124965d254c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 20 16:51:59 2010 +1000
s4:auth handle addition of nested aliases of domain groups.
The challenge here is that we are asked not to add the domain groups
again, but we need to search inside them for any aliases that we need
to add. So, we can't short-circuit the operation just because we found
the domain group.
Andrew Bartlett
commit 9c6b637ce8a750fa2fef6a5d3a303bf9e6c4eea5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Apr 19 15:51:57 2010 +1000
s4:auth Change auth_generate_session_info to take flags
This allows us to control what groups should be added in what use
cases, and in particular to more carefully control the introduction of
the 'authenticated' group.
In particular, in the 'service_named_pipe' protocol, we do not have
control over the addition of the authenticated users group, so we key
of 'is this user the anonymous SID'.
This also takes more care to allocate the right length ptoken->sids
Andrew Bartlett
commit 3ff2766231625863140434bab18b27d5105deb3c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Apr 19 15:43:33 2010 +1000
s4:auth Push check for messaging context into winbind backend
If we don't use the winbind backend, we don't (for now) need a
messaging context- and we don't have one in LDB at the moment.
Andrew Bartlett
commit feb9ffdac82c0e30ea61b7ac0d3dae2fcd3bcedd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Apr 16 08:42:12 2010 +1000
s4:auth Add dependency from the operational module onto auth
We had to split up the auth module into a module loaded by main deamon
and a subsystem we manually init in the operational module.
Andrew Bartlett
commit 72ccbcacddd2c3fdc6bfb61b8efb78625368365d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 15 11:58:05 2010 +1000
s4:auth Allow the operational module to get a user's tokenGroups from auth
This creates a new interface to the auth subsystem, to allow an
auth_context to be created from the ldb, and then tokenGroups to be
calculated in the same way that the auth subsystem would.
Andrew Bartlett
commit 4fa9aa30996219821d5d2496d574340f14a4a406
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 4 20:07:12 2010 +1100
s4:torture Add tests to demonstrate S2U4Self in the RPC-PAC test
We also compare against SamLogon to try and validate the whole thing.
Note that we must represent NULL as "" when comparing between the PAC
and SamLogon, due to different marshalling of the structures.
Andrew Bartlett
commit 5f9024c8a4350792e67e1d8dbe8e45ff5732bd66
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 13 22:11:26 2010 +1000
s4:auth Move BUILTIN group addition into session.c
The group list in the PAC does not include 'enterprise DCs' and
BUILTIN groups, so we should generate it on each server, not in the
list we pass around in the PAC or SamLogon reply.
Andrew Bartlett
commit 564b4c7443b256e002b7ac173d4c5e8870980de3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Apr 9 19:18:30 2010 +1000
s4:dsdb disable tokenGroups until end of rewrite
I need to change the functions this calls
Andrew Bartlett
commit 612a333d658990aeb4188ee984a53b2e6bc65780
Author: Michael Adam <obnox at samba.org>
Date: Tue May 18 15:25:53 2010 +0200
s3:winbind:idmap_tdb2_set_mapping: untangle assignment from check
commit 2c61c93a51a8e8c41da8a54945dc67d6dc416141
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 19 21:28:08 2010 -0700
Fix bug 7442 - Samba returns incorrect SMB2 QFS device info.
Add the correct devicetype and characteristics for this info level.
Jeremy.
commit fad5d33bf880bcc137f7cb47e72cd0e07d92eec3
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 19 21:27:43 2010 -0700
Fix connecting to [homes] share over SMB2.
Jeremy.
commit b7067ee5f786dd2a06172014bbd7cd78d9129b47
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 19 21:27:17 2010 -0700
Correctly check error code return.
Jeremy.
commit 1ad551ce3079f55d4b21a7853df15efaf5ae19cc
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 19 20:09:51 2010 -0700
After talking with Microsoft engineers, immediately replying
on compound requests on open being deferred for a sharing violation
is a Windows bug. Re-enable the code that simply delays the compound
response if the delay time is less than 2 seconds.
Jeremy.
commit 7e96db4f50ed84b598deaf0647676c0e8487920e
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 19 20:09:08 2010 -0700
After talking with Microsoft engineers, the "lock spin time" is
no longer used in SMB2.
Jeremy.
commit af445935555dc3fab3cefc52b375dd18b8d9bb4c
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 19 19:28:26 2010 -0700
(Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client
It turns out that the persistent handles are used by the Microsoft
redirector to index files on oplock break requests. So even if we
don't do durable handles (yet) we must set the persistent handle
on create. For now just use the same handle value as we use for
volatile.
Jeremy.
commit ae02691200a2fd20b0c227a875a0997b50fc6612
Author: Simo Sorce <ssorce at redhat.com>
Date: Tue May 18 18:38:54 2010 -0400
tsocket: Improve the language in some parts of the guide.
commit 66cbc62961bad98fa8f0cdb49370b415a1d2b2d2
Author: Thomas Nagy <tnagy1024 at gmail.com>
Date: Wed May 19 22:13:03 2010 +0200
s4-waf: Replace local includes in header files with proper system names.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit b0d7a3d123cb96049dc782b317554448acdae1a2
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 19 10:34:44 2010 -0700
Thanks to Andrew Bartlett's advice, fix the NTLMSSP version problem the correct way.
No more magic blobs :-). Use ndr_push_struct_blob() to
push a properly formatted VERSION struct.
Jeremy.
commit ac9341245af38fe019c43ad9e413dbc62e26bc7a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed May 19 00:26:56 2010 +0200
pynet: Raise proper exceptions rather than invoking sys.exit.
commit d18fbda0d0bd7d4cd702e1feb80d5803a4afcc39
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 19 13:30:58 2010 +0200
testprogs/win32: make it possible to specify MINGW_CC
metze
commit 4ce04f6f6fe5c485045cd870cb9ad2e3f2063659
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 19 13:58:26 2010 +0200
testprogs/win32/spoolss: we don't need absolute pathes to mingw locations
metze
commit 38d1776c794a0a5693d5233a0767c4f5d7440f19
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 19 11:51:56 2010 +0200
testprogs/win32/npecho: use 'rm -f' instead of 'del' on unix
metze
commit d133ef997d0e64e25ab7f34ff67af8ffd09e366b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 19 11:51:07 2010 +0200
testprogs/win32: explain how to use nmake with NMakefile
metze
commit 64fa63c3e93e254466196b04b128b9057769b405
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 19 11:11:50 2010 +0200
testprogs/win32/spoolss: rename Makefile.mingw GNUmakefile
metze
commit b00acc81fb79fcea30710349ef6152d3104f1423
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 19 11:10:36 2010 +0200
testprogs/win32/spoolss: rename Makefile => NMakefile
metze
commit 572e5dec1bbd4af3ccc4b8bfe56a72ded4c9aa6e
Author: Jeremy Allison <jra at samba.org>
Date: Tue May 18 18:34:54 2010 -0700
Implement missing info level SMB_FILE_LINK_INFORMATION.
Fix bug #7435 - SMB2 hardlink fails (invalid level).
Found at the Microsoft plugsharing plugfest.
Jeremy.
commit c7982074a7ea85219411311ebf31444ea4c501a5
Author: Jeremy Allison <jra at samba.org>
Date: Tue May 18 17:11:54 2010 -0700
Keep track of credits we're giving out. Set initial credits to 1 (MS-SMB2 spec required).
Jeremy.
commit ad9050a6ff57d847ba7d95f2cb33353d369dc42b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed May 19 02:29:20 2010 +0300
s4/drsuapi: Add another set of predefined ATTIDs
Very useful for debugging/dumping purposes
commit 799eb535a907ba6b6bad92d85d1ca7ac9f857dea
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed May 19 02:28:09 2010 +0300
s4/metadata: fix whitespaces
commit 242b41a3d8dfb5fd1cc1923e117f6d33bd145c55
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed May 19 02:18:17 2010 +0300
s4/selftest: fix passwords in selftest-vars script
commit 6a903078cb133a1f46c9d6f24f50d863e31b743c
Author: Jeremy Allison <jra at samba.org>
Date: Tue May 18 16:32:13 2010 -0700
Fix our NTLMSSP implementation against the Microsoft torture tester.
We need to return a version blob if we negotiate version info.
Jeremy.
commit 829c87634b2aca87789371ad33231e9d4bc518a8
Author: Jeremy Allison <jra at samba.org>
Date: Tue May 18 09:57:29 2010 -0700
Change data_blob() to be based on top of data_blob_talloc(), instead of the reverse (as it is now).
It makes no sense to talloc off the null context, then talloc steal
into the required context - just talloc off the correct context, and
change data_blob() to pass in the null context to data_blob_talloc().
Jeremy.
Signed-off-by: Günther Deschner <gd at samba.org>
commit f6f3bb1813b5f030616e422ed420b938244be84e
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 18:54:56 2010 +0200
s3-passdb: move get_logon_hours_from_pdb() into samr server.
Guenther
commit 8478770c357f712f1fc3b8a0a9a5f9e730388abb
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 18:59:45 2010 +0200
s3-rpc_client: move protos to init_samr.h
Guenther
commit 5a6f3a06665ea343e2a212924cfce9edb358876f
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 18:58:45 2010 +0200
s3-rpc_client: move protos to init_spoolss.h
Guenther
commit cc06133b0a0f3a4a150d587a7d43c678cfba16a0
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 18:26:48 2010 +0200
s3-rpc_client: move protos to cli_spoolss.h
Guenther
commit 230b880d142eea46d4131f2b44774465c9c214bc
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 18:26:16 2010 +0200
s3-rpc_client: move protos to cli_lsarpc.h
Guenther
commit 5ed365411278ca19d69216ca969e91c4725c2c08
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 18:26:03 2010 +0200
s3-rpc_client: move protos to cli_netlogon.h
Guenther
commit 3f2719c20296d55766bf6d9f43dea50ab259e0e6
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 18:25:50 2010 +0200
s3-rpc_client: move protos to cli_samr.h
Guenther
commit 7a8e34fe868158ee5591e1640477d28c62de5b67
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 17 13:39:42 2010 +1000
s3:split secrets.c to put machine account secrets in a new file
This helps the s3compat effort by allowing these functions to be
replaced by functions that query the cli_credentials and secrets.ldb
APIs.
Also, this changes a couple of DOM_SID to struct dom_sid along the
way.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit 1ffc65d462ab7ebb61efc30e8305e70789d219fb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 18 16:58:53 2010 +0200
s4:smb_server/smb/trans2.c - remove unused define "DEFAULT_SITE_NAME"
Obviously this isn't needed and in general site names shouldn't be hardcoded
anymore (except there is a good reason).
commit 864a95fd9c2dc74f2612478e7b7784c9abc37257
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 13 07:57:27 2010 +1000
s3:winbind use no_srv_register to avoid needing rpc_srv_register
This pidl attribute avoids the need for this dummy function, which
helps s3compat.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit f5f184a77cfe83498d6e55f10fdf79ca37229696
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 13 07:53:07 2010 +1000
pidl: Allow new property 'no_srv_register'.
This Samba-only property prevents pild from emitting the
rpc_wbint_init function, which causes problems because it needs
rpc_srv_register().
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit 0953087f82ddbd580e9807e0e8d780e78686c03c
Author: Andreas Schneider <asn at samba.org>
Date: Wed May 12 18:36:30 2010 +0200
s3-spoolss: Added EN ISO 216, A0 and A1 to builtin forms.
Signed-off-by: Andreas Schneider <asn at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit 20537d65166714f083256cf4f48b96d35786253a
Author: Günther Deschner <gd at samba.org>
Date: Mon May 17 18:22:37 2010 +0200
s3-pidfile: set the close on exec flag for the created pidfiles.
Guenther
commit d6a73ad85bff4867b48d12fa68479812f682ec0a
Author: Simo Sorce <idra at samba.org>
Date: Thu Apr 22 19:30:11 2010 -0400
s3-spoolss: Removed the Phantom DeviceMode.
This was a hack that required a special client from HP.
The client code has never been released and was discontinued,
so this code was just dead weight.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 007b9962676efef4cf2230f304ce263ce1e75555
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 15:32:47 2010 +0200
s3-net: also dump security descriptors from ntprinters.tdb in "net printing dump".
Guenther
commit a79b446e11c56de5244ec9b9823c436122fe5ffe
Author: Matthieu Patou <mat at matws.net>
Date: Tue May 11 21:22:24 2010 +0400
s4:smb_server: add dfs smbtorture to selftests
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit fc94c50a9fe0ef344068feafa21d85adb149b6b3
Author: Matthieu Patou <mat at matws.net>
Date: Sat May 1 22:27:31 2010 +0400
s4:smb_server: Implement GET_DFS_REFERRAL for domain referral requests
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 90d768989cff597a5b241ee14ba04024a3bda45a
Author: Matthieu Patou <mat at matws.net>
Date: Sat May 1 22:33:20 2010 +0400
s4:smb_server: fix trailling whitespace in trans2.c
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 9f01e7af6b5f0ab8022baabf097af6be82f13877
Author: Matthieu Patou <mat at matws.net>
Date: Mon May 10 01:39:27 2010 +0400
s4 torture: Add tests for dfs referrals handling in SMB/trans2 requests
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 0e4e39c7f51a6fe95485710454b5ced1a6ef7a51
Author: Matthieu Patou <mat at matws.net>
Date: Mon May 10 01:40:31 2010 +0400
s4 torture test: Adapt ndr-dfsblobs torture test to new idl
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 970cbad79ab4b6cad73dd75daae4f896dde92f38
Author: Matthieu Patou <mat at matws.net>
Date: Mon Apr 26 01:31:19 2010 +0400
librpc/idl: fix errors and improve idl in dfsblobs
Fix problems between strings and nstring
Allow get_deferral parameters to be used by ndr_push/pull_blobs
Handle correctly the 16 bytes padding
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6f264106a4476eb138df568f66d0a7a0216fb9fa
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 18 14:49:39 2010 +0200
s4:librpc: fix the autoconf build
metze
commit 9b9def0d724da1b20ca175c84ec03242748e45be
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 18 13:50:33 2010 +0200
s4:dynconfig: let the autoconf build compile again
metze
commit 4108728b7e9e4d53624c81984c4ee8e0e6bc81d9
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 28 17:04:10 2010 +0200
s3-spoolss: Use the spoolss_map_to_os2_driver to modify drivername.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 7d363b8922e7ec740858339aaa0052a990b264fa
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 28 17:03:41 2010 +0200
s3-spoolss: Create a spoolss_map_to_os2_driver function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit a3b81a908c9c866066316b01efe5bb0bc8937a86
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 15:05:46 2010 +0200
s3-spoolss: Use better names for set_last_from_to.
Use set_driver_mapping() and get_win_driver(), get_os2_driver().
Signed-off-by: Günther Deschner <gd at samba.org>
commit 9bbf761bfe64b708144fb44b3f726c85efc58238
Author: Günther Deschner <gd at samba.org>
Date: Thu May 13 00:05:40 2010 +0200
s3-net: Added a rather trivial "net printing dump" command.
Guenther
commit f3063d925494b78407e5f694150e5174d0a5d7c4
Author: Andreas Schneider <asn at samba.org>
Date: Wed May 12 10:59:41 2010 +0200
s3-spoolss: Added EN ISO 216, A0 and A1 to builtin forms.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 4bc46e0f271f3dcf90ee8beb8738a18fffb2a4b9
Author: Andreas Schneider <asn at samba.org>
Date: Wed May 12 10:57:14 2010 +0200
s3-spoolss: Sorted the builtin forms alphabetically.
Signed-off-by: Günther Deschner <gd at samba.org>
commit d4474ba470a70ce0476156a9399193ec024bb455
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 12:52:18 2010 +0200
s3-secdesc: use SD_REVISION from security.idl.
Guenther
commit a531537341d874ed2bfa7058ec45417e856bed4e
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 12:51:35 2010 +0200
s3-secdesc: move SEC_DESC_HEADER_SIZE to its only user.
Guenther
commit 7f6bb48bdf230465fd26514ff43d92e2c1f32fe6
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 10:29:34 2010 +0200
s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".
Guenther
commit 8951c8301ac8436d49e1641b2cc7775dda44d914
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 03:30:40 2010 +0200
s3-secdesc: remove "typedef struct security_acl SEC_ACL".
Guenther
commit a8b01d1f3b4025af7e7a9d8b61deec6156737322
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 03:25:38 2010 +0200
s3-secdesc: remove "typedef struct security_ace SEC_ACE".
Guenther
commit 8bc9c343c4fe4e6f6c0283fd15e86caf6b8c1085
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 02:56:17 2010 +0200
s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".
Guenther
commit f6445d8f860fa8f771e6c8986b8eda6cc00c7793
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 12:26:52 2010 +0200
s3-build: fix the build.
Guenther
commit c0fb7b8180f7383590f24e84cc3700aa77499112
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri May 14 17:39:07 2010 +0200
s3: Fix some more iconv convenience usages.
commit 390ada6ec79b0480a44da1fa81a63dcaf5c81da7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 10 14:08:38 2010 +0200
Remove more usages of iconv_convenience in files which were apparently not recompiled by waf.
commit b8268cf7b0264ea28f684cbdfbf462e68a018d83
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 10 00:42:06 2010 +0200
s3: Remove use of iconv_convenience.
commit f9ca9e46ad24036bf00cb361a6cef4b2e7e98d7d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun May 9 17:20:01 2010 +0200
Finish removal of iconv_convenience in public API's.
commit e9f5bdf6b5a1aeb7e2e556cf41f7cbc2abed7856
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 02:27:34 2010 +0200
smbconf: only include smbconf headers where needed.
Guenther
commit 415bd627642bb8f18f180daaf61c4a6ddb62ebbd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed May 5 12:47:07 2010 +1000
s4:ntvfs Prepare for a possible future sharing of notify.idl
I would love for notify.idl to be shared between Samba4 and Samba3
some day, and this seems to be the point at which the structure is
initialised.
Andrew Bartlett
commit e11a67de7d2b67f9efe47c471a9b35a14ec8ad47
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 17 19:54:00 2010 +1000
s4:winbindd Record the privilaged pipe dir
This may help us return an accurate priv pipe dir later on.
Andrew Bartlett
commit b183a30b2b3983a7f827dc6fd44eb16ac64904ce
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 17 13:41:01 2010 +1000
s4:credentials Add in tracking of the password last set time
We perhaps need a more general API here, but for now extend the
credentials API to return the password last changed time that the
s3compat layer will need.
Andrew Bartlett
commit 6324a0f59f78dff6501627518824e708aa3dc257
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 17 11:52:24 2010 +1000
s4:provision Remove unused 'account_name' parameter
The python glue code didn't even de-reference this element in the
structure.
Andrew Bartlett
commit 00b985def82acfbc4e36121d5879c1ffae2c68a3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 6 16:47:15 2010 +1000
s4:auth Make it clear to the callers the talloc lifetime.
In other times, we might have used talloc_reference here, but this
isn't used as much these days.
Andrew Bartlett
commit 285b62832779f53b135adae4f2c76c424d193cab
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 17 18:22:19 2010 -0700
Plumb in krb5 to the SMB2 sessionsetup code. First cut of this code.
Jeremy.
commit b481b8e1f52562d21e060ad321f05c9d3c7ede0d
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 17 17:17:44 2010 -0700
Fix the build of bin/smbtorture in source3. Guenther please check !
Jeremy.
commit e22722ae641a43710380faa3e2ca8395e554deb8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue May 18 01:39:17 2010 +0200
selftest: Cope with empty testsuite results in more places.
commit 11ec2916a7ba937aa09057a3a6b990bd29476cc4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue May 18 00:01:48 2010 +0200
selftest: Cope with testsuites without any output whatsoever (probably an error though).
commit f7f1a3a4516528be8722bb416428c8abb4bab652
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun May 2 20:02:26 2010 +0200
pynet: Remove unused credentials argument.
commit fe31b67d5e9bf5b6c195eddb5f7b42e680a0f36a
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 2 00:17:06 2009 +0200
s3-registry: only include registry headers when really needed.
Guenther
commit d7d313851aed176d1caf7374a87c5ad327cb00a8
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 00:39:43 2010 +0200
s3-tldap: only include tldap when actually needed.
Guenther
commit e16ed3399adf1e0fb9f6979677711bb0ab7d0409
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 00:18:55 2010 +0200
s3-includes: remove completely unused util_getent.h header.
Guenther
commit 1d2dd47d31e776e5a976069147b33d7c34e5b071
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 00:16:40 2010 +0200
s3-crypto: only include crypto headers when crypto is done.
Guenther
commit 26c844902c70ea73f43f8e900344c25fb21e607c
Author: Günther Deschner <gd at samba.org>
Date: Mon May 17 23:27:30 2010 +0200
s3-samr: move samr helper prototypes outside of proto.h
Guenther
commit 657fd0be1d9e878e98ff9eb79d845a5b6f974cd4
Author: Günther Deschner <gd at samba.org>
Date: Mon May 17 23:04:46 2010 +0200
s3-services: move services.h to where it is actually used.
Guenther
commit ca73e03eb7e8690aef68cfafab36b0b9cc205ab7
Author: Günther Deschner <gd at samba.org>
Date: Mon May 17 23:04:08 2010 +0200
security: merge builtin rid tables.
Guenther
commit 3b529d50be5613f37cf853714ecf78887df1d01b
Author: Günther Deschner <gd at samba.org>
Date: Mon May 17 22:04:24 2010 +0200
s3-rpc_misc: clean out include/rpc_misc.h.
Well known rids don't really belong into an rpc header, just use the ones
defined in security.idl.
Guenther
commit 2deff342b949ef7f91134115aa77c4051e2a4c33
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 17 13:05:22 2010 -0700
Refactor the sessionsetup SMB2 code to make it easy to add
krb5. Fix a memory leak in returning security blobs.
Jeremy
commit 3d5972c43f536b94122100e1e30f92a4f8441768
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 00:07:10 2010 +0200
s3-libgpo: move group policy protos to where they belong.
Guenther
commit ed8a98f6f4547fed6045a4b6793e9a91edd6597c
Author: Günther Deschner <gd at samba.org>
Date: Mon May 17 20:49:31 2010 +0200
s3-includes: remove some unused defines.
Guenther
commit dd5a4e23f8c24564d3fd21bb8d01172321087362
Author: Günther Deschner <gd at samba.org>
Date: Sat May 15 00:34:35 2010 +0200
s3-kerberos: temporary fix for ipv6 in print_kdc_line().
Currently no krb5 lib supports "kdc = ipv6 address" at all, so for now just fill
in just the kdc_name if we have it and let the krb5 lib figure out the
appropriate ipv6 address
ipv6 gurus, please check.
Guenther
commit e3bdff3d67b46277ee59685218bd90f3788b487d
Author: Günther Deschner <gd at samba.org>
Date: Fri May 14 23:23:34 2010 +0200
s3-kerberos: pass down kdc_name to create_local_private_krb5_conf_for_domain().
Guenther
commit 14ac2bb36ee22be6133ca1d069dc5de6c1891f47
Author: Günther Deschner <gd at samba.org>
Date: Fri May 14 23:21:47 2010 +0200
s3-winbind: make the getpeername() checks in cm_prepare_connection IPv6 aware.
Note that this failure was hard to track, as winbind did only log a super helpful
"cm_prepare_connection: Success" debug message.
IPv6 gurus, please check
Successfully tested in two independent IPv6 networks now.
Guenther
commit d040658e1a5a48c6cc33640de37771d601c69a76
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon May 17 12:49:37 2010 +0300
s4-rodc: Set am_rodc flag during provision
commit 26d41c23f69b9e3ee327f159c9164917422d45c5
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Thu May 13 15:07:50 2010 +0300
s4-rodc: Cache am_rodc flag
commit a15b6664389b05ea0cded46de3abe53034a7edef
Author: Michael Adam <obnox at samba.org>
Date: Mon May 17 10:39:00 2010 +0200
s3:winbind:idmap_tdb: don't check ranges when an invalid entry was found.
There is no point in checking the ranges this if the record found had an
invalid/unknown type: the mapping is not filled in. If it were initialized
to some defaults before, the check just might replace the status
NT_STATUS_INTERNAL_DB_ERROR with a NT_STATUS_NONE_MAPPED, which is not
as precise.
commit 765e9c7c67058271365521ce415b2ec1483e3c3d
Author: Kai Blin <kai at samba.org>
Date: Mon May 17 10:50:39 2010 +0200
wbinfo: Add better libwbclient error reporting
commit b05faffd00a54520b49722db89ae820284e257db
Author: Matthew McGillis <matthew at mcgillis.org>
Date: Wed May 5 22:43:28 2010 -0700
added documentation for the -I flag
commit 843c6a03c7094a58484fab10e246a8153d976de5
Author: Matthew McGillis <matthew at mcgillis.org>
Date: Wed May 5 22:35:02 2010 -0700
added support for a -I flag
commit 4fee40e2c0700d563386cfab686c0e6e3cb3e8f2
Author: Matthew McGillis <matthew at mcgillis.org>
Date: Wed May 5 22:26:15 2010 -0700
Consolidate all set SEC_DESC into single procedure set_secdesc
commit 2cc612cb6bb72e5dc52d12783aee04d2ef102198
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun May 16 00:21:19 2010 +0200
s3-selftest: Allow overriding the subunit formatter.
(e.g. "make selftest SUBUNIT_FORMATTER=cat")
commit d7123565698fefd16e7696c0e4bb4ec98f6f62ac
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 14 18:56:51 2010 +0200
s4:repl_meta_data LDB module - fix counter types
commit 8608eaef76631666a41109317d2a9b20979c5025
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 14 18:59:36 2010 +0200
s4:net domainlevel tool - fix up the error handling as Jelmer suggested
Sorry, I've copied this from the "ldap.py" test and thought it would work.
commit 6d95a204d7115a10608759eaabcbfbe495ed2802
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 14 14:13:20 2010 +0200
s4:dsdb_cache LDB module - fix a typo
commit da5cd4ba34bfa53d887e80fd2348df5ee6b23c5f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 11 17:25:24 2010 +0200
s4:samldb LDB module - remove unused variables
commit b5dc39496272cbccdd45152f349362c2b779c326
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 13 07:59:41 2010 +1000
s4:gensec expose gensec_set_target_principal for use outside GENSEC
This allows for the rare case where the caller knows the target
principal. The check for lp_client_use_spnego_principal() is moved to
the spengo code to make this work.
Andrew Bartlett
commit 8da50c8da1527bafbb0ff4e86cc12fb54dd2b4b7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 14 17:31:33 2010 +1000
s4:winbindd Rework some winbind structures to make s3compat easier
By making the winbindd_request and winbindd_response structures
pointers, we can more easily integrate with the winbindd from
source3/winbindd
Andrew Bartlett
commit ad197f6f15054e398c0bf4f27388a86a384c09ba
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 14 21:51:48 2010 +1000
s4:process_model Fix process_standard and process_onefork not to use
multiple event contexts
It is NEVER valid to free an event context that anybody else may have
a reference to, and never normally valid to have two 'live' at once.
We must instead call tevent_re_initialise() to wipe clean an existing
pointer.
Andrew Bartlett
commit 6f859f58afff10f708bf06d55d1cfab575875627
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 10 13:47:42 2010 +1000
s4:process_modals Add another process modal - 'onefork'
This will fork off exactly one child to handle some task, ensuring
that if it dies or changes global state, that this does not change
everything.
Andrew Bartlett
commit bb2f7e3aee7e9b8437d7313800be0c2370da5ca1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed May 12 12:34:15 2010 +1000
s4:credentials Allow setting of an empty Kerberos CCACHE
This allows us to tell the credentials code where we want the
credentials put.
Andrew Bartlett
commit 81407b1bffed137c02790d908893bac7b99ce956
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed May 5 12:47:07 2010 +1000
s4:ntvfs Prepare for a possible future sharing of notify.idl
I would love for notify.idl to be shared between Samba4 and Samba3
some day, and this seems to be the point at which the structure is
initialised.
Andrew Bartlett
commit 79bd6a6764079e982fb7e1ba1c24a9037e126175
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed May 5 12:40:20 2010 +1000
waf: Make waf handle IDL files from Samba3
For s3compat, we need to handle IDL files not in the current directory
(so the incoming file names have a directory prefix - so we must use
os.path.basename()).
We also need to be able to disable the addition of some IDL files into
the tables.c/tables.h - some of the Samba3 IDL files are in conflict
with Samba4.
Andrew Bartlett
commit 9de745fd5327901846c9b8c6533b7e8156d71a30
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 25 21:25:01 2010 +1000
s3compat: use right variable for STATEDIR
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 3043c1924d55615e6fc50f7643edc9143814dd8a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 25 18:08:00 2010 +1000
s4-dynconfig: make dynconfig more compatible with s3
commit ba4842a88076133b012cbcef632edb0fb822a56d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Apr 30 18:20:54 2010 +1000
Revert "s4: remove unused references to swat"
This reverts most of commit 1765732f82719a4bc925f21ef4999bd19a8d1f6c.
The s3compat build needs the SWAT location to be compatible with
Samba3.
commit 3b8d9cd87e88ad454322b82eb2490477dbc82d8f
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 14 15:18:46 2010 +0200
Revert "wafsamba: use -D_XOPEN_SOURCE=700 for the build"
This reverts commit 3408c942ab09387c399dad03e22233e33fe1e2fc.
This seems to cause more problems than it tries to solve.
And Mac OS 10.4 doesn't need it anymore
(after commit bd6d76d77621c1dc92262c48204b65455a214b62).
metze
commit 3edb95a487b3330408392cb856ae42cde5f679f9
Author: Günther Deschner <gd at samba.org>
Date: Fri May 14 14:51:44 2010 +0200
s4-libndr: fix ndr_pull_string_array() for non utf16 arrays in s4 as well.
Guenther
commit a052aa87be3ac8fa6167ade27f756dd44f5fc2c3
Author: Günther Deschner <gd at samba.org>
Date: Fri May 14 14:39:40 2010 +0200
s3-printing: explicitly include "printing/pcap.h" as there is /usr/include/pcap.h.
Thanks metze for pointing this out. Simo, please check.
Guenther
commit bd6d76d77621c1dc92262c48204b65455a214b62
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 14 13:58:37 2010 +0200
lib/util: fix waf configure tests for xattr functions on Mac OS 10.
metze
commit 348b4b9bab0cd0f87860441218658802e8aba410
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 13 16:24:35 2010 -0400
Make pcap headers private
Signed-off-by: Günther Deschner <gd at samba.org>
commit f36396f90f925ff1f41e6e58c0a51245eab21784
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 13 14:23:23 2010 -0400
Move standard printcap parsing to print_standard.c
Signed-off-by: Günther Deschner <gd at samba.org>
commit 566418f1a1c6514333965069cda435598fb0a2d4
Author: Günther Deschner <gd at samba.org>
Date: Wed May 12 00:26:24 2010 +0200
ntprinting: add ntprinting.idl.
This generates convenient unmarshalling routines for pulling out spoolss related
information out of ntprinters.tdb, ntforms.tdb and ntdrivers.tdb.
Guenther
commit 3408c942ab09387c399dad03e22233e33fe1e2fc
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 14 13:21:30 2010 +0200
wafsamba: use -D_XOPEN_SOURCE=700 for the build
Some systems set this automaticly via -D_GNU_SOURCE=1,
but on others we need to set it ourself (e.g. Mac OS 10.4)
metze
commit e92f9c57b4347c17c5ef216d1b64caddcd2e8f54
Author: Günther Deschner <gd at samba.org>
Date: Wed May 12 21:41:52 2010 +0200
s3-libsmb: fix typo in remote_password_change().
Guenther
commit c94f1c16bd6fff25f582ecfa920513b9c9665629
Author: Günther Deschner <gd at samba.org>
Date: Thu May 13 02:27:29 2010 +0200
s3-libndr: make sure ndr_pull_string_array() only inspects string termination flags.
Otherwise the NOTERM case is not reachable for ascii strings (only utf16).
With this patch we now can have:
[flag(STR_ASCII|STR_NOTERM|NDR_REMAINING)] string_array array_name;
Guenther
commit edecdab58f49481a2f9ef0ca59ef1407adba8e05
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 14 10:35:46 2010 +0200
s4:heimdal_build: move #undef __APPLE__ to the end of roken.h
Some system includes need __APPLE__ defined.
metze
commit 0d51bab61efd13d54dd2644380ce24fe9124d789
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 13 21:27:24 2010 -0700
Now we behave as Windows does, remove a Samba3 specific test return.
Jeremy.
commit 056f24ce24ab395cb6fff15cb068c8d8b1affef9
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 13 15:59:09 2010 -0700
Fix bug 7399 - SMB2: QUERY_DIRECTORY is returning invalid values.
The end_data argument to smbd_dirptr_lanman2_entry() must include
the safety margin, as internally it's actually used to allow detection
of string name pushes that were truncated. Ensure space_remaining can
never go negative due to padding.
Jeremy.
commit 49c8c130a0d08be7c869b9a63b5a37488003eac2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 22:35:06 2010 +0200
s4:domainlevel - handle exceptions more precisely
LDB_ERR_UNWILLING_TO_PERFORM should be the right error code when the
"msDS-Behavior-Version" was already raised by the first change as it is on
Windows Server.
When s4 itself does implement this trigger then we don't need to do the
second write operation anymore (they're kept in sync).
commit 895b99fd6bfb1a65c3ae408bdf381e66783ac385
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 13 11:33:02 2010 -0700
Be more forgiving on client oplock break failure (as Windows does). Remove a global.
Jeremy.
commit ed6fa379ef6e1f5d7ca3d5c42e4e97a2c7604683
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 13 10:54:15 2010 -0700
Treat an open of stream ::$DATA as an open of the base file.
This fixes a class of SMB_ASSERT failures when doing stream tests.
Jeremy.
commit 6427484f84e3437bdabb90a2672ec7c037cedf0d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu May 13 19:30:46 2010 +0200
s3:build: build smbtorture4 when the merged build is selected
metze
commit b4cfa3b9e419268e99e54f4ecb8a4f7ad007f218
Author: Thomas Nagy <tnagy1024 at gmail.com>
Date: Thu May 13 19:23:37 2010 +0200
buildtools/wafsamba: fix build group ordering
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit f45cbb0a0d26b9126be1057e1856a04cd6113bea
Author: Matthieu Patou <mat at matws.net>
Date: Mon May 10 01:45:01 2010 +0400
s4: Do not display by default the message Failed to send DsReplicaSync is other host is just unreachable
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 11730520a742df0f584a9a25762756763517dc4d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 12 17:34:02 2010 +0200
s4:dsdb: fix samdb_result_logon_hours() and don't hardcode units_per_week
metze
commit 9ad9fd5b7120b4fe1bc4296795b5e007a85d1387
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 11 22:52:55 2010 +0200
ldb:ldb_msg.c - use result constant
commit 4da42b4e80caba436e44a7f6e6583028d0225da3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 15:29:20 2010 +0200
s4:domainlevel.py - update the script to handle both domain level occourrences on s4
The second "modify" is located under a try-catch block to ignore the change
failure against Windows Server (there only the first change is required).
commit 38e9a7f5778eeff9c87cbb3812c8b0261b018b69
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 15:11:29 2010 +0200
s4:domain functional level - it is also specified in the domain object under partitions
Discovered by the "ldapcmp" tool
commit 92aa194145d6b75316c6d544afae290957022625
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 15:06:35 2010 +0200
s4:provision_configuration.ldif - add more extended rights objects
commit 9005227e7220d5dcd4aa474d2c074109a6a0f89c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:51:10 2010 +0200
s4:provision_users.ldif - fix up and reorder the well-known security principals
commit c715f6d3f9b180bd6ad2ad5323cf69f0fe092b35
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:43:10 2010 +0200
s4:provision_configuration.ldif - add more Windows 2008 forest operations
commit eaea67691695498761b22176af02662b65ff91e8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:33:40 2010 +0200
s4:provision_configuration.ldif - the revision level of "Windows2003Update" should obviously be 10
Compared against my Windows Server 2008 and Zahari's output.
commit 025eaceb5c042eeda873db3da2f66a9c9973f953
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:24:02 2010 +0200
s4:provision_configuration.ldif - "CN=94fdebc6-8eeb-4640-80de-ec52b9ca17fa" operation is of version 3
commit 47818b19fcd7248a2e95171a4e95c60c339da700
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:22:14 2010 +0200
s4:provision*.ldif - always set the "msDS-NcType" attribute correctly
commit 1885327b309992698331be51926eb89160883d4f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:18:20 2010 +0200
s4:provision_configuration.ldif - set the right schedule on the default site in the NTDS site settings
commit 8acd8b97a6af9af781dc816642ef108c74d8e50a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:14:31 2010 +0200
s4:provision_configuration.ldif - The "NTDS Quotas" object is system-critical
commit 79ac53eb3b775a78806f307e254b19f3c4280aa6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:08:55 2010 +0200
s4:provision_configuration.ldif - "sites" object
- The default site doesn't contain a licensing object
- Adequate two other values (a "showInAdvancedViewOnly" and a "systemFlags" one)
commit f57bcc92b5b06465974a3276fde86d553fd78c04
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 12:10:54 2010 +0200
s4:provision.ldif - add IP security objects as they exist on Windows Server
commit 44e05dfb735467013d9bbe8c3c9f30c57ec249c3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 11:45:43 2010 +0200
s4:provision.ldif - add more Windows 2008 domain operations
commit cc2bd1f7779bfa587bbc5e56ecfe2e5e77a6e6f7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 11:32:36 2010 +0200
s4:provision_users.ldif - On Windows Server >= 2008 security principal S-1-5-20 doesn't exist anymore
commit 350c61922e8fd535812d00573929e2c67446f14c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 11:28:56 2010 +0200
s4:provision.ldif - "passwordSettingsContainer" add "showInAdvancedViewOnly"
commit bbb5825a6f94ed49f4d6dd8dc76e4947c7de0a8e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 11:24:20 2010 +0200
s4:provision.ldif - fix up "NTDS Quotas" "systemFlags"
commit b2bd02e11e5d83ff2e0a1c7b4ed1cedca772ce4b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 11:22:43 2010 +0200
s4:provision_users.ldif - fix up Administrator's "userAccountControl"
commit 8c796715c1c825e6fb21ed29440f6c8ca6c4bf6a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 11:21:39 2010 +0200
s4:provision_basedn_modify.ldif - fix up "maxPwdAge"
commit 5e4d91f7aa44c06d8b464f5a65b08bb1b7af9da4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 11:13:26 2010 +0200
s4:provision_users.ldif - Fix typos in user/group objects
commit 72e65a05213e857b4aaef9951df318c10e9774ae
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 11 21:37:30 2010 +1000
s3:winbindd Provide a winbindd_register_handlers() helper function for s3compat
This function provides a useful entry point for s3compat to set things
up in winbindd.
Andrew Bartlett
commit f5c0f90da5f5372ca6b7a72daa8d073a2444a068
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 11 21:31:18 2010 +1000
s3:winbindd Split helper functions to allow s3compat to call them
This provides a more useful entry point for s3compat.
Andrew Bartlett
commit 7f70b53dd65941ad7c2153947e3c6ea13b28b281
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 11 20:24:42 2010 +1000
s3:Winbindd Move winbindd_event_context to a different file
This allows this function to be easily replaced in s3compat
Andrew Bartlett
commit cdf07042728efc2d2bfeb56d1a8cdecc516a2411
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 11 20:22:06 2010 +1000
s3:winbindd Rename 'children' to 'winbindd_children' and make static
commit 4ef847a3b7031147711751f96e002f120bb05f04
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 11 10:04:30 2010 +1000
s3:libsmb/namecache Remove namecache_enable()
No caller honours the return value, and this call only prints a
DEBUG(). Removing this reduces the number of initialisation
boilerplate calls s3compat has to make.
Andrew Bartlett
commit 426d92eedbe002624ab8553d23ec9ea1465acefa
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 11 10:02:52 2010 +1000
s3:smbd Remove calls to namecache_enable()
This only prints a DEBUG()
Andrew Bartlett
commit 82fb4ebca761521bddf3a8a76b41b061569995e4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 11 09:59:48 2010 +1000
s3:winbindd Remove call to namecache_enable().
This call only prints a DEBUG()
Andrew Bartlett
commit 468fb4fee49aa0cd1919fcd3803d2490e2ac568d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Dec 14 19:43:59 2009 +1100
s3:auth Make get_ntlm_challenge more like Samba4
This helps with the upcoming NTLMSSP merge, and allows errors to be returned.
Andrew Bartlett
commit 1101c6214415675fbd32377d539276ca19c4407f
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 12 15:19:45 2010 -0700
Pass more SMB2 oplock tests. Only oplock stream tests left to fix.
Jeremy.
commit 9cddf891ad2a09ed1de83f3b51b4f2fc3e6855e8
Author: Julien Kerihuel <j.kerihuel at openchange.org>
Date: Wed May 12 12:55:56 2010 +0200
Choose between local tevent_status.h header file and installed one
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 693995c1c4d36e03537d66db9fa3823baf3e6002
Author: Julien Kerihuel <j.kerihuel at openchange.org>
Date: Wed May 12 12:34:54 2010 +0200
Install util/tevent_* public headers. Required by OpenChange for compiling IDL
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e8139ac14ab3041109cc593a4fa32ea39a330901
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 12 19:18:36 2010 +0200
s4:librpc: remove explicit ../librpc/gen_ndr/ndr_drsblobs.o from python_drsblobs
It already comes via RPC_NDR_DRSBLOBS.
metze
commit da64913f55fa2c3d0b34cda3b8c4953894c4ed66
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed May 12 16:21:56 2010 +0200
s3-docs: Unify capitalization.
Karolin
commit ad6f63822915463011074c9e5f3ed938b48579f4
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed May 12 16:17:33 2010 +0200
s3-docs: Add documentation of the net g_lock subcommand.
Karolin
commit da5c49d727150eea7d2a4b83da1a02ac1f26e77c
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed May 12 11:24:57 2010 +0200
s3-docs: Move -D option to the right paragraph in man winbindd.
Fix bug #7260 (Command line option documentation in wrong place in winbindd man
page.). Thanks to Ged Haywood <samba at jubileegroup.co.uk> for reporting!
Karolin
commit 1f9bce1c0d7081c14ee20750b7d3f6910c285d80
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 12 09:42:44 2010 +0200
s4:heimdal_build: undefine __APPLE__ as we don't need that magic
This hopefully fixes the build on Mac OS 10.
metze
commit 825b59506ba92cbe875a6392c279c31b934f288e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 12 09:08:32 2010 +0200
s4:heimdal_build: remove heimdal/lib/hcrypto/evp-cc.c from autoconf build
metze
commit d5c3db6f8873fc9e1b30f982206f337892cc962f
Author: Olaf Flebbe <o.flebbe at science-computing.de>
Date: Tue May 11 11:30:04 2010 +0200
work around AIX6.1 name space pollution rename mod_name to module_name
commit 70f707c2196aa503909678dd891ab4b249f1241e
Author: Günther Deschner <gd at samba.org>
Date: Tue May 11 12:16:52 2010 +0200
s3-rap: fix cli_oem_change_password() and give room for the convert reply word.
Any servers I could find so far return it.
Guenther
commit 99a7ebc5569e6d4d9128d17431b567516084f8a1
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 19:20:09 2010 +0200
s3-lanman: use samr for api_SamOEMChangePassword().
Guenther
commit 73d654ec2fcadf3c195017349ad4a727c8179f35
Author: Günther Deschner <gd at samba.org>
Date: Wed May 12 00:18:42 2010 +0200
s4-smbtorture: create/delete testusers via SAMR in RAP-SAM.
Unless we spent time researching the RAP useradd calls (and implement them in
s3) it is far more easy to use existing SAMR calls to create and delete test
users that are used for RAP change password operations.
Guenther
commit b73b237a6b5e2a596c89608301454f0577f650ab
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 22:58:42 2010 +0200
s4-smbtorture: add test_oemchangepassword to RAP-SAM.
Guenther
commit 1cee92caaaca9f98e4e18aa597666297c2d347e1
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 12:14:58 2010 +0200
s4-selftest: skip RAP-SAM tests against Samba 4.
Guenther
commit 3ce8bcdd83d0758b2da6da2e89afb4923801406c
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 22:18:30 2010 +0200
s3-selftest: enable RAP-SAM against Samba 3.
Guenther
commit 931b7fcc8ae1d382c5402deb3baeafb9025056b2
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 15:45:23 2010 +0200
s4-smbtorture: add RAP-SAM testsuite with a rap_NetUserPasswordSet2 test.
Guenther
commit 84ab762fd55c1f02ec0e810813b51a0cae32b62b
Author: Günther Deschner <gd at samba.org>
Date: Sun May 9 01:08:11 2010 +0200
s4-smbtorture: getting serious about checking rap status return codes.
Guenther
commit 19d99a64262735581c20d88ca449ca14f247f361
Author: Günther Deschner <gd at samba.org>
Date: Tue May 11 23:55:53 2010 +0200
s4-smbtorture: add torture_create_testuser_max_pwlen() that allows to set maxpwlen.
required for upcoming rap pwd tests.
Guenther
commit 40e7a5879c3cca212d302d3bce78e1c6e588849c
Author: Günther Deschner <gd at samba.org>
Date: Tue May 11 17:46:18 2010 +0200
s4-smbtorture: autolookup domain in torture_create_testuser() if none was given.
Guenther
commit 4955ccfff52c18a37cf0ec6e547bb8da0f7269a2
Author: Jeremy Allison <jra at samba.org>
Date: Tue May 11 14:00:38 2010 -0700
Fix more SMB2-OPLOCK bugs. Only 3 more issues to address then we're good to go on this test.
Jeremy.
commit 454b0b3f20ee8bdf56a12930261391e06567169c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 6 12:45:14 2010 +1000
s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATA
All the callers just want the PAC_LOGON_INFO, so search for that in
ads_verify_ticket(), and don't bother the callers with the rest of the
PAC.
This change makes sense on it's own (removing boilerplate wrappers
that just confuse the code), but it also makes it much easier to
implement a matching ads_verify_ticket() function in Samba4 for the
s3compat proposal.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit d0a87f0098073b2b7c8b637eccbb9bd91aaa8a80
Author: Günther Deschner <gd at samba.org>
Date: Tue May 11 13:39:37 2010 +0200
s4-smbtorture: test netservergetinfo level 1 also against s3.
Guenther
commit 1a441113efae9444e643f69980aa8faed540b62e
Author: Björn Jacke <bj at sernet.de>
Date: Tue May 11 20:46:19 2010 +0200
not all versions of env like more than one argument...
commit 5d5e3920dce453369de433d805623b0761268416
Author: Björn Jacke <bj at sernet.de>
Date: Tue May 11 19:11:38 2010 +0200
pidl: fix build on systems that don't have perl in /usr/bin/
commit 7e49fd92ca8dca87cc13fade08c1aa5d95df55a6
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 10:34:19 2010 +0200
s4:dsdb: cached results of samdb_rodc()
metze
commit b81887f2d97969d98023896c90ec8aa98f30242c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 16:42:14 2010 +0200
tdb: commit ABI/tdb-1.2.2.sigs
metze
commit 5797b9a913f6a7f751485b42ecb4206fb589137a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 18:10:32 2010 +0200
s4:heimdal: remove unused heimdal/lib/hcrypto/evp-cc.c
metze
commit 33494074582b70a96e7762c4854003f65790aef0
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 16:21:45 2010 +0200
s4:heimdal_build: remove heimdal/lib/hcrypto/evp-cc.c from the build
This is not needed and contains one big #ifdef __APPLE__
and breaks the build on Mac OS 10.
metze
commit 04e19542245418e875b600c6fd4729283bcd5b73
Author: Michael Adam <obnox at samba.org>
Date: Wed Mar 24 17:00:01 2010 +0100
s3:configure: fix a message
commit 313add8fa944b2df915c1efdd68b0c9e267394fa
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 11 16:13:45 2010 +0200
s4:torture/rpc/netlogon.c - don't use constant "AF_LOCAL" but do use "AF_UNIX" instead
"AF_LOCAL" isn't portable but has the same value as "AF_UNIX".
commit 4fcd5446d3cd538cd79ed308c3e60631030fe2cc
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 16:07:19 2010 +0200
s3:Makefile: build smbtorture4 as static binary with socket_wrapper support
metze
commit eff3a41bb8206d183d8228592341dcb70b26eabf
Author: Björn Jacke <bj at sernet.de>
Date: Tue May 11 15:23:54 2010 +0200
waf:libreplace: set _OSF_SOURCE to fix build on Tru64
commit 82bedb5cb43da126f49352c8e70a54961143258d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 11 14:58:19 2010 +0200
README.Coding - cosmetic changes
- Fix typos
- Wrap lines
- Remove trailing whitespaces
- use ":" instead of "::" - one colon should in all cases be enough
commit eda58884928845702e210afd75d0c0ece8f3dbfe
Author: Kai Blin <kai.blin at biotech.uni-tuebingen.de>
Date: Tue May 11 14:24:47 2010 +0200
build: skip missing executables in testwaf.sh
commit 2eab1d7fdcb54f9ec27431ca4858eb64cb1bd835
Author: Günther Deschner <gd at samba.org>
Date: Tue May 11 13:40:12 2010 +0200
tdb: remove unused variable in tdb_new_database().
Guenther
commit 7200c25646d1c34dd1ce723ab4fba3c40c89b6b0
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Tue May 11 11:35:54 2010 +0300
Revert "s4-rodc: Fix provision warnings by creating ntds objectGUID in provision"
This reverts commit c3cbb846d0bfbaa11fd255bada7fa5fe502d4d96.
The fix is not correct, we should cache a bool to answer amIRODC
commit 8489934ce3cb1d11f94abab81ccdd00ee74d3d44
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 08:34:35 2010 +0200
Revert "s4:password_hash LDB module - don't break the provision"
This reverts commit 6276343ce1b7dd7d217e5a419c09f209f5f87379.
This is not needed anymore.
metze
commit ad5b9ae8dc5c410ac3d9a510a82aaef2551efb57
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 08:38:02 2010 +0200
Revert "s4:password hash LDB module - check that password hashes are != NULL before copying them"
This reverts commit fa87027592f71179c22f132e375038217bc9d36a.
This check is done one level above now.
metze
commit 8ff38004e8d7bd09e435901c315622e8d6af2403
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 08:32:40 2010 +0200
s4:dsdb/password_hash: only try to handle a hash in the unicodePwd field if it's given
Sorry, I removed this logic while cleaning up indentation levels...
metze
commit b8c414b35f1bd37a70af7746ee5cc9427e4e31ee
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 08:03:56 2010 +0200
README.Coding: fix good example
metze
commit 9e643f0784c9af1c60b3fb879a46059a1355862b
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 23:41:08 2010 +0200
s4-smbtorture: fix smbcli_rap_netuserpasswordset2().
Guenther
commit 36b0fed567bc50324559bd2f72b51913eb4ba5d6
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 21:48:10 2010 +0200
s4-smbtorture: fix smbcli_rap_netoemchangepassword.
Guenther
commit fc6a22983b695e50f5da19000031be64764b32b7
Author: Günther Deschner <gd at samba.org>
Date: Tue May 11 00:53:41 2010 +0200
s4-smbtorture: correctly fill in trans.in.data in rap_cli_do_call().
Guenther
commit 56421886de87aa32ba6ea2badbc2d40b2ca8011d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 10 23:46:21 2010 +0200
s4:password_hash LDB module - we might not have a cleartext password at all
When we don't have the cleartext of the new password then don't check it
using "samdb_check_password".
commit ae9fe3cc8e8dbdb40853e62f3ea7d9e4e4809850
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 10 14:23:44 2010 -0700
SMB2 always have level2 oplock capability. Correct mapping from break messages to SMB2 oplock levels.
Jeremy.
commit a776933de68955ce7356b03a7c5ae83da0e7961c
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 10 13:58:41 2010 -0700
Stop us crashing in SMB2-OPLOCK test. Don't allow more than one outstanding immediate event.
Jeremy.
commit 983606dbe0a23cab28d0f33a32a0e4ab0acf99a7
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat May 8 10:20:00 2010 +0300
s4/tort: Add test for comparing special DNs
commit 1f3faea0463782d16bdbfd34b3b51624aca2bc90
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat May 8 10:19:14 2010 +0300
s4/dn: handle case 'base' dn has no components
This could if the 'base' dn is special for example.
commit 7cf1a2986fcc1654f254f22edf29bcde1e393c1d
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 22:10:51 2010 +0200
s4-smbtorture: add smbcli_rap_netoemchangepassword().
Guenther
commit 732a132c4f9699de629d3d12a14b4345ac51fb9a
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 19:26:43 2010 +0200
rap: add rap_NetOEMChangePassword() to IDL.
Guenther
commit 0085a3bd2e60cc6c539259d8d83e97e852ef5e52
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 10 11:29:34 2010 -0700
Fix the processing of unlocks followed by locks. We now pass SMB2-LOCK test.
Jeremy.
commit a9a3c83b413cf3f853845c9e9b6069ed3d7c1cde
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 10 11:09:41 2010 -0700
Fix more of the SMB2-LOCK tests. Correctly unlock locks on error.
Jeremy.
commit 4f25baecc14f977711ea5e3ddc226113e387fba3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 10 20:04:37 2010 +0200
s4:password_hash LDB module - quiet a warning
commit fa87027592f71179c22f132e375038217bc9d36a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 10 20:02:21 2010 +0200
s4:password hash LDB module - check that password hashes are != NULL before copying them
commit 6276343ce1b7dd7d217e5a419c09f209f5f87379
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 10 19:51:31 2010 +0200
s4:password_hash LDB module - don't break the provision
This is to don't break the provision process at the moment. We need to find
a better solution.
commit 6131caad8f35b6fb3d3fe79c67f59ee228bef6c1
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Apr 10 20:04:13 2010 +0200
s4:passwords.py - add a python unittest for additional testing of my passwords work
This performs checks on direct password changes over LDB/LDAP. Indirect
password changes over the RPCs are already tested by some torture suite (SAMR
passwords). So no need to do this again here.
commit 029351571a5bd65a467ff9e7844a7a1ef3d688a0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Dec 3 10:48:44 2009 +0100
s4:samdb_set_password - adapt it for the user password change handling
Make use of the new "change old password checked" control.
commit 6e8098b261b9357204c8fa5534871a4c137ca1c5
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Sep 26 12:09:07 2009 +0200
s4:samdb_set_password/samdb_set_password_sid - Rework
Adapt the two functions for the restructured "password_hash" module. This
means that basically all checks are now performed in the mentioned module.
An exception consists in the SAMR password change calls since they need very
precise NTSTATUS return codes on wrong constraints ("samr_password.c") file
commit fc8e3ffb5f261e7efdcbcef46b1f13c3b5599730
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon May 10 17:36:54 2010 +0200
s4:password_hash - Implement password restrictions
Based on the Patch from Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>.
metze
commit 6a69ec2f5a046194c9f4dc108c0680ab263790c4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Sep 23 19:25:54 2009 +0200
s4:password_hash - Rework to handle password changes
- Implement the password restrictions as specified in "samdb_set_password"
(complexity, minimum password length, minimum password age...).
- We support only (administrative) password reset operations at the moment
- Support password (administrative) reset and change operations (consider
MS-ADTS 3.1.1.3.1.5)
commit 12c4b09fd511eaa0671ccf0b05d8407f97167105
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Oct 23 12:51:47 2009 +0200
s4:password_hash - Rework unique value checks
Windows Server performs the constraint checks in a different way than we do.
All testing has been done using "passwords.py".
commit 3ce4a0c5f26faad40f0b77f2da11b918b11ef3d2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Oct 23 12:51:47 2009 +0200
s4:password_hash - Various (mostly cosmetic) prework
- Enhance comments
- Get some more attributes from the domain and user object (needed later)
- Check for right objectclass on change/set operations (instances of
"user" and/or "inetOrgPerson") - otherwise forward the request
- (Cosmetic) cleanup in asynchronous results regarding return values
commit 726fb35f9f226a488c2b9793e4daa6cab63daa73
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Sep 23 19:25:54 2009 +0200
s4:dsdb: add new controls
- Add a new control for getting status informations (domain informations,
password change status) directly from the module
- Add a new control for allowing direct hash changes
- Introduce an addtional control "change_old password checked" for the password
commit 1913e03bd418808193e6ff0d595a6ce827d1e22e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon May 10 12:25:32 2010 +0200
s4:setup: mark DSDB_CONTROL_DN_STORAGE_FORMAT_OID 1.3.6.1.4.1.7165.4.3.4 as allocated
metze
commit 658dac9e7e037e171cf5d267b404e82768e2ea9e
Author: Zahari Zahariev <zahari.zahariev at postpath.com>
Date: Mon May 10 13:53:56 2010 +0300
v2 Latest enhancements in ldapcmp tool
- Added support for replicating hosts versus hosts in different domains
- Added switches for the following modes:
= two - ignores additional attributes that cannot be the same
in two different provisions (domains)
= quiet - display nothing, only return code
= verbose - display all dn objects through compare fase
= default - display only objects with differences
- Added more placeholders for nETBIOSDomainName and ServerName
commit c3cbb846d0bfbaa11fd255bada7fa5fe502d4d96
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon May 10 13:52:27 2010 +0300
s4-rodc: Fix provision warnings by creating ntds objectGUID in provision
commit 83736066a3f94eaadb422016c9f22cb18bec2cd7
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 14:44:30 2010 +0200
s3-rpcclient: fix two more invalid typecasts in spoolss commands.
Guenther
commit ed39e9b67f38312b6786172e80b4d7057dbd513a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 10 14:48:41 2010 +0200
s3: Work around dependency bug in Samba 4 waf build in merged build.
commit aa8d91ae8e6b4b813c0479f09be9e090aff047a9
Author: Volker Lendecke <vl at samba.org>
Date: Mon May 10 12:05:01 2010 +0200
libwbclient: Fix a fd-leak at dlclose-time
__attribute__((destructor)) makes winbind_close_sock() being called at
dlclose() time.
Found while testing apache on Linux with mod_auth_pam.
Other platforms will have to find a different fix. One possibility would be to
always close the socket after each operation, but this badly sucks
performance-wise.
commit 36e736871e28665ffcbbc4d0c87e1a2b60fcf0e0
Author: Volker Lendecke <vl at samba.org>
Date: Mon May 10 11:53:03 2010 +0200
s3: Test for "__attribute__((destructor))"
commit e2806f9e4d027439c983bcede714f5eed5bcf668
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 10 12:37:50 2010 +0200
s4:acl ldb module - fix typos
commit 946993238fbb0e4920bf3c6c1178236b4f039b3b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Oct 4 19:30:53 2009 +0200
s4:dsdb/util.c - Add a new function for retrieving password change attributes
This is needed since we have not only reset operations on password fields
(attributes marked with REPLACE flag) but also change operations which can be
performed by users itself. They have one attribute with the old value marked
with the REMOVE flag and one with the new one marked with the ADD flag.
This function helps to retrieve them (argument "new" is used for the new
password on both reset and change).
commit 6ee53309a180d32cf6df1a72fde30c9455d5364d
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat May 8 13:55:09 2010 +0200
s4:blackbox password tests - more complex passwords
commit 01347844f5b224d567195f5a2e235491b6b174f5
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Sep 30 20:59:42 2009 +0200
s4:selftest - change test passwords
The passwords need to be more complex to meet the new complexity criteria.
commit 47f74c89c99f6620e9029e87516aceb28f991ed0
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat May 8 13:55:25 2010 +0200
s4:selftest: add --socket-wrapper[-keep]-pcap options to "waf test"
metze
commit f754942862f0405454834154154c4b3b737ba53a
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 11:22:32 2010 +0200
testprogs: update Makefile.mingw (although mingw current cant build it).
Guenther
commit 86ec5fe3ee843f35a4577203b1c9f7d8739b80e3
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 11:15:59 2010 +0200
testprogs: update README to reflect the util rename.
Guenther
commit cda0c75e18f78022b94cb2c13f83342e0db7a8bc
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 11:06:03 2010 +0200
testprogs: add readme for testspoolss.exe.
Patch from Kurt Pfeifle <Kurt.Pfeifle at ricoh.de>.
Guenther
commit e94825d159db49da0bc7e6e68014ce0afbbfb167
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 11:03:49 2010 +0200
testprogs: add vcproj and sln files for testspoolss.exe.
Patch from Kurt Pfeifle <Kurt.Pfeifle at ricoh.de>.
Guenther
commit eb28a761e910f0ffec118ffd3a16ef4971da1232
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 11:01:54 2010 +0200
testprogs: rename spoolss.exe to testspoolss.exe.
Patch from Kurt Pfeifle <Kurt.Pfeifle at ricoh.de>.
Guenther
commit 7887d99a60387e93ce5ce4a3bfe9117939d1e4c8
Author: Günther Deschner <gd at samba.org>
Date: Sat May 8 02:16:37 2010 +0200
s3-net: Fix Bug #7417. 'net rpc user password' can set the wrong password.
Guenther
commit 3addebee349d0122781410eea8166f964f885568
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 10:27:42 2010 +0200
tevent: Added a description for tevent queue.
commit d596bb1a1db8cc2851a51525e232bdba984342d6
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 10:24:53 2010 +0200
tevent: Added an introduction to the tevent_queue tutorial.
Thanks Volker.
commit b2e520a28b0d4b4285b177925a480ef2df89a345
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 09:56:18 2010 +0200
tevent: Fixed a doxygen problem with PRINTF_ATTRIBUTE.
commit 876ed034c8c6c6e8ac4b2115a372bfcb244f1859
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 09:55:44 2010 +0200
talloc: Fixed a doxygen problem with PRINTF_ATTRIBUTE.
commit 7c68512a216c63eb151bd8600c4aa5d1ad1bc729
Author: Kai Blin <kai at samba.org>
Date: Mon May 10 09:58:57 2010 +0200
build: Update the waf build to fix python header checks
commit e4ce727c8d4a39774b7e4b9687ee665ec286998e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 10 09:21:17 2010 +0200
s3:provision_basedn_modify.ldif - add "msDS-NcType" attribute and fix comments
commit 8a2a8217f8ce439b310571a3df98559a03fa5ed0
Author: Günther Deschner <gd at samba.org>
Date: Sun May 9 23:47:56 2010 +0200
s3-proto: add missing protoype for dcerpc_fault_to_nt_status().
Guenther
commit e6c4df43c8bf3fab146ab373688bc38ea3f34844
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 12:01:54 2010 +0100
s3-lanman: use srvsvc for api_RNetServerGetInfo().
Following MS-RAP 3.2.5.3 NetServerGetInfo Command.
Guenther
commit 3c1e9a8c3367733724b7e89e930f9ac0b3348fff
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 7 09:26:41 2010 -0400
s3-spoolss: Make spoolss_Time_to_time_t public.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 1cdc46a90afed2b6f0e85427850f62b3b7ef1bc3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 6 12:17:08 2010 +0200
s4:samldb LDB module - make "samldb_member_check" synchronous again
commit 4153da4069da6d8a0aad201085315c71730ddf12
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 6 11:55:11 2010 +0200
s4:samldb LDB module - make "samldb_prim_group_users_check" synchronous again
commit d91ee0b095db1c0cd15b117991aa476f99e65831
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 6 11:35:46 2010 +0200
s4:samldb LDB module - update the copyright notice
commit 088a25912e8c306a82805b51a15f3ebe1e015934
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 9 11:45:24 2010 +0200
s4:blackbox/test_kinit.sh - Test the new "net user add <user> [<password>]" syntax
commit ce4c0261f69732917ac7401dd123a03d4c13b030
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 9 11:24:10 2010 +0200
s4:net utility - make outprinted description comments more consistent
I've added a [server connection needed] when commands won't work on the local
SamDB.
commit b703481ef78b4f2234cf0d6c087c25fcbe3bd65c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 9 10:57:03 2010 +0200
s4:net utility - remove unixname parameter of samdb.newuser
We don't handle the id mapping stuff manually anymore.
commit cde9ec4af673a658777596f56dcba055458a4b35
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 9 10:54:19 2010 +0200
s4:samdb python bindings - remove idmap creation stuff from this call
The id mapping should now be handled automatically by the s4 daemon.
commit 544dc4465c5ade3c5ed8417ddd5f09d4af0c2b31
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat May 8 00:48:33 2010 +0200
s4:net utility - add an optional password attribute to "net user add"
To make it behave similar to "net newuser".
commit 6dfa851ce95b372c6c4bdd7a6c07c1ee183d1f7a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 7 22:43:36 2010 +1000
s4:dsdb Provide an intelegent fallback if not CN=Subnets is found
We may as well fall back rather than return NULL (which callers don't
do useful things with).
Andrew Bartlett
commit 23cafd5569729fe15f0c390cf5a276945662d8e8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 7 21:09:40 2010 +1000
buildtools: Add 'make testenv' to Samba4 make targets
I'm still too addicted to this as my standard debugging environment, and while I can learn the new command, this helps the muscle-memory.
Andrew Bartlett
commit 435ce8ebd7122a4a2d166acef6a83c21b7bd11a0
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat May 8 00:59:12 2010 +0200
dsdb/password_hash: remove usage of msDs-KeyVersionNumber
metze
commit 7b11ce738dbc94516350e1e64116be6bedd3b001
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 7 21:56:15 2010 +1000
s4:dsdb Use replPropertyMetaData as the basis for msDS-KeyVersionNumber
This means that the existing kvno will no longer be valid, all
unix-based domain members may need to be rejoined, and
upgradeprovision run to update the local kvno in
secrets.ldb/secrets.keytab.
This is required to match the algorithm used by Windows DCs, which we
may be replicating with. We also need to find a way to generate a
reasonable kvno with the OpenLDAP backend.
Andrew Bartlett
commit f1974fbdf975fbbed15ce223efa629a74c902b3b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 7 23:51:06 2010 +0200
librpc:dcerpc_error.c - fix a warning
commit ecc3413bf5aa36250bba1969cb57d6af4c7d09d5
Author: Günther Deschner <gd at samba.org>
Date: Sun May 9 00:42:54 2010 +0200
s3-libsmb: fix argument order for tevent_req_default_print in cli_pull_print().
Andreas, please check.
Guenther
commit 0798ddf63a72e4259ce406ac199490eb5cb1f359
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 22:54:08 2010 +0200
pidl: add NDR_PRINT_DEBUG output to generated s3 server dispatch tables.
This dramatically helps tracking and debugging usage of the
rpc_pipe_open_internal users.
Guenther
commit 58b5a164440368d55e0a05ddfc4e772d6711513e
Author: Volker Lendecke <vl at samba.org>
Date: Sat May 8 22:03:23 2010 +0200
s3: Fix the build
commit e065ecc6b3680473cce46136af0772850fc0aee9
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 15:40:49 2010 +0200
s4-smbtorture: add smbcli_rap_netuserpasswordset2().
Guenther
commit 93d2e91b901a2fea3ea87667fbb2e609029ae2c5
Author: Günther Deschner <gd at samba.org>
Date: Thu May 6 18:08:41 2010 +0200
rap: add rap_NetUserPasswordSet2() to IDL.
Guenther
commit 4afdb5a2a713985aed758a49144e23b2d0de842b
Author: Günther Deschner <gd at samba.org>
Date: Thu May 6 17:49:36 2010 +0200
s3: move BASE_RID to main includes.h (in preparation to separate passdb).
Guenther
commit b83ab96b16cd322d90bf84d8b71b523a2fda4aed
Author: Günther Deschner <gd at samba.org>
Date: Thu May 6 17:17:37 2010 +0200
s3-passdb: moving account_pol.c into passdb.
Guenther
commit 961993bc9126a85338303034718341576e783761
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri May 7 18:30:46 2010 +0200
s3-merged: Make sure bin/ exists when copying in bin/smbtorture4.
commit 169aabae702c2ff7d5c59d387265dd842784bd36
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu May 6 15:31:48 2010 +0200
s3-merged: Use newly added waf reconfigure subcommand.
commit 95421552be87d17353ba5a351a096e2b4bfdfae8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu May 6 14:08:49 2010 +0200
Reintroduce merged build, using waf to build smbtorture4.
commit 674a78d60a7dbc4d2af1b229a6b3b2a96c2517f3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu May 6 12:00:01 2010 +0200
Revert "Revert "s3-build: Remove --enable-merged support.""
This reverts commit 8f8e7c788a12d1e0bda9183ed765cc1048e105f7.
commit c18d58b854836fc8df56883f7197d6fce0d70c1d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu May 6 11:49:10 2010 +0200
samba3: Generate C files from IDL in source3/librpc/gen_ndr rather than
librpc/gen_ndr.
This is done to make it possible to run waf in the source4/ tree at
the same time, since waf has problems with files that were generated by
something else.
commit 5b7163a23d92e0a0b00939218edfd685814d7881
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 7 07:25:13 2010 -0700
Only MULTIPLE-UNLOCK test left to fix !
Jeremy.
commit 31b12622cf87dc6f7263550120973b6c56e17ba4
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 7 06:54:16 2010 -0700
When tearing down the connection make sure we close all files before
freeing the global context, as we close access to the locking db
before freeing the global context.
Jeremy.
commit adf4833792f36653bc8a854aeff47598a046dad6
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 7 06:20:50 2010 -0700
This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context.
Jeremy.
commit 6fd4861d9def34c4dccce214c78bfbcc0fa291fd
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri May 7 13:47:37 2010 +0200
s4-devel: a very useful script when dealing with library/linking issues
I use this all the time, so I thought I'd put it in the tree for
others
commit 022266566d7b87fe3aea0c7080f6374c7740b11c
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri May 7 11:41:50 2010 +0200
build: fixed pc file variable substitution
We should not substitute for the first use of each variable
declaration in the pkgconfig file
commit e8c3da1fc09c3b0a2213952ec96294b3b5d8d4c0
Author: Björn Jacke <bj at sernet.de>
Date: Fri May 7 13:45:00 2010 +0200
idl: get the logic of the prevous commit right
commit 10e0641e3466ba765174a5036816f6ccef11922f
Author: Björn Jacke <bj at sernet.de>
Date: Fri May 7 13:38:00 2010 +0200
idl: fix Unix builds by replacing bashism
test -nt is not portable - tridge, please check!
commit 5910f4cadea4f2564fe360602e5077c388a8c8cd
Author: Björn Jacke <bj at sernet.de>
Date: Fri May 7 12:53:53 2010 +0200
s3:configure: search fdatasync also in librt
Sun^W Oracle Solaris has it there ...
commit 358a3855c20153d7fe742ca2e6b9bd8a9c92e525
Author: Björn Jacke <bj at sernet.de>
Date: Fri May 7 11:56:38 2010 +0200
s3:configure: use correct SONAMEFLAG on Solaris depending on which linker is being used
commit 4ad1943d29a273ad3770e7abd5f266c25608eb39
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 7 01:20:26 2010 -0700
Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them next :-).
Jeremy.
commit 882fb1828f766f2c532c32472ab7ab81f03cd906
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 7 00:33:59 2010 -0700
Fix crash in cancel-tdis lock test. Correctly shut down connection.
Jeremy.
commit 815fcfba48ecf2596d989c646cd59c305b0d38ef
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri May 7 09:00:53 2010 +0200
build: treat a blank --build or --host as not a cross-compile
This matches autoconf behaviour
commit 1c7a60ef41d76526384d6b9e4ba03d3df251fe06
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 6 15:39:21 2010 -0700
Fix cancel by close lock test.
Jeremy.
commit 82900073fb38b8d86fe2b9ef2ef5cd9fabfbaec7
Author: Andreas Schneider <asn at samba.org>
Date: Thu May 6 17:50:26 2010 +0200
talloc: Documented the missing string functions.
commit 516f7c571e4499a3707505733941b396caad7edd
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 6 09:07:49 2010 -0700
Fix SMB2 lock tests up to cancel-by-close.
Jeremy.
commit a77a8a5e351bf9aeaeda571d753775c8d2977184
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 6 08:22:13 2010 -0700
Fix more SMB2 locking. We still crash but this won't last :-).
Jeremy.
commit e0f602f2c9252e4df81814fc8aa22641620f381b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu May 6 15:23:07 2010 +0200
s4-devel: auto-delete any leftover IPs
remove IP from a previous vampire_ad.sh run
commit 9ba08c22e807b8b3e744dc3146dbca4083e3e2f4
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu May 6 15:22:11 2010 +0200
s4-devel: a useful script for giving DRS replication demos
commit c61f4dcc0f9611448e726e203d65c674e4d74427
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu May 6 14:51:28 2010 +0200
build: added a reconfigure target
this is meant to be used by the s3 build, to allow jelmers work on
smbtorture4 in s3 to avoid re-running configure unless its needed
commit 049416c285026c03fffc2e27225bfef5c2f16469
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 01:38:08 2010 +0200
s3-spoolss: make several notify functions static.
Guenther
commit d2d7174394c1283a3ae8e313f9a6d97df8708334
Author: Günther Deschner <gd at samba.org>
Date: Thu May 6 11:42:52 2010 +0200
s3-eventlog: move all eventlog headers to lib/eventlog and only include where required.
Guenther
commit 0dfe1b9b13d9caec4ebda37a792e7eaa0b9c7200
Author: Björn Jacke <bj at sernet.de>
Date: Thu May 6 12:26:43 2010 +0200
s3: fix the merged build - it required $LD
Thanks to Jelmer for pointing that out!
commit fc336590dc35f1737ddc74333b959bdd32ee22d3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu May 6 10:41:43 2010 +0200
Remove the copy of ldb from Samba 3.
There were two utility functions that other parts of Samba 3
still relied on; they have been moved to lib/ldb_compat.[ch].
commit 24b2dddae424215ab707029d30ec7bcd8f0e9a8e
Author: Günther Deschner <gd at samba.org>
Date: Thu May 6 10:25:47 2010 +0200
s3-build: fix the build of vfs_notify_fam.
Guenther
commit d58b7955871213a4d0d4b77d080f6fc716350054
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 5 15:57:57 2010 -0700
Move to MS-FSA algorithm when checking for invalid lock range.
Satisfies SMB and SMB2.
Jeremy.
commit c6ebab846d25563d051b1a1248ea288ba7eb0bcb
Author: Günther Deschner <gd at samba.org>
Date: Wed May 5 01:39:16 2010 +0200
s3: only include gen_ndr headers where needed.
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time
as follows:
ccache build w/o patch
real 4m21.529s
ccache build with patch
real 3m6.402s
pch build w/o patch
real 4m26.318s
pch build with patch
real 3m6.932s
Guenther
commit d6a6362752b7a46178e80d36e4c3d69658d4f273
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 5 14:54:31 2010 -0700
Get closer to passing SMB2 lock test. Still crashes but we get further.
More work to follow later.
Jeremy.
commit 67fb18adb072199d74c3a4b6caa6028be6b0f11e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 16:27:52 2010 +0200
s4-ldb: check for ldap_initialize
HPUX 11.0 has a ldap library that doesn't have ldap_initialize
commit 1969b4acc3fd7c124e288d0495b9b4665d4b42db
Author: Björn Jacke <bj at sernet.de>
Date: Wed May 5 20:17:39 2010 +0200
s3:configure: not simply check for "ld" but for the linker used by $CC
this hopefully fixes Solaris' gcc build which uses the system ld by default.
All in all we should clean up most of the compiler and linker flags depending
on the actual compilers and linkers we use. Only some tweaks are OS-specific.
A cleanup in this area should be done along with the move to a new build
system (whensoever that will be ...).
commit d8ba02b73d53863d604ccbe0a4391d7b38590c1c
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 5 09:50:48 2010 -0700
Return correct error on read request on directory.
Jeremy.
commit 19758b354d835546fd9ba9cb8b9299dcea91b723
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 5 09:47:49 2010 -0700
Get in_minimum and EOF errors right.
Jeremy.
commit 4a97912baffd4c224677dd15da11c85c92901e4a
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 5 09:42:45 2010 -0700
Client ignoring max write is a warning, not an error.
Jeremy.
commit 44e9a90b512cd9eeaaa59fa1756a235621819f88
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 5 09:39:31 2010 -0700
Start to pass the SMB2 read torture tests.
Jeremy.
commit 8528e347cb1f16a195bfb66b740d16d2421b07fa
Author: Günther Deschner <gd at samba.org>
Date: Wed May 5 15:39:47 2010 +0200
s3-lanman: use srvsvc for api_RNetShareAdd().
Guenther
commit 65105aafb45dbb6d59da411a98b41dbdc4c1a0c7
Author: Günther Deschner <gd at samba.org>
Date: Wed May 5 18:23:45 2010 +0200
s3-spoolss: remove unused winreg_enumval_to_blob().
Guenther
commit 386c1fffacb712ed86d7665640ecaa2e764ab322
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 30 10:01:10 2010 +0200
s3-spoolss: Create default DsSpooler values.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 92df015e3009862a7e4f9fc9e3255ef47f1191fb
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 12:24:00 2010 +0200
s3-spoolss: Fixed the DeviceMode handling in winreg.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 859a1e04fb2cb05144c91d30cc5f88a6bfd16596
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 11:44:12 2010 +0200
s3-spoolss: Added winreg security descriptor functions.
Signed-off-by: Günther Deschner <gd at samba.org>
commit a76cc0a18c6b3d0679bd1edae1cd0b6bef94d1a3
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 12:07:26 2010 +0200
s3-spoolss: Migrated winreg to spoolss_create_default_secdesc.
Signed-off-by: Günther Deschner <gd at samba.org>
commit ed3852c2c2390c4817f76667d7605aada74d8666
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 21:02:12 2010 +0200
s3-spoolss: make sure to return success in winreg_get_driver_list() for a
non-existing architecture / version combination.
Guenther
commit 83e324c4177f7c493c7181c8f81f6f1e02a7ad95
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 21:00:45 2010 +0200
s3-spoolss: talloc_steal the returned driver_list in winreg_get_driver_list().
Otherwise the function would return a pointer to a freed list.
Guenther
commit 24225bf032fb99e8949a741007cc6d199ee4702c
Author: Simo Sorce <idra at samba.org>
Date: Tue Apr 27 11:52:26 2010 -0400
s3-spoolss: Fixed winreg_printer_query_XXX.
A cast to an incorrectly sized pointer was breaking
on 64bit architectures where size_t is 64bit.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 740418a150ff0ccccf47b4a40783c35f81723a89
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 11:43:27 2010 +0200
s3-spoolss: Added a winreg_printer_query_binary function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 66f76995114c01c619953d1c0c9f3f069ea91da1
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 12:07:10 2010 +0200
s3-spoolss: Added a generic spoolss_create_default_secdesc function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit b2ea8fbcce849f2fb41f381ab3d7af35e9778c9f
Author: Andreas Schneider <asn at samba.org>
Date: Wed May 5 17:44:22 2010 +0200
s3-spoolss: Added a function to create a default spoolss_DeviceMode.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 5a56bc948ecf740591e898cdb45f0f0c2b0a4c84
Author: Volker Lendecke <vl at samba.org>
Date: Wed May 5 17:44:00 2010 +0200
s3: Fix bug 5972 -- remove -L testparm parameter
Thanks to TAKAHASHI Motonobu <monyo at samba.gr.jp> to point out that this does
not work and to agree it's not worth fixing :-)
commit 3f0562f4b4cfe770baf2e529a445404a7b8f1141
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 28 11:26:08 2010 +0200
s3-spoolss: Fixed memory error in winreg_get_driver.
The strings in the structure need to be initialized with an empty
string.
Signed-off-by: Günther Deschner <gd at samba.org>
commit c95a79aae9f67dd476b7f6d1d12ad574b54c15ba
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 11:37:42 2010 +0200
s3-spoolss: Added a sharename arg to winreg_update_printer.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 053ed7d554fe8822ceabda48968da5a87030104a
Author: Andreas Schneider <asn at samba.org>
Date: Mon Apr 26 13:36:19 2010 +0200
s3-spoolss: Added missing servername option to winreg_{create,get}_printer.
This is needed to be able to pass the correct servername from
Printer_entry.
Signed-off-by: Günther Deschner <gd at samba.org>
commit a5fb4117e18cfa334a455ff0ab37ab71ef23dfd2
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 23 21:37:13 2010 +0200
s3-spoolss: Added missing Printer Driver in winreg_{update,get}_printer.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 6659a0fe92ce67ff5edab1618d8809e745ab6354
Author: Günther Deschner <gd at samba.org>
Date: Wed May 5 17:17:12 2010 +0200
s3-net: fix crash in rap_share_add().
Guenther
commit d3bd9de0878f532f1ed3448d1632605264229f82
Author: Günther Deschner <gd at samba.org>
Date: Wed May 5 16:58:46 2010 +0200
s4-smbtorture: remove unused variable from smbcli_rap_netprintdestgetinfo().
Guenther
commit e90c874b256e9a0b3f2ae7063b499622dd49f721
Author: Günther Deschner <gd at samba.org>
Date: Wed May 5 16:56:52 2010 +0200
rap: add IDL for rap_NetShareAdd (undocumented in MS-RAP).
Guenther
commit 10469d6606b79894f7f7cf83fb64002698a7c023
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 16:12:59 2010 +0200
s3-build: don't rebuild/link on every make run
commit ed2941ba3d59ca7f043583a36582e2d5cdee65fe
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 15:16:26 2010 +0200
build: added configure test for inline
commit 20d77705cece08ae5bebeca77db1f467d436748e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 14:12:26 2010 +0200
build: update version of waf
this fixes a slow configure problem on HPUX
commit 3d2819bd8605b02f2b1053ed0dabb906e9b78db3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 14:11:56 2010 +0200
build: use the wrapper commands in testwaf.sh
this ensures they are well tested
commit f8120ab6977074266cce6b665ed6aa3ef15953c2
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 14:09:37 2010 +0200
build: added a distcheck target
commit 47fb7dfd1c0b5917219a199d45b3d2fdded954c5
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 14:09:26 2010 +0200
build: mark cloned task generators as not posted
this solves an incompatibility with a newer version of waf from svn
commit fa172c494f8d78838a33820e413f0528f83b2db9
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 12:41:07 2010 +0200
build: exit with an error if waf configure fails
We don't want configure in the build farm to show green when it fails
commit b4c46bd7dfd268cf6f9390374a7638a548308064
Author: Andreas Schneider <asn at samba.org>
Date: Wed May 5 15:33:09 2010 +0200
libwbclient: Fixed doxygen errors.
commit 62143543cedd4fc0257d09fa656391479505740b
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 5 06:09:03 2010 -0700
Fixed issue with return in a void function found by Björn JACKE <bj at SerNet.DE>
Jeremy.
commit 7f2e59e4c198f9e2cfa45cf3c5727e39d5ec7c99
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 11:41:09 2010 +0200
s4-ldb: add msg saying which build system is being used
(this is a gratuituous commit to trigger the build farm to rebuild
ldb on all systems)
commit dc2f962aacf018cefcf857b3ab05fdfa1aa1250c
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 23:07:03 2010 +0200
tevent: Started a tevent_queue tutorial.
commit 239d59feab872a889268497ab6cfc88eb60ed42e
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 17:18:22 2010 +0200
tevent: Document the tevent_queue functions.
commit 6c1bcdc2e200d8170da1a4080bdc8e5dafa68bb5
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 16:57:42 2010 +0200
tevent: Document the tevent helper functions.
commit 78fbedf3695761d9966d3dea6c1fe5adb8b18196
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 3 21:04:54 2010 +0200
tevent: Document missing callback typedefs.
commit a8e575ac2236f4542a0979a8f0d6f88576b772e4
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 3 20:29:54 2010 +0200
tevent: Document the missing tevent async request callback functions.
commit d8a6b23b072f59bb2568d3cca9d496d47181292d
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Feb 8 21:10:55 2010 +0100
tevent: Create a typedef for the debug function callback.
commit e286966bbabf41a7b1ef45da52b789c716ea9940
Author: Stephen Gallagher <sgallagh at redhat.com>
Date: Fri Jan 15 10:38:24 2010 -0500
tevent: Added more documentation.
commit 098221e8860d22b590671eddd6af6c143fca49b4
Author: Stephen Gallagher <sgallagh at redhat.com>
Date: Fri Jan 15 10:33:14 2010 -0500
tevent: Remove erroneous comments about TEVENT_FD_AUTOCLOSE
There is no such flag.
commit 49c89b60e64b5d000b0d9fa8a6eada0d7ae1a814
Author: Andreas Schneider <asn at redhat.com>
Date: Thu Jan 14 15:42:26 2010 +0100
tevent: Add doxygen tevent config file.
commit 4263983cad2d9e3f0f536a3aa41352552ffa5ef8
Author: Andreas Schneider <asn at redhat.com>
Date: Thu Jan 14 14:41:49 2010 +0100
tevent: Added basic doxygen documentation.
commit 9e94354a4e193516b789f2027e223740fc2c9be9
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 23:18:26 2010 +0200
s3-libsmb: Fixed a recursion in cli_pull_print.
commit 04327e280984517b1afd38e0fd49696f8b891e3f
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 22:38:23 2010 +0200
tsocket: Added the warning again to tsocket_address_bsd_sockaddr.
commit 91e4a1760dee22e9a40ca52f1e5a1b549d9e066d
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed May 5 15:37:18 2010 +0930
tdb: fix short write logic in tdb_new_database
Commit 207a213c/24fed55d purported to fix the problem of signals during
tdb_new_database (which could cause a spurious short write, hence a failure).
However, the code is wrong: newdb+written is not correct.
Fix this by introducing a general tdb_write_all() and using it here and in
the tracing code.
Cc: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit a9e008ee36c8fd9ca79b3bdfdc78111939c3e539
Author: Luca Olivetti <luca at wetron.es>
Date: Tue May 4 15:07:57 2010 -0700
Fix bug #7263 - Unable to print using Samba 3.5.1 and cups-1.1.23-40.46 on SLES10.
Fix cups encryption setting
I had the same problem and it's due to the fact that samba doesn't respect the
"cups encryption" setting since lp_cups_encrypt changes the value: if you set
"cups encryption=no", the first call will change it to HTTP_ENCRYPT_NEVER,
since that is 1 (i.e. true), the next call will change it to
HTTP_ENCRYPT_ALWAYS and after that it'll remain set as HTTP_ENCRYPT_ALWAYS.
This patch fixes this problem.
Don't mix up the HTTP_ENCRYPT_XXX constants up with the
enumeration constants (True, False, Auto) used in the
loadparm code.
commit 17ce20ba960747b863e9c476ee7e46e051697fb2
Author: Simo Sorce <idra at samba.org>
Date: Tue Apr 27 11:15:17 2010 -0400
s3-spoolss: Remove duplicate macro.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 9c5a59b11e22104787fe7bd4b872a9b9c93c77a3
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 10:21:52 2010 +0200
s4-torture: Added the printername to the AddPrinter comment.
Signed-off-by: Günther Deschner <gd at samba.org>
commit f5e41c5cde30e72a7f3597814cebaee4c1f0f9b4
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 30 14:38:07 2010 +0200
s4-torture: Fixed spoolss dsspooler printername test.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 6683b0d4b6908e54af501701bd20a12990e3e77f
Author: Andreas Schneider <asn at samba.org>
Date: Mon Apr 26 17:38:56 2010 +0200
s3-lib: Create a sec_desc_merge and sec_desc_merge_buf function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit efb1aea909fc088cc08b6d892d7dd1031fb79fdf
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Tue May 4 11:49:52 2010 +0200
s4/waf: ABI update for lib/ldb
commit f84aeea7399eec38f7906dedaf3652af48c3d184
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Tue May 4 11:49:18 2010 +0200
s4/rodc: Support read-only database
Check on modify if we are RODC and return referral.
On the ldap backend side now we pass context and ldb_modify_default_callback
to propagate the referral error to the client.
commit bcdaa23798f74cdec8973201a849f562929ea416
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Tue May 4 11:48:18 2010 +0200
s4/rodc: Fix the callbacks up the stack to handle referrals on modify requests
commit b57d11f1b36389c2dba025912db32d465ef6e7c8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 4 17:21:30 2010 +0200
s4:py_nttime2string - removed unused variable "nt2"
And add some linespaces to look better.
commit 7e5fee98be728eab1c20a2da12c1eb0bab9a8ac2
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 17:18:22 2010 +0200
s4-smbtorture: fill in test_rap_print().
This tests pauses a printer over RAP, prints a file, enumerates the job, deletes
the job and resumes the print queue.
Guenther
commit cc46f4a319bec75856efedf9bb3f1eb8c4f9cc51
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 16:31:34 2010 +0200
s3-libnetjoin: omit admin password in generated ndr_print function.
Guenther
commit 1056a081000b9bc3efb8040a7384042b2e2ea976
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 15:39:21 2010 +0200
s4-smbtorture: add test_netprintdestgetinfo() to RAP-PRINTING.
Guenther
commit ff256b41b81b4a22187abdfd2cf80e977eeb2a4a
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 15:29:53 2010 +0200
s4-smbtorture: add smbcli_rap_netprintdestgetinfo().
Guenther
commit eee803372ae948a578fdda668fb8a2fe3c195788
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 15:24:54 2010 +0200
s4-smbtorture: add test_netprintdestenum to RAP-PRINTING.
Guenther
commit ab1d9a923c0e6b5b2df56adad7c915edfbcbc15d
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 15:23:53 2010 +0200
rap: add rap_NetPrintDestGetInfo to IDL.
Guenther
commit 990361a38c789685708c75d50695100cfad059da
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 15:23:08 2010 +0200
s4-smbtorture: add smbcli_rap_netprintdestenum.
Guenther
commit 5455e9d77d9375a34a6e82b386fbceeb38a5233a
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 15:22:36 2010 +0200
rap: add IDL for (undocumented) NetPrintDestEnum.
Guenther
commit f4000eecf45b160d3d1d1e6147537d59b05b39a8
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 07:48:54 2010 +0200
s3-idl: update the 2nd build_idl.sh script
commit 2d13259aeff6bc5768404e5502890218bce128cd
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 07:34:32 2010 +0200
s3-idl: rebuild IDL files based on all outputs
commit 6f895fedf352ad49f4d438127ad1af4afb1cce98
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 06:59:08 2010 +0200
s3-idl: auto-build IDL files in Samba3
commit f00a9b57159065b188277e1f6d0f7d9ed2817f9b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 17:28:23 2010 +0200
s4-waf: we don't need the symlink hack for gen_ndr any more
we can now generate files into the build directory
commit fd4dd2e2c6b1f8c29db72cffa6a17600757bd6bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 17:25:56 2010 +0200
.gitignore: simplify the .gitignore after gen_ndr removal
commit 5bff08d9a9660ba955c3ead669458a68b923d41a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 17:22:18 2010 +0200
s3-idl: removed gen_ndr files from source3/ as well
commit 09eb1e3e458a5060fe28958867375abc292577fa
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 17:17:43 2010 +0200
idl: removed the generated gen_ndr/ files from pidl
Samba3 will add these to the release tarball instead. See the mail on
samba-technical
commit 6ed45442c4b7ea4e3b22aae3d574ca4149940dcc
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 11:58:28 2010 +0200
build: enable python 3.0 and 3.1 in testwaf.sh
try to ensure that we don't let support for python 3.x bitrot
commit ce67027c0705159d25ec616caf737736b4ea7ea8
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 11:57:50 2010 +0200
build: fixed wildcard handling for python 3.x
print must take parentheses
commit ad32fabc542f99f8501a0db4f9e2f32731931f1e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 11:57:13 2010 +0200
s4-waf: fixed indentation for python 3.1
python 3.x is very fussy about tabs/spaces
commit a7b06f4c0d62b570e77360e7e29b805410379b78
Author: Volker Lendecke <vl at samba.org>
Date: Tue May 4 13:54:51 2010 +0200
s3: Fix a memleak in check_pac_checksum
commit 6eb839cd1695ce8da991c19611210eefda902c0f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 10:30:39 2010 +0200
s4-script: added a --waf option to minimal_includes.pl
This takes advantage of the new waf target syntax
commit 7281b021814379b9c477b42bcf1f2215014d88ae
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 10:08:43 2010 +0200
build: allow use of target names as commands in waf
This allows for the following types of commands:
waf smbd/samba
waf smbd/server.c
waf ../lib/util/util_file.c
waf ../lib/util/util_file_*.o
this will be used as part of an updated minimal_includes.pl script
commit 727a1acd917baa1d8a5490569782ca41b7136215
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 20:23:45 2010 +0200
s4-smbtorture: add extraformat to smbcli_rap_netprintqgetinfo() as well.
Guenther
commit f181281c89a395f4efbcee7f984e13faa69df749
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 20:02:37 2010 +0200
s4-smbtorture: use RAP extraformat for smbcli_rap_netprintqenum().
Although w2k3 happily ignores it, the spec (and s3) enforce the addition of
that.
Guenther
commit 99e3b9a3672d4d847aea5e1ca446f543f810c84c
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 20:04:12 2010 +0200
s4-smbtorture: add rap_cli_expect_extra_format().
Guenther
commit dda0ebd0ac24f31e32fe3c145137641ae813afff
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 20:53:02 2010 +0200
s4-smbtorture: make all smbcli_rap_* failures critical.
Guenther
commit 6dafd5f8c72ef48fdf6da73aab4da0dbd66a7b6f
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon May 3 18:12:45 2010 +0200
s4/test: Implement tests for msDS-isRODC constructed attribute
This attribute will be returned for objects with
objectClass=nTDSDSA,server and computer
commit d3081741c9d3fa6536e9427d75697bdf2295aaed
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Wed Apr 28 17:02:55 2010 +0300
s4/rodc: Implement msDS-isRODC constructed attr
commit a4e35df3f5acd959d009f618f7bb00a6f18b4e19
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 3 17:15:25 2010 +0200
s4:LogonGetDomainInfo - fix a potential crash source
commit e8a001c51617cc19a2d8fc7d7f86093e6e92952c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 3 16:59:53 2010 +0200
s4:LogonGetDomainInfo - fix indentation
commit 8ed5e8ac9db6e68a1cb0acbd59b89b3f4958341d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 3 16:47:03 2010 +0200
s4:LogonGetDomainInfo - remove singular "dNSHostName" check - this doesn't belong here
I'm not really sure if this check is really done on Windows Server. And if it
is done, then it's on the LDB level (module).
commit 6d1e8c58350803f2c380a332c13edc4528faa417
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 16:37:33 2010 +0200
build: use the waf patterns for RPATH
Use the self.env.RPATH variable to set the RPATH for each target. This
gives consistent ordering of the link command, ensuring that we don't
get rebuilds if we ask for a --targets= build after a normal build.
This also means we are now using the RPATH_ST pattern, which means we
can potentially support compilers that don't use -Wl,xxx as the
command line for rpath support
commit 0003bb460bf25b894ddb0f864f22feaa25eb49e5
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 16:05:19 2010 +0200
s4-waf: fixed target group for SOCKET_WRAPPER
commit b3d8a7136a4c71fa73baa745f7e2ef137d82ce46
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 16:04:56 2010 +0200
build: added a check for group ordering within target dependencies
If target A depends on target B, then target B must not be in a later
build group from target A
Pair-Programmed-With: Thomas Nagy
commit 8bc5194b048d050b2d3ff30a5636f1567ec19e1e
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 15:12:29 2010 +0200
build: fix for combined configure/build in one command
This is a fix from ita for "waf distclean configure build". Running
it as one command failed with missing config.h
commit 4affc58c6a757c379aeb22d0b71cfa06aa926761
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 17:02:21 2010 +0200
s3-lanman: before trying to call spoolss_ClosePrinter make sure we have a connection.
Guenther
commit e2e39117bcea5264c913383ccc68e23307264c63
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon May 3 16:47:56 2010 +0200
Replaced DS_FLAG_ATTR_IS_CRITICAL with SCHEMA_FLAG_ATTR_IS_CRITICAL.
commit 9cc10e6a5742f09261f01a2c0b3a94b7b772e573
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 15:54:14 2010 +0200
s3-rpcclient: Fix Bug #7277. rpcclient was sending invalid data, causing cupsaddsmb to fail.
Guenther
commit fcb53828dfade06c9b9b644d4fb3e074354947f9
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 3 11:25:26 2010 +0200
tsocket: Fixed the documentation of tsocket_address_bsd_sockaddr.
commit 54e68b4949b8d7aadefe0eff8ea6b8c949a2ceb8
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon May 3 15:38:46 2010 +0200
Added a couple of systemFlags, needed for determining filtered attributes.
commit 15b42d6515504862184f33ad8002135ec1e63158
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon May 3 14:50:10 2010 +0200
Added a function to check if an attribute can belong to a filtered replica.
commit fe1617a818b13b2ff2289e3afd33f2ddcfa76124
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 13:42:32 2010 +0200
s3-lanman: fix api_DosPrintQEnum().
This was a subtile bug where the OpenPrinter call (called directly via
dispatcher table) was modifiying r->in.printername in a way that all printers on
a server had the printername stripped off the server unc. Once we switch to full
NDR marshalling in inter RAP<->RPC server communication there is no danger
anymore to have these kind of nasty effects.
Guenther
commit 84aea4784a1798f2585cfa98b6126e21e830ae82
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 12:51:26 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 094ee6cb433ab76e1f6a82476886a7d74e1036cb
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 12:48:55 2010 +0200
pidl: indent cosmetics for s3 server stubs.
Guenther
commit 5efdd13d12a0c4daf0d659556ea0eba4625499f4
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 11:57:06 2010 +0200
s4-smbtorture: add test_netprintjobsetinfo to RAP-PRINTING.
Guenther
commit 44fdec02fc03f5af5a081e80e8eda12ebc5f31ba
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 11:46:57 2010 +0200
s4-smbtorture: add smbcli_rap_netprintjobsetinfo().
Guenther
commit 457826947f97ad914e5e4543a9c668bd8b4fa019
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 11:45:52 2010 +0200
s4-smbtorture: add rap_cli_push_param() and rap_cli_push_sendbuf().
Guenther
commit fe33db6c06e107fef575da670d026c7303472e9b
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 11:58:06 2010 +0200
s3-lanman: exit early for unsupported levels in api_PrintJobInfo().
Guenther
commit d1fe325a7681b7d9ca4ac354f0d43879c4615987
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 17:37:34 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit fced9445d9c73d2e519d1887503283fdfb2c08e5
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 17:37:16 2010 +0200
rap: add rap_NetPrintJobSetInfo to IDL.
Guenther
commit 51dcaf0e8e084e53bdbc85fd9632d1ba9c541ef6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 10:22:22 2010 +0200
s4-waf: fixed symlink path for autogen.sh
thanks to Nadya for noticing :-)
commit baffc1e89f424ed6f9478b4cd8c9de1601b51266
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 09:12:43 2010 +0200
s4-waf: switch Samba4 over to the waf build by default
the old autogen.sh is now calld autogen-autotools.sh
For now autogen.sh is a link to autogen-waf.sh. We can remove
autogen-waf.sh in the future, but for now I'm leaving it in place so
as not to break existing scripts (both build farm, and the scripts for
the standalone libs)
commit 6be5bc8e8009ef19473f25b7c4841bf56c4d13c7
Author: Matthew McGillis <matthew at mcgillis.org>
Date: Sun May 2 18:08:29 2010 -0700
Consolidate all get SEC_DESC into single procedure get_secdesc
commit 0a8b2b2119e40e72764f6a47f85007d6c0029849
Author: Matthew McGillis <matthew at mcgillis.org>
Date: Sun May 2 18:08:02 2010 -0700
always pass filename as const char
commit d83850abe2c393352ec65c32b3bcec7c33be7cd0
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun May 2 16:12:14 2010 +0200
build: uname on opensolaris returns 1 for success
check for -1 as failure, not 0 for success
commit 7cbcf652c51d283ac55b898c60ea39e45a48e5dd
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun May 2 15:53:14 2010 +0200
s4-ldb: use a parent context in the ldb utils
This avoids a talloc free with references error on exit
commit df6d0db21d31dee1bc51c3a0703e1ad9ab5f028b
Author: Matthieu Patou <mat at matws.net>
Date: Tue Apr 13 00:58:50 2010 +0400
s4: Fix python binding for drsblobs
This binding needs symbols in drsblobs_c.c otherwise we have unresolved symbols
commit f534080367ac886391efe1a5570a48400a1a66b0
Author: Matthieu Patou <mat at matws.net>
Date: Thu Apr 15 00:18:14 2010 +0400
s4 python: fix glues functions manipulating NTTIME
The fix include reverse function (from NTTIME to timestamp) + fix
on the transformation of a NTTIME to a PyLong object
commit 831336293dfd9ab3771c2eb0f155b7423e71ec94
Author: Matthieu Patou <mat at matws.net>
Date: Thu Apr 15 00:18:46 2010 +0400
pidl: Fix the generation of py helper for 64 bit integer
Up to now the generation of code for python helpers dealing with 64 bits (NTTIME,hyper, ...)
was broken because they were assumed to be Int (PyInt_From ...) as Integer is always 32 bits
in python.
This fix use PyLong and states that the incomming data is a long long as it should be 64 bit at least.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 668e28b80e47876bf32ac49abcb1e8f5e0c2cef0
Author: Volker Lendecke <vl at samba.org>
Date: Sat May 1 14:51:15 2010 +0200
s3: Unify DEBUG_KRB5_TKT_REGAIN and DEBUG_KRB5_TKT_RENEWAL
I don't think it makes sense to #ifdef this one case separately.
Metze, Bo Yang, please check!
commit ef0adbff93d0fd2aa05bd73da8774db47903c74d
Author: Volker Lendecke <vl at samba.org>
Date: Sat May 1 14:39:01 2010 +0200
s3: Fix a typo
commit 685b4625bcbae46b332a8c3dbb02d59812084519
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 25 15:36:02 2010 +0200
s3: Fix the code order in append_auth_data
This is to comply with the comment
"currently, anything from here on potentially overwrites extra_data."
Günther, please check!
commit 44e7ea692708c1c956fc9bd20ed9a6d5de9479a4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat May 1 10:33:08 2010 +1000
s4:credentials Make the CCACHE in credentials depend on the things that built it
This means that we consider the ccache only as reliable as the least
specified of the inputs we used.
This means that we will regenerate the ccache if any of the inputs change.
Andrew Bartlett
commit 485def3b5dae7c77fb0c01ed99b6865b7c5ceeb8
Author: Holger Hans Peter Freyther <holger at freyther.de>
Date: Sat May 1 15:18:45 2010 +0200
talloc: Documentation fix for talloc
commit dfd7ad20832d848349ba2974e43a1d545df2aded
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat May 1 18:22:20 2010 +1000
s4:dsdb Fix use of memory after free in repl_meta_data
The upgraded link values are were allocated on tmp_ctx, and need to be
kept until they are written to the DB. If we don't give the correct
context, they will be gone after the talloc_free(tmp_ctx).
Found by Matthieu Patou <mat+Informatique.Samba at matws.net>
Andrew Bartlett
commit f4092ecec722d7e2c04f3049630975af9e96bc07
Author: Jeremy Allison <jra at samba.org>
Date: Fri Apr 30 21:03:20 2010 -0700
Plumb the SMB2 front end into the blocking lock backend.
Metze, you'll probably be happier with this work as it
doesn't abuse tevent in the way you dislike. This is a
first cut at the code, which will need lots of testing
but I'm hoping this will give people an idea of where I'm
going with this.
Jeremy.
commit dffeb12f3dcb339bc258a7fbc38bbf9ec8dd928e
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 28 19:42:04 2010 -0400
smbd: move printfile_offset() within write_file()
commit b9a97cf8649141dcd13f09cd1866d60f090d0bbe
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 17:06:29 2010 +0200
s4-smbtorture: add test_netprintjobgetinfo().
Guenther
commit 7c88d30836f7a1a817bf32e2c5aa200e8808cdf1
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 17:06:03 2010 +0200
s4-smbtorture: add smbcli_rap_netprintjobgetinfo().
Guenther
commit 60736f1e055292aa9f318d71f97d3896f3570f4a
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 17:04:42 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 24a2ddb6e367f18afb3923b344d268399c36a5b9
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 17:04:14 2010 +0200
rap: add rap_NetPrintJobGetInfo to IDL.
Guenther
commit 82d4e858eaa443a17511d2d6be1c627b2b1c5072
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 17:05:17 2010 +0200
s4-smbtorture: fix smbcli_rap_netprintjobenum().
It is just fine for a printq to have no pending jobs.
Guenther
commit 400c07f0de19b6cc7da39b9c6d0a42eeed0b4ea1
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 14:57:19 2010 +0200
s4-smbtorture: add test_netprintjobenum to RAP-PRINTING.
Guenther
commit 753fde9c19ed2767b9da22d02a650732612c1843
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 14:52:48 2010 +0200
s4-smbtorture: add smbcli_rap_netprintjobenum().
Guenther
commit 3d5c7909ea34d7d3d1d668738cf8be60033f9f14
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:52:56 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit cd90e002bdc3e84c1f09994bd458bc3a420ae195
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:52:14 2010 +0200
s3: add rap_NetPrintJobEnum (again a call not documented in MS-RAP).
Guenther
commit 52b669b68e7de2ffa2b55ebfde90f9419f3b068b
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:38:49 2010 +0200
s4-smbtorture: pause and resume printq in RAP-PRINTING test.
Guenther
commit af2482989b3a55e7d0836a12b4464de98d541d0f
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:36:59 2010 +0200
s4-smbtorture: use rap_status in smbcli_rap_* functions.
Guenther
commit 4da66a36451a4f469f577a916cf869c7bc31ecd2
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:42:02 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit fc9c004e7d7bdf552de0ab584179a416bb23ec5e
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:38:04 2010 +0200
rap: use rap_status in IDL.
Guenther
commit 3bfceafed7ad33d7bdf4cf9391f71b57dbe54220
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:35:41 2010 +0200
rap: add rap_status to IDL.
Guenther
commit 7cdd6a15afb58b05f524ec859776ee02a41cf582
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:34:20 2010 +0200
s4-smbtorture: add smbcli_rap_netprintqueueresume() and smbcli_rap_netprintqueuepurge().
Guenther
commit 2df2cef437d19d2cb7675aa8297eaa24a8706bee
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 11:57:40 2010 +0200
s4-smbtorture: add test_netprintq to RAP-PRINTING.
Guenther
commit 7f1775e8604b405d89b578b0f04081c8273c7217
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 11:57:14 2010 +0200
s4-smbtorture: add smbcli_rap_netprintqueuepause().
Guenther
commit 3b3e19724cf178c916c6868c82f097000b79a1e2
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 11:56:47 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 1cdb1a9df61274adaee90a32a7376635c29fc689
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 11:55:18 2010 +0200
rap: add IDL for rap_NetPrintQueue{Pause,Continue,Purge}.
it seems like they are not documented (at least not in MS-RAP).
Guenther
commit 0f57a3991644d69f22ef7303aad03343bdf1ab3c
Author: Jeff Morriss <jeff.morriss.ws at gmail.com>
Date: Fri Apr 30 00:11:54 2010 +0200
pidl: Fix display field for time fields with newer versions of Wireshark.
Pidl generates some Wireshark dissector fields of type FT_ABSOLUTE_TIME.
Starting some time not too long ago, these fields need a 'display' field
other than BASE_NONE or BASE_DEC. This commit fixes this,
*assuming* that all the times are "local."
commit e90444319c37c413ffc4e3a02531309dfa3ff565
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 29 17:08:12 2010 -0700
Carefully label SMB1-specific locking calls.
Jeremy.
commit ebf6340bb568f279fc8b94856e01de473bd08575
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 29 16:50:15 2010 -0700
Move the global blocking lock records into the smb1 state.
Jeremy
commit f2ccff806a5118ff1ff8a24aa85f56be61906d3a
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:45:44 2010 +0200
s4-smbtorture: fix rap_pull_rap_PrintQueue2 and 4.
Guenther
commit 93a9563a42cd0b1a81bb2cc3bd2c9f3473043463
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:45:24 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit a11745f21d237060b47549f8fba15df4e49adb8f
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:44:58 2010 +0200
rap: fix rap_PrintQueue2 and rap_PrintQueue4.
Guenther
commit 6a13c028a94772b66788f2a213e8c09707ee6596
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:11:44 2010 +0200
rap: let the rap print function be autogenerated again.
Guenther
commit 16e2185731afe482b3f12427253101efd3ad36c5
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:21:13 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 62ef9ad581df87012858d88dcc30192ad29f46dc
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 23:27:27 2010 +0200
rap: use astring in IDL.
Guenther
commit 6156a4b73b6cb90bb31d927f0c07e6d53442481b
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:26:12 2010 +0200
s4-smbtorture: test all levels in test_netprintqgetinfo and test_netprintqenum.
Guenther
commit e8aaf4087b10a5aa88f3a3d2810a6a332fa2697e
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:24:20 2010 +0200
s4-smbtorture: add rap_pull_rap_PrintQueue4.
Guenther
commit e85824d9170644493e839c1ac2a82f7bd8345994
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:23:53 2010 +0200
s4-smbtorture: add rap_pull_rap_PrintQueue2.
Guenther
commit e13f2ed296f8f0432fb2f5035f724c4ad917f42c
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:20:34 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 7dd67f6d035c827f3917f3ddcb056ec43fe37cb1
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:21:59 2010 +0200
rap: fill in rap_PrintQueue4 IDL.
Guenther
commit 131c51db382ddbeff61492f9b82b4bc283a9b0b3
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:19:53 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 696e554e80a8ac9b3caea6c1afead14d1555ee95
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:20:07 2010 +0200
rap: fix jobinfo IDL.
Guenther
commit 9d9fc4cfe7f058baaf7d251a4d468d72e681e62c
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:21:40 2010 +0200
s4-smbtorture: fix parsing of rap_pull_rap_PrintQueue1 and rap_pull_rap_PrintQueue2.
Guenther
commit 1cb7b8ded66e0f9a7204b850ca2132d1392dfc6e
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:19:20 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 4fc3aefc518af94de8c985ad177ff70c5df229ad
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:20:56 2010 +0200
rap: fix some rap_PrintQueue IDL structures.
Guenther
commit 37901bb96a7436f9b34e198d7de0b754b09612da
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:24:50 2010 +0200
s4-smbtorture: add test_netprintjob() to RAP-PRINTING.
Guenther
commit 1f69a7a80eb9057498a4805b883158dc1ce25901
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 29 13:40:25 2010 -0700
Attempt to fix bug #7399 - SMB2: QUERY_DIRECTORY is returning invalid values.
Based on an initial patch from Ira Cooper <samba at ira.wakeful.net>.
Jeremy.
commit ca860e4279a247a852f55d5226f916d1e956820a
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 29 12:14:08 2010 +0200
s3: range-check idmap script output
Not doing so results in the id mapping succeeding once unchecked and later on
being refused, because when reading from the tdb we do the checks.
commit fcdba1b36ffc3cfdeac71863f26a1605d3b24fa5
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 29 12:11:04 2010 +0200
s3: Fix an uninitialized variable in idmap_tdb2_sid_to_id()
When we find an invalid record in the database, there's no point in checking
the non-existing value against the range limits.
commit 81e75bacd346384a3e0ac3b2d73cb1981fe278d1
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 29 12:09:48 2010 +0200
s3: Fix some nonempty blank lines
commit 99518bc1ea330474ba27dcce0dde141026ebaae2
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 14:22:55 2010 +0200
s4-smbtorture: add smbcli_rap_netprintjob{pause,continue,delete}.
Guenther
commit d266af79b3e96e534c8d0b41e22fa758387c8727
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 14:12:14 2010 +0200
rap: add IDL for NetPrintJob{Pause,Continue,Delete}.
Guenther
commit 9a313bbac02a808b3cd7c3d1308919f4acfac874
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 13:27:58 2010 +0200
s3-lanman: fix api_DosPrintQGetInfo().
Found by torture test.
Guenther
commit 5e8db42d50809b7664bc7c477010b689918e62c8
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 13:19:23 2010 +0200
s4-smbtorture: add test_netprintqgetinfo to RAP-PRINTING.
Guenther
commit 0df8c9ffde0e8692e5fa3898b2f559aa9f0e0fe6
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 13:18:33 2010 +0200
s4-smbtorture: add smbcli_rap_netprintqgetinfo().
Guenther
commit 169b72dce432bc6c5afc6a14ddf80dedcb467178
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 12:16:17 2010 +0200
rap: add rap_NetPrintQGetInfo to IDL.
Guenther
commit 2a9e8e348a0217fd6fbd41c95a3ed6083a6c4ecc
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 13:17:27 2010 +0200
s4-smbtorture: rework smbcli_rap_netprintqenum a bit.
Guenther
commit 1765732f82719a4bc925f21ef4999bd19a8d1f6c
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 29 07:51:32 2010 +0200
s4: remove unused references to swat
metze
commit 8e792d7b9bd1f9ce35fdaf6db4fc1d08e2ba8bda
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 29 08:29:56 2010 +0200
s4:dynconfig: fix fhs variables and list them all explicit
This adds 'samba' subdirs to smb.conf and setup.
metze
commit 48fb78eba6cfe8ddccc6af10170c0537a260c6b1
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 29 08:29:45 2010 +0200
s4:dynconfig: reorder non fhs variables
metze
commit ce9fde439b2d35ad0ba5c21a7796d05c0cf49c14
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 02:41:51 2010 +0200
rap: fill in rap_PrintQueue2 IDL.
Guenther
commit 2b1dae366217528dde13757fa64cf6b9d408a342
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 02:39:44 2010 +0200
s4-smbtorture: implement and test level 3 and 5 of PrintQEnum RAP.
Guenther
commit 1467b0e6f6162e67087374d0f78e16a38794a41a
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 01:13:06 2010 +0200
s4-smbtorture: add NDR_PRINT macros for RAP tests (when called with -d10).
Guenther
commit f5ac746091db768572d10997de05aa5f7e01d805
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 00:52:17 2010 +0200
s3-pdb_ldap: fix memleak.
Guenther
commit 7e678ef0cf22fa450ec6af16992d8992c5a13728
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 00:29:05 2010 +0200
s3-lanman: fix api_DosPrintQEnum.
Found by torture test.
Guenther
commit f85a4ab778f693d605301b761596f43092c9d618
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 23:42:00 2010 +0200
s4-rap: add rap print helpers.
Guenther
commit 084c8065f871c1aa31f5d157f1843437db449603
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 29 08:51:01 2010 +1000
s4:libnet Make 'net vampire' more robust to command line arguments
When we have just joined a domain, we know a bit about that domain.
Use these to override previous guesses as to what domain and realm to
use for the rest of the join.
Andrew Bartlett
commit 716ae7b4c829c811eb8a7fe03b702afd51d448b4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 29 07:58:48 2010 +1000
s4:howto Improve OpenLDAP backend instructions
commit dbbbc7d1f8a86bd0535c46f50fae8223c26afd9a
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon Apr 26 09:56:59 2010 +0300
s4/rodc: RODC FAS initial implementation
commit 5a4ee75289e8394ea2f2de0b0415ed7f7ee54575
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Apr 24 01:21:15 2010 +0300
s4/tort: Add simple unit test for dsdb_schema_info object creation
commit 59830d0a6effa6509eae384f08cf3df32cd53359
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Apr 23 16:35:21 2010 +0300
s4/dsdb: schemaInfo revision may be 0
In case schemaInfo value is still not set, WinAD supplies
schemaInfo blob with revision = 0 and GUID_ZERO
commit a8438015cae6d426bf140feffec46e129688ec8e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Apr 23 15:37:10 2010 +0300
s4/dsdb: remove unused dsdb_schema_info_create() function
commit 2264d917ae626d6f2d8f5d2c128a4a95a4066665
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 22 18:11:39 2010 +0300
s4/dsdb: Update Schema cache with updated schemaInfo value
Error checking is simplified and my leave leeks.
I did it this way to make code more readable, and if we
get error in those lines, it will be WERR_NOMEM in which
case we are in a much deeper troubles than delayed freeing
of few bytes.
commit e41eac96afb1d6d465faeb1e4e9a669cff1b8bc1
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 22 17:59:22 2010 +0300
s4/samldb: Create initial schemaInfo value if it doesn't exists yet
commit 546a727bd326464c6fac3c6454e4e98314e0e75a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 22 17:24:15 2010 +0300
s4/dsdb: Use default schemaInfo value when no such value is given
Having no value for schemaInfo is totally OK as it turns out.
In such cases, we should use a default value with
all fields set to 0.
commit da127d44e31306b4865e682be362fd9672d8201f
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 22 04:39:04 2010 +0300
s4/test: schemaInfo may not to be set yet
On newly provisioned Forest schemaInfo is not initially set.
It should be created after firs Schema modification
commit 5bf12e101aa729619758c38af5c682b2cd06ea70
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 22 02:55:03 2010 +0300
Revert "s4/dsdb: Set schemaInfo attribute value during provisioning"
This reverts commit 8149094eddebd9a0e8b7c123c2ed54d00164bb26.
Windows implementation does not set schemaInfo attribute value
until first Schema update request.
This way, newly provisioned forest returns no schemaInfo value.
I think it won't be bad for us to have this value preset, but
I want to mimic Win AD behavior as close as possible.
commit 2bf23735fa9d50954086d09f2e3ebd32390e2fa9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 29 09:22:12 2010 +1000
idl: we only need ndr_rap.[ch] and rap.h
commit 66e47f393c9867c2c040b5310706f31b2bb5f314
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 29 08:26:19 2010 +1000
s4-idl: added generated files from rap.idl
commit 4a87ca2028fe301d1d61e5cd365df49ff1f2dd22
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 29 07:47:57 2010 +1000
s4-waf: added --enable-build-farm configure option
this adds a smbtorture.static binary which s3 will use in the build
farm
commit 08c3ce25c6d0571c6271645ef4dae3c5ca2b0e33
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 29 07:47:19 2010 +1000
build: added enabled=True/False option to SAMBA_BINARY()
commit 4e7195be362ed51eeab26f7b07dfb7e4dd730d59
Author: Jeremy Allison <jra at samba.org>
Date: Wed Apr 28 14:56:12 2010 -0700
Update (C) for 2010.
Jeremy.
commit db3a1b9d515dadc43bca5b2fc3217ca2ef2f00a6
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 23:20:46 2010 +0200
s4-selftest: skip RAP-PRINTING tests.
Guenther
commit 8878be3c456c8562558024c1fef3a73e9eb71d82
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 23:19:33 2010 +0200
s3-selftest: enable RAP-PRINTING against s3.
Guenther
commit d53544800fffd07b01ae77dac0d391c8e0c3dd79
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 23:11:37 2010 +0200
s3-lanman: support level 0 NetPrintQEnum RAP query.
Guenther
commit 2c5b3fc40b4b8e288463a98c9edbcf07f2cfbd73
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 23:08:14 2010 +0200
s4-smbtorture: link in ../../librpc/gen_ndr/ndr_rap.o.
Guenther
commit bdfb9a43d33ab0bff84591914566a8dff3f4cb46
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 18:29:18 2010 +0200
s4-smbtorture: add test for rap_NetPrintQEnum.
Guenther
commit 03d83128dd9d24d9aabeef51895f8995ae5a3b81
Author: Günther Deschner <gd at samba.org>
Date: Sat Apr 24 00:45:40 2010 +0200
s4-smbtorture: add RAP-PRINTING suite.
Guenther
commit 1764bcecf2f0fd388a888835019a8e064e6c30fa
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 12:50:58 2010 +0200
s4-smbtorture: add smbcli_rap_netprintqenum.
Guenther
commit 42003e5661549ed9c4f34174509c0f4977510f30
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 17:43:47 2010 +0200
s3: re-run make samba3-idl
Guenther
commit b66602898a2b99bc1628b7a3f7571926959d8e21
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 12:50:45 2010 +0200
rap: add rap_NetPrintQEnum to IDL.
Guenther
commit ac09506d36ea3018f888775058901498ab6aa370
Author: Jeremy Allison <jra at samba.org>
Date: Wed Apr 28 14:13:22 2010 -0700
Connect set security descriptor into SMB2 code.
Jeremy.
commit 37e9019119326aca374d55c6379b13b5cd0f564a
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 17:03:30 2010 +0200
s4-smbtorture: when comparing PrinterData from DsSpooler and PrinterInfo also
query some existing values.
Guenther
commit 6cb21806e8f6c811e4b0255851deaa655455469a
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 17:00:53 2010 +0200
s4-smbtorture: add a test that adds a printer incl. devicemode.
Guenther
commit d5cc067367ec58a011c69570d3fe6bf778c565e2
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 15:20:25 2010 +0200
s3:smbd: make fsp->fake_file_handle a talloc child of fsp
metze
commit 4783f84264d850bbceb995a1454eb01671e0c026
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Apr 28 14:36:10 2010 +0200
s3:smbd: add comment about returning STATUS_BUFFER_OVERFLOW in pipe_read_andx_done()
metze
commit ae1c040b518273fd83797fcde170141aec9fe182
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Apr 28 12:27:09 2010 +0200
s4:smb_server/smb: SMBreadX can return STATUS_BUFFER_OVERFLOW
metze
commit 21ec116bbf51b76f17b9e4054969ef315f5e2dd0
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Apr 28 10:43:19 2010 +0200
libcli/named_pipe_auth: we need to hide length of the message mode header from the caller
metze
commit 6129aa0cf5567c793ed65d1402a7e7fd7e5f6a92
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Apr 28 14:52:40 2010 +0200
s4:web_server: use tsocket_address functions to get the local ip and port
metze
(cherry picked from commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405)
commit a53b09141cd57d7dc94bd0d0e05d7d25ee110857
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 13:34:31 2010 +0200
s4-smbtorture: start on a test to verify how SetPrinter changes DsSpooler Printer Data.
Guenther
commit eed665d653828832ec57642126c4040c47dd6e90
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Apr 26 15:48:18 2010 +0300
s4/net_drs: Fix Connection name printed
commit bf49ac99c94e4d937fd8d0532761b5635e372d84
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Apr 26 00:22:53 2010 +0300
s4/dsdb: dsdb_validate_invocation_id() should validate by objectGUID
This function is used in DRSUpdateRefs() implementation where we
get DSA's objectGUID rather than invocationId
commit 5197d76faa6316d7e80b1c714c7a6f028ce527d2
Author: Volker Lendecke <vl at samba.org>
Date: Wed Apr 28 10:54:57 2010 +0200
s3: Make a debug msg more readable
commit c9a3661c4b0997172782c55de4a3b15dff2c6ea4
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 27 22:15:17 2010 -0700
Fix the "allow_smb2" bug being set to false that was driving me mad :-).
The first packet from a rebooted Win7 on an SMB2 connection is an SMB1
negprot...
Jeremy.
commit 3c585e9a8068d5065b1a5f320ffd130290c1cd07
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Apr 28 10:39:05 2010 +1000
s4:provisionbackend Don't loop forever waiting for OpenLDAP
We need to give a good error when we can't get OpenLDAP to accept our
connections.
Andrew Bartlett
commit 4d1f0436bd4f63887173473541efa205fb98210f
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 27 17:09:40 2010 -0700
Don't return a potentially uninitialized NT_STATUS. We can now see user lists in Windows ACLs.
Jeremy.
commit 33256e41e1ed7a4a2caeef2f0cf26d0abb9032ca
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 27 17:07:44 2010 -0700
Add debug statements so I can track the flow of RPC data.
Jeremy.
commit f56d9006d5790b8b752c72600ccd3942a2742f17
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 01:11:19 2010 +0200
s3-lanman: use spoolss for api_WPrintDestGetInfo() and api_WPrintDestEnum().
With this, I think, all implemented RAP printing calls are routed over SPOOLSS.
Torture tests to follow...
Guenther
commit c88ff10d690094617ed382a6ff16921a7bef2a63
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 01:10:49 2010 +0200
s3-lanman: fix debug message in api_WPrintJobEnumerate().
Guenther
commit 566ea59b27b97038f7fd4315746019eab002a599
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 01:07:08 2010 +0200
s3-lanman: remove a unnecessary memset in api_WPrintJobEnumerate().
Guenther
commit fe1f503a957aa0041ae101e27950b7e31a965548
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 23:12:40 2010 +0200
s3-lanman: remove unused code.
Guenther
commit f23bcb5c5e64cfd6b8a4b19568d40919c28610f1
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 22:55:11 2010 +0200
s3-lanman: use spoolss for api_DosPrintQGetInfo and api_DosPrintQEnum.
Guenther
commit f11a5d196d6beaeb8445d759559ff684045776f5
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 27 16:07:12 2010 -0700
Don't return an intermediate reply on async on a pipe call (Windows doesn't).
Jeremy.
commit f4f9d54721a3b6b9bf61ba84eaf144cbecbcf937
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 19:58:32 2010 +0200
s3-lanman: use spoolss for api_PrintJobInfo().
Guenther
commit d6d8c3ffe3a235fe6b55a79989e1734d229ca8f1
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 00:05:41 2010 +0200
s4-smbtorture: also try renaming jobname in test_DoPrintTest_check_jobs().
Guenther
commit b87b1de83432611e511e511d0320b8c1c1a8b323
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 23:33:05 2010 +0200
s4-smbtorture: allow to pass down spoolss_JobInfoContainer to SetJob functions.
Guenther
commit 2af449391b28dda10ebb797fcf61e2319b36a0b0
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 23:31:25 2010 +0200
s4-smbtorture: be more liberal when spoolss_SetJob fails.
For some reason, spoolss_SetJob pausing and resuming of printjob is still racy
on the buildfarm. Converting the fatal assert to a warning for now.
Guenther
commit 1691eb73da62f3a50c12031d0a76cc6d4deed955
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 19:57:47 2010 +0200
s3-spoolss: add support for SetJobInfo level 1 (for jobfile rename).
Guenther
commit 2b7002f38571a920244d9ad309c606caaf2c0411
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 19:30:49 2010 +0200
s3-lanman: remove unsupported print_job_set_place().
Guenther
commit ce8595f68e3ca6fd8be0d4777aa8157e29597444
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 27 12:10:20 2010 -0700
Fix more S3 build breakage. Matthias, please ensure S3 builds when
changing common code.
Jeremy.
commit e6f59613fec82710914c429d97a1e1144723b0f9
Author: Marcel Ritter <Marcel.Ritter at rrze.uni-erlangen.de>
Date: Tue Apr 27 13:53:04 2010 +0200
Install spn_update_list to setup/ dir
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 079897709ed99dac049d7b2b5f0c1958527462c4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 20:45:06 2010 +0200
s3:libads/ldap.c - fix a build breakage
commit d1db751ff8e6b15c059db254b57c72dfda8d4bfc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 18:25:21 2010 +0200
Revert "s4:web_server: use tsocket_address functions to get the local ip and port"
This reverts commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405.
This broke the build.
commit 79a29a8cd65534884934c60ae2fb2854e064722b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 18:07:09 2010 +0200
s4:cldap_server/netlogon.c - handle the domain SID correctly
commit eceffe690912b1fbce4ecddaffd29b52e2cf9cd1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 16:56:36 2010 +0200
nbt: samlogon/netlogon structures - unify denominations
commit 3f1bd92306b2f11b5c8086ef9e0a311d9e99da89
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 16:32:46 2010 +0200
s4:fill_netlogon_samlogon_response - reorder assign operations (to be consistent)
commit a89ba9e21d53ae2c163e6cdaf4198d3148d5019e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 16:31:07 2010 +0200
s4:fill_netlogon_samlogon_response - use "lp_workgroup" for the short netbios domainname
This call is only for the DC mode.
commit 7efb43669838245cd240ac2c5aa443ba0d285b9c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 15:27:40 2010 +0200
s4:torture - DsRAddressToSitenames[Ex]W testsuite - make it IPv4-only compatible
commit 8f8e7c788a12d1e0bda9183ed765cc1048e105f7
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 18:00:43 2010 +0200
Revert "s3-build: Remove --enable-merged support."
This reverts commit f8fc7fcbeb8141c5b2775e2219bae17c55ad4a3c.
Was that pushed by coincidence ? merged build is really, really required over
here.
commit 158d41b6b4264e7ece93cf77a15e70ccbf8673b8
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 17:52:47 2010 +0200
s4-smbtorture: make sure to zero the add driver info 8 struct before adding drivers.
Guenther
commit 7532640a74bbdd3c815e29732785350e9622925e
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 17:32:34 2010 +0200
s3-spoolss: publish "Monitor" in winreg for drivers.
Found by torture test.
Guenther
commit 70ec7e07001d0308cb3902b13378a1ef61b2acb9
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 16:48:29 2010 +0200
s3-spoolss: fix winreg attribute for storing datatype.
Found by torture test (and checked with w2k, w2k3 and w2k8).
Guenther
commit 03a9ac4e2bb28620c773104f4b3dd23798b7146c
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 17:55:55 2010 +0200
s3-spoolss: fix some uninitialized variables.
Guenther
commit b764145ac8523f6e44d22adfef1bcd6cecbbed48
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 13:36:21 2010 +0200
s3:smbd: keep local and remote tsocket_address per connection
metze
commit 8f74d38c3a4a853f608fed0bed1b55915d01555a
Author: Björn Jacke <bj at sernet.de>
Date: Tue Apr 27 17:06:55 2010 +0200
s3/packaging: make rpm build work by overriding strict linker flags
commit 7ca576e5c4a0da616c2a6738859c9c989f76202e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 16:49:00 2010 +0200
s4:rpc_server: remove unused socket_address based functions
metze
commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 16:36:26 2010 +0200
s4:web_server: use tsocket_address functions to get the local ip and port
metze
commit 41d970718a105a1321cf80bc1004b51b7af7cc69
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 16:05:08 2010 +0200
s4:smb_server: use tsocket_address_string() for debugging the client address
metze
commit b7782514b91b365ec07426d4adfc8f59c53c372e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 16:17:28 2010 +0200
s4:wrepl_server: use tsocket_address functions to get the peer ip
metze
commit 0a70788e190ca00cab27c67000abf77617141b5e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 17:04:32 2010 +0200
s4:lib/registry: fix the waf build
The pass to a source file is relative to the wscript* file.
metze
commit a2b8e28aef1799cac45809bfe38c9b0980aef68f
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 15:56:09 2010 +0200
s4-smbtorture: upload the full cups driver, otherwise windows will not allow using it.
Guenther
commit f44cec7b60f3b6449fe2844a1600438b7b13682c
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 15:48:03 2010 +0200
s4-smbtorture: only compare level 3 for s3 when checking winreg and spoolss_Driver.
Guenther
commit a0fd53e388466c4866f96d2ca728eec28181e42f
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 14:13:12 2010 +0200
s4-smbtorture: mention architecture of added drivers in debug output.
Guenther
commit b40d2815cd3495b66ed2b469e3495baf1a7a6256
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 15:48:52 2010 +0200
s4-smbtorture: make sure to not attempt to remove a driver file twice.
Guenther
commit ad80131bb176b17fda15e9a76f3934913829a0bb
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 13:15:04 2010 +0200
s4-smbtorture: setup all members of level 3,4,6,8 driver add.
Guenther
commit fc3e9595060db116cd6661baa311ba6fe992162a
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 11:30:35 2010 +0200
s4-smbtorture: use a torture_printer_context and upload own driver for RPC-SPOOLSS-PRINTER test.
Guenther
commit 12cf6dc8ee649e5888dd7210bd279931fa2ff4e0
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 10:38:36 2010 +0200
s4-smbtorture: split RPC-SPOOLSS-PRINTER into more tests.
Guenther
commit b062cac6c4b15569ae42dc7e4fea9ee709fce337
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 23:35:19 2010 +0200
s4-smbtorture: finally test REG_MULTI_SZ in winreg/driverinfo consistency tests.
Guenther
commit 6864828d9d85dacff0ca9df73761a98d2ceb9f2e
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 16:38:40 2010 +0200
s3: use shared registry functions.
Guenther
commit a833be0c4e44135e4f45b3d460586762da04cf32
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 16:37:56 2010 +0200
s4: use shared registry functions.
Guenther
commit ee1b8e5edeecd5a6a3526e88265a5ad28522a45d
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 16:37:06 2010 +0200
registry: add some shared registry helper functions.
Guenther
commit c2c56722b5588206fefaa0fdfa1ea9a8b557750d
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 23:21:07 2010 +0200
s4-smbtorture: remove some typecasts in rap tests.
Guenther
commit 91bb4893c486275602242b67c810f02adb7ce9ba
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 23:39:57 2010 +1000
s4-netlogon: fixed getDcNameEx2 for blank inputs
w2k8r2 returns the local DC information on no inputs for
getDcNameEx2. This is needed for starting dsa.msc (ADUC) on
Win7.
CDLAP on the same call returns an error. This uses a parameter
fill_on_blank_request to distinguish the two cases.
commit 7f25723cf504b3cdc0db68ff4125539baa486975
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 16:17:28 2010 +0200
s4:wrepl_server: use tsocket_address functions to get the peer ip
metze
commit 9dd4419ebe12d8a4eb467cf26640de5575e04e83
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 16:05:08 2010 +0200
s4:smb_server: use tsocket_address_string() for debugging the client address
metze
commit 54abb0724b5577eb7a9a132f647649dc30931b18
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 15:45:12 2010 +0200
s4:smb_server: use tsocket_address_string() to display the client address
metze
commit 8fce492ffc0f276d433825ebc1ec4c7ad4c33cfa
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 15:44:40 2010 +0200
s4:smb_server: remove unused socket_address functions
metze
commit 7c4d9fa0e9f45ddf789fe6c90227d8a67273d9d9
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 15:06:33 2010 +0200
s4:ntvfs/ipc: remote // debug comments
metze
commit 1cd4f50079290e20bbe6be21d71ea654b6afb032
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 21:56:51 2010 +1000
s4-torture: not all platforms have defines like AF_AX25
all we need are invalid values here, so just use fixd high values.
commit d94c94fcb94ae0dfd221b5c807ec310f9c0fd8ed
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:38:00 2010 +0200
s4:ntvfs: remove socket_address based functions
metze
commit bb04e90259315fd49fe1222b7c8f7fce23f1a2b6
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:37:12 2010 +0200
s4:ntvfs/ipc: pass the already given tsocket_address structures to the named_pipe_auth code
metze
commit 8fb3292c993302b74247d6fa4795b279b131abcf
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:34:44 2010 +0200
s4:smb_server: pass tsocket_addresses to the ntvfs layer
metze
commit c04d809ba001ebca17b68eae3a9f7d37454a290c
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:40:15 2010 +0200
s4:ntvfs: add tsocket based addresses to ntvfs_context
metze
commit 7bbaab8dffcfe55b5da099840ec200be4d098b69
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:39:36 2010 +0200
s4:rpc_server: remove 'socket_address' based functions
metze
commit 32bcc73cf8b59e2254967d55ebeb2715d4287840
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:27:51 2010 +0200
s4:rpc_server/srvsvc: pass tsocket_address to the ntvfs layer
metze
commit 772cf15eb969591d65598a03fee24a4e559158ea
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:22:01 2010 +0200
s4:rpc_server/spoolss: use tsocket_address in dcesrv_spoolss_check_server_name()
metze
commit 606025f11de9e1b9fa7c6d69a6fc346ca984dd93
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:18:41 2010 +0200
s4:rpc_server/netlogon: use tsocket_address in dcesrv_netr_DsRGetDCNameEx2()
metze
commit c42bb8e49c77517729f9b57a81fd07815b5b493a
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:06:07 2010 +0200
s4:rpc_server: remember the local and remote address
metze
commit ba703cb8e90070447dda46a3356f6a49b2fee537
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:56:06 2010 +0200
s4:service_named_pipe: use the passed client and server addresses
This gives the rpc server code the correct client and server
ip addresses for ncacn_np.
metze
commit cf3c595b9c6778ee4dea28176936013bc1f1e876
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 10:22:25 2010 +0200
s4:cldap_server: allow src_address = NULL in fill_netlogon_samlogon_response()
If we don't have the client address, we assume it's a local call,
maybe ncalrpc.
metze
commit 4d191b6fa7b96ed56912bf68e6771ffb8e3cfe12
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 10:21:28 2010 +0200
s4:dsdb/common: if we don't have the ip of the client return the server site as client site
metze
commit 2436ec2928d1aac0e6fd885ca1b9cdecef8bf89a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 10:41:46 2010 +0200
lib/tsocket: add tsocket_address_is_unix() function
metze
commit e1596bbf27ee636d8ab47e39eda21c64ef49b671
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 10:34:15 2010 +0200
lib/tsocket: add tsocket_address_is_inet() function
metze
commit 3dd50b29228994c8dd5162cb300d234316126586
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 19:45:49 2010 +1000
s4-test: make spnupdate work without make install
thanks to metze for noticing this
commit ef1326412573777b0a5457c06d130c6455932af7
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 18:38:47 2010 +1000
s4-provision: setup spn_update_list in provision
commit b5b8e6b6adc0abcb833c034f8dc33f338dd6b815
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 18:38:25 2010 +1000
s4-dns: install samba_spnupdate
commit ff2edd52cba6e99763be5193847900119670ad7e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 18:38:04 2010 +1000
s4-dns: call spn update command alongside dns update
call samba_spnupdate at the same time as samba_spnupdate
commit 37dfaff82cb554492fb0a3ddc95d3144d0508bc6
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 18:37:12 2010 +1000
s4-param: added a "spn update command" option
used by SPN update code
commit fa26383884751c5775ccb65e3fbbf9ec7eeda28c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 18:25:55 2010 +1000
s4-dsdb: added samba_spnupdate
this script adds all our required servicePrincipalName entries at
runtime. The admin can add more entries to spn_update_list as needed
commit 570c89287e3f5e424db65098d5e60c9e37a5b6f3
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 18:25:06 2010 +1000
s4-dns: explain what the file is for
commit 7872efcbc0d02ef5ca79abf08f3274463ff3ec26
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 18:24:52 2010 +1000
s4-dns: cope better with comments in dns_update_list
commit 1ae9044b8e2347a0c8c948a65a22fae6ec1ef385
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 20 15:00:50 2010 +1000
s4:gensec Use a different form of 'name' in GSSAPI import_name()
The idea here is to make it not dependent on the system's default
realm.
Andrew Bartlett
commit 6be72df7362c27c973a63a960d0b87eefa22db15
Author: Marcel Ritter <unrzl1 at linux.rrze.uni-erlangen.de>
Date: Thu Apr 22 14:29:52 2010 +0200
Simple fix to prevent crash for non-pac principals
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 8c6147715371e88c425ff8530f9bd7f44cd4cafb
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 27 13:57:39 2010 +1000
s4:kerberos Give a better error message than "Could not allocate memory"
Andrew Bartlett
commit 8219c4f69c2fd2d1f0f795a5dc28dec6dfeb0079
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 08:19:10 2010 +0200
s4:kcc_periodic.c - fix counter types
We are counting LDB objects here -> therefore "unsigned"
commit 2f339f71bd40484959a7008982b243cef0b06bea
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Apr 26 20:19:36 2010 +0200
s4:wb_cmd_getdcname.c - fix s4 winbind up regarding the new correct "GetAnyDCName" behaviour
We get back "NO_SUCH_DOMAIN" when we query the PDC. This is fine and therefore
we use the "logon_server" variable as "dcname".
commit 2654e34cf092f1ec49e1462b67a10c681da4d3df
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 22:49:48 2010 +0200
s4:netr_DsRAddressToSitenames[Ex]W calls - implement them correctly with the client site information
This behaviour should be similar to the one of Windows Server (in my case 2008)
commit bb91afe50c2fb1ab8dc102ddef339bd7d46ff84a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 08:08:42 2010 +0200
Revert "s4:netr_DsRAddressToSitenames[Ex]W calls - implement them correctly with the client site information"
This reverts commit 908d982980846257b65ab576d31131e8793e9399.
I need to merge the improved version of this commit.
commit 581f86ba73b773f08996d473aaf0fad3e94ae2f3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 08:07:19 2010 +0200
Revert "s4-netlogon: fixed breakage of dcesrv_netr_GetAnyDCName in sites patch"
This reverts commit e88a54a87e185b44e2d216bd853e6a87bf950be6.
This isn't the correct behaviour. See MS-NRPC documentation under the
"GetAnyDCName" section.
commit 280d06f8b5734555eb3cb8423d7f9ad1bdc83792
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 15:02:29 2010 +1000
s4-libnet: cope with an empty client site name from CLDAP
We fall back to the server site name in a vampire
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e88a54a87e185b44e2d216bd853e6a87bf950be6
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 14:25:14 2010 +1000
s4-netlogon: fixed breakage of dcesrv_netr_GetAnyDCName in sites patch
We should respond when we are the PDC
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 449708017377c3cdf814642af75d7c7f8b554a3e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Apr 21 19:30:37 2010 +0200
s4:knownfail - remove tests which should pass
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit cfbd5ef8c401e316fe5659bb4360e30b6b8096d1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Apr 21 17:54:06 2010 +0200
s4:netlogon RPC server - we don't need "are we DC" proofs
When we aren't a DC we shouldn't have the netlogon pipe available.
[MS-NRPC 1.3] says that we can only have DCs on the server side.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit ca1f7c9b7332be2f7136094953eef43c65ee1462
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Apr 22 10:37:45 2010 +0200
s4:torture - DsRGetDcSiteCoverageW - adapt test to check for the sitename
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 4686305feb13f6c824843cb2ab8d55f59254303c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Apr 22 10:28:37 2010 +0200
s4:dcesrv_netr_DsrGetDcSiteCoverageW - provide a basic implementation
Does for now only return DC's primary site.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit a66bdbec86f2da8b53518b05018f2c17261b9003
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Apr 21 19:13:11 2010 +0200
s4:torture - DsRGetSiteName - move "skip" statement before the "computer_name" check
We don't support the check for the computer name on the RPC server side.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 3b4137c7be94678e3bd3553fa05feea1efe0f5fd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Apr 18 19:01:18 2010 +0200
s4:dcesrv_netr_DsRGetSiteName - provide an implementation according to the MS-NRPC docs
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 2780a18a9fc3aac355c141fe0393e1f8008e242f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 20 16:59:48 2010 +0200
s4:torture - GetAnyDCName - adaptions
- Check for the various domainname set modes (on NULL and "" the domain should
be the default domain on the server)
- support return value "WERR_NO_SUCH_DOMAIN" (the server is the PDC of the
domain)
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 5fc71186751da3fc2388021630b16279cb949017
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Apr 18 15:02:06 2010 +0200
s4:dcesrv_netr_GetAnyDCName - improve the call according to the MS-NRPC documentation
This implementation checks if the domainname is valid for us or a trusted domain.
Then I've also added the PDC location functionality. That means that we should
return "WERR_NO_SUCH_DOMAIN" (MS-NRPC 3.5.5.2.5).
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit cf93634ec5bc4a87c58fccbf2c04c8625013946f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Apr 21 21:39:20 2010 +0200
s4:torture - DsRAddressesToSitenames - enhance the testsuite
This shows the Windows behaviour of these two calls which we should match.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 908d982980846257b65ab576d31131e8793e9399
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 22:49:48 2010 +0200
s4:netr_DsRAddressToSitenames[Ex]W calls - implement them correctly with the client site information
This behaviour should be similar to the one of Windows Server (in my case 2008)
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit cf73bc63e5c9335a2af8e0b46d2b12de5607f506
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 13:17:05 2010 +0200
s4:CLDAP server - make use of the new "samdb_client_site_name" call
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 093d35661d25d7fd89ce46fef5922768c0c0ace7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 18:28:53 2010 +0200
s4:util - add a function which finds the matching client site using the client address
The lookup of the client site is done using the subnets in the configuration
partition. If no one matches we use the Windows Server fallback mechansim.
This means: if only one site is available just use it. If they're more set the
output variable to "".
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 725e48c22c92e284bb55567f2116c8ddc82a0529
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 12:18:02 2010 +1000
s4-drsdevel: support sites in drs developer scripts
commit 4679bb731b3620006249abb0f9808c755266d87a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 12:17:36 2010 +1000
s4-vampire: show main CLDAP response attributes during vampire
commit 7e2b3ab14f84fb369a8fc00839feebd70b85426b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 12:17:08 2010 +1000
s4-repl: added a workaround for WERR_DS_DRA_NO_REPLICA DsReplicaSync errors
The 0xc0002104/WERR_DS_DRA_NO_REPLICA seems to be spurious, and can be
avoided by setting DRSUAPI_DRS_SYNC_ALL in the DsReplicaSync request.
We need to investigate this further, and find out from MS why this is
sometimes being sent, even when the target DC has the right repsFrom
entries
commit 3f643f18d911888d69bba7f03813b3bde816326e
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 26 21:36:01 2010 -0700
Correctly report share types (now Win7 makes RPC calls against us).
Jeremy.
commit a94a4b788c3056068d0c8e42c55e990f418db666
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 26 20:11:59 2010 -0700
Plumb in get_nt_acl into SMB2.
Jeremy.
commit be35a40e037202af4b30cc76e6e986499771e2e2
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 11:01:12 2010 +1000
s4-dns: fixed dc.dc duplication in DNS update list
commit b0aa4769483a1d2084191b70b2ffa3b0c65696ff
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 23:21:10 2010 +1000
s4-drs: add entries to repsTo based on calculated repsFrom
This is based on the documentation: "the KCC will automatically create
the Reps-To attributes on destination DSAs based on other DSAs
Reps-From entries."
commit 3119296e425a4c640fe9bd2bb97f09bab8a9ccf0
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 22:51:11 2010 +1000
s4-drepl: don't setup a repsFrom from a DC that isn't a master for a NC
use hasMasterNCs to see what NCs we should be pulling from each DC
commit c375b90f5d1b1cbef2896f9a9d5964126ce82022
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 21:49:37 2010 +1000
s4-getncchanges: honor DRSUAPI_DRS_REF_GCSPN
this is an alternative way of establishing repsTo
commit 5b81962ed1c5b0c92e735ae12b853a63a9513a3a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 21:49:06 2010 +1000
s4-repl: these messages are common, and don't deserve debug level 1
getting older attributes is quite common
commit 8aa30f958073203588a4faa75b963bad83a0db41
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 21:48:29 2010 +1000
s4-repl: on a failed request, clear the current ptr
this prevents the queue being stuck on failure
commit 9b18b339c00953490158b40d291032b14e6fc645
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 21:48:06 2010 +1000
s4-repl: end repl request when not doing an UpdateRefs
otherwise the queue is stuck forever
commit 5fb60bc311dde5642b022d28a9d7af8cf6f4a5f7
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 21:47:29 2010 +1000
s4-repl: don't delete repsTo entry on DsReplicaSync
we rely on the highestUSN counters instead. W2K8 does not resend
DsUpdateRefs each time, and the WSPP docs do not indicate that repsTo
should be deleted
commit f8fc7fcbeb8141c5b2775e2219bae17c55ad4a3c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Apr 26 23:50:16 2010 +0200
s3-build: Remove --enable-merged support.
commit 44b0a0c14dbf8822e9c17968b7203557eb6e905f
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 22:09:00 2010 +0200
s4: remove unused rap.h.
Guenther
commit 232b9e556c176b351bd0dd3b8dcaef172d5d9f83
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 15:48:50 2010 +0200
s3: remove unused rap.h.
Guenther
commit aae716d044081e5e1315de4abf22dbeb9d32a18e
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 22:09:44 2010 +0200
s4: fix some build warnings.
Guenther
commit dbfff90185daecfa452520276c8cabdce3b1c616
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 22:09:21 2010 +0200
s3: fix some build warnings.
Guenther
commit 725976290939e82bd43a0b8bce07df6068e65496
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 15:42:47 2010 +0200
s3: use generated rap header.
Guenther
commit 1983d0dde7c33666c5e0c1082d0c2604e6d1e860
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 15:41:17 2010 +0200
s4: use generated rap header.
Guenther
commit 874335c48d4132a4b41acd45dc2c5dc11df18b7a
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 13:23:03 2010 +0200
s3: re-run make samba3-idl and add generated header file.
Guenther
commit 8b287b92fda1ad7439191edd9b417e31e90a9230
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 13:19:56 2010 +0200
rap: add rap idl.
Guenther
commit 1ede2a0577fa85100f95526386bc5298b565da8c
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 22:06:47 2010 +0200
s4: rename RAP share_enum_info to share_info.
Guenther
commit 1055b3c229f9ab8b4d43a73346090bb72b88d607
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 26 12:29:03 2010 -0700
When walking the SMB2 requests queue, ensure the request is still "in flight"
before examining the details.
SMB2 requests stay on the queue until their out.vector has been
send, only then are they talloc_free'd.
Thanks for Ira Cooper <ira at wakeful.net> for giving me the
backtrace showing this.
Jeremy.
commit 6beba782f1bf951236813e0b46115b8102212c03
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 26 10:54:33 2010 -0700
Fix crash when rescheduling oplock open.
Jeremy.
commit abdb96b8ff373b78ffbf24c66c4e6b69886e87c4
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 26 16:44:34 2010 +0200
s3: Implement "net rpc user setprimarygroup"
commit 5ce1dbf2e328b8bf9987746bbd9ea10e6db58760
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 15:46:37 2010 +1000
s4-ddb: don't create partitions with the UNINSTANT flag set
these partitions and not on the server we are replicating from. Also
check for deleted partitions.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit a31c711ba7dcd7516fd7b4de8c602a2fc30672db
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 16:44:44 2010 +1000
s4-drs: allow getncchanges requests to non WRIT_REP partitions for extended ops
Needed for RID allocation
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6ee1c503bf90abbea137ce789ce5a8a54b437629
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 17:02:25 2010 +1000
s4-drs: don't send uninstantiated objects in getncchanges
This includes deleted partitions
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 159de40b0b5c2c3efc7bd4de83a15dc63299b730
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 18:43:46 2010 +1000
s4-drepl: don't send an UpdateRefs unless its a plain replication
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f66fcd96087fc0a65a214c0fa62b03048ff0c6d9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 19:04:33 2010 +1000
build: cope with realname for install of non-python libs
this fixes the install of mit_samba.so
commit 267e0b361693a94be258a21b2b305c5a97de3dda
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 14:39:15 2010 +1000
s4-drs: make links to foreign partitions non-fatal
DN links outside the set of partitions we are replication should be
allowed.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0a47bf5f15c8fc083125a90cf73ad1a04dc61e48
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 13:24:10 2010 +1000
build: automatically run autogen-waf.sh when needed
commit b0396807d0b357d238ef211275d25cb1852e7fdf
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 11:12:05 2010 +1000
s4-heimdalbuild: remove LIBNETIF dependency from HEIMDAL_GSSAPI
this avoids the s3compat layer from getting duplicate interfaces code
commit c6b8ffd3a507854c0a9379f83c37fa63de4816ef
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 11:11:21 2010 +1000
build: normalise paths in unique source checking
commit a241daae2d2c2acf150993dc90e234a851539963
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 25 21:00:44 2010 +1000
build: a library is only empty if it has no deps
commit c8824fd9b4cfd5a5925671ce41063764f27d50e8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 25 12:58:52 2010 +1000
build: use option_group() not add_option_group()
option_group() ensures we don't end up with duplicate groups
commit 6c79b9f4807f932ad9d09ebfa708d7a75fa35f45
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 25 12:41:41 2010 +1000
build: cope with duplicates in source lists
commit fd3eeb3878c94bfb8d2134dbdc17cfb5279d088c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 25 11:42:44 2010 +0200
s3: async_domain_request is no longer used
commit d53e3450c775a4eae9f5237ec85ed212479fbcbd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 25 11:40:30 2010 +0200
s3: Convert add_trusted_domains() to wb_domain_request_send()
commit d41836fb62e3059e042bf72d4392c2e85b55c582
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 25 10:36:58 2010 +0200
s3: Simplify trustdom_state
Don't store information explicitly as boolean flags that can be easily
retrieved from the domain when it's actually needed.
commit 13cdaf9417ab08425d9b7e244a6830d34147b889
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 25 10:25:55 2010 +0200
s3: Make "struct trustdom_state" its own talloc context
commit d61b07253b04a17226cfd92ef8bf785c93263ce3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 25 10:15:43 2010 +0200
libwbclient: Talloc is no longer used
commit b29f3f497bdcd4830ffbb615ad0dbc9f5d0af53c
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 24 19:36:01 2010 +0200
Revert "tsocket: not all systems have IPV6_V6ONLY"
This reverts commit 63fc3978089df403d7e63462593784ff3d05e6e7.
We now don't support IPv6 when IPV6_V6ONLY isn't available,
as we rely on the behavior.
metze
commit 26e6fb0efe461d55e72da637b1b921b77f28af73
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 24 13:07:50 2010 +0200
lib/replace/wscript: make sure IPV6_V6ONLY is available for IPv6 support
We really on IPV6_V6ONLY being supported.
metze
commit 41cd6f992829c45c890f5daf78eb3019633f3620
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 24 13:07:50 2010 +0200
lib/replace: make sure IPV6_V6ONLY is available for IPv6 support
We really on IPV6_V6ONLY being supported.
metze
commit db29b2d6d2dfdebb91292b0640642c545fbce025
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 24 19:28:48 2010 +0200
lib/replace/wscript: add replacement for IPV6_V6ONLY on linux systems with broken headers
This is needed on SLES8.
metze
commit e06cf3950252a46486aa046a4552ed6ebff175b3
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 24 19:02:22 2010 +0200
lib/replace: add replacement for IPV6_V6ONLY on linux systems with broken headers
This is needed on SLES8.
metze
commit 051535f196305f5ded4d786a2db977b0626ee0b9
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 24 18:10:37 2010 +0200
buildtools/wafsamba: inline defines during configure into the tests
There 2 reasons for this change:
- This is how autoconf tests work and it makes config.log much more useful
- The waf c preprocessor ignored changes in bin/default/__confdefs.h when using
waf configure -C, because is outside of the configure tests project path
and handled like a system header.
Many thanks to ita for pointing out the fix.
metze
commit 1ed5f7182074768a84eefc00bd2af64933799b4d
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 24 20:02:44 2010 +0200
buildtools/wafsamba: make sure we create bin/default/ before trying to create symlinks in it
metze
commit c88b83b7c1abc53866cda4e67c5183e11e31a910
Author: Matthieu Patou <mat at matws.net>
Date: Fri Apr 23 17:27:05 2010 +0400
s4 dns: Allow to specify static grant entries to be added to the dynamicaly generated named.conf.update
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit f25ebe37281f84608f13891e08d555e3db817963
Author: Tim Potter <tpot at samba.org>
Date: Sat Apr 24 11:04:32 2010 +1000
s4-smbd: Fix compiler warning in prefork smbd.
My first patch in a while...
Tim.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 92449412dcb1c809689eebd0ab7e2ebee3de6fbf
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 23 08:11:44 2010 +0200
lib/zlib/wscript: fix system zlib detection
metze
commit 4c7cc8bb6303e9f976cdb87e2c00849ac46f8f02
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 24 12:40:10 2010 +0200
Revert "nsswitch: Fix a memleak in wbinfo"
This reverts commit a97f2a0a9c0f1c148a0152202296bb078103b40c.
This was not a memleak, it was a valgrind false positive. We store "details" in
a static.
commit dbb7db6c2532bb18674c6acea27688f22c41efb8
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 24 11:11:45 2010 +0200
s3: sendto_domain() is lo longer used
commit 678a3c4e6dd68f3b2f81a3ad381be017e15de44d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 24 10:49:06 2010 +0200
s3: Simplify (bool != True) to !bool
commit a796542a930dec93c2a747c4b015d8d650a081fd
Author: Jeremy Allison <jra at samba.org>
Date: Sat Apr 24 00:29:41 2010 -0700
Implement oplocks within SMB2. Plumb into the existing SMB1 oplock system.
Seems to work but needs more tests (to be added).
Jeremy.
commit 247273196ff8035ef16805f04fe7c32ef9a8be50
Author: Jeremy Allison <jra at samba.org>
Date: Fri Apr 23 15:35:34 2010 -0700
When sending the initial async response, this is never part of a chain.
Get the reply flags correct.
Jeremy.
commit 0e6f4ed7035a3536c94d248b2ca9f890b0f07fb3
Author: Jeremy Allison <jra at samba.org>
Date: Fri Apr 23 15:34:58 2010 -0700
Don't free the entire tevent_req on cancel, only the part we need (the immediate event).
Jeremy.
commit 328ca041e0bd2657b6f5c1e9ea57684da5b68312
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 23 19:46:03 2010 +0200
libwbclient: Test WBC_CHANGE_PASSWORD_LEVEL_RESPONSE
commit 7099a3c446aa7a4de42c7cffa9b409f319f0ec76
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 23 19:44:05 2010 +0200
s3: Allow pdb password change using WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP
commit f43d1827f389e458d9430bddac7344c8117515c1
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 23 19:42:33 2010 +0200
s3: init_dc_connection() can't init for internal domains
This fixes a crash in winbindd_dual_pam_chng_pswd_auth_crap when given
global_sam_name() in the domain field
commit 03115efae89c8c4f51dea1ce82613817bd9fcf5b
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 23 19:41:29 2010 +0200
libwbclient: Actually copy something in wbcChangeUserPasswordEx
The length argument for memcpy was initialized to 0 and not initialized
commit 6eec46ec44480db77d16bbd3332b8b10306f64f0
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 20 20:37:35 2010 +0200
s3: replace some data_blob_talloc by data_blob_const
commit 7574347e68b258456179614d65ecb5549dfe97a5
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 20 16:07:13 2010 +0200
libwbclient: Remove some pointless BAIL_ON_WBC_ERROR macro calls
commit f2f0fed8aad21e09837f256e00bb38f33dc73e44
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 20 11:11:19 2010 +0200
s3: Convert WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP to the new async API
commit 168b86c3847a5b575eef36cc2308802cbd25bb4a
Author: Simo Sorce <idra at samba.org>
Date: Fri Apr 23 14:26:33 2010 -0700
s3-smbd: group print relate data in own structure
commit 2bbb8c917e372ceeb1e144259d9d2b0eab7cc212
Author: Jeremy Allison <jra at samba.org>
Date: Fri Apr 23 13:10:15 2010 -0700
Allow smb2 create requests to be cancelled.
Jeremy.
commit dd2025947136f28b22b70de59309e149a1f45f3d
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Fri Apr 23 10:55:46 2010 -0700
Fix bug #7384 - dptr_Close has a bitmap leak.
s3: Fix to dptr_Close
This fixes a bitmap "leak" in dptr_Close by making it use the same internal
routines the rest of the code does.
commit 350f4e348c192dd9986c5d948cd5d94a777419d4
Author: Jeremy Allison <jra at samba.org>
Date: Fri Apr 23 10:53:44 2010 -0700
At simo's request return struct tevent_req *treq -> treq. For consistency :-(.
commit 2b13a8d6506bb06f2464a0ed70fb505e43ea5b5b
Author: Jeremy Allison <jra at samba.org>
Date: Fri Apr 23 10:29:48 2010 -0700
Rename - no functional change. Stop all variables being called "req".
tevent_req -> treq
struct smb_request -> smb1req
struct smbd_smb2_request -> smb2req
Jeremy.
commit 251cd42ed5b62afe8272099707347c1b0f61023e
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 21 17:13:02 2010 +0200
s3-spoolss: Added a winreg_get_printer function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit e15d624c0ae539460de367ab2b33f83f41d81393
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 21 12:56:39 2010 +0200
s3-spoolss: Added a winreg_create_printer function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit a61297647db696d193c081522f44ff09bf260bce
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 15 17:53:39 2010 +0200
s3-spoolss: Added a winreg_update_printer function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8cb79bf4cd577468dd891106ce6e0d01969b2233
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 19 21:50:52 2010 -0400
s3-spoolss: Added a winreg_get_driver_list function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8db203a4a60a8d043e36138873ed457f48acce72
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 19 21:01:38 2010 -0400
s3-spoolss: Added a winreg_del_driver function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 16e0f806872eaf620b12c375d25f0043d5dea704
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 21 09:38:39 2010 -0400
s3-spoolss: Added a winreg_get_driver function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit a91f6f8b03b5c9342853229dc634bd217e289d5d
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 21 09:37:08 2010 -0400
s3-spoolss: Added a winreg_add_driver function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8f56cdfaee571a5b4bb735290dfd668ef8c4d730
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 14 20:46:55 2010 -0400
s3-spoolss: Move info_ctr conversion to a public helper.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 94a8482261526c7bb3ae15194bf3939978b324b6
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 23 14:45:48 2010 +0200
s3-spoolss: Fixed winreg_delete_printer_key if key is NULL or emtpy.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 96a04b067efe34d16ab14339703be89d27e64b0b
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 21 09:58:51 2010 -0400
s3-spoolss: Add date and version winreg helpers.
Signed-off-by: Günther Deschner <gd at samba.org>
commit b33e877aad0485c88ba4ff0223004e92c4cb78e2
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 21 18:12:50 2010 +0200
s3-spoolss: Added more winreg hepler functions.
Signed-off-by: Günther Deschner <gd at samba.org>
commit d4f563d9d4fcefc0523cfdc5c75b2256e4f28aeb
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 21 09:51:37 2010 -0400
s3-spoolss: Added winreg helper functions
Signed-off-by: Günther Deschner <gd at samba.org>
commit 0ed5e36c67020f11c865f66584c0f800f5b27cf3
Author: Andreas Schneider <asn at samba.org>
Date: Mon Apr 12 15:54:01 2010 +0200
s3-spoolss: Added a winreg function to query a dword.
Signed-off-by: Günther Deschner <gd at samba.org>
commit e7d674282191152f29d0fe812af9c5afcba084b9
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 15 21:51:16 2010 +0200
s3-spoolss: Added a function to get the ChangeID from a printer.
Signed-off-by: Günther Deschner <gd at samba.org>
commit b04a260e4e8b5d317e36d758f16aff090d567d7c
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 15 15:18:26 2010 +0200
s3-spoolss: Added a function to update the ChangeID of a printer.
Signed-off-by: Günther Deschner <gd at samba.org>
commit a18cd32a3478d533b679bc134b7dda66e1869521
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 9 12:36:37 2010 +0200
s3-spoolss: Added winreg helper functions to write registry values.
Signed-off-by: Günther Deschner <gd at samba.org>
commit b320fad6e4c6991f636e3635aeba3d5e1a7a9ed5
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 9 09:26:24 2010 +0200
s3-spoolss: Fixed return values of winreg_printer_deleteform1.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 012c1feda5dc4b0841724e914a8ad30e0d2f1e91
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 9 09:26:08 2010 +0200
s3-spoolss: Added missing return value to winreg_printer_enumforms1 docs.
Signed-off-by: Günther Deschner <gd at samba.org>
commit d65485b3c5b9168609069e0d771db11424fcddb4
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 21 17:59:55 2010 +0200
s3-spoolss: Use const values for notify functions.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 3f1cc29814c62b60a5615bb05c13addd171cc141
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 22 12:33:29 2010 +0200
s3-time: Added a function to get the startup time of the server.
Signed-off-by: Günther Deschner <gd at samba.org>
commit bb22855af51d27eed1b18b33689f6dc39e09f068
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 15:31:21 2010 +0200
s3-lanman: fix uninitialized variable in api_RDosPrintJobDel().
Guenther
commit 30b1e44382e1b81999c6388866305fb0324252a3
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 13:52:57 2010 +0200
s3-selftest: enable RPC-SPOOLSS-DRIVER against s3.
Guenther
commit 6beec1a04df635c9c8539e4837cc783e76b3c562
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 13:52:19 2010 +0200
s4-smbtorture: skip tests when no local driver directory is around.
Guenther
commit 14bb3f71aa3a2c23c5a0396deae4af9ab1e3ac5d
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 13:51:33 2010 +0200
s3-selftest: add print$ share with two arch dirs.
(make test variant)
Guenther
commit 2a2de10ac690ad13d3474a252729fc36c79321fc
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 13:51:02 2010 +0200
s3-selftest: add print$ share with two arch dirs.
Guenther
commit 4b1dab5b11d77d9fcac0ff5541ae5713db9106ec
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 12:17:04 2010 +0200
s3-winbind: fix setup_domain_child() callers.
Volker, please check.
Guenther
commit ca0e5ea8331857bca5207105c6bb4b6aaa8edadb
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 11:39:12 2010 +0200
s4-smbtorture: use server_name for all printerdriver delete and enum operations.
With this s3 passes the RPC-PRINTER-DRIVER test.
Guenther
commit 698b7780c90687e9c1744e2435865dba1f18b274
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 11:33:51 2010 +0200
s3-spoolss: make switch in _spoolss_AddPrinterDriver() a bit more clear.
Guenther
commit 4be5d59c4f034ef9a125fe813e9e02ba5c2c833b
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 11:27:51 2010 +0200
s4-smbtorture: allow to upload or remove any file belonging to a driver.
Guenther
commit c82fd3ed30ef2c804b6370d9d2ff1e1a6d2797f5
Author: Volker Lendecke <vl at samba.org>
Date: Wed Apr 21 17:04:49 2010 +0200
s3: Fix a winbind crash when scanning trusts
add_trusted_domain() for a new domain always needs to be followed by a
setup_domain_child(). This was not always done, in particular not when walking
to the forest root for additional trusts.
This is a minimal patch, we need to fix add_trusted_domain().
commit 8f67f873ace91964da066c421986e260aceba75b
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 22 23:52:19 2010 -0700
Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2.
Makes SMB2Create call re-entrant internally.
Now this infrastructure is in place, oplocks will follow shortly.
Tested with Win7 client and with W2K8R2.
Jeremy.
commit 9cd712d1bc1ac5140597e86b5c634d2c820d86de
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 23 07:06:03 2010 +0200
s3: Fix a cut&paste error in a debug message in check_oem_password()
commit a14938377e42344eb04a3d3003199b231e88dc8d
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 03:04:47 2010 +0200
s3-spoolss: make sure AddPrinterDriver calls into AddPrinterDriverEx.
Not vice versa. Also disable some info levels in AddPrinterDriver according to
MS-RPRN 3.1.4.4.1.
Found by torture test.
Guenther
commit 587921b7da93cc02386193ac4c3354db4717fa3f
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 03:03:59 2010 +0200
s4-smbtorture: fix test_EnumPrinterDrivers_findone().
Guenther
commit 20133cfe560f2bd84b5c2ebab9dc25b0c98efeb9
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 02:49:42 2010 +0200
s4-smbtorture: samba currently supports level 3 and 6 driver adds.
Guenther
commit 413ffe9adb8eea488133da0249dcb2eca08fd69d
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 02:34:43 2010 +0200
s3-spoolss: fix some crash bugs and missing error codes in AddDriver paths.
Found by torture test.
Guenther
commit f6bdfd94239baede6b485ca45ee8365f33fd3008
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 01:58:02 2010 +0200
s4-smbtorture: test both 32bit and 64bit driver uploads in RPC-SPOOLSS-DRIVER.
Guenther
commit 74592f47f5f4d7646527d5788eadf2c6ebc7e950
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 22 18:47:27 2010 +0200
s4-smbtorture: allow to upload and later remove printer driver files in RPC-SPOOLSS-DRIVER.
Guenther
commit 29775e39b18270e2345097c3fc80a87efd69484d
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 2 21:49:15 2009 +0200
s4-smbtorture: add RPC-SPOOLSS-DRIVER test.
Guenther
commit 431faed5f4b2a21d05ca023ae5c56b1c6d741f44
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 21 15:08:40 2010 +0200
s4-smbtorture: rework EnumPrinterDrivers tests a bit.
Guenther
commit 93c86fe6155bea76818b569bbc883cecc7130dd1
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 23 08:24:34 2010 +1000
build: give a more useful error when the source dir has moved
you need a distclean if you mv the source directory
commit a36c7b8b74c209b010e763487a750472d9c2e0a1
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 23 08:24:02 2010 +1000
build: use 'waf distclean' for make distclean
this cleans up the more than rm -rf bin
commit bd08249d683fd2f5ce6358ec2a9cebf2d03db1c6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 22 19:35:54 2010 +1000
s4:provision Remove moduleload for 'hdb' (wrong name).
The backends are not normally modules anyway
commit 440075247d11a7852d8567753f426fa67f41d875
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 22 11:42:45 2010 +0200
spoolss: pretty-print a struct spoolss_Time.
Guenther
commit 404f7ac0292c91ef3101e9bc32b8aea3b2aec4be
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 17:53:25 2010 +1000
s4-cldap: we should set the w2k8 flags even if not the PDC emulator
these two tests are independent
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e7262b51d1a8905ba3b874f5d48eab4292ebca4d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 16:56:40 2010 +1000
s4-drs: validate RODC credentials via the user_sid
This checks whether a replication client is a RODC by inclusion of the
the DOMAIN_RID_ENTERPRISE_READONLY_DCS sid in the users token
Pair-Programmed-With: Rusty Russell <rusty at samba.org>
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit bb1ba4ff76eb90d0d62dd3edbe288f45cf7a0a1e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 16:48:01 2010 +1000
s4-drs: added new SECURITY_RO_DOMAIN_CONTROLLER level
This is used for allowing operations by RODCs, and denying them
operations that should only be allowed for a full DC
This required a new domain_sid argument to
security_session_user_level()
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Pair-Programmed-With: Rusty Russell <rusty at samba.org>
commit ec0bb2f46b855d44cccb71a5511c2acb7d8eae09
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 16:44:53 2010 +1000
s4-net: fixed two compiler warnings
commit ec3d1de61dd81f042b9ac65ff4f94db5b4ae643c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 16:44:30 2010 +1000
s4-torture: fixed a initialiser
we were not initialising the whole array
Pair-Programmed-With: Rusty Russell <rusty at samba.org>
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 47712ab3dd63d3da408d37f6efea08cc34407b1d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 16:43:21 2010 +1000
s4-libnet: fixed two compiler warnings
commit 1f92df90fdb0ade233af52df1fbc9e76bddb4fd0
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 16:41:32 2010 +1000
s4-drs: removed dsdb_validate_client_flags()
This test is in the wrong place. We end up validating our own flags.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 90230ce27eaa81e02273f0120b7cdc99879514ac
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 14:56:19 2010 +1000
s4-drs: only allow replication with the right invocationId
Non-administrator replication checks the invocationId matches
the sid of the user token being used
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0d3823b15248ed6269bb0a513d862ef694bfde64
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 14:55:54 2010 +1000
s4-dsdb: removed an unused variable
commit a06b537cc30cb21e77f58b5e9ea2a8f89c4683e0
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 14:54:52 2010 +1000
s4-dsdb: added dsdb_validate_invocation_id()
this validates that a invocationID matches an account sid
This will be used to ensure that we don't allow DRS replication
from someone a non-DC or administrator
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 1ecefd74a2b7a6cec0c6ef765669eab0635e5568
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 14:53:53 2010 +1000
s4-dsdb: added dsdb_get_extended_dn_sid()
This will be used by the RODC code
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6669152a4a5919ecad633b594708d6b95577b4dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 14:52:19 2010 +1000
build: we don't need this makefile magic any more
The waf build now checks for all A=B variables passed via make
and sets the same waf internal variable. This means all waf options
are available via make.
Removing this from the Makefile makes us less reliant on a modern
version of make.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 70cc9fd5c62f385d6e94380597f02da80cea3649
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 13:32:55 2010 +1000
s4-dsdb: moved rodc schema validation to samldb.c
This means we are only doing the checks for schema changes
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 73513fb7e7145e9abe1a155acd47c27bc09c5092
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Apr 15 18:54:13 2010 -0300
s4-drs: Use new samdb_rodc() function in s4 code
This patch fits the calling to the new samdb_rodc() function and
fix a little bug in this function.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit d940a44496f184073fe036fc1977796c901ec96d
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Apr 15 17:42:08 2010 -0300
s4-drs: Do not send RODC filtered attributes to RODCs on GetNCChanges reply
During building an object to send it on a GetNCChanges reply, it checks
the attributes and if any of them is a RODC filtered and the recipient
is a RODC, then such attribute is not sent.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 59aa0a07d24bfb9ff9795ffe90801577043058a5
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Apr 15 17:39:54 2010 -0300
s40-drs: Do not send GetNCChanges messages to RODCs
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit fbdbd67c7640757f80a2ffd70a17c6ab50491844
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Apr 15 17:38:47 2010 -0300
s4-drs: dsdb_validate_client_flags() function
This function is intended to check if some client is not lying about
his flags. At this moment, it only checks for RODC flags.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 57bcdf008fa44d4c550819cbceada968b11be63c
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Apr 15 17:37:40 2010 -0300
s4-drs: samdb_is_rodc() function and new samdb_rodc() function
This patch creates the samdb_is_rodc() function, which looks for
the NTDSDSA object for a DC that has a specific invocationId
and if msDS-isRODC is present on such object and it is TRUE, then
consider the DC as a RODC.
The new samdb_rodc() function uses the samdb_is_rodc() function
for the local server.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit c023fc217ed370e5c890c1984da533e0133060d9
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Mar 25 16:58:58 2010 -0300
s4-drs: Do not allow system-critical attributes to be RODC filtered
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit e11f92ba73028b608207ed91aaa22376756d7a73
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 22 17:20:21 2010 +1000
s4:provision Make OpenLDAP backend more robust
With the extra moduleload lines (which succeed if it's already
staticly linked), we now work with OpenLDAP overlays as modules.
Andrew Bartlett
commit 47e7e487469fa1f3fafe0a52560e0049801a5ac7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 22 11:39:21 2010 +1000
s4:ldap-backend Fix LSA test failures with OpenLDAP backend - convert SIDs
The SIDs in some queries were not being passed as binary, but as
strings in comparison with the securityIdentifer object. We need to
recognise that these are SIDs in the simple_ldap_map.
Andrew Bartlett
commit 466fbe278a6f96f1b9942954a164262a14894bfe
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 22 11:38:43 2010 +1000
s4:provison Pass nosync in for the OpenLDAP cn=config too
commit fe3d872656ff68de60c1af91ccf292e2565fde8b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 22 11:37:41 2010 +1000
s4:selftest Ensure we don't fsync() all day in the LDAP backend test
Passing this option greatly reduces the time spent in the test.
Andrew Bartlett
commit cbb818222aea20b47adbcd5e4461949d7e5d5107
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 20 15:35:51 2010 +1000
s4:OpenLDAP-backend Use the new rdnval module in OpenLDAP
This is rather than rdn_name, which tries to do the job on the client
side. We need to leave this module in the stack for Fedora DS (and of
course the LDB backend).
Andrew Bartlett
commit 9eacde808ee464343620a311bb2bdea5ac7b5ee8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 20 14:49:30 2010 +1000
s4:dsdb Revert accidentilly commited change for LDAP backends
In the future, LDAP backends will be resposible for maintaining the
'name' attributes.
Andrew Bartlett
commit a50f6aad85b5fcbefafa52869651eb503b719cc6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Apr 21 08:00:44 2010 +1000
s4:provision Use more reasonable values for DB_CONFIG
With the OpenLDAP backend, the old DB_CONFIG caused OpenLDAP to abort
on startup, and was very inefficient. This new one, kindly supplied
by Matthew Backes <mbackes at symas.com> uses a more reasonable set of
buffer sizes.
Andrew Bartlett
commit d950e9e6f31c8657aee951728ef5d63ca572b01c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 12:03:22 2010 +1000
build: added --enable-auto-reconfigure
this is off by default until some issues are resolved. See my mail to
samba-technical for details.
commit 3a8b67fd3604ed4f129df42543824d04b7197089
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Apr 21 18:04:53 2010 +0200
s4:netlogon RPC server - fix a counter variable type
commit adb5f943de841e00b5aabe67b0b4c58b692f9078
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 17:29:00 2010 +1000
build: recalculate project deps when NONSHARED_BINARIES changes
commit 681f3dad7c32fc5dcf51ceda889d1f115a641aaa
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 17:13:16 2010 +1000
build: added --nonshared-binary=LIST option
This allows you to specify some binaries that should be built without
shared libs. A non-shared smbtorture will make testing s3 in the build
farm easier
commit 1d5aee6b91004d71609b3203c919ef39888c86cc
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 16:21:30 2010 +1000
s4-waf: python devel headers are mandatory for the source4 build
commit 06fa4c8ebcd5a3e4ef5c9d9a3b3d9516d3b94ce7
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 16:17:08 2010 +1000
build: make python development headers not mandatory in standalone libs
This needed an update to the python tool in waf
thanks to Kai for spotting this
commit ab2555faac253bdea46540aa1251977c46b02f35
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 15:36:26 2010 +1000
waftest: updated the cross compilation environment I test with
commit 612a34ad69c043e42970e01f2f026dff7dc07728
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 15:35:55 2010 +1000
s4-server: show build host in samba -b output
commit 667f672c94eb3e935ae3463a203dfa85b900726a
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 15:15:55 2010 +1000
build: fixed uname output to be on target machine when cross compiling
this also makes the output of define_ret configure tests show up
in the configure output
commit 5e695dec2af347dd9211a1dec45f10f751bbafb5
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 13:35:52 2010 +1000
s4-upgradeprovision: fixed --realm option duplicate in upgrade_from_s3
commit 2edff9f5ff2e61f2d6c2705f05ebcab4d61b4307
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 12:39:32 2010 +1000
s4-drs: accept zero revision in drs selftest
Kamen, please have a look at this. We need to accept revision zero as
w2k8r2 sends it during initial schema replication
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 8fdfcde56cc78e8ea5c0bc2aa6c1dfa5515ff2c0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 12:32:26 2010 +1000
s4-provision: cope with --realm being in getopt.py
we still need to allow for interactive querying of the realm
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit b0a73fbf30ca73934be670c812acebc88255ba2b
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 12:02:33 2010 +1000
s4-waf: create the smbd.tmp/messaging directory
this prevents a warning when we run net vampire from the install dir
when samba has never been run previously
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 1a68311d41665b7f3ca1209ca1edf1bb92673bc4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 12:01:47 2010 +1000
s4-python: added --realm option to python scripts
this is needed for net vampire
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0c0bbf2932edc55a897029f34faee105e5b694aa
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 12:01:16 2010 +1000
s4-provision: set "setup_dir" to the right path
This needs to cope with both running from the build tree or running
from the install tree. We use the provision.smb.conf.dc as a sentinal
to detect if we are in the build tree.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 2dcc84432ec264d6b322c281d0db1d731ce16b1b
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 11:34:24 2010 +1000
s4-schema: allow revision numbers of zero
w2k8r2 sends a revision of zero in the initial schema replication
during a net vampire
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 024b53755c88855d7e88f256af03bd24280999f0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 11:33:43 2010 +1000
s4-python: accept --option arguments in python cmdline parsing
also fixed the -d option to use lp.set() which calls lp_set_cmdline()
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 899fa60dd2cf24fc32c83f17080fa5f221861541
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 11:32:58 2010 +1000
s4-devel: allow extra net command line options and gdb
This allows you to run:
GDB="gdb --args" vampire_ad.sh
and also to add higher debug levels like this:
vampire_ad.sh -d100
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 7ccebb49af8d7d77ce2f3e9124148e1f4100165c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 11:31:59 2010 +1000
s4-pynet: accept None for target_dir in vampire
commit 61bdffbf8e6789e7fbac3f0432840059fe98ab17
Author: Jim McDonough <jmcd at samba.org>
Date: Tue Apr 20 17:45:06 2010 -0400
Fix i18n of net conf import error message.
Thanks gd
commit a22f03e02c99c78642978c8e7a06ae92f97ad41f
Author: Jim McDonough <jmcd at samba.org>
Date: Tue Apr 20 16:28:47 2010 -0400
Display an error on net conf import failures.
When something goes wrong, such as a typo in a parameter
name, we'll now display the failure instead of just returning
with -1 and no message.
commit 6bf4dbb955a1d769008291b31f859c3352f02ad8
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 20 19:50:37 2010 +0200
s4-smbtorture: add spoolss DriverInfo and winreg consistency test.
Guenther
commit 0833c9639e3e7fb7e14dc25d90f4a9973e717cbc
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 20 19:29:12 2010 +0200
s4-smbtorture: add function to get a printserver's environment.
Guenther
commit 545ef2ca7636507f86f370ae57937de7a6bd5d2e
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 20 18:16:03 2010 +0200
s4-smbtorture: simplify macros used in PrinterInfo winreg consistency teste.
Guenther
commit e647b8c61f9b65e4c4d07eae7f1a4c2be711b8de
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 20 16:25:27 2010 +0200
s4-smbtorture: refactor test_GetPrinterDriver2().
Guenther
commit 7e9e5291de3e3a44491a482754515d2e76a99a83
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 20 15:58:02 2010 +0200
s4:dynconfig: fix the autoconf build and pass -DPYTHONDIR=\"$(pythondir)\"
metze
commit 135208d99067a7c84920ef7ce85955021f7be997
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 20 16:00:52 2010 +0200
s4:rpc_server/netlogon: add no memory checks
metze
commit b4b43fcb4c3e8b046489ea03b70f7c0a77bc5065
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 23:42:28 2010 +1000
s4-netlogon: fixed dc_unc and dc_address_type
These are needed for dcpromo from w2k8r2
commit 5e69259671d317aebaae54ec9adc30e58f70076f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 23:17:32 2010 +1000
build: added uname display and SYSTEM_UNAME define
suggestion from Metze
commit a9f5bfb3a5324f09a07657a8bb28bb4510485d31
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 21:45:33 2010 +1000
util-runcmd: ignore spurious ECHILD errors
when we get ECHILD in samba_runcmd it is because the parent has set
SIGCHLD to SIG_IGN. In that case the child status information is
lost. We then have to fallback on the logging of child error messages
for any useful information on what happened to the child.
A longer term fix is to stop using SIG_IGN for SIGCHLD in the standard
process model of s4.
commit 4f5298cbb4c044b6bde0cda04d182651f826ee53
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 20 14:15:24 2010 +0200
s4-smbtorture: add test for csetprinter field behaviour in printer info level 0.
Suprisingly, that value is always 0 (at least on w2k8r2).
Guenther
commit ac11b616dd67847be4f54f6fc08b64bacc0802f4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 20:30:41 2010 +1000
s4-net: don't show a full python exception when you can't open sam.ldb
commit 9b66b7abcc828d864d2049133f2f0a5b41994ddd
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 20:27:41 2010 +1000
s4-net: show a list of commands when someone runs "net" with no arguments
commit 1f7da85c77f47b28a971374f42a1668a92398eb4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 20:24:08 2010 +1000
s4-python: added PYTHONDIR to python search path
we put it after the scripting/python dir, so we look in the build
directory (if applicable) first.
commit 6072ab0d57487fcb9b00706b37898be003ff211b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 20:23:04 2010 +1000
s4-dynconfig: added dyn_PYTHONDIR
commit 58549ab44a478dc0f896244579589e11aad8296c
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 19 18:51:26 2010 +0200
s3-spoolss: fix winreg spoolss helper call documentation.
Guenther
commit 7e4eb13ba40fbe0d2df9d7633f24cc70b74905c2
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 19 18:34:36 2010 +0200
s3-spoolss: avoid passing down full "struct pipes_struct".
Guenther
commit 41716a8c137946728085b897cd2217e0d0431e7f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Apr 18 18:49:51 2010 +0200
s4:netlogon RPC - "fill_one_domain_info" - use "lp_workgroup" for the DC short domainname discovery
Here we don't need to use "lp_sam_name" since in this function we are always a
DC.
commit 39d612ff4c9131d0f06894da80e739aedf6ffe14
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 20 09:01:22 2010 +0200
s4:torture/rpc/netlogon.c - fix typo
commit f1c523939b88aee0b1ce7375d68b06a0b8cf5d28
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 15:33:00 2010 +1000
pytalloc: ensure talloc_ctx is directly after PyObject_HEAD
the talloc python interface for tp_alloc and tp_dealloc relies on a
cast to a py_talloc_Object to find the talloc_ctx (see
py_talloc_dealloc). This means we rely on the talloc_ctx for the
object being directly after the PyObject_HEAD
This fixes the talloc free with references bug in samba_dnsupdate
The actual problem was the tp_alloc() call in
PyCredentialCacheContainer_from_ccache_container() which used a cast
from a py_talloc_Object to a PyCredentialCacheContainerObject. That
case effectively changed the parent/child relationship between the
talloc_ctx and the ccc ptr.
This patch changes all the structures that follow this pattern to put
the TALLOC_CTX directly after the PyObject_HEAD, to ensure that if
anyone else decides to do a dangerous cast like this that it won't
cause the same sort of subtle breakage.
Pair-Programmed-With: Rusty Russell <rusty at samba.org>
commit 45be1c7ba4382d85c742a241687bbc6d5a2ebd8c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 15:30:57 2010 +1000
talloc: there is no ambiguity when freeing a ptr with a null parent
when a ptr has a single reference and a NULL parent, then
talloc_free(ptr) is not ambiguous, as the caller could not have done a
talloc_free(NULL) to free the memory
Pair-Programmed-With: Rusty Russell <rusty at samba.org>
commit 773a8afbba27a5e2e48577100f3ca9873b506615
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 13:53:35 2010 +1000
tdb: update tdb ABI to use hide_symbols=True
We now use -fvisibilty=hidden to hide symbols from outside the tdb
shared library.
This also moved tdb_transaction_recover() into the tdb_private.h
header, as it should never have been a public API. For that reason we
are changing the version number. We're only doing a minor version
increment as it is extremely unlikely that anyone was actually using
tdb_transaction_recover() as its locking requirements were rather
unusual.
Pair-Programmed-With: Rusty Russell <rusty at samba.org>
commit cdaac0afc12d155417764baa135bf29067103da4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 13:51:16 2010 +1000
build: include uninitialised data in the ABI symbols
This is needed for symbols like tdb_null in tdb, which are part
of the public ABI
Pair-Programmed-With: Rusty Russell <rusty at samba.org>
commit 0e56037129fb9ddca1ace8b18126e56cd587c5a6
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 12:51:43 2010 +1000
build: quote cross-answer strings
This allows for spaces and special characters in cross-answers
commit f2bd78cb2652d3db69d0016b94c4506ada4b61c0
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 12:49:50 2010 +1000
build: allow "waf --abi-check" to force a re-check of the ABI
commit 538a07a80aae72b57e5c23133158c7f214d0c27a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 20 14:24:22 2010 +1000
s4:provisionbackend Print the command we failed to start slapd with
This makes it easier to put failed startups into a debugger.
Andrew Bartlett
commit ea5cf7ce05f295c34d0fca194ed7d8691f1e04ab
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 20 11:48:51 2010 +1000
s4:provision Pass in the invoication ID and NTDS Settings DN to Schema()
By putting these values into the cache on the LDB, this reduces some
of the noise in provision, particularly with the LDAP backend.
Andrew Bartlett
commit 60d36929189eb8c5749431a4d90266b34c26b0c3
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 19 14:32:08 2010 -0700
Now SMB2 error messages are correctly being returned with the 1 byte data area, smbd_smb2_request_error_ex() must call smbd_smb2_request_done_ex() in order to do the padding correctly on compound replies.
Jeremy.
commit 8bf7942fa4a5aceda3b01e9d5ad555a444b80faa
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 19 13:43:42 2010 -0700
Ensure vectors are always allocated with consistent size. Removes one byte alloc on SMB2 error packet. Always use talloc_zero_array on out vectors - fixes valgrind errors in tevent writes.
Jeremy.
commit eacf5b235dd27ef844ebee80ded37ec7ecdf8ab2
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 19 13:42:55 2010 -0700
Fix valgrind error where a strdup of name reads one byte beyond the end. Ensure buffer returned from inotify is null terminated.
Jeremy.
commit 4fc59089c81b251b4fab17f170e96bd6dac02490
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Apr 20 00:23:42 2010 +0300
Removed more excess looping and fixed problem with incorrect IO flag handling.
commit cea24c4620a782fec4a5e6da0892c9fa6d712d6a
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 19 11:38:49 2010 -0700
Remove an unused auto variable.
Jeremy.
commit ba537079cff577237b7df50ab15fabb5b0086166
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 19 15:56:30 2010 +0200
libwbclient: wbcFreeMemory deals fine with a NULL pointer
commit 89bbc41d029e2327a9b9a3408c7552ce3e75e855
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 19 15:50:11 2010 +0200
libwbclient: Fix wbcListGroups against too small num_entries
Thanks for the s4 winbind sending 0 here and Tridge to point it out to me :-)
commit 6d898b45a381b3a93da4ac2c4e1af0487dd838ef
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 19 15:50:11 2010 +0200
libwbclient: Fix wbcListUsers against too small num_entries
Thanks for the s4 winbind sending 0 here and Tridge to point it out to me :-)
commit 23fd76433ab3f1fe4462e39633bc55e26bf050fc
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 19 16:08:59 2010 +0200
s4:winbind: fill response.data.num_entries for WINBINDD_LIST_USERS
metze
commit 629e73eeedb2aea2bda016bbc5559a66e3a86b59
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 19 16:08:41 2010 +0200
s4:winbind: fill response.data.num_entries for WINBINDD_LIST_GROUPS
metze
commit da17719241b33f97ecb7e36104d7e8869f3e71e9
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 19 16:07:28 2010 +0200
s4:winbind: fill response.data.num_entries for WINBINDD_LIST_TRUSTDOM
metze
commit c293359daf502543fb682fb0c925514c54dbdaf7
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 19 15:24:59 2010 +0200
s3: Remove a leftover of my lua experiments
commit 56b4aa326626128c178c838977ef9e3d564b7bc7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 18 14:14:43 2010 +0200
s3: Move the in-memory ccache to the parent
None of this blocks, so there is no reason to keep this in
a winbind child process
commit c04ce964e970b6f08fc768e93f5df2c5cbd09746
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 18 14:10:35 2010 +0200
nsswitch: Add wbinfo --pam-logon
This does a wbcLogonUser with credential caching
commit e0d7a8424264bb9a240409b67d4c363e154097dc
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 21:31:57 2010 +0200
s3: Test for wb ccache access by smbclient
commit 5aa88782ce0615a3d171682fbb13a182e586ec69
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 15:15:00 2010 +0200
libwbclient: remove async libwbclient and talloc from libwbclient.so
Except for tests there is right now no active user of this. We can easily
re-add this when smbd makes more use of it.
commit 76972533da513f8b7a1bca5f6a401d1476a9dba5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 14:20:15 2010 +0200
libwbclient does not need talloc_free anymore
commit 7072cc0c9d6b64f286bdb325bdc78aa7dba62ada
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 22:11:08 2010 +0200
libwbclient: Make wbcListTrusts not use talloc
commit d582caa1755114bda9e8789c444bb28c663a7e6b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 14:52:08 2010 +0200
libwbclient: Make wbc_create_error_info not use talloc
commit f4c8f5146c6ee06e9ca77d77cb7f19e522ca31ff
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 14:01:23 2010 +0200
libwbclient: Make wbcCredentialCache not use talloc
commit 802876af3b29a628f9489f17424b83cb17b194e0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 11:58:04 2010 +0200
libwbclient: Make wbcAuthenticateUserEx not use talloc
commit 406e55fafb54059a3fe91aa0111e83dad2fac6d5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 11:57:39 2010 +0200
libwbclient: Make wbc_create_logon_info not use talloc
commit d36829c108eb161fd20894c6b03a0f0f0e73a1be
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 23:08:20 2010 +0200
libwbclient: Make wbc_create_auth_info not use talloc
commit 1ecdff2bf8fcf857c3b452f7259cbc1078954c06
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 22:22:17 2010 +0200
libwbclient: Make wbc_create_password_policy_info not use talloc
commit ac8860d83d85ee80db510fe214abbfdc2bfdbef8
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 20:16:14 2010 +0200
libwbclient: Test wbcGetGroups
commit fc2cca5c28a603dc656b405019f82cafbe0c1d6a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 22:20:04 2010 +0200
libwbclient: Make wbcGetGroups not use talloc
commit f6a34cb0e0305e0b5d393e4ee7a8ae86bde1e9a7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 19:57:48 2010 +0200
libwbclient: Make wbc_create_domain_controller_info_ex not use talloc
commit d959fec39e636b531c36e4be88d7c97a86a8a1ce
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 19:57:11 2010 +0200
libwbclient: Make wbcLookupDomainController not use talloc
commit df831df6668dcdf3ccc1681383d085f38f402e9c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 13:45:36 2010 +0200
libwbclient: Make wbcLookupUserSids not use talloc
commit 460e2d5dada63786cce168b704ea1c005be6db2e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 15:51:27 2010 +0200
s3: Change the make test password to "testPw"
This way we can change back to it when testing testing wbcChangeUserPassword,
"test" is too short (<5 chars)
commit 3aaa07afea4fa66e2767fd3fb8f06b0018aaefa8
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 15:50:31 2010 +0200
libwbclient: Test wbcChangeUserPassword
commit 496c459388f56f9c79a3ca1cc1a913946d4e62be
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 14:05:57 2010 +0200
libwbclient: Abstract out test_wbc_authenticate_user for reuse
commit 9d0629d1552cac93ad8b746fa60122432762e6ac
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 16 16:28:05 2010 +0200
s3-winbind: Allow changing the password for pdb
commit 45eeed2893e569483136c3f998eacb776d52e1ce
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 1 16:44:16 2010 +0200
s3: Convert WINBINDD_PAM_LOGOFF to the new async API
commit 518a4f5423bb360cf886aa1ce951f5323f4b12f9
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 1 12:35:14 2010 +0200
s3: Convert WINBINDD_PAM_CHAUTHTOK to the new async API
commit d869e7a0d85a4719078437539267c4acdf97dece
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 30 23:02:36 2010 +0200
s3: Convert WINBINDD_PAM_AUTH_CRAP to the new async API
commit 61ec0f571ad81dc101fe6de7a8e9674a7119cf2b
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 29 17:52:38 2010 +0200
s3: Convert WINBINDD_PAM_AUTH to the new async API
commit fddef8fd0ae169ebd2f20d9cc2458d2df44110a0
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 13 22:52:17 2010 +0200
libwbclient: Test wbcLogonUser
commit 8869480f015215a8c9bf77cc6c646a4a02979f1d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 19:50:25 2010 +0200
libwbclient: Make wbcAddNamedBlob not use talloc
commit 8ebb999b4ad7e01f1174f0943ea4240f4afbe5fd
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 15:03:49 2010 +0200
libwbclient: Make wbcResolveWinsByIP not use talloc
commit 1637be5c557e2e902568338c69967da6b0e7da27
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 15:03:20 2010 +0200
libwbclient: Make wbcResolveWinsByName not use talloc
commit f3e87ecd2c18c5ed56fa018925685d10f9804af0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 15:02:40 2010 +0200
libwbclient: Make wbcDomainInfo not use talloc
commit 7f454c3078d27d14395fbb9b38a08b869e49d6a6
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 14:59:07 2010 +0200
libwbclient: Make wbcInterfaceDetails not use talloc
commit b62e57cec21fd8428ceb66e13a1e9856f8c6d40e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 21:38:38 2010 +0200
libwbclient: Test wbcAuthenticateUser[Ex]
commit 77c0b015c7719d3f0e3a97c4d339899857f019ab
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 14:46:11 2010 +0200
libwbclient: Make _SID_COMPOSE a function instead of a macro
commit b828985aa19f9d03823377cf64b7fb915ce0ba42
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 14:33:17 2010 +0200
libwbclient: Make wbcGetDisplayName not use talloc
commit ae3edf85d46f234eada5a7e36d97026e44005ea2
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 16:36:22 2010 +0200
libwbclient: Test wbcGetDisplayName
commit 8f3ab439f329234a47d8c32435a2e9606e8037da
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 14:31:57 2010 +0200
libwbclient: Make wbcListGroups not use talloc
commit 1152cba5d2bb241a87511b7289c4714ea3990e53
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 14:26:22 2010 +0200
libwbclient: Make wbcListUsers not use talloc
commit cafba3d7a772385da36f7571690ba2ce2262cef5
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 14:16:19 2010 +0200
winbindd: Fill in num_entries where available
The server implementation of WINBINDD_LIST_USERS, WINBINDD_LIST_GROUPS and
WINBINDD_LIST_TRUSTDOM knows the number of entries returned.
Bump up the version number so that a newer lib does not rely on something an
older winbind does not do.
commit e80d0ecf8b716ddb1d5bdeeb641bfee10e35c345
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 12:58:14 2010 +0200
libwbclient: Make wbcGetSidAliases not use talloc
commit fec712aca5d05a20f6f169fc821727737cd251c0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 15:59:22 2010 +0200
s3: Add some debug to GETSIDALIASES
commit 9e353a917bd2aca572ac8c249dd4690ab2de94fd
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 15:53:07 2010 +0200
libwbclient: Test wbcGetSidAliases
commit 4f5100bcb2d720351d7ba1cc721e234236e69ea3
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 15:36:01 2010 +0200
libwbclient: Simplify test_wbc_domain_info a bit
commit 679e7ef6e68c9d355cc5f1764600ee8999b3e021
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 15:28:42 2010 +0200
libwbclient: Fix some pointless macro calls
commit 3d3b84bdec1406ef888b15d1fcd181b316fa7a86
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 12:57:13 2010 +0200
libwbclient: Take -21 into account in length guessing
commit d29a5e69f4343f0876c374968dc00198243afef2
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 13:45:20 2010 +0200
libwbclient: Fix some pointless macro calls
commit 4f88b7015de4a802ca98e6b9935b4d79115e48e0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 13:44:49 2010 +0200
libwbclient: Make wbcLookupRids not use talloc
commit ab892389db3d7e42e617d38f24c1dff73d608bec
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 13:37:01 2010 +0200
libwbclient: Add wbcAllocateStringArray
commit 250bea02b586219275efc87d65fbae32b867ba86
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 22:52:53 2010 +0200
libwbclient: Test wbcLookupRids
commit 0a966980f445a9fd9c39ca35dcaaec55c33ac749
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 12:01:43 2010 +0200
libwbclient: Make wbcLookupSid not use talloc
commit a0162303c6e23c8f1d72a0e788d2665a97d16b4b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 11:59:29 2010 +0200
libwbclient: Add wbcStrDup
commit ed1981db05af87a48b17866b7e886d1e25fa8f77
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 11:14:23 2010 +0200
libwbclient: Convert wbcSidToString to not use talloc
commit b75106b2ed378b544fada49f1b80a5e6d9921e21
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 6 22:16:32 2010 +0200
libwbclient: Make copy_group_entry not use talloc
commit 041be88bd04a8a054b8fcb254225889b6069de55
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 6 22:16:07 2010 +0200
libwbclient: Make copy_passwd_entry not use talloc
commit 20011f4681754160c59725c066357d902e00102c
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 6 22:14:39 2010 +0200
libwbclient: Make wbcGuidToString not use talloc
commit 769997786c62770873315363c5dc20661657fcbd
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 6 22:14:03 2010 +0200
libwbclient: Make wbcLibraryDetails not use talloc
commit f2a04a0ccb7276dcd23efeade59368540c6570b2
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 6 22:10:22 2010 +0200
libwbclient: Add wbcAllocateMemory()
This prepares for removing libwbclient's talloc dependency. It is a
non-hierarchical "talloc-lite" that has destructors. It is necessary because we
have the catch-call wbcFreeMemory call. Individual wbcFreeXXX calls for the
different structures wbclient returns would have made this easier, but
wbcFreeMemory is the API we have to live with.
commit 456351cdb184f59374cecec8d7c44add29b986dd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 21:54:40 2010 +1000
s4-waf: follow the configure directories for the empty install dirs
Thanks to Metze for spotting this
commit d25e1e15d387d24fe045fbb162de57963c7b15a6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 21:00:51 2010 +1000
build: update waf from svn
this adds bld.install_dir()
commit db0eb2f239c9bbd3aeff06eee31102830eb42f11
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 21:00:36 2010 +1000
s4-waf: install some missing empty directories
commit d2b35c3a24b9bae88b996f8bc70e6a6012fd16f5
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 21:00:16 2010 +1000
build: make compare_install.sh also check for missing directories
Thanks to Nadya for pointing this out
commit 0b2e5debb004ed586e0ec7d926311c32a8b8f9e6
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 19 11:53:11 2010 +0200
s3-smb2: fix some c++ warnings.
Guenther
commit 7b84d36f19a29e33735bde08151e540d4c2b86b1
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 19 11:46:03 2010 +0200
s3-spoolss: fix samr_ValidatePassword_Change.
Guenther
commit 7277668128e3a8c138e9dc48ce6c2e85d1aac34f
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 19 11:45:33 2010 +0200
spoolss: move up enum spoolss_Build in the IDL.
Guenther
commit 2033314a7ca731e9cea76cb3296c3dc85660ae30
Author: Günther Deschner <gd at samba.org>
Date: Sat Apr 10 01:44:08 2010 +0200
s3-lanman: use spoolss for api_WPrintJobGetInfo().
Guenther
commit 0c80d12656267c4e932f8e22750e827d53997f07
Author: Günther Deschner <gd at samba.org>
Date: Sat Apr 10 01:33:37 2010 +0200
s3-lanman: use spoolss for api_WPrintJobEnumerate().
Guenther
commit 0277143ca6224e4219d6b95746c02c8ca9a6abf6
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 13 23:51:36 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 5b3c22e96fdc54cb60ac6f4d5e9a76a83fe477af
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 13 23:50:58 2010 +0200
spoolss: make spoolss_SetPrinterInfo0 match changes in spoolss_PrinterInfo0.
Guenther
commit fdf4d3eed3e1c461f4b8b67f2a563a86aecc0000
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 18:00:47 2010 +1000
s4-waf: fixed WINBINDD_SOCKET_DIR for wb_common in s4
s4 uses a different path for the socket
commit 540d197e499f1ab6fb27127c18fc9e4fe913393f
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 17:18:53 2010 +1000
s4-test: we don't need -s set for samba_dnsupdate
this is now handled by SMB_CONF_PATH
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 43ca57d0887495fdbf2e8dd8c7afb9d521f220f3
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 17:18:20 2010 +1000
s4-dns: use neater python for reading lines
files are line iterators
commit 162e7bc5b4679ab9be66730ea6b36ed3d25f0643
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 17:17:07 2010 +1000
s4-param: set SMB_CONF_PATH when we load a smb.conf
this is inherited by child python processes, to ensure they get the
right smb.conf if they don't have one specified. Fixes bug 7301
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit dcf35ab487f9213d4424493257903971ebe3ebbf
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 17:14:33 2010 +1000
runcmd: use tevent_re_initialise() to close sockets
this ensures that all event fds are closed in the child
commit 8208f8e5e53f59866949b6169bc107f8f17e7a0e
Author: Kai Blin <kai.blin at biotech.uni-tuebingen.de>
Date: Mon Apr 19 09:27:50 2010 +0200
s3 i18n: Fix up missing newlines in more pam_winbind translations
commit e56dc831622271af81ce5bb90a749c2de80fedb2
Author: Kai Blin <kai.blin at biotech.uni-tuebingen.de>
Date: Mon Apr 19 09:03:01 2010 +0200
s3 i18n: Fix up missing newlines in pam_winbind translations
At least in the languages I could read, the newlines were indeed
missing.
commit b6dff759f7016bb4820fc8f9d660bf565c7caeee
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 15:58:37 2010 +1000
build: added --cross-answers support
This allows you to easily cross-compile even without a --cross-execute
emulator
See http://wiki.samba.org/index.php/Waf#cross-compiling for details
commit 5040e2a6fbe8b240b1d445e1260bb95203618b75
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 13:49:00 2010 +1000
s4-dev: expanded selftest-vars.sh to match current testenv
commit e6cbbd9640e0e79653820e6cd5ea7b30c2e0f6bd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 13:43:53 2010 +1000
s4-python: PyErr_SetString() will crash on NULL strings
use nt_errstr() when no error available
commit 93f4f7a0375b95540d7f701c295b88ed9c6322d8
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 13:43:12 2010 +1000
build: fixed a python-3 indent error
commit 4e51bf1ffdf55b8292383415bcc23803c8a56bc9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 13:42:53 2010 +1000
build: expanded testwaf to include cross-compiling and python versions
commit 59fa1e1890e0a007f56776d9539bf3f1ce074a34
Author: Jeremy Allison <jra at samba.org>
Date: Sun Apr 18 20:23:54 2010 -0700
Final fix for #7331 - Compound async SMB 2 requests don't work right.
Don't free the cancelled SMB2 req early, let the cancelation
function take care of it. Return a NT_STATUS_CANCELLED when
we find and cancel a request. Fix our SMB2 error returns to
correctly set the structuresize to 9, and add the expected
zero byte (see section 2.2.2 in the SMB2 spec.).
This causes Samba to pass the test program in this bug report
that W2K8R2 fails (heh heh :-). This is because we always cause
compound requests to get to a cancelation point before dealing
with a cancel request.
Jeremy.
commit 058d4a21afa843241c6a91a251fb46a327037194
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 21:39:09 2010 +0200
s3: Fix indentation in remove_ccache
commit 0264c0c337058c03f9b4aca915f6af5e6a7731b0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 20:09:45 2010 +0200
s3: Fix a memleak in discover_dc_netbios
commit 36e57fa728fc98102d3f40d4341d22e6beb3802a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 19:24:34 2010 +0200
s3: Fix a typo in winbindd_ccache_save
commit a97f2a0a9c0f1c148a0152202296bb078103b40c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 18 14:09:22 2010 +0200
nsswitch: Fix a memleak in wbinfo
commit e1ca45179419f96b831cc929ff46df39a4766388
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Sun Apr 18 15:02:23 2010 +0200
s3: Improved support for GAMIN.
Support the FAMNoExists API for gamin to reduce cpu use and problems when
using GAMIN as FAM for vfs_notify_fam.
commit 69ce29826cf209d79b4aa63e6d1f30ccf7bfd7ae
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 22:57:59 2010 +1000
build: more dependencies on /usr/bin/perl -> ${PERL}
commit 3ca5fd8e030c485e2b1df1bac9f4cd7fcd4041ef
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 22:55:16 2010 +1000
build: cope with perl not being in /usr/bin/perl
This should fixed the pidl build on SerNet-NetBSD5
commit 211bf1ea170966eb283e45339806ac45aec44d58
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 21:47:00 2010 +1000
s4-waf: removed the unused installdir= option to SAMBA_BINARY()
This was left over from the automatic conversion of the config.mk
files
commit f8e3e5ce074ba08aefba3b4e7fe804c08687dbfa
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 21:08:11 2010 +1000
build: fixed install of binary targets that are in subdirs
this should fix the smbd/smbd install problem with Kai's s3 waf build
commit 639fe346670c760ec6a1536e2d3962e1c301b13c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 19:41:47 2010 +1000
build: support make V=1 for verbose build
this also adds support for other options, such as "make TESTS=testpattern"
commit 7aa4c11fc4c25df6ea25dfe28d3dca851b91f909
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 18:21:04 2010 +1000
build: more adjustments for the ABI type name maps
- use 'va_list' instead of 'struct __va_list_tag *'
Using the C name for va_list is preferable
- add support for negative ABI name matches in abi_match=. That is
used to exlude ldb_*module_ops from the ldb ABI
- don't include the ldb module ops or backend ops in the ABI
commit 1a73e967f594c739f7533fdce0e1c18579d0bf21
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 17:35:53 2010 +1000
build: added abi_type_maps for FC12 struct va_list
fedora12 x86 uses "struct va_list"
commit 3f1ebe805bbd38a4cf34f9feb1837f92a8de75d9
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 17:31:24 2010 +1000
build: don't depend on the word size of nm output
the first column varies in length for different architectures
commit 1aa80f5788da34cd10141e6bfb5c263346dda75e
Author: Jeremy Allison <jra at samba.org>
Date: Sat Apr 17 22:42:23 2010 -0700
Second part of fix for bug #7331 - Compound async SMB 2 requests don't work right.
Cause us to match W2K8R2 by sending an interim compound reply
followed by a async reply.
Jeremy.
commit f96353adcf865aa1e809a87f1f9b29186307f05d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 15:39:59 2010 +1000
s4-waf: rebuild signature files with the api type maps
This is not strictly necessary, as the old types would compare equal,
but it is neater to use the generic type names
commit 8dc2db0f6d61fc26fbecd27afbee5147ad358756
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 15:39:14 2010 +1000
build: added abi type maps for _Bool and __va_list_tag
This allows us to make the signature files platform independent
commit 77768dbd75d0f4b41c41d7b2fc86a2994636635a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:48:09 2010 +1000
ldb-waf: enable ABI checking in ldb
we use separate signature files for ldb and ldb-samba4, as the samba4
varient of the library has many more public symbols
commit 7d90b5960229f8ddd2aeb64fcf0834a3ad461acf
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:47:33 2010 +1000
ldb: mark the tdb backend in ldb as _PRIVATE_
commit 5e26f65f790227a8767635c55df7b425daf019e7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:47:13 2010 +1000
tevent-waf: enabled ABI checking in tevent
commit 2550bbc981a25b5a37525d99201498b81bb93572
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:47:00 2010 +1000
tevent: mark backend init fns as _PRIVATE_
these are not supposed to be exposed in the library
commit 805f651dbf70f90ea7dab192cbe498b41fc47dc3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:46:33 2010 +1000
tdb-waf: added ABI checking for tdb
commit ef496e8d1de7cd50c1d4c05d1cab8c4c64a9280b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:46:21 2010 +1000
talloc: mark public functions as _PUBLIC_
commit 1bcd900912b13b6aed658c7cc34e3b7d55cf35c7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:46:04 2010 +1000
talloc-waf: added ABI checking for talloc
commit 7818e2cc8c1f9701329e80da7771a9141a464db0
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:45:30 2010 +1000
replace-waf: hide symbols in libreplace if a builtin library
commit 4e448e2d2c140f5d4ea85938d09672e9fa26994e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:44:58 2010 +1000
libreplace: added _PUBLIC_ and _PRIVATE_ to replace.h
these are needed for all libs that use ABI checking, so libreplace
is the logical place for now
commit d81eccc0baa26ae4c92680085b28687897ee9904
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:44:07 2010 +1000
s4-waf: put the --xxx-wrapper options in 'developer options' group
commit d3dea9b1248edf9a3e96e88bea8de3e098fbc2fe
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:43:15 2010 +1000
build: added ABI checking to the WAF build
See http://wiki.samba.org/index.php/Waf#ABI_Checking for details
commit 877439e26422568bd5ca6ffc019c3ae1d6c2499c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:41:56 2010 +1000
build: added a script for generating ABI signatures from shared libraries
commit bf45b4f4fda2c4e0d697bb30720c780325c3cd84
Author: Jeremy Allison <jra at samba.org>
Date: Sat Apr 17 21:20:17 2010 -0700
First part of fix for bug #7331 - Compound async SMB 2 requests don't work right.
Gets us handling SMB2 compound async requests similar to W2K8R2
(and triggers the same client bug in the Win7 redirector). Great
thanks to Ira Cooper <samba at ira.wakeful.net> for helping with
this and to Metze for the wonderful async framework. The one
thing I need to fix to make us identical to W2K8R2 is that
when a compound request goes async at the end W2K8R2 splits
the replies up into a compound non-async reply followed by
a separate async reply. Currently we're doing the whole thing
in a compound reply.
Jeremy.
commit e0d6f1a6dafef712c90a5df21fa42791e5c9b140
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Apr 17 20:42:37 2010 +0200
s4:dsdb/dns/dns_update.c - fix a typo
commit c678563efec82e84c9c86309cbf9495950a02b8c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Apr 17 20:08:15 2010 +0200
s4:kdc/db-glue.c - use "TALLOC_FREE" insteal of "talloc_free" for the "priv" context
Also after a free "priv" could be != NULL and may be freed again.
This should fix bug #7365.
commit 827ccdf6b9c36b7fe0c9b818debd422edceead37
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 23:22:01 2010 +0200
s4:kdc/wdc-samba4.c - fix integer counter types
commit ad898fd63815823309019403ef32f516f4dfbf86
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 23:17:15 2010 +0200
s4:kdc/db-glue.c - fix integer counter types
commit 64f4183a3549205915354761eb211f031a632708
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Sat Apr 17 18:16:25 2010 +0300
s4:Added a test for correct CO expansion in SD creation.
commit f4b73f4e240cee0cc24dc29c84473d6068ab3139
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 16 15:06:17 2010 +0200
s3: Slightly simpify samr_ValidatePassword_Reset
commit 3a362b45c623afb031798570836cebef3e5ebc8a
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 16 15:06:03 2010 +0200
s3: Slightly simpify samr_ValidatePassword_Change
commit 6f998b4b9a46f48b98b947f79bf9c83ec7a0b9fd
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 16 15:00:54 2010 +0200
s3: Slightly simplify the logic of check_password_complexity()
The whole routine was just one if-branch. Do an early return instead.
commit b0b077f27c8f87dedf8fc7898c54e2c2575c1be6
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 16 14:16:40 2010 +0200
s3: Fix some nonempty blank lines
commit 4567bf9df53e62c0f30279235d56d13cb38de190
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 16 11:04:27 2010 +0200
s3-winreg_nt: Fixed QueryValue with data=NULL to get the length.
commit eef184301adccb141cc0da4cee960a60ae38b569
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Fri Apr 16 14:28:09 2010 +0300
s4:Replaced dsdb_get_dom_sid_from_ldb_message() with samdb_result_dom_sid()
commit 20fc769179377bf037f4d5efe1afbaf77d4c9292
Author: Karolin Seeger <kseeger at samba.org>
Date: Fri Apr 16 09:23:30 2010 +0200
s3-docs: Improve "winbind nss info" section in man smb.conf.
Karolin
commit ef05007257b224b803d1814185c7edd12d794316
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 16 15:33:07 2010 +1000
s4-rpc: fixed the build with the old build system
../librpc/gen_ndr/ndr_drsblobs.o was being linked in twice into
drsblobs.so
commit 75f5c3cd97e90ba19dde3d3d3b3679d5e14abe8c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 17:15:25 2010 +1000
s4-net: allow a username to be displayed in setpassword errors
the filter is a bit too cryptic
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 046c5824e4f28d07c96e5ad21bef415cfdcf090e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 17:14:46 2010 +1000
s4-net: nicer error message (and no exception)
in net newuser and net setpasswd we shouldn't be throwing python
exceptions on normal user errors like unknown user
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 22d7a06522088e86eb19b104f24cdf19e576a668
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 17:13:37 2010 +1000
s4-test: added KRB5_CONFIG to selftest-vars.sh
commit 48330c828e5058823c6df09736e8e8eaefdd6565
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 16:25:50 2010 +1000
s4-test: check that a weak password is rejected by kpasswd
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit a7f8c197adbc684dd9de6356ea1a5a9b59a5c322
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 19:01:17 2010 +0200
s4:rootdse: only return "tokenGroups", when the client asked for them
metze
commit 13bbfa3fcabfc97a57ae56ef916bf13137fb5290
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 15 18:41:56 2010 +0200
pydsdb: Fix memory leak on invalid parameters, formatting, trivial
typos.
commit ce28f854c0c8c62c6f13989ec4d2f9e890ffd0e1
Author: Matthieu Patou <mat at matws.net>
Date: Wed Apr 14 00:46:51 2010 +0400
s4 python: add a unit test for function dsdb_get_oid_from_attid
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 634caed116d7e369d5a0002ab93d03744b2e0b1d
Author: Matthieu Patou <mat at matws.net>
Date: Sun Apr 11 02:02:50 2010 +0400
s4 python: make the function dsdb_get_oid_from_attid reachable from a samDB object
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit d784ecec555a3d9737e6f4b3894f27904d2b833c
Author: Matthieu Patou <mat at matws.net>
Date: Tue Apr 13 00:51:00 2010 +0400
s4 python: Add a function to get the oid of an attribute when the attid is known
This function is mainly to help decoding replPropertyMetaData in python
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 9c2aed862d2ecbc4047cd0326250096767731c05
Author: Matthieu Patou <mat at matws.net>
Date: Tue Apr 13 01:00:08 2010 +0400
s4: Add python binding to waf so that the drsblobs.so is also built in waf
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 6d9ce1fee3a87ed0961c3d9e009008a98efd10c2
Author: Matthieu Patou <mat at matws.net>
Date: Tue Apr 13 00:58:50 2010 +0400
s4: Fix python binding for drsblobs
This binding needs symbols in drsblobs_c.c otherwise we have unresolved symbols
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit b8d6f1ce892c36840d392021b528e8c3bdb875dd
Author: Matthieu Patou <mat at matws.net>
Date: Thu Apr 8 01:44:22 2010 +0400
s4 provision: Remove hard coded ACL for GPO objects
It is no longer needed to hard code ACL for GPO object as we have now code
that calculate ACL from defaultSecurityDescriptor and inheritance correctly.
In fact the resulting ACL returned by this hard coded value is a bit wrong as
some ACE are duplicated.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit f1ecdb980b8a63b7facd62e737ba49d5bfddf80b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 16:30:02 2010 +0200
s4:setup/wscript_build: install dns_update_list into ${SETUPDIR}
metze
commit d19033e1e91bf93cc73e7cedaf84d536fa28e533
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 16:26:59 2010 +0200
Revert "Revert "s4:script/installmisc.sh - install "dns_update_list" to target setup folder""
This reverts commit a34eafc693d8750c0883823068e5c6f7355efa04.
This commit was correct.
metze
commit d8c3541ca8b012cb686a1517886132da574e8c55
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 16:25:37 2010 +0200
Revert "s4:"dns_update_list" file: install it properly into the private directory"
This reverts commit fde707aa0c563d239c2f8c442cddfee0b6ff057f.
This is wrong, we need to install it into the setup directory,
so that provision will find it and copy it to private dir.
metze
commit 7233699ad849b0771c946eb47b31ff50f64cefbf
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 18:26:38 2010 +0200
s4:dynconfig/wscript: ${LOCALSTATEDIR} already has var/ included
metze
commit 279bf89fb37cc4d2a4b514301bc5bdb61ca48740
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 17:22:41 2010 +0200
s4:torture/rpc/countcalls: check for NT_STATUS_IS_RPC() instead of NT_STATUS_NET_WRITE_FAULT
metze
commit 3f8e9b919dc74fb8aae903e03344fe62cadf5fd5
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 17:21:13 2010 +0200
s4:libnet_passwd: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE for SetPassword
metze
commit 2570f8dcdadcc889dcc33824b2dcfe4e6050781b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 17:20:21 2010 +0200
s4:libnet_passwd: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE in the ChangePassword calls
metze
commit b2261c82722d5c2f5479ec3177a0fc0e17163aca
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 17:19:19 2010 +0200
s4:libnet_rpc: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of NT_STATUS_NET_WRITE_FAULT
metze
commit cec0e86ec84a1347a330430337c6b8a643381001
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Apr 15 18:21:55 2010 +0300
s4:Added a test to make sure we ignore ACEs with ID flag set.
commit 205c8266112d85543c3667854ac58e41c02fed17
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Apr 15 13:54:23 2010 +0300
A bit of refactoring in the SD creation code.
commit e9d4f1578cdbd03ddc63d22822483add20e753d4
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:11:50 2010 +0200
s4:torture/rpc/autoidl.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
metze
commit 51f7b1382b91053ae96b2cd14dae17ad6eea0df4
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 21:48:36 2010 +0200
s4:torture/rpc/dsgetinfo.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead of DCERPC_FAULT_INVALID_TAG
metze
commit c85884ecc889945721303818d6fa18081403b3c2
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:14:29 2010 +0200
s4:torture/rpc/spoolss.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
metze
commit 98464853f4c508ac26cd0f446dc1365b4c7668c7
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:13:55 2010 +0200
s4:torture/rpc/scanner.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
metze
commit 2aba84581616ebf58d3793c1213e2d8c652a2752
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:13:27 2010 +0200
s4:torture/rpc/samr.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
metze
commit 6f4218a4aa097c3b89224bd3cba2d9d2649f28d5
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:12:30 2010 +0200
s4:torture/rpc/drsuapi.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead of DCERPC_FAULT_INVALID_TAG
metze
commit 1864cd8fa79cf109460516973c67e785fd0a7644
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:12:10 2010 +0200
s4:torture/rpc/countcalls.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
metze
commit 0cc24f2f9b36241afd4240c5d312052f5010d014
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 10 11:04:04 2010 +0200
s4:torture/rpc/alter_context: check for NT_STATUS_RPC_PROTOCOL_ERROR instead of DCERPC_NCA_S_PROTO_ERROR
metze
commit cf9d425e3d9646c6b4ea1b57a39cca23dfd26ab7
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 22:58:53 2010 +0200
s4:torture/rpc/dssync.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
metze
commit de94672fe083e7a335846353c61b5c0aa08ac0b1
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 22:45:05 2010 +0200
s4:torture/rpc/alter_context.c: check for NT_STATUS_RPC_BAD_STUB_DATA instead of NT_STATUS_NET_WRITE_FAULT
metze
commit bb4a958c6df8bdccc5e7f8ac332bac5784924a8a
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 22:36:22 2010 +0200
s4:torture/rpc/handles.c: check for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of DCERPC_FAULT_CONTEXT_MISMATCH
metze
commit 34a6350715ddeea88dbbd13b17858b0890d85630
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 22:36:07 2010 +0200
s4:torture/rpc/lsa.c: test for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of NT_STATUS_NET_WRITE_FAULT
metze
commit 61e53c078203ddb11c7f9f04492ade7d95d21f02
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:10:24 2010 +0200
s4:librpc/rpc/pyrpc.c: map NT_STATUS_NET_WRITE_FAULT to the matching NT_STATUS_RPC_* code
metze
commit a8e81c25ebe7a673c2c6e046dd6a0a829c4af409
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 22:35:37 2010 +0200
pidl:Samba4/NDR/Client: map NT_STATUS_NET_WRITE_FAULT to the matching NT_STATUS_RPC_* code
metze
commit fed16f4015f8209dc4705fc1464fc45a093d9349
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Mar 20 11:31:55 2010 +0100
librpc/rpc: add dcerpc_fault_to_nt_status()
For now this only handles fault codes with we've seen yet
and for which we have explicit torture checks.
metze
commit c0736c70d6ab442055f998e7b1308a0536f99a95
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 09:38:03 2010 +0200
s4:torture/rpc: don't look at p->last_fault_code for debugging anymore
metze
commit 1293712b7d098aca12d7d2e043dc8ee87fb02aec
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 09:14:14 2010 +0200
s4:util/net/drs: don't look at p->last_fault_code for debugging anymore
metze
commit 146ce6ead122f6f4ab18998c91d1bbdd1c63d336
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 09:12:52 2010 +0200
s4:libnet/libnet_join: don't look at p->last_fault_code for debugging anymore
metze
commit 7f6cdad706b7171d76eddae40b17a07acc15aef8
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 09:29:33 2010 +0200
s4:winbind: use WINBINDD_SOCKET_NAME instead of WINBINDD_SAMBA3_SOCKET
metze
commit a1cf6a52af5eb9766105870c2eb5470855fbd1e7
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 09:24:56 2010 +0200
s4:winbind: wbsrv_samba3_priv_pipe_dir() needs to return the directory not the pipe path
metze
commit 2fd0137a87cdefb5626f5537201af8f93eb0be8b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 08:28:20 2010 +0200
s4:selftest/wscript: --enable-selftest and --with-selftest-prefix are configure options
metze
commit 0bda3bae4cd68285e106261ffe79a1da1f778861
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 14:43:43 2010 +1000
build: throw a fatal error for duplicate target declarations
We don't want someone to declare two subsystems of the same name but
with different source files
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit daf4ad59057d9a7970393d94a4f1c3dfd1e77d21
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 14:42:13 2010 +1000
s4-waf: removed a duplicate declaration of python_netbios
commit 34887de6b0615f0f63f497f9020d1c059643f8ec
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 13:59:51 2010 +1000
build: ensure we don't recreate library loops in expansions
after removing library loops from the dependeny graph, we re-add
parent dependencies. We need to ensure that we don't re-add a
dependency which re-creates the loop we so carefully removed.
This also adds a final check for library dependency loops, and shows
an appropriate error if one is found.
commit 167ba0eac902238d970b8312a6cbc87cf48af91a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 09:14:10 2010 +1000
build: make the 'wrong version of waf' message even clearer
suggest ./autogen-waf.sh
commit 208eb7469d9208f2aa8bff5f07ef90be3f3d7b1d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 08:55:26 2010 +1000
build: check that the user is not using an old /usr/bin/waf
some systems have /usr/bin/waf installed, and its quite old
commit 8693ae741c98b42a900d1f3b529326cca56297c9
Author: Volker Lendecke <vl at samba.org>
Date: Wed Apr 14 21:48:38 2010 +0200
s3: Fix a typo
commit e1e2195a4ab60a74ca0a11f8eeb0ba1abfbb37a7
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 22:06:51 2010 +0200
s4:torture/rpc: rename rpc.h => torture_rpc.h
The reason for this is that some systems include
<rpc/rpc.h> from within system headers. HP-UX 11.00
does so somewhere deep inside of <shadow.h>.
For torture/winbind/struct_based.c <rpc/rpc.h> resolves
to torture/rpc/rpc.h and breaks the build.
metze
commit bcd647f943e391bdb98233c168d2b35e244e2bf4
Merge: e81e057b6d70d70616132593dc2acbfe77cb459c bc6a43aeb41fc5ccf3a34f2ec91e1328ae82d90e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 14 23:38:05 2010 +1000
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit e81e057b6d70d70616132593dc2acbfe77cb459c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 14 23:37:47 2010 +1000
build: try to honor MAKEFLAGS from make
This means "make -j" and "make -k" now do roughly what is expected
make -j will use the number of CPUs on the system, regardless of the
number after the -j (as MAKEFLAGS doesn't contain that value).
make -k will will continue on errors
commit bc6a43aeb41fc5ccf3a34f2ec91e1328ae82d90e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 17:36:51 2010 +0200
s4:torture/rpc/winreg: fix compiler warnings
metze
commit d0180570b3e1d0a4aa9c7a55af9fd3b4c925ec77
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:13:08 2010 +0200
s4:torture/rpc/dsgetinfo: first check the rpc layer status before looking at the application result
metze
commit 74c4c7fe4f8ed9479a126d1217dfcc084ff31791
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 13 19:12:43 2010 -0700
Don't set "requested_posix_capabilities" in the sync code, already done in the async.
Jeremy.
commit a1e0e1cbcfefa513982f8351fb8b13fbd61c2d54
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 13 18:42:24 2010 -0700
Add basic DFS tests.
Jeremy.
commit f3b8e31f83c44f1e72b15711542d817af7ec9506
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 13 18:41:14 2010 -0700
Split out the client unix capabilities to those the server offered, and those the client asked for.
This fixes a bug when using encrypted transport and DFS links. Found
by my basic DFS torture test, which I'll check in next. Testing *rocks* :-).
Jeremy.
commit 589a42e2da7d7cd382deb94c57b0c6dbca269e55
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 13 12:00:06 2010 +1000
s4:auth Change auth_generate_session_info to take an auth context
The auth context was in the past only for NTLM authentication, but we
need a SAM, an event context and and loadparm context for calculating
the local groups too, so re-use that infrustructure we already have in
place.
However, to avoid problems where we may not have an auth_context (in
torture tests, for example), allow a simpler 'session_info' to be
generated, by passing this via an indirection in gensec and an
generate_session_info() function pointer in the struct auth_context.
In the smb_server (for old-style session setups) we need to change the
async context to a new 'struct sesssetup_context'. This allows us to
use the auth_context in processing the authentication reply .
Andrew Bartlett
commit 4e2384e2426745023553afb21270165872c61b02
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 13 18:24:43 2010 +1000
s4:auth Allow the simple 'struct auth_session_info' generator for all users
This code isn't ideal, but it is better than needing to consult the
main SamDB in things like a torture test.
Andrew Bartlett
commit 577bceb19bed18db053456b2b686ba04df1d7456
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 15:27:49 2010 +0200
s3-winbind: Authenticate SAM users
commit 55838a8c021020c057b514cc97d5196eaa313764
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Apr 13 20:09:13 2010 +0200
s4-heimdal: Fix typo in comment.
Karolin
commit b0a9e5ba77ad56ba32a912acb288431c52aefcad
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Apr 13 20:08:22 2010 +0200
s3-winbindd: Fix typo in comment.
Karolin
commit fce533e3bed54e8b6255142f97d6b2a5ecf5f18d
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Apr 13 20:07:11 2010 +0200
examples: Fix typo in comment.
Karolin
commit 6389fac6db2f54d148222009b5e209cef5c6bdd7
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Apr 13 20:06:14 2010 +0200
s3-docs: Fix typo in man idmap_ad.
Karolin
commit a68eb378a584c638d81f2e1ec645a318e37f103f
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 09:07:21 2010 +0200
s4:librpc/rpc: the python bindings should use !NT_STATUS_IS_OK instead of NT_STATUS_IS_ERR
Everything but NT_STATUS_OK is an error here.
metze
commit 59b1078ec5a074bb812546329a12ea3941ab11ef
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 09:06:38 2010 +0200
s4:librpc/rpc: make PyErr_SetDCERPCStatus() static
metze
commit 84c901a619ad4b20c36b84c435fb869e8374bd8a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 15:45:29 2010 +0200
s4:"samdb_server_site_name" uses - proof for out of memory
commit 34ff1c6944a56365390b252f516b6d3aafc8ac50
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 15:40:43 2010 +0200
s4:samdb_server_site_name - fix indentation
commit 1e08449136e87f70d581714284f86f88d54c20fd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 15:29:12 2010 +0200
s4:fill_netlogon_samlogon_reponse - fix a typo
commit 7d5a8c3506b3bb4005820ce2ab6687bbf9c2dd40
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 09:53:28 2010 +0200
s4:torture/netlogon - enhance test for "dcesrv_netr_DsRGetDCNameEx2"
Test for right domainname handling.
commit aa02f4425579d5fb45da3216462273c973fcaa64
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 12 18:00:49 2010 +0200
s4:dcesrv_netr_DsRGetDCNameEx2 - provide a much better implementation
On the base of the "fill_netlogon_samlogon_response" call.
This removes duplicated code.
commit 4d7d6ee8202f75b44c25a747e83ddda5466aa509
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 15:18:02 2010 +0200
s4:fill_netlogon_samlogon_response - some rework of the detection code
To make it compatible by the use of the "dcesrv_netr_DsRGetDCName*" calls.
Some result checks were redundant so I removed them. In other cases I added
debug outputs. Sometimes the debug messages were misleading.
commit 3909088e13c24183d22df6a77cd0717a6ed50c72
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 21:40:59 2010 +1000
s4: prevent the autoconf build from removing source4/librpc/gen_ndr/README
commit c10d267a7620d53e34f79c2514849cd82a47b9aa
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 21:33:04 2010 +1000
s4-waf: don't try to use the system lib for the library build
when building library FOO, don't try to find the system library FOO
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 483d059c8e08473c9c9b27025bfb80f0d6b89c4a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 21:20:52 2010 +1000
tevent-waf: added man page and pkgconfig file
this allows libtevent to build under rpmbuild
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit be813ff2d4a8d85eccc641f0d0739b31f4fdb964
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 13 12:09:21 2010 +0200
libwbclient: Re-Fix a bug that was fixed with e5741e27c4c
> r21878: Fix a bug with smbd serving a windows terminal server: If winbind
> decides smbd to be idle it might happen that smbd needs to do a winbind
> operation (for example sid2name) as non-root. This then fails to get the
> privileged pipe. When later on on the same connection another authentication
> request comes in, we try to do the CRAP auth via the non-privileged pipe.
>
> This adds a winbindd_priv_request_response() request that kills the existing
> winbind pipe connection if it's not privileged.
The fix for this was lost during the conversion to libwbclient.
Thanks to Ira Cooper <samba at ira.wakeful.net> for pointing this out!
Volker
commit fcab3d64f496693c70cc1ff1bcf1cf439a15fcf1
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 13 12:27:18 2010 +0200
libwbclient: Remove a pointless variable
commit 974025944e6bd59a79638f185a6268903f396fa6
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 12:56:19 2010 +0200
buildtools/wafsamba: make sure CHECK_FUNC() and CHECK_VARIABLE() work with -O3 in the CFLAGS
'CFLAGS="-O3" waf configure' was not detecting dlopen() needs -ldl.
metze
commit 367ba43b63eacb2bffaf8c53c77a343481482939
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 20:13:00 2010 +1000
tdb-waf: added build of manpages and config options for RPM build
Building a RPM from the fedora spec file now works with minimal changes
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 42505df161bacc24b6f0bf72baee6995c51a260b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 19:46:29 2010 +1000
talloc-waf: the talloc1-compat lib depends on talloc
It is a library linked to another library, not a 2nd copy of talloc.c
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 58abd9ac81e18276ee3e2dd9b545b1525f67f721
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 19:45:38 2010 +1000
build: for unbundled libraries install devel link too
We need a symlink libFOO.so -> libFOO.so.x.y as a
development symlink
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 16d4d0346daa9678f2969fa1fde52eed58643c00
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 10:09:18 2010 +0200
testprogs/blackbox/test_kinit: reorder arguments to "net time" to fix make test
metze
commit 4cff89a585bddcfe833e13824bb6dc06fbd34bca
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 09:38:42 2010 +0200
s4:tortore/rpc/spoolss: some compilers don't like .foo.bar = 5
metze
commit ab9e5047d747115df9519ecb00f24d77d43e98ed
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 17:32:14 2010 +1000
talloc-waf: added the manpage generation and talloc1-compat generation
this allows the RPM spec file to be used with only a tiny mod (using
autogen-waf.sh instead of autogen.sh and using ln -sf for the library
links instead of ln -s)
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 64f860e96a7662379ff5b9edc2b402631ac6fb66
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 17:27:52 2010 +1000
build: added autoconf compatible configure options
This adds --build, --host, --program-prefix and
--disable-dependency-tracking. All we do with them is check them for sanity
and throw an error if (for example) the user tries a cross-compile using
these options
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6661ecbe944567a1813fad46d67554433196aae1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 09:25:26 2010 +0200
s4:CLDAP - "fill_netlogon_samlogon_reponse" - check for out of memory
commit a894d6cc37c3799d478720f4340fcef57a5d0b4b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 09:18:33 2010 +0200
s4:acl/descriptor LDB module - distinguish between root and default basedn
The first is the forest base DN, the second the domain base DN. At the moment
we assume that they are both the same but it hasn't to be so.
Nadia, I would invite you to fix the outstanding parts regarding this (I added
comments).
commit 0dffa9caec8925a081e951579dd696810fc9e857
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 12 15:02:10 2010 +0200
s4:use "samdb_forest_name" for the forest DNS domainname lookup
commit 719a46913bed65932ebe696f441bd88ebd54819c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 12 14:15:34 2010 +0200
s4:dsdb/common/util.c - add a call which determines centrally the forest DNS domainname
commit 5fc2801c09cdfe74253b52b9bf93d7ecad1a98cf
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 9 17:19:13 2010 +0200
s3: Cache the username map in gencache
This is for uses with a heavy-weight username map script
commit c116d80053fc21519836008e2782c06c7313d512
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 08:57:07 2010 +0200
s4:remove "samdb_root_dn", "samdb_base_dn", "samdb_config_dn" and "samdb_schema_dn"
They aren't needed anymore.
commit ad9e4073574125b01b3992081be9b2a4d6852cbf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 08:41:10 2010 +0200
Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions"
We should use the "ldb_get_*_basedn" calls since they are available in the LDB
library.
commit 8e4c34880a11b2b8a7b5fbb228c26301865a4b4d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 08:24:09 2010 +0200
s4:objectclass LDB module - remove a unneeded newline
commit 79842437684be380407661fc27e64f223a326b18
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 12 21:40:28 2010 -0700
Move to using 64-bit mid values in our internal open file database.
This will allow us to share logic much easier between SMB1 and SMB2
servers.
Jeremy
commit 8a2169d6749498c7929e7533f6b3c9d965b0aa3b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 13:44:28 2010 +1000
build: cope with spaces in options passed to ./configure
commit a7d762bd2977ed1c36399d13ddc18371c5514fd0
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 12:41:26 2010 +1000
build: allow cross-builds to use shared libraries
commit ab73692bd348057bfd218b67c3414eec8afcc18b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 11:45:38 2010 +1000
s4-tevent: up tevent version number
tevent now has tevent_re_initialise() which is needed for the s4 build
commit 0ca484f4573275808a209ccb0a94a30e89b336d2
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 11:41:13 2010 +1000
build: check the type of implied dependencies
an implied dependency needs to be a library or module
commit b7ffc6e5b228d21f547bec77f378f0fdc88b6dd2
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 11:27:24 2010 +1000
build: fixed a typo that prevented --bundled-libraries from working correctly
Jelmer noticed that --minimum-library-version=talloc:2.0.1 --bundled-libraries=!tevent
didn't do the right thing.
commit 9c6781277a9ebf5e0a9d65ece14b95335d596af6
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 09:33:18 2010 +1000
build: cope with existing binaries in bin/ left over from the old build
commit b1a27e81d712ada8eebc587a4c35fbb48b4762cb
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 12 21:31:33 2010 +0200
s3: Apply some const
commit 1a2734336655a8d4256c8cce039ada66650b70a9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 12 14:49:14 2010 +0200
s3/s4:netlogon IDL - fix up "struct netr_SamInfo6" regarding the "forest" attribute
According to MS-NRPC 2.2.1.4.13 this should be the DNS domainname, not the
forest one.
commit 1bd4735d8727baa55e3fd251b0f1d5efef4d1385
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 12 14:34:28 2010 +0200
s4:auth/auth_sam_reply.c - fix counter types
commit 98ce053efdf8f28aa0480663c0094fc9ca8939e1
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 12 13:43:43 2010 +0200
s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions
Purely cosmetic change.
commit 978a2d26b4fa38873ed822b8642737e3352e5f21
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 12 13:40:44 2010 +0200
s4:torture/ldap/ldap_sort.c - There should be used the "base_dn" not the "root_dn" for the sort test
The (forest) "root_dn" hasn't always to be the same as the (domain) "base_dn"!
commit 9db207da071002b4eb671ba8500f1c26963e3859
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Apr 12 16:11:31 2010 +0200
selftest: Cope with strict.
commit 9ef235ed0a833be671600c5efc2e8bf456c03c96
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 13:44:19 2010 +0200
s4:tortore/rpc/spoolss.c: fix declaration after code warning
metze
commit c168e5ce507951c0e54e5a612b70fb82b2df3e63
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 22:56:44 2010 +1000
s4-ldb: enable waf build of ldb without ldap backend
this is useful for cross-compilation testing, where getting all the
ldap deps installed can be hard
commit d12605c679cf4f2c5057c548de1210e7fa03a2f1
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 22:06:51 2010 +1000
build: added cross-compilation configure options
this enables use of a cross-compilation emulator, so configure tests
run on an emulator of the target platform
commit 83312a9e501ebbee15b4fd2353330880496f4add
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Mon Apr 12 16:05:37 2010 +0300
Fixed a problem with provision missing the default_dir/etc directory.
commit d73a7e7e9063083f73fcce5170ea9b9682d66ef6
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 9 14:30:54 2010 +0200
s3: Little refactoring: Factor out skip_space
commit 8c3fa1668654f482168e0c565458e701c23d4d9b
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 9 14:28:44 2010 +0200
s3: Remove a bogus 0-check, "isspace" can not return true for \0
commit 757766d5af54e116bb08f0d825e51741f3ee9e05
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 12 10:34:29 2010 +0200
s3: Cache the result of the username map script
commit 49d4dd530f3983de2e538e07b32e1c3df4efa649
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 12:49:58 2010 +0200
Remove unused pcp/ directory.
metze
commit 143d3f1d90b1d8e35f03e03aa7d39c4090fe0296
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 12:49:19 2010 +0200
Remove unused swat2 code
metze
commit 6ccf2321cef9203bb80cb091700ea798095d094b
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 10:55:32 2010 +0200
s4:heimdal_build/wscript_build: avoid global deps for hostcc stuff
metze
commit 8921834be845638a1c1079e1c271254edec8bfc1
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 10:55:02 2010 +0200
lib/replace/wscript: avoid global deps for LIBREPLACE_HOSTCC
metze
commit 4f73658544f988b1b495d1a84b7058fdace712ee
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 10:16:54 2010 +0200
wafsamba: don't add global dependencies to hostcc targets
metze
commit 2a727ef6e7bffcaad7438e288c952f6157e075de
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:47:49 2010 +0200
lib/replace/wscript: inline LIBREPLACE_EXT into 'replace' as the autoconf system does
metze
commit e6c31a4bcb1e7f56edcfccabd02a8096e3b5dd40
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:44:47 2010 +0200
s4:param/wscript_build: 'dl' is provides via 'replace'
metze
commit 783d2e9fe57f1390ff66a8c1bda6b82a22af3332
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:43:54 2010 +0200
lib/nss_wrapper/wscript_build: 'replace' already includes 'dl'
metze
commit dd38853b56f13d26353a1bee6ad3225f8f46c843
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:41:19 2010 +0200
lib/replace/wscript: add dependency to 'dl'
metze
commit 2e26298331a1c09c829b171f1f81a6b69fe51a56
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:34:39 2010 +0200
s4:heimdal_build/wscript: rename HEIMDAL_ROKEN_H => HEIMDAL_ROKEN_HOSTCC
metze
commit 14c05405cbae886ca741340f3cc2b148b3cd3ae4
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:33:42 2010 +0200
lib/replace/wscript: rename LIBREPLACE_H => LIBREPLACE_HOSTCC
metze
commit 8a00c566492943972798a96a9e23bc74083902ec
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:30:12 2010 +0200
wafsamba: allow passing 'use_hostcc' to SAMBA_SUBSYSTEM()
metze
commit 928fb861507e2abed86258582f27aad7d71b308e
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 18:39:50 2010 +1000
s4-ldb: fixed a crash bug for non-UTF8 strings
when one of the strings was not valid UTF8, we would try to
dereference NULL
commit acc81f96a45275b4bfe356fdc4dd3cc5f03775ff
Author: Kai Blin <kai at samba.org>
Date: Tue Apr 6 00:28:05 2010 +0200
build: Add an always parameter to CHECK_DECLS
commit c09fa85735b044028f9659e2db075918fdfd07c8
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 21:59:43 2010 +0200
s3-waf: Correctly create symlink if SAMBA_BINARY targets are not in the current diectory
Many thanks to ita for pointing out the fix.
commit e683ac6f81306a03d8fe6bedeb5ca1a6facd6f1f
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 00:21:21 2010 -0600
build: allow target upgrades from EMPTY to SYSLIB
A library may be initially set as empty if it wasn't needed for a list
of functions in CHECK_FUNCS_IN(). A later check may require the
library.
Pair-Programmed-With: Kai Blin <kai at samba.org>
commit d70a7befb6dd2168c31a657fc0c6ab3b5f69c91e
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 17:46:01 2010 +1000
s4-waf: move the KRB5_DEPRECATED check into lib/replace
this needs to be with the krb5.h check for the source3 build
commit 33bb334e8030749cb675353df882730e3119ee9c
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Apr 11 19:24:46 2010 +0200
s4-waf: inline LIBREPLACE_NETWORK into 'replace'
metze
commit b1393087ace8289a13e09e5246ac0efec560e959
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:12:29 2010 +0200
lib/replace/wscript: rename REPLACE_H_SOURCE => REPLACE_HOSTCC_SOURCE
metze
commit 0d307f25a051544047563a40de4df344c17f0d9f
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 08:29:53 2010 +0200
lib/replace/wscript: implement the same getpass detection logic as the autoconf version
metze
commit e37b834a62a45c890cf05f208ffc077a1cf10d16
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Apr 11 19:16:32 2010 +0200
lib/replace/wscript: inline LIBREPLACE_GETPASS into 'replace'
metze
commit a9e4abaa6e72425017953f95e2f22cc4af6d7455
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Apr 12 03:45:12 2010 +0300
s4/libnet: Allocate mem in supplied mem_ctx
In this case, 'libnet_Vampire *r' may not be a pointer to
a talloced memory.
commit 82b8bbdfac3a9bf7daded97173d205764f14670a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Apr 12 03:33:33 2010 +0300
s4/py_net: Source code formatting fix
commit 98942c8d840745d72f0ef19636752128236a9bbd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 11:12:22 2010 +1000
build: use a common autogen-waf.sh for all builds
the symlink will get updated with the right target when waf dist is
used in each directory
commit 9ffd6c0ec339aa6e70543cfecfb2bab93705e603
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 11:09:44 2010 +1000
build: cope with symlinks between build components in waf dist
This will allow us to have autogen-waf.sh be a symlink to
../buildtools/scripts/autogen-waf.sh in each library.
That will prevent people from updating only the script in source4/,
and forgetting to udpate the scripts in the other libs, as happened
with commit f3f82496
commit 47c4e883d6fd833a7ca5d37f289908299f9f0c15
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Apr 12 02:55:27 2010 +0200
s4-net: Add definition of outf.
commit f8e527b088ab19aab5a36a70a45a1032ad338d45
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 09:49:56 2010 +1000
build: added --minimum-library-version configure option
this allows the packager to override the default choice of system
library version
commit 2179c6a8f843d9db5860b6c91d154d288f28d741
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Apr 11 18:43:56 2010 +0300
s4: fix a typo
commit a62d0419dee3d3fe8618baa71aa882c5bed54072
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Apr 11 17:27:30 2010 +0300
s4/libnet: handle errors returned for DsAddEntry_v3 properly
It turns out ms-docs are little bit misleading - in case of
no error, r->out.ctr->ctr3.err_data is not NULL, but
error information (r->out.ctr->ctr3.err_data->v1.info) is NULL!
commit cb0ad42a3d9d837cfc06f65baa6d8fa2d28a3ec9
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Apr 11 17:24:32 2010 +0300
s4/libnet: Add few new lines in the debug log so it is readable again
commit 9f92d586ca537ed093a1d68eacf94315da68a8ad
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Apr 11 17:04:21 2010 +0300
s4/libnet: Dump DRSUAPI_DIRERR_OK as unexpected
Actually DRSUAPI_DIRERR_OK is not valid error to be returned.
I introduce it in the IDL so that I can use it in enum.
So it should be dumped as Unexpected error code
commit 8e95db9eea8bfd6ec12a894d0d46705a3c414e4e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 15:25:55 2010 +0200
s3: Move serverinfo_to_SamInfoX to auth/server_info.c
commit b8829e74fd0386931c1a5845337efff25fec72c2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 15:25:06 2010 +0200
s3: Move [make|free]_user_info to auth/user_info.c
commit 18909879cc100b958d74c78ff9f84e9ba3318340
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 22:41:59 2010 +0200
s3: Move make_server_info_sam to auth/server_info_sam.c
commit 2b1a50c2e537f690acd8eff1d0cf3102104144d3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 22:38:33 2010 +0200
s3: Move sanitize_username to lib/util_str.c
commit 80708b75f815d455c7cc00fc4cccfb6af91e9d85
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 22:37:08 2010 +0200
s3: Move make_server_info to auth/server_info.c
commit 5792ccc7c85276edd86050b18b755e05cda7e1f1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 22:32:36 2010 +0200
s3: Move check_sam_security to auth/check_sam.c
commit 04f9e33de140235d387a254403909063b8c30f9e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 22:26:46 2010 +0200
s3: Make check_sam_security public
commit a0c175eca9d296e8434acbdb1a87241d64d86f7b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 22:23:08 2010 +0200
s3: Replace "auth_context" by "challenge" in need_to_increment_bad_pw_count args
commit 19c00865537ff298e6306de4e81d376d3f068237
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 14:07:12 2010 +0200
s3: Replace "auth_context" by "challenge" in sam_password_ok args
commit 7ba21a339c591f546085fcd8cfbf77c25dcfe11e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 13:48:55 2010 +0200
s3: Move user_in_group() and create_token_from_username() to token_utils.c
Goal is to be able to call check_sam_security from winbind
commit 4d84dab21d1b13bbfe3d8f90c88e41ad3c524bb5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 22:56:09 2010 +0200
libcli/auth: Fix an uninitialized variable
value.dptr was used uninitialized in the "goto done;"
commit da7294ae0d1c9cdeb1c945f3eb51d2376e7dabf6
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 22:38:38 2010 +0200
nsswitch/wbinfo: Fix the S4 header check
commit e1630ecb11ac09025456debeb3dc6afaccdb955b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 11 22:16:48 2010 +0200
idl: Use C-style comments, because cpp on some platforms doesn't accept
// comments.
commit 1d3b00bfd7ddfa983a68ecf4b0033729a42e9baa
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 21:44:20 2010 +0200
s4:dbspeed torture - improve also the TDB code part
Always use the label "failed" on failures, always close the database context
(child of "tmp_ctx") when deleting database file.
commit 1fd6d9cd661692e6b0ac950127a0d5b80945bfad
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 21:37:23 2010 +0200
s4:dbspeed torture - remove unneeded newlines on "torture_result"
According to Jelmer's post on the technical list.
commit b65c8d05059466f8e8b2196c99469105afd128e8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 11 20:56:48 2010 +0200
s4: Fix more test results to not conflict with subunit commands.
commit 5d0694f9941e22f92c9c641b8fb3a7ce376ee5cd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 11 20:56:02 2010 +0200
subunit: Cope with lowercase test results in tap2subunit.
Also submitted upstream.
commit 3a34b5f35ec0a666ff8f731577bd2fdfa67e9dcb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 11 16:55:48 2010 +0200
subunit: Remove more test output that could be interpreted by subunit.
commit 7da94cc4a664521be279b019e9f32121cd410193
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 11 01:39:06 2010 +0200
subunit: Support formatting compatible with upstream subunit, for consistency.
Upstream subunit makes a ":" after commands optional, so I've fixed any
places where we might trigger commands accidently. I've filed a bug
about this in subunit.
commit d0ab7440acf57f698290c2ba64650c6144bc8545
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 11 00:08:16 2010 +0200
selftest: Accept 'testing:' to introduce new tests.
commit 0ee1985b05bd1a650f712a6d458b20c31eae8734
Author: Derrell Lipman <derrell at dworkin.(none)>
Date: Sun Apr 11 11:37:00 2010 -0400
[Bug 7345] Incomplete description of function return values in libsmbclient.h
- Fixed documentation on smbc_fstat(), smbc_statvfs(), and smbc_fstatvfs():
All were missing return value upon success
- Fixed documentation on smbc_read:
Documented return value upon EOF
Derrell
commit 59d68899c40ef368ab57fa734f95bcfb475bb46e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 15:26:23 2010 +0200
s3: Use sizeof(chal) instead of a constant
commit b0d65f827e2314e907b5fd4768c55ae4c816e8da
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 12:53:00 2010 +0200
s3: Use talloc_stackframe() in user_in_group
commit 9655f63642e9ad3b8b25fcd2beb8bc49fdb9d4e5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 12:47:28 2010 +0200
s3: Use talloc_stackframe() in user_in_group_sid
commit 9cf448a30efc73392f267547ef48b7ab19790900
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 12:47:13 2010 +0200
s3: Use talloc_stackframe() in create_token_from_username
commit 3c169c0475bc4f69c81b93a66884cc3cd9ba19dc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 12:44:01 2010 +0200
s3: Fix a memleak in user_in_group_sid
commit a2d1e5e0f77220f912cacb821a928c5e5a952e47
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 12:37:48 2010 +0200
s3: Remove the make_auth_methods routine
This was just TALLOC_ZERO_P
commit bc619586f210dad5ed01859e21b5f657a34052bf
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 12:24:07 2010 +0200
s3: Fix a typo
commit c5c40f26482696aca9ee67d170e827f450d59a8b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 12:20:24 2010 +0200
s3: Make "auth_context" its own talloc parent
Remove "mem_ctx" from "struct auth_context"
commit e35a2f89b27b49f57d73c2461e0cecd2bbd46fa8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 11:50:55 2010 +0200
s3: Fix some nonempty lines
commit 568ca2433d0d2292047979abbfcb03543bb27a67
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 12:56:50 2010 +0200
s4:samdb_server_site_dn - free unused DNs in the right way
commit c7dfe736a88549f5793521609aca68ca85545c1b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 11:33:45 2010 +0200
s4:torture - "dbspeed" test - add newlines as we have them in the other failure messages
commit 52ab3ca5e697bc638a20a338b857521ee69949a7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 11:22:41 2010 +0200
s4:torture - "dbspeed" test
Calculate the leaks on base of the "tmp_ctx" not the torture context.
commit 753698e070ce5b9efbe5889a6a7434115520223d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 11:21:19 2010 +0200
s4:torture - "dbspeed" test
Unify error handling.
commit cc32e7aff2e071e0b1985097bb8526ce36160391
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 11:13:31 2010 +0200
s4:torture - "dbspeed" test
Add more "talloc_free"s where needed or useful.
commit b91484a1a075c2913ebb50ee034f36580387bfa8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 11:14:24 2010 +0200
s3: Cosmetics -- I could not spot where "chal" was initialized
commit 2c193fe91af60f29ed4d560496842073097469bb
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Apr 9 17:18:53 2010 +1000
s4:auth Remove event context from anonymous_session()
This should always return a simple structure with no need to consult a
DB, so remove the event context, and simplfy to call helper functions
that don't look at privilages.
Andrew Bartlett
commit 18078ec4450a7ee37b613020886ec6bead7a6ead
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 22:52:06 2010 +0200
s3: Use IS_DC macro in get_global_sam_name()
Much as I dislike macros, this one is there. So why not use it...
commit f73e480e1917712bfb6c9641f9a49c454a1e4a5f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 22:34:51 2010 +0200
s3: Remove domain selection from dual_pam_auth
We're in a child, the parent already has chosen the domain by
picking the right child to connect to.
Metze, you've done work on winbind lately, so it goes to you:
Please check :-)
commit 664eacc53a50415cd4f5534386501f640228f6c3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Apr 10 22:35:57 2010 +0200
subunit: Don't abort when receiving test results from tests that weren't
announced.
commit 64bf8c400c8076316929cb6f06346bdf1c48d9d7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Apr 10 22:20:12 2010 +0200
selftest: Support passing --load-list to test runners.
commit 4fb98b6856fd0174d0f41f390e28027da636c307
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Apr 10 21:24:33 2010 +0200
torture: Simplify torture suite running, call restricted test suite runner.
commit 6b442f43bc54555c60760eced131c2d50bf72a95
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Apr 9 01:59:01 2010 +0200
smbtorture: Remove unused shell feature.
commit 24f364517b4013f3467c873e5b1877fe5f1c1941
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Apr 9 01:58:28 2010 +0200
smbtorture: Support --load-list argument.
commit 0b7bb7f85a4bd7e2ef6bd3644a0c1a0c8d42a1d9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Apr 10 19:54:32 2010 +0200
s4:registry - "patchfile_preg.c" - use more "sizeof"s on length specification
This makes the code more clear to read.
commit 458a441f7ff36e03fb59299b44986f10e062ee78
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Apr 10 19:48:23 2010 +0200
s4:registry - "patchfile_preg.c" - fix indentation
commit c7c8f0ccf370176479480772d88ccb794b6728a2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Apr 10 19:42:00 2010 +0200
s4:registry - "patchfile_preg.c" - fix a datatype
This should be an "uint16_t" (only two bytes are written).
commit 1038a134eddd178635d3c1187cb92a42b884e76f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 16:34:53 2010 +0200
libwbclient: Fix a memleak in wbcGetDisplayName
commit 27d3bdd36b374b40a9e383262e2e30c813943d7e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 16:59:27 2010 +0200
libwbclient: Ensure correct 0-termination in wbcGetSidAliases
commit 4085e189a147841fed64ecbe072cde007cedad0d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 16:55:46 2010 +0200
s3: Check 0 termination in GETALIASES
commit 77267733edba42f03f89f3777854569bf2333321
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Apr 10 20:39:45 2010 +1000
s4:dsdb Don't use the permissive modify control on schemaInfo updates
The use of 'replace' is enough to wipe out the old value, whatever it
is, we don't need to set 'permissive modify' too.
Additionally, this seems to be causing trouble for the OpenLDAP backend
Andrew Bartlett
commit 5ebeab379430104c615fd401abe9a8c7dc3339b8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Apr 9 19:07:12 2010 +1000
s4:dsdb Don't return operational attributes on special DNs
commit 6ef167c37bcf2842434a51733c351246294842a2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Apr 9 17:22:35 2010 +1000
s4:rootdse Implement "tokenGroups" in the rootDSE
This returns the currently connected user's full token. This is very
useful for debugging, and should be used in ACL tests.
Andrew Bartlett
commit 944dc2cb0ba13799a343f655a353013e4a9d8dd1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Apr 9 17:21:21 2010 +1000
s4:dsdb Improve error message in extended_dn_in
This error occours when an extended DN cannot be resolved, so it's
most helpful to print the problematic extended DN.
Andrew Bartlett
commit 78dd3778494600f8047ba2dd0ea8635eb84258f7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Apr 7 14:03:29 2010 +1000
s4:ldif_handlers tokenGroups are SIDs
commit 4b27cc0ea6e829c316da1ee87de180ff8de88fc5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Apr 7 10:42:16 2010 +1000
s4:rpc_server Fix segfault in modified SamLogon handling
commit bc6659936a4719a30d1f289bca7dbe639cb972cf
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Apr 5 19:03:14 2010 +1000
s4:provision Don't make the 'slaptest' call produce errors
Adding -n 0 also allows us to check the error code too
Andrew Bartlett
commit 03408267720cc1326be06fe1b6871b31ab18c097
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 30 21:23:46 2010 +1100
s4:rpc_server Add all SIDs into the netlogon SamLogon reply
We were missing the SIDs that are not in the domain.
commit 4074739fe71a27feb950aa35f74bb27dc42c17f2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 29 21:16:18 2010 +1100
s4:schema Try to fix OpenLDAP backend after schema reload support.
If we can't get @REPLCHANGED, default to a value of 0.
Andrew Bartlett
commit c8cb17a18c8acd831d9197fd4457881bf58250b1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 29 18:13:46 2010 +1100
s4:heimdal Create a new PAC when impersonating a user with S4U2Self
If we don't do this, the PAC is given for the machine accout, not the
account being impersonated.
Andrew Bartlett
commit f2b63d58da895d11ed490dddd5df30c777369fad
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 23:11:06 2010 +1100
s4:kdc Add functions to hdb-samba4 for the new s4u2self callback.
For now, this shares the 'if it's the same host' system with the
constrained delegation code.
Andrew Bartlett
commit 1d59abc724a9ad01fdc61f3e6cfdf41c9f4cb910
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 23:09:31 2010 +1100
s4:heimdal Add hooks to check with the DB before we allow s4u2self
This allows us to resolve multiple forms of a name, allowing for
example machine$@REALM to get an S4U2Self ticket for
host/machine at REALM.
Andrew Bartlett
commit aecaddfa1b2a55c9cc91c3644947c3686714ceb5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 3 13:24:52 2010 +1100
s4:credentials Add the functions needed to do S4U2Self with cli_credentials
A torture test to demonstrate will be added soon.
Andrew Bartlett
commit 18f0e24f5573611c983d2d5d37409fa77b199dd5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 3 11:34:04 2010 +1100
s4:credentials talloc_free() any previous salt_principal
This isn't used often, but it is generally better not to leak it onto
what may be a longer-term context.
Andrew Bartlett
commit 5beaef7cde3c311e4543abf71e5fe9794d62cc6e
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 10 10:58:27 2010 +0200
s4:autogen-waf: generate 'Makefile' instead of 'makefile'
This hopefully fixes the build on MacOS 10.
metze
commit 61d3ba04b497011b933564cc4566239a91e4bf67
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 10 10:49:18 2010 +0200
s4:configure: generate Makefile from Makefile.in
This makes it possible for the waf build to also generate a 'Makefile'
instead of 'makefile'. On some platforms 'Makefile' is used before 'makefile'
metze
commit 8966a28b6867b8acaf8e9b89e25849299ba5e088
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 10 10:07:11 2010 +0200
s4:heimdal_build/wscript_build: remove more network related stuff from HEIMDAL_ROKEN_H
metze
commit e390edb46b2abdbb8bf5a6191d05a5a454125c16
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 10 09:54:49 2010 +0200
s4:heimdal_build/wscript_build: use LIBREPLACE_H for asn1_compile and compile_et
metze
commit b2e144186419726175b1690da5cf82e991bc72c0
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 10 09:51:28 2010 +0200
lib/replace: create a LIBREPLACE_H subsystem
metze
commit e15939b4561b84eda283a9df233e2a3a0ed42621
Author: Jeremy Allison <jra at samba.org>
Date: Fri Apr 9 19:26:34 2010 -0700
Plumb SMB2 stubs into all the places we defer SMB1 operations.
Rename functions to be internally consistent. Next step is
to cope queueing single (non-compounded) SMB2 requests to
put some code inside the stubs.
Jeremy.
commit b253385611ac4934bb46390ef519c547bba87eb3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Apr 9 23:34:07 2010 +0200
s4:LDB - fix up "LDAPI" test
Set the "options" environment variable in a deterministic manner.
commit 5eedaaea43a7f141960cfffc62116655f1117de8
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 19:54:31 2010 +0200
s4-smbtorture: skip winreg symlink test against Samba in RPC-SPOOLSS.
Guenther
commit bc2e675c3a5272953fb5b4f2e39ab2c164868fab
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 19:53:31 2010 +0200
s4-smbtorture: make sure to check for result of spoolss_GetJob tests.
This avoids returning potentially uninitialised data. Thanks Andreas for
pointing this out.
Guenther
commit 357006bf074a0c6788b948f0c0260ec85caeec09
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 18:44:19 2010 +0200
s3-spoolss: Fix two uninitialized vars in spoolss util code.
Guenther
commit 202d330be6f6fe249b0ec241342762a533320d1b
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 18:33:25 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 1cec3029e5ed5b6be3e7817c05d5f7214dfb4181
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 17:50:51 2010 +0200
s4-smbtorture: display helpful error message when winreg_QueryMultipleValues fails.
Guenther
commit 347035d61f106a70c6d9cbf5c7a577a9fe104a05
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 17:49:57 2010 +0200
winreg: move REG_OPTION_NON_VOLATILE out of option bitmask.
Guenther
commit b9188e45713688435bcca390ae3c89ae3bd7f14c
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 17:28:04 2010 +0200
winreg: fill in IDL for winreg_QueryMultipleValues2.
Guenther
commit 63b111bd329fddaf0bfd64ca8255deecb1fd5352
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 16:47:45 2010 +0200
s3: add iconv_convenience handle to pull/push sz helpers.
Guenther
commit bfeab64ebf9481d98ffb182adb03bbd6e6ada462
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 9 16:49:02 2010 +0200
s3: Fix a typo
commit bae564b0a361fa1ead777e1a5da47d3499c3676c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 16:27:39 2010 +0200
selftest: make sure filter-subunit and format-subunit use unbuffered io
metze
commit e1faff90717c545637debb0c622fd9dc312faa02
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 15:58:32 2010 +0200
s4:selftest: mark some smb2.compound tests as knownfail
metze
commit 0bf6043df9a769784e427217737f917501f26466
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 09:03:43 2010 +0200
RPC-ALTERCONTEXT: let the test pass against w2k3 and w2k8
The behavior between w2k3 and w2k8 differs:
- w2k3 just ignores alter_context requests which try to change
an existing presentation context.
- w2k8 returns DERPC_NCA_S_PROTO_ERROR and closes the transport
connection.
metze
commit 5844a7dfe6a952500456a6bc3acbe9566d830a2a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 09:02:48 2010 +0200
s4:torture/rpc/lsa.c: add test_lsa_OpenPolicy2_ex() that takes an expected status
metze
commit e95e2e82624eab72c1ae913b9b2b00412c91802e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 13:27:07 2010 +0200
s4:librpc/rpc: correctly initialize last_fault_code for bind and alter_context requests
metze
commit 718a8046138355defbbf0f5b42502b1cc7fd801a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 13:25:59 2010 +0200
librpc/rpc: fix typo DERPC_ => DCERPC_
metze
commit 92d98b68161a53011cd576fe2919411f811e8325
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 13:25:34 2010 +0200
librpc: rerun make idl
metze
commit ba5825ead84490cc7b47102a98ac5808b2f265cc
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 12:07:43 2010 +0200
dcerpc.idl: fix typo DERPC_ => DCERPC_
metze
commit 800c735de6f3c7401089dd0c49ac2a253b24da4c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 13:23:53 2010 +0200
lib/torture: also print intergers as HEX values in the torture_assert macros
metze
commit f716c027c68452f4f0eb01df1e0ccca4a2a69950
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 14:26:36 2010 +0200
s4:heimdal_build/wscript_build: we don't need separate subsystems just for optional source files
metze
commit 787ecd4023ae9eef515225faa9e29aa4e0694711
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 14:13:53 2010 +0200
s4:heimdal_build/wscript_build: remove useless dependecies of HEIMDAL_ROKEN_H
This hopefully fixes the build on host opi - OpenSUSE 10.2 (x86_64).
metze
commit 2eaddcd9f2595442806cba3e2b9bcb08ee115720
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 14:10:57 2010 +0200
s4:heimdal_build/wscript_build: create a HEIMDAL_ROKEN*_SOURCE variable
metze
commit 48daa0b6ee1d7d1214455112b1e9dad406c29be3
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 15:58:01 2010 +0200
s4-smbtorture: add test to check for registry symlinks in RPC-SPOOLSS-PRINTER.
Guenther
commit a21be5fc1b9777089506f6580a776b20f31041a2
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 14:44:38 2010 +0200
s4-smbtorture: fix build after winreg IDL renames, sorry..
Guenther
commit 673ca041140d56dbe1b1f840af3a9f51e72d140b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Apr 9 14:20:18 2010 +0200
s4-build: Fix autoconf build (net_machinepw.c is no longer present)
commit c666b8af96fecb2bd9230a5e10f99c5d5e0a5353
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 9 14:09:20 2010 +0200
s3: Use talloc_tos() as talloc ctx for fd_lines_load() in map_username()
commit d3e9e83d7e3fd3ef3da1b64cb4181c0e6a46914d
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 9 14:05:09 2010 +0200
s3: TALLOC_FREE(command) correctly in map_username()
commit 5d04aadcb90c0272a2fe03a85ac2f91b99845c32
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 13:51:42 2010 +0200
s4-smbtorture: Fix winreg test after keytype renameing.
Guenther
commit 35ef60918ba5f9a39ce8d516b65ae5fd56e1c65f
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 13:50:34 2010 +0200
s4-winreg: Fix dcesrv_winreg_CreateKey after rename.
Guenther
commit faf2d4988bd0eb9390b04b1ea76fb059d5495185
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 13:50:10 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit eda0aa4b9135a5a6bf7713276beebbbbecc56da9
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 13:49:28 2010 +0200
winreg: rename winreg_KeyType to winreg_KeyOptions.
Guenther
commit 8c593f63557d056bd80b4ce0b0d5e04f5a56a4bc
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 12:40:36 2010 +0200
s4-smbtorture: when creating winreg-symlinks during a test, it is very wise to make them volatile.
Guenther
commit 299a6ffe9eb88b5907ca98ad06f9d6ac253945e0
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 12:26:06 2010 +0200
s4-smbtorture: winreg keytype options is a bitmask.
Guenther
commit ab27c6d138277a01a40c3f6dd735512d466ea722
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 12:24:59 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 8805490853f449dc2d71e80d5052a6615740c2a2
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 12:24:18 2010 +0200
winreg: keytype options is a bitmask.
Guenther
commit bc9289995a4d338644aec8a504e284ac65d73c53
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 01:07:39 2010 +0200
s4-smbtorture: more work on registry REG_LINK (in-registry symlinks) test.
Guenther
commit 92a051ef2fffe7e141531a15c0a8b39cb26e0908
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 9 21:24:59 2010 +1000
s4-waf: only enable the python uuid module if python <= 2.4
commit a10f024083b25f0b879e9ccd8f53ac370aa22a30
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 5 15:11:19 2010 +0200
libwbclient: Fix some memleaks in the tests
commit 45d3ac05b3781a8c14e7f4426a515746e9a99172
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 9 21:12:02 2010 +1000
build: use Logs.error() and Logs.info() instead of print()
this gives appropriate colors on output, and ensures it works with
compiler output
commit d661759780d70c771c3748095db5a5308451266d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 9 21:00:49 2010 +1000
build: nicer error message on missing file in waf dist
commit a591b8497d53aaa45c316c722e58d94f77420955
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 9 20:44:09 2010 +1000
s4-waf: added --gdbtest option for waf test
commit 0b8a3a4036f3dfc59a39ae4b6364f93a66a40415
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 9 20:30:44 2010 +1000
build: no need to re-create the lib and bin symlinks if they exist
this saves a few unlink/symlink calls for null builds
commit 5f90d3260be8f30e5d9ccd542aca1807d58d2443
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 9 19:54:40 2010 +1000
build: added --picky-developer and --fatal-errors
Added configure options for --fatal-errors and --picky-developer. This
removes -Wfatal-errors from the --enable-developer flags.
commit 0d92dd1074971a3c1e3116de5188a475298587a2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Apr 9 02:37:20 2010 +0200
s4-net: Cope with options without arguments.
commit 410527f9369c44a25a5689b4665f3485c16d625a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Apr 9 02:31:57 2010 +0200
s4-net: 'net user create' -> 'net user add', for backwards compatibility.
commit ececb7326200d6c59fa15f7542421099d3899297
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Apr 9 02:30:48 2010 +0200
Support --version in python scripts.
commit 9af8d02b2230f78e4842106b918ff278dadd1d59
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 23:58:15 2010 +0200
s4-net: Convert machinepw command to python.
commit f83aa13f6228e04359952f04ebd7afed9a742c4a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 23:53:19 2010 +0200
s4-net: Convert vampire command over to Python.
commit ffa73c412e1190024ae0bf4758174d1b21c16e13
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 23:03:41 2010 +0100
s4-net: Convert user subcommand to Python.
commit 8149094eddebd9a0e8b7c123c2ed54d00164bb26
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Apr 9 10:48:20 2010 +0300
s4/dsdb: Set schemaInfo attribute value during provisioning
After provisioning new Forest, schemaInfo should be set
to a value with revision=1 and current invocation_id
commit 4ba2ac073d7a7859ab73f8b7f40d630ddbff8687
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 8 10:23:13 2010 +0300
s4/dsdb: split writing of schemaInfo blob in two parts
ldb_msg preparation is moved into separate function
so that it can be used for implementing schemaInfo
updates both on module stack (dsdb_module_... functions)
and directly on ldb_context
commit fbef33fb7369f57e6851d3766f87c953ca2d26bd
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 8 08:27:07 2010 +0300
s4/dsdb: Let caller to control if valid invocationId is critical or zero-guid is acceptable
commit 2763a4ac4e8c93701e00a3baa9fb2dfa24b776f4
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 8 05:32:59 2010 +0300
s4/test: Add DRS-UNIT test suite to 'quicktests' list
commit 5363b6e68b2eb432142b4c0d4972ea4def17c1be
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 8 05:31:35 2010 +0300
s4/dsdb: Use dsdb_schema_info object to create default schemaInfo values
commit c3d77989913a1ec270a50847922f6c1ffd7cbad0
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 8 05:30:16 2010 +0300
s4/dsdb: Use dsdb_schema_info object to verify schema_info blobs
commit e5ef11f4e29af77147dc21e6e8986ed091818566
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 8 05:27:59 2010 +0300
s4/test: Use drsut_schemainfo_new() instead of SCHEMA_INFO_DEFAULT local define
commit 15921b669e6c8ef7b6d90708edde7c6eb4009d36
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Apr 7 14:22:49 2010 +0300
s4/waf: add new files to WAF build
commit 6d439afbf77b15d34310144c473f6600148f7d84
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Apr 6 15:17:05 2010 +0300
s4/samldb: schemaInfo attribute must be updated when adding new Schema object
commit 7f0da64a4990f21f67afde192322a53bcb4438ce
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Apr 7 13:00:53 2010 +0300
s4/test: add shemaInfo torture test to automated test suite
commit 08dd0d0b54062c34643cf3b0fbaeabfc3d471782
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Mar 31 04:18:06 2010 +0300
s4/schema: Torture test for schemaInfo implementation
This test checks if schemaInfo revision changes when an object
is added or modified in Schema.
Ref. [MS-ADTS], 3.1.1.2.1
commit 80d8f37b26c2919899ec3de9ec5b2c1079436c6e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 8 10:51:36 2010 +0300
s4/was: Add 'drsblobs' Python module
commit 3629fb9927074154c15ac0d16cce187bc6b9e665
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Mar 31 04:13:18 2010 +0300
s4: Add 'drsblobs' Python module
This module is be very useful when it comes to making
torture tests.
commit 8dd5705a591ee617478663180316dd0f768049b9
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Apr 6 15:10:47 2010 +0300
librpc/idl: Use [nopython] attr for types used in decode_PrimaryKerberos method
C code generation for python module generates invalid code
(i.e. can not be compiled).
Another reason to 'hide' those types from Python is
that those types are not used at the moment
(and most probably won't be used in the future)
commit 2ea99c22c3e89780062959dd9da71f5b5da7831e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 6 11:32:57 2010 +1000
librpc/idl Use [nopython] on some drsblobs.idl 'functions' as an example
It makes little sense to expose these 'functions' to anything other
than ndrdump.
Andrew Bartlett
commit 738ac5303711567e43b60810ae8d6910d071709a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 6 11:32:14 2010 +1000
pidl:python Allow 'nopython' to work
The 'nopython' flag wasn't available for use, as it failed to get past
the syntax checker.
Andrew Bartlett
commit 526e62c46f432950645dc7019969eb694d7b0c6b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Mar 29 12:31:38 2010 +0300
s4/tort: Unit test for schemaInfo implementation
commit ae30cb958e86364b653c3e46cdc889e0324660a2
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Mar 27 03:04:09 2010 +0200
torture: add torture_assert_goto() convenience macro
commit 9d1f8bcca9e39d1e0caa9377f30c290b0738f080
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Mar 23 16:44:02 2010 +0200
s4/dsdb: dsdb_schema_info object implementation
commit 37a6b66344ae5832bd3db71983bf75c1309e5b9d
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Mar 23 02:32:14 2010 +0200
s4/dsdb: Define dsdb representation for schemaInfo attribute
commit 6e7be5f4d1eccccb93f8e3ed2751e8851f94517f
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 18 17:04:34 2010 +0200
s4/ldif: Handle Schema:schemaInfo blobs
commit ffd1d7ee7e19db6b97177f8b2ae0871954cc6a20
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 18 02:33:04 2010 +0200
s4/idl: drsblobs IDL regeneration
commit 63e1aae69c7a6af9a09cf7b4baa173c42cd569cc
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 18 02:30:51 2010 +0200
s4/idl: Schema:schemaInfo attribute description
commit deccb6cf9a91d37a085bb7b10e3607fcf37c47c0
Author: Karolin Seeger <kseeger at samba.org>
Date: Fri Apr 9 09:23:54 2010 +0200
s4-krb5: Fix typos in comment.
Karolin
commit 08b24e923dff99d3d3c0618903a7ed2959640470
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 8 22:15:55 2010 -0700
Stop smb2 from calling into smb1 blocking lock request code.
Allocate a uint16_t internal SMB1 mid for an SMB2 request.
Add a back pointer from the faked up smb_request struct
to the smb2 request.
Getting ready to add restart code for blocking locks,
share mode violations and oplocks in SMB2.
Jeremy.
commit 3491f6d119d1f4c7e0a259a9993ce96783b77e23
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 8 21:24:23 2010 -0700
Simplify call_trans2qfilepathinfo() and smbd_do_qfilepathinfo()
Remove the bool ms_dfs_link parameter from smbd_do_qfilepathinfo.
It is not possible for this to be a DFS link. Remove the check_msdfs_link()
call from call_trans2qfilepathinfo() - the call to filename_convert()
above with a ucf_flags of zero *MUST* catch a DFS link and return
NT_STATUS_PATH_NOT_COVERED in this case, so the code below checking
for msdfs links is redundent. Don't add this to 3.5.x, as it's an
optimization but not needed to fix bug #7339 - MSDFS is non-functional in 3.5.x.
Jeremy.
commit 358781559526f962c96c1af88cd104946c507d05
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 8 20:32:36 2010 -0700
Fix bug #7339 - MSDFS is non-functional in 3.5.x
In the refactoring around filename_convert, the split between the functions
resolve_dfspath() and resolve_dfspath_wcard() was lost, leaving us only with
resolve_dfspath_wcard().
Internally resolve_dfspath_wcard() calls dfs_redirect() only with a
"allow_wcards" flag of true, wheras the old resolve_dfspath() would call with a
value of false. The loss of this case causes dfs_redirect to always masquerade
DFS links as directories, even when they are being queried directly by a trans2
QPATHINFO call. We should only masquerade DFS links as directories when called
from a SMBsearch or trans2 findfirst/findnext - which was the intent of the
"allow_wcards" flag.
This patch adds back an allow_wcards bool parameter to
resolve_dfspath_wcard(). This bool is set from the state of the ucf_flags when
filename_convert() is called.
I will follow this up with a new smbclient-based torture test that will prevent
us from ever regressing our DFS support again.
Jeremy.
commit 8126c78c76965fe6158fb8ef426abf256551e725
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Mar 30 00:13:46 2010 +0300
s4/torture: Suppress Valgrind warnings
This patch suppresses two Valgrind warnings of type
"xxx bytes in yy blocks are indirectly lost in loss record"
commit 846813797d3bba612492a5600cbe638388760ccf
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 00:11:57 2010 +0200
s4-winreg: add winreg_DeleteKeyEx stub.
Guenther
commit ffcaa7328079b45e2a137e637b686aa2edb4219b
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 00:11:41 2010 +0200
s3-winreg: add winreg_DeleteKeyEx stub.
Guenther
commit e42d5b5ae3da7d7a32428c50c8f518eab2dfbf30
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 00:11:00 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit dc4bf5651ee466397ab51cacaf83b519b79da5f1
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 00:10:07 2010 +0200
winreg: add IDL for winreg_DeleteKeyEx.
Guenther
commit 0a154b940dc5657f78e3fe10fc239ed0b46c2eaa
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Apr 8 23:43:50 2010 +0200
s4:registry - "patchfile_preg.c" - assign a better type to the "i" counter variable
The "i" variable sums up "size" values which are of type "size_t". Therefore
also "i" itself should be from this type.
commit aa9e782a4d27600096230be44e0e18971e503e20
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Apr 8 23:42:23 2010 +0200
s4:registry - "patchfile_preg.c" - make a SIVAL statement nicer
commit 7c54ff5898b98e75c848dde84e1d1845ec0e3666
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 8 23:47:04 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit e7a157317a1cec363efa084cfa3d40555604568d
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 8 23:46:15 2010 +0200
winreg: fill in some winreg IDL gaps.
Guenther
commit 26d928e9482725fe66db05f23af573fdea61a291
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 23:41:08 2010 +0200
s4-net: Convert 'net time' to python.
commit 0c6f434b7bc0d9d4a8819a03815200966c92736e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 22:33:01 2010 +0100
net: Convert time command to python.
commit 6510b2cdd21c473bd146b7630d69d06342801cb1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 22:59:16 2010 +0200
s4-net: Use new Net() object in net export keytab.
commit 814e20e7da60f0ec33dfea1d4d6dda1b653b818d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 22:23:45 2010 +0100
pynet: Create a net class.
commit 7a6f1c78429183bd22e4b3e82881ac3ce2e0a1a7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 23:18:17 2010 +0200
s4-python: Fix formatting, use standard convention to call instance methods.
commit ae6d306c68aeb79280a950409352c76bad4fcd33
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 22:14:50 2010 +0200
s4-python: Cancel transaction properly in case of exceptions, fix formatting.
commit 57ac0a6042c368a72beca3b48d0ae7210a9c999b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 22:07:42 2010 +0200
s4-python: Move load_partition_usn to dsdb module.
commit dd4ef4e106d372cfadf7b47db8bf9dc25728b3bc
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 21:01:17 2010 +0200
s4-python: More cleanups.
commit a35d876537eb301d75a254d9da97268d041da8d6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 20:34:40 2010 +0200
s4-python: rename samba.glue to samba._glue to indicate it's private.
commit cc6e2b8a819c6a1da4e6214be9607aab2de270bb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 20:28:11 2010 +0200
s4-python: Fix formatting, import of FLG_NOSYNC.
commit d7a46ee129c455cba95126e9c0f409522127894e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 18:57:09 2010 +0200
s4-python: Simplify code, improve formatting.
commit be4b68817544b87d12a1dcd7d8b5c5d778872418
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 18:53:14 2010 +0200
s4-python: Remove obsolete and broken torture modules.
The functionality of these modules is already present in a more current
form in other modules.
commit 19e1537fdfce58e9ce1bbaa293be4d00f0e0fda1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 16:49:24 2010 +0200
testr: Use waf test runner.
commit d0c25157e9b96ce9855ecd632723423ea45ea8c0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 16:48:33 2010 +0200
selftest: Add --filtered-subunit option.
commit ffb2449a13504261d3c113fcd3891553ccd44ff1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 16:16:15 2010 +0200
selftest: Support --load-list option.
commit b59ba79b959955a43d6749fe9670229fbb2a679f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 15:24:33 2010 +0200
s4-waf: Support --load-list option.
commit 4f2d8d6ace81c03fb0ff181ccfb0f3c2e02e2c45
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 15:08:27 2010 +0200
s4-python: samdb: Default to using global schema.
commit 5d5fc92c6942d0d2a03dfdf0c8fd17b575bae608
Author: Endi S. Dewata <edewata at redhat.com>
Date: Sat Mar 27 21:46:27 2010 -0500
s4:dsdb - Handle INVALID_DN_SYNTAX from OpenLDAP in dsdb_module_load_partition_usn().
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 7f65f77b4dfb5ee124992a34db4a92be4d728fb0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 22:46:02 2010 +0200
Update waf build.
commit cf17d48dec1ed94127b239c9bf40bcdcbcd808ca
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 20:43:19 2010 +0100
Migrate 'net export keytab' to python.
commit 8d588e96d964de5db171cfb666feb1dc2f744aad
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 18 19:19:28 2010 +0100
s3-lanman: use spoolss for api_RDosPrintJobDel().
Guenther
commit d5e2b43176099abe433b07a763d8e4b3180d94eb
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 18 18:13:40 2010 +0100
s3-lanman: use spoolss for api_WPrintQueueCtrl().
Guenther
commit 84f3eeeca312cc9182785bb7c3b0e1c4db8b3480
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 8 16:20:46 2010 +0200
s3-registry: fix fill_in_printer_values() for datatype and printprocessor.
It is wise and good to enforce RAW and winprint, but we need to be consistent
with spoolss (and enforce it there).
Found by torture test.
Guenther
commit 1c4c4dd7e044f20c3de623b189a5c0d65b0a67b4
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 8 16:09:36 2010 +0200
s4-smbtorture: protect against full UNC paths in winreg printerinfo test.
Guenther
commit ef3490e79959a3c4366f6981c67dbe5e529a3738
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Apr 8 15:19:07 2010 +0200
s4:registry - "REGF backend" - don't ignore wrong-sized REG_DWORD/REG_DWORD_BIG_ENDIAN values
commit 3d5732fc1392740c5147c39116e5853452d0dc54
Author: Volker Lendecke <vl at samba.org>
Date: Wed Apr 7 17:50:19 2010 +0200
s3: Remove the separate "child" argument from setup_domain_child()
commit 16deed7199b837f2d8982045edbdae4e3af13afa
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 8 15:00:34 2010 +0200
s4-smbtorture: add PrinterInfo level 2 / winreg consistency test.
This compares PrinterInfo2 with contents of
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\printername and
HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers\printername
Guenther
commit f87a18ec3b3217cf1ba1706fed49b4f77d6a9815
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 8 11:56:27 2010 +0200
s4-smbtorture: minor cleanup, use data_blob_talloc_zero() in RPC-SPOOLSS.
Guenther
commit f3f82496ac1198ffa65d5b2a052838248e0685aa
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Apr 8 12:38:17 2010 +0200
s4:WAF buildsystem - support out of "source4" directory builds
Bug: https://bugzilla.samba.org/show_bug.cgi?id=4081
With this patch we are able to invoke s4 builds from the outside of the
"source4" directory (but the target remains the "source4/bin" path).
One constraint: all commands: "autogen-waf.sh", "configure", "make" have to be
run from the same directory!
Regarding "make": you have to run it using "make -C <source4 path> [targets]" if
the invoke directory is not "source4" itself.
commit bf4189eb80246b3fc1fe0cf90cd790ac0b1e0e56
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 8 22:10:22 2010 +1000
build: we need this isinstance() check for distcheck
Jelmer, this works around a bug in waf distcheck that will be fixed
soon. We really need the isinstance() check for now.
commit baec7a6b9eb6cdb2d3a21e3a6c7b99e79703d39f
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 8 22:01:27 2010 +1000
build: the exceptions here are not useful
they just make the failure hard to spot
commit 4ca46c6b8dfd9d7450096fc16c6edd7a08f369e5
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 8 21:46:20 2010 +1000
build: make the handling of relative paths a bit saner
This should fix a problem that Anatoliy has struck with the PIDL
rules. It also brings us much closer to a working build for a true out
of tree build (ie. with waf configure -b /tmp/build)
commit eb9b7d0363669574de8ec380089407890f15eac2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 8 12:45:54 2010 +0200
s3:winbindd: make "smbcontrol winbindd validate-cache" reliable again
commit 73577205cf81644e7fe853eaf3e6459f7f443096
(s3:winbindd: fix problems with SIGCHLD handling (bug #7317))
broke this.
metze
commit e2aec9d81f53ae80bc7561fa83e88df668998a1a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Apr 8 12:25:34 2010 +0200
s4:registry - "patchfile_preg.c" - fix the read operation of the data length on big-endian platforms
commit 2164ba51e299dd2f2829620d5616cd04a0a837f4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Apr 8 12:20:51 2010 +0200
s4:registry - "patchfile_preg.c" - use "sizeof(uint32_t)" for some size specifications
Looks nicer.
commit 479fd9c03fc84824fea310b76d48ce271587cfe7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 12:19:51 2010 +0200
s4-net: Simplify SamDB connect code.
commit 2578072541e880c83089fdd278d81467e91ddc5a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 03:26:39 2010 +0200
s4-python: Move set_global_schema to pydsdb.
commit a1e47e3dd2beb0c46bfc90095b066ffd64706529
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 23:57:23 2010 +0200
s4-waf: Add dist target.
commit ca74246b4b82f1f3716531ad9732c223b21dd8c7
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 8 10:40:40 2010 +0200
s3: Fix a typo
commit f1aa4c34bf0bd7d42627024af333963b741babea
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Apr 7 10:42:37 2010 +1000
tsocket_bsd: Always use a real length for the sa_socklen, and keep it around
The previous code assumed the OS would happily accept sizeof(struct
sockaddr_storage). It seems some versions of Solaris do not like
this.
Andrew Bartlett
commit 0922c5ab2da1106fdb9a750c2d71d0cd04146394
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Apr 7 15:21:32 2010 +0200
Revert "socket-wrapper: not all systems have FIONREAD defined"
This reverts commit 710aa773d54509de34404f9992c5058ddfa45f3b.
We rely on FIONREAD in a lot of other parts in the code,
so there's no need to have an ifdef for it in the socket_wrapper code.
On tru64 FIONREAD is defined in <sys/ioctl.h>
and we include <sys/ioctl.h> via "system/network.h".
Tridge: maybe a HAVE_SYS_IOCTL_H was missing at the time you tried
it on tru64?
If we find a platform that doesn't support it,
we need to bail out at configure time or
provide a replacement in libreplace.
metze
commit 3413cf7a6bd992fa722cc9674176beb15446502b
Author: Jeremy Allison <jra at samba.org>
Date: Wed Apr 7 19:00:44 2010 -0700
Start to plumb smb2 into the oplock system. Calls dummy functions for now.
Jeremy.
commit 0ec6f297eebe1062f48b9e03b7a0def8a1b5ee21
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 23:40:17 2010 +0200
s4-smbtorture: minor typo in SetJob test in RPC-SPOOLSS.
Guenther
commit d9138f4ccf7b5a491a922254fe3ff67c7d612703
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 23:36:48 2010 +0200
s3-spoolss: Fix an issue in _spoolss_DeleteForm.
Found by torture test.
Guenther
commit 65c5b786ca4dcb3fda47eea24848232548caf443
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 23:36:15 2010 +0200
s3-spoolss: Fix some issues in _spoolss_AddForm.
Found by torture test.
Guenther
commit 34ada1d540b0eedbe1dd573a47146f0309ed4875
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 23:34:36 2010 +0200
s3-spoolss: Fix potential memleak in _spoolss_AddForm and _spoolss_SetForm.
Guenther
commit 7f3116a63d7d91f4c0d26adf8fcdef0a5a957971
Author: Thomas Nagy <tnagy1024 at gmail.com>
Date: Thu Apr 8 07:45:46 2010 +1000
build: allow the waf build to work with python 3.0 and 3.1
Python 3.x is a bit fussier about print statements and indentation.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 64957ce0686761acd2a2a7ec1787898d2d8238b6
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Apr 7 23:00:42 2010 +0200
LDB:sample_module - reintroduce accidentally removed "ldb_msg_add_fmt" statement
Obviously this is really needed by the "samba4.ldb" test.
commit e5bb6d56df9b8816665fd42a04531ef19b30be17
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 22:52:28 2010 +0200
s4-waf: Fix 'waf dist' app name.
commit 472860c9a7485e37627900cb450dca605051e07a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 22:17:34 2010 +0200
Move configure_check_unused script to root scriptdir, as it is useful
for both s3 and s4.
commit 36474e58676574d426f4f8a3a067be52fa78cc9f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 22:15:27 2010 +0200
s4: Remove unused pkg-config replacement in perl.
commit 0473926a5b448c1a0b397d079c353f8406588c0d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 22:13:34 2010 +0200
update-external: Support updating dnspython.
commit 7ccd68073ddc02abdd6d8fbfaefef5c42e4e8178
Author: Volker Lendecke <vl at samba.org>
Date: Wed Apr 7 22:28:28 2010 +0200
s3: Fix bug 7327 -- Build fails while building without kerberos
libsmb/clikrb5.c has a dummy implementation for the non-kerberos case
commit 2cf3585e52807eedfe80bffcd56fd6df4eec467b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 17:54:57 2010 +0200
selftest: Display minutes and hours for duration.
commit baf81a0e08099dc863a014eb6e03b6e877ae8b93
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Apr 7 20:40:06 2010 +0200
LDB:python bindings - also empty LDB message elements should have a python representation
Bug found by ekacnet (see technical mailing list).
commit 79fccc45bc3acac5d9b15a3585e2526a3b1876f2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Apr 7 20:14:46 2010 +0200
s4:registry - "regf backend" - fix it up regarding REG_DWORD/REG_DWORD_BIG_ENDIAN_VALUES
This is needed to make it platform independently work (also on big endian
platforms as little endian).
Also add a size check before storing a DWORD.
commit 8ae956d7ba23b10e8fe17facc19f44d0ab167762
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Apr 7 18:54:42 2010 +0200
s4:winbind/wb_server.c - fix indentation
commit 40172f374ba6d5a6edde2834f7f0a28a5fe49928
Author: Jeremy Allison <jra at samba.org>
Date: Wed Apr 7 10:33:02 2010 -0700
Test using (-1) for tid and sessionid in compound related requests.
Jeremy.
commit 556b42a351e3584550f79d1c7ad83b44f3a5562b
Author: Jeremy Allison <jra at samba.org>
Date: Wed Apr 7 10:32:01 2010 -0700
On compound requests, MS-SMB2 says clients MAY use 0xFFFFFFFF for compound tid and 0xFFFFFFFFFFFFFFFF for compound sessionid values. Cope with this.
Jeremy.
commit 146c1618e44591a11afade87f67797e6f80fa813
Author: Jeremy Allison <jra at samba.org>
Date: Wed Apr 7 10:31:43 2010 -0700
Don't forget to initialize *p_creds_requested.
Jeremy.
commit c76bd65b608bed0810013b3a447a4a30fbed98bd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 12:11:12 2010 +0200
s4-samdb: Allow skipping global schema.
commit feeedf49cfc2edbfdfd0e5512904ea67f2daff11
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 12:10:09 2010 +0200
s4-provision: Proper handling of exceptions, use SamDB class but skip global schema.
commit 21ab06f8a233b38bee750250e455416ac0bef13e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 03:30:03 2010 +0200
s4-python: Move samdb_ntds_objectGUID to pydsdb.
commit fe4b212eba1d7645c8be98240a2630759050197d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 03:08:05 2010 +0200
urgent_replication: Use standard comments rather than docstrings.
commit eebc66ce324192b38c1ceca857623c634875d379
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 1 12:45:58 2010 +0200
s3-spoolss: Added a winreg_getform1 function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit c7fb84a58fd3597431c0bbe131e51a95eaff8a70
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 1 11:51:59 2010 +0200
s3-spoolss: Added a winreg_setform1 function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 0d46ab0f3eb9662d7ee3eaf8f680632486878d46
Author: Andreas Schneider <asn at samba.org>
Date: Wed Mar 31 15:31:21 2010 +0200
s3-spoolss: Added a winreg_deleteform1 function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 93575d6d7051089b50e038a152750939130c6a72
Author: Andreas Schneider <asn at samba.org>
Date: Wed Mar 31 13:04:04 2010 +0200
s3-spoolss: Added a winreg_addform1 function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit fbd32356103e8d72dadf51e51b3119443f13ffb2
Author: Andreas Schneider <asn at samba.org>
Date: Wed Mar 31 13:03:09 2010 +0200
s3-spoolss: Added a winreg_enumforms1 function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 20e96d92430f8f9e18351be96319c3c3758ccb77
Author: Andreas Schneider <asn at samba.org>
Date: Tue Mar 30 14:46:32 2010 +0200
s3-spoolss: Fixed winreg_printer_openkey to be used in a more generic way.
Signed-off-by: Günther Deschner <gd at samba.org>
commit adfd4854faf8b2177574d62950324d676d92fae0
Author: Andreas Schneider <asn at samba.org>
Date: Tue Apr 6 17:01:15 2010 +0200
s3-spoolss: Added a delete_printer_key function using the winreg pipe.
Signed-off-by: Günther Deschner <gd at samba.org>
commit f0054d8361b90acc3b4d39b0c283f9d54467e61d
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Mar 17 15:59:10 2010 +0100
s3-spoolss: Added a enum_printer_key function using the winreg pipe.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 77d1b73a3e31f67dce28055603c34bd78e927616
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 12:30:05 2010 +0100
s3-spoolss: Added a delete_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd at samba.org>
commit e498338f6f29ffdcca0f3108968e04f635c797d4
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Mar 12 17:31:21 2010 +0100
s3-spoolss: Added a enum_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 511dba5ae8529f8a3e661a2d9d0e6426e38fbee8
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 12:27:51 2010 +0100
s3-spoolss: Added a get_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd at samba.org>
commit bc235459094f01e6fbf3b544bb4848427ceae9d5
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 12:24:59 2010 +0100
s3-spoolss: Added a set_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 4f3893f8148a36d11a4fa333c323fcf6f0176b2e
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 12:24:40 2010 +0100
s3-spoolss: Added a function to open a regkey using the winreg pipe.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 1ac654d108ebeede3ff78ddb30f19e1f4d516063
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Apr 7 15:02:23 2010 +0200
s4:WHATSNEW4.txt - further updates and corrections
Some are inspired by ekacnet.
commit acfd02574b1d8de11beb11609020f075083aa019
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Apr 7 14:33:09 2010 +0200
s4:pyregistry.c - fix indentation
commit fa4d91e1e0cc4a5383d735089b40f28e384fbd5d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Apr 7 14:20:18 2010 +0200
s4:provision - add a comment which explains why "paths.dns_keytab" is stored without path reference
commit 345fcf58751c49a4832476561855f7deeba3f7b3
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 14:56:07 2010 +0200
s4-smbtorture: test for invalid form flags in RPC-SPOOLSS.
Guenther
commit 95b9c48ef1fbe6c1566a86cadf3295b6c7e28319
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 14:38:31 2010 +0200
s3-rpcclient: allow to define server_unc in cmd_srvsvc_srv_query_info().
Guenther
commit f63c345bbd2b069c1f946529d559e8c6dbd7f2bc
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 14:37:30 2010 +0200
s4-smbtorture: test all types and also use a wellknown builtin form name in RPC-SPOOLSS.
Guenther
commit 3fdebc06465cd6493617c2b129759e08200097f7
Author: Björn Jacke <bj at sernet.de>
Date: Wed Apr 7 12:21:07 2010 +0200
s3: add comment about what the FSCTL_QUERY_ALLOCATED_RANGES currently does
commit 4712940e7cbd0d05a30b548d23e96a4d0b741e78
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 00:39:17 2010 +0200
s4-smbtorture: merge badname spoolss openprinter tests.
Guenther
commit 8bb30ffcf619e4e799ba38df41f0479fb70980c9
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 00:38:02 2010 +0200
s4-smbtorture: avoid passing down a full test_spoolss_context to directory
spoolss tests when not used.
Guenther
commit 3d113a6ffb91ccc760015b8ef74cc4ba4cbdf5fd
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 6 16:31:26 2010 -0700
Ensure we total up the correct number of creds requested in a compound request.
commit 9c410118cb8b53a6a7194b6768f433cac056e4d2
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 6 15:43:35 2010 -0700
Parameterize "smb2 max read", "smb2 max write", "smb2 max trans".
Set to 64k by default.
Jeremy.
commit 027adf88eaf8c3a7375da7c0f9c0397db46668e6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 00:32:24 2010 +0200
Support 'make test TESTS=foo' again.
commit c349aa3619efde5e00fd0d05f0670a7b6c2f3327
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 00:26:28 2010 +0200
s4-python: Use standard infrastructure for finding included testtools, subunit and iso8601.
commit 4d482d9c192a8905dcd6bf18d375e565f87067bd
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 6 13:23:22 2010 +0200
s4-smbtorture: more work on forms tests in RPC-SPOOLSS.
Guenther
commit 91ce32b4c428d2fc514eef150c625de6cb91345b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Apr 6 14:52:38 2010 +0200
s4:param/secrets.c - add some "char *" casts
Also this quiets some warnings.
commit 2859b9df99bf2b49e90feca3ad7b7de6be816fe7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Apr 6 14:36:06 2010 +0200
s4:net tool - add a "discard_const_p" to suppress the "PySys_SetArgv" warning
commit 5b824eb17bc11b2de8b2df9b9bc55db1d0e08df0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Apr 6 14:32:27 2010 +0200
s4:torture - remove unused variables
commit b7b464eeee96a57fb94c1f0899bfdb6639a70eb6
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Apr 6 14:26:20 2010 +0200
s4:auth/ntlm/auth_developer.c - "fixed_challenge_get_challenge" - fix the assignment of the challenge
This is a string buffer and not a DATA_BLOB.
commit 0086db6c0cdf0c7afccc143259c8c55382e466aa
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Apr 6 14:09:38 2010 +0200
LDB:sample_module.c - remove code parts which generate warnings
Btw: The use of the "ldb_msg_add_fmt" operation directly on the request message
object is strongly discouraged. Better is to make a shallow copy of this message
and attach it to a new child request which is handled by the following modules.
commit 5f080d8e03f1060347cdd05d65bf72b0ce7dec0e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Apr 6 14:24:24 2010 +0200
s4-python: Fix compilation of samba._ldb.
commit 96ae3ee80391e69d2a2c75705a9374b27b2117c8
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Mon Apr 5 14:12:52 2010 +0200
fix a segfault in the notify subsystem
When the notify_array cannot be loaded correctly,
do not keep the half-baked parsing results in the global variable.
This can lead to segfaults next time notify_load is entered and
the seqnum has not changed. This has been seen in a case
where mixed smbd versions were running in a CTDB cluster
(versions with and w/o commit c216d1e6 that changed the
notify_entry structure).
There will be missed notifications until all smbds are at the
same software level, but this should be acceptable and is better
than crashing and interrupting client operations.
This fix cleans up the notify_array, removes the unparseable data
from the TDB and returns a fresh notify_array that can be worked
with.
The NDR_PRINT_DEBUG had to be moved to only be called when the
parsing succeeded, it was seen to cause additional segfaults.
The status variable is intentionally left to NT_STATUS_OK to not
make callers abort and report errors to the clients and make them
disconnect.
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit 449bdf35432230b060387856637759e2fe7022d6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 02:20:52 2010 +0200
s4-python: Move set_session_info to PySambaLdb.
commit 55b98e9768cb2a1ae4b9cc83e3d5f33b51b22e8f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 02:07:46 2010 +0200
s4-python: Move register_samba_handlers to PySambaLdb.
commit e9c3f2ef13f62eb583bd7c5dfb6b94a0a8a0fc4f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 02:01:47 2010 +0200
s4-python: Move ldb_set_utf8_casefold to pyldb-samba.
commit ae9761349904ac9c4c2745018903d8c2fcc2abf1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 01:54:57 2010 +0200
s4-python: Move set_opaque_integer to pyldb.
commit b72a5c033670a84423d1099aedbcfa5047ac47e6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 01:51:04 2010 +0200
Move glue.set_credentials hack to samba.Ldb.
commit 099fc00b601fe7775f5fdb18d8473031b8a7ce27
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 01:48:35 2010 +0200
Add C-based Samba-specific subclass of Ldb.
commit badc255748aa71f98c99c4c47343011286c8445d
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 6 20:48:15 2010 +1000
s4-build: remove any 'makefile' that may have been left by the waf build
this allows ./autogen.sh to be used to switch back to the old build
system after trying the waf build
commit 07d9da4d2f77d08c3a073453f4eaaf5c0939ccf5
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 6 19:31:39 2010 +1000
build: use a target_in_list() function for more flexible builtin control
commit 35ec7c34b3a233a8d1b0a551b3c6095a45eb6bb6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 18:16:47 2010 +1000
build: cope with binaries with subdir prefixes (for s3 waf build)
commit 748ef2c86516f8951b6da2803e8163026768e328
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 11:41:37 2010 +1000
s4-waf: don't need TOUCH_FILE() any more
commit 5260b504675b8151f0a6415f41a321d8cf077bb1
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 11:26:45 2010 +1000
build: run distcheck in testwaf.sh
commit bfd30ebcba9b4f504a3818bb1981882d044693b0
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 11:26:24 2010 +1000
s4-waf: add subdir argument to distcheck for source4
commit 6ea4ae881ceb68ad68eac8c3c541fe1395ee78aa
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 11:25:54 2010 +1000
build: update version of waf to add subdir argument to distcheck
commit 64594f296ca84c487e5cd7ec5e76153cb3b3ef4a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 11:25:20 2010 +1000
s4-waf: replace TOUCH_FILE() with normal install rules
this allows it to work with 'waf uninstall'
commit cd712dff316b5d1d017c0132ef37e948b17e0608
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 11:23:28 2010 +1000
build: simpler symlink_bin and symlink_lib methods
commit 7ae4372124a7fde2404f9e626054e7856c18f733
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 09:58:23 2010 +1000
s4-waf: fixed waf distcheck for our standalone libs and s4
commit fe060c8f50de23c4f3503a32c3237bb80bd68331
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 22:11:30 2010 +1000
s4-waf: added simple 'waf test' support for tdb, talloc and ldb
commit 7d3421077216c00cf6744ab335447c5f75a9c24b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 21:29:34 2010 +1000
s4-waf: added python_dsdb from merge with master
commit dfdabffae3c90e44b504bbbb4903b1aa30fb2f86
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 21:14:21 2010 +1000
build: fixed LOAD_ENVIRONMENT for out of tree builds
commit ccfce0bbaef43b796846e2dfc8bce8f28e96fcf0
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 18:31:54 2010 +1000
s4-waf: autogen-waf.sh for the standalone library builds
commit 1e35da61455ac1e94b1f64f661e7052113de4dfc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 18:27:30 2010 +1000
s4-waf: new autogen-waf.sh
this one will work with the tdb, talloc, etc directories
commit c8835f440a7e07f385f5759bae6b4e53c1927e82
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 13:16:49 2010 +1000
s4-waf: use a common pattern for finding buildtools and libs
commit 553324bc1022635e05a683c4bec5135d845f6fea
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 13:08:05 2010 +1000
s4-waf: move to a universal method of recursing into subdirs
This works with both standalone lib builds and bundled builds
commit 8dc8d31f4adf84f35bce34339e13e9d70c4b8a66
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 11:40:05 2010 +1000
s4-waf: fixed finding of buildtools and srcdir
commit a8840087979f891c50e01e647df21759e556a7c8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 11:02:15 2010 +1000
ldb-waf: fixed buildtools path
commit 1883ee6dbc2482a34ce531cec3c1c7e5e85af1e7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 11:00:42 2010 +1000
s4-waf: avoid having to run waf configure before waf dist
This should be useful for building tarballs from a clean checkout
commit 3ed6d7e76f9e2936e2d27ceeee8984950ea900a3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 10:23:43 2010 +1000
build: nicer error msg when git ls-files fails
commit 9e9e878e8f5f0fba51e3a576f17cf07d0857cff6
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 10:18:39 2010 +1000
s4-waf: allow standalone tarball build of libraries
commit 528d7c7cf39fe9d8867d751f0a3c26f413301515
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 10:06:34 2010 +1000
s4-waf: added 'waf dist' to our standalone libs as well
commit c8062fb65ee108fa948fd8d8ed4055ffa3af7027
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 09:57:33 2010 +1000
s4-waf: added 'waf dist' to build the tarball
commit 735934bfede08f37707a070f977837a9f76e3242
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 08:04:39 2010 +1000
build: removed some unused imports found by pyflakes
thanks to Jelmer for pointing me at pyflakes
commit 2bf15566c629587992fa3c71cc5261f2cea300be
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 23:26:35 2010 +1100
talloc-waf: install talloc.pc if standalone
commit 23ff97e629eb5dc12caadeb690603691221bc92d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 23:26:21 2010 +1100
build: fixed the expansions in pkgconfig files
thanks to Jelmer for the hint on this
commit 7aa3f08f851aef234cb236b11c653f904c9e622a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 22:46:32 2010 +1100
build: fixed DESTDIR for TOUCH_FILE()
commit feafcd2fb452e6ac92aa2f8d60138cbec9a48083
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 22:25:33 2010 +1100
build: waf update to fix macos build error
commit fce1f198002bda681a1d6c660109251469b0c56d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 21:21:24 2010 +1100
build: try to fix the python link problem on SerNet-imini
commit 3efd865d617bfc9c6f87fdb91df282a36910954f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 14:11:31 2010 +1100
build: use waf from waf-svn.git repo
Added README explaining where waf comes from, and where to get the
upstream sources and the exact version we use in Samba
commit 1b15b28eaabc4ac85632408912a80f4f4ac2abd2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 10:41:44 2010 +1100
build: try the generic C compiler on hpux if gcc not found
commit a02d98ebb6553704f9c8203570e2427b749cfa7b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 09:41:17 2010 +1100
build: update wav-svn
this version works around the tarfile problem on irix
commit 20c7cd878b82c7fd88f9359bad9180b676c08054
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 09:19:57 2010 +1100
build: added 'generic' cc support and a simple irix cc support module
these will let us get past the 'detect cc' stage and try a build. It
also makes for a reasonable template for new ports
commit b849bea079ba738f5e9763b6e714d52d25a8c5d7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 21:32:42 2010 +1100
build: initial version of a tru64 compiler module
this doesn't do shared libs yet, but at least configure passes
commit 7a8d58dbbcfb86039d078a352909853a69a86b49
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 21:27:09 2010 +1100
pidl-waf: disable pidl manpages
it's still causing trouble in the build farm
commit a799f5995ec0c216eb85d578db4dacdf2cb9eefe
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 20:55:37 2010 +1100
pidl-waf: better handling of the man page generation
we now avoid leaving build files in the source tree
commit 3385b1e2e9f81bde322a83317ecb394b1f676724
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 20:18:57 2010 +1100
pidl-waf: build pidl man pages and parsers separately
this should prevent gratuitious builds
commit 0c294655f61048581e72e0c089d2aada247be40d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 19:57:32 2010 +1100
build: don't depend on the blib/ files in SAMBA_PIDL()
commit f01f74b2beb43c9e44a0cf256d1f5d2ba4a8e1d1
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 19:19:12 2010 +1100
talloc-waf: match version number with main build
commit 93a099c2de1939f86a8d2f56ec19c18db0b98a3a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 18:16:23 2010 +1100
build: loop until all object reductions are complete
we will issue a warning if any object duplication remains
commit 470c14cbf383631683355f723d219a12dc0998e8
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 13:10:14 2010 +1100
build: make sure the directory exists in TOUCH_FILE()
commit 31a88f266c5b4e884276f92f3801eec4e1033f8d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 13:06:35 2010 +1100
build: nicer display of command type for prototypes and generators
commit 865e478e25e6c9d69915061f6f2211298e730068
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 12:26:27 2010 +1100
s4-waf: create a blank __init__.py in samba/external
needed for the external lib loader
commit 9e52dc441e6709429194555350825ffcf341abf5
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 12:20:23 2010 +1100
s4-waf: fixed install location of external python libs
this merges with jelmers recent changes in master
commit 9eb5cb784ceeab4d53cf01890b21a28043467dfa
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 11:55:07 2010 +1100
build: a bit more information for tracking --target deps
commit 4731442dfab1c1b44e0c6e92360dde23215b3e5b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 11:54:24 2010 +1100
s4-waf: format-subunit and filter-subunit are in python now
commit fe0febcf304b8ef5eec19b2f3d540ae936e005e3
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 08:47:38 2010 +1100
s4-waf: added new install system for external python libs
commit 60bfedb8f4d334727c6b5ec4170ec6c8dc8d2560
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 00:15:02 2010 +1100
s4-waf: filter-subunit has been renamed
commit 4fa9c3187df4c8bfb40d57d2fb3c107b9b20bf47
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 00:13:26 2010 +1100
s4-waf: updates for the new python installer from jelmer
commit ba64e236d59619cb4222225ac98efe2a2c07f592
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 1 22:19:32 2010 +1100
build: much simpler and faster rpath install handler
This avoids creating additional task generators at build time, and
instead moves all the rpath logic into samba_install.py where it is
triggered by the install_lib and install_bin features
commit 6dbf576e819d32d2a25e7e1fa7ac50d5764db966
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 1 12:30:56 2010 +1100
build: only link install targets at install time
commit f189af143b59af52990a624995dcbbabe3c7ea50
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 1 17:24:02 2010 +1100
build: enable nothreads workaround only with WAF_NOTHREADS=1
commit d06df81df21adfaa10497369f06e5d4f51b57611
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 1 09:49:46 2010 +1100
build: fixed the dependencies of the install targets
we want the install targets to have identical calculated dependencies
to the build targets.
commit 375277beee2e7ea118cccefa771e97251ad1b285
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 23:14:50 2010 +1100
s4-waf: disable MAKEMAKER until a dependency problem is solved
commit c0b67c6e7e1541ed04cd48bb215f03ed7357d5cf
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 21:26:33 2010 +1100
build: fixed the task counter when nothreads is used
commit a7386c9625d1f45c609f3ac688dcda62e5f50e2a
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 21:01:29 2010 +1100
s4-waf: set JOBS=1 during configure.waf
this allows configure to run on AIX, which has broken threading
commit e42a13d1d0a4ea37ada0b0a33d1ce87fde3412b4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 20:56:00 2010 +1100
build: enable 'nothreads' when JOBS=1
this makes waf not use pthreads, which should fix the problems on AIX
and maybe on HPUX. It looks like process handling with Python on AIX
is broken if threads are used.
When JOBS=1 we don't need threads anyway.
commit fe2c1f1e7c4eccb0f4ed849983b22839ec9f7930
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 20:13:55 2010 +1100
build: refactor the object reduction code
split it out into a separate function, and use the final_* attributes
instead of the direct_* and indirect_* attributes
commit d830661f222d1791a46bdd858817fa0d637cb1d3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 18:05:57 2010 +1100
s4-waf: remove PYTHONDIR from config.h
prevent unnecessary rebuilds
commit aceb14f611e567a53ce582f4f25f08159787b3d4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 18:05:29 2010 +1100
s4-waf: use cflags for LDB_MODULESDIR
this prevents rebuilds when it changes
commit 9ac8899d87c3eff149a0ba582fb70b853710e826
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 18:04:18 2010 +1100
build: sys.exit is better than raise here
using raise produces a screen full of stuff the user can't
understand. The message is much clearer with an exit
commit cd104102b9ff90c123342a588d2578cf9d5637ed
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 18:03:39 2010 +1100
build: don't define vars in config.h for CONFIG_PATH()
we don't want paths in config.h, as that just causes full rebuilds
when you change --prefix. Better to use cflags= on the right subsystem
commit dab7b265282aac2fb539171b4f4bdec11e2a3c8c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 09:22:40 2010 +1100
s4-waf: we don't need strerror_r from roken
commit 30fa7da5242823b0da7dedbbf8cf2221a99ec49c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 23:08:01 2010 +1100
build: finally got LIBRARY<->LIBRARY reductions working
the install size is now 100M
commit 3154733c33ce51c61a023fe27148c3ab154786fb
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 22:39:18 2010 +1100
build: add python library object reduction
This reduces the install size of s4 from 393M down to 132M on my
system. We had a lot of duplicate code in our python modules!
commit d39b44c98986ab4b15c81350b4e4ee0ee2d60601
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 22:28:30 2010 +1100
build: python libs need to be built shared, regardless of --disable-shared
we don't have a way to load them otherwise
commit 178b0d178d55863dde29713230ae3af69452e58b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 22:06:32 2010 +1100
build: add require_headers option to CHECK_BUNDLED_SYSTEM()
Useful to ensure the package has usable headers
commit b498378c8fcb2f87f7cb296e4e81ac392b1e34ff
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 20:21:21 2010 +1100
s4-waf: fixed some of the group ordering
We need to try to keep targets in the right groups
commit 20a8574717aef8f946ac9d8f3284e7318eeb9bf8
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 16:52:08 2010 +1100
s4-waf: look in libintl for dgettext()
commit 0a6a808113a2417306f99080708fbc160856ed7e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 16:40:34 2010 +1100
s4-waf: add getaddrinfo.c replacement if needed
commit 4854afcfa13ad89db7e028d30700a8e1c027d0bf
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 16:06:55 2010 +1100
build: expand indirect includes to fix disable-shared build
commit 354a76aeb3f491be3224e2e77500b13ca21d8cf4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 15:32:06 2010 +1100
build: fixed install target for systems with rpath disabled
commit 385e02e9d9b9fccf48614f70ade3ceb2b6345f8a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 14:41:08 2010 +1100
build: added functions for compound configuration testing
This allows us to give a single 'Checking ...' msg for a compound
set of tests.
commit 33d5c4a18c1b194d82e077844bb27d922de815a9
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 13:19:46 2010 +1100
build: don't link when checking a C prototype
commit 8e36daf51389c43de9182c660a68923049e7df5e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 13:14:01 2010 +1100
s4-waf: added test for dlopen prototype
commit 77a4fe495ef8056d186d5b6d24f895ff64db77ee
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 13:05:15 2010 +1100
s4-waf: added a --enable-selftest option as a shortcut
This is equiavalent to --enable-uid-wrapper --enable-nss-wrapper --enable-socket-wrapper
but is easier to remember!
commit 7da57cc94b8e6ddfac1b9e1f35956667ebee2abc
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 12:47:54 2010 +1100
build: tweak the strategy for finding functions
Based on a problem with res_ndestroy() on sunx in the build farm, I've
changed the default strategy for finding functions with
CHECK_FUNC(). It now accepts either a macro of a linked function, but
won't accept a declaration only unless you set link=False.
commit 9da89b4dda291ff2f42fa2e63cf84034c3a6f824
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 11:54:23 2010 +1100
s4-waf: show the fully expanded test command
this makes it easier to run it separately
commit 8ed23a408d384d16f379e68cbad8285e9112ec31
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 11:51:31 2010 +1100
build: new waf version with local patches replaced by upstream changes
commit 2277134e8ed0acf1c39768223e269c17add5ae3f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 11:38:55 2010 +1100
build: removed debug line
commit 172b8c55f751c1f295dc75ae6143b158d6101228
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 11:37:07 2010 +1100
s4-waf: use the versions of perl/python found by configure
commit 6c76919ab516f6145c85a3c4da5c6bfe4ab632bd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 23:46:38 2010 +1100
s4-waf: don't assume perl takes -W option
commit f0f67ebd2f1605c25c4726d7e5e8c57daf3decbf
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 22:32:03 2010 +1100
build: fixed a configure error with a totally clean tree
commit 874e39cbf00325cb379ddea274ae4288e32f8f72
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 22:27:17 2010 +1100
s4-waf: added implied_deps for system libraries
when we use a system version of a library such as talloc, then we
no longer get the automtica dependency propogation of talloc implying
libreplace. That means we don't get the includes for libreplace, which
means things can fail to build.
To fix this this change adds an implied_deps option to
CHECK_BUNDLED_SYSTEM(), which tells the samba_deps module to add an
implied dependency on the listed targets if the system library is
chosen.
commit ed5522adf24903a500e3565ea5eb443ed28440cc
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 22:05:54 2010 +1100
s4-waf: install in /usr/local/samba by default
commit b690fedef55bb4bf9ecff07b78d3a14b4d4d6e45
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 21:44:37 2010 +1100
s4-waf: removed the AUTOGENERATED markers
we won't be using the mk -> wscript generator again
commit 989eb9dbdc43387502a0e0f4fc8f6e0f157eeb3c
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 21:28:49 2010 +1100
s4-waf: added rules for rebuilding the yapp parser in pidl
commit 8692ad4950dd946bc9bb095848b6bdf5cf530ef7
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 21:11:33 2010 +1100
s4-waf: updated for new perl subunit options and filter name
commit 1567750070f7a9ff2e2e0acbc50eaac1747c4282
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 20:43:58 2010 +1100
s4-waf: added --enable-fhs configure option
commit 720742424d96e843972488a2b47305abbd8609b8
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 18:55:17 2010 +1100
build: fixed the on_results problem with SAMBA_AUTOPROTO()
commit 42563820945a87bab612f306b01151b2f2e23024
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 18:48:50 2010 +1100
talloc-waf: don't build the talloc testsuite in s4
its built into smbtorture already
commit 7a3dd2c53f350a04f350931863e1a1de98505e8a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 18:43:57 2010 +1100
build: fixed missing nodes display on errors
when waf can't build something due to a missing file, it displayed the
whole group of files. This update makes it display only the missing
files.
commit 3e017464201818d940128ca47b5c4f2703a23d63
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 17:20:39 2010 +1100
ldb-waf: ldb needs HAVE_CONFIG_H for building a bundled popt
commit 65edcfa01600db1e6140e147ef74d4904fc531ed
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 17:12:37 2010 +1100
build: added pattern option for recursive_dirlist
also added LOAD_ENVIRONMENT(), which will be used in the testsuite
commit cd8de1581919dc9df43f3e2c6e045447129f49bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 17:12:04 2010 +1100
s4-waf: added pydoctor and wafdocs targets
these generate html documentation for the Samba python code
You need a very recent version of pydoctor
commit da1fed0a8f71d8190cf4bb0094f58f9c2a12b317
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 16:59:13 2010 +1100
build: nicer progress display for a standard build
commit 970892594b15b946667e02d2b521cf8a501f2662
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 15:27:54 2010 +1100
build: override PACKAGE_VERSION in pkg-config generation for libraries
we should use the vnum
commit d87b77e649bee4e4acbc0ab1d2d462673b541e7a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 15:19:13 2010 +1100
build: reuse SAMBA_LIBRARY() to build python modules
This allows the rpath logic to be shared, and simplifies the install
logic
commit 02f9364bbcafb440be01c733dab49bee2a5138f4
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 15:18:21 2010 +1100
pidl-waf: re-enable the pidl man pages
commit 6dc2b16859df8203485623f2995fdb37d19a5e75
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 10:01:34 2010 +1100
build: fixed progress display
commit 3d4c99207dc21346e39ea3d6950be91bf0560598
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 08:30:29 2010 +1100
build: use 'Compiling foo.c' and 'Linking foo' like old build system
When -p is not used, display compilation messages similarly to the old
build system, but with a progress indicator
commit c6e73cb3b601dbbe737a7692e53c6fb9c72dff7b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 07:07:18 2010 +1100
build: move waf into buildtools/bin
commit a2b4d7e8ebf24bc65cceb38bf23d8d8dc3307d27
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 00:08:38 2010 +1100
s4-waf: ensure we don't end up with mixed versions of talloc/tdb/tevent
commit 71322481643878151553dee80fa2ab3de3f9e34f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 23:02:16 2010 +1100
s4-waf: get the sense of the tests for the HAVE_INET_* replacements right
commit 5d84194644c25055bd2535e336995492f6b68228
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 22:24:15 2010 +1100
s4-waf: heimdal wants to look for dd_fd in DIR
commit b7ff06b904f8983d49d4a37c1e86a342e55790f6
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 22:01:04 2010 +1100
build: tidy up the wafsamba rules a bit
use python string conventions for function comments
commit d8b91f112011128eeaee2e5b3e2c3ac98e8fa708
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 21:33:48 2010 +1100
s4-waf: sys_lease depends on talloc
commit 3cc01226ec7228ebb890c22baa2f6618ef371055
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 21:06:26 2010 +1100
s4-waf: more places missing libreplace
commit 88b6b86c59c6ecd78fe677ee97e4baad2291285d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 21:00:51 2010 +1100
s4-waf: added auto-detection of perl manpage extensions
some systems produce pidl.1p, others pidl.1. We need to know which one
to use.
commit 67a59c33fcff5ed63aacf0c2d05aee628dfadfe6
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 19:40:05 2010 +1100
s4-waf: fixed dirfd() detection for heimdal
commit 1aca0f79b68943791933eb96b4db97447a3c1be9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 03:10:14 2010 +1100
s4-waf: added libreplace dep for the conditional heimdal modules
commit 06e10a290474473e00c0e39a8dbb85d36005c2ff
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 19:30:13 2010 +1100
build: work around missing defaults from gnu_dirs.py
commit 20146b3fe03f08c72db313973b75019e13198534
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 18:33:25 2010 +1100
build: fixed popt subsystem on systems without popt
commit 32ac04c0286edc5e3afe6f5cef18ccbbc79af4fd
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 18:29:46 2010 +1100
s4-waf: merge in the latest changes from master
The heimdal changes mean the asn1 compiler produces a 2nd header file
commit ca882d8c1f514da812dd424ca8afafbc2c2d152a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 17:53:04 2010 +1100
waf-pidl: don't need this debug ls any more
commit f72145c416e01b2f22e11b66770048ffc8894822
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 17:46:59 2010 +1100
s4-waf: change bundled extension to 'samba4'
This matches what debian currently uses for libldb-samba4
commit b0fb567f04240db3e523b5f285f5fe08e01a2a5a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 17:46:25 2010 +1100
s4-waf: more dependencies on talloc
these are needed so we can support a system talloc without using the
bundled talloc.h
commit ab1b0965380e927faa39ce4bf7f7de14e2d29afc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 17:24:05 2010 +1100
build: auto-detect platforms which don't support shared libs
commit 28a734829485f74ecff7fa922059c716893bbdc8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 17:11:06 2010 +1100
build: only add -fPIC if it is supported
commit 208d92a259398af1afc0b99dbfdc58171a1b671d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 17:08:13 2010 +1100
s4-waf: cleaned up tevent dependency
commit b9aa63887c005971b1b812893d6c1bbc50ea21b2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 17:05:30 2010 +1100
s4-waf: cleanup use of LIBPOPT vs popt dependency
commit bfbf43cc36ab360b34b49d7e07c2f594e2b7e7c9
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 16:38:27 2010 +1100
s4-waf: support the use of system libraries
distros can set --bundled-libraries=NONE to force use of all system
libraries. If the right version isn't found then configure will fail.
Users may choose which libraries to use from the system, and which to
use bundled libs. The default is to try system libs, and use them if
their version matches the one in the source tree.
commit 505e902436b2a31a7b828fdeddf599339d0229e5
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 15:51:57 2010 +1100
s4-waf: we need a recent version of perls MakeMaker module
commit 01682f797f755fdd6de5b6096275da7488f0f294
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 15:43:26 2010 +1100
s4-waf: fixed some deps now we don't auto-include tevent and replace
this is preparation for being able to use system versions of these
libraries
commit c2d17cf978cb2d5275b2915fb0a87daa79acc28b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 15:42:28 2010 +1100
s4-waf: set default for bundled libraries
commit 3b380ea7ac9f33f208a9479d34bd514f8e3d5bf4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 15:41:49 2010 +1100
build: better control over bundled library extensions
commit 28a05bc1b0ff7e090753c9d8e248f00136fb491a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 15:39:16 2010 +1100
build: better waf test script
commit 29b1e8b70f3966c538929f4556c4a3b7ebb4a38d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 14:16:12 2010 +1100
s4-waf: don't auto-include bundled library headers
If we are going to use the system versions of these libraries then
we should not force the use of the non-system headers
commit 42c9380760de4e0ad3f69810b8d623b3a77cc692
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 14:10:15 2010 +1100
s4-waf: set the bundled library extension for some libs
commit f6a7d5b90762fee39ae117dc2bf926eac0dbab8a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 14:09:36 2010 +1100
build: added support for controlling library types
added:
--bundled-library-extension : control library extension for bundled libraries
--builtin-libraries : force a list of libraries to be builtin (non-shared)
commit 00825ecf34c94da50892a071547f0051f1668efe
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 13:01:36 2010 +1100
ldb-waf: rename libldb.so to libldb-s4.so if built as part of s4
Also include the ldap backend if not built as part of s4. In s4, we
use the ldapi backend.
commit 80b60df439820a054c03d67ccccb8e0c674a36c0
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 12:45:46 2010 +1100
build: add an ls -lR blib/ to the pidl build to help debug things in the build farm
commit 92de30dcabcb0327785bffca59ad3813339c7670
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 10:00:53 2010 +1100
build: fixed build group for the PIDL tables generation
commit f9eae32f4b4284e3820f61f3d40c46a41be97227
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 09:48:49 2010 +1100
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
commit c64ce3cd03695b5c0659c4c2818de2cd3953f910
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 09:45:06 2010 +1100
build: mark python rules as being part of the "main" group
commit cf77a1025c2158173414e3d2408b0a20fbeb65be
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 21:29:42 2010 +1100
s4-waf: ensure all the ldb.pc.in vars are set
commit 9875be5511f0cb930fc02754d9c80be873f728c7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 21:29:18 2010 +1100
build: throw an error on all bad variable substitutions
commit 1ee19592f01ac63f3374160abe56fd60bbf75413
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 21:28:59 2010 +1100
s4-waf: move the gnu dirs check to the generic wafsamba code
commit 91d604add3691e05c0ac1e96d3e2ab223e0b28d5
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 20:00:01 2010 +1100
build: substitute @VAR@ variables in pkgconfig .pc.in files
commit 5b572f1bd8505b0e2d1758d868ae0dec80c5719d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 19:12:10 2010 +1100
build: fixed the python path in installed python scripts
commit dadc24fb0f3c8abe29113fa3576533f2e7902f16
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 18:25:40 2010 +1100
s4-waf: install dcerpc_atsvc.pc
commit 7c8b20037e5cac0644a657580fcb786be2666b2c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 18:25:20 2010 +1100
build: fixed destination name for pc_files
commit ad0a99f62c517e0ebabe928d1b2a99bb1d1ba001
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 18:14:50 2010 +1100
s4-waf: enable the configuration and options for pidl
commit bd44f14d8f920a89b43ac84417365191a93d4aaf
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 18:14:33 2010 +1100
s4-waf: enable the pc_files in the build rules
commit 1750bd4b363fecc9695ed20e707e786cae7e60c4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 18:14:06 2010 +1100
build: added support for pc_files= for pkgconfig files
commit 052a0e0a02224db6ebacabbc1324dcf903b00c39
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 18:13:44 2010 +1100
s4-waf: only build the pidl manpages if we have MakeMaker.pm
commit f1284d657fe53b40fcb7b88d26146143d3b2fce5
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 16:48:03 2010 +1100
s4-waf: build and install the PIDL manpages
commit 5c6e8371b28cd768ee731832fc5194ff31e1418e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 16:47:43 2010 +1100
build: a hack to get perl to put its generated blib files in the build directory
perl wants to put generated files in the source directory, whereas waf wants
them in the build directory. Use a symlink to trick perl into putting them
in the right place
commit 723e9b87ceb2676ce7501b7a59d8bf79de8e6f3d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 16:46:33 2010 +1100
build: only depend on the actual pidl source files in the pidl rule
We don't need to depend on the wscript files, or any backup editor
files.
commit ecb775de2ee4c6e1821f67a1c8a3eac4191f9c8b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 15:24:00 2010 +1100
s4-waf: install PIDL modules
commit bd7bf0e1a91b6e6c78a52a458d3959ef84f4d3e3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 15:12:56 2010 +1100
s4-waf: install the rest of our python files
commit 85a11c4fb7ee39294298657f0e88c23e9a37da98
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 15:12:40 2010 +1100
build: support wildcard excludes in INSTALL_WILDCARD()
commit 307ac977a269d1ef2a2baca6be5360d8582efc76
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 14:50:43 2010 +1100
build: install build python modules correctly
commit 4d8d759e92506de4dcccce7d51ac83ef638153ec
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 14:00:56 2010 +1100
s4-waf: install pidl
commit aa5e08eb83fd7b130a98850e103654d8c0b2f96f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 13:56:05 2010 +1100
s4-waf: install the rest of the headers
commit 97ce609393ff72c4477ed3ae199cf87c04791634
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 13:55:38 2010 +1100
build: support wildcard mappings for header_path
this allows a public_headers attribute to put different headers in
different install directories
commit ba0c7edf803d521a5c03d27132dded0c3159f332
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 12:44:36 2010 +1100
s4-waf: set CONFIG_H variable for selftest
commit fe3cd6fb2838d34f259f3fe49daf95a5d0f464f2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 12:29:44 2010 +1100
s4-waf: test/simple.c is not needed any more
commit a2a4fee8c6e98595c918abfcc7e6bd175fd79d68
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 11:04:19 2010 +1100
s4-waf: forgot these files
commit 03998d097079397c6a58a9317964a30e9c2c5b26
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 09:46:50 2010 +1100
s4-waf: started adding auto-install of include files
commit 11ca0c7b9d49d7f6723119758262230fe4f568f2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 09:46:27 2010 +1100
build: fixed EXPAND_VARIABLES() for env expansion
commit cfeaed22c5974fc9fd0349a28283a5ca94238dfe
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 09:46:07 2010 +1100
build: these chdir() calls break waf on HPUX. They are not needed
commit a247ce8ef96cc4a2990e71a6dd06f1bf48b13feb
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 01:42:37 2010 -0600
s3-waf: added options for static/shared module building
Pair-Programmed-With: Kai Blin <kai at samba.org>
commit ab343e037d0931d3b24263e2db290b26fd88cd12
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 01:05:54 2010 -0600
s3-waf: build version.h
commit 0b47bda8166f42381abf7d29e3d5863515f93289
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 01:05:37 2010 -0600
s3-waf: charsets needs to be quoted as strings in config.h
Pair-Programmed-With: Kai Blin <kai at samba.org>
commit 2201d3d232f1a6e5e4054469f0897b70becf3ab6
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 01:05:13 2010 -0600
build: added quote option to conf.DEFINE()
Pair-Programmed-With: Kai Blin <kai at samba.org>
commit 6b3a72dd45a1d8ff2aa087764a361a5370f84672
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 00:55:25 2010 -0600
s3-waf: fixed tests for charsets
Pair-Programmed-With: Kai
commit 8b14d217c4a6912f85889f146cc3281ac4c7a0dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 17:17:38 2010 +1100
s4-waf: fdatasync is in librt on solaris8
commit 03bf6c9d3b9e7ba5a26c307aae10f48a5c2d8865
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 17:17:21 2010 +1100
s4-waf: added rap/rpc.c
commit cb9dbc055fb2ea44e0af2efc7e2be6962b0ba449
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 16:45:23 2010 +1100
libreplace: add a replacement for strerror_r (needed on solaris8)
commit 63f20e696e07c1d81f3b449505e6a0190dbcebc7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 16:18:18 2010 +1100
s4-waf: look for libiconv before checking libc
This is needed for solaris8
commit eb4efc9eca9f0a1773fc974798e461415aa2076b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 16:09:36 2010 +1100
s4-waf: added checks for all the different statvfs varients
commit b05852171ba355bc87a4f903484ee9ee0c0942f6
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 14:32:22 2010 +1100
s4-waf: another place where broken ln -f on solaris8 matters
commit 42bad41cedfc717cfb6c80744bef6b1570ae502b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 14:29:45 2010 +1100
s4-waf: cope with systems with zlib versions that are too old
commit 9ddd9de59b94580ca1bf141e85e26d92ede2d701
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 13:25:10 2010 +1100
build: fixed copy_script typo
commit 6d268e4a826de46d3397741cd81cb2790d378587
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 13:20:05 2010 +1100
build: improved exception handling for systems without rpath
commit eb776a80b59ca20b58b9b4c832b70914263d278c
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 13:12:50 2010 +1100
build: much better rpath test function
This creates a full shared lib, and a binary that uses it. Then it
tests that the binary runs correctly, relying on rpath
Thanks to Thomas for the code for this!
commit 5e94bca62e646fb4cc84a375f0c741dab4916abe
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 13:02:39 2010 +1100
build: a better way of calculating syslib dependencies
commit ecafbd3ec8b03f773d04a5e7b305a91aa08e18a5
Author: Kai Blin <kai at samba.org>
Date: Thu Mar 25 06:58:35 2010 -0600
s3-waf: check for default charsets
commit 6663f7825606d40077dede0ad5ee0df8ab19c708
Author: Kai Blin <kai at samba.org>
Date: Thu Mar 25 06:53:10 2010 -0600
build: Import conf decorator in samba_conftests.py
commit 2cac0c27cf5b8606fce53ca02fe0d47504e57514
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:56:57 2010 -0600
build: started a library of common config tests for s3/s4
Pair-Programmed-With: Kai Blin <kai at samba.org>
commit 8f5551c4b3bc56a64f4c8f260821114b23fad693
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:25:29 2010 -0600
s3-waf: use new variable expansion feature
commit 239cdb53f4e994c8fd4afe1233e69b93ad632230
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:23:10 2010 -0600
build: support variable expansion in source= arguments to build rules
This makes it much easier to follow the s3 approach to lists of
source files in the top level wscript
Pair-Programmed-With: Kai Blin <kai at samba.org>
commit b2f01b54d21a464fa7fadb784b58909748f80ab3
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 23:42:11 2010 -0600
s3-waf: modulesdir is in the base set of options now
commit 6e54655f4a0bdaa4be949909a77d60f502cf891d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 16:48:46 2010 +1100
s4-waf: update torture for new ndr/drsblobs.c tests
commit 48fd7802f9788e69ade6d252e1f718be6b77438c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 14:32:58 2010 +1100
s4-waf: replace stdint.h and stdbool.h on systems that don't have them
commit 7bb5be1324bbdc3af51ac21820f2f25e7df2fca9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 14:21:22 2010 +1100
build: solaris8 doesn't honor the -f flag to ln.
It's in the man page, but it doesn't work!
commit 6c3b69be9bdfc29ad0c0fa2c028fad0be193e042
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 14:20:45 2010 +1100
build: honor existing LD_LIBRARY_PATH settings when adding shared lib paths
commit 12e6a920a79c04779cd188e8e88b16625d273c8f
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 14:20:03 2010 +1100
build: old versions of perl don't understand the -W option
commit 14fc71fc27d80d76d4e1cdba0f8d2a4eace2dd0c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 12:35:18 2010 +1100
build: we need to replace md5 in Task as well
commit 2454baf83b82fa60bca173eb701aae56f3b65a89
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 12:26:50 2010 +1100
build: need to set h_file on Utils
commit 81f5efba9182b6907bcb54a3d6ecc4fb19656306
Author: Thomas Nagy <tnagy1024 at gmail.com>
Date: Thu Mar 25 12:18:16 2010 +1100
build: replace h_file when replacing md5
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 1588a8d7a9c7aba8f7e34e6bfcaff8f094ff12da
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 22:50:17 2010 +1100
build: attempt to fix md5 problem on solaris8
commit 026690af0076d84947ea60a3a20d0bba972e67db
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 22:29:12 2010 +1100
s4-waf: remove the need for some of the lib aliases
commit eba9a54927dc363602389adac5c6edf09909fb65
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 22:10:24 2010 +1100
build: a few more build rules that should have on_results=True
commit 742cb4547ae1798ca77cdb3d0ab6483ab5dac531
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 09:29:20 2010 +1100
build: fixed case of system library deps
commit 988bc0cdc2604b9d309af9895f3716e4bca59d47
Author: Stefan Metzmacher <metze at sernet.private>
Date: Wed Mar 24 10:54:31 2010 +0100
build: make use on_results=True for some build rules
This makes sure we generate a checksum over the result.
In practice it means we no longer recompile when a proto header
is triggers a rebuild if it hasn't changed its md5sum.
metze
commit 17f4485722d507f04e95c358d22570c499d14c62
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 17:01:31 2010 +1100
s4-waf: disable_gnutls is gone
commit 65ffd1240df9edfbcfe62cf87a1e29c4a4bb9ec1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:45:08 2010 +1100
s4-waf: don't hardcode python path
commit e35864afdc298f9ca3d545c05c6c314c87fb8ff7
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:37:41 2010 +1100
build: cope with systems that don't have md5 in python
commit a6ce1c3dce8c189c6454194e61f52a611c79d83d
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:25:37 2010 +1100
build: need to mark disabled libraries as DISABLED
commit 9df6c861233c422b4d24fd017773745781e8815a
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:21:28 2010 +1100
build: honor both --enable-gnutls and --disable-gnutls
This shows how we can do the dual-boolean rules we use so much with
autoconf
commit 6ef817dd7c90c20a0fb2e0e9a69e20dcd03ae459
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 07:44:48 2010 +1100
build: fixed the cflags for pkg_config libs
commit 7848344d55116e33b7f5a4bacce29eaab3fa99c9
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 12:56:30 2010 +1100
build: split out the base waf rules into buildtools/wafsamba/wscript
this stops lib/replace becoming a mess
commit 3d5dda63e33283ac2762782fc921d469f2b3cda0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 12:09:30 2010 +1100
build: use gzip for waf packing, to try to make it work on irix
commit b4d34f849e0b48a80e400015160e48f7f4aa2fa0
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 18:28:03 2010 -0600
s3-waf: the start of the main build for s3
commit e19196110cc9d29c3fb330737507adc364f3bd9a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 18:27:31 2010 -0600
s3-waf: more configure tests and minor fixes
commit e642c5a155a9077f1e63688d7877e1f930bb2f63
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 18:26:49 2010 -0600
s3-waf: added build subdir for dynconfig generation
commit 8de258c81bcf0e2067f05c8cff1b48771dbde1f2
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 18:25:50 2010 -0600
build: use shell=True for SAMBA_GENERATOR
This allows for shell redirection in rules
commit 1fb1af92b3a14e965d7b1ec3680d08ae5abae290
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 18:23:41 2010 -0600
build: added msg argument to CHECK_TYPE()
commit 8f33da10da74a99dd3b4bb6f9dc922534b0e7fd4
Author: Kai Blin <kai at samba.org>
Date: Tue Mar 23 21:58:44 2010 +0100
build: Change checks to conform to new CHECK_* behaviour
commit 38f8b86c7756893a32d24eee101d272b35209f78
Author: Kai Blin <kai at samba.org>
Date: Mon Mar 22 22:58:43 2010 +0100
build: Check if the compiler will optimize out functions
commit f7569922d929efde85324f2a50ff7c45f92fe3c9
Author: Kai Blin <kai at samba.org>
Date: Mon Mar 22 08:59:02 2010 +0100
build: check for int types included from rpc/rpc.h
commit 3bc6cf80972780e492f6f212a9591ba12b5f6f43
Author: Kai Blin <kai at samba.org>
Date: Mon Mar 22 08:48:09 2010 +0100
build: Check for POSIX capabilities
commit 22d9f3d7c5c01c2d8450352f622e7a498aa2bc46
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 23:43:28 2010 +0100
build: Check for various members of struct stat
commit ea767433945b8a2315a4f89c1a2389c918da08a6
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 23:02:14 2010 +0100
build: Fix package name and package string case
commit 998a9da86792b5d3378e0fa2b86b6bd18e142742
Author: Kai Blin <kai at samba.org>
Date: Tue Mar 23 09:02:59 2010 +0100
build: Check for functions needed by Samba3
commit c37f6e649d6e5f8d60e9e5adbbe66455e49f64d5
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 22:49:25 2010 +0100
build: Check for kernel share modes
commit 565191e39f23f6203412ecee728d15666906ca48
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 13:01:00 2010 +0100
build: Check for IRIX kernel oplock types
commit 23ba9ad6e20f751e7d68f24f8d2dca7cb1c7e335
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:53:44 2010 +0100
build: Check for Linux kernel oplocks
commit 207869dbf44f23fd3b1576e248851b88d333a6fa
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:44:31 2010 +0100
build: Check for kernel change notify support
commit 048b821b29566613a0e494eb2712abcf7f62bd6e
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:20:52 2010 +0100
build: check for inotify support
commit fcab2b33053980f19aec0adc7db8934a614b89cc
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:20:13 2010 +0100
build: check for inttypes.h
commit 208bb86aaedfa81441951249726862ff0ef6820d
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:13:41 2010 +0100
build: check for headers needed to generate stack traces
commit da3902745ed9b96b7ac3327ea31d8e111554924d
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:12:54 2010 +0100
build: check size of dev_t, ino_t and time_t
commit 0e2afc2c533cbf5ca258eea82650da627ab78730
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:12:27 2010 +0100
build: check for uint_t
commit 2a869b4abd718b70135586521136b39ff2721cc7
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:11:51 2010 +0100
build: Check for syscall headers
commit 33ef088f3de34b2da8dde9572cd7a4e1fd2f9914
Author: Kai Blin <kai at samba.org>
Date: Sat Mar 20 17:53:08 2010 +0100
build: Check for krb5 headers
commit ac9d39d1081a31542d832c547901b453ec58ded4
Author: Kai Blin <kai at samba.org>
Date: Sat Mar 20 17:51:22 2010 +0100
build: Check for LDAP libraries
commit 59074dcfb1b07d487f01c63d1e06408605332884
Author: Kai Blin <kai at samba.org>
Date: Sat Mar 20 16:51:15 2010 +0100
build: Check for CUPS
commit 41e8e54406bfadbbb2419b904d52f8bfe9ff40fa
Author: Kai Blin <kai at samba.org>
Date: Sat Mar 20 16:37:03 2010 +0100
build: Add a basic wscript file for Samba3
commit 0632fac52ea1ab36c42a479bb43893929493b7a9
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 04:48:32 2010 +1100
build: add cflags from pkg_config results to header/function tests
When we find a package with pkg_config we may need to use the
resulting ccflags and ldflags in later tests.
Support this by adding lib= options to CHECK_FUNC and CHECK_HEADER
This gets gnutls on FreeBSD working
commit 3b87d36c2bc598f32eec2d7b50f9118d7e3d063c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 13:52:23 2010 -0400
build: test all the developer cflags before adding them
commit 9c0c4a5011e58c3a3195f995e05efba1248ad422
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 10:57:22 2010 -0400
build: setnttoken depends on libreplace
commit 04fed1f2b6c8a6ba257a436b80ef19d4ec3db1c7
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 10:46:27 2010 -0400
build: sys_lease_linux needs to be conditionally enabled
commit 282de50be79718df79f338ed2c4788a0536fd015
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 10:36:45 2010 -0400
build: add additional libreplace conditional sources
commit 3e84e10daf7282c61b6a557a8e97af84d8ab3e15
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 10:00:48 2010 -0400
build: finer grained rpath checking for binary/install
commit 9730166fd6111160dc7925785317208f94fc677c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 09:32:23 2010 -0400
build: configure fixes for opensolaris
commit 014c8736e5d369dbeb5177d1f14d6d0328f4129f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 12:20:11 2010 +1100
build: socklen_t is in sys/socket.h
commit e2a9af0be4c8f17e42eb5606f2e204657cf807f5
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 09:51:09 2010 +1100
build: added --with-selftest-prefix
commit 8e7922e10c0e3c7500477bd9ab2d7c28fcc81d51
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 09:34:44 2010 +1100
build: fixed headers for C prototype check
commit 00649a9c6266f959dbc7d857180e43f2b1363844
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 09:29:51 2010 +1100
build: updated configure checks or new syntax
commit f95ca1afc984ecf295b9181b2f699a72afcb4772
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 09:29:19 2010 +1100
build: rewrote the autoconf-like macros to be more consistent
This also brings them much closer to the behaviour of autoconf
commit 98d16cbec065bc085eabd2f80f9515d5a1b8fdc9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 18:50:29 2010 +1100
build: fixed prototype test
commit f429e621d98a7f5275c01556993d0abbbe3e8dc7
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 18:38:54 2010 +1100
build: added checks for solaris getXXent_r() functions
commit 570847054cb0d9b257d794b8f4dce38ddc5fe679
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 18:38:38 2010 +1100
build: added CHECK_C_PROTOTYPE() configure function
commit cc2284cca12e7b8a1153b4d1f46484f4c79ba5c3
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 17:39:00 2010 +1100
build: python 2.4 doesn't support multiple union arguments for sets
commit 9930493cc33b8c5369fd937ff2c40db068975726
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 17:35:14 2010 +1100
build: sun c compiler wants a newline
commit a973c5f2806d8ccf47871c5f325be50d2537951d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 17:31:27 2010 +1100
build: expand indirect syslibs after loop unrolling
otherwide python libs in the disable-shared build don't get all the
needed syslibs
commit c5d0208aa90d530270ce4a14d5bcc130ba6ab8e2
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 16:57:44 2010 +1100
build: fixed handling of full dependencies for --disable-shared
the subsystem dependency loops get quite complex when shared libs are
disabled
commit b18f85041e65c7ebf47d6cd5b51e90a5f06129b4
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 16:57:05 2010 +1100
build: don't use double binaries/libs if not needed
when rpath is disabled on both install and build we don't need the
double binaries
commit 0dc64c745891725a6a5bf1b71749c9dceacdd519
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 16:37:47 2010 +1100
build: mark wafsamba as unbuffered, so stdout and stderr are better in sync
commit 0bb6c60e3177d9167c45b828187ce6658aea2144
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 13:15:29 2010 +1100
build: added etags and ctags make targets
commit 2239a52fecc5e630e61d72b3b13e18bad9c582e0
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 13:01:58 2010 +1100
build: check if a simple C program runs
This will be helpful for working out why AIX is failing
commit 8bc95608223033428cc1fae7525f07e22ab7d8ef
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 07:48:10 2010 +1100
build: more complete implementation of waf configure -C
this is a closer emulation of the autoconf behaviour
commit 35aaf0e7723142d25b19a33c1701961a8e142ede
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 13:51:33 2010 +1100
build: rkpty should not directly include socket_wrapper.c
commit a538ed1c826b67dafc1e8f1492180f9a17e843dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 13:50:43 2010 +1100
build: fixed build of heimdal/lib/roken/err.h
commit 9e0d0fa25066f658b7ca49e324919738c695917e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 11:17:37 2010 +1100
build: enable real cacheing with waf configure -C
commit e8775226ad2e40b96d8d5aae6c31c5845c562f20
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 11:04:57 2010 +1100
build: added --disable-shared option
commit 69c065c719c208c5ef0fd8cb5df55621dc77a3e1
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 11:04:26 2010 +1100
build: optimise and re-enable check_duplicate_sources
commit 064f26ea0734ad27d21d71602c2f94bc2815004c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 10:21:16 2010 +1100
build: commented the missing subsystems
commit 2974f8d947c5e9348c243425b58e4249eaf74926
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 10:21:01 2010 +1100
build: fixed libcli/ndr_netlogon.c dependency rules
commit b282660d3981540c8c9b588c25fcd8537a567988
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 09:50:14 2010 -0400
build: fixed issue with CC="ccache cc" on solaris
commit dc9010572c1d32a4e1c82afbee2a359c429cc9aa
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 23:41:15 2010 +1100
build: support systems without rpath
commit 9a2ea72d2d1affa853a70131301de96f258178a8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 23:41:00 2010 +1100
build: removed testing cflags
commit 584986e392a799075d79277fc37ea5e0573b9c0c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 22:55:04 2010 +1100
build: cope with subsystems with no enabled modules
This happens for the notify subsystem on non-Linux systems
commit 88db935f56fc0bfdbcda8eadc74ff95ae9538158
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 22:41:48 2010 +1100
build: 'makefile' (lowercase) is now a generated file
commit 6858e73e409c29bbfa694bc0ec5035290b4f7c54
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 22:14:24 2010 -0400
build: tevent_epoll.c is conditional on HAVE_EPOLL
commit ea8d112683504030c782b5f7e41104bdb33f66a1
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 22:13:53 2010 -0400
build: fixed ifaddrs.h for heimdal (from template)
commit 19ed4c709526ef59d3f59f736c224bd16bfcfb3d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 19:41:41 2010 +1100
build: if a library is found, but not the fn, still define the library
commit 8253fe0c727cdeb2b268be50be6dd6fb2729b313
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 19:38:35 2010 +1100
build: don't use gcc warnings during configure
commit 54941c86e792820f047f47abfb41db2fe1d0d68b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 19:38:18 2010 +1100
build: fixed gnutls check
commit db8115f687a5d51a7e487db5db9687c5aad1f4b3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 19:26:32 2010 +1100
build: fixed check for pthread_create()
commit f2f8fc440e24cf92213b33f1f913ec9beda8d46e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 18:36:33 2010 +1100
build: more careful library list handling
commit d148461101f4709d8e1a8b9eb64535e0bd15d874
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:54:05 2010 +1100
build: CONFIG_SET() takes conf argument
commit 3207f81787f33da3e25ba8d62ecb923f7aef9861
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:51:55 2010 +1100
build: more functions that are in -lsocket -lnsl on some systems
commit 508cb5b97ec843aff26d60915578b2eb6cc155fc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:51:39 2010 +1100
build: cope with double check for functions
commit 055c4898e73f91cf196b03346323d1837ffd8251
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:32:04 2010 -0400
build: compile_et needs lib/com_err includes
commit 0597c715b6369a1ee46d896aab67f55b98a19e71
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:37:43 2010 +1100
build: libreplace now depends on nsl and socket
these become empty targets if not needed
commit ec3fbe5fb18cc03ca94f6b3019bcac489dc53726
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:35:05 2010 +1100
build: inet_n*() are normally in libc
commit 1130f8f8d778da2da42d19392aafea520a2e189c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:27:23 2010 +1100
build: lib needs to take a list when more than 1
commit 593c28b717b081bdd6e19ebdb086da88834a7385
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:21:26 2010 +1100
build: ensure all libs in CHECK_FUNCS_IN() get a target type
commit 7628cb7da1d2b1f5bcdacecfd27866aad8b199a2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:17:56 2010 +1100
build: cope with multiple libs in CHECK_FUNCS_IN()
commit 0bad3dacb02411f46921af23faccd66f4196268f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:10:51 2010 +1100
build: cope with multiple checks for the same function/library
commit 702615dadc34897ee5876a67ed7f4acee375f30e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:05:04 2010 +1100
build: don't look for gettext twice
commit 76761c5c8edfeaea53ae57a00b08163425481cda
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 16:59:53 2010 +1100
build: these cause problems incrementally too
commit bb5659fbfb3b7491266ba7e6b7dfdc7d9f887736
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 16:58:18 2010 +1100
build: more non-incremental headers
commit a8130e8e1fb12e4ad321c566f125d9a32ec2317a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 16:55:40 2010 +1100
build: don't add curses.h to incremental confdefs.h
commit 81d155af96104ce6b84d0e51f0fd052329551dc3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 16:49:02 2010 +1100
build: check libc first for several libraries
commit 8005100b2e06bab32db6aeb0572eac9faac2ab7b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 16:34:58 2010 -0400
build: fixed REPLACE_GETPASS
commit bfc17535144b9f1800d7a35a60473e08ad4093bc
Author: Kai Blin <kai at samba.org>
Date: Fri Mar 19 23:32:37 2010 +0100
build: Check for various headers S3 needs.
commit 7c20de97a0e0be442a70b4af0a7704763b39dbe4
Author: Kai Blin <kai at samba.org>
Date: Fri Mar 19 12:13:58 2010 +0100
build: rename s4 compare_config_h.sh helper and add a s3 version of it
commit 4b68550642098f42b8fb3d7b08b6d6f475bb3d34
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 16:00:52 2010 -0400
build: also need to put stripped CC in conf.env
commit 86cfbbafcdc42acd1d37fb152ab123453bd985fa
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 22:33:43 2010 +1100
build: gccdeps fixes from ita
commit a602a98b495d8b20cf1a1456cf53710ab55d408c
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 21:15:06 2010 +1100
build: added WORDS_BIGENDIAN test
commit 54772758a8992f5907f7e2372edfba6f1e9bc2f7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 20:56:15 2010 +1100
build: don't assume bash in configure.waf
commit 75c2c870c1b5a7890001194da44489366f6e950d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 20:30:14 2010 +1100
build: spelling fix, and syntax highlighting fix
commit 344621cb0ff37167cb616bd6df0471318951f584
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 20:26:25 2010 +1100
build: conditionally enable inotify
commit 5aacacea678b104b9ead9e4ea642c583791282b7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 20:06:33 2010 +1100
build: check for pam headers
commit 8ea03369bcd8ebb351e280222184f6d583640f46
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 20:06:22 2010 +1100
build: tool to find missing install components
commit 5025ca10c6845af888a80a57a012c19fde6482ae
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:56:08 2010 +1100
build: added --enable-gccdeps option
off by default, for maximum portability
commit 6f15ea31c2a484273303d0d451eabeeaad71809e
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:51:26 2010 +1100
build: install samba in sbin
commit bcc1ce2617f67f568ec2535ab447b14550f4e3cd
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:51:13 2010 +1100
build: don't install the heimdal compilers
commit 6ef00262efd7e42b5ca5ca9ebe20af4863e7611b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:50:57 2010 +1100
build: don't install talloc_testsuite and ldbtest
commit 3254003956d069df3860cba3f58d11f1055e06b0
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:50:21 2010 +1100
build: fixed includes paths for CHECK_CODE()
commit 19b6e8b4082e4c4d77eb2515f9f9d8caf20922ae
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:49:59 2010 +1100
build: use SUBST_VARS_RECURSIVE() for install_path
commit 3335ff742493c44ec3bed96778441cc9561044f0
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:49:42 2010 +1100
build: added SUBST_VARS_RECURSIVE()
commit 550b985235351f792327d30a34ac9608e397100e
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:49:19 2010 +1100
build: updated waf-svn (lower preproc recursion limit)
commit 9a243a791b2ebc2ca31ec109fd097e43463b30e7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 18:07:39 2010 +1100
build: rename samba_includes.py to samba_optimisation.py
commit 8caac7a1a32c69474dd8b74d1ab8181c8f6c74f0
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 18:03:17 2010 +1100
build: more optimisations from Thomas
commit 5e73038ba3fce75d7d4e9b15c3a4dd189bb816f2
Author: Kai Blin <kai at samba.org>
Date: Fri Mar 19 10:10:36 2010 +0100
build: Add a ctags command to build a ctags-style tags file
commit 752533f86541214b855c123215f4c40a5bcae761
Author: Kai Blin <kai at samba.org>
Date: Fri Mar 19 09:17:15 2010 +0100
build: Enable more warnings when using the --pedantic configuration option
commit 24cfa2957a8ab5f89f4e12207d378548dfbe1351
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 17:54:58 2010 +1100
build: install codepage files
commit c1dd88216244458e459c365cbe11dbb6532b3f86
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 16:48:01 2010 +1100
build: don't default to WAFCACHE in configure
commit 8ba2a345b494ea25bdf5b8f61eae21714f025cb6
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 14:38:37 2010 +1100
build: fixed git version in samba -V
commit 3ff3a11c33a8a3d9fbacf76fcf59c8c4d929e4a5
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 14:25:50 2010 +1100
build: use RUN_COMMAND() to wrap os.system()
commit 6e550ac4c7f2c2a2a14ed0816e439824e8c898aa
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 10:58:58 2010 +1100
build: trim whitespace from CC options
commit 2a1520ba67c27963e494012c02b73e0a14579347
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 10:49:08 2010 +1100
build: make bin/sambadeps depend on samba_deps.py modtime
commit 651941abbaafc29bff68d37f2ff343cf05982008
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 10:48:32 2010 +1100
build: python modules need the libs from broken lib loops too
commit dc68427b0e1691db6a52f9eb5e77c42755eea2b2
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 10:37:01 2010 +1100
build: fixed st_done test completion code
commit be4c0aa59116ca2696f498b46b12e4d79cbd0f2a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 10:25:56 2010 +1100
build: default to 1 job in make, to be build farm friendly
commit 9799356082958103b51d9f7216a77a31d90d9937
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 09:39:58 2010 +1100
build: fixed config.h generation when we have source -> source4 symlink
commit dae33b53a545217f432c7b1c650b9a6650a96f9a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 09:10:59 2010 +1100
build: ensure that the 'build' command appears in waf --help
commit 7eab82fce009fd6b1f16a3bd75d872591d92e8b9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 23:48:09 2010 +1100
build: fixed the install name for python modules
commit e9fd67f4deaa822bec025f8cc2557b825a05f3ef
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 23:47:48 2010 +1100
build: split build and install libraries/binaries
we need to split these to avoid re-compilation on install
as install has different rpath settings
commit c1f4015dcd7cb6edbde9fafd138c4d36fc061a8d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 23:46:44 2010 +1100
build: cleanup the ASN1 rules a bit
commit fd3bb81568de18bd13fb553d76f987aea904b8bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 23:46:27 2010 +1100
build: new waf version (fixed python install bug)
commit ecfa3fd6800e3492ffa3984f7b7644bf9d26b2fd
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 15:11:30 2010 +1100
build: disable WAFCACHE by default
It doesn't have a size limiting mechanism yet, so don't use it by
default ot it could cause havoc in the build farm
commit ca4e64847c7623a3eb7f13c4a06b8c4302d18cd8
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 15:07:10 2010 +1100
build: compatibility makefile targets
commit e29e2c9d8d57dd73ce55ab23782bd94be1d25c96
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 13:18:47 2010 +1100
build: alias the libiconv target name for subsystems that depend on 'ICONV'
commit 0f30240de16d34077a351314ec440c5066c7fd02
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 13:17:43 2010 +1100
build: added 'waf etags' target
commit fe7d1a18b956503851dcdc5fa455fbb47e8eb028
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 22:19:46 2010 +1100
build: don't need the S4 in the PIDL prefix
commit b7cc6d48d5664aa83951c31fbdaabfb839f1b420
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 22:17:15 2010 +1100
build: teach samba_pild.py about the --com-header and --dcom-proxy options
commit 365f29136fa0410ca92f17b4595cd5c51b38697c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 17:52:41 2010 +1100
build: only enable pytdb on s4 build
commit 87ae97c38181f4228eddb0fb58cd41b25f5342ea
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 17:47:49 2010 +1100
build: fixed the build of the com.so library
commit 64a528efee86379c4709b8d1ac6c8eff679ca8a1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 17:47:31 2010 +1100
build: added a cflags_end SAMBA_SUBSYSTEM() option
commit e9ef5cb091e7861295692dbedefc1761c2eccf87
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 17:20:19 2010 +1100
build: enable com library
commit 2501364eebce96cf3925410fcbe0e3a84d634175
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 17:20:10 2010 +1100
build: don't remove Makefile
commit 69fb3132335a367b49491a9a54842bf958ae6f85
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 17:20:02 2010 +1100
build: enable pytdb
commit 10935a33544824207c4e7df946908c857d20c946
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 00:22:54 2010 -0600
build: optionally enable builtin popt
commit cb0bf90b1045d68315ce9d7c61cb1493bfb71306
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 16:26:12 2010 +1100
build: don't use -W warning option for developer build
commit 330361aa18201be2bfc414d1cb481a295c07c5a5
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 15:56:18 2010 +1100
build: removed unused file
commit 8d0cb0321a9935f738c2e6a91afff4bb9e9bf3fa
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 15:55:21 2010 +1100
build: allow configure -C to work again
commit fe9e5d33bb1697bc92348f8e27da8f3d666965e2
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 15:39:24 2010 +1100
build: go into system includes for dependencies on configure
commit cf7f64b4e726ba1511d8625f214f785349211d01
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 15:22:55 2010 +1100
build: fixed some more missing targets
commit 495c5e2c834536ee933c9991648fcea9f1cad142
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 15:22:36 2010 +1100
build: added a lot more options to waf test
commit a559edf9067a1ecc0972c88961ed697ec5836490
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 15:22:18 2010 +1100
build: fixed init function sentinal for python modules
commit e6a47a8dea252c7ced95141f24de68f4d6a21c41
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 12:14:11 2010 +1100
build: we don't need varients in samba, so we can optimise a bit more
Thanks to ita for suggesting this
commit 32bf9bc84e8b4032f8808f6d50926fee27c587fc
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 11:53:46 2010 +1100
build: remove hacks from top level wscript
commit 7c35b9ca70684cc515e93cd2232ce1338e667fe1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 11:48:44 2010 +1100
build: an optimisation for includes file handling
This optimisation makes waf include file handling more efficient
commit fb2d78954d1cd73e214589c92de8a05e24ecef14
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 11:46:14 2010 +1100
build: allow waf to cache include lists more efficiently
Using include paths all based on the topdir is more efficient
commit e6f7a13a17b30d2a266924d8099c77ea47f4d500
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 10:58:07 2010 +1100
build: try faster includes processing
commit e4104eb085d579893a5bb5e5ae8ee02804dc7cfd
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 09:55:41 2010 +1100
build: more efficient pidl rules from ita
Don't re-scan the pidl source tree each time
commit b09797f30bbceb634935ba8fb86e79b2faa1a7ed
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 09:43:35 2010 +1100
build: updated waf version
commit 5db5772db12e41da9389863062334fcb27f29259
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 09:05:43 2010 +1100
build: fixed the build without sasl libraries
We need to only enable the cyrus_sasl module if we have sasl/sasl.h
commit 3c9e8e18aac7ba5e0446a38741a3fe6af8936651
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 08:50:49 2010 +1100
build: check that the symlink doesn't exist before creating
commit 062c2b1fe6aa08273291c952e8a579b759fda986
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 16 16:41:14 2010 +1100
build: allow shared and python staging areas to be referenced in build tree
commit a9ea3d6fa510286b83c4bda42c9a857da3625451
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 22:15:46 2010 +1100
build: cope with the common gen_ndr files being in the git tree
commit 9f47c0e7b721561306e7413a412b9e897a0e5b1e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 16 15:28:56 2010 +1100
build: updates for current master build
commit e502031171013f659405a80490845ef8f95c3c91
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 20:43:31 2010 +1100
build: fixed samba_deps.py for python 2.4
commit 16fbcb3556607e3fffcefab99cfacea1768a8ead
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 19:22:12 2010 +1100
build: fixed termcap build
commit 5d588cf0a68f8f3a822d9f414bf6c616f9a8b3ce
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 18:55:23 2010 +1100
build: use a plain build, at request of metze :)
commit 7cd9a6be35ca50fb6e85b9507a9e7dc377ed65da
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 18:48:59 2010 +1100
build: fixed cflags in CHECK_CODE
commit 39ac32e54ac2043fb8f567a5f50fb32bf754098d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 18:26:58 2010 +1100
build: default to waf -p
commit e054dcf33fe52429d09a8f607f16b6a591ac36f6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 18:23:48 2010 +1100
build: added test targets for make
commit ec2b11c7fa65cfcff5af7d303fed07359f5750fd
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 22:08:31 2010 +1100
build: fixed group for heimdal autoproto
commit ec2cb473d0271ea22ea87350417b59e90e9f87c0
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 18:06:31 2010 +1100
build: added ldb 'skel' module
commit 8a5c01a04925e6dad11260fbccdcc94f3a354a37
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 18:03:55 2010 +1100
build: waf test now depends on build
commit 05bda767c59107d9fa01d8f7f59adad3d19589fd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 18:03:43 2010 +1100
build: need the sample ldb module for our testsuite
commit 5c0f9079c27537a974c6a64a29ac4c864853057e
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 17:46:09 2010 +1100
build: waf test now works (at least for some tests)
commit 844acb226086e55de9a2442396a4e002471295e8
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:12:16 2010 +1100
build: waf quicktest nearly works
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
commit 845e0cbe6f43e2762796c644035ac6bc2b07cf17
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 22:07:42 2010 +1100
build: commit all the waf build files in the tree
commit fffa6a5b488058d984d61b0cd1fe1fb550a196b4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 22:07:11 2010 +1100
build: separate out dependencies and python rules
commit 8f1b809d2ccb083cb84532e98b04a12fb1039e22
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 16:27:48 2010 +1100
build: nearly there on samba4 build
commit 9cb39847c068305d544bcacd6887c57412e16586
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 9 08:17:43 2010 +1100
build: better target name for lib link
commit c6e095de74b82bfaff689168fc4e1d86a0db56a4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 9 08:17:26 2010 +1100
build: assert on missing dependency
commit e916aff9e1d44c3599c30b9ea32d03921f6403f4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 21:48:26 2010 +1100
build: much nicer pidl rules
commit 6bba8cfd9228fdda27efed8ae0a4b9104662aff7
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 22:54:46 2010 +1100
build: use export_incdirs
commit d70c4e8ea970bc17fa95291d7cc308cd7dce265d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 21:24:16 2010 +1100
build: fixed heimdal include lists
commit 2498a0d25e889e5d0efd82afbc57c3ac8c8863de
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 20:44:11 2010 +1100
build: saner CFLAGS handling for defines
commit 7c3234c4854f904e41c69b3c25fa3bcdce765cb7
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 21:55:11 2010 +1100
build: enable ENFORCE_GROUP_ORDERING()
also fixed ASN1 target names
commit d01f75c72df6c49c2898f5f26dbffac7a55ac3bd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 20:34:33 2010 +1100
build: back to stricter deps
commit cdf1a3d4bfa0c945b450e67f42e882a67699efd3
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 20:34:15 2010 +1100
build: added ENFORCE_GROUP_ORDERING()
commit a7c60e0b67c069d1e6e52207c35605016c3e9861
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 00:40:58 2010 +1100
build: added getpass() tests
commit b2f7e4b5e2bf3da9bf2aca9a0c0ffd5d8408b2e8
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 00:26:07 2010 +1100
build: make CONFIG_PATH() understand absolute paths
commit 1726ba92cf70c86a9ca2eb852c3eb6f18eb89591
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 00:25:47 2010 +1100
build: added SUBST_ENV_VAR()
commit 7abe08af9288ee39d66117f292905be6189f96bd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 00:25:36 2010 +1100
build: fixed LDB_MODULESDIR
commit 29f22bb0c0914476d93e63ed77e75b75f2a4cd14
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 00:25:22 2010 +1100
build: emulate autoconf PACKAGE_* variables
commit aaa4c4b083a2cdb1e2656f444ae88893e80c6887
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 00:06:53 2010 +1100
build: added statvfs64 test
commit fdd2f416ebd3f9d6150970ccfb3153e6809ff9de
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 00:06:39 2010 +1100
build: added local_include option to CHECK_CODE()
commit 6a8c43672bc5d33ea7edbe7879a4284cbc6df12f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:48:57 2010 +1100
build: added wrapper options
commit dd2aba149c7176594a311cbc4c42065c3074c696
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:41:29 2010 +1100
build: check for RETSIGTYPE
commit 58049e7f16c59646576a695cdbd5a6e03bf8f106
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:31:48 2010 +1100
build: added IPV6 test
commit 690b08fa0ad27d1fc7b9564c8c216c2ff00f944e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:27:50 2010 +1100
build: fixed _Bool va_copy and VA_ARGS tests
commit 5bf0b5c72fde178643675352a91efaf6afae0690
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:23:15 2010 +1100
build: new waf version - fixes mkstemp problem
commit ec2d90a8bc51e6d6b7b210df42cc8e51c98610a6
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:17:06 2010 +1100
build: fixed sockaddr_in6 test
commit 2ea4fd66339017c72578a9b44944e96ab6464e64
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:16:48 2010 +1100
build: iconv checks
commit 12c46d90552e7c51a4c0757cae7ee48b93aeec9d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:16:20 2010 +1100
build: fixed cflags in CHECK_CODE()
commit ae1c2b90226d610e1d4e3c992d8b8ea4515aa846
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 22:59:25 2010 +1100
build: check for xattr support
commit 1d18c6c7b06ab718c483370dd1cd5bdd3fa8cbda
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 22:54:53 2010 +1100
build: fixed winsize check
commit df5dee4b71844325d62a53928c7341648ac2d362
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 22:52:58 2010 +1100
build: more libreplace config checks
commit 1958a0987e5aa252eac6bffd1b829eb1405b9591
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 22:52:13 2010 +1100
build: added CHECK_CFLAGS()
commit 481a299fc8c24fa57d3a8742c9d7e6a13808e506
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 22:12:01 2010 +1100
build: new waf version
commit 64ba3c767283ce30551a08c30c578ba93ce2dea0
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:55:51 2010 +1100
build: check for libsasl2
commit 6beff490c552159f24f9b84da33af83c1e626322
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:54:05 2010 +1100
build: fix name of libs with - in them
commit 332553d8abb0711a2c38d1499b22194c62c80bd2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:53:54 2010 +1100
build: check for libgpg-error
commit 71b5f97cd0e4346901da4d0361dcde3f98c19210
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:53:41 2010 +1100
build: check for pam
commit bbb85a26ebfd276225a809ee363b50fa0c724b1b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:35:31 2010 +1100
build: define HAVE_LIBxxx when we find a library
commit 82f3ef486f6566246d26156ac59c662aefee4c88
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:35:20 2010 +1100
build: zlib checks
commit ada6e570d11636ea79cc0503c3b7ee12fb07daa6
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:20:32 2010 +1100
build: fixed iuserok test
commit 5882c44c8149c6db529055ae9f082de30ad80820
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:20:22 2010 +1100
build: check immediate structures
commit 165b5b660a60b2d79361bd32441e7a1b8c10edd3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:05:36 2010 +1100
build: move gettimeofday check to libreplace
- add checklink option to CHECK_FUNC()
- Used for when a prototype is not available
commit a2c866a5e6540b213947eecf09e32245ce77da3f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:01:11 2010 +1100
build: gcrypt functions
commit d40b396ad835f77878aefda8624d53b9112c1ebb
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:00:49 2010 +1100
build: added interface checking and nicer snprintf checking
use CHECK_CODE()
commit eadf918402996d7f9d737679c958f2dc1b6f8783
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:00:22 2010 +1100
build: expand CHECK_CODE() function
commit aac8aec0d1bd07aa4a2521c87807b88f54ac090d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 16:18:44 2010 +1100
build: more config checks
commit 2dfced59d56eae96540bb8721ccfa50487dbdd40
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 16:18:33 2010 +1100
build: added CHECK_CODE_COMPILES()
commit 572fc43a4ac14fba4f721d49d0363b377e678901
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 16:05:30 2010 +1100
build: check freeaddrinfo
commit 20f49194676a942c1e3ec1e998b46b2bc835e746
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 16:05:19 2010 +1100
build: check xattr and frsize
commit 6edb70c59ee87a29cc643542eb4aeb5508ec4877
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 16:05:08 2010 +1100
build: added help on fns
also added CHECK_STRUCTURE_MEMBER()
commit 001068d26f4fcc8e16e460e8c9d2910271ca7156
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 15:52:45 2010 +1100
build: check for volatile
commit 0d34e811734f4f154a81100462b263f1300cc03b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 15:38:32 2010 +1100
build: more config checks
commit 5d39ac84d1ed4adb6021ecb0fd74f32580981741
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 15:31:04 2010 +1100
build: check for offset_t and pw*_r functions
commit cfb4f55a7be13660377ec80fe1444c41dd4065d4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 15:19:37 2010 +1100
build: check size of types
allow name of SIZEOF test to be specified
commit d5560482ea06d11969447dcfb13f88cc6f285e58
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 15:19:27 2010 +1100
build: check signal functions
commit f7ed3e544ca7c4c84bdce88408cf0af04fb93ab7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 15:18:05 2010 +1100
build: added CHECK_SIZEOF()
commit 39807fd091e8feffb5d6ec089409d36e35ef7f28
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 15:17:46 2010 +1100
build: smarter list splitting
commit dd05b6512ab2d5c8fc2d0fe18fcd19b62fee6f01
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:40:03 2010 +1100
build: improve autoconf macros
- enable headers to be specified
- enable both forms of DECL check
- more libreplace checks
- more heimdal checks
- more sysdep checks
commit 54e26fcb48e385cf62161cd62f102dd34d1c6b3b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 14:32:27 2010 +1100
build: added CHECK_DECLS()
commit 8112b4007dd27a003648e425e666fbdc384b5abc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 14:28:33 2010 +1100
build: backtrace and crypt tests
commit bf17c9a56eb148a9a1cc9f8eb79b3461eba1e4e1
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 14:27:56 2010 +1100
build: return values for autoconf-like tests
also add checklibc options for CHECK_FUNCS_IN()
commit cbb3c6eece5780977a2d1c9ac39ff609d48c134e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 14:07:32 2010 +1100
build: check for backtrace
commit 62137089a0c9fd4c1081f098e84a30ed040f67c4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 14:01:14 2010 +1100
build: another typo
commit d87ea524d82a069d5df053b54eeb1e3bdbfdb5a9
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 14:01:05 2010 +1100
build: ntvfs/sysdep configure checks
commit abaf9aaba7acc10dde3a0b619209749748df52e2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:56:40 2010 +1100
build: add_headers flag to CHECK_HEADER()
This allows you to ask the header not be added to the list of headers
for future configure checks
commit 465481eecc510d1c1887394d869d52d31bdfa523
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:52:28 2010 +1100
build: ignore some waf files
commit fd110dc1763821c47370d120ffc0a918c79a1ddd
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:52:19 2010 +1100
build: useful test script
commit 2bb41b042a2cbb31573f1601d14688cb03630e0b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:49:55 2010 +1100
build: ignore the bin/ directory
commit ccd26e9bebc2200901981c299c7114ba25dbcf24
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:49:03 2010 +1100
build: h_errno for heimdal
commit 73db96b5fa052ca165e3d034329f62b235643eff
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:48:49 2010 +1100
build: more headers and variables in configure
commit e01a71942cdc5cc02008838136dc0f0e52cbb401
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:48:33 2010 +1100
build: added define and always options to CHECK_VARIABLE()
commit 8bae4823f29984b49efb83b91e60fd761e0bbf9f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:30:22 2010 +1100
build: waf build for lib/tls
commit 22fbe8cb701123e799fb9e16543963abc1645a82
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:29:55 2010 +1100
build: check for pkgconfig
commit ca56fc286766098271182b4cd5f2bf1eb6e005c1
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:29:41 2010 +1100
useful tools for finding missing configure steps
commit 5b9ca48d81a92a1b6c079654ce71038ab5f844b4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 10:59:01 2010 +1100
build: added generation of version.h
commit 88a138f373aa807079321a00e4f2dc083a17a422
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 10:37:32 2010 +1100
build: a useful example of a debug technique in waf
commit d004964142b0eac88528bb556228a49742725f4e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 10:26:46 2010 +1100
build: moved main autoproto rule into samba_autoproto.py
commit 6dcf5563eab238f833b5a0afc215995704d3c9f6
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 21:54:16 2010 +1100
build: allow selection of build group in HEIMDAL_AUTOPROTO()
commit 8c4e709818bb9fb20d7b97a3831862328cd9d939
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 10:13:35 2010 +1100
build: use shell for TDR rule, as -- confuses the build rule
commit 7ed65d2e126161f269ea823d2fa02e79b779fc63
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 21:53:29 2010 +1100
build: result of hack session with ita
commit 36e6d11dceb7af9cccdff3c631745427e31b8835
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 6 10:49:21 2010 +1100
build: add README to explain gen_ndr, and ensure directory exists
commit 27090becab1d9bd31ee313a32f0d0b78572f99b2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 6 10:35:17 2010 +1100
build: added heimdal_build table rules
commit 9129c3b3b6d8a1cdfb7a6500ef4eb20075aa2d53
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 21:46:38 2010 +1100
build: fixes from ita
commit c8f4ca41f69993afd9b4d753812d3056c91f0db5
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 1 09:09:13 2010 +1100
build: fixed formatting
commit c7ea3e6fbfae5bde3dacb277e487f1e12e1da189
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 1 09:01:48 2010 +1100
build: source= is clearer for source lists
commit 065e3e250907a88a253477714fd47baffa6337df
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 1 08:36:07 2010 +1100
build: using deps= for deps is clearer
commit bc39054bc3da62ef6220f2bdae36ea9f9096da47
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 28 17:34:43 2010 +1100
build: rewrote PIDL rules, breaking them into a separate waf tool
commit bd54d2a87dcabe1ff520662780673a7aaf52cc3f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 23:01:09 2010 +1100
build: fixed location of gen_ndr files
commit 481fde53478052136a9f060d79d505fd176b7c8b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:55:12 2010 +1100
build: mail IDL build rules
commit bc922d8383512f838b202090a974d8066533d030
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:55:00 2010 +1100
build: dynconfig build rules
commit d29cbc3c558fcc4c7f2c571dee3f63c2f99a80b0
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:49:26 2010 +1100
build: added librpc build script
commit d6f2855d968c606f54ab752aaaf08740d826c978
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:48:55 2010 +1100
build: fixed --includedir options for PIDL
commit 49b4d29ad357ea6347f7269a6cc3506fea70940b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:38:38 2010 +1100
build: split out the extension based build patterns
commit 333f2fc28b4b5492fe6ae842e19cd5ca74d44c89
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:29:47 2010 +1100
build: another missing subsystem .....
commit 8364d6b7e81e5ae2f882659bc9e508c961a1adb9
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:25:31 2010 +1100
build: add output_type and realname for mit_samba library
commit 5ad6369cd0b132935cc874c942ffffa0c4405101
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:21:50 2010 +1100
build: started to split up wafsamba.py into separate modules
commit ec6049c93d0c1bc7f5dff1c7d87c58eca2114ab9
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 21:30:39 2010 +1100
build: aded wafsamba README
commit 64f5cdd204ebc9ed533ff051362c8612c28d88e5
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 21:28:19 2010 +1100
build: moved wafsamba.py to buildtools
commit cada19f58b3f721a1d7a02afed038e32a3ca8945
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 20:11:52 2010 +1100
build: cope with empty source lists for libs
commit f15a81c1c02426a5afe59a364d00438f06a10501
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:38:03 2010 +1100
build: added ASN1, PIDL and ET build rules
also added selftest example command
commit e3ae80a2f70f3ed473b06d0f40fb33e993f86461
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 24 23:43:37 2010 +1100
build: added svn version of waf. It has better exception display
commit 391f953c586d16271d6b2fbba38023e686c907a1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 24 17:39:23 2010 +1100
build: added build groups
commit f74584a96cf235500b86addf90c50184a21bc510
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 24 17:38:54 2010 +1100
build: recursive dependency calculation
commit 24511472a344749f67fd90ca5c7e76d6c290f93a
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 24 17:38:12 2010 +1100
build: DEFUN->DEFINE, and fixed CFLAGS handling
commit 07eeed33f63754b4fa4ab629e52e423b04b59bb6
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:21:47 2010 +1100
build: heimdal_build waf support
heimdal now mostly builds
commit bb1e36a86baa10be9241d22ce34b8eb9b5784577
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 19:23:18 2010 +1100
build: make CHECK_FUNCS_IN() smarter about mandatory libraries
commit 2998ea91ec0ac30545d3e7027b638d167ca32ea6
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 19:22:57 2010 +1100
build: added gettext/libintl to libreplace
commit 15d523bb000fcf3b558dc3ecc28ebca0f4e86579
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 19:08:40 2010 +1100
build: add LIBREPLACE_EXT
commit 8900f97c2ca814e6bf52edd4a6c935a802d39238
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 19:04:54 2010 +1100
build: run the lib/replace rules first
commit 7aeffe68b12ae7273960a3e953a101d05e57d2a6
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 19:04:40 2010 +1100
build: added ASN1 and ERRTABLE build targets
commit 7f9c439596266cda7120e123a831aa7d7048e157
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 19:04:16 2010 +1100
build: auto generate ASN1 and ET rules
commit 06940d57967039792d945a4999ccd31dfe4b83c4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 16:48:38 2010 +1100
build: auto-strip empty dependencies
commit eab4d4598ef08c89f36180f8b9027444867e32bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 16:48:23 2010 +1100
build: added LIBREPLACE_NETWORK
commit c3d04fd8fc856604f529b8a194a41edc30c72684
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 16:26:59 2010 +1100
build: don't distinguish system and local libs in wscript files
commit 9bfe91c475c8654fbadbbc3ecbc56602f100dd3e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 16:26:39 2010 +1100
build: add heimdal_build
commit de2d305bfe2d5be87fe91088a97f06992281ab31
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 16:26:22 2010 +1100
build: add libresolv
commit 34fb27534b97ef1020f8b022ae2c2ec3c00abeba
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 16:25:59 2010 +1100
build: fixed handling of heimdal_build/internal.mk
commit 42f92494ea86591ab6928a66d9a0bb21b1bea223
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 15:01:24 2010 +1100
build: LIBLDB hack not needed any more
commit 8e81ea7c3ad707618e94d9f8f0626ec8d0609426
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:21:26 2010 +1100
build: on the fly dependency checking
commit 7e01efa80fc6262bf5558b213fa572f4253316dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 14:59:47 2010 +1100
build: improve the wscript generator
commit 9e79e14e1434dc2bf77eba7bfc79d816cd43cd11
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 14:43:06 2010 +1100
build: auto-remove circular dependencies
commit 281f27d54bf1faf12c918d1d3753e25f74d2a0d8
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 13:04:34 2010 +1100
build: check for circular build dependencies
commit 4f920748d4e97f81793943815494a8e8d90d2c8d
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 12:18:04 2010 +1100
build: death to singletons
commit e3dca1412b687bb91c21501801ded63afd665ef4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 11:55:28 2010 +1100
build: simpler BUILD_SUBDIR
commit 371f9d35a7153832773958e8815b95bb0ae5854a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 11:54:31 2010 +1100
build: more header checks
commit aa0476024c2bc3c2a8a1ab70bee515ded86c3e51
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 11:53:59 2010 +1100
build: use runonce for config checks
commit ff9f972d5558052b0346672df182966e947a5169
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 11:17:06 2010 +1100
build: added public_headers support
commit a3421fe6e9a823adce0b2c6fd3edcb2f476c9acf
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 11:16:44 2010 +1100
build: added BUILD_SUBDIR() wrapper
commit 5393e6c9d24cd66aab57274665be1774beb4e732
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 09:04:44 2010 +1100
build: recognise manpages keyword
commit 73634d6ff337f3a23bb950a430569f5b3946ed9a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:56:35 2010 +1100
build: added autoproto stub
commit d0c19bb35e5069949ee1ddc72cdd8a8dfd58db4e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:38:18 2010 +1100
build: LIBLDB alias
commit d0d69be83919fe6d141533aafbe3ef4913cd0c83
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:37:33 2010 +1100
build: added top level script
commit b1d24c7a8ffcdc3e7041a7e89474b9327bc8a26c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:30:28 2010 +1100
build: put config.h in top dir by default
commit 1cfc330156fd3afb6972f6461939817f56e9d435
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:28:29 2010 +1100
build: allow override of config.h location
commit 186e7115ab8b418fae0bdd7bb9fca369a6d6043f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:26:55 2010 +1100
build: more developer flags
commit 13cbd9f919a3cf6ea83cdc80c3e6891d9d276fe4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:09:46 2010 +1100
build: s4 wants config.h in include/
commit 4ed59b826c9cbf05542faadc1f29544b2613781a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:04:00 2010 +1100
build: add dummy flags for auto-generated scripts
commit df0a1e93688a6a2ee5e3d1f1ac31601699440956
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:03:30 2010 +1100
build: first attempt at a script to auto-convert config.mk files to wscript
commit 9a1cd09a10b475a2b18059a7ac6cb6915e9dfaf0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:26:03 2010 +1100
build: added ADD_CFLAGS() and started of Samba4 build
commit 7723519cf7544382069c7f77f915ebe9fe236efe
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 22 11:59:23 2010 +1100
build: SAMBA_BUILD_ENV() is now in conf.*
commit bf4f9962f6f3c56ee2666646eb769790f778d361
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 22 11:59:06 2010 +1100
build: moved lib -> shared
- remove lib dep creation, it's done by waf
commit 0316ec1d891b889177880fce5c2c67a66fc094d4
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 22 11:58:37 2010 +1100
build: tdb does not depend on talloc
commit 2b5a1cc70cbc5bafe6183300b131d95505c03b36
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:32:15 2010 +1100
build: added waf build rules for ldb
commit 635a7ce6c1dfbfa2fd9ccefa0253a0a846a29f94
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 13:56:58 2010 +1100
build: some more config checks
commit 45d23d1f5360046e7dc6d357a28bcf44db8207bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 13:56:32 2010 +1100
build: added recursive library handling
commit 04aa584c02cdbad4b8bc23d3108953120b226a69
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 13:55:58 2010 +1100
build: added target directory options
commit 8f062f4a0f781b351e361ce07d0701f312069851
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:31:46 2010 +1100
build: neater way to find libreplace and start on tevent waf build
commit 8fd62757d25133cda01b38823040e05ac16ca7dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 09:17:50 2010 +1100
build: added waf to the tree, so everyone uses the same version
commit f5d85a31d9e5357a4faab952f8d59aa7c8fc3f8d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 00:40:26 2010 +1100
build: added some comments for tdb build
commit 2bd0756dc5cef0f364dc569032b45066867ec10e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 00:27:37 2010 +1100
build: more binaries for waf tdb build
commit 8d6eb2a02c3468d568592c23196d91803f5904b4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 00:24:40 2010 +1100
build: added waf build for tdb
commit 5c103b484f6c6dc9ba544d501e9f701076381655
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 00:24:28 2010 +1100
build: renamed autoconf.py to wafsamba.py and added SAMBA_*() functions
commit 34b77a15d36e21c67d5493e45955358589f7b9c5
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 20 23:29:59 2010 +1100
build: updates to waf scripts for replace and talloc
commit 9757da515d4f9927255cfa293974ec6fe3437aa4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 20 16:25:37 2010 +1100
build: a first attempt at waf build for talloc and libreplace
very rough so far
commit 55e1af856ee64670c7ee925676d13f48ffcdd6ad
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 6 12:13:54 2010 +0200
s4-smbtorture: fix correct result error code in SetForm spoolss test.
Guenther
commit 12bd7a1230c850856aa0bff8f1538bd3642469c6
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 6 10:55:55 2010 +0200
s4-smbtorture: fix two context arguments in RPC-SAMSYNC test.
Guenther
commit 15531d9df1326a7111363b8d3540985d09027221
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 5 19:33:55 2010 -0700
Add FSCTL_QUERY_ALLOCATED_RANGES to the list of Windows ioctls we support.
Based on a patch reported and tested by Ira Cooper <samba at ira.wakeful.net>.
Jeremy.
commit e39ed552b69e95217864855332e6c883466a4548
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Apr 6 03:55:10 2010 +0200
selftest: Remove python2.4-isms
commit c75184b8a14ee686dacbf2dcf01eeade0327b648
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 5 14:16:21 2010 -0700
Fix issue with aio where r/w lock wasn't kept across aio read operations.
Change schedule_aio_read_and_X/schedule_aio_write_and_X to
return NTSTATUS. Move the grant and release of the lock into
the aio code.
Jeremy
commit 2754a8e2b60fb07ebec6384fc3c3a7c3450de5b3
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 5 13:50:59 2010 -0700
Fix related to bug #7326 - can't read/write any files with full_audit
commit 3ccecdd650eb039204d27ac8f978d13a4cf57b56
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 5 16:01:32 2010 +0200
s3: Fix a cut&paste error in winbindd_list_groups_done
commit 6d6c551d2695645cc7ccfc131ae5f22f12054482
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 5 12:06:02 2010 +0200
Revert "s4:gensec_gssapi.c - make sure that "GSS_C_DELEG_POLICY_FLAG" is available"
This reverts commit 3e091a82167f51b7d9abf00755bede9354932c6b.
This should be fixed through the new build system when it lands in "master".
commit 1b6e5a1b8d8fca65c62cc1e350ddef962e8f9c3f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 22:06:45 2010 +0200
s4:python/samba/__init__.py - import "sys" for "ensure_external_module" method
commit 488fe76a22b4550110d41068d721c30b337825b5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 22:49:38 2010 +0200
libwbclient: Fix a memleak in wbcListTrusts
commit 50a625ce0edc13312030d24df4b0b7eeaa50bfb0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 22:49:18 2010 +0200
libwbclient: Fix memleaks in tests
commit b1b723da6f7545f387ab64eb4ad2df2cf59e2623
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 22:26:40 2010 +0200
libwbclient: Fix a memleak in wbcListTrusts
commit 6e40fa9b016cdbd43c973c9b61b581258c0c24a9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 20:09:36 2010 +0200
s3: Fix the GNU ld version detection on SLES
On SLES 11 "ld -v" gives
GNU ld (GNU Binutils; SUSE Linux Enterprise 11) 2.19
The regexp to intended to detect the "2.19" is confused by the "11" in the
version string. I'm not really into regexps, and awk '{print $NF}' to me is a
simple (and hopefully portable) way to print the last field.
commit b1192bbfc991af57736dba7c30fb4d92dd6f436c
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 4 13:51:02 2010 +0200
lib/replace: Don't use StrnCpy inside crypt.c
With this and the int32_t/int64_t change, talloc crossbuilds to android
commit 781a0c08467a29118be85e6ecd035d35fb105e84
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 4 13:42:15 2010 +0200
lib/replace: use correct inttypes in crypt.c
This makes the android crossbuild slightly less broken.
commit 9b1f9da43617d4bd370d5f18fea9b2533e417685
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 12:12:12 2010 +0200
libwbclient: Streamline result processing of wbcCredentialCache()
commit b198283f1ff7c268f604479290c7e6fb555a6267
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 12:11:08 2010 +0200
libwbclient: Fix a memleak in wbcCredentialCache
commit 55aeb682ba157dc02d838381d1b5d9db166beaeb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 00:42:52 2010 +0200
s4-python: Move dsdb_convert_schema_to_openldap to dsdb.
commit 2a67eda98f88f132443bc2b81ca2686bcc1775a6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 00:40:01 2010 +0200
s4-python: Move set_opaque_integer -> dsdb.
commit ccd954f2a7534cc27afd17b23e2fc838e10cf6b3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 00:30:34 2010 +0200
s4-python: Avoid importing glue directly.
commit aed295b97e649ef7db4300cc400bc2bd9b1a03b0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 00:22:29 2010 +0200
s4-python: Remove convenience macro PyErr_SetStringError.
This macro assumed that all errors were runtime errors.
commit 8afd52a6418125100a5e8a6a4312c0460e57ac88
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 00:21:09 2010 +0200
s4-python: Move samdb_server_site_name to dsdb module.
commit 31a517e1721fc0080473b376cd59c090cfab6456
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 00:14:23 2010 +0200
s4-python: Move dsdb constants to a separate python module.
commit e5b33be2f2655ae8b3a59bf7fe54174464c8cbe9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Apr 3 23:44:18 2010 +0200
s4-python: Remove remaining constants.
commit 5a026219a97e396284d30a33e1ab57c059be67e0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Apr 3 23:33:47 2010 +0200
s4-python: Remove unused imports, duplicate definitions of SECINFO_ constants.
commit 13a6aee591e972413a522944d168257e17808ca3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Apr 3 23:18:23 2010 +0200
s4-python: Remove duplicate definition of GUID_DRS_* constants.
commit 3ec8147105267f2f890b4e605221a4347f51c644
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 1 16:24:24 2010 +0200
selftest: for clarity, rename test to testsuite
commit bbe07972e65024dba7d9fa767ba8d8907829a986
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 21:45:55 2010 +0200
libwbclient: Both talloc_free and wbcFreeMemory deal with NULL
This is in line with the ANSI C standard definition of free(NULL)
commit 710aa773d54509de34404f9992c5058ddfa45f3b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 13:30:05 2010 +1100
socket-wrapper: not all systems have FIONREAD defined
tru64 for example
commit c1ccbfba21713c3dfec88bb528a36d65a055a984
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 2 20:34:58 2010 +0200
s3: Add wbinfo --logoff
commit c97d279037e87513ac74cfb6251d923e1c1fdad2
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 2 20:28:44 2010 +0200
s3: Remove some pointless break statements
commit 68403d48f8dd1061c4baa60ab23c18d15fe03557
Author: Jeff Layton <jlayton at redhat.com>
Date: Fri Apr 2 06:26:09 2010 -0400
Update URL in README.cifs-utils
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 7d692f970a43e3d357549b02f905fa08d27ae8c8
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 19:08:24 2010 +1100
s4-rpc: fixed a talloc loop in continue_ntlmssp_connection()
We were creating a memory loop which caused havoc when the connection
was torn down.
commit 53dec154274978ce94de8f5182c7d39a0c5f451e
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 2 10:11:12 2010 +0200
s3: Fix a comment
commit 23f2db7ab60be499327ae40d7e4c604ded910bea
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 18:31:30 2010 +1100
s4-python: added --debuglevel to our python scripts
very useful for debugging our cPython extensions, such as dcerpc
modules
commit 2c097b51cb62a0b3cc159faea62d831d897f6017
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 18:21:14 2010 +1100
s4-pyglue: setup talloc logging in python modules
commit a8d213c151a73b007c62287ae068201c5a36532e
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 18:20:51 2010 +1100
pyrpc: do the pipe connect on a real memory context
commit b81100c71059698dbf4f1aaae52df48f65836b8e
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 18:19:47 2010 +1100
debug: enable talloc logging
we want to ensure talloc warnings are printed in the log
commit fde50c633f3a48c8e63718903a77e2c1ecc12a55
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 18:18:53 2010 +1100
talloc: a useful bit of debug code
this is useful when tracking down talloc loops. It is probably too
expensive to have on by default.
commit 1b4bbec523f2bf20d91c177e7fdb4b7f87431926
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 18:17:52 2010 +1100
talloc: add a define for TALLOC_MAX_DEPTH
Thanks to the suggestion from simo
commit 5ccd30e9ac5cb93a79c076c22709e271d34d9483
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 12:02:55 2010 +1100
talloc: change talloc minor version to 2.0.2
this has the talloc_is_parent() bugfix
commit ff2b7d42e685d015f281fc525c745242e84ba54d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 11:59:49 2010 +1100
talloc: limit the depth that talloc will go for talloc_is_parent()
We have a bug in the dcerpc registry code that can cause a talloc loop
that chews unlimited CPU because of talloc_is_parent() during a
talloc_free()
commit bf90969892411f28ea330611156ddfec5e2e1321
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 1 16:47:59 2010 -0700
Move initialize_async_io_handler() inside of smbd/aio.c.
Call from actual aio read or write. No reason to call this globally on startup.
Jeremy.
commit b6aabcd628f3af1302a03af8cde15baa8d1f2905
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 1 15:01:43 2010 -0700
Add torture test for bug 7310 - DOS attribute inconsistency with MS Office
Ensure we don't regress.
Jeremy.
commit e18ddb6036f5e0a2211e89a7c9b5514c30a653cf
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 1 18:10:47 2010 +0200
s3:winbindd: remove unused variables
metze
commit 73577205cf81644e7fe853eaf3e6459f7f443096
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 1 16:23:06 2010 +0200
s3:winbindd: fix problems with SIGCHLD handling (bug #7317)
The main problem is that we call CatchChild() within the
parent winbindd, which overwrites the signal handler
that was registered by winbindd_setup_sig_chld_handler().
That means winbindd_sig_chld_handler() and winbind_child_died()
are never triggered when a winbindd domain child dies.
As a result will get "broken pipe" for all requests to that domain.
To reduce the risk of similar bugs in future we call
CatchChild() in winbindd_reinit_after_fork() now.
We also use a full winbindd_reinit_after_fork() in the
cache validation child now instead instead of just resetting
the SIGCHLD handler by hand. This will also fix possible
tdb problems on systems without pread/pwrite and disabled mmap
as we now correctly reopen the tdb handle for the child.
metze
commit 3475c61179b87fa5c48ffe24c2793137ad04c318
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 1 16:32:44 2010 +0200
s3: Ensure NULL termination before printing in winbindd_pam_logoff
commit c63440e040798722288a530a64e59d19344c63ee
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 1 15:32:32 2010 +0200
s4-python: Ensure __init__ exists in samba.external, or importing will fail.
commit 84891b048d577e52da91c64d310f7bafa115d015
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 1 15:20:25 2010 +0200
s4-python: Install external packages to a different directory but import into
the normal namespace when the system doesn't have it available.
commit 64c564291d9ce60d934273aaac15150386d22127
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 1 15:13:37 2010 +0200
s3: Fix a typo in winbindd_pam_logoff
commit 132e505d1edc501edbe73bb75b65c1f5a724e70b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 1 14:47:54 2010 +0200
subunitrun: Find testtools and subunit when they're not provided by the
system.
commit a2411c5708b47c3c2d53c34c6dbed7e1c2eab717
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 31 20:54:18 2010 +0200
s3:winbindd: correctly invalidate the cached connection
There're maybe additional TCP connection for ncacn_ip_tcp.
metze
commit 0f95d00f49ce58a09c95b60777f8d1a65626ec37
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 31 20:20:26 2010 +0200
s3:winbindd: only set child_domain in the child
metze
commit d930904b997d310aeff781bde1e7e3ce47dde8a1
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 1 09:29:38 2010 +0200
s3:winbindd: make sure we don't try rpc requests against unaccessable domains
This makes sure we don't crash while trying to dereference domain->conn.cli->foo
while trying to establish a rpc connection to the server.
metze
commit 658dc77446ce11e6454f64abea21edc2b5e405e6
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 1 12:54:31 2010 +0200
s3: fix a typo in winbind_client_response_written
commit 6800fdbb81130b79c2e077e9a7fcbe2d5e0813cb
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 31 17:40:30 2010 -0700
Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count.
As these always call exit_server, make that part of the function.
Use _internal functions for the echo client.
Metze please check !
Jeremy.
commit bb54089503907745a33a09cb27ead565d1205165
Author: Christian PERRIER <bubulle at debian.org>
Date: Wed Mar 31 23:02:32 2010 +0200
s3: Merge French translation for pam_winbind after review
- some wording improvements ("user" is not "usager" but "utilisateur"
- gender neutrality changes:
by rewording: ("vous n'êtes pas autorisé" --> "vous n'avez pas
l'autorisation")
- bad translation corrections: "valide"-->"valable" (a very common
false friend)
- and several changes we consider to be improvements, mostly because
they are common wording in computing translations in French
Signed-off-by: Lars Müller <lars at samba.org>
commit 0e3f031e59ff304ad8816ed0a4dcec30805b5c24
Author: Volker Lendecke <vl at samba.org>
Date: Wed Mar 31 22:06:23 2010 +0200
s3: Fix an error message in winbindd_pam_chauthtok()
commit 15d58f688f3ebc267632eaecbe5e18ee994729ea
Author: Volker Lendecke <vl at samba.org>
Date: Wed Mar 31 22:05:02 2010 +0200
s3: Ensure null termination in winbindd_pam_chauthtok()
commit 6d9b2e62cbd7712fe8cfe99c9d596a375a0abfad
Author: Volker Lendecke <vl at samba.org>
Date: Wed Mar 31 20:57:01 2010 +0200
s3: Make check_info3_in_group static
commit cf4a8f7639ee869270dc99ed791752de03882edc
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 29 15:44:38 2010 +0200
s3-winbind: Make append_auth_data() static
commit eb60833a45d0d21463d6101953136e1f3e3de380
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 30 22:16:37 2010 -0700
Fix bug 7310 - DOS attribute inconsistency with MS Office
On rename we need to set the archive bit on the renamed file.
Jeremy
commit 2e839a636b2ea3f4d8dfcf5a8e99d9725787ba61
Merge: f58d02dbeeeba037ee79fba93a707e959e90ffa3 6f30b9a6ff57ca6112e6319c64c411d2bf09be79
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 31 10:01:03 2010 -0700
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit 6f30b9a6ff57ca6112e6319c64c411d2bf09be79
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 31 04:54:41 2010 +0200
s3:smbd: handle SMB2 in deadtime_fn() and avoid disconnecting non idle clients
metze
commit 74f36df4b30601417dc69031bf6f1af4c652e440
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 04:52:13 2010 +0200
selftest: Update sys.path before attempting to import external modules.
commit c6b1553a2b83c5e70fcb1a3a76e49ed496553a4e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 04:51:05 2010 +0200
selftest: Make sure format-subunit and filter-subunit can find testtools/subunit.
commit 36c84854cb801ba025fd3b43d9cf998da451eca7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 04:24:04 2010 +0200
subunit: Include remainder of bindings and metadata.
commit 6897be747594e385ee032ac1409289ce2d208548
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 04:19:36 2010 +0200
testtools: Fix included testtools, for systems that don't have it.
commit 5f3fcf7a7773737fd87c8ff5530fae2286e88927
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 03:56:24 2010 +0200
s4-python: Install external included packages only if they're not present on the system.
commit 0e77bea165d6db9ca8a138e78f5051234b069789
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 03:47:10 2010 +0200
installmisc: Support DESTDIR for Python directories.
commit 62ed8a68cd30037f73536c32c7293bc9a3ab88d4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 03:34:50 2010 +0200
format-subunit: Hide reason if it is None.
commit 49d82aa7729c5bfa7dde313580630a5ff97fc05a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 03:32:23 2010 +0200
format-subunit: Don't show reason at all if it is None.
commit a8ac7fda573a924debf165d39eff3c1837240d4f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 03:19:18 2010 +0200
Put testtools directly under lib/ to make it easier to install from Samba 4.
commit e4af3afd7ae3e39218b42a42d39c2ec10be9a642
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 03:15:24 2010 +0200
samba_external: Simplify script to find missing external packages; include subunit and testtools as well.
commit 31094b0e8ca73e3150de9de689f4c5c38b2e9f1f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 02:57:47 2010 +0200
smbtorture: Report number of available tests in a testsuite using subunit.
commit 197c98292bd838e27da6692ba8e7984f12a66fef
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 15:03:41 2010 +0200
subunit: Also import copies of filters and perl module.
commit 9fe4b01ca682b57cf7c79775abacf135d0c87d42
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 14:44:37 2010 +0200
selftest: Use boolean types in Python.
commit 6c299d28b56dd237792cc80c15c6169e701b4a97
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 14:42:23 2010 +0200
selftest: Use standard subunit command for progress reporting.
commit 7f1360db5123b61cd4473f54d4fb55746c5d8245
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 14:36:25 2010 +0200
selftest: Support parsing progress in format-subunit/filter-subunit.
commit b2eb609d4de39c1359142bc0562daf36e4dee08c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 14:30:08 2010 +0200
selftest: Use standard subunit commands for progress reporting.
commit beb630b69051acfb6e92ae8ed86007999e7937cd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 14:15:38 2010 +0200
s4-selftest: Fix xfail for base.delete.
commit 12e34eafb82822a80dbe9dc12b4695ab665644a7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 14:02:36 2010 +0200
selftest: Use absolute tests names in knownfail.
commit 08161e093d38f0d7b54841f5572a024f228408fa
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 12:46:26 2010 +0200
selftest: Convert filter-subunit to Python so the subunit Python module
can be used later.
commit ae5381d34c75918f7fa49654585d277bbfe66f49
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 02:39:50 2010 +0200
format-subunit: Avoid printing backtrace on Ctrl-C.
commit f58d02dbeeeba037ee79fba93a707e959e90ffa3
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 30 16:54:43 2010 -0700
Second part of fix for bug #6494 - Incorrect FileStatus returned in NT_CREATE_ANDX.
Ensure we do this in nttrans create too.
Jeremy.
commit 2699db3fe033b2b048de0d9a3ef21aee6b0da16c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 09:18:09 2010 +1100
s4-torture: removed more uses of typeof()
not portable
commit 4fc0a6ab3151ca740e4d89b0ebca5d378f88ea50
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 09:00:54 2010 +1100
s4-torture: using typeof() is not portable
this failed to compile on solaris8 with cc
commit 32c8feab5d8320cba7f47fc27ba0fc264f3c4333
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 30 15:27:26 2010 -0700
Fix for bug #7233 - print fails with jobs >4GB from Win7 clients.
Contains for by Sebastian Kloska <oncaphillis at snafu.de>. Submitter
confirms this fixes the problem.
Jeremy.
commit 4b249a616b586bf384e0ba68ce5d391601879938
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 25 21:41:09 2010 -0500
s4:lsa implement lsaRSetForestTrustInformation
commit d447184ca863fd3effa2585a80704468572893b7
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 30 13:45:53 2010 -0700
If the timeout has been set to zero, don't register an end time.
The caller doesn't want a timeout.
Jeremy.
commit 902a5e53cdcb1952a5fe6be072f91725a3e78608
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 21:57:52 2010 +0200
wbclient/wbclient.c - fix a typo
commit 818fcfb8139d43f2136452029ac320e48ec154f7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 19:08:57 2010 +0200
libcli/nbt/dns_hosts_file.c - change "ULONG_MAX" into "UINT32_MAX"
This fits better since the variable which is tested is of type "uint32_t".
commit 3e091a82167f51b7d9abf00755bede9354932c6b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 17:42:51 2010 +0200
s4:gensec_gssapi.c - make sure that "GSS_C_DELEG_POLICY_FLAG" is available
FreeBSD 7.2 needs this.
commit 65d1d4184483036a7ba159ad28b29001c0ec8b4e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 17:24:15 2010 +0200
s4:torture/basic/denytest.c - use "typeof" in a better supported syntax
This should make it compatible with the SUN Studio C Compiler.
commit 01f1f87aa91e8a887a6405ead2e96d6a659c4ec0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 13:02:27 2010 +0200
s4:registry/tests/diff.c - try to make also this test compatible with big-endian platforms
commit b08bbbb42dcb141ba6e8eb96781e6cf360db1b57
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 12:46:56 2010 +0200
s4:registry/tests/hive.c - make the test compatible with big-endian platforms
commit 08e0d94faedc0793958183372f26f778f8ec8953
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 18:12:46 2010 +1100
replace: allow memmem() with an empty string to return NULL
This is how FreeBSD behaves. We don't rely on it returning the string
in Samba.
commit cc2ef27e369f0950ec931bf15cba4665c053ac53
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 30 09:50:09 2010 +0200
s3:libads: retry with signing after getting LDAP_STRONG_AUTH_REQUIRED
If server requires LDAP signing we're getting LDAP_STRONG_AUTH_REQUIRED,
if "client ldap sasl wrapping = plain", instead of failing we now
autoupgrade to "client ldap sasl wrapping = sign" for the given connection.
metze
commit 21499a148e4b6600d13977eb97c1a77d9bf5fd4c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 16:27:09 2010 +1100
selftest: reason may be None
jelmer, please check
commit 4f4adddb171af2fafe280be05fd144fc3ad01107
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 15:36:17 2010 +1100
s4-test: oLschema2ldif doesn't take -H any more
commit e47e5ff89b8c9b523400d693bcd65454ff8ded85
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 12:08:52 2010 +1100
s4-heimdal: use the HAVE_INET_* functions from libreplace
commit e310cb3f375faa32d9be0dccfcf03f90eaedfc60
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 00:07:10 2010 +1100
s4-heimdal: for use of libreplace setegid and seteuid
commit 0f113faea8db91c3890e7ab0edfefedce5ec2594
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 11:55:10 2010 +1100
charset: look for the codepages in the right place
selftest runs from source3/source4. The codepages when not installed
are in ../codepages
commit e4c75252a962341c35ef45989ea12c637f7b3a1b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 22:47:34 2010 +1100
s4-heimdal: a better way of handling dirfd()
This prevents us getting thousands of warnings about dirfd() on
solaris
commit 0cdc021ba4cc0f400e6fbce173e0d17dee69ee64
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 01:00:16 2010 +0200
selftest: Remove diff-subunit - it's included in subunit and not necessary for normal operation.
commit c108a2e74e98e35c72d74a37d1b147396403925e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 00:59:04 2010 +0200
format-subunit: Improve formatting, simplify code.
commit ef3fb75261d1ce0d10da3e0c636c895aeb8b8441
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 00:30:52 2010 +0200
selftest: Replace perl subunit formatter with python subunit formatter,
so we can leverage the work happening in python-subunit.
commit 0c78368a3108ad7437a20fac7e6da42ecf6f348a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 22:25:25 2010 +0200
selftest: Convert format-subunit to Python.
commit e14a6fbf8c9e4d16b2727e48c708ceccfd157e59
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 29 14:24:18 2010 -0700
Fix bug 7307 - man net usershare mistake
Fix bad usage message, reported by headset001 at yahoo.com.
Jeremy.
commit c8fe49b2d311944da8829a20c6d275daace205cb
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 22:23:53 2010 +0200
s4:installmisc.sh - fix location of "dnspython" library
commit 4c6cde99c0751a073120d8bc36d40922d8027344
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 22:03:55 2010 +0200
s3:winbindd: correctly retry if the netlogon pipe gets disconnected during a logon call
This fixes hopefully the last part of bug #7295.
metze
commit c5d1d68f0bb9b2d544bab01adc4daad8ed6103fc
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 21:52:12 2010 +0200
s4:registry/util.c - remove those "talloc_free"s
They're not really necessary.
commit c38e96278a8ec1ccdff33e14a751bfcb8c3d63bf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 21:27:18 2010 +0200
s4:registry/tests/generic.c - fix the DWORD_* types test to work also against big endian platforms
commit 50d26133dcc2b7866bb877fa80af2fc6dca144dc
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 21:16:44 2010 +0200
s4:.gitignore - update it for the new heimdal release
commit 8d0b67b644d636ebab98add81b78093841342cac
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 21:09:23 2010 +0200
s4:registry/ldb.c - Break with "NULL" as an error case when the data doesn't fit in the "reg_ldb_pack_value" function
commit e25e60ba2f4802a43a0a990c4f34fb23359dab28
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 20:53:38 2010 +0200
s4:registry/ldb.c - Always check the "name" attribute for != NULL
If it's NULL return invalid parameter as Windows does. The name is "" if it
refers to the default value.
commit 90d2902c73715c7777ad67b2a33f32a79f72764c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 20:36:32 2010 +0200
s4:registry - move the UTF16 length calculation for "reg_key_get_info" into the RPC server code
It does fit better there.
commit 8efea429481fcab2e67fa4f3f3f4ceee1857f8ac
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 19:55:16 2010 +0200
s4:registry/util.c - fix indentation
commit e1714121b109db6e23f368bb78f07876c27379a4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 19:45:33 2010 +0200
howto4.txt - improve the content of chapter 2bis
commit 53a2982970631e031e2c83b90721d32211943580
Author: Matthieu Patou <mat at matws.net>
Date: Wed Mar 24 16:47:24 2010 +0300
s4: complete the build instruction because the problem with the idl_full cames very often
commit da68151017c0741768f92b88de264bf800e729f0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 19:28:27 2010 +0200
WHATSNEW4.txt - updates
Update the file content.
commit cf3e15c897df4e11981a7d3a2fbbb77bd9dc31f0
Author: Matthieu Patou <mat at matws.net>
Date: Wed Mar 24 13:28:27 2010 +0300
Add partial information in whatsnew for the next release
commit a5e6b5589b9d8498740a289dba2d56d3eb14af72
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 18:43:38 2010 +0200
registry: Fix compilation.
commit 38fc9dfdc6046e21cd8f0127e2cd88f72f81b3b3
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 17:07:09 2010 +0200
Revert reordering from commit 51bedf939568717424edd7732e1e315faa333849
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 2d6791286b97236136de468ebf4173bd35336b6e
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 17:03:08 2010 +0200
Revert "s4:registry - util.c - add harder checks for inputs on "reg_val_data_string""
This reverts commit eb8c8a0ecaa9bfd29f090db21fccdad7751767ae.
Conflicts:
source4/lib/registry/util.c
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 16427efb749d63b5a54b2b260ea8ac565f63a9e7
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 16:46:53 2010 +0200
Revert "s4:registry - util.c - move the "REG_NONE" case in the conversion functions on top of the switch"
This reverts commit 4e6c0e1f6f37a7e04d10dbf7abbf626f52232aaf.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit b1c70d49c9f8e99997fe3c9228e92db5e6ad3ad4
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 16:46:30 2010 +0200
Revert "s4:registry - util.c - treat unsupported and binary values as the same in the conversion functions"
This reverts commit cc3eec1681bb6d614e688f51e48bd76f6d513e67.
Conflicts:
source4/lib/registry/util.c
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit cb670f366cdc7d3dd457bd40fc37349c4484b54b
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 16:30:43 2010 +0200
Revert "s4:registry - adaptions for "add memory contexts for delete value/key functions""
This reverts commit 43170dafbcbe7464bce9b4c6d76532d7d0bf5b9a.
Conflicts:
source4/lib/registry/dir.c
source4/lib/registry/util.c
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit f8e67f198ad6e42f7563390012f30fffe43b92f7
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 16:18:46 2010 +0200
Revert "s4:registry - "util" - make "reg_key_add_abs" consistent with "reg_key_del_abs""
This reverts commit 9d8592978e28c492d971a3b5a4c0133febc149ea.
Conflicts:
source4/lib/registry/util.c
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit d90f1a7146385328dfd8e5245e7b1f83eb46e7e1
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 16:12:22 2010 +0200
Revert of commit 5b6ad54f43741c0c25b35e44cafe5fed352ff133 in registry.h
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 541e2942f8dcda970a8b83c7832ea5c09cb38fc8
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 16:03:12 2010 +0200
Remove incorrect const, something that was correct in commit 9c3e6249fd984b823a77cab0514601d2a487920a
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 3629798f72aa9126e115a8f38e0455245794f9c3
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 15:59:53 2010 +0200
Revert "s4:registry - "util" - remove "const" from "reg_abs_path""
This reverts commit 9c3e6249fd984b823a77cab0514601d2a487920a.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit cac9981b1a88a37c703a76a951b0691fa4ba7b4b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:54:29 2010 +0100
s3:rpc_client: remove more unused code
metze
commit 13cf592bb8478453dccd4d78bdb4dabec7aeddc2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:29:05 2010 +0100
s3:rpc_client: remove unused code, we handle transport failures in the transport layer now
metze
commit 6bd5a2a3739938f95fce23ab2da652c9b5a48111
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 16:31:13 2010 +0200
s3:winbindd_reconnect: don't only reconnect on NT_STATUS_UNSUCCESSFUL
metze
commit 94a4bcd2f0c0464e192556679c6636639cb307ea
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:25:47 2010 +0100
s3:winbindd_cm: invalidate connection if cm_connect_netlogon() fails
metze
commit 4f391fedac7111683d13f2d79fee7c0dbc27f86e
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:17:07 2010 +0100
s3:winbindd: consistently use TALLOC_FREE(conn->foo_pipe) is we create a new connection
metze
commit d980c06a994d032a833adc8d56d2f2c037f8fdaf
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:15:57 2010 +0100
s3:winbindd_cm: use rpccli_is_connected() helper function
metze
commit 408a3eb35a0e61b5d66a3b48ebbd1a6796672d0f
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:14:02 2010 +0100
s3:winbindd_cm: use cli_state_is_connected() helper function
metze
commit 3e70da3f470eeb122f95477fb48d89939f501b3e
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Mar 28 19:34:34 2010 +0200
s3:rpc_client: return at least 10 sec as old timeout in rpccli_set_timeout() instead of 0
metze
commit 99664ad15460530b6fb44957b6c57823f09884bf
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:51:51 2010 +0100
s3:rpc_client: add set_timeout hook to rpc_cli_transport
metze
commit 4f41b53487ac9bc96c7960e8edab464558656373
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:00:38 2010 +0100
s3:rpc_client: add rpccli_is_connected()
metze
commit dc09b12681ea0e6d4c2b0f1c99dfeb1f23019c65
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 14:58:19 2010 +0200
s3:rpc_client: don't mix layers and keep a reference to cli_state in the caller
We should not rely on the backend to have a reference to the cli_state.
This will make it possible for the backend to set its cli_state reference
to NULL, when the transport is dead.
metze
commit 5f8fc63515a02aaf55719cb8d3be8ce695178fe9
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 14:10:25 2010 +0100
s3:rpc_transport_np: add comment about bad usage in a destructor
metze
commit b862351da8624df893ec77e020a456c1d23c58ed
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 14:08:42 2010 +0100
s3:rpc_transport_np: use cli_state_is_connected() helper
metze
commit d7bf30ef92031ffddcde3680b38e602510bcae24
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 13:20:56 2010 +0100
s3:libsmb: add cli_state_is_connected() function
metze
commit 47e10ab9a85960c78af807b66b99bcd139713644
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 15:07:34 2010 +0200
s3:libsmb: don't let cli_shutdown() segfault with a NULL cli_state
metze
commit 1ec2b2f7f328abd0111f1dd871a032ea32f5e573
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 18:05:03 2010 +0200
ldap.py: Fix syntax error.
commit 336cd5a0a3d35b998b67efc975813ccc8482e6ee
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 17:35:20 2010 +0200
python: Fix rule for generating docs using pydoctor.
commit 082e7f20d7df457c08119eb41fc2f3f8c09ba7ab
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 16:25:03 2010 +0200
subunit: Update to newer upstream version.
commit c87332950043471e52b924f7498b63982ec4302c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 16:21:26 2010 +0200
s4-python: Simplify mechanism for finding included Python modules.
commit 4bbc3ff037026c72f3249f59c1b5af69a6ad6d69
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 16:08:11 2010 +0200
s4-python: Move dnspython to lib/, like the other Python modules
This also avoids it from being installed if it's already present on the
system.
commit 89aa3b766b926d19dac4805a7e72433e497ce872
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 15:43:43 2010 +0200
s4-python: Format to PEP8, simplify tests.
commit 87ad4e990be2a763af9f45c0857b5de654cf2e1b
Author: Holger Hetterich <hhetter at novell.com>
Date: Mon Mar 29 17:05:34 2010 +0200
Make the smbta-util manpage xml create smbta-util.8 instead of smbta-tool.8
Additionally change any references to smbta-tool in the text of the manpage.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit e230c8dd2441181963c6df678be06cdaaf6cb822
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Mar 27 12:48:21 2010 +0100
pidl:Samba4/Client: don't mix rpc and application NTSTATUS errors anymore for the new bindings
The new dcerpc_binding_handle based client stubs don't mix error codes anymore,
while the old dcerpc_pipe based ones still do to keep OpenChange happy for now.
metze
commit 979c50eff7a7a1611e27f0e26db821416d50110f
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 24 13:14:09 2010 +0100
s4:torture/rpc/samba3rpc.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 733701ae9b98b79685dad2679f8172a981634b99
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 20:14:53 2010 +0100
s4:libnet/libnet_passwd.c: add explicit check for NTSTATUS r.out.result
metze
commit cd3ae926e7f54b29eb733e42aafd1a1b6c45dc38
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 20:31:15 2010 +0100
s4:libnet/libnet_samsync.c: add explicit check for NTSTATUS r.out.result
metze
commit d0efef3f864f36eefe6b0abd152c4614324f2fc2
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 20:30:57 2010 +0100
s4:libnet/libnet_join.c: add explicit check for NTSTATUS r.out.result
metze
commit 12ee027106009664bd6e138df819250e99af5188
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 15:04:25 2010 +0100
s4:libcli/util/clilsa.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 10e46e52abde3095d575db39cc3fd60ae6eeb264
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 24 09:06:54 2010 +0100
s4:torture/rpc/lsa.c: add explicit check for NTSTATUS r.out.result
metze
commit 1a4d9b95eec6983fbc28a69f1b4b3049c2f27397
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 00:38:04 2010 +0100
s4:torture/rpc/samr.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e531b52ab965b7f258b475da9639330e3c49c8cc
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 15:35:36 2010 +0100
s4:torture/rpc/handles.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3398636a3bf2e55adda01eb92fc7aaf5c03adb2a
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 12:23:37 2010 +0100
s4:torture/rpc/samr_accessmask.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 08177e98b2237b9428bfc28c4a0ebdfd34eba49a
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Mar 27 10:45:17 2010 +0100
s4:torture/rpc/samsync.c: add explicit check for NTSTATUS r.out.result
commit 5dcb1e5030e07922405bb0175d3459f6ed96054c
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 14:56:52 2010 +0100
s4:torture/rpc/samlogon.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 2f7f7257d938b9f223399df8d0cbf31b91a3f55a
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 14:45:38 2010 +0100
s4:torture/rpc/netlogon.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 8ac42bc0dc1b946893c9cc7a5a8555a1ca89819a
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 00:09:46 2010 +0100
s4:torture/rpc/lsa_lookup.c:add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 1248adb2c5716d26323e6e9bb1ac81103701d908
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 15:20:16 2010 +0100
s4:torture/libnet:add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 2d35523f24f7806d41d785028e09f9cb6bbfaf56
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 14:17:18 2010 +0100
s4:torture/rpc/schannel.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 940c6ab29f21862ba21d313223ce73c6e3ea6401
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 14:48:36 2010 +0100
s4:torture/rpc/remote_pac.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a154bb56297c7bdfe7d7505afc409e0333100770
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 13:55:35 2010 +0100
s4:torture/rpc/testjoin.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 959a128c7b9303b59e92273b01fefde02d752015
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 00:16:29 2010 +0100
s4:torture/rpc/session_key.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 583c7cbd4c70be4f8e4d1c28fb7bba42c5d3c05d
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 12:57:54 2010 +0100
s4:torture/rpc/eventlog.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 159ca620946951b03431ef57623552abcea6b2f6
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 00:21:01 2010 +0100
s4:torture/rpc/unixinfo.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 1184ef6672347e6e446a485b992249f051a3873c
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 15:19:25 2010 +0100
s4:torture/ntp: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 0590e7ef3685d629057971cf132838bf7e223ee3
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 12:26:27 2010 +0100
s4:torture/rpc/atsvc.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit fd9495491d8cdefc4bdbd20d1881f43c119537c2
Author: Stefan Metzmacher <metze at sernet.private>
Date: Wed Mar 24 09:45:21 2010 +0100
s4:torture/rpc/echo.c: remove NTSTATUS status variables
metze
commit 870a21b3ecc11b16f09b59440dc9e42b09f807d3
Author: Stefan Metzmacher <metze at sernet.private>
Date: Wed Mar 24 09:31:17 2010 +0100
s4:torture/rpc/echo.c: add explicit check for NTSTATUS r.out.result
metze
commit 8b1651cb5021efdf6ea153b991cdc0ef3da0ffd8
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 29 16:59:48 2010 +0200
s3: Fix bug 7212, "getent group does not return group members"
commit 686221eae28ff58fb048fdc7132e1413dedb6eb9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 20:53:16 2010 +1100
s4-waf: use the libreplace strerror_r if needed
commit 7ed349caceed2524d897d957cee98ad1cdc4704c
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 08:35:30 2010 +1100
pytalloc: allow for using a system libtalloc-dev with pytalloc
When we have a system talloc library, we still need to grab pytalloc.h
from lib/talloc. We don't want to just use -Ilib/talloc, as otherwise
we'll get the in-tree talloc.h which may not be compatible with the
system talloc.h
So we need to give the path to pytalloc.h
commit 08faa3a43c26f8cc637969d2b216f2efea9099d9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 18:48:29 2010 +1100
talloc: testsuite should use <talloc.h> not "talloc.h"
if we are using the system talloc, the testsuite needs to use the
system talloc.h
commit b60da39da6e1d1025de4bb200f39f9821f01c1d6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 20:20:25 2010 +1100
s4: added a simple implementation of bin/samba -b
this shows the config paths. Useful for debugging --enable-fhs
commit 61106c056898aa8e5dd580b83fa404f12cfccd28
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Mar 26 13:23:31 2010 +0100
s3-selftest: Don't log to stdout, use logfiles instead.
The logging to the logfiles is more verbose and they can be found in
./st/dc/logs. If you still want to log to stdout start selftest with:
SMBD_OPTIONS="-S -d10" make selftest
commit 0dac5d2ab362c128e184e06a73364bc48f748fd2
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 29 07:24:00 2010 +0200
s3: Attempt to fix the build on AIX, shm_ptr seems to be a macro there
commit ba74823c8f42dd3f4f0883163e42888ec35baf32
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 28 22:58:36 2010 +0200
upgradeprovision: Fix formatting, syntax error.
commit d18d7cfa27a3f2a088c8f3ea9de4f9d8d89fea38
Author: Matthieu Patou <mat at matws.net>
Date: Mon Mar 29 00:37:26 2010 +0400
s4 upgradeprovision: add information about upgrade in oEMInformation to keep a better trace of different updates
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 8d3ff2d41e9ffeb41d55613f645a72fbdda77861
Author: Matthieu Patou <mat at matws.net>
Date: Sun Mar 28 22:48:55 2010 +0400
s4: allow upgrade provision to fix acl and missing dir on GPO dirs
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit ec48d3693de25d7210c926f27ac859cbf97ef428
Author: Matthieu Patou <mat at matws.net>
Date: Tue Feb 23 19:11:58 2010 +0300
provision: make gpo related function more reusable for upgradeprovision
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 66375cfba24fcf92122e83afeecaa14b9b2e3d2e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 28 22:42:31 2010 +0200
provision: Remove unnecessary whitespace.
commit f4e314457f5ec7857d59a52cb2318bea8e6f579e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 28 22:42:11 2010 +0200
selftest: Update locations in README.
commit 45f389b2538f4e1e45fad72142e11f0427a1eaf2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 28 21:56:09 2010 +0200
selftest: Remove unused BuildFarm output file (now using subunit)
commit 235cd3e5c462fd559f9ac58f6336e6a9de4b1000
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 28 21:45:42 2010 +0200
selftest: Remove html subunit formatter; it's too simple and really belongs in subunit or testrepository upstream.
commit b607f9968818811759ee744afeebab4880d2c5de
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 28 21:42:34 2010 +0200
Remove extension from format-subunit.
commit 9ecc30837bc75ef1c85191f494d65c7ce9b1ba23
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 14 19:45:26 2010 +0100
s3: Slightly simplify unmap_unix_group
commit c377a913739fd8fe40926fcf662a52cafabd4ce7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 16:22:26 2010 +0200
Attempt to fix the build on AIX, that system seems to have a #define for s_type
commit cae4105c9232c4d11a13fe21c139b99e803a0282
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:32:47 2010 +0200
s3: Remove unused bitmap_[allocate|free]
commit 59d09cbed8e6fde867b88dce4408b64132e4ca6d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:26:53 2010 +0200
s3: Use bitmap_talloc in vfs_full_audit.c
This also simplifies the calling convention for init_bitmap() slightly
commit d3c6f4ae17d1311f90d549bd8d7e22e802e0be1a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:19:17 2010 +0200
s3: Use bitmap_talloc for smb1 server tcons
commit c67e498ae863bb5f25dcb36162c473ede46400be
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:16:55 2010 +0200
s3: Use bitmap_talloc in init_dptrs
commit 30c708b902b6945e2cbcb7e1de40d475ce00eaad
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:14:48 2010 +0200
s3: Use bitmap_talloc in files.c
commit 0205633ed94a19d8723c3f2f252daf1b96729375
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:13:48 2010 +0200
s3: Use bitmap_talloc in loadparm
commit 48f90be7b9560258054486dce6514476b669ebfb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:05:55 2010 +0200
s3: A NULL context might be perfectly valid for bitmap_talloc
commit 2356c22825de020ebf4ae8cb664fea96dc981749
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:03:57 2010 +0200
s3: Fix a memleak in bitmap_talloc
commit 8a43679cea769b3f568def53006690ef23c083c6
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:03:31 2010 +0200
s3: Use TALLOC_ZERO_ARRAY in bitmap_talloc
commit ed5a65d7a0f6a3e9697184b4e32081a77b65f78b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:02:47 2010 +0200
s3: Fix the memory hierarchy in bitmap_talloc
commit d77a1fb272d06e9fa4f4b1cbe9b151625334ca9f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 13:16:58 2010 +0200
s3: Slightly simplify logic in conv_str_size
commit ea0f9378a02ed3b64ab3b4f71862bfcb449d2b42
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 13:16:18 2010 +0200
s3: Fix indentation in conv_str_size
commit e541013e20572c96f7fe12814742b6f9eb3084db
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 13:13:03 2010 +0200
s3: Fix some nonempty blank lines
commit 4d8a974ddc1333a1e3c6ddf4a0e215a5e41e1074
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 26 13:18:52 2010 +0100
s3: Use tdb_transaction_start_nonblock in gencache_stabilize
This avoids the thundering herd problem when 5000 smbds exit simultaneously
because the network went down.
commit d5fd1f207757b4f15d15b8744db0c9380fe63cab
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 26 13:15:53 2010 +0100
Revert "s3: Optimize gencache for smbd exit"
This reverts commit 5ca63676dc59e83ffd9560fdcfa26063f267f283.
That does not fully fix the problem, adding a tdb_transaction_start_nonblock to fix it.
commit 3caaca90219c1fd8f7f9d668d3a537f6368b9417
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:21:49 2010 +0200
s3: Fix typos in a debug message in vfs_init_custom
commit 09a676a4712b86ad0406487f38a8a1a4e6a9e115
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 12:44:20 2010 +1100
s4-selftest: use CONFIG_H environment variable to find config.h
commit 1f0467562b50e29eabae070c3d0088d4fc62d3a0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 19:13:28 2010 +1100
s4:heimdal Use correct variable to advance past -- options in kpasswd
This bug was introduced when kpasswd was migrated to a local getarg()
call, in Heimdal commit 7dd146072cd9b56d660a01f4aa20f8d81be356e8
Andrew Bartlett
commit f47454a04d7656e93de7286e1105119fe80cb366
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 19:12:33 2010 +1100
s4:heimdal_build Remove forced HAVE_STRERROR_R
This just causes warnings, now upstream has a more complete fix.
commit 64b8b0cdafc18dcf65dcc4210be50e6139f553d7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 12:24:00 2010 +1100
s4:heimal Update generated files (cp from Heimdal)
commit df7fbf28ee3e4d75a6bf824bb2a5681dc65d38b1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 12:23:21 2010 +1100
s4:testprogs Update test to match current Heimdal
commit 533024be44861c8d2c8ba3232738c7d2dbbe2e4f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 11:55:22 2010 +1100
s4:heimdal: import lorikeet-heimdal-201003262338 (commit f4e0dc17709829235f057e0e100d34802d3929ff)
commit 679854384252e698b8f8c09d31eb15ed043c919b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 11:48:05 2010 +1100
s4:testprogs Fix kinit test for updated Heimdal
commit 564d5cd2c48b9d9debccf03433cfee282040e2da
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jan 12 13:24:33 2010 +1100
s4:heimdal New files and supporting logic for heimdal update
commit 89eaef025376339ef25d07cdc4748920fceaa968
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jan 12 18:16:45 2010 +1100
s4:heimdal: import lorikeet-heimdal-201001120029 (commit a5e675fed7c5db8a7370b77ed0bfa724196aa84d)
commit fac8ca52ade6e490eea3cf3d0fc98287da321c13
Author: Jeremy Allison <jra at samba.org>
Date: Fri Mar 26 17:09:58 2010 -0700
Fix bug #7240 - Net usershare is not case sensitive.
Updates usershare files in a backwards compatible way.
I don't intend to back port this fix to 3.5.x as it
depends on a version upgrade in the share_info.tdb share security database.
Jeremy.
commit 203a661e01e1a138871aacb1cc329a3e3e79295a
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 26 22:59:29 2010 +0100
s3-selftest: set "lpq cache time = 0" in server configuration.
This fixes currently broken spoolss tests.
(make test variant).
Guenther
commit d3a22fc62b69ebaea84955b1083d59ca4001d50c
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 26 22:58:42 2010 +0100
s3-selftest: set "lpq cache time = 0" in server configuration.
This fixes currently broken spoolss tests.
Guenther
commit 0909696261f8f0f112615af224156ca525c41bf5
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 26 15:23:34 2010 +0100
s4-smbtorture: more JobInfo testing.
Guenther
commit e968db67395cbfa1e0c46eb7c03b77916579596d
Author: Kai Blin <kai at samba.org>
Date: Thu Mar 25 22:22:56 2010 +0100
s3 ntlm_auth: Don't malloc data that will be talloc_free()d
This fixes bug #7290
Thanks to Mohan <mohann at silver-peak.com> for the bug report.
commit c1f6f61f620e865516d1856c9d937b5326a29046
Author: Simo Sorce <idra at samba.org>
Date: Fri Mar 26 15:21:15 2010 -0400
tdb: update exports and signatures files
commit 261c3b4f1beed820647061bacbee3acccbcbb089
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 26 13:18:33 2010 +0100
tdb: Add a non-blocking version of tdb_transaction_start
commit d570a0af0be442d6d1e253309d9bbae9562669cf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 26 10:08:47 2010 +0100
s4:auth/credentials/credentials.c - initialise more content
Now all data should be initialised
commit 1fc5e7a3d6b1ee88da5479c8614ef18498799ae0
Author: Jeremy Allison <jra at samba.org>
Date: Fri Mar 26 09:32:40 2010 -0700
Revert the part of bug fix #7233 - print fails with jobs >4GB from Win7 clients.
Submitter reports print file corruption after 2GB when SMBwrite etc.
always write at EOF. Still working on the fix.
Jeremy.
commit 4b89195f0c61404a30c8c688df44ce2b3796c370
Author: Karolin Seeger <kseeger at samba.org>
Date: Fri Mar 26 15:14:35 2010 +0100
s3-util_sock: Rise debug level for getpeername failed messages.
Don't show all getpeername failed messages in debug level 0 and 1.
Karolin
Signed-off-by: Volker Lendecke <vl at samba.org>
commit a6f25fc635dce0b67422b271e09467e9ea854489
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Mar 26 11:17:37 2010 +0100
s3-smbd: Don't close stdout if we want to log to stdout.
commit f70e1b4d43995ac4c7ab020613d3f0af24eb03f6
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 26 13:37:42 2010 +0100
s4-smbtorture: fail spoolss test on SetJob failure.
Guenther
commit dcec9322798ffb848ec70bae67220eb0526942ac
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 26 13:36:00 2010 +0100
s3-spoolss: return info for the correct printjob in _spoolss_GetJob().
Guenther
commit 3da91b786ef87bd13ae1210a1bf671e2209d9c1f
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 26 13:17:49 2010 +0100
s3-printing: avoid mixing cups backend code with nt_printing code in cups_pull_comment_location.
Guenther
commit 772839640e11664e1b1304d7f95146613d6ac1ac
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 22:07:50 2010 +1100
s3-event: switch s3 to using tevent_re_initialise()
This correctly initialises the event backend, and checks for errors
(thanks to Metze for suggesting this)
commit 789d67c4992e008fe17b830d3b23e3b95a4e70d9
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 21:13:55 2010 +1100
s4-smbd: use tevent_re_initialise()
This fixes a crash bug on startup
commit 5609c504337b79fd6f521c42b414c650b23d0c9a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 21:13:27 2010 +1100
tevent: added tevent_re_initialise()
This allows us to re-initialise a tevent context without destroying
the pointer. That means that if someone keeps a long term ptr to the
event context across a fork it will still work.
This also brings the memory handling in single and standard process
models much closer together, which means less bugs that we don't find
with make test.
commit 525a4fb2c423dbbeeb1e6da3254f334044b7bd7f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 19:03:22 2010 +1100
util: on FreeBSD true is in /usr/bin. Use execvp to find it
commit fae84f98e37e99e41b23739305e7331b3a34ae48
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 17:36:02 2010 +1100
libutil: moved the networking defines to util_net.h
These were causing thousands of warnings on solaris8
commit c81d2ae3c9a4f9b5d2291563f141bb10d64cd650
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 16:50:24 2010 +1100
libreplace: strerror_r() is needed by heimdal on solaris8
commit af807758e8d98ea53f58b2bae8f00b83074cfdec
Author: Eduardo Lima <eduardoll at gmail.com>
Date: Wed Mar 24 16:21:15 2010 -0300
s4-drs: replmd_delete with the 3 stage deletion recycle bin
commit 63fc3978089df403d7e63462593784ff3d05e6e7
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 16:42:19 2010 +1100
tsocket: not all systems have IPV6_V6ONLY
commit 92332fb2368c641db1552d1f2a2f7b3deaa11519
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 25 18:20:33 2010 -0700
Second part of bug #7288 - SMB job IDs in CUPS job names wrong.
Forgot to delete the overload of the smbjob bool.
Jeremy.
commit c79ca41baf15b4ef7eb287d343b17a53ba41e852
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 25 17:36:47 2010 -0700
Fix bug #7288 - SMB job IDs in CUPS job names wrong.
Based on a patch from Michael Karcher <samba at mkarcher.dialup.fu-berlin.de>.
I think this is the correct fix. It causes cups_job_submit to use
print_parse_jobid(), which I've moved into printing/lpq_parse.c (to allow the
link to work).
It turns out the old print_parse_jobid() was *broken*, in that the pjob
filename was set as an absolute path - not relative to the sharename (due to it
not going through the VFS calls).
This meant that the original code doing a strncmp on the first part of the
filename would always fail - it starts with a "/", not the relative pathname of
PRINT_SPOOL_PREFIX ("smbprn.").
This fix could fix some other mysterious printing bugs - probably the ones
Guenther noticed where job control fails on non-cups backends.
Guenther PLEASE CHECK !
Jeremy.
commit 2e00a8a74b7c5c95b61e6c7f365ed852c7d95289
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 25 17:09:23 2010 -0700
Fix bug 7297 - smbd crashes with CUPS printers and no [printers] share defined.
Ensure we don't dereference an array with an index of -1.
Jeremy.
commit 462322f6e8f868c8cd6a5cc84cd0af247a04ec1d
Author: Holger Hetterich <hhetter at novell.com>
Date: Mon Mar 22 15:05:33 2010 +0100
s3: vfs_smb_traffic_analyzer.c: remove warnings from developer build
This patch should remove all warnings coming up when compiling
traffic analyzer with configure.developer.
Re-activate the smb_traffic_analyzer_rmdir function by adding it's
vfs_fn_pointer to vfs_smb_traffic_analyzer_fns.
Copy the mode_t used in smb_traffic_analyzer_open to the corresponding
data structure.
commit 9fbbaa560ae74f015e404cfa700753c0b5909519
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 20:59:49 2010 +0100
s3:passdb: avoid sid_to_gid() if the sid is "domain users"
If the call fails we would use the "domain users" sid anyway.
metze
commit ef1c3176c80a5d8533d590aacd0b5035ba589b17
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 17:58:19 2010 +0100
s4:libcli/wrepl: correctly remove the tstream_context when the connection is dead
metze
commit c2a6631dc6a6ea61036f978ede083da3a98861c7
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 18:36:12 2010 +0100
s4-smbtorture: fix include of proto header in main RAP test.
Guenther
commit 36f4541d92b7ae588743ce206514d27419d478df
Author: Torsten Kurbad <samba-technical at tk-webart.de>
Date: Thu Mar 25 17:58:27 2010 +0100
s3: Fix a missing </listitem> in vfs_crossrename.8.xml
commit 6392eaf6a33085d91f7be5bfd3cd93b7dc490e6c
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 16:45:02 2010 +0100
s3: Add a comment to notify_internal_parent_init, this is pretty confusing
commit 0deaff0c11dfec123acf361c599a6b79c2e3bccb
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 16:44:41 2010 +0100
s3: Add a comment to serverid_parent_init, this is pretty confusing
commit bb1165584f339c8a54710e71764a251323245d8f
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 16:44:02 2010 +0100
s3: Add a comment to messaging_tdb_parent_init, this is pretty confusing
commit 5a88e43c693f9e0c5dd93e4fd238364262643b5a
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 16:02:54 2010 +0100
s3: Make sure our CLEAR_IF_FIRST optimization works for serverid.tdb
In the child, we fully re-open serverid.tdb, which leads to one fcntl lock for
CLEAR_IF_FIRST detection per smbd. This opens the tdb in the parent and holds
it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit.
commit ed189459b9d7776700ffd353f81b283232940199
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 16:01:54 2010 +0100
s3: Make sure our CLEAR_IF_FIRST optimization works for the notify tdbs
The notify tdb files are opened at tconX time, which leads to one fcntl lock
for CLEAR_IF_FIRST detection per smbd. This opens the tdbs in the parent and
holds it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit.
commit 4cdbe07b2563b56c2d8b9a5733eedf25245ba86b
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 15:59:41 2010 +0100
s3: Make sure our CLEAR_IF_FIRST optimization works for messaging.tdb
In the child, we fully re-open messaging.tdb, which leads to one fcntl lock for
CLEAR_IF_FIRST detection per smbd. This opens the tdb in the parent and holds
it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit.
commit f20bdd32ddabf79800c876fa94b65b928bea3c30
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 15:43:47 2010 +0100
s3: Fix some nonempty blank lines
commit 9a5d50b7246b4c2aed75dc9113b35b17f9612be9
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 14:40:40 2010 +0100
s3-selftest: enable RAP-RPC test against s3.
Guenther
commit a2e65a2addb38ebf57c04b83ae9a2312233d78b7
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 13:17:05 2010 +0100
s3-selftest: add RAP-RPC testsuite for crosschecking RAP and DCERPC calls.
Guenther
commit 45f6eae4c43f47b4ac766183aafe9a7139c257a0
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 11:02:33 2010 +0100
s4-smbtorture: fix drsblobs ndr torture test.
Guenther
commit fa1245f01c73055160173c6a62e29b3368f38db1
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 11:02:10 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit 1ff55500ded3a20ff5ed3fcc7249bfb593ffd2f3
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 10:56:15 2010 +0100
drsblobs: remove utf8string2 from ForestTrustData.
Simo, it's not really worth to add a new idl type just for being able to omit
the size field. The size field is part of the spec in MS-ADTS 7.1.6.9.3.1 so we
should have it as well.
Guenther
commit 2e20cdaeeb28bdaddcfd0fb1807e8f3eb8c8e525
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 10:20:14 2010 +0100
s4-smbtorture: activate job control tests against s3 in spoolss tests.
Spoolss job control commands work for cups in s3 now but not for other
backends. We need to investigate why.
Guenther
commit 59315887a07033316edf91c0c57563eee5ea992d
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 10:29:41 2010 +0100
tdb: Fix indentation in tdb_new_database()
commit ea8e0d5d54b020c530e392c4edaeed43e20af303
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 10:19:48 2010 +0100
Fix some nonempty blank lines
commit 0a65bb57a18176a4aaa6972c025062577b124ee7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 25 16:30:54 2010 +1100
s4:selftest Add testing of kpasswd password set on servicePrincipalName
commit 5f6f7a2e518b53783df60e497e1b12fdaee307a7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 25 16:27:40 2010 +1100
s4:kdc Add support for changing password of a servicePrincipalName
Apparently AD supports setting a password on a servicePrincipalName,
not just a user principal name. This should fix (part of) the join of
OpenSolaris's internal CIFS server to Samba4 as reported by Bug #7273
Andrew Bartlett
commit 6199ae474589f24180002a22f9c197ab973447b7
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 15:45:08 2010 +1100
s4-ldb: fixed command line parsing in oLschema2ldif
It really doesn't make sense to use the ldb command line code
commit 3b29f9c66e68abff8c49390d97b71b4762d28417
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 15:06:40 2010 +1100
s4-ldb: removed unused command line options -I and -O
These are not used anywehere, so they just confuse people
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 8e1d94778702ac2ab18983abac630957d8782cf6
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Wed Mar 24 13:02:36 2010 -0300
s4-drs: If we are a RODC then do not send DSReplicaSync messages
commit 088096d1bad51428a2e2d487214995d4fdfc7ccc
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:50:50 2010 +1100
python: use '#!/usr/bin/env python' to cope with varying install locations
this should be much more portable
commit 845c2281c7513bd3139a8f50b593658b32dbdb31
Author: Michael Karcher <samba at mkarcher.dialup.fu-berlin.de>
Date: Wed Mar 24 17:33:21 2010 -0700
Fix bug #7269 - Job management commands don't work for CUPS queues.
Samba needs to retrieve pjob->sysjob from the CUPS response (as
is done in the iprint backend).
commit 34674e0a61fe5b2983176e8c33aa48d43fd840ce
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 00:55:32 2010 +0100
s3-selftest: move printing config to global section.
"make test" variant.
Guenther
commit f84f65306613d2794b14b3eaeba59fe3ca5751cb
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 00:55:13 2010 +0100
s3-selftest: move printing config to global section.
Guenther
commit 426cb9be1c882fea5a22475107aad05e8d0e124e
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 00:49:38 2010 +0100
s4-smbtorture: add print test to RPC-SPOOLSS-PRINTER as well.
Guenther
commit 6913c57b2f22550102e7fcea75d12c99db1776f7
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 00:37:45 2010 +0100
s4-smbtorture: create several printjobs during print test in RPC-SPOOLSS.
Guenther
commit 27c50255f6b05ff68301a3a32c1ede58626cac2c
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 00:48:55 2010 +0100
s4-smbtorture: mention job id in GetJob test output in RPC-SPOOLSS.
Guenther
commit 1bb8341871a6d91ec6b2e826c2cbcb395cba13ee
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 00:33:35 2010 +0100
s4-smbtorture: mention job id in SetJob test output in RPC-SPOOLSS.
Guenther
commit 66b7fcc8ef6b43c219dcae43a68d861cf71b80fa
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 24 12:47:01 2010 -0700
Fix bug #7233 - print fails with jobs >4GB from Win7 clients.
Ensure we always write at end-of-file for older write calls.
Jeremy.
commit c2d1b01103d63f52c773c83eec52633b7f2032cc
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 24 12:20:03 2010 -0700
Missing include guard in source4/libcli/security/security.h
Jeremy.
commit eb8e18476c198705a19d375e2f949c6c6df73612
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 24 10:31:43 2010 -0700
Fix bug #7283 - vfs_acl_tdb does not work as expected.
both vfs_acl_common.c and vfs_acl_tdb.c were using the connection
handle, thus conflicted. Fix this.
Jeremy.
commit c5f67891528698e3848c7fc464bf1755c56b4477
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 24 10:31:14 2010 -0700
Fix valgrind warning when source and dest stat are identical.
Jeremy.
commit bb47e5b6172ae28f996b132e8b612c752c873adb
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 24 18:08:21 2010 +0100
s4-smbtorture: add drsblobs ndr torture test.
Guenther
commit fb70368a975e6c78c6ce557fc6011569dbdc6d75
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 24 18:29:52 2010 +0100
s4-smbtorture: move up torture_assert_sid_equal at least to the torture/ndr level.
Guenther
commit 254d85d537a57ae3a7f7154987da4049846a85db
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 24 17:37:07 2010 +0100
s4-selftest: use correct test names.
Guenther
commit 3b33fa72d6b57d1da807250ed6d5c136990ed415
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 16 09:32:35 2010 +0100
s3:ntlmssp: use c99 types
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit dee63fe4ca5d8dad820ff8b5f15edba41e6be65f
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 16:53:08 2009 +0100
s3:ntlmssp: use client.netbios_name instead of workstation
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 2dfc78a41a34e181ba9dcacf58010ddb0883a619
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 14:20:31 2009 +0100
s3:ntlmssp: remove unused ntlmssp_set_workstation()
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 9f895ea236fb2e6a5ed93656f75ea853f20fd102
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 9 14:38:35 2010 +0100
s3:ntlmssp: move sign/seal states to a private ntlmssp_crypt_state union
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8804dc13281acf7839762c9cfb5fb9cafd0ba6a0
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 9 11:30:39 2010 +0100
s3:ntlmssp: add const for *sig in ntlmssp_unseal_packet()
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 9172b4a0b1082f80ce8a1b551d67337005365b43
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 6 17:14:25 2010 +0100
s3:ntlmssp: make whole_pdu const for ntlmssp_[un]seal_packet()
Only data needs to be non-const.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit d0ef97f74b61f0441b078845d0637f5dad3e2e16
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jan 7 10:43:23 2010 +0100
s3:ntlmssp: use a 'bool ok' variable to make the code more readable
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 0de3698be23d23b79ef52a4a2c51b1ac56f36445
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 9 14:06:27 2010 +0100
s3:ntlmssp: fix some formating
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit b65e6f0c0da1ecb8d1b05a4190c1dc77ed9b465e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 6 15:45:38 2010 +0100
s3:ntlmssp: inline ntlmssp_weaken_keys()
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit f0e7e94ee1bf6a11091a1fc15780e27a57c2ea93
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 6 15:22:24 2010 +0100
s3:ntlmssp: make send_seal_key and recv_seal_key local variables
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit ca2a5693bf85ccfe5abe540e3a725945b52e8039
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 14:53:08 2009 +0100
s3:ntlmssp: rename void *auth_context; into void *callback_private;
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 7c42c5d8ffe87885f3ba96f1e0ba6ba69f1bab46
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 15:23:16 2009 +0100
s3:ntlmssp: add some consts
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 7c0ea293f93eb19de56ae3c642fa3e78a2b50096
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 14:17:51 2009 +0100
s3:ntlmssp: remove unused get_global_myname() and get_domain() from ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 7d977da92554c34539a475feb7dcb0a6dc0ad654
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 14:13:45 2009 +0100
s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store them
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 55279dfbe3770563016723c3ba7d1dbbec3d4437
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 13:29:54 2009 +0100
s3:ntlmssp: remove server_name from ntlmssp_state and fill the server.* fields also for the client
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit eb1780981252f05c792a1e40b7d0471f5b670ef5
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 11:55:23 2009 +0100
s3:ntlmssp: pass names to ntlmssp_server_start() and store them in ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit eca118614c1431855c88b9f43457c0d2d6502ebe
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 10:07:32 2009 +0100
s3:ntlmssp: replace server_role by a server.is_standalone in ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 533830543f4282dfb13173dcf8ccf5e65f9d1ed4
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 17:25:47 2009 +0100
s3:ntlmssp: make use of C99 types in ntlmssp_sign.c
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit c2cc18455b46f2015b916daacaca1fb0ba88ce87
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 17:25:20 2009 +0100
s3:ntlmssp: use uint8_t in calc_ntlmv2_key()
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 25a89b701596aea4e62ffdf11777022687ea5f44
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jan 7 10:10:13 2010 +0100
s4:ntlmssp: move sign/seal states to a private ntlmssp_crypt_state union
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 598bfdcfd8b7a21815db214b1f7be62cbf7fe720
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 8 14:11:10 2010 -0700
s4:ntlmssp: make use of dump_arc4_state()
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 48d815787924ec8ef4c421c91149a170d474533a
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 6 16:59:35 2010 +0100
s4:ntlmssp: copy dump_arc4_state() from source3
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit a69260642e9a08a1f3eceed2f77d5c246b171765
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 8 13:58:42 2010 -0700
s4:ntlmssp: avoid usage of calc_ntlmv2_key_talloc()
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 00f99a3df580598442250d38199a457aa8c1b2e7
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 8 13:49:54 2010 -0700
s4:ntlmssp: make use of calc_ntlmv2_key() for seal keys
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit fc120dd758277d22c00c3a8b9a1d0e1357fd95bf
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 8 13:37:43 2010 -0700
s4:ntlmssp: add calc_ntlmv2_key() from source3
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit e0c7d9c8aa10ee0eb927d248b3d46fb0f0a52524
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 8 13:36:37 2010 -0700
s4:ntlmssp: rename calc_ntlmv2_key => calc_ntlmv2_key_talloc
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit c64e6e0a0fd29fb462af90a2a0195280ef5e0696
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 8 13:07:33 2010 -0700
s4:ntlmssp: inline ntlmssp_weakend_keys()
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 3220c84b72212cb7619ecda60dd8a7c756742e3b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 6 16:58:52 2010 +0100
s4:ntlmssp: use a 'bool ok' helper variable to make the code more readable
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit e669ee4c9d2b068073187326eb61d1ac751a03af
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jan 7 10:24:12 2010 +0100
s4:ntlmssp: fix some formating
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 44ce126b84d88eb8b3e84996f0292ae768f88b4f
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 6 14:53:30 2010 +0100
s4:ntlmssp: move doing_ntlm2 to ntlmssp_server_auth_state
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 40395eee5b8a58e980b46a797042fb86ed4b63d8
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 18:24:02 2010 +0100
s4:ntlmssp: move NTLM2 session_nonce to ntlmssp_server_auth_state
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 1b20f7192a56933a094733bea042e753c7b27c48
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 18:21:10 2010 +0100
s4:ntlmssp: move encrypted_session_key to ntlmssp_server_auth_state
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit a56ae60851da0767d8cb2b56d2f8cf0273821189
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 18:18:29 2010 +0100
s4:ntlmssp: keep a ntlmssp_server_auth_state to transport variables from preauth to postauth hooks
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit a42cad635f781d76637c04c170f0ad59d8d10269
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 17:51:53 2010 +0100
s4:ntlmssp: remove unused server_multiple_authentications feature.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit d3e7266676f3516c4d5493d11cf75099365b69dc
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 17:57:54 2009 +0100
s4:ntlmssp: rename gensec_ntlmssp_state => ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 706333856b53c7544dcb44a6505ab82bd38d860c
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 16:02:37 2009 +0100
s4:ntlmssp: split gensec_ntlmssp_unseal_packet() and ntlmssp_unseal_packet()
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit d4c2f252dac7b756958c9df3192581cf9ccde529
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 16:02:37 2009 +0100
s4:ntlmssp: split gensec_ntlmssp_seal_packet() and ntlmssp_seal_packet()
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 1564b2a94beba168c20f961d438a78cebe79d72d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 16:01:28 2009 +0100
s4:ntlmssp: split gensec_ntlmssp_check_packet() and ntlmssp_check_packet()
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 23507c022f9d926cc15674ae0158ce55478cf202
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 15:58:05 2009 +0100
s4:ntlmssp: split gensec_ntlmssp_sign_packet() and ntlmssp_sign_packet()
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit b47a849df2be9aa77616b870ffe9877a2ad12ad3
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 15:23:37 2009 +0100
s4:ntlmssp: make user a 'const char *' in (gensec_)ntlmssp_state
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 36669bfcf1d1ea9f0ec63280b85f3cb356dc10c1
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 15:00:02 2009 +0100
s4:ntlmssp: remove server_name from (gensec_)ntlmssp_state and fill the server.* fields also for the client
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 282a2d8591a9132dac1d70113a7e51287d3c1674
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 15:14:38 2009 +0100
s4:ntlmssp: calculate server names at startup and store them in (gensec_)ntlmssp_state->server.*
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 133a3e4ce81ea156461c5e8b922e234dbf1ce688
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 10:14:07 2009 +0100
s4:ntlmssp: replace server_role by a server.is_standalone in (gensec_)ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit c33e72b8c53625247202a2247ec2f4f9bdd24e9e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 17:29:47 2009 +0100
s4:ntlmssp: remove more whitespaces...
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 4ab94f5836a9e0e3002d052eb4076c8d9ad28e2f
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 16:46:05 2009 +0100
s4:ntlmssp: add NTLMSSP_FEATURE_* flags from s3
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit ee240799b6d7918afffdd762ead5221283f5dd5d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 08:23:13 2009 +0100
s4:ntlmssp: keep struct gensec_ntlmssp_context in gensec_security->private_data
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit a0522a5b2633b644fb16d9bdfc6f07e1bed30a15
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 08:06:28 2009 +0100
s4:ntlmssp: remove gensec_security from (gensec_)ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 32d822af813b74c33bc618b4130dc50a3b79c7af
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 17:56:56 2009 +0100
s4:ntlmssp: remove backend specifix stuff from (gensec_)ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 83cc137d5eef9d50af9b458c5c64fa9abc20adde
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 17:01:28 2009 +0100
s4:ntlmssp: create a gensec_ntlmssp_context between gensec_security and ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8df01705bf10c700ea2f76387cf6fedaacb24327
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 16:48:38 2009 +0100
s4:ntlmssp: add definition of gensec_ntlmssp_context
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit bd550df322251f4cf2b3d053563d601e5aca8f00
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 16:47:11 2009 +0100
s4:ntlmssp: add a callback_private pointer to gensec_ntlmssp_state
We'll remove any gensec specific stuff from gensec_ntlmssp_state
and rename it to ntlmssp_state again.
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit a6bfc1a2d0270197ee34405f3ce028a5919f1aaa
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Mar 24 14:55:15 2010 +0100
s3-testparm: Throw warning when 'workgroup' and 'netbios name' are identical.
Address bug #7285 (NetBIOS Namespace Clash Handling).
Karolin
commit ef6976dad3234b57016f8dce3f1b8e93d3ddb521
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 17 03:27:05 2010 +0200
idl: drsuapi.idl - fix few more comments
commit 9ad8f808f719af1b680013cc26c737730cb53adb
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 17 03:09:09 2010 +0200
idl: Regenerate DRSUAPI idl files
commit aa572a43342c4bb16f5769a9272bef2c6193e58f
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 17 03:08:56 2010 +0200
s4/drs: Pretty print for drsuapi_SecBufferType
It is a type and mask combined in one DRS field so
we have to make a custom ndr_print implementation for this type
commit 842d75613bd2efcefa8b01eafae9fa9e43a3aa45
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 17 03:07:01 2010 +0200
s4/idl: DsAddEntry V3 request description
commit db02ca65a01f218cb5ea2282ad00936409f3cc54
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Mar 15 13:57:41 2010 +0200
s4/drs: Implement DsAddEntry V3 error handling
commit 6b3ff0de465605f8fe2409a91c7b7977efb413dc
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 17 01:20:31 2010 +0200
s4/idl: Remove drsuapi_DsAddEntryExtraErrorBuffer - it is not used anymore
commit 3efad5a6d85ed5ee6db93d7a14e4541bf6bcbf16
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Mar 16 21:58:22 2010 +0200
s4/idl: Complete drsuapi_DsAddEntryErrorInfo description
Members for Security, Service, Update and System errors renamed
to be more descriptive.
All those error types share same description.
commit 0663799275a88739d4813422b3f3f8960ef402f9
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Mar 16 01:30:05 2010 +0200
s4/idl: Add DsAddEntry Referral error definition
commit 61e80fe3eb58179f3ef33ac930b231824f3b15e1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Mar 14 16:07:49 2010 +0200
s4/idl: Add DsAddEntry Name resolution error definition
commit 04f4ea6ae22f5821ccc80dab04dc2fa17c946f1f
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 12 17:05:58 2010 +0200
s4/drs: Refactor error handling for DsAddEntry V3 replies
Dumping for specific error classes are to be implemented properly
in the near future.
commit fbaf3b3799f6c177eb7b2210b3417fb13b2b97e1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 12 15:06:19 2010 +0200
s4/drs: pretty print for drsuapi_DsAddEntry_AttrErrListItem_V1
commit 98cbcf809f9a5a5571316a9119c75655924f46f0
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 12 14:55:05 2010 +0200
s4/idl: redefine drsuapi_DsAddEntryErrorInfo1
This actually describes Attribute error during DsAddEntry execution.
Structure is renamed to drsuapi_DsAddEntryErrorInfo_Attr.
And structure to define Attribute error data are all
prefixed with drsuapi_DsAddEntry_AttrErr
commit 00fce797e889eb7b9d8310e18d5264cad5403dd2
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 10 16:37:38 2010 +0200
s4/drs: drsuapi_DsAddEntry_ErrData propagate structure def in source code
commit 7b4341637cdd9e4797303197e8c2e1e405ab20e1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 12 14:30:05 2010 +0200
s4/idl: drsuapi_DsAddEntryError refactored
Structure description and name was changed to be aligned with
WSPP definition.
Ref: [MS-DRSR] 4.1.1.1.23
commit 427a1f3c6269105256f5d0b0cb642465e728314a
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 12 13:42:05 2010 +0200
s4/drs: DsAddEntry - extending error handling for V2 replies
After having more complete definition for DsAddEntryReply V2
structure, we can now handle error state in more robust way,
not just counting on number of objects returned.
commit fbc1528649b378c9fd004d092b89cb7db545fc61
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Mar 9 02:59:34 2010 +0200
s4/idl: DsAddEntry - refactor DsAddEntryCtr2 structure
Reply structure definition was aligned with WSPP documentation
Ref: [MS-DRSR], section 4.1.1.1.7
commit 58ddf31ad1aad26b4a1bff885c9e7a66a51cd3f6
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Mar 8 03:52:14 2010 +0200
s4/drs: drsuapi_DsAddEntryErrorInfoX changes propagated to source code
commit 4cdf4627a12751b821932e298450e80628f16158
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Mar 8 03:51:37 2010 +0200
s4/idl: Update drsuapi_DsAddEntryErrorInfoX definition
drsuapi_DsAddEntryErrorInfoX is an extended error
description used by most of the error infos returned
by DsAddEntry RPC method.
commit 818719f7ba5b386bc0b191227d68c1a7ebc8843c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 12 13:39:52 2010 +0200
s4/idl: DIRERR error codes definition
DIRERR codes specify class of error returned from
DsAddEntry method call.
Ref: [MS-DRSR], section 4.1.1.1.25
commit 05db9365b62289298984e3b30c7a74bfbbf07685
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Mar 7 21:46:39 2010 +0200
s4/drs: DsAddEntry - Propagating unsigned switches to source code
commit a4ed8dc1fd51ff0713679aea7e49e842f26fb0dd
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Mar 7 21:36:22 2010 +0200
s4/idl: DsAddEntry - switch types should be unsigned
commit fcad13500bee1305784df6de0f553372b2948a74
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 24 13:34:01 2010 +0100
s4-smbtorture: add missing checks for WERROR results in RPC-SAMBA3 tests.
Guenther
commit 8cd63a854e465bba030436038e4644f694f2801a
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 24 13:18:33 2010 +0100
s4-smbtorture: fix some invalid parameters in RPC-SAMSYNC test.
Guenther
commit 9fd24eb9c5fdd0e4a801af83cf9ec7f6de6c4504
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 22 15:58:09 2010 +0100
s4-smbtorture: cleanup some of the RPC-SAMBA3 tests.
This avoids printf, uses simplication functions where appropriate, etc.
Guenther
commit 5e87e8576caddfb6e46b6c7d42428b79d2056569
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 22 17:24:38 2010 +0100
s4-smbtorture: add rap_get_servername to RPC-SAMBA3 family of tests.
Guenther
commit 7d89c7c17bcedd33dae7d3200104dc0643a753f6
Author: Simo Sorce <idra at samba.org>
Date: Wed Mar 24 07:45:15 2010 -0400
idl: fix comment and convert whitespaces to tabs
commit 5592a9ba5adb6e23a0fc580725184f39efce0486
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 24 19:27:18 2010 +1100
s4:selftest Test --sign and --encrypt options to ldbsearch
commit bb7854afea47699be32f5331fe5f8f05e469cb96
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 24 19:26:02 2010 +1100
s4:cmdline Add --sign and --encrypt options to our common command line
This allows ldbsearch to accept --sign and --encrypt. I'll soon work
to integrate with the --signing= option in smbclient.
Andrew Bartlett
commit a2286bad67a772d290fead9832b7ca52877c40b2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 24 16:09:02 2010 +1100
s4:ntlmssp Ensure that we always negotiate signing if we negotiate sealing.
Without this, a sealed LDAP connection to windows does not work.
Andrew Bartlett
commit fbdcaa929c7270469cf6c31fd6fcf94ce4e7306e
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 23 18:36:55 2010 +0100
s3: Optimize gencache for smbd exit
If thousands of smbds try to gencache_stabilize at the same time because the
network died, all of them might be sitting in transaction_start. Don't do the
stabilize transaction if nothing has changed in gencache_notrans.tdb.
Volker
commit a599319d0a389ff0c31dae8068cd7a78352aa9e7
Author: Andrew Tridgell <tridge at freebsd.home.tridgell.net>
Date: Wed Mar 24 05:06:25 2010 +1100
libreplace: fixed declaration of dprintf() on FreeBSD
commit 83aaf4829e2b9bece5c1b4181553d3025d6d2cb3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:52:37 2010 +1100
s4-provision: FreeBSD uses 'staff' for users
commit de2b8419358d3588f6d33a22686260de8efda1d2
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 11:02:32 2010 -0400
s4-provision: solaris uses the group "other"
commit 4c4d0a029dd4fd2b509f724b5166b3ff99222d2b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 18:40:44 2010 +1100
build: fixed nss_wrapper on solaris
solaris has different getpwnam_r syntax
commit fd2bc081381eb24bdbb82d0b1b0fbf0ae12f250a
Author: Simo Sorce <idra at samba.org>
Date: Tue Mar 23 18:45:20 2010 -0400
idl: fix forest trust information idl
--validate now passes
commit 247c6f53f9e2bc5dd1039e49cc92062b240ae818
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 18:32:06 2010 +0100
s4-smbtorture: remove tailing whitespace in samba3rpc testsuite.
Guenther
commit ec30022233dd41db7bd13de73fbd7e7602c42e18
Author: Stefan Metzmacher <metze at sernet.private>
Date: Thu Mar 18 18:55:49 2010 +0100
s4:librpc/rpc/pyrpc.h: librpc/rpc/dcerpc.h isn't needed anymore
metze
commit f57b1da428a2922e872657e43c6fa2e3774b22c4
Author: Stefan Metzmacher <metze at sernet.private>
Date: Thu Mar 18 19:36:50 2010 +0100
s4:lib/messaging: pymessaging needs libndr.h
metze
commit 4985720e81b46e1663b5d5c8caba122b5bea2fc5
Author: Stefan Metzmacher <metze at sernet.private>
Date: Thu Mar 18 18:55:00 2010 +0100
pidl:Samba4/Python: librpc/rpc/dcerpc.h isn't needed anymore
metze
commit 48cd096126578c6a09aeba8d4cc68840c50d8d8c
Author: Stefan Metzmacher <metze at sernet.private>
Date: Fri Mar 19 13:02:26 2010 +0100
s4:libnet: don't include librpc/rpc/dcerpc.h directly
metze
commit 845f9c01ed279495919e2781db2e8927ebd3e968
Author: Stefan Metzmacher <metze at sernet.private>
Date: Fri Mar 19 19:16:35 2010 +0100
s3:librpc/rpc: move prototypes to dcerpc.h
metze
commit bf9f24f571e87f5c6ae39cf68c5af3c99664a102
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 17:28:55 2010 +0100
s4-smbtorture: use torture_context in samsync test.
Guenther
commit 9c586e6b1bffac76b40a85d544904b9f8d56451e
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 17:16:23 2010 +0100
s4-smbtorture: remove trailing whitespace from samsync torture test.
Guenther
commit 3e04bf4fbce09ff2538e1c83f904a0b3fe9a755c
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 16:30:05 2010 +0100
s4-smbtorture: use torture_context in libnet domain tests as well.
Guenther
commit bebb17ad0e8a9508bf6b083c4f709001fc6998c5
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 23 16:43:41 2010 +0100
s4:WINREG torture - fix an error (missing "break" in a "switch")
Sorry my fault - I didn't discover that earlier since we had binary data types
support activated in s4.
commit 3a2488870f8f52e14948b50ec9b91de1c9a990b9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 23 16:19:26 2010 +0100
s4:registry - "reg_ldb_pack_value" - provide workarounds when the server receives non-standard data.
For now we reset/delete the "data" attribute. Anyway there is the need to find
a better solution (we probably want to change the format and save all data as
we got it like Windows itself does).
These workarounds are needed since for example the Windows 2000 Registry Editor
initialises empty REG_SZ strings with content '\0' and length 1 (not a valid
UTF16 sequence - "convert_string_talloc" breaks). So we simply reset/delete the
"data" attribute which works (no content).
commit 0426b5b78678f4ffe564aa58a00a8f01790e7b1f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 23 16:17:25 2010 +0100
s4:registry - "LDB backend" - fix indentation
commit 97a974e5b7b4645544b10ff48459125c5580580d
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 15:31:27 2010 +0100
s4-smbtorture: use torture_context for debugging output everywhere in libnet torture tests.
Mimir, please check.
Guenther
commit f5eb8eb97fb494501359e0c5ee368f2bb64ad717
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 16:04:30 2010 +0100
s4-smbtorture: remove trailing whitespace in libnet torture tests.
Guenther
commit fad0629e78c8672ea9b4eeb709b1d21c43abac06
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Mar 23 14:53:49 2010 +0100
s3-builtin: Add missing builtin groups.
Karolin
commit d05a1bd01359d73f2d6a6448a0272acef929ada0
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Mar 23 15:24:25 2010 +0100
s3: Re-run make samba3-idl.
Karolin
commit 18d1821490a9793dc7df123c5d3f212857239b29
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Mar 23 14:26:51 2010 +0100
security.idl: Add missing builtin groups.
Karolin
commit 77de23384d65261e5254b42760d48588fb32ef0c
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Mar 20 11:29:46 2010 +0100
librpc/rpc: fix dcerpc_errstr() to handle all nca_s_* status codes and fallback to WERROR codes
metze
commit 56180e3d2bd900a9790751b9647e755761e560c5
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 14:37:40 2010 +0100
s3:re-run make samba3-idl.
Guenther
commit 0fa67c8d8f03d1671382adc2e16340a1df11a2de
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Mar 20 10:57:26 2010 +0100
dcerpc.idl: add nca_s_* status codes from the DCE 1.1 specification
metze
commit ef83c970ca66bf02d684c6fb913a6caa2b25e39c
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Mar 23 11:39:05 2010 +0100
s3-builtin: Add some builtin groups.
Karolin
commit 9f84d72ef16d3be926f6caffe3c86b4a61b9fc11
Author: Simo Sorce <idra at samba.org>
Date: Tue Mar 23 01:06:24 2010 -0400
idl:drsblobs add code to interpret msDS-TrustForestTrustInfo
commit d9e311ddce50a6decc55ea442f562d11f06e2f78
Author: Simo Sorce <idra at samba.org>
Date: Tue Mar 16 16:15:39 2010 -0400
s4:lsa Functions to set Domain Trust Information
commit 668e7db9d69c8ad62fe817fd057542149937a55f
Author: Simo Sorce <idra at samba.org>
Date: Mon Mar 22 16:37:24 2010 -0400
s4:lsa move code to add trusted domain user into its own function
commit 650a62d1cb72428c190dbc55e9e279746c796c78
Author: Simo Sorce <idra at samba.org>
Date: Mon Mar 22 10:48:31 2010 -0400
s4:lsa Abstract crypto (un)wrapping in separate functions
commit a6f5e495b1aa87982ee69c17b098e27010bed756
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 23 00:24:32 2010 +0100
s4:registry - "LDB backend" - revert the length check for UTF16 strings
Let this do the "convert_string_talloc" function as it was before.
commit f39ef9866870d320ae0106dfd09a41c0451e9238
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 23 00:13:26 2010 +0100
Revert "s4:torture - WINREG RPC - reactivate test "SetValueExtended" for s4"
This reverts commit 0f2cf82e5e52da6fc71742df7b13c9f372bcf113.
Naturally we have to revert this for s4 until a new storage mechanism for binary
REG_SZ and REG_*WORD values has been found.
commit bca353561ebc67a4e78fdd84f4316259be29820f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 23 00:09:22 2010 +0100
s4:registry - "LDB backend" - revert the binary storage of "REG_SZ", "REG_DWORD" and "REG_QWORD"
We agreed that this hack isn't the best of the possible solutions.
commit 6a63c38c1258e5a666f11b5b795828ea7bedbf14
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 23:53:17 2010 +0100
s4:ldb_modules/util.c - fix two counter variables to be "unsigned"
commit 7509b56b5f59a7aeeb2ad1538ef71cbb8b459948
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 22 15:57:31 2010 -0700
share_info.tdb could use non-canonicalized sharenames.
Fix this by moving canonicalization into lib/sharesec.c. Update the
db version to 3. Ensures we always find share names with security
descriptors attached.
Jeremy.
commit 31b45854891f194c46629185b4bb494691f06441
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 23:16:26 2010 +0100
convert_string_talloc_convenience - print out the input buffer in a better way (using dump_data since it isn't always directly readable)
commit c69afbbfd080c6a0f0d6b6db8745171b3cbc7830
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 22:38:45 2010 +0100
s4:registry - "reg_key_del/add_abs": call "talloc_free" only on valid objects
commit 12f42e35bcbb819cb742c28538b7cc67ac9d93cf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 22:23:08 2010 +0100
s4:registry - "reg_import_hive_key" - change a "talloc_steal" into a "talloc_reference"
Use a "talloc_reference" since the "hive" variable can continue to exist also
after the destructed "struct local_key" object. It is also referenced by the
"mountpoints" structure under the "ctx" object.
commit e2466334a07062ca9c7160c8487386e1743d982a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 22:01:31 2010 +0100
s4:registry - "patchfile" - add another "W_ERROR_HAVE_NO_MEMORY" macro call
commit 8046cbe3c1b2a61081ef091398ec0ff2183e7a0d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 21:46:39 2010 +0100
s4:registry - "local" - add also here more "W_ERROR_HAVE_NO_MEMORY" macro tests
commit e690c0776fa4d3a475e9291c243be6141d54b4d4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 21:34:54 2010 +0100
s4:registry - "util.c" - initialise "result" in "reg_key_add_abs"
commit 0c10703c756117ad1a8c9e911157cd9ca81f0f70
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 20:14:51 2010 +0100
s4:WINREG RPC - add also here a "W_ERROR_HAVE_NO_MEMORY"
commit e78289f167363f3617f7417f7e25de369ea22d7f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 20:12:13 2010 +0100
s4:registry - "samba.c" - add a "talloc_free"
commit dc17292f1a097d3abd8c391315b661034ab1914e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 20:10:26 2010 +0100
s4:registry - add more "W_ERROR_HAVE_NO_MEMORY" invocations (on talloc'ed stuff)
commit 9c3e6249fd984b823a77cab0514601d2a487920a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 19:53:23 2010 +0100
s4:registry - "util" - remove "const" from "reg_abs_path"
Here it's not really needed
commit 5f850af84aec378780b5caeff9e795297654abcc
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 19:56:52 2010 +0100
s4:registry - adaptions for "add also a memory context argument for "reg_key_del_abs"
commit 5b6ad54f43741c0c25b35e44cafe5fed352ff133
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 19:47:49 2010 +0100
s4:registry - "util" - add also a memory context argument for "reg_key_del_abs"
commit 9d8592978e28c492d971a3b5a4c0133febc149ea
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 19:45:21 2010 +0100
s4:registry - "util" - make "reg_key_add_abs" consistent with "reg_key_del_abs"
commit 05d8882a966708f994688fce3b978abb1432bc40
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 19:44:19 2010 +0100
s4:registry - "util" - fix up memory allocated data
commit 96bb09bcf6ed221b1ce11dd4ec91b64d53ff6626
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 19:26:59 2010 +0100
s4:registry - "dir.c" - fix up dynamic memory allocation operations
- Added free operations where needed
- Use always the "mem_ctx" for temporary data
- Proof with W_ERROR_HAVE_NO_MEMORY if stuff was allocated
commit 43170dafbcbe7464bce9b4c6d76532d7d0bf5b9a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 19:18:56 2010 +0100
s4:registry - adaptions for "add memory contexts for delete value/key functions"
commit 64f51380aad484d020093c926512ec79a35bcb93
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 18:51:20 2010 +0100
s4:registry - registry.h - add memory contexts for delete value/key functions
commit e2c7e5c4f72565fe49265d5b036531926ea1ac92
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 14 20:07:58 2010 +0100
tdb: Fix bug 7248, avoid the nanosleep dependency
commit 12f97c0576c8ec6628971aa7f86d7cbc5e304293
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 22 13:05:29 2010 -0700
Fix valgrind error when running under share level security. plaintext_password
is a data blob with a data pointer pointing to an allocation of length zero.
Jeremy.
commit 70f9338bf2e6081916ffe5bb7cddf50b4e958b24
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 5 16:46:36 2010 +0100
s3: Add the "ctdb locktime warn threshold" parameter
This is mainly a debugging aid for post-mortem analysis in case a cluster file
system is slow.
commit cad0c004ad54d80dcb25803f0ebb317344a42792
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 18 12:50:22 2010 +0100
s3: Implement an asynchronous echo responder process
This replies to echo requests when the main smbd is stuck somewhere
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 0c77e3a1bae728de3f48bdce4a82d85007ea9b45
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 22 09:06:07 2010 +0100
s3:smbd: don't allow SMB2 if the async echo handler is active
metze
commit 5a069f7209855e69082a176969533cc0d0ac0f55
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 19 15:47:11 2010 +0100
s3:smbd: disable SMB encryption when the echo handler is active
metze
commit d663b4c6c03450366375eb0951209bc374835935
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 22 09:11:05 2010 +0100
s3:smbd: disallow readbraw and writebraw if the echo handler is active
metze
commit fbf112bd1684acf420b104e0e7d66721af47c676
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 19 12:08:13 2010 +0100
s3:smbd: disable sendfile if the echo handler is active
metze
commit 453e6af5b81c8f206d87ec2e62fd79172f695950
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 20:22:26 2010 +0100
s3:smbd: don't use recvfile if the echo handler is active
metze
commit 79e5e3dda7178c4d3c5952a48474d6dcafba91ec
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 19 14:59:19 2010 +0100
s3:smbd: setup a shared memory area for the signing state
metze
commit 44d655b33fecb7a543ff957940716ba93fec12cd
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 22 08:42:13 2010 +0100
s3:smbd: add echo handler information to struct smbd_server_connection
metze
commit 752240ccdc4dcdce7a2270ee5544e007c44bcf4d
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 22 08:35:33 2010 +0100
s3:param: add "async smb echo handler" option
This will enable an extra forked process that will reply
to SMBecho requests, while the main process is blocked by another
request.
metze
commit b2c107ffbcd067ccc42f81a2d0969f7f88b63ae7
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 15:36:19 2010 +0100
s3:smbd: pass down trusted_channel via receive_smb_talloc()
metze
commit 1e7086e5ce0924687d657de583adb63a9f0c1bfb
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 19 12:04:32 2010 +0100
s3:smbd: let reply_readbraw_error use the locked socket
metze
commit c1653e3b0e536e835faf82a5aadadaec1cd38d1a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 19 12:02:27 2010 +0100
s3:smbd: send keepalive packets under the socket lock
metze
commit 977aa660f452d8ebc8f3a2f4bfbf0dda0bc230a2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 09:23:48 2010 +0100
s3:smbd: smbd_[un]lock_socket() while accessing the socket to the client
metze
commit 8de8554628bd3b16d9e488adfc31c8014c2eb1db
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 09:17:43 2010 +0100
s3:smbd: add smbd_[un]lock_socket() dummies
metze
commit 0b7da43da0bd5c7e0986854cda63103f082a26ee
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 09:14:40 2010 +0100
s3:smbd: add an option to skip signings checks srv_check_sign_mac for trusted channels
metze
commit 048c919dc0b7bc038becad34c2861c43c72c43c9
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 15:07:07 2010 +0100
s3:libsmb: add a smb_signing_init_ex() function
Make it possible to overload memory handling functions.
metze
commit 01f2c023f7d2a4b0e016676638a062a5ba29ec0b
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 22 08:27:58 2010 +0100
lib/util: add allocate_anonymous_shared()
metze
commit 13400a6589a20452097bc338fa742d834bbd6a34
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 22 15:29:19 2010 +0100
s3: Fix a bad memleak in winbind
commit dd111804f6b22e36fe9753c6f805f0f7ae43af15
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 14:00:02 2010 +0100
s4:registry - "RPC backend" - use "talloc_steal" and not "talloc_reference"
No need to create additional references but we need to assign the strings to the
right context.
commit 43bb87f5fa8fb23aee816636cefeb509397e7291
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 13:39:40 2010 +0100
s4:registry - "patchfile" - check if strings could be allocated
commit 686825e0255a106d7bc67fb6059cd3c1ddefe315
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 13:33:04 2010 +0100
s4:registry - "patchfile" - initialise the data blobs
commit c5b9b25c714516555bb6832edb62a72b66268dd8
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 12:42:21 2010 +0100
s4:registry - "patchfile" - add more "talloc_free"s to save memory
commit 885a167929c7f5409a6239705ef6142ecc014ff3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 12:22:13 2010 +0100
s4:registry - "util.c" - "reg_string_to_val" - consider always the return values
In some cases we didn't consider them.
commit 6f7f16dc80000ccea582036dc58ce81ea9f078b0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 12:15:19 2010 +0100
s4:registry - "patchfile_preg.c" - also here don't accumulate the memory usage
Free always the unused stuff.
commit 93472b41dedd8e30be8752c271f2b4bca392176a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 12:00:57 2010 +0100
s4:registry - "patchfile_dotreg.c" - fix a memory leak
Here we allocate memory on the "NULL" context through "reg_val_data_string" on
each call of "set_value". So when we have written out the allocated data on the
specified file descriptor we should immediately free this memory! Otherwise we
may end up with a big memory consumption on big registry databases.
commit 5f24bfb7b9419d4aac220adc038bd3776fc172e6
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 11:45:20 2010 +0100
s4:registry - "patchfile" - add comments
Helps to understand when we need to generate the hive diffs.
commit b2f45f20b0108ba6c834f813386ab3d29a729abd
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 22 11:19:10 2010 +0100
s3: Add "log writeable files on exit" parameter
This boolean option controls whether at exit time the server dumps a list of
files with debug level 0 that were still open for write. This is an
administrative aid to find the files that were potentially corrupt if the
network connection died.
commit 0cf9d62f30218efcfddf2b00e6117fb670f0f911
Author: Günther Deschner <gd at samba.org>
Date: Sun Mar 21 00:05:00 2010 +0100
s4-selftest: fix selftest-vars script.
Tridge, please check.
Guenther
commit f8019ff793a735563ccedf5581c72e015fd62014
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 22 18:44:51 2010 +1100
s4:dsdb Add a shortcut sequence number for schema reloads
This uses the ldb sequence number, in a hope to detect an unchanged
schema quicker.
Andrew Bartlett
commit fe3e1af901c970f738bee92baac5d7d4f5736e17
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 22 16:03:33 2010 +1100
s4:dsdb Rework schema loading and add schema reloading
This commit reworks Samba4's schema loading code to detect when it
needs to reload the schema. This is done by watching the @REPLCHANGED
special DN.
The reload happens by means of a callback, which is only set when the
schema is loaded from the ldb - not when loaded from an LDIF file or
DRS.
We also rework the global schema handling - instead of storing the
pointer to the global schema in each ldb, we store a flag indicating
that the global schema should be returned at run time. This makes it
much easier to switch to a new global schema.
Andrew Bartlett
commit d0b54476fc9f855d1e482597538a7ec60e04f331
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 22 16:00:39 2010 +1100
s4:dsdb Move dsdb_save_partition_usn() to be a module helper function
This function should not traverse the module stack again, but instead
run from this point. Also add a matching
dsdb_module_load_partition_usn() and change repl_meta_data to match.
Andrew Bartlett
commit 639728a29873e4cf59dfa149a231eae353f3753a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 22 15:41:51 2010 +1100
s4:schema Expand the schema structure
We now store the location of the schema in the schema, and provide
hooks for a future schema reloading mechanism.
Andrew Bartlett
commit 775c5ec1c57b4acf61c1c750c4832f64defcb5b6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 22 15:20:47 2010 +1100
s4:dsdb Remove unused 'dsdb_make_schema_global' call from pyglue
commit 7fc94eb9a7034c36943efbe04f4f4cdfb174c50e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 22 15:19:55 2010 +1100
s4:dsdb Add 'const' to some struct dsdb_schema variables
We don't currently require this, but we may move this way in future.
commit fc5a507a86f37aecb6702d8c2c3bdc462e49f9fd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 22 15:17:58 2010 +1100
s4:dsdb Don't load the schema unconditionally
Schema loads now come at a price, so avoid doing them if we don't have
to (such as when doing an @REPLCHANGED or other special DN based
search).
Andrew Bartlett
commit 8195832c6cde7ebb2de5543be76979a111bd5712
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 22 09:16:57 2010 +0100
s3: file_walk_table -> files_forall
This is more in line with the rest of the Samba code, like connections_forall
etc.
commit 678815081da171e10123b1f6768a554adc1bedb4
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 22 09:11:24 2010 +0100
s3: Fix some nonempty blank lines
commit c8a9533902036dc09e900fc2075765833502585b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 00:13:02 2010 +0100
s4:registry - "patchfile.c" - consider also the hives in the generated diffs
Apparently the diffs for the hives weren't generated previously.
commit 056d262bb008fdcd0d46ff54dc93261e812d8e07
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 00:02:06 2010 +0100
s4:registry - "patchfile.c" - fix a typo
commit 872d2330a4d0d2608993fab9e9c0b0c3aa3921f8
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 23:41:50 2010 +0100
s4:regtree - fix counter variables to be "unsigned"
commit 61761cbac8f609c9ee7c6d391739c50bd4844340
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 23:36:09 2010 +0100
s4:registry - "LDB backend" - "reg_ldb_unpack_value"
When the name isn't found it is the default value. Call it "" to be consistent.
commit 7b54964a253b031ba0351fecbfc271a68b76c25b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 22:01:06 2010 +0100
s4:registry - "LDB backend" - "reg_key_get_info"
Consider also the default value (if it exists) as value. That means:
- count it when setting "num_values"
- take also his buffer length as a candidate for the maximum value buffer length
This is what Windows does.
commit 773faa50632b8cee0008fe5d2c277c924b121756
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 22:57:31 2010 +0100
s4:registry - "LDB backend" - "ldb_get_default_value"
There exist also key objects (the hives) which don't contain a "key" entry at
all. This prevented to display their default value (my fault).
commit b7f129f5c4686ac22940a09f306c813ce4212aef
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 22:02:19 2010 +0100
s4:registry - "LDB backend" - make the key argument "const" of ldb_get_default_value
commit ea621efee79721afff8238c94ee8c95045820d0b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 21:51:06 2010 +0100
s4:registry - "LDB backend" - fix indentation
commit 56940a28ff759fb2903891f69dc4bbf5f0789b9f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 21 20:59:13 2010 +0100
Fix an uninitialized variable
commit fc80ff40025a35a61aa1a0c7666f98b4c0b78924
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 21 17:49:06 2010 +0100
s3: Fix bug 7202 for multi-threaded applications
Thanks to Sergey Tereschenko <serg.partizan at gmail.com> for providing good
feedback!
Volker
commit d097d9fb09ff1f4acc4c8407a1a7903b6ef197de
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 21 15:55:04 2010 +0100
Use TALLOC_FREE in talloc_pop()
commit 0f3040a61fc51434e07ed5a87a89eda25e196514
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 21 15:16:27 2010 +0100
Use calloc instead of ZERO_STRUCTP in talloc_stackframe_create()
commit 6695b0e87d135dff759ce202cf61de49e062e946
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 21 15:14:48 2010 +0100
Trim an overlong line
commit 6c39b10f1d3927c4e6dc31523b79b6611f6f8bc6
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 16:02:36 2010 +0100
s4:regshell - here we don't need a newline - "ctime" itself provides one
commit d4425ecea5b4c5bc586ee53a78b386d4a57a2d21
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 15:54:17 2010 +0100
s4:regshell - don't return an error code if we get a security descriptors error
s4 itself doesn't support them so print only the error code out (in s4's case
WERR_NOT_SUPPORTED).
commit ad83995de5df5a738c2fdad48866e226533b9b0a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 15:33:52 2010 +0100
s4:registry - "LDB backend" - reg_key_get_info - adapt max. subkey and value length
Those lengths are measured in UTF8 string lengths and not in UTF16 ones (the
returned strings are generally in this format). Discovered this by checking the
s3 registry code.
Therefore we have to multiply the both numbers by two.
Discovered with the "regedt32" (old NT registry editor).
commit 2bbdb2cd34233b0836f1aa7365e02c85494af4fa
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 15:12:37 2010 +0100
s4:WINREG RPC server - don't check for the "name" size in "EnumValue"
This isn't needed at all since:
1.) a new name object is created and sent back to the client
2.) the "size" seems to be the size of the "name" pointer. On my test with the
"regedt32" program this has always been "4".
commit 0f2cf82e5e52da6fc71742df7b13c9f372bcf113
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 14:30:53 2010 +0100
s4:torture - WINREG RPC - reactivate test "SetValueExtended" for s4
Should be definitely fixed now.
commit 811c601ae081485bff778a99a6b510029da0a88f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 14:20:41 2010 +0100
s4:WINREG RPC - we support only non-volatile keys
commit cc4e5c8beb95e67d91add0334807ada6eea8f9b7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 14:10:17 2010 +0100
s4:registry - "LDB backend" - don't test for "0" as string termination on binary and unknown typed values
commit 1cdeb0c0d280312df3e1c93a30e03cd0a7459fe9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 19 20:23:36 2010 +0100
s4:WINREG RPC - specify the performed create action for "CreateKey"
To make the WINREG RPC testsuite happy.
commit 2f79217964ef2f3b4b5c8bd8780db88081ecbc5d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 19 19:55:32 2010 +0100
s4:registry - handle type "DWORD_BIG_ENDIAN" as type "DWORD"
Further tests show that (at least per default) there aren't any differences
between them.
commit d82b325bc315d4d1dc4e5489e0c5df1764835540
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 19 19:50:17 2010 +0100
s4:torture WINREG - enhance test for "QWORD" type
We need to know how this behaves.
commit 66f94ca3ecea628be73d37ea5a972783949f955b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 19 19:40:07 2010 +0100
s4:torture WINREG - enhance test for "DWORD_BIG_ENDIAN" type
We need to know how this behaves.
commit a55031792dfd56e1d8f235ea6cdd6383507ee5e4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 19 19:14:44 2010 +0100
s4:registry - "LDB backend" - fix up memory allocation for dynamic integers
We don't need to reserve memory for NULL termination when storing data as
integers.
commit 1d49a266abbe6ae0bf50f456399099a31814b9a9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 19 18:23:00 2010 +0100
s4:registry - "LDB backend" - Fix up the storage of binary REG_SZ/REG_EXPAND_SZ values
There seem to exist also UTF16 sequences which have byte sizes of a multiple of
two but are invalid (gd's winreg test shows this).
commit 6e48267c28b05c3837a3e5ffc1f5b58316cc286f
Author: Bo Yang <boyang at samba.org>
Date: Sun Mar 21 16:00:26 2010 +0800
s3: Open winbindd_cache.tdb with read/write access.
Open winbindd_cache.tdb with read/write access when validate the cache,
otherwise, validation fails to get lock in tdb_check. It results in
validation failure even the cache is good.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 09f270e748263f2fb02683a9376ae185a5534178
Author: Volker Lendecke <vl at samba.org>
Date: Sat Mar 20 15:23:17 2010 +0100
s3: Fix bug 7202
Make sure _nss_wins_gethostbyname_r has a talloc stackframe available
Thanks to Sergey Tereschenko <serg.partizan at gmail.com> for reporting the bug!
Volker
commit c04922ec20034beec9e37232ce5fa35596bf7ca0
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 17:24:53 2010 +1100
build: useful shell vars for setting up selftest
commit 429102e6bde396492e53a1984242de46e28dd9d1
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 14:26:18 2010 +1100
subunit: fixed reporting of unexpected failures
commit 77b77e6ba13137522b542d364891aba031a3ede8
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 14:24:31 2010 +1100
subunit: keep total error and failure counts
commit a52b3dfb26f01ca93daa3a69d19c27dd2de922fb
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 20 02:56:20 2010 +0100
s4-selftest: skip RPC-DFS for s4 entirely.
Guenther
commit 3cb56942ed958723bf312040dd9245cd08e9ffcb
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 22:37:53 2010 +0100
s4-smbtorture: rework RPC-DFS test a bit.
Guenther
commit 5d5c6e132098a88f2c3f80c53019d91bdc82c0bb
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 19:59:15 2010 +0100
s3-selftest: use proper names for samba3 dcerpc tests.
Guenther
commit f5ab6fd7886da7c9018bbb31877966605eb393b4
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 19:58:24 2010 +0100
s4-smbtorture: put all RPC-SAMB3-X torture tests into their own torture_suite.
Guenther
commit f4700296b3296c013cdb186a5de02baa77d6bad8
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 19 17:38:32 2010 +0100
s4:librpc/rpc: add NCACN_INTERNAL from s3
metze
commit b82f168c3cbd49fdefa9f469ececcbdbce2730a7
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 14:33:58 2010 +0100
s3:librpc: remove unused stuff
metze
commit 4d6368f5f5b384af7e8d06425357cb1666ac853f
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 09:19:39 2010 +0100
s3-selftest: enable RAP calls testsuite against samba3.
Guenther
commit 3144a988e5e95671fd49bd2326099dff789fec5d
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 10:54:12 2010 +0100
s4-smbtorture: skip RAP netservergetinfo level 1 test against s3.
Guenther
commit 53d35fc9587234c4d72b9622fc5144d50ba47a80
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 10:33:54 2010 +0100
s3-selftest: rearrange uid/gid calculation to achieve correct membership.
(make test variant)
Guenther
commit 20d73f768d002faf62f760f99c608f139b229491
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 10:23:39 2010 +0100
s3-selftest: rearrange uid/gid calculation to achieve correct membership.
Guenther
commit f06779629db8f810f1ff8ad8f16ac2b580052b2c
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 09:50:56 2010 +0100
nss_wrapper.pl: allow to specify gid for new users.
Guenther
commit e7cc45cb140e1df5731619ae09af6c10b8f9fffa
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 09:30:36 2010 +0100
error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.
Metze, please check.
Guenther
commit dd4e2ebda5c3febe89025781921f7f6875b57e07
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 18 23:54:14 2010 +0100
s4-smbtorture: use torture_context in policy function in RPC-LSA-LOOKUP test.
Guenther
commit 421a926237f94ebdb90aaf0cf7678a9804bd5cdc
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 15:27:05 2010 +0100
s3:libsmb/nterr.c: fix/add NT_STATUS_RPC_* codes
metze
commit a949c70ed821ea18dfd2e7218255638823c8deea
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 18 15:12:07 2010 +0100
s3-selftest: fix Samba3.pm provisioning after uid/gid changes.
Guenther
commit 05cad2ea2f0963e7845b451d97830528c86e2cda
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 18 12:12:58 2010 +0100
s3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.
Also make sure we only add root user when needed, Jeremy please check.
Guenther
commit 38a46fa32bfd8007f0fb3e2b607d0e57a012ae95
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 18 11:27:36 2010 +0100
s3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.
Guenther
commit 6a1f8e67eb6e15bbafca570ac9b3714681025a1f
Author: Stefan Metzmacher <metze at sernet.private>
Date: Wed Mar 17 19:48:56 2010 +0100
libcli/util: add more NT_STATUS_RPC_* defines
metze
commit 30aa55a998016c5d87691b3592435a21107fe33b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 11:26:19 2010 +0100
pidl:Samba4/Python: make use of dcerpc_binding_handle stubs
metze
commit 5e9ce495eef98b2b27a77bf042514ccb2037d33d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 11:25:21 2010 +0100
s4:librpc/rpc: let pyrpc make use of dcerpc_binding_handle stubs
metze
commit f055fce74c0f569e8bfcf29e5c4fadb592a7c87d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 12:36:57 2010 +0100
pidl:Samba4/Python: remove compiler warnings
metze
commit 2624bafca532de66ae1d4976f8c2e99f5f7b250e
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 10:52:05 2010 +0100
pidl:Samba4/Python: remove compiler warnings when using -Wc++
metze
commit fd86c9b6877ab9e416b82d04bc7cfc42af027d74
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 10:48:24 2010 +0100
s4:utils/net/drs: make use of dcerpc_binding_handle stubs
metze
commit 95cefcfa4a7da51f11c9662057275830b25555a4
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 10:27:41 2010 +0100
s4:torture/rpc/browser.c: make use of dcerpc_binding_handle stubs
metze
commit 18fa68f2597a68699a3f87674663fb8df57453b9
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 10:26:43 2010 +0100
s4:torture/rpc/ntsvcs.c: make use of dcerpc_binding_handle stubs
metze
commit 7456df5e75ae383a5ea89578fbc1ef5507771670
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 10:24:56 2010 +0100
s4:torture/rpc/frsapi.c: make use of dcerpc_binding_handle stubs
metze
commit 61c62a7fd12efeea91b11762f59aebe6d9652b3f
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 09:56:32 2010 +0100
s4:torture/rpc/handles.c: make use of dcerpc_binding_handle stubs
metze
commit cef46436fc89d938780a4bdaea4e654b9a4c01b1
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 09:38:57 2010 +0100
s4:torture/rpc/handles: check the correct last_fault_code
metze
commit 6de83ef6277d8506478ce5ff43d33e39541b310c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 18 22:03:40 2010 +1100
s4:dsdb Move rdn_name down the stack
This is done so that it can be (in future) removed when the OpenLDAP
backend is in use and the rdn_val module is used, while keeping as
similar semantics as possible between the module stacks.
Andrew Bartlett
commit 0d6d068bc4f76c2816f969fcce6013e1945794d4
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 18 11:21:15 2010 +0100
s3-printing: Fix "printer admin" functionality.
Fix bug #7255 ("printer admin" parameter does not work as expected).
commit 55c45110e6994fe95867f4df3243c6829116e093
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 14:06:13 2010 +1100
charset: fixed a problem with the global use of the iconv_convenience structure
We had a crash bug where a cached copy of a iconv convenience pointer
was used after being freed when loadparm asked for iconv to
reload. This could happen if a python module used a iconv based
function before loadparm was completed.
The fix is to ensure that any use of this pointer remains valid, by
reusing the pointer itself when it has already been initialised, but
filling in the child elements with the updated values.
commit 752b2206cbb411e98e88efcfd1df9876a79d4a3d
Author: Oliver Liebel <oliver at itc.li>
Date: Wed Mar 17 20:11:11 2010 +0100
Fixed --ol-mmr-url helpline
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 947560fe3754185cd6edf7e1cd7e5c5fe405fa39
Author: Oliver Liebel <oliver at itc.li>
Date: Wed Mar 17 20:14:19 2010 +0100
Fixed OL-MMR make test
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 15172d3055349ba1280d671a94794ccb1e787775
Author: Oliver Liebel <oliver at itc.li>
Date: Wed Mar 17 20:08:08 2010 +0100
Fixed MMR-URL-Split and changed RID-Range OpenLDAP ITS6394
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit b05f0db957633454ad01598d084d883b8a3631fe
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 18:03:29 2010 +0100
s4-smbtorture: fix typo in RPC-SAMR-PASSWORDS-LOCKOUT test.
Guenther
commit b170ebe08b78c5240266578a19dae424802cda0e
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 23:16:53 2010 +0100
s3-eventlog: fix elog_tdbname(), we were always lower-casing entire lockdir path...
Found by RPC-EVENTLOG torture test.
Guenther
commit 3bc18d9f67feea901cc9f8e254bf23429b03a4e7
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 22:56:15 2010 +0100
s3-selftest: run RPC-EVENTLOG against s3.
Guenther
commit bb91bbb413132c62066e77c95c6dc4f1d8444628
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 22:55:41 2010 +0100
s3-test: setup initial eventlog infrastructure.
Guenther
commit 3efaf5e6ba203df23151665baac821a7c09754d6
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 22:55:00 2010 +0100
s3-selftest: setup initial eventlog infrastructure.
Guenther
commit 453fed4efd08fccd2979d0faf31a67facf133778
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 22:44:44 2010 +0100
s4-smbtorture: skip BackupLog test against samba in RPC-EVENTLOG.
Guenther
commit 4b80e145b402a198ff7da2458cb4cebd9232bce2
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 12:09:53 2010 +0100
s4:torture/rpc/samba3rpc.c: make use of dcerpc_binding_handle stubs
metze
commit 2d897beb7ad5f6abc19b8c4dcaafaf897af9fd1f
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 12:05:10 2010 +0100
s4:torture/rpc/samsync.c: make use of dcerpc_binding_handle stubs
metze
commit 532e034e287705b34c84dc110dbf954d2e885972
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 09:01:17 2010 +0100
s4:torture/rpc/samr_accessmask.c: make use of dcerpc_binding_handle stubs
metze
commit f400fc54bce0f2fda5ce98238439f69283da91ac
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 12:06:05 2010 +0100
s4:torture/rpc/dssetup.c: make use of dcerpc_binding_handle stubs
metze
commit 6e8fd4df6078cb426a1a9233f796532590c2387f
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 12:05:42 2010 +0100
s4:torture/rpc/bench.c: make use of dcerpc_binding_handle stubs
metze
commit aecd9dd19573b2b27a301d3aca2ed201b9c3b8ce
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 11:34:04 2010 +0100
s4:torture/rpc/samlogon.c: make use of dcerpc_binding_handle stubs
metze
commit 9639afae694621c63f35c3ff46939bae5c1606a9
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 11:22:28 2010 +0100
s4:torture/rpc/netlogon.c: make use of dcerpc_binding_handle stubs
metze
commit c05a0f78236e595642b62271570acf96e5bba69d
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 11:10:16 2010 +0100
s4:torture/rpc/schannel.c: make use of dcerpc_binding_handle stubs
metze
commit 2d31379853716b25ee2a0dcc58edc0f584742d55
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 10:55:41 2010 +0100
s4:torture/rpc/testjoin.c: make use of dcerpc_binding_handle stubs
metze
commit a91647d494c43b4430a9f339907e50c14187a35a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 17:51:06 2010 +0100
s4:torture/rpc/samr.c: make use of dcerpc_binding_handle stubs
metze
commit 04221518dab1a36610752cd97ec560f285dc2090
Author: Stefan Metzmacher <metze at sernet.private>
Date: Wed Mar 17 14:00:45 2010 +0100
s4:librpc/rpc: initialize p->binding_handle in dcerpc_secondary_context()
metze
commit 4ca2cc348e3412fd1851cd8512a10d0d0b1acf99
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 15:55:23 2010 +0100
s4-smbtorture: workaround broken REG_MULTI_SZ from winreg in s3
during SetPrinterDataEx SPOOLSS test.
Guenther
commit 481402bae557b174b38a965d209d417728c7562f
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 15:45:54 2010 +0100
s4-smbtorture: workaround the fact that you cannot fully rename a printer in samba.
Guenther
commit c05a06187d6a9b2f065dfc65112ab5188d2f11b7
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 15:32:42 2010 +0100
s4-smbtorture: only use "friendly" data in extended SetPrinterDataEx test.
Passes against windows but not against samba yet :-(
Guenther
commit d41b8c305342de0795dd49dac588b5c0b8f00bfe
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 11:31:43 2010 +0100
s4-smbtorture: skip security descriptor tests against Samba in RPC-WINREG.
Guenther
commit 3db9729240dedd74cdf3d404b68ac45ef0fe0bca
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 01:25:42 2010 +0100
s4-smbtorture: re-arrange tests in RPC-WINREG.
Mostly choping test_Open() into smaller parts.
Guenther
commit 75a4dffac1e25293e67fc1b471fb8d74c2f40e61
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 00:57:22 2010 +0100
s4-smbtorture: add test to check different keytypes.
This test will be skipped for samba.
Guenther
commit 89eaa9ed8e52ff9447285974d2acd586257e4319
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 11:36:09 2010 +0100
s4-smbtorture: add test_DeleteKey_opts to RPC-WINREG.
Guenther
commit 80ba1295ec39692821b0f2af1c53124f80ae8866
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 00:55:41 2010 +0100
s4-smbtorture: add test_OpenKey_opts() to RPC-WINREG.
Guenther
commit c33a7ca84cc313299af746b60a7cf94c4589c44b
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 00:53:21 2010 +0100
s4-smbtorture: add test_CreateKey_opts() to RPC-WINREG test.
Guenther
commit f07572063dcc84d0f91284ecbf03b4319fe37a60
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 00:05:52 2010 +0100
s4-smbtorture: put HKLM current_version test into an own function.
Guenther
commit 8fd4375803c4cdebd7e68053c8b62e78b887eec8
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 00:05:02 2010 +0100
s4-smbtorture: use binding handle for simple SetValue winreg test.
Guenther
commit 50cc29b3cb234f71f7fbbef47fe36bf9d85a313b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 12:00:34 2010 +0100
s4:torture/rpc/lsa*: make use of dcerpc_binding_handle stubs
metze
commit ba3b9fa36b0ffcb2cfcee34dab6d9a544a8cd9fd
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 11:24:25 2010 +0100
s4:torture/rpc/remote_pac.c: make use of dcerpc_binding_handle stubs
metze
commit f48fb0d908dec53e407c9cd0f843ee7d83e31580
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 23:02:29 2010 +0100
s3-vfs: fix some buildwarnings in traffic analyzer, there are many more.
Holger, please check.
Guenther
commit 2b4ce9a73f6b041f3cc69125e45b9f61e0155ff5
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 16 22:22:21 2010 +0100
s3: Make login_cache_write take a pointer
commit 276b1aa1891df2a31e8c65b04f41b0a0ebb57335
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 16 22:18:52 2010 +0100
s3: Make login_cache_read take a pointer, avoid a malloc
commit 13a278c1b901cadef7e09d1dc6a89d935ebb73ea
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 16 22:08:37 2010 +0100
s3: Remove a typedef
commit 02d7cdc671e27b5ed717c4c0e088b8457caa6e4a
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 16 22:23:06 2010 +0100
s3: Fix some nonempty blank lines
commit 0d8ab380551941ab5880a6e5be49b73d541746a4
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 22:17:55 2010 +0100
s3: fix buildwarning in smbta-util.
Guenther
commit 2070c042305eb14bac5182d7a061aaf38086f3f3
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 21:50:07 2010 +0100
s4-smbtorture: add lsa_SetTrustedDomainInfoByName NDR test.
Thanks Simo for providing the data and pointing out the IDL failure.
Guenther
commit 0e47277dd7305c7add269ebe41820780ea4ab6bf
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 21:15:50 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit 4f28afc929eadd8a7ae4448a815b5a0cc381750a
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 21:14:45 2010 +0100
lsa: fix IDL for lsa_SetTrustedDomainInfoByName.
Guenther
commit f98941033ddbf79a18f24d81f44aba05366874fe
Author: Andreas Schneider <asn at redhat.com>
Date: Tue Mar 16 13:27:00 2010 -0400
Fix developer build, remove malloc
commit 2bdece18c62c5119d2a7c85b0044ec3c9234445c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 18:20:51 2010 +0100
kerberos - set the memory to "0"s before freeing the password to prevent security issues
commit a6c57472ab144eb6d77cc85f56d7bd3152146b1d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 17:07:04 2010 +0100
heimdal - remove unused variable
commit dc5e0d84641173b7f710f0a735970f5dd2c27d38
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 16:53:39 2010 +0100
heimdal - fix overlapped identifiers in the "krb5" library
commit 973001e91a3988f4338f88599acbf4ab8978e1c9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 16:26:25 2010 +0100
heimdal - free always "ctx->password" when it isn't needed anymore
"strdup" does always create a new object in the memory (through "malloc") which
needs to be freed if it isn't used anymore.
commit bdc0372f8a6116b3be7cd8bd6d398c0f1929ae68
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 16:29:46 2010 +0100
s4:auth/kerberos/kerberos.c - fix also here a memory leak
The options need to be freed also on this error case.
commit 36175be5d4dbbd1545db4ac7de98d9293b897188
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 16:23:57 2010 +0100
libcli/auth/schannel_state_tdb.c - fix a memory leak
commit 4c29a4e12683a6826104f5974a86d07fb6346266
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 16:00:34 2010 +0100
s4:wb_cmd_getgroups - fix failure in s4 winbind's "getgroups"
commit c323629a1a3c3baf4ce799d2a9efe446822f6ec0
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 16:05:07 2010 +0100
s4-smbtorture: use random buffer for extended SetValue test in RPC-WINREG.
Guenther
commit cb5805d789d276f4bf13db75491099c9dde0f660
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 17:56:14 2010 +0100
s4:torture/rpc/winreg.c: make use of dcerpc_binding_handle stubs
metze
commit bffe22223062549fcaa16338a626b6f7c906a7ba
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 11:09:00 2010 +0100
s4:torture/rpc/spoolss_win.c: make use of dcerpc_binding_handle stubs
metze
commit b01cd7864d3865655320e3441c2804d5bc4b404a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 10:53:54 2010 +0100
s4:torture/rpc/spoolss_notify.c: make use of dcerpc_binding_handle stubs
metze
commit 97d74a4407940da43e776e50d7695da5206bf15b
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 10:53:15 2010 +0100
s4:torture/rpc/spoolss_notify.c: fix compiler warnings
metze
commit c1bf3244df7ca5261e9b649588f5587dab3f486d
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 11:45:51 2010 +0100
s4:torture/rpc/spoolss.c: make use of dcerpc_binding_handle stubs
metze
commit 28a6e5398d762b4ad69e9e3d5be6677746057538
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 10:27:42 2010 +0100
s4:tortore/rpc/spoolss.c: fix compiler warning
metze
commit d7699cb24a3dc57e45f3296372ed1e25e08167d9
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 10:55:12 2010 +0100
s4:torture/rpc/autoidl.c: make use of dcerpc_binding_handle stubs
metze
commit d03286e078e0544238212d81e3aa73c40acdca89
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 10:43:39 2010 +0100
s4:torture/rpc/mgmt.c: make use of dcerpc_binding_handle stubs
metze
commit 87a5596d4654aacbd7b7821cc2cc96c818c1b344
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 10:42:58 2010 +0100
s4:torture/rpc/remact.c: make use of dcerpc_binding_handle stubs
metze
commit 54ab68f04317d79ca2ea5c6815e96dce3a336725
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 10:36:19 2010 +0100
s4:torture/rpc/oxidresolve.c: make use of dcerpc_binding_handle stubs
metze
commit 8bc8e6ca0390d92ac536624c8ca02c247be23755
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 10:32:56 2010 +0100
s4:torture/rpc/initshutdown.c: make use of dcerpc_binding_handle stubs
metze
commit 004a8413178f14825d7c7ab0a9bdfc37592bfb64
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 10:59:05 2010 +0100
s4:torture/rpc/epmapper.c: make use of dcerpc_binding_handle stubs
metze
commit 8c9b9d3336b9a51203fcf336879a5de93f204cea
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 10:55:00 2010 +0100
s4:torture/rpc/eventlog.c: make use of dcerpc_binding_handle stubs
metze
commit bdb8f9131493ea33918a444f30fa87caca13c9bd
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 10:53:50 2010 +0100
s4:tortore/rpc/eventlog.c: rename variable 'b' => 'br'
metze
commit dfa92d445fb568c4cae9c9853d0cd320b4aa0e35
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 10:50:12 2010 +0100
s4:torture/rpc/svcctl.c: make use of dcerpc_binding_handle stubs
metze
commit b0ea3248a4e6d384608330e1033e7fd9cf92c5c6
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 10:49:02 2010 +0100
s4:torture/rpc/atsvc.c: make use of dcerpc_binding_handle stubs
metze
commit b8605cdd4ed58376e93b9ed9d4436b5c8e8fe15b
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 10:19:02 2010 +0100
s4:torture/rpc/wkssvc.c: make use of dcerpc_binding_handle stubs
metze
commit 119f15132184bd3fdaa664182135db2dfe1cdc37
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 10:08:04 2010 +0100
s4:torture/rpc/srvsvc.c: make use of dcerpc_binding_handle stubs
metze
commit 88ab666f191ce36b13e6628ca39b34b0e09a4088
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 13:03:26 2010 +0100
s4:torture/rpc/dsgetinfo.c: make use of dcerpc_binding_handle stubs
metze
commit 4434b3972d4971b17b4e45fc51d6f91536ed1b66
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 12:55:46 2010 +0100
s4:torture/rpc/dssync.c: make use of dcerpc_binding_handle stubs
metze
commit 369def8a33eebb41a7d6cc2d1c10794ba3c49c32
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 12:55:24 2010 +0100
s4:torture/rpc/drsuapi*: make use of dcerpc_binding_handle stubs
metze
commit 6591713d2679047e0551055960370ee8f47256cd
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 11:25:01 2010 +0100
s4:torture/rpc/unixinfo.c: make use of dcerpc_binding_handle stubs
metze
commit e55a9758603d135ac3c83cbd96c24e557d9e4040
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 15:30:13 2010 +0100
s4-smbtorture: remove NotifyChangeKeyValue s3 skip in RPC-WINREG:
Guenther
commit e46d3d9475c59af8ba6810aeb1403c1aa9e37d9d
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 15:29:14 2010 +0100
s3-winreg: change notify call has no meaning when called remotely.
Just return not supported to make smbtorture happy.
Guenther
commit b4d09134fdb4e99aa42b5db3e6d54014e090a23c
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 13:53:54 2010 +0100
s3-registry: make sure root has full registry access (in particular for make test).
Guenther
commit 27d46ba266908ad5fa5be9e553b41839dfa7d9c8
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 13:52:48 2010 +0100
s4-smbtorture: make it a bit easier to track failures in RPC-SPOOLSS-PRINTER.
Guenther
commit 38cba5e930c3ac1e7ccfbb6d39e1d464fd3fa344
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 25 21:40:27 2010 -0500
s4:torture-ndr add lsarSetForestTrustInformation ndr test
Signed-off-by: Günther Deschner <gd at samba.org>
commit a5ad510fc417557608bd9a13405e9df3791658e4
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 14:03:49 2010 +0100
s4-lsa: fix dcesrv_lsa_lsaRSetForestTrustInformation server stub.
Guenther
Signed-off-by: Günther Deschner <gd at samba.org>
commit ce8c622ffbb72f76ac1cb694be4b4e433aa2bee7
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 14:03:35 2010 +0100
s3-lsa: fix _lsa_lsaRSetForestTrustInformation server stub.
Guenther
Signed-off-by: Günther Deschner <gd at samba.org>
commit a6d42784d02e1b0305a6616f4f7d5eb350447d75
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 14:01:27 2010 +0100
s3: re-run make samba3-idl.
Guenther
Signed-off-by: Günther Deschner <gd at samba.org>
commit cfa2b7b6bf5f8527585c8c9c26a6336b503a682c
Author: Simo Sorce <idra at samba.org>
Date: Tue Mar 16 13:59:32 2010 +0100
s4:idl add lsaRSetForestTrustInformation
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8c5df22ffa4bb57078f4678c60cbec6ac7ba5710
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 12:48:47 2010 +0100
Revert "Revert "s4-smbtorture: skip extended SetValue test against Samba (both dont survive).""
This reverts commit 508c218eb2f4bf8c45dc9d481576c87ed4fecbd3.
This lets make test fail.
Matthias: please make sure make test still passes when you change things like
this...(maybe add something to knownfail or so)
metze
commit 7e859be26ac1ba1154eb5b39e0467ca48a66cbf4
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 14:25:11 2010 +0100
s4:torture/rpc/dsgetinfo.c: fix name resolving for ldap_url
metze
commit 287304e59eb4f83dd052642d35cf3a7d4e05067a
Author: Jim McDonough <jmcd at samba.org>
Date: Tue Mar 16 10:04:51 2010 -0400
Update copyright
commit c91afe9596ac03795aa0ef38038c191a3b439430
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 15:00:33 2010 +0100
security.idl - push generated code diff
commit c3509d88a4920e7dcbc77d5af089c50f71642d0a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 14:07:51 2010 +0100
s4:resolve_oids LDB module - not really a change but a nicer method to call "talloc_reference"
commit 9447f863d281809a752836da8136eeae89c00353
Author: Jim McDonough <jmcd at samba.org>
Date: Tue Mar 16 09:58:34 2010 -0400
Don't exit(0) on error
commit a0e2632e119c2e3e086cd485d448b44836c1499b
Author: Holger Hetterich <hhetter at novell.com>
Date: Mon Feb 15 17:47:30 2010 +0100
s3: vfs_smb_traffic_analyzer.c: add VFS functions for file open and close
commit f6ae16e318145224cc38180628e542bb3fc6bb8c
Author: Holger Hetterich <hhetter at novell.com>
Date: Sun Feb 7 20:39:58 2010 +0100
smb_traffic_analyzer.c: optimize marshalling function and document
Collect all data that is needed, and use only one talloc_asprintf
operation to create the string of common data. This simplifies
the code a bit and is most probably faster than the old method.
Also, #define SMBTA_COMMON_DATA_COUNT as a complete string,
speeding things up because we know the value at compile time.
commit 002193d34bc9ff385a866af2d39ed713a5bef1bf
Author: Holger Hetterich <hhetter at novell.com>
Date: Sat Feb 6 11:36:14 2010 +0100
vfs_smb_traffic_analyzer.c: added function
static char *smb_traffic_analyzer_anonymize
This takes a lot of code out of the main functions,
and makes it a bit simpler. Do the anonymization in a function.
Since we already anonymized the username we don't need to do
this a second time in the v2 marshalling function.
commit c1fb55caa5bfc079bda6a6ef98ee591800789778
Author: Holger Hetterich <hhetter at novell.com>
Date: Thu Feb 4 22:03:53 2010 +0100
Simplify the code a bit by creating the functions:
smb_traffic_analyzer_encrypt - doing the encryption of a data block,
smb_traffic_analyzer_create_header - create the protocol header,
smb_traffic_analyzer_write_data - actually write the data to the
socket.
commit 56dfc0915c7a461fc53d32e9cbe29460a75c9b26
Author: Holger Hetterich <hhetter at novell.com>
Date: Sat Jan 30 17:43:50 2010 +0100
Update the manpage of vfs_smb_traffic_analyzer and add smbta-util.
commit 69d7d6c01a01cc81f7e28593701d3425adfce8ec
Author: Holger Hetterich <hhetter at novell.com>
Date: Tue Feb 2 20:04:40 2010 +0100
Add the number of common data blocks to the protocol.
Always send the number of common data blocks first. This way, we
can make the protocol backwards compatible. A receiver running with
an older subprotocol can just ignore if a newer sender sends more
common data.
Add a few remarks to the marshalling function. Add two #define lines
defining the protocol subrelease number and the number of common
data blocks to the header file.
commit 4940da2e99647b2d6ae3b4abf78c9904e4390074
Author: Holger Hetterich <hhetter at novell.com>
Date: Tue Feb 2 19:36:23 2010 +0100
Put all the protocol stuff into a separate header file.
All the structures and the vfs function identifier list is required
by the receiver. It's therefore very handy to have this in an extra
header file.
commit 5b7179d2a3708246c44c5c5126368588f9da74a0
Author: Holger Hetterich <hhetter at novell.com>
Date: Tue Feb 2 00:14:28 2010 +0100
Add smbta-util to manage the encryption key.
This program allows the administrator to enable or disable AES
encryption when using vfs_smb_traffic_analyzer. It also generates new
keys, stores them to a file, so that the file can be reused on another
client or server.
commit 6437df7d2ceedeb26be82e050b300ad55839a721
Author: Holger Hetterich <hhetter at novell.com>
Date: Fri Jan 29 21:34:27 2010 +0100
Implement AES encryption of the data block.
First try. This runs on 16 bytes long AES block size, and enlarges the
data block with 16 bytes, to make sure all bytes are in. The added
bytes are filled with '.'. It then creates a header featuring the new
length to be send, and finally sends the data block, then returns.
This code is untested, as creating the receiver will be my next step.
To simplify traffic_analyzer's code, this code should run as a function.
It's on the do-to-list.
commit 3f5f2d82bd2447ea6a3f7dc626ff9a11f7101055
Author: Holger Hetterich <hhetter at novell.com>
Date: Fri Jan 29 14:57:20 2010 +0100
Implement anonymization for protocol v2.
Since we need to care for the SID too, do the anonymization in the
marshalling function and anonymize both the username and the SID.
Remove the 'A' status flag from the header definition. A listener
could see from the unencrypted header if the module is anonymizing
or not, which is certainly not wanted.
commit b7457301616d27078338fc476273b99d0e78330b
Author: Holger Hetterich <hhetter at novell.com>
Date: Sat Jan 23 22:45:28 2010 +0100
Make all remarks compatible to the linux kernel coding styleguide.
commit 81c6b878b1cb665d7dd4b365af82a8c15b099d38
Author: Holger Hetterich <hhetter at novell.com>
Date: Sat Jan 23 22:03:22 2010 +0100
Added an exact description of the V2 protocol.
I don't think it should have it's place the man page, because this is
developer information.
commit a45db5948050b7a94181e0579fb9fc9f651aed74
Author: Holger Hetterich <hhetter at novell.com>
Date: Fri Jan 22 21:17:53 2010 +0100
Move the creation of the header.
Since the header block of the protocol contains the number of bytes to
come, we always send the header itself unmodified.
If we compress or crypt the data we are about to send, the length of the
data to send may change. Therefore, we no longer create the header in
smb_traffic_analyzer_create_string, but shortly before we send the data.
For both cases, encryption and normal, we create our own header, and
send it before the actual data.
In case of protocol v1, we don't need to create an extra header.
Just send the data, and return from the function.
Change a debug message to say that the header for crypted data has
been created.
Add a status flags consisting of 6 bytes to the header. Their function
will be descriped in one of the next patches, which is descriping
the header in a longer comment.
When anonymization and/or encryption is used, set the flags accordingly.
commit 9702dcfa918f18c038eef0251b6330d6cf9a7162
Author: Holger Hetterich <hhetter at novell.com>
Date: Fri Jan 22 14:55:33 2010 +0100
Fetch the SID of the user we are running as and send with the common
data.
commit 654cff4cc356ca9c403a57af19f319ec26da54ce
Author: Holger Hetterich <hhetter at novell.com>
Date: Fri Jan 22 13:04:21 2010 +0100
Additionally send the vfs function id with the protocol.
commit 27f4f51d56e8b8d00729ca1eb0c6b1e1762274ce
Author: Holger Hetterich <hhetter at novell.com>
Date: Thu Jan 21 23:26:54 2010 +0100
According to the linux kernel coding styleguide, it's better to
align the switch and it's case statements in the same column.
This saves us one indentation level.
commit cdd19067284081af01f38a4ed78a9667990677cd
Author: Holger Hetterich <hhetter at novell.com>
Date: Thu Jan 21 23:16:58 2010 +0100
Don't use typedefs on the VFS function data structures as
typedefs are evil according to the linux kernel coding
styleguide.
commit 8cb5bac9ee96321c982038cb5dc951f6c2856d8c
Author: Holger Hetterich <hhetter at novell.com>
Date: Thu Jan 21 22:31:09 2010 +0100
Add read,pread,write,pwrite support to the V2 protocol.
commit 541fb436cc3d69c154dcd90d2e6b22c273baa501
Author: Holger Hetterich <hhetter at novell.com>
Date: Mon Dec 14 20:43:15 2009 +0100
Enable AES encryption of the data if a key was found in secrets.tdb.
commit 7bff1eabe5af297f115dbe7e815a006bfd78b19e
Author: Holger Hetterich <hhetter at novell.com>
Date: Fri Dec 11 21:04:46 2009 +0100
Add rmdir, chdir, and rename as supported VFS functions
commit e959bdcca4c6c879520f7f2734550c472f99836a
Author: Holger Hetterich <hhetter at novell.com>
Date: Tue Sep 22 20:01:35 2009 +0200
The format of data we are sending over the network will be flexible when sending over the network in protocol v2. To be able to do this, we create a new va-list function that is creating the buffer to send. Also it makes it easier for the receiver to parse the data; it sends an initial header containing the full length of the buffer to be send. For the individual strings, it sends sub headers containing the length of the upcoming substring to be send. With the header-data-header-data [..] structure we don't need to quote the sub strings finally enabling having all possible character sets in filenames etc..
In the sending function, implement mkdir to actually send it's data
for testing.
commit dcff7d367248ec7ecf59c4f423a81b8816799ec5
Author: Holger Hetterich <hhetter at novell.com>
Date: Mon Sep 21 15:33:21 2009 +0200
Create structs carrying the data of individual VFS functions, and hand those over to the send function, which then casts the void pointer to the struct required by looking at the id. This allows us to return different result data depending on the VFS function that is running. Make the protocol v1 sender compatible to this. Adapt the existing VFS functions to use the new data structures. Make use of the new functionality and extend the mkdir VFS logger function to return the creation mode additionally.
commit 2a643ef10c3ed64dc60a7899a581a7b83004ce0e
Author: Holger Hetterich <hhetter at novell.com>
Date: Thu Sep 17 20:11:39 2009 +0200
Introduce smb_traffic_analyzer protocol v2.
From Holger:
Make smb_traffic_analyzer differ the protocol versions to enable the development of version 2 of the protocol. To do this, a new parameter "protocol_version" has been introduced, which can be set to "V1", "V2", or nothing. If protocol_version is not set, V1 will be chosen automatically.
Created an enum for identifying VFS functions in the upcoming protocol v2. Converted the existing VFS functions to use the identifier, and set the read/write bool used in protocol v1 accordingly, also ignore any other VFS functions except read/write/pread/pwrite in v1. Added a first new VFS function for mkdir, which I use for testing and implementing both the sender and receiver for v2.
commit 8353aa39b64169a6bbd4b5b21ab4989e7821363e
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 25 21:39:24 2010 -0500
s4:idl change level to type in lsa_ForestTrustRecord.
commit 745f6f2574b57909c06c68eb6427cc52992705d3
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 12:24:18 2010 +0100
s4-smbtorture: avoid printf calls in RPC-WINREG test.
Guenther
commit a212c1dedb749b98d17c67db4278d1f1bb66d468
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Tue Mar 16 13:06:08 2010 +0200
Added a net acl ds command for modification of ACLs on directory objects
At present the command supports only addition of control access rigts, done
so DRS access checks can be tested. It will be expanded to deal with most
ways to modify and view a DS ACL.
Shifted commands a bit. What used to be net acl is now "net acl nt" as apposed
to this, which is "net acl ds"
./bin/net acl ds set --help
Usage: set --objectdn=objectdn --car=control right --action=[deny|allow] --trusteedn=trustee-dn
Options:
-h, --help show this help message and exit
--host=HOST LDB URL for database or target server
--car=CAR The access control right to allow or deny
--action=ACTION Deny or allow access
--objectdn=OBJECTDN DN of the object whose SD to modify
--trusteedn=TRUSTEEDN
DN of the entity that gets access
Samba Common Options:
-s FILE, --configfile=FILE
Configuration file
Credentials Options:
--simple-bind-dn=DN
DN to use for a simple bind
--password=PASSWORD
Password
-U USERNAME, --username=USERNAME
Username
-W WORKGROUP, --workgroup=WORKGROUP
Workgroup
-N, --no-pass Don't ask for a password
-k KERBEROS, --kerberos=KERBEROS
Use Kerberos
commit 4379b082b80e4976120860310259248eea09f863
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 00:01:16 2010 +0100
s3-spoolss: be very strict on OpenPrinter{Ex} failures for bad names.
Guenther
commit d7de3fa799fa64a3463765b3f6159fccda581b0c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 09:48:58 2010 +0100
s4:dsdb - fix up warnings
commit abe75a5c8c42a15927ae4f4fb3ff69aef1569d1e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 09:40:11 2010 +0100
s4:registry - use a macro for reverse byte order
commit e3cb626c61515a9c372352843fafc368ffc6e871
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 16 14:56:32 2010 +1100
s4:dsdb Show more detail in failure to compute the aggregate DN.
Andrew Bartlett
commit 2de07761e071ccf09c0ea9e0fdc6a61303356549
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 16 14:52:39 2010 +1100
s4:dsdb Change dsdb_get_schema() callers to use new talloc argument
This choses an appropriate talloc context to attach the schema too,
long enough lived to ensure it does not go away before the operation
compleates.
Andrew Bartlett
commit bf0b4d7ee3f52f77d706ccea12abb2f033b4abd9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 16 14:46:31 2010 +1100
s4:dsdb Fix warnings in DEBUG() by casting to unsigned long int
commit a7ec946cedf29ad8a88fcd0b253468b61f369d86
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 16 14:43:33 2010 +1100
s4:dsdb/acl Reduce calls to dsdb_get_schema() and add memory context
dsdb_get_schema() isn't a very cheap call, due to the use of LDB
opaque pointers. We need to call it less, and instead pass it as a
parameter where possible.
This also changes to the new API with a talloc context.
Andrew Bartlett
commit 1e6fee4185b726e532c98e0feec1121d59f734c5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 16 14:41:51 2010 +1100
s4:dsdb Add a memory context for dsdb_get_schema()
When specified, we talloc_reference onto this context to ensure that
pointers found in it are valid for the life of the objects they are
placed into. (Such as the string form of LDAP attributes).
Andrew Bartlett
commit c874b9f42eebacd9ad6baa90309635db8b8ec3fb
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 16 14:40:15 2010 +1100
s4:dsdb Don't error out if we can't get the Aggregate schema DN yet
It's easier to just set it up when we can, then to deal with the
ordering issues in ldb startup. As long as we have it ready if a real
client ever asks for it, then we should be happy.
Andrew Bartlett
commit 19aa07564228f8018d5c7f3bdfcd3d7c311f08b1
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 23:18:44 2010 +0100
s4:registry - check also for other registry value types in the generic test
commit b7c1444683d6fd63c29098b41d3ad6f792139136
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 22:46:20 2010 +0100
s4:registry - add a test for the "REG_DWORD_BIG_ENDIAN" datatype
commit 2f686d8523c0978630c375d377afe23fe07cbf19
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 18:55:33 2010 +0100
s4:registry - introduce the "REG_DWORD_BIG_ENDIAN" datatype
It's like the normal REG_DWORD type but the byte order swapped
commit 559575fe40c2d0d860868276c42efacb46dc59aa
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 08:49:22 2010 +0100
s4:dsdb/kcc/*.c - fix up wrong typed counters
commit 2a04aa08c642bc8b2a556c050a05dc69d6c5247c
Author: Erick Nogueira do Nascimento <erick.nogueira.nascimento at gmail.com>
Date: Mon Mar 15 13:33:06 2010 -0300
s4-drs: Torture testcase for DS_REPL_INFO_METADATA_2_FOR_OBJ infoType of DsGetReplInfo()
This torture testcase considers both cases for this infoType: when the flag
DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE is enabled and when not.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 81932f9148b968854035f3599af85301df99ce1b
Author: Erick Nogueira do Nascimento <erick.nogueira.nascimento at gmail.com>
Date: Mon Mar 15 13:31:50 2010 -0300
s4-drs: DsGetReplInfo(), infoType = DS_REPL_INFO_METADATA_2_FOR_OBJ
Implementation of the DS_REPL_INFO_METADATA_2_FOR_OBJ infoType for DsGetReplInfo()
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit f2cbc9fbb12d36f6ce86111848ab0ee05469cdba
Author: Craig Miskell <craig.miskell at opus.co.nz>
Date: Mon Mar 15 16:20:44 2010 -0700
Fix bug #7191 - WINS doesn't respond after > 86 #1c registrations.
commit 9a825dc770bfcb0923572e8ad3beff2f86dce992
Author: Michael Adam <obnox at samba.org>
Date: Mon Mar 15 12:36:52 2010 +0100
s3:registry-legacy: use talloc_stackframe() instead of NULL in regkey_open_internal()
Michael
commit c27c430b21cae3d5906dc211cb29fa7d47e15699
Author: Michael Adam <obnox at samba.org>
Date: Mon Mar 15 12:16:52 2010 +0100
s3:smbcacls: also honour the "--sddl" flag when setting ACLs.
Michael
commit 3b736987153da48918229ab940f8ac89017ae79f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 14 21:18:34 2010 +0100
s3: Fix an uninitialized variable read
Found by Laurent Gaffie <laurent.gaffie at gmail.com>
Thanks for that,
Volker
commit c35c38075c96fddd0dcd41b4173ca47a9c07df92
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 15:39:41 2010 -0700
Remove the bool admin_user from conn struct. We no longer look at this to make access decisions.
Jeremy.
commit 704a607e3c3a5c3e727b386fab9dbcdff56b5ac4
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 15:04:18 2010 -0700
Fix bug #7188 - Logic error in check of total_data for call_trans2mkdir()
Make ea data checks identical for trans2open and trans2mkdir.
Jeremy.
commit 33bd9b4bb901d08c3c9479bef0a748bb7f5f5fa7
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 12:24:06 2010 -0700
Remove reference to conn->admin_user in preparation for removal.
We use (uid_t)0 here not sec_initial_uid() as make test uses a single user context.
I will revisit this when all the uid check changes are complete.
Jeremy.
commit b32ce075f8b5a3a2ab0a72ffed16924cda90f423
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 12:18:04 2010 -0700
Simplify processing of "admin user". If a user is an admin_user ensure their conn token is uid 0.
This simplifies change_to_user() and removes special processing of the assignments
we pass to set_sec_ctx().
Jeremy.
commit 984eee7e290cd0dd20baf8a531ed9afc142796ff
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 12:13:30 2010 -0700
Switch over to using get_currect_XXX() accessor functions.
Jeremy.
commit 6b2358e15eadf2b137b62669a813eded21aebbc7
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 11:04:51 2010 -0700
Pass "connection_struct *conn" into functions that currently use "current_user.XXX"
Will allow me to replace them with accessor functions.
Jeremy.
commit 5d6610a21580a1d588465ec9f144f5a6daad57cd
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 10:45:15 2010 -0700
Add accessor functions for current uid, gid, unix token, NT token and vuid.
Jeremy.
commit 1332ce52b7b78b9e03e376f312120c0f1d7e302a
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 11:03:29 2010 -0700
We don't need to treat the token differently in the conn->admin_user case, it should already be pointing to a token with uid == 0.
Jeremy.
commit 4b85a0ea7fe036347b9fe5c725e55b043f75ccb4
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 10:33:09 2010 -0700
Rever e80ceb1d7355c8c46a2ed90d5721cf367640f4e8 "Remove more uses of "extern struct current_user current_user;"."
As requested by Volker, split this into smaller commits.
Jeremy.
commit 83b9e12513984af8b372f5558043ed0f65d832fd
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 17:08:23 2010 +0100
s4-smbtorture: add simple printer rename test to RPC-SPOOLSS-PRINTER.
Guenther
commit 6f36e9d5045a062784d21dbfdd720df4cbb91182
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 17:08:23 2010 +0100
testprogs: add EnumPrinterData test to win32 spoolss test.
Guenther
commit 08ec9b7e734dcdd46440abba49e980cae01b1e44
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 16:11:43 2010 +0100
s4-smbtorture: fill PrinterDriverData with more values for consistency test.
Guenther
commit 386f15c62bb4d3517de719c750252e06cf3b1fb1
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 14:42:17 2010 +0100
s3:smbd: make sure we always have a valid talloc stackframe
metze
commit d23581b4d7a4936002c1d2d748836aead9215120
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 14:39:11 2010 +0100
talloc_stack: reset stackframe pointers to NULL
This makes it easier to debug the code in future.
metze
commit 10ed809a1a31be50ce09142eb99b3a243ae8b940
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 14:32:52 2010 +0100
talloc_stack: make sure we never let talloc_tos() return ts->talloc_stack[-1]
In smbd there's a small gab between TALLOC_FREE(frame); before
be call smbd_parent_loop() where we don't have a valid talloc stackframe.
smbd_parent_loop() calls talloc_stackframe() only within the while(1) loop.
As DEBUG(2,("waiting for connections")) uses talloc_tos() to construct
the time header for the debug message we crash on some systems.
metze
commit 1eb0fbe68d4ca00ec482cbdb9f73bc2af8f953bf
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 14:55:25 2010 +0100
s4-smbtorture: cleanup data after enumdata{ex} consistency test.
Guenther
commit c9cc26ef620b6c46ba129ea07ce33892abf5931a
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 14:41:58 2010 +0100
s3-spoolss: Fix _spoolss_EnumPrinterData.
Guenther
commit 06cbf05e8b964d353d0ca505ade7b018f93c8465
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 14:11:44 2010 +0100
s4-smbtorture: when cross checking enumdata{ex} make sure to have at least one entry.
Guenther
commit 6bfde084e65718cfdf81696120f64f17e832b313
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 12:38:17 2010 +0100
s4-smbtorture: add PrinterInfo_to_SetPrinterInfo helper to RPC-SPOOLSS.
Guenther
commit 163e559606d55cce63346b01498417770761dd64
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 13:44:00 2010 +0100
s4:registry - rpc - don't crash when communication partner isn't available
commit cc3eec1681bb6d614e688f51e48bd76f6d513e67
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 11:15:19 2010 +0100
s4:registry - util.c - treat unsupported and binary values as the same in the conversion functions
We don't need to provide an extra representation for all available registry types.
But if we treat all unsupported types as binary we also get our tools (regtree,
regshell, regdiff...) working with them in a basic manner.
commit 4e6c0e1f6f37a7e04d10dbf7abbf626f52232aaf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 11:12:52 2010 +0100
s4:registry - util.c - move the "REG_NONE" case in the conversion functions on top of the switch
(As in the "reg_value_types" structure)
commit 1e5010d35313d851a3904b116d3a4c2d3f0e199f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 11:52:24 2010 +0100
s4:registry - local testsuite - add a test for REG_QWORD
Change also here to fixed-length HEX values output to test for the right
representation.
commit 00934d4c2fd449493ad52127616445673f0de5b5
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 11:51:42 2010 +0100
s4:registry - fix up the output of hexadecimal values
Use a fixed-length representation to avoid platform-specific issues.
commit 80300af278d346049f9bfd48f013bc2055dc104b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 11:07:36 2010 +0100
s4:registry - add support for REG_QWORD values
Basically the same as REG_DWORD but these are eight byte long.
commit c3eb509dea715620da086f3dc8e5702fb9d03e1c
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 10:20:06 2010 +0100
s4-smbtorture: fix torture_comment in RPC-SPOOLSS.
Guenther
commit f49d5e3288bc1b45d22fff0e68b11add2c4691ab
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 09:37:42 2010 +0100
s4:tortore/libnet: fix crash bugs because of incorrect function prototypes
metze
commit eb8c8a0ecaa9bfd29f090db21fccdad7751767ae
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 14 17:40:14 2010 +0100
s4:registry - util.c - add harder checks for inputs on "reg_val_data_string"
("NULL" result is error on most data types).
commit 508c218eb2f4bf8c45dc9d481576c87ed4fecbd3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 13:37:18 2010 +0100
Revert "s4-smbtorture: skip extended SetValue test against Samba (both dont survive)."
This reverts commit 40e2c04f8aba605e951810751222559ea0d32ebd.
s4 should support now also the extended "SetValue" tests.
commit bb1ac0c75c2f42dff972bae36b3814e5ad1142f9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 14 17:18:29 2010 +0100
s4:registry - ldb.c - provide a mechanism for storing UTF8/binary REG_DWORD values
We need to support this as gd's WINREG torture test shows.
commit fbce5ded301a79846356b3809275e10b0a4b6860
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 14 10:30:19 2010 +0100
s4:registry - ldb.c - provide a mechansim for storing UTF8/binary REG_SZ/REG_EXPAND_SZ values
We need to support this as gd's WINREG torture test shows.
commit 95bfd17e080e439ab3185a1544c64bbe17067306
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 21:13:59 2010 +0100
s4:registry - ldb.c - fix up a strange LDB filter
commit f72790daaa6ecef922edcfba38effdc8e5885782
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 20:03:03 2010 +0100
s4:registry - ldb.c - fix up the memory handling in "reg_ldb_unpack_value"
Don't substitute existing data blobs with new ones and make sure, that the
result objects in the data blob don't have memory dependencies of the LDB value
input.
commit 33eb1c95e55bb26aee7ee3876e38136eb56ef36e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 19:37:13 2010 +0100
s4:registry - ldb.c - check more for possible "Out of memory" circumstances
commit 9b3c45754e9f610a095e6e1b191bb33235e8c314
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 19:30:43 2010 +0100
s4:registry - ldb.c - remove superfluous "query" variable
commit cd3c870333d49460c9598a9928622454cd2cefc5
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 19:29:03 2010 +0100
s4:registry - ldb.c - Consider result values in "reg_ldb_pack_value"
Break on errors and return NULL and otherwise the message pointer.
commit 3c6792bc76323f821bc9e44ea3d724ce39e9081f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 18:39:54 2010 +0100
s4:registry - ldb.c - Move the "val" structure
Move it into the REG_SZ/REG_EXPAND_SZ case block since it's used only there.
Plus convert it from static into dynamic talloc'ed.
commit 727fb8578261de8eed335ce5210d86ea556ce6d3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 14 14:21:18 2010 +0100
s3: Remove some unused #defines
commit 2111fe5255c1a76c267bbd0986a9f4566e6a68f9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 14 13:49:58 2010 +0100
s3: Use a switch to implement map_nt_error_from_tdb
First, this immediately gave me the warning that TDB_ERR_NESTING was not
covered and second, this saved 48 bytes in the .o :-)
commit 6c00a3db24808333df734dde15064d01b32dbf45
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 14 14:13:30 2010 +0100
s3: Remove some unused code
commit e00327323ddec6074141a4c5638a12565b6345bd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 14 14:06:45 2010 +0100
s3: Fix some nonempty blank lines
commit 5e06110bc19bb4e72a57487bdb231856f2f0c303
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 14 10:31:29 2010 +0100
Reintroduce "s4:provision Improve the handling of provision errors""
This mainly reverts commit f0bc02d74c16bc013e9fdab46ef271cf45873453.
Jelmer pointed out a way how we can achieve the same error handling with an
older syntax also on Python 2.4+.
commit b4826b9393244e46e855a65a65df67d9e6c1d81c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Mar 13 20:02:16 2010 +0100
s3: Convert unexpected.tdb to use tdb_wrap_open
commit cfc44d244152609e17a26db85bbbf827955958a7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Mar 13 19:05:38 2010 +0100
s3: Make tdb_wrap_open more robust
This hides the use of talloc_reference from the caller, making it impossible to
wrongly call talloc_free() on the result.
commit 5eeb1fc44737a3b788fb84945966ded108caf3cf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 12:47:28 2010 +0100
NSS:winbind_struct_protocol.h - fix typo
commit f0bc02d74c16bc013e9fdab46ef271cf45873453
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 12:26:30 2010 +0100
Revert "s4:provision Improve the handling of provision errors"
This reverts partially commit 027123199e13cc02ae4edadd8f0dd0f0660e1193.
Andrew, this is not Python 2.4+ compatible
commit b52b357ede6893bf98d9fa00167b0516e86b755f
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Mar 13 08:19:34 2010 +0100
s4:torture/rpc/spoolss.c: fix compiler warnings
metze
commit 8f0773771491dd12c0fa0b8967009364d1daa188
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 13 02:26:59 2010 +0100
s4-smbtorture: warn on unexpected devicenames in spoolss devicemode test.
Guenther
commit 6833094d6bddf53ee403f89e4f949b9e23041974
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 13 01:37:32 2010 +0100
s4-smbtorture: send even more random data in extended winreg SetValue test.
Guenther
commit 33d9901ecb448835fe566932df609a60f288a87f
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 13 01:34:31 2010 +0100
s4-smbtorture: fix build and handle in spoolss test.
it's friday night...
Guenther
commit 5e48aa7ebbf0b3c589093867be12523d6f98e4d2
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 12 18:31:22 2010 +0100
s3-spoolss: wrap _spoolss_EnumPrinterData() around _spoolss_EnumPrinterDataEx().
This removes some dependencies to registry code.
Guenther
commit d39ece17e0590aa7fd484cf273a7402f704a7ebb
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 13 01:07:43 2010 +0100
s4-smbtorture: add spoolss EnumPrinterData vs EnumPrinterDataEx consistency test.
Guenther
commit ab33b991de6dcd3d27668ad4710e58f4b5e228f4
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 13 01:05:24 2010 +0100
s4-smbtorture: refactor spoolss EnumPrinterData test.
Guenther
commit 1d9d617d971a38670b359403f76f9effad994bfa
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 12 22:45:33 2010 +0100
s4-smbtorture: refactor SetPrinterData() calls a little more.
Guenther
commit 3de2f0475dfcaf1df54054b9afce70cc0e9afeb1
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 12 22:11:14 2010 +0100
s4-smbtorture: re-arrange spoolss_SetPrinterData() tests.
Guenther
commit f064a182eb3a28e49cec6aa3d9baaad8d85f13e6
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 13 00:20:52 2010 +0100
s4-smbtorture: make sure RPC-SPOOLSS passes against 64bit archs (w2k8r2).
Guenther
commit a2be29dfa32a675249f743632a24450d5147a112
Author: Jeremy Allison <jra at samba.org>
Date: Fri Mar 12 14:31:47 2010 -0800
Missed a couple more uses of conn->server_info->ptok that need to be get_current_nttok(conn)
Centralize the root check into smb1_file_se_access_check()
so this is used by modules/vfs_acl_common.c also.
Jeremy.
commit e80ceb1d7355c8c46a2ed90d5721cf367640f4e8
Author: Jeremy Allison <jra at samba.org>
Date: Fri Mar 12 13:56:51 2010 -0800
Remove more uses of "extern struct current_user current_user;".
Use accessor functions to get to this value. Tidies up much of
the user context code. Volker, please look at the changes in smbd/uid.c
to familiarize yourself with these changes as I think they make the
logic in there cleaner.
Cause smbd/posix_acls.c code to look at current user context, not
stored context on the conn struct - allows correct use of these
function calls under a become_root()/unbecome_root() pair.
Jeremy.
commit 31b0417f7def5af5392088eec8fe6e77074d3da9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 12 21:04:22 2010 +0100
s4:provision.py - small output improvement
commit b3f727e6a5f20075dd79291ff895a46e47b63e53
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 12 18:56:44 2010 +0100
s4:util.c - "dsdb_check_optional_feature" - counter should be "unsigned"
commit e3913084cd17861822b1e2f8b1379e48e181856c
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 12 15:48:35 2010 +0100
s3: Add "net registry increment"
A convenience function to increment a DWORD value under a (cluster-wide) lock
commit 0f210749a779249b8f323c2eb2aec38137ae4317
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 12:51:46 2010 +0100
s4:torture/rpc/dfs.c: make use of dcerpc_binding_handle stubs
metze
commit 81ac17d12d28b02e896f9c6c17a3aa441e87f4a7
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 12:30:24 2010 +0100
s4:torture/rpc/echo.c: make use of dcerpc_binding_handle stubs
metze
commit f1633934cd1fc455648230c6e542c2a67f751879
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:33:10 2010 +0100
s4:torture/libnet: make use of dcerpc_binding_handle stubs
metze
commit 7be154a6168bd1bb49d776599b9ede0826835c66
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:31:36 2010 +0100
s4:torture/ntp: make use of dcerpc_binding_handle stubs
metze
commit 9e0557a14975375596e7ed89c7ed70b85116e7fc
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:27:58 2010 +0100
s4:libnet/libnet_time.c: make use of dcerpc_binding_handle stubs
metze
commit 07a28b1923bee35c365972e4c5935de8637d412b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:27:40 2010 +0100
s4:libnet/libnet_share.c: make use of dcerpc_binding_handle stubs
metze
commit 02c61f520cfd5bea83ab18a4877c978f448fa4d3
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:27:16 2010 +0100
s4:libnet/libnet_samsync.c: make use of dcerpc_binding_handle stubs
metze
commit 19d229a11b959f4dd841b1a4e851f39271121e10
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 07:59:14 2010 +0100
s4:libnet/libnet_passwd.c: make use of dcerpc_binding_handle stubs
metze
commit bec3d8e7ae84c7adb64bff64529f7838aa45fd9b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:26:27 2010 +0100
s4:libnet/libnet_join.c: make use of dcerpc_binding_handle stubs
metze
commit 7807de5693174ee018561a694c8b6baf292888e2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:25:34 2010 +0100
s4:libcli/util/clilsa.c: make use of dcerpc_binding_handle stubs
metze
commit dea7c4f999c157358338436ce1717ef8bf3f96e0
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:25:01 2010 +0100
s4:client: make use of dcerpc_binding_handle stubs
metze
commit 580d491faa8baf35b85262fa84d8c3a0591d9f34
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 18:17:28 2010 +0100
s4:rpc_server/spoolss: make use of dcerpc_binding_handle stubs
metze
commit b6623e3a264d685c6f271a8f1e2529c3dcd201b8
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 18:13:50 2010 +0100
s4:lib/registry/rpc: convert to use dcerpc_binding_handle stubs
metze
commit d0662ac4d01a5de34a368504b63f03a5ab43c398
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 11:12:17 2010 +0100
pidl:Samba4/NDR/Client: make the old rpc_request style async functions static
metze
commit d4f143258b61055864d8bb61ec180284a8b68e71
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:36:05 2010 +0100
s4:dcom: add a comment about unused code.
metze
commit 6292cb7f7f097aba2151d348331700e2b99fe49e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:30:03 2010 +0100
s4:libcli/composite: get rid of composite_continue_rpc()
metze
commit 7b76c118ad0f5272a2dac679e482f7b1b2440abc
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:23:01 2010 +0100
s4:librpc/rpc/dcerpc_util.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 398f477941de2fe3010c4f44b5507a9b764c2fd3
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:17:25 2010 +0100
s4:librpc/rpc/dcerpc_schannel.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit ff54cbe3d4c090003720eaef2a7321923404db39
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 15:46:55 2010 +0100
s4:torture/rpc: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit e9cae3b5bc9a59a45973c1671e2d7372d1c32b12
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:04:20 2010 +0100
s4:winbind/wb_sam_logon.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 399cbb647995d3caee4aba21a7333102a28324ba
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:03:56 2010 +0100
s4:winbind/wb_init_domain.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 7681260e1eb5fdf168e7e1a35e8b8b0a14e1c2e0
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:03:26 2010 +0100
s4:winbind/wb_dom_info_trusted.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 53bdd25829b0af13a30b70e503f59702708668a8
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:02:50 2010 +0100
s4:winbind/wb_connect_sam.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit d836dd9ea7e96752e405990521d80242e948a84b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:02:25 2010 +0100
s4:winbind/wb_connect_lsa.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 6ecae51e18ef31010ba5cdac845e13108e821c40
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:01:57 2010 +0100
s4:winbind/wb_cmd_usersids.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 765d4a52cba49ac1c8d30ae825c03f6003acd188
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:01:23 2010 +0100
s4:winbind/wb_cmd_list_trustdom.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 05d6343ac7a9a1e244ad70c0c24d65f33936e6ad
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 13:49:20 2010 +0100
s4:winbind/wb_cmd_getdcname: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 9e87e6dc9ae73e1a5ad8bfc1742282ba69202ddd
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 20:33:48 2010 +0100
s4:winbind/wb_async_helpers.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit a011cbccb7956b277657690f2c3070f4eea78092
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 09:53:36 2010 +0100
s4:libnet/libnet_rpc.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit c190ae1631ae1307116005280fa61dbfac90a19d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 09:43:13 2010 +0100
s4:libnet/usernam.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit a8967c378c771697760f47996aaae8f3d1e4a98b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 09:42:07 2010 +0100
s4:libnet/userinfo.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit ccc0ab681133548d9c8f0b34368b5836374d9947
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 09:39:55 2010 +0100
s4:libnet/libnet_user.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit c148405a12919ca48163f0cbe337fe30b6c97d92
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 16:59:33 2010 +0100
s4:libnet/libnet_lookup.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit eae3436320fef015f3e2f78ed32aa57cae0aa7f9
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 16:48:17 2010 +0100
s4:libnet/libnet_group.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 3d72524ab4de8d3fe820c0eb0dcd60c4a2cc3fe2
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 16:45:04 2010 +0100
s4:libnet/libnet_domain.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit f0a394315d6adede8e319a60236aca114b1aa362
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 17:12:56 2010 +0100
s4:libnet_unbecome_dc: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 2c5bbea8cbf1fd95db946ca65893f081b8c392d2
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 16:41:43 2010 +0100
s4:libnet_become_dc: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 8dc4fd921b3d49d757f382d5546447eed37ea9f2
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 16:32:45 2010 +0100
s4:libnet/group*: make use of tevent_req based dcerpc_binding_handle stubs
metze
commit a3ae9802d47f7a39030be089d15fc42f8e8917e6
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 16:27:14 2010 +0100
s4:libnet: keep a dcerpc_binding_handle for samr and lsa
metze
commit 77fb700e2096a0fbd1ed9361f476898b2b7771c5
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 16:23:17 2010 +0100
s4:dsdb/repl: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 15d9675b049ee157037328daa714f79b339c0c73
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 12:31:06 2010 +0100
pidl:Samba4/NDR/Client: generate stubs for dcerpc_binding_handle abstraction
metze
commit d95ca9003044969eacf6b42710a4ce5640084b2d
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 16:24:19 2010 +0100
s4:librpc/rpc: prepare dcerpc dependecies before pidl changes
metze
commit 6677a5431cc33d8fba565ee068d4c87050ddbd96
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 12:29:52 2010 +0100
s4:librpc/rpc: add very basic dcerpc_binding_handle infrastructure
metze
commit 454bedcb806ce54dae2e6ecc6650d8972287c87c
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 17:52:38 2010 +0100
pidl:Samba4/NDR/Client: don't generate client stubs for function marked as [todo]
metze
commit 8844acf4248ae8df9293eeff2eed8827ea802211
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 00:52:30 2010 +0100
pidl:Samba/Python: don't generate methods for functions marked as [todo]
metze
commit f4c227e5719abc02d510509a81f2628740b58803
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 09:20:23 2010 +0100
librpc: rerun make idl
metze
commit f85c825ae2e37a2ae744d20ea385a56863daab91
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 00:45:56 2010 +0100
drsuapi.idl: don't mark drsuapi_DsGetMemberships as [todo]
metze
commit 79100c242153ea174a4405afd45cbf635da313aa
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 12 14:22:54 2010 +0100
s3: Add "g_lock_do" as a convenience wrapper function
commit 1728b5fa6f0efd443799550ab630abd8282a3c9c
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 12 12:12:25 2010 +0100
s3: Actually use mem_ctx in net_g_lock_init()
commit bc1f3fe99e8ca435b6622462dd248663df3002a3
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 12 12:08:19 2010 +0100
s3: Fix a comment
commit 67d1b015907ad0e764350f45686e467c6f468f56
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 12 11:47:00 2010 +0100
s3: Fix some "net registry" usage messages
commit a0527dd790c12d9f3d7e579103a48dd420946e40
Author: CrÃstian Deives <cristiandeives at gmail.com>
Date: Mon Mar 8 23:45:44 2010 -0300
use unsigned instead of uint32_t for LDB counters.
the attribute num_values of the struct ldb_message_element is defined as
an unsigned int, so the counters of that variable should be of the same
type.
commit 208e2801b4715626a46292ca9d576d34d7fbfef2
Author: CrÃstian Deives <cristiandeives at gmail.com>
Date: Sun Mar 7 02:09:24 2010 -0300
nTDSConnection creation
create nTDSConnection objects to "imply" the minimum-cost spanning tree edges
for which no nTDSConnection objects yet exist. it also adds a test function in
kcc_connection so the kcctpl functions can be called. this patch is in accord
with the sections [MS-ADTS] 7.2.2.3.4.2 and 7.2.2.3.4.5.
commit 6e20906f420be591894925a38504735d4e220c52
Author: CrÃstian Deives <cristiandeives at gmail.com>
Date: Sun Mar 7 01:55:12 2010 -0300
spanning tree computation
calculate the spanning tree for the intersite connection. this patch is in
accord with the section [MS-ADTS] 7.2.2.3.4.4.
commit b70df94f620eb6c30ddfc98212012df270750412
Author: CrÃstian Deives <cristiandeives at gmail.com>
Date: Sun Mar 7 01:34:41 2010 -0300
new function kcctpl_color_vertices
besides the new function implemented, some minor bugs were also fixed. this
patch is in accord with the section [MS-ADTS] 7.2.2.3.4.3.
commit 7b20ad99d679de92a13652224fb33b4a0a0a7b35
Author: Eduardo Lima <eduardoll at gmail.com>
Date: Wed Mar 10 16:21:29 2010 -0300
s4-drs: check if an optional feature is enabled
commit ca67768b66758cadcc0e5e2f7544698b41c8f8ba
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Feb 24 15:09:28 2010 +1100
s4:selftest Add file based DNS resolver to selftest environment
This will in future allow us to test 'net vampire' in the test
environment, using the file based DNS lookups to avoid us hitting real
DNS.
commit 8529b0afc1f56ba29ddcb5a4fdc62790868cfbe6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Mar 12 10:45:16 2010 +1100
selftest: Remove dns_host_file every time we start
commit be79f572ed2a5853917eeede3991c1674ad655a6
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Fri Mar 12 03:13:51 2010 +0200
Split the dsdb_access_check_on_dn.
Split the dsdb_access_check_on_dn so it can be reused for checks
from both within the module stack and outside it.
commit 4b256c6d8e109d998b8b3a63585cc93596a96bfb
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Fri Mar 12 02:21:16 2010 +0200
Fixed ACL module to use dsdb_module_* API.
commit 8194fc37571257d4b5df3e78f5e38e914b18dc43
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 12 00:30:52 2010 +0100
s3-netlogon: Fix bug #7237: _netr_SamLogon segfaults for clients sending NULL domain.
Thanks to Marc Muehlfeld <muehlfeld at medizinische-genetik.de>.
Guenther
commit 1a10a5949d9f2148bdcd61a864104e5c305f8a59
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 11 14:39:14 2010 -0800
Improve symlink delete test. Make sure we don't delete the link target by mistake.
Jeremy.
commit 98ba174fa2bd174de58b9c97ba16627ff77374e8
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 23:15:14 2010 +0100
s4-smbtorture: add netr_SamLogon test with NULL domain to RPC-NETLOGON-S3.
This is to demonstrate how a "Windows 2002 Service Pack 3 2600" box constantly
crashes smbd (in preparation of fixing bug #7237).
Guenther
commit 222b955237ed2a0d838738b4bacffc1106af2dc3
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Thu Mar 11 23:10:38 2010 +0200
Moved access_check_on_dn from acl module as an utility.
Made this an utility function so it can be used for access checking
outside of the acl ldb module, such as checking validated writes and
control access rights in other protocols (e. g drs)
commit 24a7f8f2dbae73e862b9b3d4c6f0692054c354b3
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 20:48:24 2010 +0100
s3-winreg: make QueryValue pass RPC-WINREG test again.
Guenther
commit 40e2c04f8aba605e951810751222559ea0d32ebd
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 20:23:13 2010 +0100
s4-smbtorture: skip extended SetValue test against Samba (both dont survive).
Guenther
commit 2324b07726adb2d45ee7e4571c3b83ba33cec3cf
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 20:24:58 2010 +0100
s4-smbtorture: test NULL and "" valuenames as well in query for wellknown winreg key.
Guenther
commit e0d85f87b7a6a3c887bc0a7f93b26380369e269c
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 20:20:48 2010 +0100
winreg: add winreg_KeyType enum.
Guenther
commit 96a38e387e9655b14504c0c3d181db95cc84cc3d
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 19:25:57 2010 +0100
s3-winreg: fix some function names in debug statements.
Guenther
commit 9e80fe66758829ca1721cd2b8eddd90cb90d6418
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 20:17:48 2010 +0100
s4-winreg: continue processing in WERR_MORE_DATA case in dcesrv_winreg_QueryValue().
Matthias, please check.
Guenther
commit 09ea04a7f8edc407761450d30fe9a54cac0d7133
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 18:52:38 2010 +0100
s4-smbtorture: add extended SetValue test to RPC-WINREG.
Really looks like a blob based database frontend.
As it seems, we can set *any* type of data with *any* content on Windows and get
the exact same data back.
Guenther
commit 3a8d85da688bc681e8d80ecde75ea318615fe659
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 18:37:02 2010 +0100
s4-smbtorture: more work on test_key_value() RPC-WINREG test.
Guenther
commit b7898148c183d71c3049baea37cfa57e24e1e50a
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 11 11:33:01 2010 +0100
s3: Make init_smb_request return bool
Centralize the exit_server_cleanly()
commit 0d6c19b976c45eaf801fb28b89db25ddb29d5826
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 15:11:29 2010 +0100
RPC-DSSYNC: handle DCERPC_FAULT_OP_RNG_ERROR as not supported for DsGetNT4ChangeLog()
metze
commit 4585ea06a565920ac109cf1b3890e48a3d975093
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 14:52:37 2010 +0100
s4:torture/libnet/libnet_user.c: fix double free in error path
metze
commit 10b97ed9e423d7c13e9b2daf118764a73db9096a
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 14:27:45 2010 +0100
s4-registry: add all winreg types to reg_value_types table.
Guenther
commit d4b8fb15b83140f217334fc848526dbcf33ee8fa
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 13:32:34 2010 +0100
s4:selftest: move samba4.net.api.become.dc from skip to knownfail
Someone should fix the remaining bug, as this test is expected to work.
metze
commit dd934472e8e456abc01a99637f91528128bec369
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 13:30:19 2010 +0100
NET-API-BECOME-DC: convert to torture api
metze
commit b71bbbab8b491140e3de7374b4c9232d387157e3
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 13:05:55 2010 +0100
s4:rpc_server/drsuapi: don't reset [out,ref] pointer to NULL in dcesrv_drsuapi_DsRemoveDSServer()
metze
commit 46b0cbe8798949caa60eeabcb6e982190b2c2916
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 13:04:56 2010 +0100
selftest: let the client also use the dns_host_file
metze
commit 4398871d1fabcc28af7c9a2aac5c91fe4fba2fa4
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 09:12:07 2010 +0100
RPC-DSSYNC: fix the build after idl changes
metze
commit 9592366dc7537adb0662d85c34c62d32a012a801
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 09:11:25 2010 +0100
librpc: rerun make idl
metze
commit aef4890a7c426c32a5c8df6f2108a24439dafeca
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 08:46:39 2010 +0100
drsuapi.idl: finish drsuapi_DsGetNT4ChangeLog idl
metze
commit d1e3898a05a860f40a7b34b357917aa873dfd145
Author: Matthieu Patou <mat at matws.net>
Date: Wed Mar 3 11:38:51 2010 +0300
s4: allow pam_winbind.so to be build on samba4
* Modify the nsswitch/config.m4 to add tests and build that will be put in configure by the autoconf/autoheader
We test if there is pam headers and pam library to be able to build the pam module
We add s4 build directive (that are normaly in standalone config.mk) this is due to the fact that we need
to rely on path that are guessed during configure.
Add tests not to build pam_winbind if pam dev files is not present
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 8306eb1c5f7126a72423e936dc36e77f86532d6b
Author: Matthieu Patou <mat at matws.net>
Date: Wed Mar 3 11:38:51 2010 +0300
s4: create ../lib/iniparser_build/config.m4
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 5f2f4849e556cb761c7d9fca78cb1ef9e1279974
Author: Matthieu Patou <mat at matws.net>
Date: Wed Mar 3 11:38:51 2010 +0300
s4: Modify auth/config.m4 to move pam tests to nsswitch.m4 so that we tests things in one place
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit cddc542ba5f30316ff4ee8fa591a54808b7be4c8
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 12:21:08 2010 +0100
s3-winreg: Fix _winreg_QueryValue crash bugs and implement windows behavior.
Found by RPC-WINREG smbtorture test.
Guenther
commit 6441a5b0b97973b834ba025f1762abe2b5c3f3c9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 11 15:34:01 2010 +1100
Explain why we don't use certain characters in the generated pw
commit a6253a45c0733e81a8d2200d1d8892383bc00c31
Author: Endi S. Dewata <edewata at redhat.com>
Date: Wed Mar 10 20:34:01 2010 -0600
lib/util - Removed curly braces from generate_random_password().
commit ade93755d51e80374e4e6bc6bc501e3230988799
Author: Endi S. Dewata <edewata at redhat.com>
Date: Tue Mar 9 19:12:30 2010 -0600
s4:provision - Updated FDS schema mapping.
commit 027123199e13cc02ae4edadd8f0dd0f0660e1193
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 11 14:49:34 2010 +1100
s4:provision Improve the handling of provision errors
The backtraces were too confusing for our users, and didn't tell them
what to do to fix the problem. By printing the string (rather than a
backtrace), and including in the error what to do, and what file to
remove, we give them a chance.
Andrew Bartlett
commit 59545276f2bd6df8ee5e75e96e707fd86ff44350
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 10 17:46:09 2010 -0800
Try and fix bug #7233 - print fails with jobs >4GB from Win7 clients.
Remove an arbitrarty 4G B limit that *doesn't need to be there* !
Jeremy.
commit e999472e36076e432187371b0853b887effe1067
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 10 16:01:41 2010 +1100
s4:libcli Use integrated name resolution when connecting SMB
This avoids pulling the address into a string and back again if given
a name, by letting the next async layer down do the name resolution.
If it was an IP address to start with, then the resolver library just
converts that to the struct socket_address.
Andrew Bartlett
commit 1af2cd2bd1c74c88dd00088eb37ad6286af7561f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Feb 24 22:57:09 2010 +1100
s4:libcli/resovle File based lookup module for DNS name types
This uses the new common code to read a file containing DNS host
names, so we don't have to use real DNS lookups in our test
environment.
Andrew Bartlett
commit 263d4b5c93a1ec8a027130800c98643f559677c5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 9 23:29:43 2010 +1100
libcli/nbt Add parser for a 'hosts' file that takes DNS record types
commit 3723e32e8cca79b52b97d6d6f4cda8ce5ce1bd33
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 9 23:34:10 2010 +1100
s4:samba_dnsupdate Add a 'file based' mode to samba_dnsupdate
For the testsuite to use DNS like names, we need to write these names
to a file.
Also, to have this run in 'make test' the usual rules about 'no 127.*'
IP addresses in DNS must be skipped, so glue.interface_ips takes two
arguments now
commit 79b4a3b22e8a70844b9654f057f6169c553cc809
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 10 16:04:44 2010 +1100
s4:lib/socket Don't go via a string when resolving addresses in connect_multi
This also removes the special case for IP addresses, and leaves that
to the code in the resolver library.
Andrew Bartlett
commit 9457b7ea2214aaa3a466e5dbc2daa0b931975073
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 10 15:56:13 2010 +1100
s4:libcli/resolve Use a more robust way to return the string address
By going via these tevent functions, we avoid needing to dereference
the struct socket_address, which may contain a 'struct sockaddr' or
strings. The new dns_host_file resolver returns in the form of a
struct sockaddr.
Andrew Bartlett
commit 0201b2fa9f31d8c9a75f3057f91b3f720f62292c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 10 15:55:26 2010 +1100
s4:lib/socket Add function to set a port on the socket address
commit 4ab3e220c4188b6c147e1a0fa8ce1e2965d74d43
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 9 23:30:41 2010 +1100
Move prototype to header of common code for set_sockaddr_port
commit 5ed18fad0037146bb321eb7e73c82be403a45917
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 11 10:42:18 2010 +1100
s4/rpc_server Don't segfault over replPropertyMetaData contents
The replPropertyMetaData may contain attrid values that we don't yet
have in the local schema. We need to deal with this - it is a serious
error, but we should not segfault.
Andrew Bartlett
commit c1fb657afc1184d192e0fbca05a8145e2383ffe7
Author: SATOH Fumiyasu <fumiyas at osstech.co.jp>
Date: Wed Mar 10 12:15:44 2010 +0900
vfs_netatalk: Segfault if hide files or veto files has no ".AppleDouble"
commit 3fd5ac63443717fd596546602d2e5477923f8f3d
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 00:07:00 2010 +0100
s4-smbtorture: only look at DATA_BLOB pointer when einfo[0].data_length > 0.
Guenther
commit 20d85d5d546ade003d70ca727c012785ba9f9b4b
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 10 14:40:20 2010 -0800
Added regression test for bug #7234 - Symlink delete fails but incorrectly reports success.
Ensure we can delete a symlink by path.
Jeremy.
commit 01801f3f94f76b86a92c5ffec7399b39977572f7
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 23:08:09 2010 +0100
s4-smbtorture: while testing PrinterDataEx also compare Get and Enum results.
Guenther
commit 367ddc3d1b525525a9dae077335e33dc0017b58e
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 10 14:06:18 2010 -0800
Fix bug #7234 - Symlink delete fails but incorrectly reports success to client.
Typo called LSTAT instead of STAT in the unlink by pathname path.
Jeremy.
commit 25d27ff57687337b8a2df231e9f8f6b01538cf73
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 22:04:02 2010 +0100
Revert "s4-smbtorture: disable winreg QueryValue test for today."
This reverts commit 420e3b8553c9e721fba27dd64eb78b2c7105ce64.
commit 61bf804e8f8d7b43ff7b31b119fb988b30a7e54a
Author: Björn Jacke <bj at sernet.de>
Date: Wed Mar 10 20:58:16 2010 +0100
Ñ4: EDQUOT needs to be mapped to NT_STATUS_DISK_FULL
commit ec6843402cdaecf8fa96f7b9c037f175dd128639
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 10 20:23:43 2010 +0100
s4:libnet - change variables to "unsigned" where needed
commit af72a63cff2e8a000232d4ea65b66fb87eda9f01
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 10 20:22:06 2010 +0100
s4:libnet_become_dc - change counter variables to "unsigned" where they count LDB objects
commit 5d10676b3b726a75e2dabe5e8624a7b95b97c424
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 10 19:49:25 2010 +0100
s4:winreg RPC - fix up the "QueryValue" call to work against the enhanced torture test
Found out by gd's updated torture test.
commit 490c0cefeb3fcbba3e8d38ecec23d3b438d58d92
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 10 09:47:02 2010 +0100
s4:registry/ldb.c - if "name" isn't set we should return WERR_INVALID_PARAM
commit 667e8d8fc63f83bdc9580493c61fe3374c2c4da7
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 12:24:59 2010 +0100
nsswitch: build libnss_winbind.so with SOVERSION = 2
metze
commit 3d70a3f78d34a9c2276a3c53c0a901ed075d1b61
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 10:29:33 2010 +0100
nsswitch: don't use socket_wrapper for winbind client code
metze
commit 0b4ad41973676c874a1b420b7711762b41eed9dc
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 11:14:50 2010 +0100
nsswitch: build libnss_winbindd.so only for the non merged build
metze
commit 65e92c6ffefffb34f65e48696c03b9d1da5f7408
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 10:44:41 2010 +0100
s4:build/m4/public.m4: add realname argument to SMB_BUILD_LIBRARY()
metze
commit bb1d81bab70125d56cfb3e6caff6a01503f33d3d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 14:12:28 2010 +0100
s4:rpc_server/wkssvc: don't reset [out,ref] pointer to 0
r->out.total_entries = 0; should be *r->out.total_entries = 0;
Otherwise we fail to marshall the reponse or crash if we run with
log level = 10 and trigger the ndr_print functions.
All out elements are already setup and initialized by the pidl generated code.
metze
commit 21326d48d7f9dcb93f15124114ade9484c02055d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 14:10:13 2010 +0100
s4:rpc_server/wkssvc: remove unneeded talloc_reference()
metze
commit 00ce349ad1be0b223a6c455667e894aac7869aba
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 14:08:34 2010 +0100
s4:rpc_server/wkssvc: avoid ZERO_STRUCT(r->out) and use already allocated [out,ref] memory
metze
commit 11a402afa88a5f74d060fccb47cca604dff9d925
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 13:59:37 2010 +0100
s4:rpc_server/srvsvc: remove unused ZERO_STRUCT(r->out);
Here it doesn't matter, but it's a bad example for other code
as it might reset the [out,ref] pointers which are already
generated by the pidl generated code.
metze
commit 7db0109bfec806ad0791b5117292620d26050f6c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Mar 6 00:35:17 2010 +0200
idl: Regenerate DRSUAPI idl files
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6853f452b411b0fc15a49f0bd013d5af423367d1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Mar 6 00:31:12 2010 +0200
s4/idl: drsuapi_QuerySitesByCostCtr1 'unknown' member is now known
and this it is a reserved fields for future flags - 'flags_reserver'
Must be 0 and is currently ignored.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 14fd25ae827688ab518045e65d8dfbc490db12b8
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 19:51:01 2010 +0200
s4/idl: QuerySitesByCost - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e76d6e9454ffada88f58d77e2b6df2138875d130
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 19:25:40 2010 +0200
s4/idl: DsGetMemberships2 - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6321b263614d73a9c0a0489ab8df9c173406e2e0
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 23:24:10 2010 +0200
s4/drs: DsRemoveDSServer - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 1ad805e04fb809ce42081caea9f04d6b1f31e92e
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 23:17:50 2010 +0200
s4/idl: DsRemoveDSServer - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 28cb2742206d8eb09be7c902e906a60bacfa56ed
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 23:04:52 2010 +0200
s4/drs: DsWriteAccountSpn - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d07883ed86e9073bb49c124b0212d8d41788bea6
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 23:03:21 2010 +0200
s4/idl: DsWriteAccountSpn - switch types should be unsigned
Changes also propagated into source code as they are
too minor to be done in separate commit
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 88494b2b6215a820551779a7cff8a02607e04237
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 22:50:57 2010 +0200
s3/drs: DsCrackNames - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 2483ed362be4350601f7b4f194d010f205cefe8c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 22:38:03 2010 +0200
s4/drs: DsCrackNames - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d22eaddf95386081e6ae41fd770142f9ba159ca1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 22:37:44 2010 +0200
s4/idl: DsCrackNames - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 00135d83f435d778229ac94cc5e5e083fce7a746
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 17:55:46 2010 +0200
s4/idl: DsGetMemberships - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 890d408feaa8c7761021d91f382bc7bfdb0c293d
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 17:53:03 2010 +0200
s4/idl: DsReplicaMod - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 4ea818e349fd30d2f0289bb6742455d3a3469fc9
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 17:19:32 2010 +0200
s4/idl: DsReplicaDel - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 9f71ffb06c06ba0a256131a42a200a96f4ddec59
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 17:11:38 2010 +0200
s4/idl: DsReplicaAdd - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 62b4b675fd73ccb082fd5cbee428a4ba976c6552
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 21:30:40 2010 +0200
s4/idl: DsReplicaUpdateRefs - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit feb4c8a3e345ae30f35f7a61d07c3fd3f0db446a
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 21:58:01 2010 +0200
s3/drs: DsGetNCChanges - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 9f21787131a062c15b4757d3e655fbb5fbc9960b
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 20:33:46 2010 +0200
s4/drs: DsGetNCChanges - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 89f8c35ac4cb123c930207f6e8dd2ff4e428db72
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 20:33:23 2010 +0200
s4/idl: DsGetNCChanges - switch types should be unsigned
Converting those types to unsigned should help in
creating DRSUAPI dissector for Wireshark also.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 163cc1a02d2dd1e5391fc37e5c438145d7b43b7e
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 3 22:07:55 2010 +0200
s4/idl: drsuapi_DsReplicaSyncOptions flags are no more used
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d142d9fb64d94148cad555ef9c62bbed935e3dc1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 3 22:07:12 2010 +0200
doxygen: talloc_get_type name fixed in Doxygen documentation
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit c5ba525748fdab6b182e35673983719b7c235127
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 14:17:23 2010 +0100
s3-winreg: add some debug statements to _winreg_QueryValue().
Guenther
commit 52ca26a820ab0688800a88038b656c2def83aeb6
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 13:04:17 2010 +0100
s4-smbtorture: do full winreg QueryValue test for values we created.
Guenther
commit 420aac75385d8992bfa5145041604a5efbb126a5
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 12:54:17 2010 +0100
s4-smbtorture: check for non existing value under version key in RPC-WINREG.
Guenther
commit 89c785c47aa0fceba148297116e863f46941bd42
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 2 17:02:01 2010 +0100
s3: Fix a long-standing problem with recycled PIDs
When a samba server process dies hard, it has no chance to clean up its entries
in locking.tdb, brlock.tdb, connections.tdb and sessionid.tdb.
For locking.tdb and brlock.tdb Samba is robust by checking every time we read
an entry from the database if the corresponding process still exists. If it
does not exist anymore, the entry is deleted. This is not 100% failsafe though:
On systems with a limited PID space there is a non-zero chance that between the
smbd's death and the fresh access, the PID is recycled by another long-running
process. This renders all files that had been locked by the killed smbd
potentially unusable until the new process also dies.
This patch is supposed to fix the problem the following way: Every process ID
in every database is augmented by a random 64-bit number that is stored in a
serverid.tdb. Whenever we need to check if a process still exists we know its
PID and the 64-bit number. We look up the PID in serverid.tdb and compare the
64-bit number. If it's the same, the process still is a valid smbd holding the
lock. If it is different, a new smbd has taken over.
I believe this is safe against an smbd that has died hard and the PID has been
taken over by a non-samba process. This process would not have registered
itself with a fresh 64-bit number in serverid.tdb, so the old one still exists
in serverid.tdb. We protect against this case by the parent smbd taking care of
deregistering PIDs from serverid.tdb and the fact that serverid.tdb is
CLEAR_IF_FIRST.
CLEAR_IF_FIRST does not work in a cluster, so the automatic cleanup does not
work when all smbds are restarted. For this, "net serverid wipe" has to be run
before smbd starts up. As a convenience, "net serverid wipedbs" also cleans up
sessionid.tdb and connections.tdb.
While there, this also cleans up overloading connections.tdb with all the
process entries just for messaging_send_all().
Volker
commit 184afeb57d0daeacfacdb8c976032697efe00214
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 8 07:24:03 2010 +0100
s3: Make TLDAP_IS_ALPHA and TLDAP_IS_ADH static functions
commit 7fdbbddf42bae65ef4f9679f7a2f14ccfc71fa88
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Mar 10 12:07:44 2010 +0100
s3-passdb: Fix typo in debug message.
Karolin
commit eeb8c36326c853865c7844d2f3caaa3ccc4da832
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 11:16:20 2010 +0100
s4-spoolss: remove unsed iconv handle from dcesrv_spoolss_GetPrinterData().
Guenther
commit eeb05bf746b0eeeba94fe51180e0ebf855c6967a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 10 09:22:42 2010 +0100
s4:winreg RPC - don't crash when incoming data wasn't correctly specified
Also found by the WINREG torture test enhancements by gd.
commit bb507d1d49917fcdeebb8fc3c40b6fabf4055b7d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 10 09:10:53 2010 +0100
s4:lib/registry/ldb.c - fix up registry backend to be more robust
This should let the new WINREG tests written by gd at least pass against us.
commit 41be39013b02a6813e87af9d6579a80b3ad5227f
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 9 20:06:19 2010 -0800
Fix the shell script in the root case. When run as root, make test now detects CAP_DAC_OVERRIDE being left on in error.
Jeremy.
commit 420e3b8553c9e721fba27dd64eb78b2c7105ce64
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 02:52:13 2010 +0100
s4-smbtorture: disable winreg QueryValue test for today.
wow, both s3 and s4 crash on full coverage winreg QueryValue testing.
Guenther
commit 0a253e6b72dbf5cfe6be1952fde72cf492680e36
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 02:50:32 2010 +0100
s4-smbtorture: fix some build warnings in RPC-SPOOLSS test.
Guenther
commit 3855c948c029490c616f4b4aa81b47e6df8c12a0
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 9 16:36:48 2010 -0800
Add tests which, when run as root, will ensure we can't write
into a read-only directory, or read a owner-read-only file.
Jeremy.
commit ae79d8ce02921e9a5c82433527909c7f707051e3
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 00:43:57 2010 +0100
s4-smbtorture: on HKLM hive test the well known CurrentVersion value.
Guenther
commit 722daf43d0ef3a7951d8ee6b4aea97fd3e056719
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 00:17:59 2010 +0100
s4-smbtorture: add full coverage test for winreg QueryValue calls.
Guenther
commit 62b41e684286ec04dfb0c03b42d0d028212084c9
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 00:16:46 2010 +0100
s4-smbtorture: rework test_winreg_QueryValue in RPC-SPOOLSS-PRINTER once again.
Guenther
commit 6d10645bcae39f1377c1e3bfd01578519586289d
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 00:06:52 2010 +0100
s4-smbtorture: add tests for set and delete value in RPC-WINREG.
Guenther
commit f7f67e9e1f678e0256deeca94939bf29e6a04fa4
Author: Simo Sorce <idra at samba.org>
Date: Tue Mar 9 16:40:55 2010 -0500
Fix typo and convert spaces to tabs
commit 8fa81e99093bccf40c4ddea162896ccc020da9db
Author: Simo Sorce <idra at samba.org>
Date: Tue Mar 9 16:41:44 2010 -0500
Fix typo
commit 9adbba6fb9404bb7f6d88cf58e7d5ce06fe73b0e
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 9 13:14:18 2010 -0800
Allow "make test" to complete as root. Obviously only safe on tightly
controlled developer machines.
Jeremy.
commit 25452a2268ac7013da28125f3df22085139af12d
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 9 11:14:14 2010 +0100
s3: Fix a NULL pointer dereference
Found by Laurent Gaffie <laurent.gaffie at gmail.com>.
Thanks!
Volker
commit c05d13d3c2c5d516c55cec133ba635f528034862
Author: Simo Sorce <idra at samba.org>
Date: Sun Mar 7 20:20:45 2010 -0500
s4:ldb fix escape parsing
sscanf can return also on short reads, in this case an invalid escape
sequence like '\1k' would be accepted, returning 1 as value and swallowing the
'k'. Use an auxiliar function to validate and convert hex escapes.
commit 9f53820de731ca1a7f06341958b43fcfccf82600
Author: Simo Sorce <idra at samba.org>
Date: Sun Mar 7 20:20:02 2010 -0500
s3:tldap add own filter parsing
Also add torture test to check filter parsing.
commit 2ee3cca4ffd60d091ca5fe8035f90969f6b91cc4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 9 17:54:12 2010 +0100
s4:winbind - use "unsigned" variables where possible
commit 1310eba9705d6c49ec36555f546c4b99174ee695
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 9 17:52:10 2010 +0100
s4:winbind/wb_cmd_getgroups.c - fix up warnings
Also fix some indentations.
commit 98bc10d0a8284387789fafc32a1a1e54a7e31824
Author: Matthieu Patou <mat at matws.net>
Date: Tue Mar 9 15:35:54 2010 +0300
s4:unittest Fix unittest to reflect that wbinfo -r no longer fail
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit bc766a9a8475344eb4556da91f68874523d1fe52
Author: Matthieu Patou <mat at matws.net>
Date: Wed Mar 3 23:29:15 2010 +0300
s4:winbind: stub implementation of WINBINDD_PAM_LOGOFF
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 238ff24341767230614a3931646df59c1cf87a52
Author: Matthieu Patou <mat at matws.net>
Date: Wed Mar 3 23:29:32 2010 +0300
s4:winbind: Fix a misplaced returned info
libwbclient expect to have in auth.exra_data the INFO3_TXT and in auth.unix_username the username
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 42b5b381871dd935aeda34669a2c03a05a63f5f0
Author: Matthieu Patou <mat at matws.net>
Date: Thu Mar 4 03:05:06 2010 +0300
s4:winbind Implement logic for getgroups to work
This function is called by the system everytime we do a id user or when we do wbinfo -r
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 30baf31411363ebd79a6366caf4a792850c40192
Author: Matthieu Patou <mat at matws.net>
Date: Thu Mar 4 02:46:36 2010 +0300
s4:winbind: implement calls for allowing getent groups
This is to say getgrent and setgrent, and the associated technical objects (states, build directives,...) needed.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 74166c380c5ad110d93c4e7141eaa7b1d069ced8
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Feb 17 09:51:41 2010 +0100
s4:torture/rpc/netlogon.c - "LogonGetDomainInfo" test - make it compatible against Windows Server 2008
This is a reworked version of the mentioned test which passes against Windows
Server 2008. The previous version, also mainly written by me passed only against
Windows Server <= 2003.
commit 9995a37a8cffb5e20e2b0ef5abfee602673d362d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 5 11:09:57 2010 +0100
s4:netlogon RPC - "LogonGetDomainInfo" - make the call compatible with >= Windows 2008
Add more security checks and other corrections to imitate Windows Server >= 2008.
commit 1deefcaee1f3de97c0377b513a6f9c3d1181e2b0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 9 17:12:02 2010 +0100
libcli/auth/schannel_state_tdb.c - fix an obviously wrong error handling
commit 48cdca0d474cc6ae6fa6be88580d5f2fbcb0dd84
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 9 16:10:40 2010 +0100
s4-smbtorture: fix uninitialized variable in winreg QueryValue call.
Guenther
commit 8fd43f44efcf0a5ee3ccf8ad1d2b69d1570e6ac4
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 9 15:36:08 2010 +0100
s3: Fix a typo. Thanks to Christian Ambach for pointing me at it :-)
commit deebbe7cfae309baed9654e6e8354886eb3c568f
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Tue Mar 9 14:56:46 2010 +0200
A helper function to get the Infrastructure DN.
commit 4b8961bc6f7aaf2c420d7b2bc2ef6eb07ab42429
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Tue Mar 9 13:53:41 2010 +0200
Fixed a bug in acl tests - python error when we create user/group/ou with a descriptor.
commit f742623b7b8a19ff3230754562deeac7657cd8cd
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Sun Mar 7 21:42:53 2010 +0200
Added a check for permissions to modify the RDN attribute on rename.
Necessary because rdn module will be moved lower than acl in the stack.
commit ec53a0ca5a568627df8dac91ec2c736b0d106829
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 25 16:01:15 2010 +0100
s4:dsdb/dns: change callers of samba_runcmd()
metze
commit 6ea339379890fa1f99e802cac4f705b96ffcff8d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 24 12:43:45 2010 +0100
lib/util: change samba_runcmd() to use tevent_req _send/_recv
metze
commit 56b13ee8edfa434cbca69af17aeea58cc5502b40
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Mar 8 20:34:39 2010 +0100
Revert "Fix bug #7067 - Linux asynchronous IO (aio) can cause smbd to fail to respond to a read or write."
This reverts commit a6ae7a552f851a399991262377cc0e062e40ac20.
This fixes bug #7222 (All users have full rigths on all shares) (CVE-2010-0728).
(cherry picked from commit 1c9494c76cc9686c61e0966f38528d3318f3176f)
commit 9113e14b291c10c824d2d8ea5cb28ffc0adcb63b
Author: Michael Adam <obnox at samba.org>
Date: Mon Mar 8 22:32:41 2010 +0100
s3:build: Fix automatic building of vfs_tsmsm if gpfs and dmapi are present.
Michael
commit b845025daf2da85eb1af6cbfa7878cf59a32f2a6
Author: Michael Adam <obnox at samba.org>
Date: Mon Mar 8 23:37:21 2010 +0100
s3:release-scripts: fix create-tarball to treat vendor patch level correctly
commit 8a76352544ccbac7e9aca2c3357256a01493cc7b
Author: Jeff Layton <jlayton at redhat.com>
Date: Mon Mar 8 15:05:05 2010 -0500
samba: remove Linux cifs-utils files from samba master branch
This patch removes all of the files from the samba tree that should now
be provided by the cifs-utils package. It also drops a
"README.cifs-utils" into the topdir with a URL to the main cifs-utils
webpage. This is for people who don't want the lists and might be taken
by surprise by the change. That's optional, but I think it's a good idea
for a least a release or two.
Signed-off-by: Jeff Layton <jlayton at samba.org>
commit fde707aa0c563d239c2f8c442cddfee0b6ff057f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 20:36:16 2010 +0100
s4:"dns_update_list" file: install it properly into the private directory
This is what the "samba_dnsupdate" script requests (line 220).
commit a34eafc693d8750c0883823068e5c6f7355efa04
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 20:30:06 2010 +0100
Revert "s4:script/installmisc.sh - install "dns_update_list" to target setup folder"
This reverts commit b49276e291274652d46eed39249c07531e32b591.
commit 8d3b7d418edc6955271d262bbdbf307a45b7fb7f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 18:01:32 2010 +0100
LDB:asq module - change counters to "unsigned" where appropriate
commit df17e1b962d084315ebcba78a7ebe1d659781dbf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 18:01:32 2010 +0100
LDB:sort module - change counters to "unsigned" where appropriate
commit 8248069c91922c93bf9020cc1f94b8cf59c43e28
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 18:01:32 2010 +0100
LDB:rdn name module - change counters to "unsigned" where appropriate
commit 681c88798a1e16da9dc13688c1ed18659127684b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 18:01:32 2010 +0100
LDB:paged searches module - change counters to "unsigned" where appropriate
commit 7e7d9a8a4827f283d13f393404da978130baaa93
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 18:01:32 2010 +0100
LDB:paged results module - change counters to "unsigned" where appropriate
commit a4dc50ef1273259c53f96ee4aaaef917e8daeffe
Author: Björn Jacke <bj at sernet.de>
Date: Mon Mar 8 17:53:18 2010 +0100
s3: add missing Makefile.in changes for vfs_crossrename
commit 2f1fa4f8ca020c5d96bd3ac8706c54cd881aaa03
Author: Björn Jacke <bj at sernet.de>
Date: Mon Mar 8 12:38:38 2010 +0100
s3: add man page for vfs_crossrename
commit 0769a1833aff2057e7f6ab05713d7fd6886d6040
Author: Björn Jacke <bj at sernet.de>
Date: Mon Mar 8 12:59:40 2010 +0100
s3: add vfs_crossrename
this module adds optional server-side support for limited rename operations
beyond filesystem boundaries, which was the previously the default.
commit 583de7b582956d3bec7e875d88ef16b3b8ac6e53
Author: Björn Jacke <bj at sernet.de>
Date: Mon Mar 8 12:52:13 2010 +0100
s3: remove cross-device rename support from vfs_default
cross-device rename support has some major limitations:
- on huge files clients will timeout or hang
- ACLs and EA information is not retained
Usually a client will have to handle this. A Windows Server with a reparse
point will also just return NT_STATUS_NOT_SAME_DEVICE. We will now by default
do the same.
I will add a vfs module which will restore the old cross-device renames.
commit f4cb528ac510d3381a92a303e858edaf9e3d908a
Author: Jeff Layton <jlayton at redhat.com>
Date: Mon Mar 8 09:06:40 2010 -0500
samba: remove cifs-utils tools from build systems
Now that cifs-utils are their own project, we need to go ahead and pull
them out of the samba tree. This patch represents the first step toward
that end.
Remove the cifs-utilities from the source3 and source4 builds. Please
pay particular attention to the source4 piece. I'm not at all familiar
with the build system there, and would appreciate someone sanity
checking my changes.
It also adds a small README.cifs-utils file in the topdir. This is
optional, but I think it's a good idea to carry this for a release or
two.
Once this patch looks ok, I'll plan to do another patch to actually
remove the client dir and the relevant docs-xml files from the tree
altogether.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 4e16a285c7c34732ba95fb5ec201e6f11cf88bef
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 18:35:17 2009 +0100
LDB:common - Change counters to "unsigned" where appropriate
To count LDB objects use variables of type "unsigned (int)" or "long long int"
on binary or downto searches.
To count characters in strings use "size_t".
To calculate differences between pointers use "ptrdiff_t".
commit 30ff229a3e32549073424b423302e976c988d563
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 11:43:40 2010 +0100
s4:LDB TDB index code - reintroduce accidentally removed code part
This was removed by 95d726f3018ef5d249f89d56bde24b7ee0c24ecf. Sorry.
commit f8dba773a5174055e3c206d006317b5275481636
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 09:58:28 2010 +0100
s4:ldb_ldap.c - fix indentation
commit 2d03011858ca33ee56b4c36ac6a901850ff69864
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 18:35:17 2009 +0100
LDB:TDB backend - change counter variables to "unsigned" where appropriate
commit 4a2b78a6f36d4eb2a8763464f33720936921650c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 18:35:17 2009 +0100
LDB:SQLITE3 backend - change counter variables to "unsigned" where appropriate
commit 95d726f3018ef5d249f89d56bde24b7ee0c24ecf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 18:35:17 2009 +0100
LDB:LDAP backend - change a counter variable to "unsigned"
commit b33a340e0a2dcf972f0e53d3ff28a17eb42e4582
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 18:35:17 2009 +0100
LDB:map - make LDB "signed-safe" on counter variables where appropriate
commit 7a7cb5e9c25131e6eadc24f2e5a5a020e015731d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 08:02:32 2010 +0100
s4:ldif_handlers - Change "unsigned int" to "uint32_t" which fits better here
commit 818d51862c6234d0ffb08fcae6e8425907facde4
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Mar 3 15:15:03 2010 +0100
s4-gensec: Fixed wrong usage of error_string.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 85598be1f967765f65b78940b73187609fc9694d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:03:21 2010 +0100
s4:extended_dn_out LDB module - change counter variables to "unsigned" where appropriate
commit 632adf73288fe65c19ece464994f8e2c5021116c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:02:47 2010 +0100
s4:repl_meta_data LDB module - change counter variables to "unsigned" where appropriate
I used "unsigned int" counters where we count LDB objects (LDB specification
prescribes to use "unsigned" index variables).
But on DSDB replication object counters I used "uint32_t" typed variables as it
is suggested.
If a counter variable counts both types of objects I used "unsigned int" since
size(unsigned int) >= size(uint32_t), but on most platforms equal.
commit 3bb3667b4378702ba63352bfc172869379249302
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:04:11 2010 +0100
s4:local_password LDB module - change counter variables to "unsigned" where appropriate
commit 6997185e36a0f497e78ff18481ee3a1a0a9aa059
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:18:39 2010 +0100
s4:ranged_results LDB module - change counter variables to "unsigned" where appropriate
commit a973d9eedb2e2db78b5985984f5f04ace4daf4da
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:18:02 2010 +0100
s4:objectguid LDB module - change counter variables to "unsigned" where appropriate
commit cd43dd04af47e210dbab13826642c2434a1f2053
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:17:28 2010 +0100
s4:objectclass LDB module - change counter variabls to "unsigned" where appropriate
commit 2932df57ae77da81bf007996013ed29b170caef5
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:16:55 2010 +0100
s4:anr LDB module - change counter variable to "unsigned"
commit 77e1497a7b466569d5c733fc929d4e663a766fef
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:16:24 2010 +0100
s4:acl LDB module - change counter variable to "unsigned"
commit f9f7199250486aebf4829f708b5f934d097c3245
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:15:37 2010 +0100
s4:linked_attributes LDB module - change counter variables to "unsigned" where appropriate
commit 049f9d3c1a62f00b5f6eae97cfebddd45bf2edbc
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:14:16 2010 +0100
s4:kludge_acl LDB module - change counter variables to "unsigned" where appropriate
commit 4ad912d2daed57b08f75b59638aa940109d8f167
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:13:11 2010 +0100
s4:proxy LDB module - Change counter variables to "unsigned" where appropriate
Use "size_t" when counting string index positions.
commit 90e236544f60c847e3fc7e3c183f9759850d3575
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:12:30 2010 +0100
s4:schema_data LDB module - change counter variables to "unsigned" where appropriate
commit ad7dd1cf71a80f707a01af9874777ba88d79dcd8
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:11:48 2010 +0100
s4:resolve_oids LDB module - change counter variables to "unsigned" where appropriate
commit b85b9b364faca9c3c3aef467f3825b3055de9622
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:11:03 2010 +0100
s4:rootdse LDB module - change counter variables to "unsigned" where appropriate
commit d1dd0a560cb6a847f9fdd47b3a4d2ff9d8c09f2b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:10:00 2010 +0100
s4:partition LDB module - change counter variables to "unsigned" where appropriate
commit 5a54b204c3d2b6c9282cdd459a3d1030fde48926
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:schema - Change also here counters to "unsigned" where needed
Counters which are used in the way "for (i = 0; array[i] != NULL; i++)" I
modified to "unsigned" since for sure we don't want to have negative array
indexes there.
commit bd5f08f3d10d12a34a9b3f40594d36f0d6d37eb9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:schema_syntax.c - Change also here counters to "unsigned" where needed
Counters which are used in the way "for (i = 0; array[i] != NULL; i++)" I
modified to "unsigned" since for sure we don't want to have negative array
indexes there.
There were many counter variables typed "uint32_t". This isn't fully correct
since those count LDB objects. The amount is saved in a "num_*" variable which
is "unsigned" without a bitlength specification. Therefore change also these
counters to be plain "unsigned".
commit ae049c49df88fcbcce490cd81361912e67775b12
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 18:30:10 2010 +0100
s4:libcli/wrepl: rewrite the low level request handling to use tevent_queue and tstream_context
metze
commit acd3a2729e02d765e31166c3211c3f3fcc3c6252
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Mar 7 16:59:12 2010 +0100
s4:wrepl_out_helpers: add a WREPLSRV_PUSH_NOTIFY_STAGE_WAIT_UPDATE stage
This makes the logic more consistent.
metze
commit 8c16d5e4dc9312475c7d5dcc07022dbf316500cf
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 16:03:23 2010 +0100
s4:libcli/wrepl: add wrepl_socket_is_connected()
metze
commit f1e28a0b410169d3bfc0a069bf5de50c6cc8a27c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 15:49:27 2010 +0100
s4:libcli/wrepl: make struct wrepl_request private to winsrepl.c
metze
commit 2450fc1c271b9f944455370510062164e68a8d59
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 15:22:10 2010 +0100
s4:libcli/wrepl: implement wrepl_request_send as a tevent_req based wrapper
metze
commit cb4f2699453b8092be0c0ff42fa0f31582d38da5
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 15:03:29 2010 +0100
s4:libcli/wrepl: rename enum wrepl_request_state => enum wrepl_request_internal_state
metze
commit 311a60df9cdbbe8641e7a69ddc1dadd5a7ac7f05
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 14:44:23 2010 +0100
s4:libcli/wrepl: move wrepl_request_send/recv => wrepl_request_internal_send/recv
metze
commit fc41e4791f3a59cd391d63ebc155407ea4787bae
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 14:34:36 2010 +0100
s4:torture/nbt: use wrepl_associate_stop() instead of build the request by hand
metze
commit 6dfc96c329421979e7367ceee3a65633e4738472
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 14:29:36 2010 +0100
s4:torture/nbt: use wrepl_request() instead of wrepl_request_send() followed by wrepl_request_recv()
metze
commit db051f0db6d45d4293d58c48ae620d8945ba8c65
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 14:17:08 2010 +0100
s4:libcli/wrepl: add my copyright
metze
commit 6870313db5600c2dd68c51e757f233dad56aa250
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 6 19:39:45 2010 +0100
s4:lib/registry/ldb.c - fix trailing whitespaces
commit ed678a2234dda656d0a2d5bbf65b22afa7a47144
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 6 19:36:01 2010 +0100
s4:registry library - fix up "reg_ldb_set_value"
The previous logic was wrong since it tried to add empty data in some cases
which always ended in an error. This problem should be fixed with the new logic.
commit f5b86cdac52c1eb7f30c1900cce880ed868789c8
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 6 19:20:48 2010 +0100
s4:registry library - make "reg_ldb_pack/unpack_value" more robust
This to prevent segmentation faults, wrong server inputs ecc.
commit 73e7aa863bddd717e1556b0c7b8fdc80922609c3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 6 18:51:41 2010 +0100
s4:provision.reg - call us Windows 2008 from the current version point of view
commit 89ab6818e170b305a70b7258ac11e11a2eb53aeb
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 7 21:07:20 2009 +0100
s4:libregistry - change counters to be "unsigned"
Also the s4 registry library has to have "unsigned" counters like the Windows
one.
commit 5a3633faf12cdec41dc18064d5364a3fd067a22d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Mar 6 12:57:35 2010 +0100
s3: Fix the build of net_afs.c with --fake-kaserver=yes, bug 7216
Thanks to Geza Gemes <geza at kzsdabas.hu> for filing this bug
commit e10fa46f3e5b3481e3c95e52f9d666eafd50ed25
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 18:35:17 2009 +0100
LDB:tools - change counters to be unsigned
In most cases we do count LDB objects which are enumerated within the "unsigned"
type. Therefore no need to use "signed" counters.
commit 24049e8fc58c5216b3af8fdaf327471eaff882a1
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 6 11:19:04 2010 +0100
s4:lsa RPC - fix up "gendb_*" result codes
Make the resultcodes consistent: that means:
result < 0 -> NT_STATUS_INTERNAL_DB_CORRUPTION since our DB had a critical
error
result >= 0 -> depends on the function usage. I tried to let the logic always as
it was before.
commit a6cf89228f2daf5a95284ec57b9c38326e5574dc
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 19:26:02 2009 +0100
s4:lsa RPC - Change some counters to be "unsigned" where needed
The "count" size specifiers I typed "uint32_t" since they're often returned as
an "uint32_t" (consider the IDL file). LDB counters need to be "signed" if they
count till a limit of a "gendb*" call or "unsigned" if they count directly the
number of objects.
commit 9442a5593d6de13e14e5df3b62e9fa295f42b3bd
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 19:26:02 2009 +0100
s4:samr RPC - Change some counters to be "unsigned" where needed
The "count" size specifiers I typed "uint32_t" since they're often returned as
an "uint32_t" (consider the IDL file). LDB counters need to be "signed" if they
count till a limit of a "gendb*" call or "unsigned" if they count directly the
number of objects.
commit c61c9c3a4cda79fb82adf59bcb563d85797b9b76
Author: Jeremy Allison <jra at samba.org>
Date: Fri Mar 5 15:10:30 2010 -0800
Fix for bug #7189 - Open txt files with notepad on samba shares creates problem.
Ensure we don't use any of the create_options for Samba private
use. Add a new parameter to the VFS_CREATE call (private_flags)
which is only used internally. Renumber NTCREATEX_OPTIONS_PRIVATE_DENY_DOS
and NTCREATEX_OPTIONS_PRIVATE_DENY_FCB to match the S4 code).
Rev. the VFS interface to version 28.
Jeremy.
commit 95f22262656f38e5e0ea0b918ee68e958a9277f4
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 18:00:15 2010 +0200
s4/tort: fix annoying "union spoolss_PrinterInfo" undefined warnings
Signed-off-by: Günther Deschner <gd at samba.org>
commit b2ff159034cfe87494b01a62f136ea4e3a7a5aa7
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 22:03:26 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit f258e98e177f0f75bab99654b9f32b10bb7ce37f
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 21:56:50 2010 +0100
winreg: fix winreg_QueryValue IDL.
Note that before this change pidl generated code that just dereferenced size_is
and length_is values from unique pointers without checking whether these
pointers were actually NULL.
With this change, pidl now throws a warning like:
warning: Got pointer for `data_size', expected fully derefenced variable
which is not correct, probably because pidl does not evaluate the C expression.
Guenther
commit 47d366b5729b21e630760c36ef743dd5374a29fd
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Mar 5 11:15:35 2010 +0100
s3-rpcclient: Leave setprinterdata directly if not enough args were passed.
If we don't pass enough arguments we don't have to close the connection.
Signed-off-by: Günther Deschner <gd at samba.org>
commit f40550335019aad82180f813f6299d440f4a5977
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Mar 5 15:54:31 2010 +0100
s3-rpc_server: Document rpc_pipe_open_internal.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 58c9070746a3e0725f5d3a3ce6deda8fad0c5974
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 20:32:16 2010 +0100
s4-smbtorture: fix RPC-SPOOLSS-WIN after PrinterData IDL changes.
Guenther
commit f24dfbfb181b1d550d30c6942aa9ca75d164524d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 18:57:24 2009 +0100
s4:drsuapi RPC - Change also here counters to "unsigned"
No need to have "signed" counters at those places.
commit 61ae4be2567738456be07b36c6ea9012906e3e7d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:dsdb/util - Change also here counters to "unsigned"
No need to have "signed" counters at those places.
commit 3ec4c643a4e1d3f2532b68cec816fa3f847eac1c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:repl - change also here the counter variables to "unsigned"
I changed also some "uint32_t" to "unsigned" since the LDB interface doesn't
specify the bitlength of the unsigned type.
commit 6a91bf60e212082622c57448105154e7350d0028
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 7 21:15:17 2009 +0100
s4:wrepl_server - change also here the counter variables to "unsigned"
I changed also some "uint32_t" to "unsigned" since the LDB interface doesn't
specify the bitlength of the unsigned type.
commit fce6e1def8539f1516827118d0cf10a12d1d91a0
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 5 17:06:08 2010 +0100
s3: Make "smbcontrol xx debuglevel" print the correct cluster pid
commit 91ff11d50458a951ab0adc9b37bcb0ef4ee09e15
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 16:34:17 2010 +0100
s4-spoolss: fix dcesrv_spoolss_GetPrinterData build.
really not my day today...
Guenther
commit 6cbb8fdc48c5e418a56eb4348bcf6c66142ea0bf
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 16:00:14 2010 +0100
s4-smbtorture: fix test_SetPrinterDataEx_matrix() call. sorry...
Guenther
commit a5db27936e9c6aad99300ea46808481803f57e08
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 5 15:30:22 2010 +0100
s3: Remove the unused parameter "persistent" from fetch_locked_internal
commit c7835a4845bbc7e4d340a75229866b2d4946f6eb
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 5 15:28:39 2010 +0100
s3: db->persistent==true was handled earlier, make this more obvious
commit d4db966c06c079f9f837c4d181f4b2b75f4a9b36
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 14:42:10 2010 +0100
s4-smbtorture: when checking PrinterData matrix, include winreg cross reference checks.
Guenther
commit f385f4aeb0e74fc87a22927a23b2289a038af98d
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 14:03:03 2010 +0100
s4-smbtorture: hand down printername to test_SetPrinterDataEx_matrix.
Guenther
commit c5fb6551d92f50ee7b29d330b4458e8a4224be20
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 00:56:52 2010 +0100
s4-smbtorture: add more paranoid checks for REG_DWORD SetPrinterDataEx tests.
Guenther
commit 65f453ce71fa5911aa5f99b80df9834135052d4b
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 23:13:10 2010 +0100
s4-smbtorture: remove check for selfmade parsing artefact.
We were checking against a phenomenon that we created ourselves at the pidl
layer...
Guenther
commit 8e6dd25391d77b69859a3b622a1b116fa8000a40
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 17:58:49 2010 +0100
s3-libads: fix get_remote_printer_publishing_data after spoolss_EnumPrinterDataEx IDL change.
Guenther
commit 55326549852a3ab1114a8cb1536578ae02183eb8
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 16:47:33 2010 +0100
s3-spoolss: fix _spoolss_EnumPrinterDataEx after idl
Guenther
commit becbb624eb90b84ff20b128de1aee5f5acfc3dbc
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 16:47:10 2010 +0100
s3-rpcclient: fix rpcclient after spoolss_EnumPrinterDataEx IDL change.
Guenther
commit a99ac4f236d9a93d4ca8bd874cbab89b155c644a
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 16:46:53 2010 +0100
s3-net: fix net after spoolss_EnumPrinterDataEx IDL change.
Guenther
commit 80d2e22cd8b1d6ef8c6d5b40f465995d5ba14fe8
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 17:04:19 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit 4df1047e8398a9af4df94c7e245d993d1f60ef5f
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 16:40:31 2010 +0100
spoolss: fix spoolss_EnumPrinterDataEx IDL.
Guenther
commit f797ec9d8154a7dfc12256b24c92d3cf02d33359
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 22:40:31 2010 +0100
s4-smbtorture: fix smbtorture after GetPrinterData{Ex} after IDL changes.
Guenther
commit 8e499ec847fb2d342a544edf705bb9398967ca24
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 18:21:50 2010 +0100
s4-spoolss: fix spoolss_GetPrinterData implementation after IDL change.
Guenther
commit 7643afa70e879efc059c75b8309bf89dbb3c459b
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 15:46:28 2010 +0100
s3-rpcclient: fix rpcclient after spoolss_GetPrinterData{Ex} IDL change.
Guenther
commit fbb6d00eed6bca960aa53a5967a2dea426cacfe2
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 15:39:59 2010 +0100
s3-spoolss: fix _spoolss_GetPrinterDataEx after IDL change.
Guenther
commit 63c0821b0b5c79afcff62e52891641cf42386e90
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 17:02:42 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit 0e779b573bf5c27bf08ceefa09a7e2b07691f948
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 15:38:18 2010 +0100
spoolss: rollback GetPrinterData[Ex] IDL.
Guenther
commit ca319bfff2f2e73fb83587d032fd78553314eae0
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 22:22:45 2010 +0100
s4-smbtorture: fix smbtorture after SetPrinterData{Ex} IDL changes.
Guenther
commit 4956650369156dfff96ccc827e55697ec642240d
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 15:34:49 2010 +0100
s3-rpcclient: fix rpcclient after spoolss_SetPrinterData{Ex} IDL change.
Guenther
commit 37ca9288d2631b48a8eb50c01d6c0cc462d8ee31
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 15:34:22 2010 +0100
s3-net: fix net after spoolss_SetPrinterData{Ex} IDL change.
Guenther
commit 9a934832797c3e72859770719e05d19a5eefa14d
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 17:00:34 2010 +0100
s3-spoolss: fix _spoolss_SetPrinterData{Ex} after IDL change.
Guenther
commit 3b01ab82482c249e7f7420a9769432ace79183d3
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 17:00:09 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit 0528515be44c40603827bb153ff0e2bac7b0f041
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 3 18:22:57 2010 +0100
spoolss: rollback SetPrinterData{Ex} IDL.
Guenther
commit ce296d2a53674668b9e4e6f18b88ff34f2dd2190
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 5 15:01:07 2010 +0100
s4:dcesrv_samr_AddAliasMember - wrap a long "DEBUG" statement
commit 013184a1822d2117078f9e0b89a3471a692cbded
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 18:35:55 2010 +0100
s4:libcli/wrepl: convert wrepl_associate_stop_send to tevent_req
metze
commit 28033bf635f0925f24e5f5f580e8ff8830338441
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 17:18:23 2010 +0100
s4:libcli/wrepl: convert wrepl_connect_send to tevent_req
metze
commit 883b10983ba3d1c4d0f692b9c661316d8027a83b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 18:38:16 2010 +0100
s4:libcli/wrepl: convert wrepl_associate_send to tevent_req
metze
commit 2e24def8063f15f6d29fae667e7d1c50b90d1cd5
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 15:14:28 2010 +0100
s4:libcli/wrepl: convert wrepl_pull_table_send to tevent_req
metze
commit 50f1dc9db8fbe0da7a6c6d5dde54da08994be318
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 15:12:05 2010 +0100
s4:libcli/wrepl: convert wrepl_pull_names_send to tevent_req
metze
commit 1a8815abd32b1a888c4fc202000891233f9437fe
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 13:38:08 2010 +0100
s4:libcli/wrepl: use UTIL_TEVENT
metze
commit 0dfc77891509f056352748e3082794cb360200c7
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 09:45:01 2010 +0100
s4:libcli/wrepl: avoid neested named structures
metze
commit 4c51c073806048c6ad65e2ea44877a144f560699
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 11:31:03 2010 +0100
s4:torture/nbt: avoid the usage of wrepl_pull_table_send()
metze
commit 6eedba102b58944c462e913e2c97a37b0b83254c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 08:22:36 2010 +0100
libcli/auth: add a const to des_crypt112_16()
metze
commit 31293c64a323eb59fd8e81cd44bb33768a43e0c0
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 11:16:12 2010 +0100
s3:winbindd: add DEBUG(10,...) for the end of each top level
That will hopefully make debugging a bit easier (at least for me).
metze
commit 6f118189230da5764d8f8dd7c234a43298b6115d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:kcc - Change some counter variables to be unsigned
The upper limits are unsigned variables therefore also the counter variables
need to be like that.
commit 82c2448573e9093307af42f7249d6b41fcccfb06
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:samdb_privilege.c - Change two counter variables to unsigned
Also here in both cases the unsigned counter fits better than the signed one.
commit c695ce729b0e92a1033d505df04cd7813cb3b1b7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:cracknames - Change two counter variables to unsigned
In both cases the unsigned counter fits better:
- in the first one since we are counting LDB objects starting from 0
- in the second since we are counting an array starting from 0
commit e8788808da604e867c8e1b31349abdd934a6789f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 23:07:26 2010 +1100
s4-pvfs_sys: build on systems without O_NOFOLLOW or O_DIRECTORY
commit 568f0851f0fceca1511b689040340e19ef1b538b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 22:58:18 2010 +1100
s4-pvfs_sys: talloc_free should be before errno restore
talloc can potentially change the errno
commit 2c2156ea9539a818625b0914aa2e1596571f428f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 22:48:09 2010 +1100
s4-pvfs: use pvfs_sys_fchmod()
commit dae9d20e14cafb7b688a7aa3f3680dafd727fa3f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 22:47:50 2010 +1100
s4-pvfs: set default for perm override based on system features
If the system has O_NOFOLLOW and O_DIRECTORY then we allow for
overrides by default. If not, then we disable by default, as we will
be more vulnerable to symlink attacks
commit f7c97c8597a2ac375983909c26027abde060edb4
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 22:46:44 2010 +1100
s4-pvfs: use O_FOLLOW one level at a time for security overrides
To prevent symlink attacks we need to use O_NOFOLLOW one level at a
time when processing a root security override
commit f3c738f8193665a80835471f6754a66b20725afa
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 22:45:27 2010 +1100
replace: added get_current_dir_name()
commit ace6d75ae6f953b76fa9709857af4744020cd6fb
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 17:52:35 2010 +1100
s4-pvfs: use pvfs_sys_*() functions to wrap posix calls
This allows for root override, which fixes many problems with
mismatches between NT ACL permissions and unix permissions.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 034bcaf14d1bc651c8b51b489aebcfa392158f2c
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 17:51:12 2010 +1100
s4-pvfs: new pvfs_sys module
The pvfs_sys_*() calls provide wrapper functions for posix file
functions which use root privileges to override EACCES failures if
PVFS_FLAG_PERM_OVERRIDE is set
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit edd5a572d8f5d94511013e55744fcde48b16a3eb
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 17:50:18 2010 +1100
s4-pvfs: added new pvfs flag PVFS_FLAG_PERM_OVERRIDE
This flag indicates that we should use root privileges to override
unix permissions when the NT ACLs indicate that access should be
granted
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ee4ae0e7add840e1702b5630e6d23be19833a612
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 17:49:11 2010 +1100
s4-privs: add root_privileges_original_uid()
This can be used to get the uid we changed away from when we gained
root privileges
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6c52a37ac191679245a1175f40ef961af3b3e0b1
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 11:06:46 2010 +0100
s3-selftest: enable RPC-WINREG against Samba 3.
Guenther
commit b3765afd3878856f8a4580de2da5032a81929ea2
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 11:06:18 2010 +0100
s4-smbtorture: skip NotifyChangeKeyValue test against s3 for now.
Guenther
commit 12ae05939ff681b3d11b8eea85adf47a49766bd1
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 5 08:50:08 2010 +0100
s4:torture/rpc/samr.c - add some decision possibility constants to some switch
At the moment nothing is done when the enumeration variable is set to one of
those constants as before. This is only to quite nasty warnings.
commit ce82f91614c569c3e9349ba877de326f3e78fb3b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 5 08:49:25 2010 +0100
s4:torture/rpc/samr.c - make some argument of function "test_SamLogon_with_creds" constant
This to quiet warnings.
commit bfd31db9a9ea167650b109362f3a03cb64ff774e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 5 08:47:48 2010 +0100
s4:torture/winbind/struct_based.c - fix up (un)signedness of a function argument
Otherwise always a warning is generated.
commit 2e1637833bb5e1d5c44b10761a8f6bbd88bde32d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 14:59:08 2010 +1100
s4-pvfs: log more error conditions in NTVFS backend
This should make is easier to track down some bug reports
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 80a37beb53519fdbb907a01f29ef150bafdd74e7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 14:57:50 2010 +1100
s4-pvfs: move the private ntcreatex flags to private_flags
Re-using two of the create_options bits was bound to eventually
cause problems, and indeed, Windows7 now uses one of those bits
when opening text files.
Fixes bug 7189
commit f01f124969b3e75accfc82fb85487fdab2046e82
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 13:49:49 2010 +1100
s4-rpc: don't use s->credentials after it is freed
commit 2e1e446ba3f9fd177a29876a9d7173d11b334f40
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 13:02:16 2010 +1100
s4-torture: fixed commas separating C statements
commit aaafadb7d5a835f88fce3fbea8127d9c5ddb7181
Author: Bo Yang <boyang at samba.org>
Date: Sat Mar 6 20:58:23 2010 +0800
s3: Fix unnecessary traversing winbindd_cache.tdb in SIGHUP handler.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 25a0750b8184e434e30717bb47f0b36a00e41629
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 11:53:19 2010 +1100
s4-python: only install external python libs that are missing
commit 7d86257d54cb59d016a051b91bdee62ab2f8a0d5
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 11:45:40 2010 +1100
s4-python: import a copy of the python dns library
This library is not installed on enough systems for us to rely
on it being available. We use the system copy if possible, and
fallback to this local copy
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f3ca7a4696cadbb74f41dd71ef9336445682d406
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 11:45:10 2010 +1100
s4-dns: use samba.external to pull in the dns.resolver library
commit 8c7cf499abf880cd4915e1b831298feb8990245b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 11:44:45 2010 +1100
s4-python: allow us to have samba copies of python libraries we depend on
For python libraries like dns.resolver it is useful to be able to install
a copy of the library with Samba. This set of functions allows us to do that
while using the locally installed version if it is available
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 2d30f4fb4fd39fb0949cd948559725917f95742f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 10:43:34 2010 +1100
s4-dns-ex: use autoclose on the dns child pipe
I'm hoping this will fix an occasional segfault I've noticed where
epoll still calls events on a closed fde
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5573d049414d75e9991d53627235cafefbe67470
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 10:42:41 2010 +1100
s4-messaging: use auto-close on the socket
commit cb06eee86af1839996e9298ad4612d4a4f7865cc
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 4 14:59:29 2010 -0800
srv_pipe.c doesn't reference current_user anymore. Remove it.
Jeremy.
commit 13b1bf5d47cb764365f6a14e35a4aa55b9a7e355
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 22:18:10 2010 +0100
s4:auth/sam.c - change base context for the "tmp_ctx" context in "authsam_expand_nested_groups"
Better use the "res_sids_ctx" as base context for the "tmp_ctx" and not the
long-living "sam_ctx"/"ldb" context to prevent memory leaks.
commit 3d94b284411d912449b6a316439cc3d013bf1570
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 17:54:45 2010 +0100
s4:ldap.py - give the "primaryGroupToken" test a better name
It tests also some other constructed attributes in a basic way.
commit 4546b6b7dfd7f0e59e11b63c6cf91a4594b8ca54
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 17:51:09 2010 +0100
s4:ldap.py - add test for "tokenGroups"
commit 8297302e989c62092b50a275207046e83cd52800
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 16:28:03 2010 +0100
s4:operational LDB - don't accidentally "ate" search helper attributes if we need them for more constructed attributes
With this patch we delete the helper attributes at the end where all constructed
attributes have already been computed.
commit ffa03820f1352779988f7cf19190ef6ec2eae33d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 15:44:10 2010 +0100
s4:operational LDB module - make the counters unsigned
No need to have signed counters here.
commit bf94d68df82f3c7085a6e468b4247fa55d4648ba
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 13:58:16 2010 +0100
s4:operational LDB - implement the "tokenGroups" constructed attribute
It contains the transitive SID closure (expand member/memberOf attributes) of a
certain SAM object. The "tokenGroups" attribute never contains the SID of the
object itself.
References: http://msdn.microsoft.com/en-us/library/ms680275(VS.85).aspx,
http://support.microsoft.com/kb/301916,
MS-ADTS 3.1.1.4.5.19.
commit 1f371cdbe5a5c2f02ca82a492530fc00b67960d4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 13:49:18 2010 +0100
s4:sam.c - make "authsam_expand_nested_groups" public
This is needed by the "tokenGroups" work in the operational LDB module.
commit 7587665d928b3297259950ccad0947c192360765
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 13:48:17 2010 +0100
s4:sam.c - cosmetic indentation fix
commit 0049c9ed1c0585b81eeaddd2770e545409b307ed
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 13:46:34 2010 +0100
s4:sam.c - change variable types to unsigned in "sids_contains_sid"
Should also be unsigned - no need for a signed "i" and "num_sids" here.
commit e34ee26169a893e4219e49803885718261faf82b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 14:28:04 2010 +0100
s4:operational LDB module - use right memory context int "construct_primary_group_token"
Use the "msg" as temporary context and not "ldb" which lives much longer.
commit bc2ff7abc9c2b8c7c295e7164a02ef6820ebdae0
Author: Karolin Seeger <kseeger at samba.org>
Date: Thu Mar 4 16:18:44 2010 +0100
Revert "s3:configure: add --enable-as-needed"
This reverts commit 22d316926b9589608d332143c1fa134229b75b3c.
Please see bug #7209 for details.
commit 8cb416a0b569017e1928a7a1cead723ce64ca314
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Thu Mar 4 15:22:30 2010 +0200
Refactored ACL python tests
Made each type into a separate class to be easily run individually,
removed code duplication
commit 22d316926b9589608d332143c1fa134229b75b3c
Author: Stefan Metzmacher <metze at sernet.private>
Date: Thu Mar 4 11:14:51 2010 +0100
s3:configure: add --enable-as-needed
On some broken systems like RHEL5, we need to be able
to disable --as-needed.
metze
commit af6f59468ab157d125e14a649ee1d55bd17e8d1a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 10:29:33 2010 +0100
s4:provision - use the new "interface_ips" python call to detect the right host IPv4 address
Inform the user when there are more possibilities (so he can check for the
right address and otherwise he is able to do an immediate reprovision) and no
possibility at all (then we fall back to the loopback address "127.0.0.1" - this
is thought for testing purposes).
I think this should be enough for closing bug #5484.
commit 8a8c2de29f95ac81e9899264cf86ebea22053782
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:ldif_handlers - Use "unsigned int" for counting purposes
I changed "uint32_t" to "unsigned int" since the LDB specification prescrives
"unsigned (int)" for counter variables (number of attributes,
number of values...).
commit a319eb9700bb6ae8aa217877181eaa37268e1c3b
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 01:35:33 2010 +0100
testprogs: add test_PrinterDataW.
Guenther
commit 55946ddd1db070cc94f8208aaf8f0f10eeef30b6
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 01:33:06 2010 +0100
testprogs: use dump_data in dump_printer_data.
Guenther
commit 74ba0b71891ce180079cc801e9fe11b4ea268e84
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 01:31:30 2010 +0100
testprogs: add print_printer_dataw and dump_data to printlib.
Guenther
commit 66b4463fc1a8c9aa0caf12765c4899ee0058a2b3
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 01:29:16 2010 +0100
testprogs: add some multibyte versions of PrinterData calls.
Guenther
commit 6384f45f5253203ad4356dc94d2f520f310625a5
Author: Bo Yang <boyang at samba.org>
Date: Sat Mar 6 01:59:55 2010 +0800
s3: Rerun genmsg after adding more strings.
Signed-off-by: Bo Yang <boyang at samba.org>
commit ef0b4e4687d9ea02554fe22f02cc615527e917ee
Author: Bo Yang <boyang at samba.org>
Date: Sat Mar 6 01:53:13 2010 +0800
s3: Add i18n/l10n strings in pam_winbind.c coming from winbindd.
Signed-off-by: Bo Yang <boyang at samba.org>
commit fd00867e8558cce30459316fddc4a10c95697577
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:samdb.c - Make it signed-safe
Use an unsigned argument for the numbers of groups and the counter "i" since
the function is called only by "auth_generate_session_info" with an unsigned
number of groups argument.
commit 6a1a7ce9ebb331eba7bf94d16bede2d6472da106
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 3 20:12:30 2010 +0100
s4:srvsvc RPC - "srvsvc_create_ntvfs_connect"
Previous commit was incomplete. The "service" parameter in the "tcon" structure
should point to "scfg->name". I'm not sure if "share" is right but the first
was used before commit f390daef475126b4ff5a3d0ffd2babbd87d4c22b.
commit 9b4d208ce8482e63a56fff3447179ff786062c48
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 3 18:26:15 2010 +0100
s4:srvsvc RPC - fix up the "ntvfs_connect" in "srvsvc_create_ntvfs_connect"
This should be the right fix (set the service name in the tcon union to the
share name/path). That should be the solution for bug #6784.
commit a21b49bb389f8f98fe43a6abe3b0fde51ec43210
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 3 17:41:43 2010 +0100
s4:torture/rpc/samr - Fix up SAMR-USERS test
"QueryDomainInfo" returns only global groups, "QueryDisplayInfo" also universal
ones. Consider MS-SAMR 3.1.5.5.1.1 and 3.1.5.3.1.
commit 051eb0b575d715e5b7bbd03a201aa88167ccee4f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 3 12:01:40 2010 +0100
s4:torture/rpc/samr - enhance the "EnumDomainGroups" test regarding universal groups
Find the "Enterprise Admins" group which does exist on s4 and Windows
directories and is always per default universal. Test this only when the target
is set to s4 (s3 deployments don't contain this group). If the number of
returned objects is "0" (count) then we are likely testing the builtin domain of
an AD deployment.Then we ignore the inexistent "Enterprise Admins" group.
I didn't enhance the test for "QueryDomainInfo" since this does itself a
comparison of all returned objects with the "EnumDomainGroups" call. Therefore
if the latter passes, and the "QueryDomainInfo" test passes also the
"QueryDomainInfo" call is okay regarding groups.
commit 8d0fbfe987f4cefda872bb7a9caca0d9a77bf258
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 3 13:38:34 2010 +0100
s4:dcesrv_samr - Also "OpenGroup" needs to support universal groups
commit f92c28bf4e93524217ac8eb4c3f21c0ab360ba26
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 3 11:22:07 2010 +0100
s4:dcesrv_samr - Fix up "EnumDomainGroups" and "QueryDisplayInfo" calls
We need to look for both global and universal group types when querying them.
Found by ekacnet (http://lists.samba.org/archive/samba-technical/2010-March/069777.html).
commit 340797f3fa39278c214c12cbe374a29f0988ecd3
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Mar 3 16:03:13 2010 +0100
Fix typo in comments.
commit 892213c7b72b8d22c56c6bd827c8e8785db83849
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 3 12:32:41 2010 +0100
testprogs: fix boolean return code of test_PrinterData.
Guenther
commit d8ae32ec4183b121b207fbfb84d4be726f0cdb8f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 3 14:28:42 2010 +1100
dns: make dns update script use unbuffered IO
Otherwise we can lose debug output when a timeout happens
commit 8fe783edaf79bcae5c55c9eb5159104537ccf930
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 3 14:25:39 2010 +1100
s4-posix: allow change ownership of files if the user has the right privileges
When a user has SEC_PRIV_TAKE_OWNERSHIP or SEC_PRIV_RESTORE they have
permission to change the ownership of a file.
This should fix bug 6987
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e0726d4d661cfc508e8e8fd210a2cfba7ed53682
Author: Matthieu Patou <mat at matws.net>
Date: Sun Feb 28 23:02:00 2010 +0300
s4-build: fix SMB_LIBRARY and change its name so it didn't collide with s3 one
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 92785f9af6a124097fcc653375984499b441676d
Author: Matthieu Patou <mat at matws.net>
Date: Mon Mar 1 00:21:09 2010 +0300
s3: Fix build file due to file move. Use the new path of iniparser
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit b953c4c67cfc6f0de38526e97eb5fc6031d61c81
Author: Matthieu Patou <mat at matws.net>
Date: Sun Feb 28 22:48:16 2010 +0300
s3: Move source3/iniparser to lib/iniparser to allow sharing between s3/s4
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 1af5a6d35966ddb5435214a6d1f8ba34be697001
Author: Matthieu Patou <mat at matws.net>
Date: Mon Mar 1 00:21:09 2010 +0300
s3: Allow pam_winbind.c to build without localedir.c
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit db6781833ddae85190a270f481cc2432ff8dc702
Author: Matthieu Patou <mat at matws.net>
Date: Sun Feb 28 22:53:04 2010 +0300
nsswitch: libpam remove depedance on locale.h use directly LOCALEDIR
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3f946240fa892f79c83f9c00f1b16ea73c2ad237
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Jan 20 14:21:47 2010 +0100
s4-winrepl: Migrated the wins replication server to tsocket.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 27ae935a8df409ce7557bd369250fa450120fdfe
Author: Michael Adam <obnox at samba.org>
Date: Tue Mar 2 14:43:53 2010 +0100
s3:net: add a command "net registry setsd_sdd"
This permits to set the security descriptor of a registry
key from the unix command line.
Michael
commit 6f4bdbccf79eecadf3092c397a8aa9dd45b9c866
Author: Michael Adam <obnox at samba.org>
Date: Tue Mar 2 14:43:26 2010 +0100
s3:net: fix some i18n messages in net_registry_getsd_internal().
Michael
commit d8b828d4a9aaca2ca99454a1b3d3868915a53f8f
Author: Michael Adam <obnox at samba.org>
Date: Fri Feb 26 09:41:43 2010 +0100
s3:net: add i18n macro _() to one message
Michael
commit caa27bb165a69766585ec4a13a6c09fa774d3b48
Author: Michael Adam <obnox at samba.org>
Date: Fri Feb 26 09:37:45 2010 +0100
s3:net: add new subcommand "net registry getsd_sddl" to print secdesc in sddl format
Michael
commit 93d438d9709e8e6462721f010c9a484a92a6649a
Author: Michael Adam <obnox at samba.org>
Date: Fri Feb 26 09:31:03 2010 +0100
s3:net: refactor getting of secdesc out of net_registry_getsd()
New net_registry_getsd_internal does the work(),
net_registry_getsd() just prints the result.
This in preparation to add support for other output formats
than the currently used display_sec_desc().
Michael
commit 9cea4d5969d3061689e7399e0a97f7f83ed31976
Author: Michael Adam <obnox at samba.org>
Date: Sun Feb 28 22:20:03 2010 +0100
s3:smbcacls: add switch "--sddl" to output acls as sddl encoded strings
commit 6fa767fbb24b7f18c9ead96f08a862f5178319d1
Author: Michael Adam <obnox at samba.org>
Date: Sun Feb 28 22:15:23 2010 +0100
s3: build sddl.c in samba3
commit f37030b33afa989adaafa6d3d02751bd286f879b
Author: Michael Adam <obnox at samba.org>
Date: Sun Feb 28 22:01:49 2010 +0100
libcli/security: fix sddl.c to be able to build it from source3
commit 15b60a7e3f7d106af6dd7e83e820629401e6f9c1
Author: Michael Adam <obnox at samba.org>
Date: Fri Feb 26 18:32:21 2010 +0100
s4:move the sddl code down to the top level
Michael
commit 5338e42182ee34f20fde104006a752662099af22
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 3 02:33:31 2010 +0200
s4/ildap: fine tune ildb_callback()
Actually ildb_context pointer is not supposed to be
valid after calling ildb_request_done().
This is due to the fact that when calling ildb_request_done()
caller will (most probably) free any locally built
ldap_request objects - thus rendering ildb_context invalid.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e3c2e1a30375c393f0ee0d50e814e7c7482c5182
Author: Holger Hetterich <hhetter at novell.com>
Date: Tue Mar 2 23:17:20 2010 +0100
s3: net_share.c: fix argc handling
The "net share" command was no longer possible because it enters
the net_share function with argc == 0.
commit f36dafd852b1ed608e0c988c3c5f8823e909a4d6
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 2 18:35:01 2010 +0100
s4-smbtorture: fix WINBIND-STRUCT assumptions about getpwent() for s3.
In samba3 it is not an error when no users are returned in getpwent() calls
(e.g. on a DC w/o interdomain trusts).
Kai, please check.
Guenther
commit 8492f92843aa17eaf4a3ea9d5a9c6319afc97854
Author: Simo Sorce <idra at samba.org>
Date: Mon Mar 1 14:50:50 2010 -0500
s3:ads fix dn parsing name was always null
While there also use ldap_exploded_dn instead of ldb_dn_validate()
so we can remove a huge dependency that is hanging there only for one very
minor marginal use.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 74703e4897028db72242d9187d726c6f0ebd1540
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 2 17:25:35 2010 +0100
testprogs: make sure to do the same tests as in smbtorture in test_PrinterData().
Guenther
commit f73c27116c60e492158c6d40823691c38a290a94
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 2 17:24:14 2010 +0100
testprogs: fix REG_SZ in print_printer_data.
Guenther
commit e50c9826794f4a80b7200712afacb0752ccf8d6f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 18:35:17 2009 +0100
LDB:NSS - make LDB "signed-safe" on counter variables
"i" needs to be unsigned on both places since it counts till a "count" variable
of a "struct ldb_result" object which itself is unsigned.
I see counting variables much better as "unsigned" since in most cases we don't
use negative values at all. We've only to be careful on binary searches and
downto counts regarding them.
commit 5c73ecd2b3b178dd57d7251342e966ea4f8044e0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 18:58:26 2009 +0100
s4:echo RPC - make this one "signed-safe"
"i" needs to be unsigned here since it counts until "r->in.len" which itself is
unsigned and not signed.
commit 8919a58583f3e7c610d4182ac589f1445606e46f
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 2 15:19:57 2010 +0100
testprogs: test result of GetPrinterDataEx against SetPrinterDataEx args.
Guenther
commit 0e9844c70a8df89da5e9b7c0b5139fe022bab59f
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 2 14:05:19 2010 +0100
s3: Fix some C++ warnings
commit 2330b625ccb505d2e98533a93b433f3453f9a687
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 2 13:51:08 2010 +0100
s3: Fix an uninitialized variable warning
commit d18840830e3950a91c2adb4866b3c8819b15869b
Author: Björn Jacke <bj at sernet.de>
Date: Tue Mar 2 13:00:19 2010 +0100
s3:vfs_aixacl2: add missing semicolon
fixes #7197. Thanks to William Jojo for the correction.
commit c54699faf2796e1e8acbb2215fab835a6d86318e
Author: Endi S. Dewata <edewata at redhat.com>
Date: Fri Jan 29 16:05:22 2010 -0600
s4:provision - Moved default FDS SASL mappings deletion from post_setup() to init().
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 7ad931dda929e230b90d6ce3f35db7480321d6b0
Author: Endi S. Dewata <edewata at redhat.com>
Date: Fri Jan 29 03:24:20 2010 -0600
s4:provision - Moved setup_db_config() into OpenLDAPBackend class.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit fc6d9e7b4f191ec7efea4c87fdeb461f8ed43bba
Author: Endi S. Dewata <edewata at redhat.com>
Date: Thu Jan 28 19:51:11 2010 -0600
s4:provision - Moved backend-specific variables into backend class.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 02533c9f1ba9434aabc92fac06995a858874c002
Author: Endi S. Dewata <edewata at redhat.com>
Date: Thu Jan 28 19:35:29 2010 -0600
s4:provision - Use netbios name for FDS instance name.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 07669b0704eac9db46e241e681c92b09ee5a4c2e
Author: Endi S. Dewata <edewata at redhat.com>
Date: Mon Jan 18 20:57:01 2010 -0600
s4-libcli: Added NULL handlers for DSDB_CONTROL_DN_STORAGE_FORMAT_OID and LDB_CONTROL_AS_SYSTEM_OID
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit be026a6fd89b44ba7e6bdf5bef049959b242c61e
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 26 15:16:23 2010 -0500
s3:groupmap revert to tdb storage
Group mapping needs to be cluster aware, and this means using the tdb backend.
Remove ldb group mapping as this is not cluster aware.
commit 05bd8c17be83057b9bcfe405fb29d27a794b9b40
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 1 21:11:39 2010 +0100
s4:srvsvc RPC - revert one unsigned integer "i" back to signed
This is needed since this particular "i" counts until "count" which itself is
signed. "count" is set through a signed integer variable parameter from the
"share_list_all" call.
commit cf12d4556a12edb032eaef51a60bfc815f38be61
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 21:12:49 2010 +0100
testprogs: better usage text.
Guenther
commit 36d3aa69f1a090ac4054f06883a2fae85070f202
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 21:00:20 2010 +0100
testprogs: add very basic PrinterData test for printers.
This very basically tests SetPrinterDataEx, GetPrinterDataEx and
DeletePrinterDataEx.
Guenther
commit 0d0d778b212a5409a2632745c842b4270341c8b8
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 20:58:41 2010 +0100
testprogs: rename test_PrinterData to test_PrinterData_Server.
Guenther
commit d44dd1005bad8e95ea3c35376488083ebe9261d7
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 20:57:52 2010 +0100
testprogs: add SetPrinterDataEx test.
Guenther
commit b797481b8dd99a6e67c69ea5ce4b1c6739c45666
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 20:56:36 2010 +0100
testprogs: add DeletePrinterKey test.
Guenther
commit 1b6f1e8c30808c50485b8fecf47e12b45a3ac31f
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 17:42:19 2010 +0100
testprogs: add DeletePrinterDataEx test.
Guenther
commit 61568cf4c8f12148390435cba7845acf0b00e941
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 20:15:51 2010 +0100
testprogs: allow to test a single printer when given on the cmdline.
commit 32371e9ba6b93e6a235054a2db7a34838443e86c
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 18:01:42 2010 +0100
testprogs: add RPC_X_NULL_REF_POINTER error code
commit 522e4f3d2bcd260f7037fbafd4340a9a4513c89d
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:16:56 2010 +0100
s4:RPC-ECHO: don't ignore errors in the Sleep test now that we support async rpc over ncacn_np
metze
commit 340bcf646baf0a01ca55f66e787d1d49ddea6086
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 1 15:20:19 2010 +0100
s4:rpc_server/remote: do async calls
metze
commit ff17d8ab1ee809e1c464b9c8cb088f2e8fbf3cb3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 19:08:42 2009 +0100
s4:srvsvc RPC - make this one "signed-safe"
commit b963741aae82b721655e36e8c62b678acff2e210
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 19:03:59 2009 +0100
s4:unixinfo RPC - make this one "signed-safe"
commit 932a986a4f3122555654d36d838996a90b1e69a7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 19:03:18 2009 +0100
s4:spoolss RPC - make this one "signed-safe"
commit 246742b30eb90da4d2c314e7b60bfc62ef0275ec
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 19:01:53 2009 +0100
s4:remote RPC - make this one "signed-safe"
commit c953b262419b8f67a7976b1f82d14e76893a7ec2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 18:59:30 2009 +0100
s4:epmapper RPC - make this one "signed-safe"
commit d6a687250625b62242efc8be0aa50ffc448a503a
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 1 16:18:23 2010 +0100
s3: Abstract access to sessionid.tdb, similar to conn_tdb.c
commit c103fbc919d0f5df24fbfefd5153683ab938b779
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 1 16:48:03 2010 +0100
s4:LDB - cosmetic fix for a "for" loop
commit 24d52dc362210328e16545830835361ac82432c4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 16:24:29 2010 +0100
Fix the build, add filtered subunit runner.
commit 4e4e341c68473d92516a3e3c612153a792017bb9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 14:42:38 2010 +0100
Add testrepository configuration.
commit 86e2b251861055d770327639808fddc84cdb0b56
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 05:04:23 2010 +0100
More formatting fixes, pointed out by pylint.
commit 719cecba848b3e446ea3bc06f14cf90e9cddab9e
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:02:40 2010 +0100
s4:RPC-NETLOGON: remove useless rpc callback
If we got a failure from one request we bail out early.
metze
commit 22b1e0bf324113db12e40567cc1cb9d645049681
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:01:50 2010 +0100
s4:RPC-ECHO: don't look at the internals of 'struct rpc_request'
metze
commit 56b97000bd7842d3b861656880b68ad333594d71
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:00:42 2010 +0100
s4:libnet_become_dc: don't look at the internals of 'struct rpc_request'
metze
commit 0547af244a46e5647eb7dfc9b4a92924d15ab15d
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 09:46:30 2010 +0100
s4:drepl_out_helpers: don't look at the internals of 'struct rpc_request'
metze
commit 1955cde46c33409da85617dfe058a9a965e4b4f7
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 09:43:21 2010 +0100
s4:drepl_notify: don't look at the internals of 'struct rpc_request'
metze
commit 8ba2128e1e4b242bba582b4c8b419c3dc5cd4016
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:59:14 2010 +0100
s4:librpc/rpc: make use of explicit dcerpc_*_recv functions
metze
commit c84b4b23c8b7f7c32ce0a17b5dfb526dbda66f6a
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:59:14 2010 +0100
s4:torture/rpc: make use of explicit dcerpc_*_recv functions
metze
commit 598cf9f5097aafac95c9e9b420b849ad6090c30e
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:59:14 2010 +0100
s4:winbind: make use of explicit dcerpc_*_recv functions
metze
commit c4e72add67c05ce502e448a49094a3e3006d6384
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:59:14 2010 +0100
s4:dsdb/repl: make use of explicit dcerpc_*_recv functions
metze
commit f995e596bbc0e1b44335b10bf23458ac7328188b
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:59:14 2010 +0100
s4:libnet: make use of explicit dcerpc_*_recv functions
metze
commit 5d33c6d4f9719e36a3ed0f6b54c4365324ff352c
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 1 13:56:01 2010 +0100
s4:libnet_become_dc: make use of explicit dcerpc_*_recv functions
metze
commit 20980eb7870cf3478d9e8e78fb412c5bd299cca5
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:34:04 2010 +0100
pidl:NDR/Client.pm: generate explicit _recv functions
metze
commit 1a64d3cbc65b70df1f1b3f473cdbfdce5c8f2ae9
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 14:35:59 2010 +0100
s4-smbtorture: add stricter SetPrinterDataEx tests to spoolss tests.
Guenther
commit 4f6634e56dde97552fec69c99cbf63f80609f9f4
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 14:27:43 2010 +0100
s4-smbtorture: add test_SetPrinterDataEx to RPC-SPOOLSS-PRINTER.
Guenther
commit 74c7c1cc7fcaed83a86ef0708c0faf4735bc5737
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 14:26:30 2010 +0100
s4-smbtorture: return needed size pointer from test_GetPrinterDataEx.
Guenther
commit e76b8a07002dc3d01d5f4624c8cae25e75020099
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 12:53:11 2010 +0100
s4-smbtorture: test at least three different regtypes in test_SetPrinterDataEx.
Guenther
commit 8bebb380e8b581b41f3057c128d73094c1bde332
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 1 14:28:22 2010 +0100
s3: Add connections_forall_read()
In a cluster, this makes a large difference: For r/w traverse, we have to do a
fetch_locked on every record which for most users of connections_forall is just
overkill.
commit 3deba6349ca751d669e2af817ec7e2c7eb6195b3
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 25 16:31:12 2010 +0100
s3: Make the difference between r/o and r/w in connections_db_ctx more obvious
commit c571ecdfc4eae8aa4bfffefacb9eb9306cbc6389
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 1 13:57:36 2010 +0100
s3: Make connections_forall open connections.tdb r/w
connections_forall is called from count_current_connections() which potentially
deletes dead records. This needs r/w access to connections.tdb.
connections_traverse says it does not provide this. Does not really matter in
the smbd case, because we have opened it before r/w, so this is "just" cleanup.
commit f79ff9582f3c5e1c1d756ef3b3dc0379fdb9912d
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 1 12:22:23 2010 +0100
selftest/gdb_backtrace: call "info locals" too
metze
commit b73437fbaa1003f4737e237569489f7b2ba99486
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon Mar 1 14:16:59 2010 +0200
s4/rodc: Implement samdb_rodc with ldb context
commit c65abcf9d31e346f43c537e18d209b0e4ce04e48
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon Mar 1 13:10:39 2010 +0200
s4/libnet: Fix misleading comment
commit 747a0b440f2a7de390a1a58fe7374c77e65643d0
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 1 12:15:41 2010 +0100
s3: Remove unused "mypid" from count_current_connections() state
commit 8448ece9de85f0776513d03cc7542c3b2f30f4b4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 04:56:42 2010 +0100
python: Add 'make pylint' convenience rule.
commit 31a718aa27bcf3f56347a109f6d0bb553814c052
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 04:46:40 2010 +0100
General cleanups of python code, hinted by pyflakes.
commit 1ef50d5de4e1341703a35200e4c90ec4fba0ce89
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 04:45:43 2010 +0100
Add 'pyflakes' rule.
commit 6d9c0724a6dbc8afc736e64a11d4aed0de5776f5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 04:39:53 2010 +0100
ntacl: Use existing infrastructure.
commit da96d3fdba8dd317d931d36d101d956e829c07d8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 03:46:56 2010 +0100
Remove __contains__ from mock object for consistency with actual
implementation.
commit e49041065f1a91ba49667c32964866538b77dad7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Feb 8 03:26:18 2010 +0100
getntacl: Remove manpage for removed utility.
commit 8edab1b96c47e75b2f2c61739f9283fa2ecf5cfe
Author: Ricardo Jorge <rvelhote at gmail.com>
Date: Mon Feb 8 01:13:48 2010 +0100
Fix SharesContainer.__len__.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 20e1d5a72e8a7d8b3334f6f79bf586cedaa96431
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 03:41:52 2010 +0100
More formatting fixes.
commit 44c2d696bdcb8fecdce8120c7e3ecff1b12ad976
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 03:29:47 2010 +0100
Fix formatting.
commit 93d377424a0236ad5b1c58973f597ce69e123239
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 03:25:07 2010 +0100
upgradeprovision: Remove unused imports, use shutil.rmtree rather than
rmall.
commit 254e007bd99ebbd351e78b634c483d604ebdcefc
Author: Matthieu Patou <mat at matws.net>
Date: Sun Feb 21 21:29:36 2010 +0300
upgradeprovision: Move to pythondoc format
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 8f1f50daa5963d336f7505a2605e1008edf3ce29
Author: Matthieu Patou <mat at matws.net>
Date: Sun Feb 21 21:28:35 2010 +0300
upgradeprovision: Allow script to be called with pydoc
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 2bc3631db8546a44fb2bb29db8e380ea15c6441a
Author: Matthieu Patou <mat at matws.net>
Date: Sat Feb 20 10:51:25 2010 +0300
upgrade provision: change the meaning of handle_security_desc to be similar to handle_special_case
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 5054bdb4f2008216f4591be9064002c3750474e4
Author: Matthieu Patou <mat at matws.net>
Date: Tue Feb 23 16:45:51 2010 +0300
upgradeprovision: code cleanup
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 3bd16415d29d074c7a8f9bf949a35b7e8f8b61a2
Author: Matthieu Patou <mat at matws.net>
Date: Sun Jan 31 22:06:01 2010 +0300
upgradeprovision: split the big script to put reusable functions appart
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 2238260aa3f85cdb0057dae437f454c8c54d08f7
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 26 17:53:34 2010 +0100
s3: Use talloc_tos() in yield_connection()
commit 5c40aa59d7d0740b2cdb0201b8d0ea7c3f9f3882
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 26 17:47:44 2010 +0100
s3: Remove unused count_all_current_connections()
commit 9ad1b4cda04269dd50a719b4f65de2579d0da220
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 28 18:45:41 2010 +0100
s3: Fix the CHAIN1 torture test
I've tried to solve this just within cli_smb_recv(), but I could not find a way
to sanely determine when we are receiving the last entry in the chain just from
looking at the blob. This solves it in an a bit more brutal way...
commit fb98f60594b6cabc52d0f2f49eda08f793ba4748
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 27 19:26:01 2010 +0100
tdb: If tdb_parse_record does not find a record, return -1 instead of 0
commit 0e9882a65e91e4ab55dc103c7f6aec4ccd966db0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 28 14:38:14 2010 +0100
s3: Fix but 7145 -- duplicate sam and unix accounts
For me this survives the
TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMR-LARGE-DC LOCAL-NSS-WRAPPER" make test
reproducer. Günther, please check!
Volker
commit 99fc004e409ba5e535f1662e92370952777e55ff
Author: Holger Hetterich <hhetter at novell.com>
Date: Thu Feb 18 15:13:59 2010 +0100
s3: vfs_full_audit.c: implement negated vfs_ops in the success/failure list
Supports negated arguments in configuration like:
full_audit:success = all !readdir !telldir !closedir
Update the manpage accordingly.
Part of BSO#4025
commit a050c79fabdb73f6437f846777b94f31fe15fc86
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 27 11:17:27 2010 +0100
s3: Copy the mapping.c license header to mapping.h
We need some license header there. If this does incorrect copyright
attributions, please correct this.
commit cfc79f222d0fae7f976bb843da3565c58b2c375e
Author: Roel van Meer <rolek at alt001.com>
Date: Fri Feb 26 14:54:22 2010 -0800
Fix one of the valgrind warnings from bug #6814 - Fixes for problems reported by valgrind
The timeval passed to event_add_to_select_args() must be initialized
as event_add_to_select_args() uses a timeval_min() on this and next_event.
commit b28afd2bcc825e9fef415f3a256e39e4af1ae84e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 26 10:53:06 2010 +0100
s4:ldb_dn: fix an uninitialized variable (found by make valgrindtest)
metze
commit 47fafe801b5a4a054dcde301b892cda9c0ababb0
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 26 15:48:02 2010 +0100
s4:ldb_dn: remove dn->ext_linearized when ext_components is modified.
metze
commit c7432e49506561316f42bf0a26dd21de563c8eda
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 25 23:19:53 2010 +0100
s4:ldb_dn: reset dn->ext_comp_num in ldb_dn_explode()
metze
commit 4bad696f9ef3bdc3a1a9dc6b98a58d7071b994d7
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 26 16:48:09 2010 +0100
s4:dsdb/schema: fix validation of DNs
ldb_dn_extended_filter() removes all but the listed components,
I didn't noticed that when writting the code.
Doing a ldb_dn_remove_extended_components(dn2) is wrong.
This was hidden by some bugs in the ldb_dn code.
metze
commit 2caa2a045dd4f56cffb3a5af82a1f992198e4412
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Feb 26 21:00:10 2010 +0100
s4:provision.zone - fix port of "_ldap._tcp.gc._msdcs"
commit b49276e291274652d46eed39249c07531e32b591
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Feb 26 20:41:38 2010 +0100
s4:script/installmisc.sh - install "dns_update_list" to target setup folder
commit 87c96f0023fcf9c12a53171e70b53acf7303a89e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Feb 26 19:15:01 2010 +0100
.gitignore - ignore display of "mit_samba.so"
commit 3ca8d28bb7c33fe7733f036c8a6254545b0410ce
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 26 14:45:07 2010 +0100
spoolss: fix build and version in spoolss_PrinterInfo0 (aka PRINTER_INFO_STRESS).
Guenther
commit b1f18fb808d56e5c29e78e838802553c5e95f824
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 26 14:44:22 2010 +0100
spoolss: add spoolss_Build to IDL.
Guenther
commit 062a8cf0068d9833b68d6569eae6fdb0fc622726
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 26 10:21:10 2010 +0100
s4-winbind: Fixed the memory context of tstream_bsd_existing()
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit b80071602ffa127ab1857b0203ff868c15b8ce6b
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 26 10:19:55 2010 +0100
s4-ntp: Fixed the memory context of tstream_bsd_existing()
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit c3b90f00d4c76694060124a34eecb099584d3667
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 26 10:35:01 2010 +0100
s4-kdc: Fixed the memory context of tstream_bsd_existing()
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e0e549a77004fc45bfc01db03df267bc003a81cb
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Feb 26 11:53:49 2010 +0100
s4:dcesrv_samr.c - Remove unused variable
commit b792e5575c8dcd1ec4f5a572561a48ea5744000c
Author: Matthieu Patou <mat at matws.net>
Date: Thu Feb 25 20:41:57 2010 +0300
s4: Winbind allow to behave more correctly when we have more than a few users
commit 25723914c5f5b18a25f758f1098ddded3c5aa074
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Feb 25 20:22:52 2010 +1100
s4:python Add bindings to set GENSEC flags on credentials in python
This should allow these to be manipulated by python scripts that need
encrypted connections.
Andrew Bartlett
commit ee547e715eff60fd26fa65655b00b80202088319
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 26 02:51:21 2010 +0100
s3: remove unused schannel_auth_struct.
Guenther
commit 274baba4ab191e4b357ef5babc01a1c5501afebf
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 26 02:50:28 2010 +0100
testprogs: print the directory paths as well in spoolss test.
Guenther
commit d671b80cf5ebd4a4a2d832d90aeef27cacfb521a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 26 10:09:36 2010 +0100
libcli/auth: print the error in the debug message
metze
commit 81bb8f67fa50acb914a428b5468fe39643cecb78
Author: Andreas Schneider <asn at redhat.com>
Date: Thu Feb 4 17:03:04 2010 +0100
s4-smb: Migrate named_pipe_server to tsocket.
This is an improved version of commit 69d5cea2e59162f19460e7ce4b6382fc5fdd6ca0,
which was reverted by commit 71c20f703b0c603d6aada63ed5634070a26df052.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 1983256c70cf07b8c8afddd024ee5fd2522ee83c
Author: Andreas Schneider <asn at redhat.com>
Date: Thu Feb 25 14:32:39 2010 +0100
tsocket: Improve the tsocket_address_bsd_sockaddr documentation.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 27e7578e2763f0e9de2e0c94521d552678244cf2
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 24 15:09:15 2010 +0100
s4:provision: use generate_random_password()
metze
commit d2cd0a783b059fc2a938f7e2a5f5d002e83be967
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 24 14:44:22 2010 +0100
s4:pyglue: add generate_random_password()
metze
commit 9ada48ffdb3b7ab4bc1bce0f6b2179f67292bcf8
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 24 15:12:17 2010 +0100
s4:torture/rpc: use generate_random_password()
metze
commit 7473ca2d33e04d9b9dbb7fa56b0cb44603988036
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 24 15:09:50 2010 +0100
s4:libnet: use generate_random_password()
metze
commit 792dd38d7c0be5319db1eef625c142a6490cd12b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 25 15:58:38 2010 +0100
lib/util: add generate_random_password()
metze
commit c2edea5ccfb1eadabc3fd4a6d1eb9c5c0a8251e2
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 18:19:23 2010 +1100
devel: get the ownership of the directories right in tmpfs.sh
commit 1e2ac9b8967f820cdabcc32578685cea9f644c03
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 17:49:01 2010 +1100
s4-provision: fixed use of rndc command from python
rndc command is now a list
commit 97d65774d4c91ab046bf67c7c99a47a37b340d08
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 17:22:44 2010 +1100
s4-provision: also create the dns_update_list when running net vampire
We need the list when joining a windows domain, so we can
automatically maintain the right DNS entries on the Windows DNS server
commit 8cb721b2936e09f1db2a0b565e144041d4294173
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 17:09:51 2010 +1100
s4-dns: fixed CNAME automatic DNS updates
commit b0b857d6ca842fb516b3330a11e0d6d78f35aded
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 17:09:35 2010 +1100
s4-dns: use a loadparm list for samba_runcmd() commands
This allows commands with multiple arguments and quoting to be used,
while still avoiding running a shell (and this having shell expansion
problems)
commit 336ebeabad687dd81c87e0ac01e68853e15f27b1
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 14:27:28 2010 +1100
s4-provision: added dns_update_list
This contains the list of DNS names we should have as a DC
commit 5bf9db7e315c392be7aa610e922c63bf2510bce6
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 14:25:07 2010 +1100
s4-provision: setup the dns_update_list at provision time
This file is substituted at runtime by samba_dnsupdate
commit 44f9d5aadcd3d86e754b5e899c9ecbaa82dd41e8
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 14:24:38 2010 +1100
s4-provision: if we aren't doing variable substitution then don't check for vars
commit 721bcfa01c28996891893e56a303c42d495c9fcd
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 13:58:32 2010 +1100
dns: auto-delete incorrect SRV entries for our hostname
commit ab4f170216c5bdd8b6f46df562d0a21ba8321a4b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 13:30:44 2010 +1100
s4-dns: add automatic dynamic DNS updating script
This script checks a list of DNS names that we should have, and does
dynamic DNS updates using our machine account credentials to add any
missing DNS entries.
This allows us to correctly add all the DNS entries we need when we
join an existing domain as a DC
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c796b6c52e376447e7f3b1573e157f50fa35c3a9
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 13:27:26 2010 +1100
s4-provision: fixed port number for gc ldap DNS SRV entry
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c8fd7924a14f36c668245285bf144de7781b4007
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 13:25:42 2010 +1100
s4-param: added 'nsupdate command' option, default to /usr/bin/nsupdate -g
commit cb8d1e01f0b64f4a01ea101b8a0229f2085b744d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 10:15:43 2010 +1100
samdb: added get_ntds_GUID() method
commit 390f7b535d9625beb9f203fdc2eb2890b69ed404
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 18:35:14 2010 +1100
py-samdb: added server_site_name method
commit 1e66ec832e1e4b1c6c71c96259328a64552de57c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 18:35:01 2010 +1100
pyglue: added py_samdb_server_site_name()
commit 8f763e046cf80863fa089724118a4efb4c7e450e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 18:15:47 2010 +1100
py-samdb: added get_invocation_id() method
commit abf55033dfbd84a49c494bd13daee7793921559d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 18:15:19 2010 +1100
pyglue: added py_samdb_ntds_invocation_id()
commit af70728b51d88717c571ebf3d5886006e34db57f
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 16:29:47 2010 +1100
pyglue: don't return 127.0.0.0/8 IPs in interface_ips()
We don't generally want loopback addresses in the python code
commit 781ad038c96195031053291414a12225eb818fd9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 16:16:33 2010 +1100
s4-krb5: propogate errors from a lot more kerberos functions
We need to be able to give sensible error messages when a kerberos
calls fails. This propogates the kerberos error up the stack to the
caller.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ad7223b9bd31f71b8af2ae83361d7e054a433cc5
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 15:13:45 2010 +1100
dns: install samba_dnsupdate
commit cf14fa5a5c59700e6bc1a9d000588b86f677f8f9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 15:12:53 2010 +1100
dns: dummy samba_dnsupdate script
The merge from metze of my dns tree means we now depend on this. This
is a placeholder until Andrew and I have finished the full script.
commit 64911507a0952f52940450b4802e8b85f74b86f3
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 12:36:17 2010 +1100
s4-dsdb: fixed the fetch of the server site name
when the ntds objects were moved by a recent change it broke the
calculation of the server site
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 9a72806dc9dfa4c2248a536102ccb94c3b448171
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 12:31:57 2010 +1100
Revert "s4:AD content - adequate some revision levels to match Windows Server 2008"
This reverts commit 973ea198677c581064fad62cdac30baac7103ef8.
This change breaks DRS dcpromo.
commit 525a1fe7751d4ba470e9185009fc455e57470c76
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 25 18:10:56 2010 +0100
s4:RPC-DSSYNC: pass the ip address to the cldap code instead of a name
metze
commit 3751485c8432c0f6d3955f2b03a81cf4002d7a1b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 25 12:47:38 2010 +0100
s4:torture: use a connected CLDAP socket.
This is needed because we don't (want) to specify an explicit
local address. And the socket family (ipv4 vs. ipv6) needs to
be autodetected based on the remote address before the
socket() syscall.
Otherwise we would try to connect to a ipv4 address through an
ipv6only socket.
metze
commit b6737c1a7cfe68ff45a2114b48e99176dd32d2ae
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 25 12:47:38 2010 +0100
s4:libnet: use a connected CLDAP socket.
This is needed because we don't (want) to specify an explicit
local address. And the socket family (ipv4 vs. ipv6) needs to
be autodetected based on the remote address before the
socket() syscall.
Otherwise we would try to connect to a ipv4 address through an
ipv6only socket.
metze
commit 314a926179b02d7139016e56abc63a037e60ba43
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 25 11:57:54 2010 -0800
Fix up debug info on smb2_rename code.
Jeremy.
commit 3551eb7cbfb3bf7573c00d349def884cd70c89c7
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 25 11:15:16 2010 -0800
Implement rename/move in SMB2 from Windows7.
Jeremy.
commit 166a3821c985696572359a38a1b75cc96b600a15
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 25 19:31:06 2010 +0100
s3-nltest: fix uninitialized query level.
Guenther
commit 8ee516eb9efdc07852de0f2785075323cfd3ead3
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 25 19:06:39 2010 +0100
s4-smbtorture: define environment in one place in RPC-SPOOLSS test.
Guenther
commit d8cbc6ccdb9b4e2906094f1f3b7793ed98a2fcf8
Author: Simo Sorce <idra at samba.org>
Date: Sun Jan 31 13:29:57 2010 -0500
s4:kdc add mit plugin code
commit 489f78d19e3429c6598426c6b0872caef7caec86
Author: Simo Sorce <idra at samba.org>
Date: Sat Feb 13 18:30:36 2010 -0500
s4:kdc make function static
commit 10c8b0fb73d4976bb5f49d2a36780b89c85a8f60
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 25 13:12:38 2010 +0100
s3-spoolss: Save entire devicemode.
found by RPC-SPOOLSS-PRINTER torture test.
Guenther
commit d6cb1cc85f466c0c61dcba122afd48e755e6881e
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 25 13:11:47 2010 +0100
s4-smbtorture: try to set every single devicemode component in RPC-SPOOLSS-PRINTER.
Guenther
commit bbdd1412b21b9f26984a2b0be21256ae5ea4dc0b
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 24 12:00:36 2010 +0100
s4-smbtorture: move ChangeID test to the list of tests we run against created printers.
Guenther
commit d1950d66c4ed38918323bdb8c0bb11700a47bdc3
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 24 18:11:07 2010 -0800
Make conn_close_all() safe to call from SMB2 sessions (fix crash bug).
Ensure we don't call close_cnum() with SMB2, also talloc_move the
compat_conn pointer from the NULL context onto the tcon context
in SMB2 as it's conceptually owned by that pointer.
Jeremy.
commit 3c202519eccfa1922f315e2f2910d832016ad3f1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Feb 25 11:46:41 2010 +1100
s4:ldb Fix segfault in ldbsearch store_referral callback
sctx->refs_store was not initialised, and that made talloc_realloc
grumpy once we started actually returning referrals regularly from
Samba4's partitions module (0be57c747825737fa9d64411223e693b055b5f8f
by mdw).
We now just use talloc_zero() and forget about this manual
initialisation work. Tracking down use of uninitialised variables
with valgrind was the grand idea when this started, but in practice we
just get segfaults in unusual places.
Andrew Bartlett
commit 26891651ec8dd68113ff0f49d996c3e70d55933e
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 24 16:16:30 2010 -0800
Change the credential handling so that we start with maxmux creds,
and then return to the client the number of credits per operation
that they asked for. This is a more sensible algorithm than just
blindly returning "20" on every reply, although we will probably
still need more changes to this going forward.
Jeremy.
commit 76f4e6f16b624c6a680122b4bed7f5922bc1f236
Author: Simo Sorce <idra at samba.org>
Date: Wed Feb 24 17:55:25 2010 -0500
idl:lsa change string type
comapring win<-> traces it looks like this is an lsa_StringLarge
commit a7057e69c72f2c42a76cf67ccdb5927023c6aac2
Author: Simo Sorce <idra at samba.org>
Date: Wed Feb 24 17:10:59 2010 -0500
s4:lsa use the correct way to store a domain sid
Converting the sid to a string and then storing a string does not save the sid
in the right format. Causing following retrievals to fail to read back a sid
with samdb_result_dom_sid().
commit 376fa0d66e61fe8165298b5dc1b49265f666a363
Author: Simo Sorce <idra at samba.org>
Date: Wed Feb 24 17:07:26 2010 -0500
s4:lsa avoid confusing ourselves over sam_ldb
Do not use policy_state->sam_ldb and trusted_domain_state->policy->sam_ldb
interchangeably all over the place. Just use sam_ldb everywhere and make the
code slightly more readable.
commit 4930de5cd922a24eb2ffb88620f23e2260487ec3
Author: Simo Sorce <idra at samba.org>
Date: Wed Feb 24 16:54:16 2010 -0500
s4:lsa cleanup trailing spaces and tabs
commit 71c20f703b0c603d6aada63ed5634070a26df052
Author: Simo Sorce <idra at samba.org>
Date: Wed Feb 24 16:35:35 2010 -0500
Revert "s4-smb: Migrate named_pipe_server to tsocket."
This reverts commit 69d5cea2e59162f19460e7ce4b6382fc5fdd6ca0.
This commit causes issues with the RPC server, revert it until we find the
exact issue and possibly have a torture test to avoid it happening again.
Found playing with w2k8r2 and forest trusts.
commit 8d03b5e2246ddb234cc3199daff03d4763e6d030
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Feb 24 19:19:41 2010 +1100
s4:install Fix bug #7149 reported by JHT.
We need to install named.conf.update for provision to succeed from the
installed setup file.
Andrew Bartlett
commit 612eec4aa737de40cc18ef10722d35a36803816f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jan 18 19:24:45 2010 +1300
s4:scripting/devel Allow tmpfs script to be re-run
By doing the unmount, we can avoid double-mounting st and bin
commit fc4c839bc839faadefc3283d2c2bdfc6d5279c9b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Feb 11 11:49:26 2010 +0100
s4:DNS update - change "i" to be unsigned
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit ec536a0121a752b9211ba258ed015a821b8391ba
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 7 21:21:26 2009 +0100
s4:ldap_server - make it "signed-safe"
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e912d507093b7c22130158ef0bf2c0c4ffc78bac
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 7 21:20:12 2009 +0100
s4:auth - make some parts "signed-safe"
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit f10fc7c16e3c71603e34c58fc0329f6d01d89603
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 7 21:20:56 2009 +0100
s4:cldap_server - make it "signed-safe"
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 68caf9060621b8c0da183c38a9288a2c0a53b087
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Feb 21 20:36:34 2010 +0100
s4:torture/ldap/basic.c - add a basic test for referral return
I implemented this referral test in C since the LDB python API isn't capable
to extract referrals from search result sets (there the result sets are simple
lists which contain only the matching entries).
First I enhanced the RootDSE test to return all partition base DNs in a new
null-terminated list "partitions". Then I used this in my referrals test which
I've implemented in the LDB api since I needed some certain DN functions.
commit 0be57c747825737fa9d64411223e693b055b5f8f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 20 22:07:12 2010 +0100
s4:partition DSDB module - Generate basic referrals
This is a first, very basic implementation of the referrals (more informations
at MS-ADTS 3.1.1.4.6 and 3.1.1.3.4.1.12).
To have the full referral support (and to always point to the right host) the
full implementation using DNS will be needed (at the moment we always point to
the main DC which is referenceable through the DNS domainname).
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit cd5b5428781128b11de6bb3270828cc83a45cc03
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Feb 22 11:19:10 2010 +0100
s4:partition DSDB module - change the search and domain scope control handling
The domain scope control is always removed, from the search one only the two
interesting flags (which are handled) and it is marked as non-critical.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 545889a048da0bc58c4a4db4500839ab050518fa
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Feb 21 11:56:12 2010 +0100
s4:LDAP server - Enable support for returning referrals through it
This is needed for my work regarding the referrals when the domain scope control
isn't specified.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 0efa8f4fbb3206512c69d74024c7a937ee035285
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Feb 23 17:59:55 2010 +0100
s4:SAMLDB module - ignore referrals
They don't cause any harm to our functionality - so ignore them were not needed.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit f09802cfc8fae8ce06cf65372e2d4b29e962b95b
Author: Simo Sorce <idra at samba.org>
Date: Wed Feb 24 11:02:18 2010 -0500
s4:netlogon remove wrong ZERO_STRUCT of output
This was causing marshalling faults when we returned errors.
commit d980268680dd34c461467a1da835de099dafa191
Author: Volker Lendecke <vl at samba.org>
Date: Wed Feb 24 15:38:06 2010 +0100
s3: Make connections_fetch_record() static
commit 8b4b602e1ac181521442c2bcea7877ee7488fa97
Author: Matthieu Patou <mat at matws.net>
Date: Fri Feb 19 23:09:57 2010 +0300
python: ntacls, fix a leftover that is not in the try/except branch
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 00aeca7d7f6a940b208e7549e0d7c88f744f1d63
Author: Matthieu Patou <mat at matws.net>
Date: Tue Feb 23 16:03:16 2010 +0300
dsdb: Add a more explicit error message for constructed attributes
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 8416570ea31a3370774fe6884f443876ea2cba3c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Feb 17 21:32:50 2010 +0200
s4/drs_util: 'net drs showrepl' command implementation
commit 2f20a4b23ef5df9fe7a9f9cb43f75180e0676673
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Feb 14 02:50:13 2010 +0200
s4/idl: Regenerate IDL for DRSUAPI interface
commit 83007e06c177b13fe56ae0247e8c2086bb59d563
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Feb 14 02:49:40 2010 +0200
s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest2 changes in source code
commit 0f6a453f9f802d5d69c0698672a6f3ef04ad6a27
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Feb 14 02:49:02 2010 +0200
s4/idl: drsuapi_DsReplicaGetInfoRequest2 - 'string2' to 'value_dn_str'
commit 10fce687fe5f21ab3ba2591bebc04c2f46d1d5f3
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Feb 14 02:47:57 2010 +0200
s4/idl: drsuapi_DsReplicaGetInfoRequest2 - 'string1' to 'attribute_name'
commit 30ac3caade8d204b859d9b3ed4c51bdbeaaa3cbf
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Feb 14 02:40:07 2010 +0200
s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest... changes into source code
commit fb9880d6e89a48d2588edbe753bbb4c90fb01173
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Feb 14 02:38:11 2010 +0200
s4/idl: rename 'guid1' to 'source_dsa_guid' in drsuapi_DsReplicaGetInfoRequest description
commit 3f5e9e9974ef66b827f4c9094146d642690b5b80
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Feb 13 03:27:27 2010 +0200
s4/drs_util: 'net drs replicate' command implementation
commit ff94094dfa7dd8a07d4e200bc887cd1d58569f12
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 12 06:13:22 2010 +0200
s4/drs_util: Add public function for binding to a DC
commit 394746285e42111c221e4926afa0376d21544618
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 12 06:02:05 2010 +0200
s4/drs_util: Refactor code to use net_drs_connection object for DRSUAPI connecitons
commit 9ddb10869c19ac303e85e9e51872bb322834ac0f
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 12 06:01:06 2010 +0200
s4/drs_util: Move DRSUAPI connection data into separate object
We need this so we can create independent DRS connections to
different DCs.
commit e5aae24b3fef0048a33a682989935776f3415dc6
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 12 01:47:55 2010 +0200
s4/net_drs: Utility macros for conditions checking
commit 99db858b155a9a12bcbaae631d34d12062206e12
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Feb 13 04:57:28 2010 +0200
s4/drs: Propagate drsuapi_DsReplicaSync changes in source base
commit 8747e695fe4ff732537f6fc822f4c24f3cfd9d39
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 12 00:20:52 2010 +0200
s4/drs: Propagate drsuapi_DsReplicaSyncRequest1 changes in source base
commit 58318960b78f4d65cd7a2930703296520115ea3e
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 12 00:17:52 2010 +0200
s4/idl: Regenerate IDL for DRSUAPI interface
commit e9438b4c12f135ca01d6e0c65e88176459570907
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Feb 13 04:53:20 2010 +0200
s4/idl: drsuapi.idl fix drsuapi_DsReplicaSync definition
- Function should accept pointer to drsuapi_DsReplicaSyncRequest.
While this doesn't generate essentially different code for
NDR parser, using pointer will make drsuapi_DsReplicaSync
descritpin with the rest of the functions in DRSUAPI interface.
Another benefit is that this way we could create Wireshark
dissector directly from Samba's verions for drsuapi.idl
- 'level' and thus the switch_type() should be uint32
commit f1a33a6cfeafe5dd34ab1e9176bc2ffbf136a117
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 12 00:15:10 2010 +0200
s4/idl: drsuapi.idl fix drsuapi_DsReplicaSyncRequest1 description
- pointer to naming_context should be [ref] pointer
(i.e. not NULL pointer)
- other_info is actually the DNS name for Source DSA and is used
if DRSUAPI_DRS_SYNC_BYNAME is passed
ref: [MS-DRSR] 5.39
commit 6346ec0c1cadd54f2fa10f7dc0a39a3791bed822
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 24 10:09:32 2010 +0100
s3:selftest: handle spaces in test names
metze
commit 654f1147e1bcf146d3c706682c8d3ccef2d31ae4
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 24 09:33:19 2010 +0100
s3:selftest: make wbinfo_s3 work on the "member" server too.
metze
commit 9f2f738a3c7ca5d16094d2ffa100b7135607b06f
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 23 14:15:00 2010 +0100
s3:test_wbinfo_s3: test --check-secret and --change-secret
metze
commit 911287285cc4c8485b75edfad3c1ece901a69b0b
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 20 09:08:16 2010 +0100
s3:rpc_transport_np: handle trans rdata like the output of a normal read
Inspired by bug #7159.
metze
commit 1b78573c2d70b896e1ed3853f596e34523f6f227
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 23 13:05:52 2010 +0100
s4-smbtorture: verify that the client cpu architecture has no influence on the
calculated buffer size in RPC-SPOOLSS.
Guenther
commit ec96ea690edbe3398d690b4a953d487ca1773f1c
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 13:23:58 2010 +1030
tdb: handle processes dying during transaction commit.
tdb transactions were designed to be robust against the machine
powering off, but interestingly were never designed to handle the case
where an administrator kill -9's a process during commit. Because
recovery is only done on tdb_open, processes with the tdb already
mapped will simply use it despite it being corrupt and needing
recovery.
The solution to this is to check for recovery every time we grab a
data lock: we could have gained the lock because a process just died.
This has no measurable cost: here is the time for tdbtorture -s 0 -n 1
-l 10000:
Before:
2.75 2.50 2.81 3.19 2.91 2.53 2.72 2.50 2.78 2.77 = Avg 2.75
After:
2.81 2.57 3.42 2.49 3.02 2.49 2.84 2.48 2.80 2.43 = Avg 2.74
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 1bf482b9ef9ec73dd7ee4387d7087aa3955503dd
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 13:18:06 2010 +1030
patch tdb-refactor-tdb_lock-and-tdb_lock_nonblock.patch
commit ececeffd85db1b27c07cdf91a921fd203006daf6
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:53:05 2010 +1030
tdb: add -k option to tdbtorture
To test the case of death of a process during transaction commit, add
a -k (kill random) option to tdbtorture. The easiest way to do this
is to make every worker a child (unless there's only one child), which
is why this patch is bigger than you might expect.
Using -k without -t (always transactions) you expect corruption, though
it doesn't happen every time. With -t, we currently get corruption but
the next patch fixes that.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 8c3fda4318adc71899bc41486d5616da3a91a688
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:50:41 2010 +1030
tdb: don't truncate tdb on recovery
The current recovery code truncates the tdb file on recovery. This is
fine if recovery is only done on first open, but is a really bad idea
as we move to allowing recovery on "live" databases.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 9f295eecffd92e55584fc36539cd85cd32c832de
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:49:22 2010 +1030
tdb: remove lock ops
Now the transaction code uses the standard allrecord lock, that stops
us from trying to grab any per-record locks anyway. We don't need to
have special noop lock ops for transactions.
This is a nice simplification: if you see brlock, you know it's really
going to grab a lock.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit a84222bbaf9ed2c7b9c61b8157b2e3c85f17fa32
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 11:02:55 2010 +1030
tdb: rename tdb_release_extra_locks() to tdb_release_transaction_locks()
tdb_release_extra_locks() is too general: it carefully skips over the
transaction lock, even though the only caller then drops it. Change
this, and rename it to show it's clearly transaction-specific.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit dd1b508c63034452673dbfee9956f52a1b6c90a5
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 12:42:24 2010 +1030
tdb: cleanup: remove ltype argument from _tdb_transaction_cancel.
Now the transaction allrecord lock is the standard one, and thus is cleaned
in tdb_release_extra_locks(), _tdb_transaction_cancel() doesn't need to
know what type it is.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit fca1621965c547e2d076eca2a2599e9629f91266
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 15:42:15 2010 +1030
tdb: tdb_allrecord_lock/tdb_allrecord_unlock/tdb_allrecord_upgrade
Centralize locking of all chains of the tdb; rename _tdb_lockall to
tdb_allrecord_lock and _tdb_unlockall to tdb_allrecord_unlock, and
tdb_brlock_upgrade to tdb_allrecord_upgrade.
Then we use this in the transaction code. Unfortunately, if the transaction
code records that it has grabbed the allrecord lock read-only, write locks
will fail, so we treat this upgradable lock as a write lock, and mark it
as upgradable using the otherwise-unused offset field.
One subtlety: now the transaction code is using the allrecord_lock, the
tdb_release_extra_locks() function drops it for us, so we no longer need
to do it manually in _tdb_transaction_cancel.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit caaf5c6baa1a4f340c1f38edd99b3a8b56621b8b
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:45:26 2010 +1030
tdb: suppress record write locks when allrecord lock is taken.
Records themselves get (read) locked by the traversal code against delete.
Interestingly, this locking isn't done when the allrecord lock has been
taken, though the allrecord lock until recently didn't cover the actual
records (it now goes to end of file).
The write record lock, grabbed by the delete code, is not suppressed
by the allrecord lock. This is now bad: it causes us to punch a hole
in the allrecord lock when we release the write record lock. Make this
consistent: *no* record locks of any kind when the allrecord lock is
taken.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 9341f230f8968b4b18e451d15dda5ccbe7787768
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:45:14 2010 +1030
tdb: cleanup: always grab allrecord lock to infinity.
We were previously inconsistent with our "global" lock: the
transaction code grabbed it from FREELIST_TOP to end of file, and the
rest of the code grabbed it from FREELIST_TOP to end of the hash
chains. Change it to always grab to end of file for simplicity and
so we can merge the two.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 1ab8776247f89b143b6e58f4b038ab4bcea20d3a
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 15:01:07 2010 +1030
tdb: remove num_locks
This was redundant before this patch series: it mirrored num_lockrecs
exactly. It still does.
Also, skip useless branch when locks == 1: unconditional assignment is
cheaper anyway.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit d48c3e4982a38fb6b568ed3903e55e07a0fe5ca6
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:40:57 2010 +1030
tdb: use tdb_nest_lock() for seqnum lock.
This is pure overhead, but it centralizes the locking. Realloc (esp. as
most implementations are lazy) is fast compared to the fnctl anyway.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 4738d474c412cc59d26fcea64007e99094e8b675
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:44:40 2010 +1030
tdb: use tdb_nest_lock() for active lock.
Use our newly-generic nested lock tracking for the active lock.
Note that the tdb_have_extra_locks() and tdb_release_extra_locks()
functions have to skip over this lock now it is tracked.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 9136818df30c7179e1cffa18201cdfc990ebd7b7
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Feb 22 13:58:07 2010 +1030
tdb: use tdb_nest_lock() for open lock.
This never nests, so it's overkill, but it centralizes the locking into
lock.c and removes the ugly flag in the transaction code to track whether
we have the lock or not.
Note that we have a temporary hack so this places a real lock, despite
the fact that we are in a transaction.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit e8fa70a321d489b454b07bd65e9b0d95084168de
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:37:34 2010 +1030
tdb: use tdb_nest_lock() for transaction lock.
Rather than a boutique lock and a separate nest count, use our
newly-generic nested lock tracking for the transaction lock.
Note that the tdb_have_extra_locks() and tdb_release_extra_locks()
functions have to skip over this lock now it is tracked.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit ce41411c84760684ce539b6a302a0623a6a78a72
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:35:54 2010 +1030
tdb: cleanup: find_nestlock() helper.
Factor out two loops which find locks; we are going to introduce a couple
more so a helper makes sense.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit db270734d8b4208e00ce9de5af1af7ee11823f6d
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:41:15 2010 +1030
tdb: cleanup: tdb_release_extra_locks() helper
Move locking intelligence back into lock.c, rather than open-coding the
lock release in transaction.c.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit fba42f1fb4f81b8913cce5a23ca5350ba45f40e1
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:34:26 2010 +1030
tdb: cleanup: tdb_have_extra_locks() helper
In many places we check whether locks are held: add a helper to do this.
The _tdb_lockall() case has already checked for the allrecord lock, so
the extra work done by tdb_have_extra_locks() is merely redundant.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit b754f61d235bdc3e410b60014d6be4072645e16f
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:31:49 2010 +1030
tdb: don't suppress the transaction lock because of the allrecord lock.
tdb_transaction_lock() and tdb_transaction_unlock() do nothing if we
hold the allrecord lock. However, the two locks don't overlap, so
this is wrong.
This simplification makes the transaction lock a straight-forward nested
lock.
There are two callers for these functions:
1) The transaction code, which already makes sure the allrecord_lock
isn't held.
2) The traverse code, which wants to stop transactions whether it has the
allrecord lock or not. There have been deadlocks here before, however
this should not bring them back (I hope!)
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 5d9de604d92d227899e9b861c6beafb2e4fa61e0
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:26:13 2010 +1030
tdb: cleanup: tdb_nest_lock/tdb_nest_unlock
Because fcntl locks don't nest, we track them in the tdb->lockrecs array
and only place/release them when the count goes to 1/0. We only do this
for record locks, so we simply place the list number (or -1 for the free
list) in the structure.
To generalize this:
1) Put the offset rather than list number in struct tdb_lock_type.
2) Rename _tdb_lock() to tdb_nest_lock, make it non-static and move the
allrecord check out to the callers (except the mark case which doesn't
care).
3) Rename _tdb_unlock() to tdb_nest_unlock(), make it non-static and
move the allrecord out to the callers (except mark again).
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit e9114a758538d460d4f9deae5ce631bf44b1eff8
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:19:47 2010 +1030
tdb: cleanup: rename global_lock to allrecord_lock.
The word global is overloaded in tdb. The global_lock inside struct
tdb_context is used to indicate we hold a lock across all the chains.
Rename it to allrecord_lock.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 7ab422d6fbd4f8be02838089a41f872d538ee7a7
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:18:33 2010 +1030
tdb: cleanup: rename GLOBAL_LOCK to OPEN_LOCK.
The word global is overloaded in tdb. The GLOBAL_LOCK offset is used at
open time to serialize initialization (and by the transaction code to block
open).
Rename it to OPEN_LOCK.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit a6e0ef87d25734760fe77b87a9fd11db56760955
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:39:59 2010 +1030
tdb: make _tdb_transaction_cancel static.
Now tdb_open() calls tdb_transaction_cancel() instead of
_tdb_transaction_cancel, we can make it static.
Signed-off-by: Rusty Russell<rusty at rustcorp.com.au>
commit 452b4a5a6efeecfb5c83475f1375ddc25bcddfbe
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:17:19 2010 +1030
tdb: cleanup: split brlock and brunlock methods.
This is taken from the CCAN code base: rather than using tdb_brlock for
locking and unlocking, we split it into brlock and brunlock functions.
For extra debugging information, brunlock says what kind of lock it is
unlocking (even though fnctl locks don't need this). This requires an
extra argument to tdb_transaction_unlock() so we know whether the
lock was upgraded to a write lock or not.
We also use a "flags" argument tdb_brlock:
1) TDB_LOCK_NOWAIT replaces lck_type = F_SETLK (vs F_SETLKW).
2) TDB_LOCK_MARK_ONLY replaces setting TDB_MARK_LOCK bit in ltype.
3) TDB_LOCK_PROBE replaces the "probe" argument.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit fffdce62fc1c9959f17c2dbb0a3939e95095fe54
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Feb 24 01:45:26 2010 +0200
s4/schema: Move msDS-IntId implementation to samldb.c module
msDS-IntId attribute should be replicated, so it must be
implemented in a module that is before repl_meta_data module
(thanks abartlet for pointing this out).
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 2523b20349930be693674be915bcb423bc1fcb82
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Mon Feb 22 12:38:26 2010 -0800
s4/torture/smb2: Add two new SMB2 compound tests
These tests server behavior when a client compounds both synchronous
and asynchronous requests.
commit 805f7507e23f95c479114c44cd175b6b668ffaf9
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 19 09:43:46 2010 -0500
s4:cleanup remove unused schannel ldb code
commit 1203de99b178a2d7f6c7c6534c42d05242322fe3
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 18 15:11:25 2010 -0500
s4:schannel merge code with s3
After looking at the s4 side of the (s)channel :) I found out that it makes
more sense to simply make it use the tdb based code than redo the same changes
done to s3 to simplify the interface.
Ldb is slow, to the point it needs haks to pre-open the db to speed it up, yet
that does not solve the lookup speed, with ldb it is always going to be slower.
Looking through the history it is evident that the schannel database doesn't
really need greate expanadability. And lookups are always done with a single
Key. This seem a perfet fit for tdb while ldb looks unnecessarily complicated.
The schannel database is not really a persistent one. It can be discared during
an upgrade without causing any real issue. all it contains is temproary session
data.
commit 1d0938c629904e14c3769036d1a8d1a6d7b3f34b
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 18 16:17:06 2010 -0500
schannel_tdb: make code compilable in both trees
commit 3b12c38ac09ad253cf56099c243659a3a362ea67
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 18 14:44:09 2010 -0500
s3:schannel streamline interface
Make calling schannel much easier by removing the need to explicitly open the
database. Let the abstraction do it instead.
commit e5ab64a79902e710636352b01ccd0012d5df1c31
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 19 09:34:48 2010 -0500
s3:schannel fix memory hierarchy
passing mem_ctx was causing creds->sid to be allocated on mem_ctx and not be
child of creds as expected. When later in schannel_check_creds_state() we
stole the creds on a different memory context the sid was left behind and the
memory it points to freed when the temporary context was freed.
commit bb9014d5cbbc2ebb8fbd9fab05a3f3fc57e725b8
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 18 14:10:26 2010 -0500
schannel: merge header files
One almost empty header file was simply including another not included by
anything else. Just merge them together.
commit 8e2f5fe7c5bc0fce0564c751a68e0feb370e0857
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 18 10:26:24 2010 -0500
s4:schannel more readable check logic
Make the initial schannel check logic more understandable.
Make it easy to define different policies depending on the caller's
security requirements (Integrity/Privacy/Both/None)
This is the same change applied to s3
commit b4c9dc3724b5c34661b6986e81af2dc6c191dde9
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 18 10:19:09 2010 -0500
s3:schannel more readable check logic
Make the initial schannel check logic more understandable.
Make it easy to define different policies depending on ther caller's security
requirements (Integrity/Privacy/Both/None)
commit 61b7a24f16c9d3a3c41df19ac7073571164eb47a
Author: Simo Sorce <idra at samba.org>
Date: Tue Feb 23 11:11:37 2010 -0500
s3 move the sitename cache in its own file
commit c31cf0a1b5b113c1221477238efa6b131e884bcf
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 23 17:17:58 2010 +0100
s3: Consolidate some pid_to_procid() calls to procid_self()
commit 0278ef8ce30518c3a3e4c20a51c751ea2aab9add
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 23 17:02:37 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit d22b54c4eb1da075041b640f6b9eeb5ec263b9be
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 23 17:01:26 2010 +0100
spoolss: some fixes for devicemode dm extra structs.
Guenther
commit f6497a58079621fd0d8b0d9a8365371263c6a1e3
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 11 00:15:58 2009 +0200
s3: re-run make samba3-idl.
Guenther
commit 2288e16d72443d946a53744cb2b57e71e9950d10
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 11 00:14:55 2009 +0200
spoolss: add various DM extradata formats (including PostScript and UniDriver).
Guenther
commit a2cd2039824181494eb1496068d2121ee6150839
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 19 09:09:40 2010 +0100
s3:spoolss: construct the devmode the same way for level 2 and 8
metze
commit 1e9df26ef970df41de54142a78606a15374acbac
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 19 23:22:40 2010 +0100
s3:cli_netlogon: keep the the correct negotiate_flags on the cli->dc structure
This should fix the rpccli_netlogon_set_trust_password() against DC's
without netr_ServerPasswordSet2 support.
This fixes bug #7160.
metze
commit ddfd5b69a0512937c101ef4338b57526c9f188bb
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 23 16:12:31 2010 +0100
s3:selftest: $WORKGROUP doesn't exist, we should use $DOMAIN
metze
commit 752bffc53fcf296f841d62ffbf8d424f9e8e66bd
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 23 15:04:10 2010 +0100
s3: Consolidate server_id_self into the equivalent procid_self()
commit ce7727c1cc2fe4caa9b2d6e33530c3483dd5f980
Author: Björn Jacke <bj at sernet.de>
Date: Tue Feb 23 15:23:27 2010 +0100
s3: add explicit configure option whether or not to enable dmapi support
commit 975a7a3d1b075bcaca820b2431c04734a139062f
Author: Andreas Schneider <asn at redhat.com>
Date: Tue Feb 16 11:23:58 2010 +0100
tstream: Added a typedef for the function prototype.
commit 69d5cea2e59162f19460e7ce4b6382fc5fdd6ca0
Author: Andreas Schneider <asn at redhat.com>
Date: Thu Feb 4 17:03:04 2010 +0100
s4-smb: Migrate named_pipe_server to tsocket.
commit 394a7ceeeb0d9aa81dfd2b76a841c7f3380e63dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 18 07:41:40 2010 +1100
s4-selftest: disable rndc and dns update in build farm
commit 7593b6d03b0cfb4bbe43a89f33610f513a0bfa9b
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 22:20:18 2010 +1100
s4-dns: improved logging, and run name check at startup
commit cb7ab80ee883a69f575940bfa6b4c99242c7f646
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 22:19:57 2010 +1100
s4-pyglue: added interface_ips() call
This allows a python script to query the internal network interface
lists from Samba
commit 61af327e5d2bb97909f349fbc918d6981aa1f196
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 21:15:08 2010 +1100
s4-dns: call out to the dns update command every 10 minutes
This periodically calls samba_dnsupdate to update our DNS entries if
needed
commit ae209d488ec00b0527057331f84b7d0d99305b4c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 21:14:10 2010 +1100
s4-param: added "dns update command" smb.conf option
defaults to SBINDIR/samba_dnsupdate
This command will do periodic dynamic DNS updates using TSIG-GSS
commit 95ee01bb3047eb65de2a6812e003450d068e677e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 21:12:17 2010 +1100
s4-config: add dyn_SBINDIR
commit 13e2f5f971eeaa7b342baeaee55ff52b089ac881
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 11:27:56 2010 +0100
libreplace: Remove the obsolete signal type cast.
AC_SIGNAL_TYPE is already obsolete in autoconf. C89 requires signal
handlers to return void, only K&R returned int.
commit 8ac0c9fc67c8c07d0680cb069677f58434dc893e
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 12:44:07 2010 +0100
libutil: Remove obsolete signal type cast.
commit 95a0ab5f1118727325c2bede31edd53ece6afb85
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 12:49:08 2010 +0100
s4-smbd: Remove obsolete singal type cast from the thread process model.
commit f33b69753d7939a08003bfe4763baafe8b4aa96b
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 15:33:40 2010 +0100
s3-smb: Remove the obsolete signal type cast.
AC_SIGNAL_TYPE is already obsolete in autoconf. C89 requires signal
handlers to return void, only K&R returned int.
commit c6c21f489d1288326ee2511d173af2dd7430e62b
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 15:32:45 2010 +0100
s3-lib: Remove obsolete signal type cast.
commit 5ad801beb94d9120e2951e3c5fd1a1115d2dfd35
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 15:29:47 2010 +0100
s3-libads: Remove obsolete signal type cast.
commit 38b0e6b4d7375740234fff7834621ce3bb54ada8
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 15:28:11 2010 +0100
s3-nmbd: Remove obsolete signal type cast.
commit 069350d7e4d9e13ea5451273db51023e972a9373
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 15:25:09 2010 +0100
s3-pam_smbpass: Remove obsolete signal type cast.
commit b9cf55cfeae854cd90cd4bd7b55b7313f34af828
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 16:14:47 2010 +0100
s3-passdb: Remove obsolete signal type cast.
commit d9f31fea6a31acb7fd02166a69ec575de4acec1b
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 16:13:46 2010 +0100
s3-print: Remove obsolete signal type cast.
commit f924b7749280b31ece19885de1c3ad1bd71942ac
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 23 08:42:41 2010 +0100
s3:winbindd: never mark external domains as internal!
This way we can endup with silently using builtin_passdb_methods
for an ad domain without an inbound trust.
This fixes bug #7170.
metze
commit 4ef82accfe41eebabf26714d0a074d48d7134a26
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Feb 23 09:51:25 2010 +0100
s4:netlogon RPC - fix the indentation
Simo, I'm not really sure that those checks are valid. I read MS-NRPC section
3.5.4.1 about LOGONSRV_HANDLEs ("server_name" is of this type). There isn't
stated that the server name has necessarily to be in the DNS form and should
also be valid when it's NULL (if DCE server and client are the same - I don't
know if me make use of it in s4).
commit 0c8608bbab93b0d00255424335deed27738d69c6
Author: Simo Sorce <idra at samba.org>
Date: Mon Feb 22 21:18:07 2010 -0500
s3 Fix the build
I didn't mean to puch the GetForestTrustInformation patch just yet,
now that it is in fix the s3 build ...
commit d4b8be513cf1707000f2870ce42c968e17f6ab27
Author: Simo Sorce <idra at samba.org>
Date: Mon Feb 22 13:15:44 2010 -0500
s4:netlogon GetTrustedDomainInformation
start implementing calls related to trusted domain information
commit dbcc7ad7e4efc550b6937647995e8d74fe538d35
Author: Simo Sorce <idra at samba.org>
Date: Mon Feb 22 18:47:34 2010 -0500
s4:netlogon fix segfault
commit 6c0cd488e5998b058ce472cfb0f41f11dc19327b
Author: Simo Sorce <idra at samba.org>
Date: Mon Feb 22 15:01:16 2010 -0500
ldb:web Fix typo
commit 2a5060fcefd515b344281c75558e370dce78cdba
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 22 15:34:15 2010 -0800
A test "store create time" parameter got commited by accident. Remove it.
Jeremy.
commit 3aee8e73b0c175ece7790427e28ce7c0f4cbaaa5
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 22 15:04:10 2010 -0800
Ensure STREAMERROR deletes any files in the \\testdir
before rmdir and mkdir.
Jeremy.
commit f1fe808978ac420387a80a6862762ba3dd090af0
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 22 14:36:40 2010 -0800
Add an "attributes" string to allinfo.
Jeremy.
commit 82f6f3920c3127caf5e32de4c81830e74300e0f8
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:27:48 2010 +0100
s3: Explicitly handle inbuf in cli_trans_done
commit 964210b89a9438356c3c37a4f9d227ce6cf09c8f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:27:22 2010 +0100
s3: Explicitly handle inbuf in cli_write_andx_done
commit 78d7f27993ee67f6df48e437b994c5b8e1aba165
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:26:06 2010 +0100
s3: Explicitly handle inbuf in cli_read_andx_done
commit 486f734fd8794fb424d44b21695973cbd01a348b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:25:34 2010 +0100
s3: Explicitly handle inbuf in cli_message_start_done
commit be62ca140335c7f841e44195450090201e09437a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:23:31 2010 +0100
s3: Explicitly handle inbuf in cli_dskattr_done
commit 327f93bf1c49d725964a637e657915ccf460e8e4
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:21:01 2010 +0100
s3: Explicitly handle inbuf in cli_getatr_done
commit 41ebf583e86a17fd2d1dc4443b81ef1ad27e1f4c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:20:38 2010 +0100
s3: Explicitly handle inbuf in cli_getattrE_done
commit 409fd662b062c282fc748200ccbd62e415e87f8a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:19:45 2010 +0100
s3: Explicitly handle inbuf in cli_open_done
commit 12863ffa5667acca1b7e34cad599a26d6d1ae20c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:19:28 2010 +0100
s3: Explicitly handle inbuf in cli_ntcreate_done
commit 1fab94a31bd6060fe64e1ac5245a19149b97e035
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:18:38 2010 +0100
s3: Explicitly handle inbuf in cli_echo_done
commit fdd82e69abfa05fe11523f5b158384cb82d3bc8b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:17:29 2010 +0100
s3: Explicitly handle inbuf in cli_negprot_done
commit 160c459b54c5e18c59a0c155c3b94896267715bb
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:16:55 2010 +0100
s3: Explicitly handle inbuf in cli_tcon_andx_done
commit 036fcafe242363bd290b179c21406dafc0d3a678
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:15:28 2010 +0100
s3: Explicitly handle inbuf in cli_sesssetup_blob_done
commit 47c61b4f15a8b366e51bc0de0a3427eecd0d65a3
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:14:43 2010 +0100
s3: Explicitly handle inbuf in cli_session_setup_guest_done
commit 299d9c409dd20b1b5abe4abf2a11c121c8a76abb
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 11:50:05 2010 +0100
s3: Explicitly handle inbuf in cli_smb_oplock_break_waiter_done
commit d122bfc064a0265b1e08dd52bbce61caac1d6a6b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 09:53:58 2010 +0100
s3: Add a talloc_move for the inbuf to cli_smb_recv
commit 91bf841c2e2997f7b39e3e757d3b88054829ed62
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Feb 22 22:15:03 2010 +0100
s4:registry/regf.c - specify the context when freeing the "regf" variable
Otherwise we get a "talloc_free with references" warning.
commit 1e986c1cb3243f7f7de4e7866e78584615ecd13e
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 17:46:46 2010 +1100
More spelling fixes across source4/
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 7a23b9769be2c3c25cfb8fa280efb0ab34cd24b2
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 17:35:11 2010 +1100
Various source4 spelling fixes.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 4b024683acba72c1b8618155a45f32e6437878d1
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 17:33:28 2010 +1100
Spelling fixes for source4/auth.
The comment for USER_INFO_INTERACTIVE_LOGON looks like a cut-n-paste from the line above.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 3eacc83b35f65603e41bc36d6c42608fc22912f6
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 17:24:08 2010 +1100
Spelling fixes for source4/lib/registry.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 7def87cb17edac48ed21041e6cbbda372a8a46da
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 17:23:15 2010 +1100
Typo fix.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 1683d090ccfb8b2959e091bdb9281a4991d943dc
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 17:22:45 2010 +1100
LDB related spelling fixes.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit dd89dc2c3166d4bbcb3aacfb7222488c69e10485
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:58:07 2010 +1100
Spelling fixes for libutil
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit e4c2f4dc75ad38bfeb7c8b8015a48b6b49b22b90
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:51:01 2010 +1100
Spelling fixes in lib/zlib.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 198b17abf0c8d1d07f4e22a757acd60d4a570af4
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:35:10 2010 +1100
Spelling fixes for libreplace.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 319d3bf9d93ddfc1afbfb0c759f6d91906f915c1
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:34:22 2010 +1100
Spelling fixes for tsocket API documentation.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 11b211cf989ab3f6d4d3aa352e3fc8163ea09d72
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:33:24 2010 +1100
Spelling fixes for lib/compression.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 7863bb1511aac0234d1beb48f8163bbc67fc2588
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:32:29 2010 +1100
Spelling fixes for nss_wrapper.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 842fb05b1111fbf607f05f51d2f271d32bd052a8
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:31:46 2010 +1100
Spelling fixes for popt API documentation.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 119a8230ebeaf1eb95682a3d5c7b8675791c02fd
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:31:01 2010 +1100
Spelling fixes for tevent.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 09e756b1d651caef203a4b7e02234f6dea374b08
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:07:43 2010 +1100
Spelling fixes for tdb.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 6de98ba10bc9c66a068b0e37f0910a6b073f75c2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Feb 22 21:19:27 2010 +0100
s4:torture/ldap/basic.c - add some "const"
In addition I removed a "talloc_free(req)" since we never free elsewhere the
requests explicitly and do it only indirectly with freeing the "conn" object
when the testsuite terminates.
commit 73bfd9de5de17de4b1fcccad1162fc8fb588c751
Author: Simo Sorce <idra at samba.org>
Date: Sun Feb 21 16:07:00 2010 -0500
s4:netlogon enhance DsrEnumerateDomainTrusts
Actually return trust relationships by searching the appropriate
entries in the SAM database.
Add checks and return the correct flags, type and attributes.
commit 280a8a70fdf362fbd94308f8dcb6ba7ae0a6db88
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Feb 21 11:55:48 2010 +0100
s4:operational LDB module - enable support for passing referrals through it
commit c16d4fb76d3a0c9c0f51790e3f448d6083f0f836
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 20 20:31:41 2010 +0100
s4:partition DSDB module - Cosmetic fixups
commit 461987bc26c89253f5ee71e3c374d4b0db79c84b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Feb 16 19:48:46 2010 +0100
s4:password_hash - Fix up request message pointers
For add requests we need the add request messages, for modify requests we need
the modify request messages.
commit eca8697d6181f1b7c1261393de72411227680065
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Feb 17 18:24:03 2010 +0100
s4:dsdb/util.c - Use LDB result constants in some more helper functions
Always better to rely on the standards rather than on custom results.
commit f2eac3b6ea6103823dfe034cb30a610599df44ce
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Feb 21 21:30:42 2010 +0100
s4:provision.py - try to use other addresses than "127.0.0.x" and "::1"
On production systems a user for sure strongly disagrees to use local IP
addresses (how should the server be accessible?). Therefore if the user didn't
specify an IP as provision option and in the "/etc/hosts" file we have at
least one not-local IP which resolves to our hostname use this or one of them.
Notice: if a host has more public IP addresses with the same name assigned the
behaviour is non-deterministic (well, okay - by the entries order it is). But
then the user is invited to specify the host IP manually.
This should address bug #5484.
commit 017e401dedcd22feeb28c49aee9592befdce1e69
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 20 11:17:23 2010 +0100
s4:AD content - Implement the new password settings container
commit 973ea198677c581064fad62cdac30baac7103ef8
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 20 11:16:58 2010 +0100
s4:AD content - adequate some revision levels to match Windows Server 2008
commit e592deeb1ae587f1fe18e1f12531dec1f39d3553
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 20 11:15:25 2010 +0100
s4:AD content - Add the DFSR objects which exist on Windows Server >= 2008
Those replace the FRS ones.
commit 65914ed8194b141a44516d626e71a1851bccff5f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 21 20:39:36 2010 +0100
s3: Avoid calling cli_alloc_mid twice in cli_smb_req_iov_send
I hate macros....
commit 0679c774697563bc0b1f57462018051b75d0e581
Author: Simo Sorce <idra at samba.org>
Date: Sat Feb 20 14:21:36 2010 -0500
cleanup
remove trailing spaces, tabs and blank lines
commit 15edc96f4914db7b478aa321d8a596993a591822
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 21 11:41:54 2010 +0100
s3: Use the status from cli_raw_ioctl in torture_ioctl_test
commit 77dd1b29bb34500c5643670dcca6094ab526ce44
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 21:32:07 2010 +0100
s3: Make string_to_sid survive the LOCAL-string_to_sid test
commit e38908ea65966387076b59352fd1ac6bccf13e33
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 21:31:16 2010 +0100
s3: Rename LOCAL-dom_sid_parse to LOCAL-string_to_sid, add some tests
commit 1e8a84aac73f02ac6eec53b5a13ec31347070210
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 21:07:08 2010 +0100
s3: Add printf why LOCAL-dom_sid_parse failed
commit 2beaa190295bc6e4c9e7f8a3768c74ad0a4359fe
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 18 22:52:41 2010 +0100
s3: Slightly simplify the logic of completion_remote_filter
commit 48d6ed7cac1e948b604ff44eee3528c396d5ecef
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 16 22:07:22 2010 +0100
s3: Fix some nonempty blank lines
commit 1f451d122e869ae7c880e6d347ff127aa9d87d72
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 15 23:53:18 2010 +0100
s3: Remove a "typedef struct"
commit f27857e655c410559b8717ce03049b7d7be3aa1f
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 15 23:52:51 2010 +0100
s3: Fix a typo
commit 8930a9c52008c7c9a755b213f857dfa2247f6823
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 14:07:17 2010 +0100
s3: Convert cli_qpathinfo_basic to use cli_trans()
commit b69a74eeca6acbfb1be0ef3eb8f84e2f4700f2a9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 13:36:49 2010 +0100
s3: Convert cli_raw_ioctl to use cli_smb()
commit 89e6a5263e29759c4edd1a8e856443f59dff0c31
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 13:24:41 2010 +0100
s3: Add cli_smb()
This is a sync wrapper around cli_smb_send/cli_smb_recv. This is a hack to
speed up converting libsmb/ away from cli_send_smb/cli_receive_smb. Some
routines in libsmb/ are only called in one place in smbtorture for example,
where making it async right now is not worth it. With cli_smb_send/cli_smb_recv
in place, pushing the asynchronosity out one level is "just" boilerplate code
that is easy to do should it become necessary.
commit a7036a9e47382e738f6ebedf13719222950611d6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Feb 20 11:51:47 2010 +1100
librpc/ndr Remove unused macros
Since the change to the way we pull these OIDs from the wire, these
macros are unused.
Andrew Bartlett
commit a9d9447d5a448e13d4373c3c4b48f0edd49dc38a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Feb 20 11:44:41 2010 +1100
s4:credentials Add hooks to extract a named Kerberos credentials cache
This allows the integration of external tools that can't be linked
into C or python, but need to authenticate as the local machine
account.
The machineaccountccache script demonstrates this, and debugging has
been improved in cli_credentials_set_secrets() by passing back and
error string.
Andrew Bartlett
commit da1970c0ff4cd3556102e9357b2e0cf65728c8d6
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 19 18:09:48 2010 -0500
s4:lsa open trusted domain also with dns name
When searching for a trusted domain object to open, search also the DNS Name
attributes for a match. W2K8R2 uses the DNS domain if available.
commit c8a3c015850b91c991da10d388ec33ea02c5e155
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 19 17:46:42 2010 -0500
remove trailing tabs and spaces
commit 0055e33dbed0e81548464d01bcf864255bab3159
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 19 14:24:17 2010 -0800
Second part of fix for bug #7159 - client rpc_transport doesn't cope with bad server data returns.
If server returns zero on a NP read. Report pipe broken.
Prevents client from looping if it thinks there should be
more data.
Jeremy.
commit ad77ae1d5870e06f8587ecf634e0b6bdcbb950d7
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 19 14:18:51 2010 -0800
First part of fix for bug #7159 - client rpc_transport doesn't cope with bad server data returns.
Ensure that subreq is *always* talloc_free'd in the _done
function, as it has an event timeout attached. If the
read requests look longer than the cli->timeout, then
the timeout fn is called with already freed data.
Jeremy.
commit fff7750618ca7e92b7eaea541cd917d778b51a35
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 19 16:56:45 2010 -0500
readability reformatting
stop this function from maiking my eyes bleed
commit f74ce57cb584d9e9d99b26e0467cc0c4b541f84d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 19 18:02:46 2010 +1100
s4:rpc_server Add a 'if_version' parameter to the bind operation.
This allows the interface version to be forwarded to the remote server
in the RPC proxy, both in the endpoint lookup and the subsequent bind.
Andrew Bartlett
commit 9f222841fedd3796c238146081c20591ae72747b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 19 16:33:45 2010 +1100
librpc When sending endpoint mapper requests, include the minor if_version
The minor version (in the upper 16 bits of syntax->if_version) needs
to be pushed as the right hand side of the endpoint mapper floor (the
same floor as the interface UUID and major if_version).
Andrew Bartlett
commit ec0aa8a5c92c634ca3264b65c987b2072875df5c
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 19 15:25:42 2010 +0100
s4-smbtorture: more work on devicemode tests.
Guenther
commit 0e95a6a09cda6579be7d01c9e4c78f9f7f7cc54e
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 19 14:27:31 2010 +0100
s4-smbtorture: explain failure conditions in printer device mode tests a little more.
Guenther
commit f2ecec3dcdafd63cd72d13019a998bf99539a9ba
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 19 14:25:19 2010 +0100
s4-smbtorture: add --option=torture:spoolss_check_size=yes.
This disables the size calculation comparison by default.
Guenther
commit 299e5bc2ba767a4f23553c247a32d17395c53786
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 19 14:14:18 2010 +0100
s4-smbtorture: print more comments while running SD and DM tests in RPC-SPOOLSS-PRINTER.
Guenther
commit e40310a64bb8fccefeca720948130b9d23490ec6
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 19 10:11:19 2010 +0100
testprogs: ignore GetJob level 3 and 4 against samba for now.
Guenther
commit 76aa37f653fec2d511921768381db7da661750cb
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 19 08:11:24 2010 +0100
librpc/ndr: don't overwrite the content in ndr_push_relative_ptr2_end()
metze
commit 809dd8c4137e8dcb52613067fea49357b71355fa
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 19 15:57:59 2010 +1100
s4:selftest Add test for the RPC proxy
commit a8b2088a0eb6cd5b8f9a7fba276ca31418a7989a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 19 15:56:30 2010 +1100
s4:selftest Add infrastructure for testing against an RPC proxy
This also changes the 'testenv' code to use a new environment 'all'
(we may wish to make other complex tests depend on this in future),
and exports more names in more namespaces.
Andrew Bartlett
commit e4523e3c8f68752da65bedd3c1559c78b3be67a2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 19 15:55:28 2010 +1100
misc.idl: Add reference to the slightly odd representation of if_version
I found this confusing, so explian for the next poor programmer who
has to get up to speed with this quickly.
Andrew Bartlett
commit 10fed057cde7649b8fc8ee6611ea588a471c2483
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 19 15:53:31 2010 +1100
s4:rpc_server Record the remote connections association group ID
By recording the association group the remote server assigned to our
proxied RPC connection, we can ensure we use the same value when the
client wishes to use it.
This isn't stored in a private pointer, as mapiproxy will want to use
this feature too.
Andrew Bartlett
commit af4a7c0f4be4bb94d6299e93f22d26e2f8340e69
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 19 11:14:15 2010 +1100
s4:winbind Make the 'no SID found' message even more detailed
Now we give the user a clue as to what may be wrong, and the file path
that we could not find the domain SID in.
Andrew Bartlett
commit 91a4db635802a391a560b739c996b5599a3df1a4
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 18 16:12:04 2010 -0800
More fixes for bug #7146 - Samba miss-parses authenticated RPC packets.
Alignment space calculations are tricky :-).
Jeremy.
commit 13533e12fd33df5ac75839cf4cb145b247941205
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 21:54:45 2010 +0100
s3-spoolss: add support for _spoolss_SetPrinter level 8.
Guenther
commit 1a42b020fd8fdd96fa7433f3bb7589167040719a
Author: Michael Adam <obnox at samba.org>
Date: Fri Feb 19 00:33:45 2010 +0100
nss_wrapper: fix segfault in print_group() in the testsuite
Running
'TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMR-LARGE-DC LOCAL-NSS-WRAPPER" make test'
from s3 made smbtorture4 crash on my box.
Michael
commit 11a87cd31eedaf4e43864bf51ac1f53bca53e327
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 18 15:03:30 2010 -0800
More fixes for bug #7146 - Samba miss-parses authenticated RPC packets.
Ensure we calculate the space correctly (including the ss_padding_len)
when constructing reply packets.
Jeremy.
commit 2eb83f29648c7647cff4ac6eb38830ae35fcbcb5
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 23:23:28 2010 +0100
s4-smbtorture: add LOCAL-NSS-WRAPPER-DUPLICATES test.
Guenther
commit 9b9c9fd1759eb1f76cb54d0b6aec600c3c3a8f8f
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 23:22:52 2010 +0100
s4-smbtorture: be more verbose in LOCAL-NSS-WRAPPER.
Guenther
commit c0ebca237c6748365b2400529e02b5c8342e6ecc
Author: Björn Jacke <bj at sernet.de>
Date: Thu Feb 18 10:01:26 2010 +0100
s3: optimize strict allocate for XFS on IRIX
commit 77164a8a5de22c67cf8d86bda92408aef2ea146b
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 16:40:20 2010 +0100
testprogs: add tests for GetJob() to spoolss test.
Guenther
commit a4e8210ba7d6d471cb9f17754244393b9c1e5930
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 18 12:21:10 2010 -0800
Fix bug #7155 - valgrind Conditional jump or move depends on uninitialised value(s) error when "mangling method = hash"
The charset array allocated in init_chartest() is allocated
by MALLOC, but only some elements of it being set after allocation. Fix is to
memset to zero after allocation.
Jeremy.
commit df13b1303a751962d8f7d5298b39e4a7500fef15
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 18 11:22:44 2010 -0800
Fix bug #7154 - mangling method = hash can crash storing a name not containing a '.'
Fix use of uninitialized variable. This can lead to crashes if
mangling = hash processes names with no '.'.
Jeremy.
commit 0bf9c5ecf60d0264b4a7ba3070b3511adb7bd28c
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 14:48:57 2010 +0100
testprogs: add RPC_S_PROCNUM_OUT_OF_RANGE error.
Guenther
commit 0a8011aa98ccaa81dc6ba2d30672ef4856fc31d8
Author: Günther Deschner <gd at samba.org>
Date: Sat Feb 13 03:45:25 2010 +0100
spoolss: use ndr_push_spoolss_PrinterInfo2 hand-marshalled version (moves devmode relative pointer down to sd).
Guenther
commit 28817424935e5b6eaf465fe993dedc2b0a0cf177
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 02:48:01 2010 +0100
spoolss: add spoolss_security_descriptor.
Guenther
commit 70f8b34f513ceeb736061d79e9d44dda39b51642
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 16:47:32 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit f10a2d773d141f67319e19b45c40101bb9cb6cf4
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 10:46:07 2010 +0100
security: make two bitmaps public.
Guenther
commit 8c4ff98ea11ff06e20bea73596e9643d8194a890
Author: Günther Deschner <gd at samba.org>
Date: Sat Feb 13 04:27:05 2010 +0100
spoolss: make two bitmaps public.
Guenther
commit 8f52957369bf8ce7591d5d9a1436ccb7e384c612
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 18 15:36:08 2010 +0100
spoolss: make all security descriptors and devicemodes 4 byte aligned and add missing subcontexts.
Guenther
commit 6d0a39741dacd81e33b25a91fa28cdf983d10d84
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 14 17:22:39 2009 +0100
spoolss: set NDR_RELATIVE_REVERSE flag for various unions that have relative pointers.
Guenther
commit 2059a165ee6f4d231aa4075d8ddea70b8df8944f
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 18 15:17:42 2010 +0100
ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_*
metze
commit a4c3aeb79306190b09e284a6a28e3b40fbc5823b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 23 15:52:39 2009 +0100
spoolss: use subcontext in NDR_SPOOLSS_PUSH_ENUM_OUT macro.
metze
commit 8310f02414efd3b792857ed20c636c4c114e1ba2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 18 15:13:20 2010 +0100
libndr: fix ndr_size_* calculation with relative reverse buffers
metze
commit 4a76d29374769ba4c075b8d5767498848d2e17d6
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 18 13:40:44 2010 +0100
libndr: for now align reverse relative pointers to 2 bytes by default.
This is just a hack and we should let the callers use FLAG_ALIGN2
explicit in future.
metze
commit 31c7780c16651b284009874cf3da04587dc36d19
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 21:24:40 2010 +0100
libndr: implement LIBNDR_RELATIVE_REVERSE handling
This is based on Guenther's initial code.
metze
commit 05347754ee61f06466d6d9b7f390001992f793ce
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 14 15:33:32 2009 +0100
libndr: store a subcontext buffer size in ndr_push_subcontext_start.
Guenther
commit b5f9c44da55abb28222441a7e064a2a25891981f
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 20:27:08 2010 +0100
libndr: give an error when ndr_push_relative_ptr2_start()/_end() is used with the RELATIVE_REVERSE flag
metze
commit a2c34296fa6ca2ffb69cb69698a9b5f81803e8a8
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 18:27:37 2010 +0100
libndr: add LIBNDR_FLAG_NO_RELATIVE_REVERSE so that relative reverse processing
can be disabled for single structure elements.
Guenther
commit ee13a51b0514ec3ac4ca9c532c2b101a08ec9784
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 14 15:09:00 2009 +0100
libndr: add LIBNDR_FLAG_RELATIVE_REVERSE flag.
Guenther
commit c9fa97b01774d767acfabaf1eec7a6aad1510440
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 16 22:54:02 2009 +0100
libndr: change subcontext buffer allocation to allocate on subcontext_start.
Guenther
commit 98e143cd31fe10a039a4110f4d3755dee62ee826
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 20:00:36 2010 +0100
librpc/ndr: make ndr_push_relative_ptr2() static
metze
commit e03591111a1b9c2f05c29a7afac4641f23f455f4
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 20:00:04 2010 +0100
librpc/ndr_krb5pac: use ndr_push_relative_ptr2_start()/_end()
metze
commit b423bd2115e006f9af5d40cf5b651e03739d53a0
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 19:59:19 2010 +0100
librpc/ndr_drsblobs: use ndr_push_relative_ptr2_start()/_end()
metze
commit bfd6edb3e9339d602eb6514ff50c3bb6c671174e
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 18:54:31 2010 +0100
spoolss: fix relative pointers in ndr_push_spoolss_DriverInfo101.
Guenther
commit c869328b1642043480f9600c88bcce9da37959b1
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 14 14:17:05 2009 +0100
s3: re-run make full_idl.
Guenther
commit a049d75193b284fe9efb28d303ea46ba407e5a7a
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 14 14:09:22 2009 +0100
pidl: use ndr_push_relative_ptr2_start and ndr_push_relative_ptr2_end.
Guenther
commit bc20d3446aa6de9f1d21d167c384e9eb4edd55eb
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 14 14:08:34 2009 +0100
libndr: add ndr_push_relative_ptr2_start and ndr_push_relative_ptr2_end.
Guenther
commit 494819773d61daa32d4ee2a0a15088f3b4abe6e2
Author: Karolin Seeger <kseeger at samba.org>
Date: Thu Feb 18 13:10:21 2010 +0100
s3-docs: Remove trailing whitespaces and fix a typo.
Karolin
commit 37115f91aebec9c846e54790c6bcf433ae35888a
Author: Björn Jacke <bj at sernet.de>
Date: Wed Feb 17 23:03:32 2010 +0100
s3:docs: add some advice for usage of strict allocate
commit b3c2b2260a503079b9abf22f6b35b56c61c2b372
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 12:40:00 2010 +0100
s3-spoolss: Fix _spoolss_EnumPrinters servername handling.
Guenther
commit b6f58e25b5bbce25d4e8825e680afe3986f10e8c
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 11:20:49 2010 +0100
s3-selftest: fix return code for modprinter.pl -a.
Background is: the SetPrinter level 2 calls "addprinter command" an fails if a
share already existed (and the addprinter command returned a non-0 return code).
Removing the non-0 return code is fine, as in AddPrinter{Ex}, we have checks to
see if a share already exists before calling out the addprinter command.
Maybe one day, we need to have a "changeprinter command"...
Guenther
commit c42d9c4ec410e205091784cd97cbceb5572609d8
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 19:11:11 2010 +0100
tsocket/bsd: fix comment in tdgram_bsd_recvfrom_handler()
metze
commit 9abce9f7c95e5b98acff990ff0f7d4adec31282f
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 17 19:42:49 2010 -0800
Revert "Got back to 16-byte padding on auth RPC. S3 clients and servers now cope with this. Jeremy"
This reverts commit 38c50c7027d2a2a9a3df060b74b2a2efce4d9e6f.
As tridge requested, we need this to work with older S3
servers, not just for smbtorture4.
Jeremy.
commit 867daf6e0a48b26286efdbc220a5572d6e0c92e2
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 02:17:01 2010 +0100
s3-selftest: finally enable RPC-SPOOLSS-PRINTER against Samba 3.
Guenther
commit 34ad5da5cd5b891c2aa18d06cbb1023e8b5c5ddc
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 00:48:58 2010 +0100
s3-selftest: include addprinter/deleteprinter command.
Guenther
commit 43e3d8f51da4bbdb3108af45e2fddab7e2e91f04
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 02:14:26 2010 +0100
s3-spoolss: fix return code of spoolss_DeletePrinter.
When the printer has been removed by the "deleteprinter command", we need to
check if it is still there and then fail, not fail if we successfully removed
it (found by RPC-SPOOLSS-PRINTER).
Guenther
commit 8ce66fba03f782c0b9948a9835bb488cfa74acf9
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 02:03:53 2010 +0100
s3-spoolss: in spoolss_EnumPrinters r->in.server is a *unique* pointer!
Guenther
commit 2d2db2a8226f6a3a8e114abc9a37aea66dba912e
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 01:58:56 2010 +0100
s3-spoolss: more AddPrinter{Ex} checks.
Windows will allow to add a non-shared printer that is returned by EnumPrinters.
Samba has no notion of non-shared local printers yet, so just make sure to
behave like we do elsewhere: a printer autoloaded by samba or added to samba is
shared.
Guenther
commit 5cff7e1692e4caa308271581f3df3f72c4f31261
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 14 14:34:30 2009 +0200
s3-spoolss: add some printer info validation for AddPrinter calls.
Guenther
commit 9ff2c1ea64a267bb459eaba4a273c8300bb82c5a
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 16:21:02 2010 +0100
testprogs: print SDDL string of printer security descriptors
commit 6cf10cc1020dd7ef483887caebcbd76d28572432
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 02:13:07 2010 +0100
s3-modules: fix get_acl_blob in the acl_tdb VFS module.
Shuttle-reviewed by jra :)
Guenther
commit 998a7b4e3f50c49df3ad391a21c14e3df5e377eb
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 01:45:06 2010 +0100
s4-smbtorture: skip printer info cross tests against samba 3 for now.
Not even w2k8r2 passes them atm.
Guenther
commit 97d36377d3521c762c20c9a81482741d0f325964
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 01:43:08 2010 +0100
s4-smbtorture: try more combinations to find printers in test_EnumPrinters_findname().
Also take a note of servers returning full UNC printer paths although we did not
set the servername.
Guenther
commit a1ba72f84c6256e2b6cacfe4d6016ba2c1b832d1
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 01:41:46 2010 +0100
s4-smbtorture: simplify test_PrinterInfo_DevMode a bit.
Guenther
commit 57847c2fee1a19c388ab84f5c629212f70cde62d
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 17 20:45:26 2010 +0100
s4-smbtorture: avoid potential loop while adding a new printer in RPC-SPOOLSS-PRINTER.
Guenther
commit d5e30dec8bbc695d640df335a83554f1666907b5
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 17 15:15:47 2010 +0100
s3-rpcclient: fix uninitialized variable in wkssvc_enumerateusers.
Guenther
commit 38c50c7027d2a2a9a3df060b74b2a2efce4d9e6f
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 17 16:40:28 2010 -0800
Got back to 16-byte padding on auth RPC. S3 clients and servers now cope with this. Jeremy
commit 7202dcdcc06080f0227b82993b446bda4c0782df
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Feb 18 10:54:53 2010 +1100
s4:param Modify secrets_get_domain_sid to give more useful errors
This also moves the calls to secrets_get_domain_sid back into
winbind_task_init(), so that we can terminate with a much more
detailed error message. (The previous message was simply
NT_STATUS_CANT_ACCESS_DOMAIN_INFO).
Andrew Bartlett
commit 7b4387f765e34177000c8218f51e2c1d227504e6
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 17 15:27:59 2010 -0800
Fix bug #7146 - Samba miss-parses authenticated RPC packets.
Parts of the Samba RPC client and server code misinterpret authenticated
packets.
DCE authenticated packets actually look like this :
+--------------------------+
|header |
| ... frag_len (packet len)|
| ... auth_len |
+--------------------------+
| |
| Data payload |
... ....
| |
+--------------------------+
| |
| auth_pad_len bytes |
+--------------------------+
| |
| Auth footer |
| auth_pad_len value |
+--------------------------+
| |
| Auth payload |
| (auth_len bytes long) |
+--------------------------+
That's right. The pad bytes come *before* the footer specifying how many pad
bytes there are. In order to read this you must seek to the end of the packet
and subtract the auth_len (in the packet header) and the auth footer length (a
known value).
The client and server code gets this right (mostly) in 3.0.x -> 3.4.x so long
as the pad alignment is on an 8 byte boundary (there are some special cases in
the code for this).
Tridge discovered there are some (DRS replication) cases where on 64-bit
machines where the pad alignment is on a 16-byte boundary. This breaks the
existing S3 hand-optimized rpc code.
This patch removes all the special cases in client and server code, and allows
the pad alignment for generated packets to be specified by changing a constant
in include/local.h (this doesn't affect received packets, the new code always
handles them correctly whatever pad alignment is used).
This patch also works correctly with rpcclient using sign+seal from
the 3.4.x and 3.3.x builds (testing with 3.0.x and 3.2.x to follow)
so even as a server it should still work with older libsmbclient and
winbindd code.
Jeremy
commit 5564e7147fdbb136775b990d9a5d37d4d232d936
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 17 11:13:35 2010 -0800
Fix bug #6557 - Do not work VFS full_audit
Re-arrange the operations order so SMB_VFS_CONNECT is done
first as root (to allow modules to correctly initialize themselves).
Reviewed modules to check if they needed CONNECT invoked as
a user (which we previously did) and it turns out any of them
that cared needed root permissions anyway.
Jeremy.
commit 94074eb2e6d260e467ad3b6d354beeb282fe1ada
Author: Lars Müller <lars at samba.org>
Date: Wed Feb 17 19:00:01 2010 +0100
s3: go straight to winbindd_dual_pam_auth() in case of !NT_STATUS_OK
At the formerly used process_result statement we have alone one
NT_STATUS_IS_OK() which never could be hit in our case as we only go here
if NT_STATUS_EQUAL is not ok.
commit bc0b1528896feb42765a46c5d235c766677e9c5f
Author: Lars Müller <lars at samba.org>
Date: Fri Feb 5 22:47:39 2010 +0100
s3: let the pam_winbind po files reference the correct location
commit 936828de71023d90aaec6c1dba84052246bbad11
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 17 09:24:34 2010 -0800
Fix commit d07cd37b993d3c9beded20323174633b806196b5
Which was:
tsocket/bsd: fix bug #7115 FreeBSD includes the UDP header in FIONREAD
Metze, this has to have been wrong - you are throwing away the talloc_realloc
pointer returned. Also no error checking. Please review.
Thank goodness for gcc warnings :-).
Jeremy.
commit 968bd16b4908611c6f745154124588b92e3c0062
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Wed Feb 17 18:01:31 2010 +0200
s4/rodc: change the libnet_become_dc code to do RODC join
commit 55f7c74cea12e14b4d4160889a45fdbc1c2a24e6
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Wed Feb 17 18:00:41 2010 +0200
s4/drs: add DRSUAPI_ATTRIBUTE_options attribute
commit 0e8fe821c9408a7ef6dd81cf760cf62b58b77572
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Wed Feb 17 01:21:28 2010 +0200
s4/drs:kccdrs_replica_get_info_obj_metadata implementation
Fix the names of the drsuapi_DsReplicaInfoType enum and rebuild the .idl
The get_info_obj_metadata implementation is ported from implementation
i developed and tested at the samba io lab 2009
commit 80786148145e128c961a6f80a05585a17dfca63b
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Jan 29 19:05:51 2010 +0200
s4/ldap: Refactor the fix for ldap nested searches
Current implementation synchronizes processing for
all types of LDAP request, not only LDAP_Search ones.
Synchronization for ldap replies processing is done
locally in ldb_ildap module as this concerns only
ildb_callback() function.
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
commit d07cd37b993d3c9beded20323174633b806196b5
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 13:53:02 2010 +0100
tsocket/bsd: fix bug #7115 FreeBSD includes the UDP header in FIONREAD
metze
commit 1ffcb991a900b78c9175f6b093839fe96b1bd7d9
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 09:33:18 2010 +0100
tsocket/bsd: set IPV6_V6ONLY on AF_INET6 sockets
Some system already have this as default. It's easier
to behave the same way on all systems and handle ipv6
and ipv4 sockets separate.
metze
commit 8a0949dfc8d2ecf577dfc5ef38496421101b734e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 08:49:28 2010 +0100
tsocket/bsd: fix bug #7140 autodetect ipv4 and ipv6 based on the remote address if the local address is any
metze
commit 6637b2f4b06fcee1e8e1b1782dd96e3273f8caac
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 08:45:58 2010 +0100
tsocket/bsd: fix bug #7140 use calculated sa_socklen for bind() in tstream_bsd_connect_send()
This is needed because, we can't use sizeof(sockaddr_storage) for AF_UNIX
sockets. Also some platforms require exact values for AF_INET and AF_INET6.
metze
commit 135543b4c300e2fc31ee4165ce630644e1aef455
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 08:42:22 2010 +0100
tsocket/bsd: fix do_bind logic for AF_INET
We want the explicit bind() when we don't use the any address.
metze
commit 0b3e950731fe72a258a631e39ca1304d54663536
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 09:43:00 2010 +0100
socket_wrapper: also ignore AF_INET6 in swrap_setsockopt()
metze
commit a8cc2fa09ed43a167f62711bef363a5ac335dc78
Author: Jeff Layton <jlayton at redhat.com>
Date: Tue Feb 16 09:16:42 2010 -0500
cifs.upcall: allocate a talloc context for smb_krb5_unparse_name
cifs.upcall calls smb_krb5_unparse_name with a NULL talloc context.
Older versions of this function though will conditionally use
SMB_REALLOC instead of TALLOC_REALLOC when a NULL context is passed
in. To make it more consistent, just spawn a talloc context that
we can pass into this function.
Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=565446
https://bugzilla.samba.org/show_bug.cgi?id=6868
Reported-by: Ludek Finstrle <luf at seznam.cz>
Signed-off-by: Jeff Layton <jlayton at redhat.com>
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8aef63d2430a3e96b1dbf3f6595bdf78f703c778
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 16 23:29:48 2010 +0100
s3: Fix bug 7139
To provide the user with the same SID when doing Kerberos logins, attempt to do
a make_server_info_sam instead of a make_server_info_pw.
commit 3a9dc490b459514c2117572824dca3830c3a9951
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 17 11:21:56 2010 +0100
s4-smbtorture: unify test list to run against single created printers in RPC-SPOOLSS-PRINTER.
This is to make sure we run the same tests for printers created via AddPrinter
and via AddPrinterEx.
Guenther
commit b32c1e2975bc00ce94e8d02460d98ca3277cf5b6
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 17:42:58 2010 +0100
s4-smbtorture: also test level 2 sets for devicemodes and see if they persist.
Guenther
commit ff5bfb9708962e2d30d3edc2c8a186ccd5dfddd1
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 17:42:19 2010 +0100
s4-smbtorture: refactor setprinter devicemode calls in RPC-SPOOLSS-PRINTER.
Guenther
commit 986627cd67f4ff48152fa5147977813e2b190a93
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 19:43:26 2010 +1100
s4-provision: freeze the DNS zone before creating the zone file
This prevents bind from getting confused if it has a journal for the
zone.
commit fd2556317f22ee02b341ca7ebbd02d7197fb1e4d
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 19:29:37 2010 +1100
s4-dnsupdate: use samba_runcmd() in the dns update task
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 8633d8126bdf5c31c079d64428492bf1ab2d4cb2
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 18:18:28 2010 +1100
s4-param: added "rndc command" smb.conf option
commit 8756e130098254564ebbfb878efdc9f2a24a0696
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 18:18:05 2010 +1100
util: added samba_runcmd()
This allows us to run a child command in an async fashion, with
control over logging of stdout and stderr (which appears in the Samba
log file). This is useful for ensuring we don't miss important
messages from rndc commands (for example).
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5c716146e8aee16b46a2144c199b922c13fd00ba
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 16:34:33 2010 +1100
examples: add bind9 patches for TSIG-GSS support
We will point at these from the Samba4 HOWTO
commit 72c0cd75e4b0aa5e59af6f54800f7a63d95da790
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 16:29:17 2010 +1100
s4-provision: fix permissions on generated DNS zone file
The zone file needs to be writeable by bind to allow for it to flush
its journal on dynamic updates
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d14c3756e82412da93fc19f75167be9f2b46bf33
Author: Simo Sorce <idra at samba.org>
Date: Sun Feb 14 03:33:15 2010 -0500
s3:rpc streamline memory handling
commit eb8800e6118c2f77cef5a27f1c1b6118dd52d4ca
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 10:23:14 2010 +1100
s4-rpc: paranoid check for auth_length
This is not strictly needed as the ndr_pull_advance() checks it a few
lines further down, but I want to save Jeremy getting more grey hairs :-)
commit 77fc30b4811d78f79b8af2fef70eba7b9fa03e79
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 16:12:52 2010 +0100
testprogs: add rather simple device mode tests to spoolss test.
Guenther
commit f8b246e44c819b909b23b4b98ef0999c84d2f4ff
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 16 15:21:25 2010 +0100
s3: Fix timeout calculation if g_lock_lock is given a timeout < 60s
Detected while showing this code to obnox :-)
commit 83542d973ca771353109c7da4b0391d6ba910f53
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 16 12:31:58 2010 +0100
s3: Slightly increase parallelism in g_lock
There's no need to still hold the g_lock tdb-level lock while telling the
waiters to retry
commit be919d6faed198cdc29322a4d9491946c0b044b3
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 16 12:28:53 2010 +0100
s3: Avoid starving locks when many processes die at the same time
In g_lock_unlock we have a little race between the process_exists and
messaging_send call: We only send to 5 waiters now, they all might have died
between us checking their existence and sending the message. This change makes
g_lock_lock retry at least once every minute.
commit 725b3654f831fbe0388cc09f46269903c9eef1d7
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 16 12:22:08 2010 +0100
s3: Avoid a thundering herd in g_lock_unlock
Only notify the first 5 pending lock waiters. This avoids a thundering herd
problem that is really nasty in a cluster. It also makes acquiring a lock a bit
more FIFO, lock waiters are added to the end of the array.
commit 07978bd175395e0dc770f68fff5b8bd8b0fdeb51
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 15 16:57:16 2010 +0100
s3: Optimize g_lock_lock for a heavily contended case
Only check the existence of the lock owner in g_lock_parse, check the rest of
the records only when we got the lock successfully. This reduces the load on
process_exists which can involve a network roundtrip in the clustered case.
commit f3bdb163f461175c50b4930fa3464beaee30f4a8
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 15 16:49:46 2010 +0100
s3: Fix handling of processes that died in g_lock
g_lock_parse might have thrown away entries from the locks array because the
processes were not around anymore. Don't store the orphaned entries.
commit eda16f2410d7a6d79505b102aca8f111de4871d9
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 22:41:45 2010 +1100
s4-kcc: remove a qsort() that snuck into the new topology code
commit e3a272c3f23139e69c4e671e6b7b756d727c4e61
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 22:18:16 2010 +1100
s4-rpc: don't use auth padding in rpc bind requests as it breaks s3
The s3 RPC server returns a bind_nak if it gets a rpc bind with auth
padding. This change forces a padding length of zero to maximimise
compatibility with s3 servers.
I've left the padding code in as a #if 0 to make it easier for us to
test/fix the s3 server code, which should be changed to correctly
handle arbitrary auth padding in all rpc requests with auth trailers.
commit 1e13d3fb076fca596f8c480134c6b6f877824360
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 20:21:29 2010 +1100
s4-dcerpc: fixed auth padding to be relative to the stub, not packet
The recent dcerpc padding changes made our padding relative to the
packet header, instead of the start of the stub. Surprisingly, this
broke w2k8r2 doing a dcpromo join to a s4 server. It seems that w2k8r2
is very fussy about the padding it gets in some circumstances.
commit 018fb2d1ae4f1fa2b85afdc8c90dd7ebb8c3fa47
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 16:39:49 2010 +1100
s4-dsdb: return LDB_ERR_CONSTRAINT_VIOLATION on num_recs != 1
In a single record search, LDB_ERR_CONSTRAINT_VIOLATION is more useful
than the generic LDB_ERR_OPERATIONS_ERROR
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 86f8ddf75458582195954cd0b3ad3dcea28c9d0f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 16:09:07 2010 +1100
s4-samdb: use dsdb_search() in cracknames
greatly simplifies some of the cracknames code
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6d65f4c64739094f3657fbf5c081477d04b3cfe3
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 15:54:01 2010 +1100
s4-kcc: remove search_onelevel_with_deleted() in kcc
Use dsdb_search() instead
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0bedb9cf5ec592dfdf84994a9ace64a2c5d1e987
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 15:49:29 2010 +1100
s4-dsdb: removed gendb_search_single_extended_dn()
Use dsdb_search_one() instead, which allows for arbitrary controls
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit b630530730a710b7e850be2f848b1b85dbc25b4d
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 15:40:44 2010 +1100
s4-dsdb: added dsdb_search_one() and cleanup dsdb_find_dn_by_guid()
dsdb_find_dn_by_guid() now takes a struct GUID instead of a
guid_string. All the callers in fact wanted a struct GUID, so we now
avoid the extra conversion.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 8f4a34272eb26e7c86ce8c0e158b5f6eabd10234
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 15:15:35 2010 +1100
s4-dsdb: replace dsdb_find_dn_by_guid() with a dsdb_search() call
much simpler code by using dsdb_flags
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e9be1fc41d8f541efb447e373ae089cab3b19586
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 14:55:19 2010 +1100
s4-dsdb: change dsdb_search_dn_with_deleted() to dsdb_search_dn() with dsdb_flags
Allows for arbitrary controls
commit 90203f87e7da3346ae9236e4d30c93b95a2ddad9
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 14:45:16 2010 +1100
s4-dsdb: change samdb_replace() to dsdb_replace() and allow for dsdb_flags
This allows for controls to be added easily where they are needed.
commit c6d85d67f9b52e4071c84749a1f55de646a5451c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 14:29:07 2010 +1100
s4-dsdb: replace dsdb_modify_permissive() with dsdb_modify() and dsdb_flags
commit 67950c27e473ebf8f7f81ef0ef92d2bd7931622a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 14:23:21 2010 +1100
s4-dsdb: move dsdb_request_add_controls() into dsdb/common/util.c
This will be used to allow the flag based ldb functions to work on
both a ldb or a module, thus saving a lot of specialist functions.
commit f6c39cec27eea2522c62e6f1ff85efdafde351ac
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 16 11:00:08 2010 +0100
s3-docs: Document 'smbclient -C'.
commit 020c8df2815b5ccf9d63ec690f329ea83d5c900f
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 10:45:29 2010 +0100
s4-smbtorture: fix spoolss SD test against w2k8r2.
Guenther
commit 41bb8767a2440d3c6db76c1547c988f4adabe5b9
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 03:28:43 2010 +0100
s4-smbtorture: more work on test_PrinterInfo_DevMode RPC-SPOOLSS-PRINTER.
Guenther
commit 1e59e5d8c91ed4daedac7ea80fd0daa9d946b5e4
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 03:26:10 2010 +0100
s4-smbtorture: allow to call OpenPrinterEx with devicemode.
Guenther
commit 351f694d6102611fc65a0f02dc1c580bcab2e9d6
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 15 23:03:48 2010 +0100
testprogs: add "samba3" and "architecture=" options to spoolss tester.
Guenther
commit 23d1dd5189e0662efb532c31b26c71434a00cff4
Author: Erick Nogueira do Nascimento <erick.nogueira.nascimento at gmail.com>
Date: Thu Feb 11 19:04:00 2010 -0200
s4-drs: DsGetReplInfo() refactoring
commit 3e2a8676c3beff03c9eb3507b0d3bacbd97c147e
Author: Erick Nogueira do Nascimento <erick.nogueira.nascimento at gmail.com>
Date: Fri Jan 29 20:07:47 2010 -0200
s4-drs: DsReplGetInfo() for DS_REPL_INFO_REPSTO infoType
Implements the DS_REPL_INFO_REPSTO infoType of DsReplGetInfo().
commit bb05595b0af6939ddcad138e006b9c463cf33992
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 15 22:06:42 2010 +0100
s4-smbtorture: more work on SD tests for RPC-SPOOLSS.
Guenther
commit 71cfcee6ba1d0d96def2b44cbac0757d6fe98995
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 15 22:16:25 2010 +0100
s4-smbtorture: add rather simple spoolss device mode test.
Guenther
commit a6192d766fad88cf1425d77c303d977e08fba208
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 15 21:55:06 2010 +0100
s4-smbtorture: use test_SetPrinter call in spoolss security descriptor tests.
Guenther
commit cdf2f6b672a17c34e7c16cc22c179e01d8281bcf
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 15 19:23:35 2010 +0100
s4-smbtorture: w2k8r2 allows to add printers w/o defining printprocessor.
Guenther
commit 1988f4274c3de5e4d1b807c83d27cd97cfc5bc0d
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 15 21:45:59 2010 +0100
testprogs: fix EnumJobs debug output in spoolss test.
Found by Kai, thanks!
Guenther
commit bac235dd302570850bb25194ff4bd39b6d653f0d
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 15 16:35:06 2010 +0100
s3: Fix a typo
commit 595982a47517bcae156820b34e7f21e56d2c25e3
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 23:49:26 2010 +1100
s4-rootdse: we don't need DSDB_FLAG_OWN_MODULE here
commit 9c46f425a231543c20ce9953621e1f077bb7bdec
Author: Eduardo Lima <eduardoll at gmail.com>
Date: Fri Feb 12 14:18:27 2010 -0200
s4-drs: enable the recyclebin optional feature
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit aba73767c05c16121ffc5cb3c9a997457222ece4
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 23:05:33 2010 +1100
s4-kcc: remove C++ comment
commit 0cf4e8aae6a2d4155c067137e5e4a391031df930
Author: CrÃstian Deives <cristiandeives at gmail.com>
Date: Wed Feb 10 03:42:28 2010 -0200
s4-kcc: initial code for the topology algorithm
this patch contains the data structures declarations and the functions to
setup the graph.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 4edbb255998269f848636669c6d358f194c5eedd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 22:49:35 2010 +1100
s4-dsdb: don't change replPropertyMetaData if the value hasn't changed
When updating replPropertyMetaData, check if the value being stored is
the same as the current value, and skip the update if it is.
This is based on a patch by Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
commit 694ab7c5fffa6a4599ee1d80717f11b8ae7983a1
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Feb 15 12:23:11 2010 +0100
s4-heimdal: Fix typos in comment.
Karolin
commit 2dff1f45f72f77dd94fcab6552e2c957df9aac5f
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 21:21:55 2010 +1100
s4-test: use local ldb for urgent_replication test
This test only currently works on a local ldb, as it needs system
access.
commit 3035c7c2ad2cb41ca01405ea7b2566fcc058fbe7
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 21:18:13 2010 +1100
s4-ldb: fixed permissions on urgent_replication.py
commit 1ca2bd78b95ad5a0852620ba56481f19a9d3a084
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 21:14:42 2010 +1100
s4-test: minor fixes to urgent_replication.py
- fix usage name
- remove unnecessary python functions
- remote unused gc ldb
commit f5de126b858cdfed5c763662dce270a7c4e42e57
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Feb 4 17:03:41 2010 -0200
s4-drs: Test situations for Urgent Replication
Checks if the partition's uSNUrgent is updated or not, depending
on the class of the object which is created, modified or deleted.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit cf1ed0678acaf1a802d4b90c464edb638ab1364f
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Feb 4 16:58:31 2010 -0200
s4-drs: Function for accessing dsdb_load_partition_usn from Python
Returns both uSNHighest and uSNUrgent as a dict object in Python
from a given partition dn.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 5aa42f8010d0895b5bc5018567c431f79c40f8f6
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Feb 4 16:46:52 2010 -0200
s4-drs: Fixes bugs regarding Urgent Replication on wrong situations
It fixes the bug which causes an urgent replication to be enabled
incorrectly when an object is modified, but it should happen only
when it was created. This patch also fixes the bug that enable an
urgent replication when an object is deleted, but it should happen
only when it was modified and fixes the bug that does not enable
an urgent replication when an object is deleted and it should happen
only when it is deleted (not when it is modified).
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit ddbda92f87aeedb1a1a976a43a1e5ada3897646e
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 12:54:57 2010 +0100
spoolss: disable GetPrinterDriver level 101 (as called by XP).
We still dont get the marshalling right, disable and XP will just fall back to
level 6.
Guenther
commit 72f250ac16df43ae8d5a7bd294fc82c477f3e2da
Author: Günther Deschner <gd at samba.org>
Date: Sat Feb 13 02:11:31 2010 +0100
s4-smbtorture: add some security descriptor tests to RPC-SPOOLSS and RPC-SPOOLSS-PRINTER.
Guenther
commit 28bd9719e527d4c127df51567636dc71160b4f59
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Feb 15 10:29:47 2010 +0100
s4:provision.c - "provsion_store_self_join" - don't set the realm if it's NULL
The realm can be NULL when this function is called by "libnet_Join_primary_domain".
This seems to be a valid value since "libnet_JoinDomain" is allowed to return an
empty realm if we are not in a ADS domain.
commit 05425fcf14f0695e5e230a698885203cc7c7ab2b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 17:39:20 2010 +1100
s4-drs: replace manual checks with dsdb_modify_permissive()
Much simpler to use the permissive control instead of manually munging
the SPN list.
commit 2908f21c65ad8385f645cd841a25fe0f8f45feb0
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 17:38:47 2010 +1100
s4-drs: use a permissive modify in addentry
It is not an error if entries already exist.
commit 4694b4677ac58cd99d005d33aaf8c1b154e63b29
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 17:38:16 2010 +1100
s4-dsdb: added dsdb_modify_permissive()
This will be used in the drsuapi server
commit 6ec6fa0ac4e71f9b14a3cbfef328d50e321b0544
Author: Holger Hetterich <hhetter at novell.com>
Date: Sun Feb 14 19:05:00 2010 +0100
s3: eventlogadm.c: add -s option to use alternative config file.
Update the manpage accordingly.
commit d3a42946cc7d98070e90122341d234119ed94089
Author: Peter Watkins <treestem at gmail.com>
Date: Sun Feb 14 12:43:13 2010 +0100
s3: Fix initgroups return check
A return code of 1 from initgroups() is OK since apparently it means
the gid has already been set. The man page doesn't mention this.
commit 05b6e3f4f43ef5dacbc69b59c6373c536ae2a1c6
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Feb 14 10:48:13 2010 +0100
s4:dcesrv_lsa.c - remove a superfluous empty line
One empty line is enough for code part divisions.
commit eb5fc899b0a17d86eef4f40d71b023d8db1708b4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 17:09:55 2010 +1100
s4-rpcserver: teach the rpc server to cope with bad sig_size estimates
commit 259129e8f4bc8cacd1850eba3f6551134835d079
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 11:56:28 2010 +1100
a4-dcerpc: another attempt at dcerpc auth padding
The last change broke net vampire against w2k8r2
commit ccfa40fdc3eb785b71a4d2d59933a2fdc352fb24
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:25:06 2010 +1100
util: update three other copies of our dlinklist.h macros
ldb and tevent have their own copies of these macros. This brings them
in sync with the master copy of dlinklist.h
commit 862a17e9ba0aac382a4301d1d60c9d5ea4888959
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:03:55 2010 +1100
s3: last part of TYPESAFE_QSORT() conversion
convert smbcacls, sharesec and web/
commit 3f0898a9f50a35ae94fda9b89809edae0cd9bbb3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:03:12 2010 +1100
s3-smbd: convert lanman and notify code to TYPESAFE_QSORT()
commit bc5d203eeb49ad4c6ff85cff6b05577d81cf1816
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:02:54 2010 +1100
s3-rpc: convert wkssvc to use TYPESAFE_QSORT()
commit 93a33597292eee51b1f8714526cd145d4abe56c1
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:02:35 2010 +1100
s3-locking: convert brlock to TYPESAFE_QSORT()
commit 7cff685c7ecb7dbb126d3bd45217d13fa85ad751
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:02:19 2010 +1100
s3: convert registry and printing code to TYPESAFE_QSORT()
commit c804102d0ff71f5c5664953020e46304d78de4bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:01:49 2010 +1100
s3-nmbd: note TODO item for qsort
This uses another char* cast hack. Left alone for now.
commit 95e26884a85118713faea943115dd003d2442dd5
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:01:17 2010 +1100
s3-vfs: use TYPESAFE_QSORT() in s3 VFS modules
commit 8120bc2ba957fa78e04f6f5fc257c91a7f735e82
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:00:49 2010 +1100
s3-lib: use TYPESAFE_QSORT() in remaining s3 library code
the sort_query_replies() in nmblib.c is a TODO. It uses a hack that
treats a char* as a structure. I've left that one alone for now.
commit 7347ca359d6050575be70274a55b18628d0f3c5b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 09:59:26 2010 +1100
s3-libsmb: use TYPESAFE_QSORT() in namequery code
This one was a bit trickier. I'd appreciate it if someone else can
look over this.
commit 007f24f29dd61d4585933362529f13c005cf1ed2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 09:58:33 2010 +1100
s3-lib: use TYPESAFE_QSORT() in s3 interfaces code
commit 76a7382346f0c9d945adf39da19d69616e2463b3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 09:58:13 2010 +1100
lib: use TYPESAFE_QSORT() in lib/ and libcli/
commit cebbc9a6f1a97aaee633b6eeb6d93faff6c0afb5
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 09:57:36 2010 +1100
s3-includes: enable TYPESAFE_QSORT() in s3
commit 282cc79454f7b708085a04d04e98d11ffec8b293
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:37:20 2010 +1100
s4-ldb: use TYPESAFE_QSORT() in the rest of the ldb code
commit 0c39fbc94ed6ad3aa18a6b3c15743707236f35c3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 13 20:05:22 2010 +0100
s4:loadparm.c - prevent memory leaks
If a "logfile" was already set, free the content up before setting a new
location. This can happen on a loadparm reload.
commit 195bda569e541a49ab3406deca8c8b864ec327d4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 13 19:41:43 2010 +0100
s4:loadparm.c - the logfile parameter value needs to be duplicated
Otherwise the "logfile" pointer tracks all changes of "pszParmValue" which
content is only temporal. This was the cause of bug #6212.
commit 3598409951c223958765a52359423cd8237919b6
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 13 19:19:02 2010 +0100
s4:popt_common.c - fix intendation
commit 415c615dbf50e810e26d40169c78bbaf9de88e3e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 13 18:20:54 2010 +0100
s4:util.c - Corrected the location of the "Directory Service" object
I wonder why nobody noticed this since for sure this "tombstone" functionality
was broken till now.
commit eed65ed337ae89f864dd833cc39c2f75c5ac3e67
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 13 18:03:08 2010 +0100
s4:server.c - use always "return" instead of "exit" in the "binary_smbd_main" function
Just to be consistent - no functional change
commit 9848086aa82d97e7cff33135065df64a6799f0a7
Author: Kai Blin <kai at samba.org>
Date: Sat Feb 13 17:54:27 2010 +0100
libwbclient: Fix s4 build failure by fixing up includes.
Sorry about this, folks.
commit b00d223f87a35498e58ce87dafda7d01582a487f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 13 17:42:24 2010 +0100
s3: Fix Coverity ID 629: DEADCODE
We have already returned if (argc < 1) above
commit 2ea2d2a81e0666f478c5daf1469c8447a3096e8e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 6 13:26:06 2010 +0100
s3: Fix bug 5198 -- parse chfn(1)-change gecos field
commit 271a4c60dbec0d001dc55df58de8e54274137853
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 13 16:38:25 2010 +0100
s3: Fix typo found by jhell <jhell at DataIX.net>
commit b99d9f86e42fd5ffe660166b34d097eff25f18f8
Author: Kai Blin <kai at samba.org>
Date: Sat Feb 13 13:42:56 2010 +0100
libwbclient: Separate out the async functions
commit 613777e6dce53fc3c8794ef6cf5d00688ee442e5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 15:49:13 2010 +0100
s3: Remove unused comparison fn from "struct sorted_tree"
commit 3ab78e31f095639a77ea3c086e765d91424fa6fa
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 15:47:07 2010 +0100
s3: Make adt_tree data definitions private to adt_tree.c
commit 22607320841100148dbaed17983be7703d2172b1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 15:45:42 2010 +0100
s3: SORTED_TREE -> struct sorted_tree
commit ceebed6ce19a5821b01a30f6ebc47871b27b413a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 15:42:26 2010 +0100
s3: TREE_NODE -> struct tree_node
commit 65b26ba985c0882a3380f8fdde8405d98df6de55
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 15:01:57 2010 +0100
s3: Fix some nonempty blank lines
commit e3713176860dce07255c8ee773eaa4715323c9e7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 17:57:56 2010 +0100
use ZERO_STRUCT
commit 95ca53f3e05ac31b05df64412ed1644fa03f99cb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 17:59:51 2010 +0100
Use ZERO_STRUCTP
commit 1a995ab51e1ce236d713e20e264b8c65146b8ec4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 17:53:29 2010 +0100
s3: Fix a typo
commit ece99c763acdc8a9b98ace4b8b08dfccbb1c9cb3
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 13 13:02:15 2010 +0100
s3: Fix a C++ warning
commit f69135e0e985200d62d4618b742bd642ecfdbf31
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 23:09:59 2010 +1100
s4-smbd: fix crash in notify code on client termination
We need to free the lp_ctx after we free the event context, otherwise
the teardown code in the notify backend dies when it tries to use the
iconv_convenience ptr
Fixes bug 7053
commit da86f08605f8ec9fa6d3e1c122ec47309deef994
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 15:32:23 2010 +1100
s4-rpc: be more careful about DCERPC auth padding
Cope with a wider range of auth padding in dcerpc bind_ack and
alter_context packets. We now use a helper function that calculates
the right auth padding.
commit 3ae75a424890fdeddd12535c9330186ec2fcd899
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:26:51 2010 +1100
s4: use LDB_TYPESAFE_QSORT() instead of ldb_qsort()
commit 46dfa9dfbdd7649cd8a71e9727aff830a58e4d55
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:26:16 2010 +1100
s4-ldb: added LDB_TYPESAFE_QSORT()
Like TYPESAFE_QSORT() but for the ldb_qsort() function
commit 1da87fc988d0660f9c868ec9350664a3f7f51942
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:01:22 2010 +1100
s4-wrepl: use TYPESAFE_QSORT() in wins repl code
commit 700f4649511dbef417e639509d2f3374b5c8c6f3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:01:08 2010 +1100
s4-torture: use TYPESAFE_QSORT() in smbtorture
commit f954f522a457a44e7b298e553907d59d670c9051
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:00:55 2010 +1100
s4-rpcserver: use TYPESAFE_QSORT() in rpc servers
commit e5c83e1adba59416a31fd78aaea6c99fff499ddd
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:00:41 2010 +1100
s4-ntvfs: use TYPESAFE_QSORT() in notify code
commit 828b5cd451f88ef267eb3b0dcf819b389ad55ed9
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:00:22 2010 +1100
s4-socket: use TYPESAFE_QSORT() in netif code
commit 0f50f4440d870d0f83b20141f23354a2734c83e3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:00:03 2010 +1100
s4-auth: use TYPESAFE_QSORT() in gensec
commit 5549190b37a2bfc01f5cbff89da47b7ca4bd84fa
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 12:59:43 2010 +1100
s4-dsdb: use TYPESAFE_QSORT() in dsdb code
commit 1373e748aa53fbd3afe4d2377208257d42628d86
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 12:57:37 2010 +1100
tdb: use fdatasync() instead of fsync() in transactions
This might help on some filesystems
commit f435538576878cca81af42e34979a6e4125fe136
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 12:57:13 2010 +1100
libreplace: add fdatasync() if not available
commit 63844609dafb58860a4058bbd7fee10b1f69876b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 12:53:15 2010 +1100
util: added TYPESAFE_QSORT() macro
This makes it much harder to get the type of a qsort comparison
function wrong.
commit 6824c6f46ba7c15e8af91d5aa8b21a946b63107b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 13 12:17:00 2010 +0100
tdb: Apply some const, just for clarity
commit 9252df53d95d6ebe43314ffd87a9dda940b1ae10
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 12 23:18:53 2010 -0800
Use sec_initial_uid() in the places where being root doesn't matter,
and 0 in the places where it does.
Jeremy
commit d46d7717c7bdc1b404ff53d7831ed00d556a940f
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 12 22:45:37 2010 -0800
Simplify the logic in make_connection_snum(), and make it match Windows behavior.
Cause all exit paths to go through one place, where all cleanup is
done. change_to_root_user() for pathname operations that should succeed if
the path exists, even if the connecting user has no access.
For example, a share can now be defined with a path of /root/only/access
(where /root/only/access is a directory path with all components only
accessible to root e.g. root owned, permissions 700 on every component).
Non-root users will now correctly connect, but get ACCESS_DENIED on
all activities (which matches Windows behavior). Previously, non-root
users would get NT_STATUS_BAD_NETWORK_NAME on doing a TConX to this
share, even though it's a perfectly valid share path (just not accessible
to them).
This change was inspired by the research I did for bug #7126, which
was reported by bepi at adria.it.
As this is a change in a core function, I'm proposing to leave
this only in master for 3.6.0, not back-port to any existing releases.
This should give us enough time to decide if this is the way we want this to
behave (as Windows) or if we prefer the previous behavior.
Jeremy.
commit 10e54fb422d9f1ae6d33e5fabbf8c651b0e57a8c
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 12 22:21:19 2010 -0800
Fix warning messages on compile in g_lock.c Volker & Michael please check.
Jeremy.
commit c7f16abc47a2d291d3da95b4c8e654010e36bc0f
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 12 21:29:58 2010 -0800
Fix error in docs. Should be milliseconds, not microseconds.
commit cb0ea273696fc9024e6da18eb3e319024f8643f5
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Fri Feb 12 15:42:50 2010 -0800
s3/smbd: change locking behavior when "lock spin time = 0".
The "lock spin time" parameter mimics the following Windows
setting which by default is 250ms in Windows and 200ms in Samba.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\LockViolationDelay
When a client sends repeated, non-blocking, contending BRL requests
to a Windows server, after the first Windows starts treating these
requests as timed blocking locks with the above timeout.
As an efficiency, I've changed the behavior when this setting is 0,
to skip this logic and treat all requests as non-blocking locks.
This gives the smbd server behavior similar to the 3.0 release with
the do_spin_lock() implementation.
I've also changed the blocking lock parameter in the call from
push_blocking_lock_request() to true as all requests made in this
path are blocking by definition.
commit 465ffbadb8ec6f98d337319473c17720cb41bacd
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 12 18:50:54 2010 -0800
Remove #if SOFTLINK_OPTIMIZATION code.
This hasn't been turned on or been capable of doing so for
many years now. Makes this jumbo function smaller...
Jeremy.
commit 1f89ffd0357bd226fc599f527b0570b3eba9f2b9
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 12 18:17:32 2010 -0800
Revert "Fix bug #7126 - [SMBD] With access denied error smbd return wrong NT_STATUS_OBJECT_PATH_INVALID error"
This reverts commit 2fdd8b10c6abadd27c579e772c0482214d2363a5.
This fix is incorrect. The original code works as desired,
I made a mistake here.
Jeremy.
commit 2fdd8b10c6abadd27c579e772c0482214d2363a5
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 12 15:45:20 2010 -0800
Fix bug #7126 - [SMBD] With access denied error smbd return wrong NT_STATUS_OBJECT_PATH_INVALID error
As tridge's comment says, we should be ignoring ACCESS_DENIED
on the share path in a TconX call, instead allowing the mount
and having individual SMB calls fail (as Windows does). The
original code erroneously caught SMB_VFS_STAT != 0 and errored
out on that.
Jeremy.
commit 72242ef7cd6d2c9b4cc4f82ef1138560cad78df1
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 9 08:00:06 2010 +0100
packaging(RHEL-CTDB): adapt configure.rpm to match the spec-file configure call
Michael
commit a6338c01b7a20b2e4786c74d3cc00027e23420e7
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jan 14 18:26:01 2010 +0100
v3-4-ctdb: Do not do any logrotation
commit a752bbd10d661ebc93b8d51bd583eb62eb00ad18
Author: Michael Adam <obnox at samba.org>
Date: Mon Feb 8 11:01:47 2010 +0100
s3:registry: eliminate race condition in creating/scanning sorted subkeys
Called, from key_exists, scan_sorted_subkeys re-creates the sorted
subkeys record of the given key and then searches through it.
The race is that between creation and parsing of the sorted subkey
record, another process that stores some other subkey of the same
parent key will delete the sorted subkey record, resulting in an
WERR_BADFILE of an operation that should actually succeed.
This patch fixes the issue by wrapping the creation and parsing
into a transaction.
Michael
commit 09f3ed102472304d6b4446a6fab9cf6f05c9176a
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 29 15:04:25 2010 +0100
s3:make "net conf addshare" atomic by wrapping all writes in one transaction
Michael
commit 83fffbeb44441a87569e543054af21d975eb20ae
Author: Michael Adam <obnox at samba.org>
Date: Sat Jan 23 01:17:06 2010 +0100
s3:g_lock: remove a nested event loop, replacing the inner loop by select
This made smbd crash in g_lock_lock() when trying to start a
transaction on a db with an already started transaction,
e.g. in a tcon_and_X where the share_info.tdb was not yet
initialized but share_info.tdb was already locked by another
process or writing acces to the winreg rpc pipe where the
registry tdb was already locked by another process.
What we really _want_ to do here by design is to react to
MSG_DBWRAP_G_LOCK_RETRY messages that are either sent
by a client doing g_lock_unlock or by ourselves when
we receive a CTDB_SRVID_SAMBA_NOTIFY or
CTDB_SRVID_RECONFIGURE message from ctdbd, i.e. when
either a client holding a lock or a complete node
has died.
Doing this properly involves calling tevent_loop_once(),
but doing this here with the main ctdbd messaging context
creates a nested event loop when g_lock_lock() is called
from the main event loop.
So as a quick fix, we act a little corasely here: we do
a select on the ctdb connection fd and when it is readable
or we get EINTR, then we retry without actually parsing
any ctdb packages or dispatching messages. This means that
we retry more often than necessary and intended by design,
but this does not harm and it is unobtrusive. When we have
finished, the main loop will pick up all the messages and
ctdb packets. The only extra twist is that we cannot use
timed events here but have to handcode a timeout for select.
Michael
commit e4af0bc5af2c3ee025ca7fac251c3672ba2c8dd5
Author: Michael Adam <obnox at samba.org>
Date: Sat Jan 23 00:05:15 2010 +0100
s3:ctdb_conn: add ctdbd_conn_get_fd() to get the fd out of the ctdb connection
Michael
commit 8e306b51b79d3dacd68be9f13aa8455e2eb4c03f
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 22 15:56:28 2010 +0100
s3:g_lock: remove an unreached code path.
Michael
commit 1933214108d1a71bc6473a696ce35020a427d8f4
Author: Michael Adam <obnox at samba.org>
Date: Mon Jan 18 17:26:04 2010 +0100
s3:dbwrap_ctdb: fix reading/storing of special key __db_sequence_number__
The key for reading and writing was inconsistent due to a
off by one data length.
Michael
commit c311697aded87ce624d40cbf14e05d6e6377c257
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 13 23:53:54 2010 +0100
s3:dbwrap_ctdb: exit early when nothing has been written in transaction_commit.
This skips update of the __db_sequence_number__ record when nothing else has
been written. There are transactions that are just openend and then nothing
is written until transaction_commit is called. This is for instance the case
with registry initialization routines: They start a transaction and only
write somthing when the registry has not been initialized yet.
So this change will skip many db_seqnum bumps and TRANS3_COMMIT roundtrips.
Michael
commit 1d594bd734a2f7146ed52872456a16c5e41816f1
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 13 23:51:34 2010 +0100
s3:dbwrap_ctdb: fix brown paperbag bug in ctdb_transaction_commit.
I carefully prepared the return value only to "return 0;" at the bottom. :-(
This may well have hit us for instance in the nested cancel case
and produced random errors.
Michael
commit 524072b56bf659002410a817749bf86fe6f51e83
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 6 00:37:21 2010 +0100
s3:dbwrap_ctdb: fix logic error in pull_newest_from_marshall_buffer().
The logic bug was that if a record was found in the marshall buffer,
then always the ctdb header of tha last record in the marshall buffer
was returned, and not the ctdb header of the last occurrence of the
requested record.
This is fixed by introducing an additional temporary variable.
Michael
commit 1505b69dea6044a13a59f672e22f5833256cb981
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 5 16:17:27 2010 +0100
s3:dbwrap_ctdb: fix an uninitialized variable.
Michael
commit fb981cdb8282d3b9b46d9ca515a5685add232a72
Author: Michael Adam <obnox at samba.org>
Date: Sat Dec 12 00:38:14 2009 +0100
s3:dbwrap_ctdb: fix two "may be used uninitialized" warnings
Michael
commit 10a44ee6930bb51b4b20ce42f35bc455ac1b7293
Author: Michael Adam <obnox at samba.org>
Date: Sat Dec 12 00:30:37 2009 +0100
s3:dbwrap_ctdb: fix db_ctdb_fetch_db_seqnum_from_db() when NT_STATUS_NOT_FOUND.
Don't treat this as an error but return seqnum 0 instead.
Michael
commit a66c40ff3853d109f13ad3a0dd79b170bb1c5366
Author: Volker Lendecke <vl at samba.org>
Date: Fri Dec 11 16:51:40 2009 +0100
s3:dbwrap: If "-n" is given to dbwrap_torture, open db with CLEAR_IF_FIRST
commit 9113ce82b59c718ac709eb01b125e9e6746a96b7
Author: Michael Adam <obnox at samba.org>
Date: Fri Dec 11 16:45:38 2009 +0100
s3:build: remove checks for deprecated ctdb controls.
Michael
commit 3fe7ce141d6afe3825b06c5feb90558911e4df1e
Author: Michael Adam <obnox at samba.org>
Date: Fri Dec 11 14:07:28 2009 +0100
s3:dbwrap_ctdb: maintain a database sequence number that bumps in transactions
For persistent databases, 64bit integer is kept in a special record
__db_sequence_number__. This record is incremented with each completed
transaction.
The retry mechanism for failing TRANS3_COMMIT controls inside the
db_ctdb_transaction_commit() function now relies one a modified
behaviour of ctdbd's treatment of persistent databases in recoveries.
Recently, a special treatment for persistent databases had been
introduced in ctdb (1.0.108) to work around the problems with the
orinal design of persistent transactions.
Now with the rewrite we need to revert to the old behaviour that
ctdb always takes the newest copies of all records.
This change also paves the way for a next step, which will make
recovery use the db seqnum to tell which node has the newest copy
of a persistent db and use that node's copy. This will greatly
reduce the amount of data transferred with each recovery.
Michael
commit 26225d3e798892b39b3c238b0bee465bffac6550
Author: Michael Adam <obnox at samba.org>
Date: Fri Dec 11 12:30:57 2009 +0100
s3:dbwrap_ctdb: change db_ctdb_transaction_store() to return NTSTATUS.
The return values calculated by the callers were wrong anyways since
the new marshalling code does not set the local tdbs tdb error code.
Michael
commit 5a0c42770b349877928a2b3fd8316903dd62e5b7
Author: Michael Adam <obnox at samba.org>
Date: Fri Dec 11 10:35:50 2009 +0100
s3:dbwrap_ctdb: update (C)
Michael
commit d4c0afa841ecdae1cab955cc73360deae23f5873
Author: Michael Adam <obnox at samba.org>
Date: Fri Dec 4 11:49:21 2009 +0100
build: Add a configure check for CTDB_CONTROL_TRANS3_COMMIT.
This is the new implementation of ctdb transactions using the
global lock feature. It is needed by the current dbwrap_ctdb code.
Michael
commit ebc08b9938a4d266be16ca7e06d27813952cd00f
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 3 18:43:49 2009 +0100
s3: Add tdb_data_equal
commit a035062f11f831875e397b16e0e4c6e2d7ba5c76
Author: Volker Lendecke <vl at samba.org>
Date: Fri Dec 11 15:37:52 2009 +0100
s3:torture: add a test LOCAL-DBTRANS to torture dbwrap with transactions.
commit 16bc6ba2268e3660d026076264de8666356e00bf
Author: Michael Adam <obnox at samba.org>
Date: Thu Dec 3 17:29:54 2009 +0100
s3:dbwrap_ctdb: start rewrite of transactions using the global lock (g_lock)
This simplifies the transaction code a lot:
* transaction_start essentially consists of acquiring a global lock.
* No write operations at all are performed on the local database
until the transaction is committed: Every store operation is just
going into the marshall buffer.
* The commit operation calls a new simplified TRANS3_COMMIT control
in ctdb which rolls out thae changes to all nodes including the
node that is performing the transaction.
Michael
commit b13dd17840a598ae3441e48b130a2b2a2b940572
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 7 00:36:51 2009 +0100
s3: setup debug for smbtorture
commit 12abab711b58237ddccfa1d9bb526f8c7dbb6e9f
Author: Volker Lendecke <vl at samba.org>
Date: Fri Dec 4 13:22:30 2009 +0100
s3: Add ctdb_conn_msg_ctx()
commit 4c1c3f2549f32fd069e0e7bf3aec299213f1e85b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 25 16:12:12 2009 +0100
s3: Implement global locks in a g_lock tdb
This is the basis to implement global locks in ctdb without depending on a
shared file system. The initial goal is to make ctdb persistent transactions
deterministic without too many timeouts.
commit 30797cec7d826a75e6e458829fc3b2203d841ba3
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 12 16:24:22 2010 -0500
s4:kdc Fill in created_by principal field
commit 2e2b7e82592dc5dbb818b621cafafdab05796a12
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 12 14:54:18 2010 -0500
s4:kdc Fix double free and uninitialized memory.
In samba_kdc_trust_message2entry() on error, hdb_free_entry()
may end up trying to access uninitialized memory or double
free the hdb_entry.
commit 89621d8d19e66130fadcc2f87af90aacbb5935c0
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 12 20:31:46 2010 +0100
testprogs: print all printerinfo levels in spoolss test.
Guenther
commit d5af819b1a1f293dda108e77b4dfb64afb894035
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Feb 12 14:58:27 2010 +0100
s4:auth/credentials/credentials.c - Initialise the "lm_response" and "nt_response" structures
In some cases those structures are not initialised and the whole authentication
system crashes with a SIGSEGV. Bug discovered by Matthieu Patou in bug #6755.
commit de555895e59ffa691b5c8e910fe0d93cacc9281e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Feb 12 13:55:14 2010 +0100
s4:getopt.py - set the password callback only when no password has been provided
Previously the "no_pass" and "no_pass2" variables weren't handled correctly.
Since at the initialisation of the "CredentialsOptions" we don't have any
password at all. Only afterwards we could get one through "set_password".
If a password is specified, use it. If no password is specified, consider the
use fo an input mask on STDOUT. But if the loadparm context contains one prefer
it over the input.
commit e82ac8655e95e9df818d8b74c79c06f090a01d70
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 12 12:20:03 2010 +0100
s4:net_drs_bind: make some more stuff static
metze
commit eee98110b3c4f3a24465a71fc5ae7db891c2a46f
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 12 12:19:15 2010 +0100
s4:net/drs: use the full path to "utils/net/drs/net_drs*.h"
This fixes the build with automatic dependecies.
metze
commit 44f75eded1a707b1afff271844fa533fd5c77a55
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 12 12:06:50 2010 +0100
s3: notify_onelevel does not use seqnums, so don't open asking for it
commit 7e328e1e1c0918bfde3e2cba4dfbbf9d52b45f46
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 12 11:32:08 2010 +0100
spoolss: regenerate hand-marshalled ndr_pull_spoolss_DriverInfo101 after ndr64 changes.
Guenther
commit 95846bfee6961177c7676c8a5081de35e7d8228a
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 18:58:11 2010 +0100
spoolss: make sure hand-marshalled spoolss_DriverInfo101 handles relative_highest_offset.
Guenther
commit 8f07339b6d979cbc75682303821a7ece43ddf0cc
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 12 11:25:59 2010 +0100
spoolss: regenerate hand-marshalled ndr_push_spoolss_DriverInfo101 after ndr64 changes.
Guenther
commit 9fc76f86fa2c60b81ec8afee515bb823a5cd616f
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 11 15:59:41 2010 -0800
Remove the code replaced by widelinks warning.
Jeremy.
commit a6f402ad87ff0ae14d57d97278d67d0ceaaa1d82
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 11 15:16:23 2010 -0800
Remove lp_safe_widelinks() -> convert to just lp_widelinks. Suggestion from Volker.
Create widelinks_warning(int snum) to cover the message needed in make_connection.
Jeremy.
commit 4ff7f6ed3634f9a45b1ebdc965152bbada72b49d
Author: Kai Blin <kai at samba.org>
Date: Tue Feb 2 15:18:01 2010 +0100
s3 test: Make the netbios name test pass again
commit ea055e8c7905ec5d229fd5b50ca9ec8f60073b53
Author: Kai Blin <kai at samba.org>
Date: Thu Apr 23 16:37:11 2009 +0200
s4: Switch to S3-style id mapping data types.
commit 86d70ae94425c34fcb7cc7791a6e54b1a47f21cc
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 22 18:10:12 2009 +0200
s4 idmap: Make the sid_to_xid and xid_to_sid calls static.
Looking at the winbind interface, we should only be using the bulk conversion calls.
commit 5d848053a7f62519beed6b5ac7fb0076ae8fa9e3
Author: Kai Blin <kai at samba.org>
Date: Fri Jan 29 12:09:18 2010 +0100
libwbclient: Test wbcLookupName async functions
commit cf968371ef207719424d2eb58dbddcf0d0c7952d
Author: Kai Blin <kai at samba.org>
Date: Thu May 28 00:57:32 2009 +0200
libwbclient: Implement wbcLookupName_send/recv
commit 145f2c751b5de2864a472363cb478596c5040ee4
Author: Kai Blin <kai at samba.org>
Date: Thu May 28 00:55:57 2009 +0200
libwbclient: Implement wbcAuthenticateUserEx_send/recv
commit 749fb039719e60d82c496a2e1587bfa32d0360b8
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 24 16:24:56 2009 +0200
libwbclient: Implement wbcLookupSid_send/recv
commit 57886720bb1a0e93d8903a0fa677f3820fa3cb07
Author: Kai Blin <kai at samba.org>
Date: Thu Apr 2 09:45:39 2009 +0200
libwbclient: Implement wbcGidToSid_send/recv
commit ada6e26d5e6bacaacbe9cdebdabe41c383e5f8c8
Author: Kai Blin <kai at samba.org>
Date: Thu Apr 2 09:22:43 2009 +0200
libwbclient: Implement wbcSidToGid_send/recv
commit 446b4aa17c03993a0fa0c77bd7e8bdec938be991
Author: Kai Blin <kai at samba.org>
Date: Thu Apr 2 09:57:40 2009 +0200
libwbclient: Implement wbcUidToSid_send/recv
commit 4ff1906357659a040aa90bcd51dd1974ec405001
Author: Kai Blin <kai at samba.org>
Date: Tue Mar 31 23:10:48 2009 +0200
libwbclient: Implement wbcSidToUid_send/recv
commit 33bbe1cafda93d493509f5dabfdb0ed7bbe69a71
Author: Kai Blin <kai at samba.org>
Date: Sun Feb 15 11:01:44 2009 +0100
libwbclient: Add wbcInterfaceDetails_send/recv
commit 861ef367c839d44b185ae3dd9191e849a5e33027
Author: Kai Blin <kai at samba.org>
Date: Sat Feb 14 10:06:05 2009 +0100
libwbclient: Add wbcDomainInfo_send/recv calls
commit 99c0f569f9a62b63e1d26418a777302b03c3fc7f
Author: Kai Blin <kai at samba.org>
Date: Fri Feb 13 22:51:52 2009 +0100
libwbclient: Add wbcDomainName_send/recv call
commit 7cb070f2b346ed486ee24926965290890f72786f
Author: Kai Blin <kai at samba.org>
Date: Fri Feb 13 22:37:56 2009 +0100
libwbclient: Add wbcNetbiosName_send/recv calls
commit fd6b1457935e3d6e156a85cce27aae43b3475723
Author: Kai Blin <kai at samba.org>
Date: Wed Mar 25 10:08:10 2009 +0100
libwbclient: Add async wbcInfo_send()/wbcInfo_recv() calls
commit a0895222be4e0227f26a625474c89fdf5aa9875c
Author: Kai Blin <kai at samba.org>
Date: Thu Feb 12 00:11:45 2009 +0100
libwbclient: add wbcInterfaceVersion send/recv calls
commit 1ca727420a0d2f3d0f4a14b06c1a8d1ea6c40339
Author: Kai Blin <kai at samba.org>
Date: Fri Jan 29 11:22:14 2010 +0100
libwbclient: torture-test wbcPing async functions.
commit 3204113efe0eccbb502914699cb5a4ddcf4efdfa
Author: Kai Blin <kai at samba.org>
Date: Tue Mar 24 22:51:11 2009 +0100
libwbclient: Add async wbcPing_send/_recv
commit f9d041ccd358f6e91a44369c70eebcbf605de2cd
Author: Kai Blin <kai at samba.org>
Date: Fri Jan 29 11:54:33 2010 +0100
libwbclient: Zero out context on initialization
This prevents a segfault when using wbcDebug without prior call to wbcSetDebug
commit 02a5078f1fe6285e4a0b6ad95a3aea1c5bb3e8cf
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 11 14:45:53 2010 -0800
Final part of jumbo patch for bug #7104 - "wide links" and "unix extensions" are incompatible.
Volker pointed out that the preexec scripts get passed the conn->connectpath
as a parameter, so call canonicalize_connect_path() both *before* and after
the preexec scripts. Ignore errors on the call before the preexec scripts,
as the path may not exist until created by the preexec scripts.
Jeremy.
commit 5d92d969dda450cc3564dd2265d2b042d832c542
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 11 16:12:29 2010 -0500
Introduce lp_safe_widelinks()
This way we avoid any chance that a configuration reload may turn
back on wide links when unix extensions are enabled.
commit 94865e4dbd3d721c9855aada8c55e02be8b3881e
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 11 11:00:45 2010 -0800
Fine changes to previous fix for bug #7104 - "wide links" and "unix extensions" are incompatible.
Make sure we match the previous allow widelinks behavior, in that
non-root preexec scripts can create share directories for a share
definition.
Jeremy
commit cd18695fc2e4d09ab75e9eab2f0c43dcc15adf0b
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 11 10:19:33 2010 -0800
Suplementary patch for bug #7104 - "wide links" and "unix extensions" are incompatible.
Bug reported by Ralf Zimmermann <r.zimmermann at siegnetz.de>. Reproduced by jra.
If the target directory of a share doesn't exist, but is designed to
be created by a "root preexec" script call, then the widelinks check
is done too early - thus preventing the user from connecting to the
share.
Fix is to re-arrange the order of checks in make_connection_snum()
to always do the following order of operations:
(1). Turn off wide links if unix extensions = yes.
(2). Call any root preexec scripts.
(3). Canonicalize the share path to remove any symlinks (ie. end
up with the realpath in the connection_struct).
Jeremy.
commit 14c4c2c735d6b263d167bf5255fcf60de2c91110
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Feb 11 15:42:48 2010 +0100
ldb_match - Ignore ":dn" part of extended matches for now
It's not fully clear what this ":dn" part means for us. What we know is that
older AD implementations (Windows Server 2000, 2003) need it to have extended
matches working in the expected way.
To be able to interoperate with s3's winbind and other tools I and gd decided
to transform this into a warning until we know what to do.
This should fix bug #6511.
commit 45defdb90c93ed9876cacb8e3b77ce024bd02590
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 12 00:33:13 2010 +1100
s4-provision: import the R2 functional level
this makes it easier to modify the script to set us at R2 level in
provision. We should make this a parameter.
commit 960fab4bba9b52aacba46de5895afaf908f002df
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 12 00:11:11 2010 +1100
s4-build: avoid finding python symlinks
emacs creates symlinks to .py files while you are editing them. This
could cause build failures.
commit 4aaa7fe43b207abab886b6ba3e1895a42162480c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 23:39:56 2010 +1100
s4-provision: fixed --function-level option to provision
we need the DS_DOMAIN_* levels imported
commit 802f6b71dd0c43c44ecf91ec042e7f4a08a12dec
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 23:38:23 2010 +1100
s4-script: make enablerecyclebin use system_session
This allows it to work against our local ldb
commit 9ba0d105ccd5599987c17e2474ecfe8ac3547f1b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 23:37:44 2010 +1100
s4-pyldb: null terminate string ldb message elements from python
We need to eventually get rid of ldb_msg_find_attr_as_string() (or add
a mem_ctx to it), but meanwhile we have too many places that break if
we don't add a nul to the end of ldb msg strings from python.
commit 76a2e936a02ba99a474dd20822ed170787b55a45
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 23:35:31 2010 +1100
libds: added recyclebin feature GUID
commit 2a0b16c430ca40c762d81832bb1cd2bddc709465
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 13:32:44 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit a16e97459342a838a77cd9f17df5347b0632219c
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 13:07:38 2010 +0100
spoolss: allow to set server architecture via parametric option.
This allows to set "spoolss:architecture = 'Windows x64'" for debugging purpose.
Guenther
commit 25001bbd1b0b32073073dab7cf5b78a2b902163f
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 00:44:06 2010 +0100
s3-spoolss: implement spoolss_EnumJobs level 3.
Level 3 has been added with NT 4.0 and Windows 7 (at least 64bit version) makes
use of it in order to display queued jobs. Windows 7 will *not* fall back to
level 2 if we just return WERR_UNKNOWN_LEVEL, instead there will be no printjobs
displayed at all.
Guenther
commit 5e1dd19221a412d88540422004b18d190e9caa28
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 01:24:12 2010 +0100
testprogs: one more error code for spoolss test.
Guenther
commit 4f8a4cb81b073e3339744cfec334d8fce34cb03f
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 00:06:20 2010 +0100
testprogs: print secdesc->Control in spoolss test.
Guenther
commit 490e1f84fede5585c6c611a5720b9f2362a9214f
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 00:04:53 2010 +0100
testprogs: use ConvertSidToStringSid in order to print sids in spoolss test.
Guenther
commit 7bd7194c2b319d260ef1d98f138b9dfcf59db8a7
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Fri Feb 5 16:33:03 2010 -0200
s4-drs: Add DRSUAPI_DRS_NONGC_RO_REP bit to DRS_OPTIONS
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit f78a534dd20d0afa0a63abf693add4286c0e3f37
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 21:28:48 2010 +1100
s4-net-drs: fix some coding style issues
We should use the system/*.h headers for system includes. We also try
to avoid C++ comments.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 976201d24a7c0734ef99c72e476a6caab97e21de
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Feb 6 03:13:33 2010 +0200
s4/net_drs: 'net drs kcc' command implementation
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit fedc1152b5cead39cb0ce085c2a1f66ceed0b726
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 5 22:36:36 2010 +0200
s4/net_drs: 'net drs bind' command implementation
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 61246da63cb280b6b3e277583b84c2dfacb6be68
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 5 22:36:10 2010 +0200
s4/net_drs: 'net drs' utility initial creation
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 0a05af92778666e869dfd41d20b24b46d069e3ec
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 5 22:37:54 2010 +0200
s4/idl: regenerating drsuapi.idl
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 7dde20ae4545df8cebb692ec5ee22ec973239d0c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 5 22:37:27 2010 +0200
s4/idl: Naming reserved flags for DRSUAPI_SUPPORTED_EXTENSION_ field
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit a4d056339235d436dfdbf82e14975151ee1bc7c3
Author: Matthieu Patou <mat at matws.net>
Date: Wed Jan 27 02:03:15 2010 +0300
provision: Use short name for assignee of ACE (BA, SA, CO, ...)
Use short name (shortcut for wellknown SID/RID) for assignee in each entry of ACL (when possible)
of sysvol files (GPO objects and netlogon folders).
This avoid error prone substitution of DOMAINSID in ACL and make ACL clearer by using shortname
for assignee accordingly with SDDL synthax rules. Translation to real SID is handled internaly by the
from_sddl function.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit bcba41c351bc78d739fb174338d8c71148053b5d
Author: Matthieu Patou <mat at matws.net>
Date: Wed Jan 27 01:32:29 2010 +0300
python-s4: use secrets.ldb instead of sam.ldb for reading domain SID
This allow to be able to run net acl set xxx yyy on DC, but also on domain
member.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit d1c29231511376f4379909401f723b1ea9c538ea
Author: Matthieu Patou <mat at matws.net>
Date: Mon Feb 8 15:36:07 2010 +0300
provision: Fix an error with eadb when using not default install dir and running as a non root user
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 2cf97c403f73946693bb147daa6a618af6fdb526
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 20:49:29 2010 +1100
s4-dns: don't leave behind a tmp file
If the dns update file doesn't need updating we need to delete the tmp
file
commit 1e1b081189a7dafa0717e3e3deb4a46e079b146e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 20:48:47 2010 +1100
s4-selftest: don't run rndc reload in selftest
We don't want rndc calls on the build farm
commit 89b6a80e7261422011e92d8ef1bc7ef2f2fd06af
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 20:21:15 2010 +1100
s4-dns: added a dns update task
This task watches for changes in the list of DCs, and creates a bind9
formatted file that grants update permission to all DCs, plus to the
administration, and machines update for their own names.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6bfb216293e7416e1164766d6f96c769d76fca8d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 20:20:11 2010 +1100
s4-provision: cope with umask in creating private/dns
commit ae95d611b6e0754f130707f23fa6ae0997c40b66
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 20:19:40 2010 +1100
util: added file_compare() utility function
file_compare() returns true if two files are the same. It is meant for
small files.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d6fb64c51244529388b1f79ba8220ff608e1e4de
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 20:18:50 2010 +1100
libreplace: added replacements for dprintf() and vdprintf()
these are very useful for writing files with formatted writes
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c986bfb22ec6ee1bda8a7c4053770831f582cbb3
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 15:25:13 2010 +1100
s4-provision: pre-create a named.conf.update file
The named.conf.update file will be filled in at runtime by Samba to
contain the list of bind9 grant rules for granting DNS dynamic update
permissions on the domain.
commit 5a72eca574f2cb330a0d62936ca901b8ebee4194
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 13:17:09 2010 +1100
s4-provision: move zone file to dns subdirectory
This allows the permissions to be correctly set for bind to write to
a journal file. It also sets the right group ownership and permissions
on the files that bind needs to access.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5a2ff4d16f67a2617a3b54e30900e5b4825d6617
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Feb 11 17:13:42 2010 +1100
s4:provision Be more polite to long-suffering Samba testers.
Our testers put up with a lot of odd things when testing out Samba4.
Andrew Bartlett
commit 0f0229c45473dd58d633fe6a98865db9aeff1e0e
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 10 17:20:21 2010 -0800
Fix unused variable warning after change to new DLINK macros.
Jeremy.
commit ed0e0a20059aeadddd69c4618d35dfb3aca69ba4
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 10 16:23:33 2010 -0800
Fix bad use when freeing linked list. Todd Stecher (Original author) please check !
Jeremy.
commit 91cb7b7c604d6d3c0dcb3dbcdabb0a6db6097035
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 7 16:06:31 2010 +1100
test:local added LOCAL-DLINKLIST testsuite
(cherry picked from commit 95a5bee2c30a67a35604b0456ab7836f6dc67702)
commit 32809bd8c17c9c522338722177539aa3d60c4cbc
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 10 15:53:58 2010 -0800
util: rewrite dlinklist.h so that DLIST_ADD_END() is O(1)
This changes the meaning of the ->prev pointer in our doubly linked
lists to point at the end of the list from the front of the list. That
allows us to implement DLIST_ADD_END() and related functions in O(1)
time, which can be a huge saving in many places in Samba.
This also means that the 'type' argument to various DLIST_*() macros
is no longer needed, but I have left it in for now to keep the
patchset small, which will make it easier to revert if any problems
are found. In the future we should remove the 'type' arguments.
(jra. Move the one use of DLIST_TAIL over to the new macros).
commit 13ac4ad52187df7093904d4ad9c47d51bd1eda6f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:42:29 2010 +1100
s3-smbd: update to use new DLIST macros
(cherry picked from commit 365b408c458c848a818637d9b36a0423aeb1ba54)
commit aa52a0925d4c07117cc6eb62c6e80eda24f8cc40
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:41:57 2010 +1100
s3-registry: update to use new DLIST macros
(cherry picked from commit 3437713ad7e5bccafde30553a8232119fd2a9eb9)
commit f592d42047d0b5d7ea115b9cd44a55ee443b64f7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:41:39 2010 +1100
s3-perfcount: update to use new DLIST macros
(cherry picked from commit a13b507f2d8be7f90c8872094cd0732926a6fcbb)
commit 4689826e391eb83ac639b9afdae641a6e3f34b9a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:41:07 2010 +1100
s3-locking: update to use DLIST_ADD_AFTER()
(cherry picked from commit 6c6df527e14514027cbcaa6deac25adf04363926)
commit d5506215610f95c161ad45dba00a0b180de3a00b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:40:38 2010 +1100
s3-libsmb: update libsmb to use new DLIST macros
manipulating p->prev directly is not safe any more
(cherry picked from commit 3c650ac1e3e1cdbbabecfddcd29325f20b5dcb48)
commit 7842b391b9ad1f6aaa77c0b8397e1dcc0b79e7e7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:40:03 2010 +1100
s3-memcache: update memcache to use new DLIST macros
we don't need a separate lru pointer any more
(cherry picked from commit 4ffd7aca3e38728077bd80c2a65c4efbcfd216fc)
commit 54fc99e04b3475a9cc04274fa365edbd700d3491
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:38:47 2010 +1100
s3-ldb: update the old ldb in s3 to use new DLIST macros
(cherry picked from commit a7d8bfd373392eecf4fff33d39b85e1b55ad901d)
commit ece7089918e37f407f84d13df9d816d5a6d90f2e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:38:24 2010 +1100
s3-nmbd: update nmbd to use new DLIST_ macros
(cherry picked from commit 4d23d777bc6d4fad20d0f3084fe658635812bee9)
commit a5d2fb752cdb7e27a4949635b6486834d9fac313
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:37:48 2010 +1100
s4-ldb: update ldb_tdb to use new DLIST_ macros
(cherry picked from commit 6ede911654566a7e21ded70dacac68df3b6a1bca)
commit f017edc59f06121db08dcbdfaa0b75b808560955
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 10 15:35:38 2010 -0800
s4-dsdb: update repl_meta_data.c to use new DLIST_ macros
commit 32575ed70f3210a2fe10edfd801ad1cb8f5caffa
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 10 15:30:59 2010 -0800
Temporary changes to dlinklist to keep the implementation static whilst
uses of (list)->prev are moved over to DLIST_PREV. This will be replaced
when the final (new) version of the dlinklist.h header is added.
Jeremy.
commit f2d7d9774e3dafc643567605dd1eef908b6ded1a
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 10 12:42:27 2010 -0800
Revert "Change the default of "nmbd bind explicit broadcast" to "no""
This reverts commit 84fba3c1bc962804259f201d465acfdf0cd3c6a8.
Now we have a "processed packet queue" in nmbd we can go back
to doing this by default.
Jeremy.
commit c2f3ed48c5ac253bb17387800579f94d933b71e1
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 10 12:32:05 2010 -0800
More of the fix for bug #7118 - nmbd problems with socket address.
Add a simple "processed packet queue" cache to stop nmbd responding to
packets received on the broadcast and non-broadcast socket (which
it has opened when "nmbd bind explicit broadcast = yes").
This is a very simple packet queue - it only keeps the packets
processed during a single call to listen_for_packets() (i.e. one
select call). This means that if the delivery notification for a
packet received on both broadcast and non-broadcast addresses
is done in two different select calls, the packet will still be
processed twice. This is a very rare occurrance and we can just
live with it when it does as the protocol is stateless. If this
is ever flagged as a repeatable problem then we can add a longer
lived cache, using timeout processing to clear etc. etc. But without
storing all packets processed we can never be *sure* we've eliminated
the race condition so I'm going to go with this simple solution until
someone proves a more complex one is needed :-).
Jeremy.
commit 84fba3c1bc962804259f201d465acfdf0cd3c6a8
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 10 08:39:37 2010 -0800
Change the default of "nmbd bind explicit broadcast" to "no"
until the double processing problem in bug #7118 is fixed.
Jeremy.
commit 1cd9df8da2a1ef0e2a45ea67ea7766cbbe9984f0
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 10 13:17:36 2010 +0100
testprogs: add more error codes for spoolss test.
Guenther
commit 9b75650f1a963e36a6dd697b5ad2725a8c7c9250
Author: Björn Jacke <bj at sernet.de>
Date: Wed Feb 10 13:48:11 2010 +0100
s3: change ldap filter to what really was intended
commit b37b452cb8c1f56b37b04abe7bffdede371ca361
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Thu Feb 4 23:59:54 2010 +1030
tdb: fix recovery reuse after crash
If a process (or the machine) dies after just after writing the
recovery head (pointing at the end of file), the recovery record will filled
with 0x42. This will not invoke a recovery on open, since rec.magic
!= TDB_RECOVERY_MAGIC.
Unfortunately, the first transaction commit will happily reuse that
area: tdb_recovery_allocate() doesn't check the magic. The recovery
record has length 0x42424242, and it writes that back into the
now-valid-looking transaction header) for the next comer (which
happens to be tdb_wipe_all in my tests).
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 6269cdcd1538e2e3cead9e0f3c156b0363d607a0
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Feb 5 00:00:24 2010 +1030
tdb: give a name to the invalid recovery area constant (0)
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit f299fe565ae5dba76ffc708da9a47405d61b0af9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Feb 10 13:56:24 2010 +1100
s4:provision Just 'do the right thing' with empty smb.conf files
For some reason, JHT keeps on creating an empty smb.conf file,
expecting it to be the same as a non-existant one. It is easier to
just realise what he meant.
Andrew Bartlett
commit f8778ba8f4c234648230dba0249cd189fcd0d4d1
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 10 00:43:51 2010 +0100
s4-smbtorture: use test_GetPrinter_level in RPC-SPOOLSS-NOTIFY.
Guenther
commit 8ddc977c1421a47bedba8d5494f7ae67692b772a
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 9 15:14:38 2010 -0800
Fix bug #7122 - Reading a large browselist fails (server returns invalid values in subsequent SMBtrans replies)
There are two problems:
1). The server is off-by-one in the end of buffer space test.
2). The server returns 0 in the totaldata (smb_vwv1) and totalparams (smb_vwv0)
fields in the second and subsequent SMBtrans replies.
This patch fixes both.
Jeremy.
commit a056eb85ff8cabc05970c789abba890d914e7ecb
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 9 14:56:12 2010 -0800
Missed one check on the memcpy for bug #7063.
Jeremy.
commit 539bbf8653e0117dea139015b4b71be768e3f3d7
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 9 14:48:15 2010 -0800
Second part of fix for bug 7063 - Samba 3.4.5 on ubuntu 8.04 64 bit - Core dumps.
Ensure we have no naked memcpy calls. This isn't a crash bug (it's
already checked in the data_blob_talloc_zero() above, but I want to
get into the pattern of having all memcpy's covered by safety checks.
Jeremy.
commit 9ad6f432f3f5844b4b419e7cbaf3c3e70b052d29
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 9 12:17:08 2010 -0800
Fix off-by-one error in working out the limit of the NetServerEnum comment.
Jeremy.
commit bc8242a08e1bb9489cc8171b1ec02bd2518b1857
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 9 18:58:36 2010 +0100
s3:smbd: use StrCaseCmp() instead of strcasecmp
metze
commit 1686a5e7e7eb1b411b003cbbde5c0d28741c6d02
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 9 18:54:41 2010 +0100
s3:smbd: Fix really ugly bool vs. int bug!!!
A comparison function for qsort needs to return an 'int'!
Otherwise you'll get random results depending on the compiler
and the architecture...
metze
commit 45cbf49477b963bd39a57bac0682f36acbc9f6b3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Feb 9 17:48:44 2010 +0100
check_python.m4 - Raise the minimum python version up to 2.4
This is needed since we at the s4 side have some code which requires this. I
think everybody should be fine since we got no complaints on the mailing list
about this change.
Patch template: Jelmer Vernooij <jelmer at samba.org>
commit 04cf9b81eb37898f8251daf302341f1b639ab827
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Feb 4 11:25:06 2010 +0100
pidl - Remove "Py_RETURN_NONE" compatibility code
This was needed only by Python 2.3 which we no longer support.
commit e34637b2a69b5af6f6ac997d5e0d4b786f3c9935
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Feb 4 11:17:40 2010 +0100
s4:Remove "Py_RETURN_NONE" compatibility code
This was needed only by Python 2.3 which we no longer support.
commit a0ac6a86321c2eea404a22ef6330a261f03547a4
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Feb 9 17:21:01 2010 +0100
s3-docs: Fix make manpages3.
Karolin
commit a5b003e1f7c61c8f37e7063f2fdc1c59643195bf
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Feb 9 16:36:39 2010 +0100
s3-docs: Add missing para end tag.
Karolin
(cherry picked from commit b78de63ef3cde53e3aabbe46654aac5a335f16a8)
commit 7c95d559c3583cb1609af1d84ad1002b7f4ef070
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 16:16:54 2010 +0100
testprogs: regenerate printlib prototypes for spoolss test.
Guenther
commit 73e6212a32a6392361320ee924a040e3573f9abb
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 16:14:45 2010 +0100
testprogs: print job info levels in EnumJobs() spoolss tests.
Guenther
commit bf7156b6dd89a7f4cb33fac4b13d66e9a099661e
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 15:59:29 2010 +0100
testprogs: print datatypes info levels in EnumPrintProcessorDatatypes() spoolss tests.
Guenther
commit dcad5447cf32eba0296bdca07668333004cc50ef
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 15:54:25 2010 +0100
testprogs: print printprocessor info levels in EnumPrintProcessors() spoolss tests.
Guenther
commit 5db64e88c7f8e1e689e0dabc67db1074eb1fef86
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 15:24:34 2010 +0100
testprogs: print monitor info levels in EnumMonitors() spoolss tests.
Guenther
commit 5afae257249d0034d999d5c588732c86732ee9d2
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 15:00:54 2010 +0100
testprogs: print port info levels in EnumPorts() spoolss tests.
Guenther
commit 8088a1712868b645e273c35ab06c0511892dd3d3
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 14:49:04 2010 +0100
testprogs: print form info levels in EnumForms(),GetForm() spoolss tests.
Guenther
commit e0472c59c8f9e0fe5aafd539ca901468cd599a30
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 9 12:58:29 2010 +0100
s3:selftest: make selftest requires bash for now
So force bash until we removed the dependency to bash.
metze
commit 4dc2be2264926fe415e4e40e212f94793c9831d1
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 9 12:57:01 2010 +0100
s3:passdb: only use gid_to_sid() result if the result is a group of our local sam
Otherwise retry with pdb_gid_to_sid().
metze
commit fb0c03209773059caad8d0aad5899828e5f5e64e
Author: Björn Jacke <bj at sernet.de>
Date: Tue Feb 9 09:07:54 2010 +0100
s3: fix some wrong newlines in de translation strings
commit d1c7d7d21aae536f80bba0d5fa5136c598392394
Author: Björn Jacke <bj at sernet.de>
Date: Tue Feb 9 09:09:57 2010 +0100
vfs_catia: fix return type warnings
commit 580f955664a0bafc2258bd94d7e4e6ca049cd68a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 9 13:18:31 2010 +1100
s4-torture: allow host-only in unc lists in smbtorture
Allow UNC lists like this:
192.168.2.1
192.168.2.2
192.168.2.3
the share name will be taken from the command line
commit 3f2415c9bf9342aeb5a70901018527ed1f109754
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 8 14:35:02 2010 -0800
Make "nmbd bind explicit broadcast" on by default.
Fix a comment typo.
Jeremy.
commit e425162933cd7a589e224da057b390d3d7e9b47a
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 8 11:04:38 2010 -0800
Fix bug #6876 for acl_tdb module.
As pointed out by bj at sernet.de, the rmdir module initializer was
duplicated. Fix this properly.
Jeremy.
commit 9b5198dd443a00fdad4faa1f9cdabedd81012d93
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 8 18:38:03 2010 +0100
s3:libsmb: fix NetServerEnum3 rap calls.
metze
commit 30eec0656c926d3d85a438dc28f17649b53318f8
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 5 18:08:46 2010 +0100
s3:smbd: implement api_RNetServerEnum3
This is needed to support large browse lists.
metze
commit 495ac4616654c9e62e14031b7439aff21e42ec91
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 8 18:45:18 2010 +0100
s3:smbd: add/improve some DEBUG messages in api_RNetServerEnum2()
metze
commit dc58672c6588a1715698721153b35ed2d594bc67
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 5 16:55:15 2010 +0100
s3:smbd: rename api_RNetServerEnum => api_RNetServerEnum2
metze
commit 9887751f6fa6f7e4fd5c79c637e0576405000c01
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 8 12:59:13 2010 +0100
s3:docs-xml: document "nmbd bind explicit broadcast"
metze
commit 0140bc389d56511c3255720856bdb64803ba8930
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 8 12:51:29 2010 +0100
s3:nmbd: change "nmbd:bind explicit broadcast" into "nmbd bind explicit broadcast"
metze
commit 30a1bc365071befd07e68e24ca4fa3843159ab13
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jan 28 11:04:05 2010 +0100
s3:nmbd: also listen explicit on the subnet broadcast addresses
And send replies always via the unicast address of the subnet.
This behavior is off by default (as before)
and can be enabled with "nmbd:bind explicit broadcast = yes".
metze
commit 6339de7f4fef46fb3ad32d1ecf9379f5b5d24ccb
Author: Simo Sorce <idra at samba.org>
Date: Mon Feb 8 10:25:13 2010 -0500
release-scripts: parametrize scripts
This should make it easier to keep all release scripts alined as it will reduce
the difference between them to ideally a few variables
Also moves the tdb script in the scripts directory.
commit 6bf2a821b7a5fb0890b6fc9cd439a915252477a1
Author: Simo Sorce <idra at samba.org>
Date: Mon Feb 8 10:05:24 2010 -0500
talloc: Fix abi checks in release script
We must perform abi checks against the version we are going to release.
Not against the current tree we are in.
commit 1422a9465482deeba1218755e1d4d0a02e6abc3f
Author: Simo Sorce <idra at samba.org>
Date: Mon Feb 8 10:02:49 2010 -0500
talloc: Fix abi checks and ifdefs
teach the abi check scripts to skip the DOXYGEN sections
fix the header to use #ifdef DOXYGEN and not #if DOXYGEN
commit aa72950b3d08c1964cd734e7b49ef43c959a2fcc
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 9 11:21:08 2009 +0100
s4-smbtorture: skip over ValidatePassword if DCERPC error is returned.
Guenther
commit a8d6549cccb375c95a047fea68f5af2a186979ea
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Feb 8 12:08:36 2010 +0100
s4:subtree_delete - "NULL" as format string isn't allowed on FreeBSD
I changed the format string into "(objectClass=*)" which should be an
equivalent expression for choosing all available objects.
Consider bug 7115 for the issue.
commit 89c089d9934d233a6753d0536c900a2f264fc03d
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 8 11:53:59 2010 +0100
s3-net: fix net ads dns usage calls.
Bjoern, please check.
Guenther
commit 6753fb1cf6a834b12b2a9dce3b1a9555390c17be
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 5 16:20:21 2010 +0100
s3:pdb_ldap: don't search for the users primary group, if we already know it
metze
commit 49ace81e19de231825216cbf07c7422687131bb6
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 3 11:32:41 2010 +0100
s3:pdb_ldap: optimize ldapsam_alias_memberships() and cache ldap searches.
ldapsam_alias_memberships() does the same LDAP search twice, triggered
via add_aliases() from create_local_nt_token().
This happens when no domain aliases are used.
metze
commit 25038fa85ff69962ca0975f31802218a897aa1ec
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 4 17:19:57 2010 +0100
s3:pdb_ldap: try to build the full unix_pw structure with ldapsam:trusted support
And also store the gid_to_sid mappings in the idmap_cache.
metze
commit e10d0869567436902c8b8cfb50f8c64148d554cb
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 4 17:16:59 2010 +0100
s3:passdb: speed up pdb_get_group_sid()
Use the cached version gid_to_sid() instead
of pdb_gid_to_sid().
And also avoid the expensive lookup_sid() call
for wellkown domain groups.
metze
commit b99046fed1bf4a908ed856afb17c3c934c6d305d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 31 15:18:51 2010 +0100
s3: Make pdb_copy_sam_account also copy the group sid
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 779821df8ecfe3ed2392582b500d26332f0b80fc
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 30 22:28:19 2010 +0100
s3: shortcut gid_to_sid when "ldapsam:trusted = yes"
The normal gid_to_sid behaviour is to call sys_getgrgid()
to get the name for the given gid and then call the
getsamgrnam passdb method for the resulting name.
In the ldapsam:trusted case we can reduce the gid_to_sid
operation to one simple search for the gidNumber attribute
and only get the sambaSID attribute from the correspoinding
LDAP object. This reduces the number of ldap roundtrips
for this operation.
metze
commit 4a4b2a5eafe89e87798d231522c756750d14ce60
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 8 09:57:31 2010 +0100
s4:heimdal: regerenate files
Andrew using cp like in commit ca12e7bc8ff4a91f2044c0a60550fec902e97a78
is wrong as that removes #include "config.h" and breaks the build on AIX.
metze
commit 42efa323ca7933f894a740765fd080ffe4c207c3
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 8 09:29:22 2010 +0100
s4:heimdal_build: allow flex-2.5.35:bison-2.4.1 to regenerate files
metze
commit 02320cb0e2728bb18e013e3ee22351293f3dd64e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 8 08:55:44 2010 +0100
libreplace: add check for NSS_WRAPPER_DISABLE similar to SOCKET_WRAPPER_DISABLE
metze
commit 6e7bcaa878af80be338b18bfe4ec45c51ebbeeed
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 18:09:11 2010 +0100
libreplace: Attempt to fix bug 5910, detect a broken getaddrinfo
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 9fed9011ffcd76c5a5dbf16f7d5e657b94f9fa50
Author: Bo Yang <boyang at samba.org>
Date: Tue Feb 9 16:35:40 2010 +0800
s3: Don't invalidate cache for uninitialized domains.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 8c8bb51de1ac2baa46ac0736fae12c034288e5d4
Author: Bo Yang <boyang at samba.org>
Date: Tue Feb 9 17:02:20 2010 +0800
s3: signals are processed twice in child.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 2aff1d6bcaba6d1bcc9bace064dd4b70c38a4bf6
Author: Björn Jacke <bj at sernet.de>
Date: Mon Feb 8 00:08:38 2010 +0100
s3: quiet the unresolved symbol warnings of the Compaq compiler when linking our vfs modules
commit f692c6dbc4776cd0dc69bd8d6cf65fbfadc57c9b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 7 21:12:14 2010 +1100
s4-torture: more useful error message in SMB2-DIR
commit 6b01ca95a8e2858f43726eacd59f1fab5da63865
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 7 21:08:56 2010 +1100
nbt: don't reference the event_ctx in nbtsock
This causes talloc_free with references errors
commit 7fed22eb0aa108e245a24f77a08c626f3a92ad48
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 8 10:58:48 2010 +1100
talloc: fixed doc typo
commit da0e396deb895554b88e3e1326e429620b82af6d
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Feb 8 00:40:07 2010 +0100
Move the talloc details to the mainpage.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 52c0cd38fae91e7f3ec2823c4116784d0a3e288b
Author: Andreas Schneider <asn at redhat.com>
Date: Sun Jan 17 11:25:34 2010 +0100
talloc: Added doxygen config file.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit fbd646a78356002d48795de61d5655029c4afcc2
Author: Andreas Schneider <asn at redhat.com>
Date: Sun Jan 17 11:25:02 2010 +0100
talloc: Documented talloc with doxygen.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 328a6264a7b64dce9378bf9c9c2ab3aeb7d755c7
Author: Björn Jacke <bj at sernet.de>
Date: Sun Feb 7 20:10:57 2010 +0100
s3: fix build issue on Tru64
Thanks, Volker for the hint - acl_type is a macro on Tru64. Renamed it
to acltype. This fixes #7103.
commit 1b4a3cc3f49055b4fcdaa021e826660e7e33095a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 20:55:13 2010 +0100
s3: Fix some DEBUG statements
commit 6e510b49c03be9caba4f587f3f6cec547841b0d7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 12:08:39 2010 +0100
s3: Make cli_get_fs_volume_info() use cli_trans()
commit c73ffb728099e453110ffeb0e665811b9fcec34d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 12:01:36 2010 +0100
s3: Remove some unused code
commit ff2d7d9b82a2c03cf193ed346198d396525063bc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 11:14:22 2010 +0100
s3: Fix some comments
commit 5552b44960c5bb95f6478b41b42d7537d03cd8fd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 11:05:07 2010 +0100
s3: Fix some nonempty blank lines
commit e2ddda32897f96a336aa1c0f6198381a2843dd04
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 6 16:56:29 2010 +0100
libwbclient: wbc_create_logon_info is always called with mem_ctx==NULL
commit 2607dc5ee87c84fc6b1419e5207f2ffaa5714af4
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 6 16:54:05 2010 +0100
libwbclient: wbc_create_password_policy_info is always called with mem_ctx==NULL
commit 1b2aad29a837d04580ee4ab5336b65cfb172ed1d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 6 16:53:07 2010 +0100
libwbclient: wbc_create_error_info is always called with mem_ctx==NULL
commit 5ab6a8d077712c789bbd245f5f7cac7fc71cba81
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 7 18:11:42 2010 +1100
s4-registry: fixed byte order assumptions
the registry tests were broken on big-endian systems
commit 70534adee10fc6f5bba2d9304668dc6508e5de5a
Author: Simo Sorce <idra at samba.org>
Date: Sat Feb 6 10:48:39 2010 -0500
tdb: raise version to 1.2.1
after recent fixes we need to raise the version to 1.2.1 so that
we can require also the right patched version.
commit 65710dae847273edb99495241e6d7b7acd303c5f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 6 12:56:19 2010 +0100
pam_winbind: Remove a nested if-statement. Bo, please check!
commit 8cb6f7ec1bdaa086e77fc865c2226151dcd602a7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 6 12:55:00 2010 +0100
pam_winbind: Use strchr instead of strstr for a single character
commit b93f07ef41fedf9cdb3f48fe77ed070c69ec3608
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 5 22:51:11 2010 -0800
Fix trailing whitespace errors I added (sorry).
Jeremy.
commit 913a9f4e420c7a4177e6a7874e8ec2703f447918
Author: Bo Yang <boyang at samba.org>
Date: Sun Feb 7 14:45:42 2010 +0800
s3: Fix malformed require_membership_of_sid.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 5dbf175c75bd6139f3238f36665000641f7f7f79
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 5 19:14:45 2010 -0800
s3-events: make the old timed events compatible with tevent
tevent ensures that a timed event is only called once. The old events
code relied on the called handler removing the event itself. If the
handler removed the event after calling a function which invoked the
event loop then the timed event could loop forever.
This change makes the two timed event systems more compatible, by
allowing the handler to free the te if it wants to, but ensuring it is
off the linked list of events before the handler is called, and
ensuring it is freed even if the handler doesn't free it.
commit dd498d2eecf124a03b6117ddab892a1112f9e9db
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 5 21:08:56 2010 -0800
s3-smbd: add a rate limited cleanup of brl, connections and locking db
On unclean shutdown we can end up with stale entries in the brlock,
connections and locking db. Previously we would do the cleanup on
every unclean exit, but that can cause smbd to be completely
unavailable for several minutes when a large number of child smbd
processes exit.
This adds a rate limited cleanup of the databases, with the default
that cleanup happens at most every 20s
commit 74267d652485cdcb711f734f0d80da0fb1495867
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 5 21:02:24 2010 -0800
s3-brlock: we don't need these MSG_SMB_UNLOCK calls now
These have been replaced with the min timeout in blocking.c
commit 5b398edbee672392f2cea260ab17445ecca927d7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 5 20:59:43 2010 -0800
s3-brlock: add a minimim retry time for pending blocking locks
When we are waiting on a pending byte range lock, another smbd might
exit uncleanly, and therefore not notify us of the removal of the
lock, and thus not trigger the lock to be retried.
We coped with this up to now by adding a message_send_all() in the
SIGCHLD and cluster reconfigure handlers to send a MSG_SMB_UNLOCK to
all smbd processes. That would generate O(N^2) work when a large
number of clients disconnected at once (such as on a network outage),
which could leave the whole system unusable for a very long time (many
minutes, or even longer).
By adding a minimum re-check time for pending byte range locks we
avoid this problem by ensuring that pending locks are retried at a
more regular interval.
commit 5bb89bc47cbba73c732ea6873b72849e9f239503
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 14:26:22 2010 +1100
s4-ldb: fixed api.py selftest
subunitrun seemed to be calling a test from its own source, instead of
the samba test. Fix this by calling the test directly.
commit fac6d5212be3e7159896a9c67e15faa4a557c213
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 5 16:20:34 2010 -0800
Remove now unused variable.
Jeremy.
commit bd269443e311d96ef495a9db47d1b95eb83bb8f4
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 5 15:20:18 2010 -0800
Fix bug 7104 - "wide links" and "unix extensions" are incompatible.
Change parameter "wide links" to default to "no".
Ensure "wide links = no" if "unix extensions = yes" on a share.
Fix man pages to refect this.
Remove "within share" checks for a UNIX symlink set - even if
widelinks = no. The server will not follow that link anyway.
Correct DEBUG message in check_reduced_name() to add missing "\n"
so it's really clear when a path is being denied as it's outside
the enclosing share path.
Jeremy.
commit abbd0f9195fe9b4feb29b86a04c88be001e2737a
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 5 15:55:14 2010 +0100
s3: Make use of ZERO_STRUCTP
commit 3ea602a7c3f71a5cc1b2f867d86d8baa24bfe661
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 5 15:53:19 2010 +0100
s3: Remove a pointless if-statement
commit dcc850e3b30f84513c4b38dac88dffa19aac53cd
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 5 15:50:11 2010 +0100
s3: Make guest_user_info() static
commit 004e3e400d0f404ffd9515c1f502c5287a4bff1c
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 5 15:40:12 2010 +0100
s3: Hide some uses of pdb_get_init_flags (which I would love to remove...)
commit 1cd7223b8e380813b5324eb903e980c6eeefda5f
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 5 15:43:26 2010 +0100
s3: Fix some nonempty blank lines
commit e4d29bb4fd0564c39863b56c1a285d6e23e257ab
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Jan 30 14:25:51 2010 +0100
s4:UID wrapper - Make it work on older distributions
On my older CentOS 4 installation I had the problem with the missing
substitution prototypes ("uwrap_*"). So I added them to "uid_wrapper.h".
Also, I made the head of the "uid_wrapper.c" file more like the one of
"nss_wrapper.c" - it shouldn't change that much, I did it only to be consistent.
This patch should fix the build on older distributions while keep it running on
newer ones.
commit 16aa0744c6820c5400b73fd4889608c38fc55b39
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Jan 30 14:25:51 2010 +0100
s4:UID wrapper - Fix includes
The includes of the UID wrapper headers werent't really efficient according
to metze's post on the technical mailing list (http://lists.samba.org/archive/samba-technical/2010-February/069165.html).
To achieve this move the "uid_wrapper.h" includes into "lib/util/unix_privs.c",
"lib/util/util.c", "ntvfs/posix/pvfs_acl.c" and "ntvfs/unixuid/vfs_unixuid.c".
commit a51d750652671a41a2828b80feaa9e4d81219002
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Jan 30 14:18:57 2010 +0100
NSS wrapper - add dependency to "nsstest"
The code part makes use of the "NSS wrapper" if it is enabled. Surprisingly
the build process doesn't break with the missing dependency on more recent
systems. But with an older CentOS 4 installation it has been broken.
This patch should fix the problem on older distributions while keep the build
running on newer ones.
commit 44b95bc72777ab42f2b089f37b0b84b3b4c0736c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Feb 5 16:58:32 2010 +0100
s4:Heimdal build - never require the NSS wrapper for Heimdal Kerberos
Disable the use of it in the heimdal code.
Notice: This doesn't need to be ported upstream since it only affects the
build in conjunction with s4.
commit f9f1db18834648da73b7b1f6d9472523941e8277
Author: Lars Müller <lars at samba.org>
Date: Fri Feb 5 17:38:04 2010 +0100
s3: normalize "Changing password for" msg IDs and STRs
An additional space at the end of the "Changing password for" msgid lead
to untranslated pam_winnind messages.
commit 8823a549ca6102e9bf6710361eedc832d4317926
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Feb 2 14:28:57 2010 +0200
s4/drs: propagate DRS_ extension flags in code base
commit f9d820ed52274806202da0f44ddc7d2555131b38
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Feb 2 14:27:46 2010 +0200
s4/idl: Regenerate IDL for DRSUAPI interface
commit 5c7f55ba26504d48bdf08031bb5f80a1e6639362
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Feb 2 13:48:01 2010 +0200
s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN ext. flag for DRSUAPI
This flag corresponds to DRS_EXT_RECYCLE_BIN extended
flag in [MS-DRSR] documentation.
Reference:
[MS-DRSR] - 5.37
Description:
If present, signifies that the DC has enabled
the Recycle Binoptional feature.
commit 386f2c3d128878434813d5fdcc4923c56866c793
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Feb 2 13:46:20 2010 +0200
s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10 flag for DRSUAPI
This flag corresponds to DRS_EXT_GETCHGREQ_V10 flag
in [MS-DRSR] documentation.
Reference:
[MS-DRSR] - 5.37
Description:
If present, signifies that the DC supports DRS_MSG_GETCHGREQ_V10.
commit d8a7718b9e73df1f0ddf1d78a6d07de395460101
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Feb 2 13:44:49 2010 +0200
s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5 flag for DRSUAPI
This flag corresponds to DRS_EXT_GETCHGREQ_V5 flag
in [MS-DRSR] documentation.
Reference:
[MS-DRSR] - 5.37
Description:
If present, signifies that the DC supports DRS_MSG_GETCHGREQ_V5.
commit 6687c6e1826588e64ca2bbbc10251a17c6e6b179
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Feb 2 13:34:55 2010 +0200
s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY flag for DRSUAPI
This flag corresponds to DRS_EXT_ADDENTRY flag
in [MS-DRSR] documentation.
Reference:
[MS-DRSR] - 5.37
Description:
If present, signifies that the DC supports IDL_DRSAddEntry.
commit d8990326361c215e9da90fd587b3cd51c113376f
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 4 16:23:32 2010 -0800
Fix bug 7075 - bug in vfs_scannedonly rmdir implementation.
Check for NULL on opendir, correctly call next rmdir.
Jeremy.
commit 0c93aa3cd5dde4697cd8d2dd59229e5a77fe688b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 4 15:19:50 2010 +0100
s3:passdb: fix a type Domain Users has RID -513
metze
commit c2e4746fa9d68e7601e8e90cc0144d2e65a695b6
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 4 14:03:20 2010 +0100
s3:libsmb: don't reuse the callers stype variable in cli_NetServerEnum()
When we need to do more than one network operation to get the
browse list we need to use the same 'stype' value each time.
metze
commit 6cf5bdd3d389a2bf30a2cd7118061d037888ab94
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 4 20:19:05 2010 +1100
s4-torture: handle NT_STATUS_CONNECTION_RESET
a CONNECTION_RESET is now the normal "client disconnect" status code
commit 259ba3ab8751d0792c0ce4ddecd68f8f98cf1bd9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Feb 4 09:22:39 2010 +0100
s4:mark the SYSTEM control always as non-critical
It is needed to not break the various LDAP backends. For reference look at
bug #7040.
commit 55d65ba7213e5b30711b5b5939d53e3d3990d86a
Author: Björn Jacke <bj at sernet.de>
Date: Thu Feb 4 11:03:55 2010 +0100
s3:nsswitch: also use pthread CFLAGS for the nsswitch modules that might require it
commit acedd1c8320afa672ca70c6594bc90ccb7e75a6a
Author: Björn Jacke <bj at sernet.de>
Date: Thu Feb 4 10:35:45 2010 +0100
s3: fix build on Tru64 after it broke with deactivating pthread pool support
commit ae95e8028c294ee1e2dc66a7a62d006572142629
Author: Björn Jacke <bj at sernet.de>
Date: Wed Feb 3 23:28:38 2010 +0100
s3:vfs_scannedonly: fix build on HP-UX
commit bb83ffdc21a05e7b1d47e34400a466aa1ba88793
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Feb 3 23:55:58 2010 +0100
net: Fix python 2.4 compatibility.
commit e00e6a2c96760b4c64a3a0badefdb582caabd31a
Author: Volker Lendecke <vl at samba.org>
Date: Wed Feb 3 07:37:29 2010 +0100
s3: Simplify the code a bit: Catch (len==0) early
commit e1a1468dd73e1e1edb2cf2d8a09dffebb49e56b6
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Wed Feb 3 14:20:16 2010 +0100
update samba schema for IBM Directory Server
this increases the sambapasswordhistory field length to 64 and
fixes a warning about a wrong booleanmatch setting
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit de24209f0a745ada4220a1751c4ed88ae6eea575
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 2 16:43:41 2010 -0800
Fix bug 7081 - vfs_expand_msdfs doesn't work correctly (with fix identified)
Fix inspired by idea from Eric Horst <erich at cac.washington.edu>.
Jeremy.
commit 110a6f29f0d130753419d5fc5c7b238ab30822ec
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 2 16:32:51 2010 -0800
Fix bug 7063 - Samba 3.4.5 on ubuntu 8.04 64 bit - Core dumps.
Reported and found by Martin Hochreiter <linuxbox at wavenet.at>.
Ensure we copy the right amount of registry data into the outgoing
buffer.
Jeremy.
commit 27920f4f90424fa6055d9611713b2df481bc73c2
Author: Björn Jacke <bj at sernet.de>
Date: Tue Feb 2 18:27:49 2010 +0100
s3:configure: check complete set of EA functions only when we found at least one
this saves us some time in configure
commit d8071e7ed7c57e8b0f2d80420e27f9ea7ab63022
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:42:54 2010 -0800
Change uint_t to unsigned int in source4
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a47b6ebb3036f5073fdb2320b584345d3604c38d
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:42:23 2010 -0800
Change uint_t to unsigned int in source3
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3ee9d1a3d1e934eccd0846b4dac30aae40dc70f8
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:41:53 2010 -0800
Change uint_t to unsigned int in pidl
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit aa6a507e76685f2a8d1f3bd33cbf0fbdeb0d69ce
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:41:24 2010 -0800
Change uint_t to unsigned int in libcli
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a7250eb14270101d4ca580acd8fdcaf7e308e515
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:40:54 2010 -0800
Change uint_t to unsigned int in lib/util
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 2cb2d5317f8428b5eaef2365c815aa34739a80b5
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:40:26 2010 -0800
Change uint_t to unsigned int in lib/talloc
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d4fc2e82012277e5e8570da5d08d62c6847a99c0
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:39:56 2010 -0800
Change uint_t to unsigned int in lib/crypto
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a2c95a5d961594f2accbb032cd7e8da9767e2e47
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:43:24 2010 -0800
Change uint_t to unsigned int in lib/replace
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e3aeea29a4e730ccbe7367645703cdc9ee8e7a7e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 1 17:30:30 2010 +0100
s4:NBT-WINSREPLICATION: don't mark a local variable as static
This was somehow introduced in commit 8773e743c518578584d07d35ffdafdd598af88b0.
metze
commit 86bf5eac678d54037d8fcf81bade1f464dd97299
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 1 19:21:35 2010 -0800
Add debug to make it clear when EA dosmode set is invoked.
Jeremy.
commit f3ee1516e631274531439e0ab7c384d02aff789c
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 1 18:50:43 2010 -0800
Fix bug #7084 - Create time on directories not stored properly in an EA in new create time code.
Remove erroneous optimisation that caused no EA to be set
if calculated btime matched st_ex btime, and calculated DOS
attribute matched existing file attribute.
Jeremy.
commit a35be8c0c2d804638d9eda5afb6c96ef2f090549
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 1 18:49:50 2010 -0800
Torture test for bug 7084 - Create time on directories not stored properly in an EA in new create time code.
Ensure new files in a directory don't reset the create time.
Jeremy.
commit 4e08d0d0d60be0fc4a080cd616ecb36253e490db
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 1 15:57:16 2010 -0800
Arg. Got the sense of the test reversed to fix bug #7080 - Quota only shown when logged as root.. Doh !
Jeremy.
commit b3009819c55043aca81d5b53c805696dd4c88aac
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 1 15:55:55 2010 -0800
Fix bug #7080 - Quota only shown when logged as root.
conn->server_info->utok.uid == 0
isn't the correct check to see if we're root anymore. As rpc_samr_nt.c does,
the correct check is :
geteuid() == sec_initial_uid()
Jeremy.
commit 431d75fc9c7f942dcbd31f80380dda59887ac229
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 1 15:32:37 2010 +0100
s4:NBT-WINS: test large scopes
metze
commit 70779a46a7b7f6e5c00eba048dbf653d86bc07d4
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 1 14:55:14 2010 +0100
s4:NBT-WINS: pass the expected rcode of the name registration to the test code
metze
commit c1d8dc01fc6f0fa3a22a405419917d880b832761
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 30 10:50:33 2010 +0100
s4:NBT-WINSREPLICATION: test replication with names including scopes
metze
commit 331505f09d61cdc5c920293fc36ac1853235177b
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 29 16:42:24 2010 +0100
s4:NBT-WINSREPLICATION: fix compiler warnings
metze
commit 07b06e51bbf95168899081ba2aa92a4e6a5bac12
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 29 16:33:58 2010 +0100
s4:NBT-WINSREPLICATION: use an array of nbt_names to loop over different names
metze
commit ea7ec4fb30a261cedb882c9325815679e5e20d57
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 1 14:39:13 2010 +0100
s4:winsserver: reject name registrations with a scope length > 237
This matches Windows 2008 behavior. Name releases are just ignored.
metze
commit 7a02a2ba80c2997947a2b2c48c33f8c7647f7471
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jan 31 18:59:41 2010 +0100
s4:wrepl_server: truncate the scope of a netbios name to 237 bytes as Windows 2008 does
metze
commit e37dc56e971f44c00791529a39144d1a972e3ca2
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 1 15:18:15 2010 +0100
libcli/nbt: fix ndr_push_nbt_string() string labels with a length of 63 (0x3F) are allowed
metze
commit 93142e4a3a0a7dbe5f8ba737bd45f01c61d997da
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Jan 20 18:10:05 2010 +0200
s4/ldif: Handle Schema:prefixMap blobs in W2K3 and W2K8
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 83068b42ae22af18c5a06dc05a86021db0e25634
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Jan 20 17:58:39 2010 +0200
s4/ldif: Better control on ldif_write_NDR() errors processing
Current implementation mask NDR_ errors implicitly.
Thus the caller has no opportunity handle such an error.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a342e3a419058e28f073a6c5b96ede15a8bdec91
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Jan 19 16:54:09 2010 +0200
s4/idl: drsblobs IDL regeneration
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 20db3211ae406004425dd2e2b4294b03b4c4ecbf
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Jan 19 16:53:32 2010 +0200
s4/drsblobs: Custom ndr_print_ implementation for drsuapi_MSPrefixMap_Entry
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit cd3d165778e51987f185a58ff49c124a555e14e7
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Jan 19 16:52:10 2010 +0200
s4/idl: PrefixMap description for W2K3 and W2K8 Schema:prefixMap attribute
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 531059696e17d1ee538310d81af309c107d08e3e
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jan 29 18:21:09 2010 +0100
tdb: fix an early release of the global lock that can cause data corruption
There was a bug in tdb where the
tdb_brlock(tdb, GLOBAL_LOCK, F_UNLCK, F_SETLKW, 0, 1);
(ending the transaction-"mutex") was done before the
/* remove the recovery marker */
This means that when a transaction is committed there is a window where another
opener of the file sees the transaction marker while the transaction committer
is still fully functional and working on it. This led to transaction being
rolled back by that second opener of the file while transaction_commit() gave
no error to the caller.
This patch moves the F_UNLCK to after the recovery marker was removed, closing
this window.
commit 42f512552190396f69404a135d19e4325bde7d16
Author: Günther Deschner <gd at samba.org>
Date: Sun Jan 31 20:39:36 2010 +0100
s4-smbtorture: check for RouterReplyPrinterEx packets inside backchannel in RPC-SPOOLSS-NOTIFY.
Guenther
commit 0c6aae4d53488738d2180947a31c6373bf6ec81d
Author: Günther Deschner <gd at samba.org>
Date: Sun Jan 31 20:31:00 2010 +0100
s4-smbtorture: also test RouterRefreshPrinterChangeNotify call in RPC-SPOOLSS-NOTIFY.
Guenther
commit 377abba0e9c2a62c7f59191a843ae81104e7b1ba
Author: Günther Deschner <gd at samba.org>
Date: Sun Jan 31 20:30:09 2010 +0100
s4-smbtorture: rework spoolss_NotifyOption handling in RPC-SPOOLSS-NOTIFY.
Guenther
commit 55ae3d1729170dfd462ad8375a9dc01889165f3d
Author: Günther Deschner <gd at samba.org>
Date: Sun Jan 31 20:23:35 2010 +0100
testprogs: also print printer info during GetPrinter spoolss test.
Guenther
commit f77714c8874a5caaca74d8176259604bc8c32117
Author: Simo Sorce <idra at samba.org>
Date: Sun Jan 31 13:28:04 2010 -0500
s4:kdc streamline context initialization
Allow other plugins to init the context without having it try to grab sockets
or set samba specific logging.
commit b116d4e5b9ca402743c3ac8b6a37f9a8550f5505
Author: Simo Sorce <idra at samba.org>
Date: Sun Jan 31 12:49:07 2010 -0500
s4:kdc Streamline client access verification call
Move the core to pac-glue so that other plugins can use it.
commit 0520bd77822f494fe044ca8368c7964e560839d3
Author: Simo Sorce <idra at samba.org>
Date: Sun Jan 31 12:53:50 2010 -0500
s4:kdc Fix netbios name retrieval
The code was looping but always checking only the first address.
commit 08a20006c84f8460c8f261f07e28fc345b0dfc1f
Author: Simo Sorce <idra at samba.org>
Date: Sun Jan 31 13:24:18 2010 -0500
s4:ldb quiet down rootdse control registration
commit 0beac794b68388a197e19fbb49ae18345633dbd2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 31 15:38:16 2010 +0100
s3: Fix some DEBUG messages
commit 687e4eba3cced6015fdcaac2c6ba675cdebc1273
Author: Jeremy Allison <jra at samba.org>
Date: Sat Jan 30 19:24:28 2010 -0800
Fix bug #7079 - cliconnect gets realm wrong with trusted domains.
Passing NULL as dest_realm for cli_session_setup_spnego() was
always using our own realm (as for a NetBIOS name). Change this
to look for the mapped realm using krb5_get_host_realm() if
the destination machine name is a DNS name (contains a '.').
Could get fancier with DNS name detection (length, etc.) but
this will do for now.
Jeremy.
commit f42971c520360e69c4cdd64bebb02a5f5ba49b94
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Sat Jan 30 13:29:23 2010 -0800
s3/smbd: Fix string buffer overflow causing heap corruption
The destname malloc size was not taking into account the 1 extra byte
needed if a string without a leading '/' was passed in and that slash
was added.
This would cause the '\0' byte to be written past the end of the
malloced destname string and corrupt whatever heap memory was there.
This problem would be hit if a share name was given in smb.conf without
a leading '/' and if it was the exact size of the allocated STRDUP memory
which in some implementations of malloc is a power of 2.
commit 772d808ac862862330dd792ba8e83ba2b3c785b3
Author: Simo Sorce <idra at samba.org>
Date: Sat Jan 30 02:57:33 2010 -0500
s4:ldb Fix check made conditional by mistake
commit df7be036d7b4e08b18bd03399847dad41b78be50
Author: Simo Sorce <idra at samba.org>
Date: Sat Jan 30 00:33:22 2010 -0500
s4:ldb add support for permissive modify control
commit 1876b5a7e33a1376a5e275a52f8fbab69fa82ab6
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jan 29 16:41:53 2010 -0800
Fix a really interesting problem found by Volker's conversion of sessionsetup SPNEGO to asynchronous code.
Normally clistr_push_fn() can depend upon cli->outbuf being
initialized by negprot and sessionsetup packets, and cli->outbuf[smb_flgs2] being
correctly set with FLAGS2_UNICODE_STRINGS when cli_setup_packet() is called. When
all the sessionsetups are async, then cli_setup_packet() is never called, the async
code uses cli_setup_packet_buf() - which initializes the allocated async buffer,
not the cli->outbuf one. So the first time clistr_push_fn() is called is from
libsmb/clidfs.c:cli_dfs_get_referral(), just after the connection and tconX.
In this case cli->outbuf has never been initialized, and cli->outbuf[smb_flgs2] = 0
so the DFS query pushes ASCII on the wire, which is not what we want :-).
Remove the dependency on cli->outbuf[smb_flgs2] in clistr_push_fn(), and
fake up a SVAL(cli->outbuf, smb_flg2) value using cli_ucs2(cli) function
instead, which has been initialized. We only care about the FLAGS2_UNICODE_STRINGS
bit anyway.
I don't think this is an issue for 3.5.0 as the sessionsetup is still
synchronous there, but Volker PLEASE CHECK !
Jeremy.
commit ce73f91ee2681862e26e84e5572336d84cf341c4
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jan 29 14:36:36 2010 -0800
Fix const warning.
Jeremy
commit d89427ad271470bee11cfb0283e76d7b8a48e416
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Jan 29 21:36:23 2010 +0100
Revert "s4:include/includes.h - Need to include "system/network.h""
This reverts commit 97fd03a15a694450e80310fc776a58c6fde58a52.
This obviously broke the build. Revert it for now.
commit 97fd03a15a694450e80310fc776a58c6fde58a52
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Jan 29 20:13:38 2010 +0100
s4:include/includes.h - Need to include "system/network.h"
Otherwise I don't get the definition of "struct in_addr" for "lib/util/util.h" on CentOS 4.
commit dfd93fc7e3d2991abb67be63d8e859b50f99b473
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Jan 29 20:01:34 2010 +0100
s4:libcli/util/tstream.c - Need to include "system/network.h"
Otherwise I don't get "struct iovec" through "<sys/uio.h>" on CentOS 4.
commit 6442b0fcc1931c9b41dd66b3450a216f673d4fe2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jan 28 18:58:23 2010 +0100
libcli/nbt: fix off-by-one bug in ndr_pull_wrepl_nbt_name()
The scope starts at byte 17 with index 16.
metze
commit c50a17cc8d6bc23f03c3d44ceccebce06417ba21
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jan 28 18:52:46 2010 +0100
libcli/nbt: fix ndr_pull/push_wrepl_nbt_name()
[MS-WINSRA] â v20091104 was wrong
regarding section "2.2.10.1 Name Record"
If the name buffer is already 4 byte aligned
Windows (at least 2003 SP1 and 2008) add 4 extra
bytes. This can happen when the name has a scope.
metze
commit a20b43f23f2254edb1fcd6d3916dd57e6a4778ee
Author: Björn Jacke <bj at sernet.de>
Date: Fri Jan 29 15:23:29 2010 +0100
s3: link thread objects in libsmbclient only and adjust linker flags
commit e95e3270d1f3fece7292359d276ce45913a699ac
Author: olivier <olivier at virtscano.fakenet>
Date: Fri Jan 29 12:04:35 2010 +0100
AIX doesn't have MSG_DONTWAIT
commit adc38b00a90897da0ccf0120638b520153d0f4d6
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Fri Jan 29 15:42:46 2010 +0200
Fixed a bug caused by a typo. Infrastructure role didn't work.
commit 2dc56d68faabea23d1a2677f404220339180ab1a
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Jan 25 03:17:29 2010 +0200
s4/ldap: Test to expoit ldb_ildap bug in case of nested search requests
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a4d0ed5a1027f4cb58732c78cb63464dbf9cc287
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Jan 25 12:22:39 2010 +0200
s4/ldap: Fix nested searches SEGFAULT bug
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e3d50e89ab5081ae858017f83f3258283baaf978
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Jan 22 15:23:17 2010 +0200
s4: Ignore few more auto-generated files
commit f450d1f43a4d4968428a882166ce28231cb67949
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 29 13:07:39 2010 +0100
librpc: rerun 'make idl'
metze
commit 34a5d56d5568ed2d50cc618469df1de9e602beba
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 29 13:07:00 2010 +0100
security.idl: add wellknown TrustedInstaller SID
metze
commit 118725c892e445fcc1dc5947cb919cf99c49373f
Author: Björn Jacke <bj at sernet.de>
Date: Fri Jan 29 12:42:25 2010 +0100
s3: by default don't use pthread pool support
commit ad6ea7b189a467833fcde6a0acdb8ceb7e7198c9
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 20:14:04 2010 +0100
lib/util: remove data_blob_talloc_reference()
We want to avoid the usage of talloc_reference() in Samba.
metze
commit 1c76df6219a4859bc0b7be1e57c1844df78237e7
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 20:11:29 2010 +0100
s4:auth_sam: avoid usage of data_blob_talloc_reference() and copy the session keys
metze
commit ddd595e687aa24f78de71ba0f0ea74354f95e3d1
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 27 11:01:25 2010 +0100
s4:libcli: remove unneeded talloc_reference() usage
metze
commit 14e006747eb28b473e5c8070ef021600e1adeeca
Author: Simo Sorce <idra at samba.org>
Date: Thu Jan 28 19:32:38 2010 -0500
s4:kdc remove dead code and comments
commit 7b355d41b52e9ff0ae705da7a7620f03a1868a19
Author: Simo Sorce <idra at samba.org>
Date: Thu Jan 28 08:58:44 2010 -0500
s4:kdc Fill in more data fields
commit 3ce54a4a973d79012e0ea5a1351393d6b006c809
Author: Simo Sorce <idra at samba.org>
Date: Thu Jan 28 01:27:11 2010 -0500
s4:kdc move db functions in their own file
Keep all heimdal related plugin code within hdb_samba4.c
Move interfaces needed by multiple plugins in db-glue.c
Move sequence context in main db context so that we do
not depend on db->hdb_dbc in the common code.
Remove unnecessary paremeters from function prototypes
commit a097527ab73c781322d643f6f444c0d146d0ce87
Author: Simo Sorce <idra at samba.org>
Date: Thu Jan 28 00:19:59 2010 -0500
s4:kdc Use a clearer name for the samba kdc entry
Renames hdb_samba4_private to samba_kdc_entry
Streamlines members of the entry and the kdc db contextto avoid
unnecessary duplication.
commit c6865af4450432bec3f5383d6c815934ac89d434
Author: Simo Sorce <idra at samba.org>
Date: Thu Jan 28 00:08:36 2010 -0500
s4:kdc Use better db context structure
This allows to use a common structure not tied to hdb_samba4
Also allows to avoid many casts within hdb_samba4 functions
This is the first step to abstract samba kdc databse functions
so they can be used by the MIT forthcoming plugin.
commit f387ed88e8b5b32eb121724d99d73d8ce55e745e
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jan 28 10:38:24 2010 -0800
Fix bug #7069 - smbget does not return an error status after some errors
A combination patch from Johannes Poehlmann <johannes at lst.de> and
Jeremy. Fix the return codes from smb_download_file() and smb_download_dir().
Jeremy.
commit 139634563824a92c98091786e17b82d480df4a8a
Author: Karolin Seeger <kseeger at samba.org>
Date: Thu Jan 28 15:10:54 2010 +0100
s3/winbind_ccache: Fix typo in debug message.
Karolin
commit 88099bcc93fabebe3d4548f8a5aa26b585886a1c
Author: Kai Blin <kai at samba.org>
Date: Thu Jan 28 11:16:24 2010 +0100
tsocket: Fix the description of tstream_writev_queue_send/recv
commit 9184f524f0e5fe828b723200182969e0e3e8685d
Author: Kai Blin <kai at samba.org>
Date: Thu Jan 28 11:11:33 2010 +0100
tsocket: Fix description for tstream_readv_pdu_queue_send/recv
commit 2fdff7f596268b53084f3fc15102c9e000966f02
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 28 18:02:39 2010 +1100
s4-ldbtest: fixed python import
commit 882feb39a28c1a130a38c5406bdebd3eaff0d06c
Author: Eduardo Lima <eduardoll at gmail.com>
Date: Mon Jan 18 15:03:48 2010 -0200
s4-drs: implementation of some delete test cases
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 61a4ab36d9b453f597ed61117c63491e676f3d16
Author: Simo Sorce <idra at samba.org>
Date: Thu Jan 28 02:05:05 2010 -0500
cleanup: remove trailing spaces and tabs
commit 28420fe68aee1e7b70192573ff88a03e44ded563
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Jan 21 09:20:44 2010 -0200
s4-drs: Reads uSNUrgent and sets Urgent Replication Bit for DS_ReplicaSync when necessary
If an urgent replication is necessary, so the uSNUrgent stored is equal to the
uSNHighest stored, then when sending the DS_ReplicaSync message it sets the
DRSUAPI_DRS_SYNC_URGENT bit on DRS_OPTIONS.
Signed-off-by: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 69fd8461b8792f4fee1b61db03953044565492c6
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jan 27 16:52:40 2010 -0800
Second part of fix for bug #7072 - Accounts can't be unlocked from ldap.
Missed read of entry_timestamp (was entry->entry_timestamp).
Jeremy.
commit 627fb85092f728065b6d772c41aeb75018154e86
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jan 27 16:42:06 2010 -0800
Fix bug #7072 - Accounts can't be unlocked from ldap.
Fix suggested by Andy Hanton <andyhanton at gmail.com>. The LOGIN_CACHE
struct contains two time_t entries, but was being written to and
read from via tdb_pack/tdb_unpack functions using explicit 32-bit int specifiers.
This would break on machines with a 64-bit time_t. Use correct int
sizes for tdb_pack/tdb_unpack.
We have to fix this properly before 2037 :-).
Jeremy.
commit 8e26aa3d7cec968584283634fe3dce5553387c8c
Author: Lars Müller <lars at samba.org>
Date: Thu Jan 28 00:40:39 2010 +0100
testsuite/libsmbclient use source3 in the path of the C and LFLAGS
commit 97c4c63990fceb01fd1110d4fcc97b70f623b201
Author: Lars Müller <lars at samba.org>
Date: Thu Jan 28 00:38:04 2010 +0100
Link testsuite/libsmbclient against required libtdb and libwbclient
commit 1f7e97a8a257b3280ca14168adf2d59ca9e1074c
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jan 27 23:43:23 2010 +0100
s3: syntax fix
commit 2f9eb6bff5faa2c00c901fdf7b7c3489b473a1d3
Author: Lars Müller <lars at samba.org>
Date: Wed Jan 27 22:40:19 2010 +0100
s3: Install and uninstall the static version of libwbclient
This requires to call configure with --enable-static which isn't the case
by default.
commit b63b9bcd42e864d4b7024944c9d0b467487348f0
Author: Simo Sorce <idra at samba.org>
Date: Tue Jan 26 11:56:16 2010 -0500
s4:windc move windc plugin in its own file
Keep all heimdal related plugin code within wdc-samba4.c
Leave only interfaces common to multiple plugins in pac-glue.c
commit 1f2e9e90bdbd609dc6316c6dd71faa25a0138915
Author: Simo Sorce <idra at samba.org>
Date: Tue Jan 26 11:43:54 2010 -0500
s4:PAC make common functions public
commit 82a80b7f71d549e93995603a20ba119003c923fa
Author: Simo Sorce <idra at samba.org>
Date: Tue Jan 26 11:09:32 2010 -0500
s4:PAC Streamline pac-glue step 2
Split functions so that no assumption is made about which plugin
is using them
commit 85e3561dc9883aa957de85ad2ff82e0cc13c81b4
Author: Simo Sorce <idra at samba.org>
Date: Tue Jan 26 11:06:00 2010 -0500
s4:PAC Streamline pac-glue
First step, preparing to share the code between multiple plugins.
commit 6bade10a1eb21689613770f9a54e0a080663029c
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jan 27 18:54:55 2010 +0100
s3: get pthread detection also on HP-UX right
commit dffb5ad2bf75fc0bcb69dce5cde52c8a1ea9c4f9
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Wed Jan 27 17:57:37 2010 +0200
Implemented net fsmo command for transferring fsmo roles
The command allows the user to transfer a fsmo role to the server to which
the connection is established. Roles can be transferred or seized. By default a
transfer is attempted even if seize option is chosen, as it is dangerous to
seize a role if the current owner is still running.
example use:
net fsmo show --host=hostnameoraddress --username=username --password=password
net fsmo transfer --role=role --host=hostnameoraddress --username=username --password=password
net fsmo seize --role=role --host=hostnameoraddress --username=username --password=password [--force]
Tested against Win2008. Does not work for samba 4 yet as we are missing the GetNCChanges extensions.
commit 0e2d1cf9c4067dfce80a21ebf735d7d6a823d55e
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 27 15:04:00 2010 +0100
s4-smbtorture: pick correct last packet while checking backchannel replies in RPC-SPOOLSS-NOTIFY.
Guenther
commit 1ead83947fce60a74ca88460c2453d8e7e0f58c4
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 27 13:39:24 2010 +0100
s3-selftest: try to get RPC-SPOOLSS-NOTIFY running during make test on the buildfarm.
Guenther
commit 098fc8c09c64c9fa37ae70638e3b30340a7ae183
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 22 00:47:42 2010 +0100
s4:torture: refactor querying of domain info out into test_QueryDomainInfo2_level()
Used in several places.
(Note: The _level suffix in the function name is just because
test_QueryDomainInfo2() already exists as an overall test for all levels.)
Michael
Signed-off-by: Günther Deschner <gd at samba.org>
commit 0a33b20f70506d0a01b4c543ab57ca2488187ee9
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 22 00:46:19 2010 +0100
s4:torture: create new test_SetDomainInfo_ntstatus()
for checking for SetDomainInfo giving a desired return code.
Michael
Signed-off-by: Günther Deschner <gd at samba.org>
commit c1d157a48102c50c72a85b60fba5237436377ffd
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 22 00:21:29 2010 +0100
s4:torture: refactor setting of domain inf out into test_SetDomainInfo()
and use it in several places.
Michael
Signed-off-by: Günther Deschner <gd at samba.org>
commit 50a46cff76e33dc8828c49bf0665afeeb2b7c1eb
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 21 23:55:51 2010 +0100
s4:torture: refactor setting account flags out into test_SetUserInfo_acct_flags()
and use this in four places (enabling/disabling accounts).
Michael
Signed-off-by: Günther Deschner <gd at samba.org>
commit 899bd0005f56dcc1e95c3988d41ab3f628bb15db
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 26 16:51:57 2010 -0800
Fix bug #7067 - Linux asynchronous IO (aio) can cause smbd to fail to respond to a read or write.
Only works on Linux kernels 2.6.26 and above. Grants CAP_KILL capability
to allow Linux threads under different euids to send signals to each other.
Jeremy.
commit 2dd301e5cd6ff97943c4bf9c7cd9b820d6193b45
Author: Lars Müller <lars at samba.org>
Date: Tue Jan 26 22:54:15 2010 +0100
Add dependency of bin/smbfilter to libwbclient.
commit dee1b41ae7e3531f508a7a79adb3118a3af78da5
Author: Andreas Schneider <asn at redhat.com>
Date: Tue Jan 26 14:57:15 2010 +0100
s4-libcli: Fixed a talloc_reference error.
Signed-off-by: Andreas Schneider <asn at redhat.com>
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 137fd79f445c30b04d443288c03db2b1cc5dcba3
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 26 15:22:09 2010 +0100
s4:winsrepl.idl: add random interface uuid
This is needed to include the wrepl interface into
ndrdump.
metze
commit 601642d92369ca9c572e40aa32b5b3b53eeb8dbf
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 26 15:20:57 2010 +0100
s4:smbtorture: add BASE-BENCH-HOLDOPEN
This is useful for manual performance testing with a large
number of share mode entries.
metze
commit a0c31ec1c8d1220a5884e40d9ba6b191a04a24d5
Author: Jeff Layton <jlayton at redhat.com>
Date: Tue Jan 26 08:15:41 2010 -0500
mount.cifs: don't allow it to be run as setuid root program
mount.cifs has been the subject of several "security" fire drills due to
distributions installing it as a setuid root program. This program has
not been properly audited for security and the Samba team highly
recommends that it not be installed as a setuid root program at this
time.
To make that abundantly clear, this patch forcibly disables the ability
for mount.cifs to run as a setuid root program. People are welcome to
trivially patch this out, but they do so at their own peril.
A security audit and redesign of this program is in progress and we hope
that we'll be able to remove this in the near future.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit a065c177dfc8f968775593ba00dffafeebb2e054
Author: Jeff Layton <jlayton at redhat.com>
Date: Tue Jan 26 08:15:41 2010 -0500
mount.cifs: check for invalid characters in device name and mountpoint
It's apparently possible to corrupt the mtab if you pass embedded
newlines to addmntent. Apparently tabs are also a problem with certain
earlier glibc versions. Backslashes are also a minor issue apparently,
but we can't reasonably filter those.
Make sure that neither the devname or mountpoint contain any problematic
characters before allowing the mount to proceed.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 3ae5dac462c4ed0fb2cd94553583c56fce2f9d80
Author: Jeff Layton <jlayton at redhat.com>
Date: Tue Jan 26 08:15:41 2010 -0500
mount.cifs: take extra care that mountpoint isn't changed during mount
It's possible to trick mount.cifs into mounting onto the wrong directory
by replacing the mountpoint with a symlink to a directory. mount.cifs
attempts to check the validity of the mountpoint, but there's still a
possible race between those checks and the mount(2) syscall.
To guard against this, chdir to the mountpoint very early, and only deal
with it as "." from then on out.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 7148eff0b7f3a58be2d2c47516a8b9e3bc3d3c64
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 26 12:10:17 2010 +0100
s4-smbtorture: also test smbc_getOptionUseCCache
commit 08fa57335a2e1ac44764330c0d95aaf099aa0c15
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 26 10:51:32 2010 +0100
s3: Enable use of ccache by default for libsmbclient
Disable this by setting the environment variable LIBSMBCLIENT_NO_CCACHE, which
has the advantage over an smb.conf option to be easily settable per
application.
commit 1e2e92f54d90c59a2a340728d3adc3cac1dd8133
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jan 25 17:38:55 2010 -0800
Correct fix for unused variable return from ndr_decode. Use it :-).
Jeremy.
commit 2fff1e13f1d0f450a1efc771e209a3b3f94fb7c4
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jan 25 17:06:54 2010 -0800
Revert "s3: remove unused Variable"
This reverts commit 9536d94d5478b63fc05047964b40d8786a7246c4.
Bjorn, your change removed the ndr_decoding of the dos attribute.
Not a good idea :-).
Jeremy.
commit e87adf523bcf7521e643bc99003d5d35242b7abf
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jan 26 01:16:37 2010 +0100
Revert "libreplace: fix unused varibale warning on IRIX"
this one was broken
commit 5439e1a03f66ff9722987f908babfd71ebd698f1
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jan 26 00:17:10 2010 +0100
s3: fix detection and flags for using pthread
I hope this fixes the build on Tru64, IRIX and maybe bug #6983
commit 60a3086d78d9cf445034172f594325cb7b929d24
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 25 23:24:35 2010 +0100
s3: remove unused variable
commit 38be40f63c9fd2eecb840badaff23b915bc20fee
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 25 23:23:49 2010 +0100
s3:async_smb: remove unused variable
commit b6839e1bfd10d28046f75f9f9c25f8af2665eda3
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 25 23:07:24 2010 +0100
libreplace: fix unused varibale warning on IRIX
commit 9536d94d5478b63fc05047964b40d8786a7246c4
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 25 23:00:14 2010 +0100
s3: remove unused Variable
Jeremy, please check!
commit 55d448254a9994ecace63c077dc7768675ea3c98
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 25 22:57:36 2010 +0100
s3:netapi: remove unused variable
commit 463aa06442f1d6c7088c5d47f003b82e4293b70d
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Jan 25 19:54:24 2010 +0100
lib/popt: Fix typo in README.
Karolin
commit a3420bf7a52c3d9fa6cba75aa88d1f4087c0e3aa
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Jan 25 19:53:42 2010 +0100
s3/docs: Fix typo.
Karolin
commit 9ce9fdd9f451a4d7b4b6cce454657eb2b00fbb7c
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Jan 25 19:50:21 2010 +0100
s3/registry: Fix typo in comment.
Karolin
commit 005bbd0826f05794562a772e6fa05fd5ba9a43e7
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 25 16:44:38 2010 +0100
Revert "libcli/security: Remove a call to strncasecmp"
This reverts commit 7c687665eaf16b0c6f83c130f6d9e5459e0b2a32.
commit d86d5be63692220bc2ad5fb84eaeb70a7a03dca2
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 25 16:44:27 2010 +0100
Revert "libcli/security: Convert some strtol calls to strtoul"
This reverts commit 7fe66e06c4df575c410d4d70ff38f120c2f4363b.
commit fa47dbb57ad43a97aaf03b371b0dd8addc4a5c47
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 25 16:42:49 2010 +0100
Revert "libcli/security: Fix a valgrind error in dom_sid_parse"
This reverts commit f1c889a4e61d6d751cbabd8014b4345b8051b97c.
commit 4291e28a938695593dd90a30d3c2e49defba3e8b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Jan 25 15:17:56 2010 +0100
s4-python: Fix formatting.
commit 0b7910b8bf32ba983d1b8e35d3eef8a73d7dd1e6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jan 22 12:05:18 2010 +1300
upgrade_from_s3: Remove unused imports.
commit 8562bbdce5fd2711f527c3922b684f651f68c7f7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jan 22 12:02:51 2010 +1300
pyxattr: Move to the same directory as the xattr code.
commit b35dcd7a1811c6151469fc023e6a40616ca83497
Author: Kai Blin <kai at samba.org>
Date: Mon Jan 25 12:51:35 2010 +0100
s4 includes: Include system/locale.h to get access to <ctype.h>
commit 2024d4fb27514869d78e9bb39085f98e80413529
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 25 12:41:48 2010 +0100
Revert "s3: Make string_to_sid a wrapper around dom_sid_parse"
This reverts commit dff03b61fd5d923562711b38cc7dbe996dc07283.
commit a53a8ec45245353d978e6f845c41d76b2e12a3c6
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 25 12:39:47 2010 +0100
Revert "libcli/security: Prohibit SID formats like S-1-5-32-+545"
This reverts commit 1fbeae41655b8305834f2149b1268077eba8633d.
Apparently this breaks the build of Samba4
commit b5d47263162856c423f484df44914271b76b1e53
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 22 16:27:39 2010 +0100
s4-smbtorture: test wbcResolveWinsByName/wbcResolveWinsByIP in WINBIND-WBCLIENT testsuite.
Guenther
commit e16e75a4f0e8887b1cce35384d1157743270439e
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 22 15:06:50 2010 +0100
s4-smbtorture: add test for wbcPingDc to WINBIND-WBCLIENT testsuite.
Volker, please check, you know best how this interface is designed :-)
Guenther
commit 5dfec4f36b90f0343e6ef4d457f67dccbfee8480
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 22:18:24 2010 +0100
s4-smbtorture: split spoolss_RemoteFindFirstPrinterChangeNotifyEx test into smaller parts.
Guenther
commit 818fb00381c4f89d4375f2f41f6fcbb42999d871
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 20 00:44:16 2010 +0100
testprogs: print all driver info levels in spoolss testsuite.
Guenther
commit 4eb1523d87e4ed1bcc5b1ec64da0b53ce2264000
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 19:24:10 2010 +0100
s3-libsmbclient: Add smbc_setOptionUseCCache()
Can we enable this by default? This would be a change in behaviour, but this
feature is just too cool for everyone to catch up in the apps.
The patch would be
commit dc1bcec73cb3c895ebd84614cc5a14ca0eae0505
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 18:50:48 2010 +0100
s3: Add --use-ccache to net
commit aa837d4aeed46a0ddbf6545d7e0474a0f5d86cec
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 18:50:31 2010 +0100
s3: add libnetapi_set_use_ccache()
commit bff48738a88875c5279e70f2886e894584f0cd7f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 18:51:58 2010 +0100
s3: Fix a bug in net's use of popt
In order to add --use-ccache to net, I added another "bool opt_ccache;" to
struct net_context. popt did not like this, it took a while to figure out why.
Popt has the lines
/* XXX Check alignment, may fail on funky platforms. */
if (arg == NULL || (((unsigned long)arg) & (sizeof(*arg)-1)))
return POPT_ERROR_NULLARG;
The "bool opt_ccache;" was not aligned anymore...
commit b8996baba613edd1e50bffa87647c41e03b08db3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 17:35:04 2010 +0100
s3: Enable -C in rpcclient
commit ca48d6ab778a49f7676b27a7df054d75f4c819c1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 17:34:13 2010 +0100
s3: Add CLI_FULL_CONNECTION_USE_CCACHE
commit d016bdb72c3bd5993d0f4acb583512f25ea9521c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 17:08:56 2010 +0100
s3: Use -C in smbclient
$ bin/wbinfo --ccache-save=w2k3ad\\vl%Password
saving creds succeeded
$ bin/smbclient //192.168.42.160/tmp -Uvl -N -C -W w2k3ad
OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
smb: \>
$ bin/wbinfo --ccache-save=w2k3ad\\vl%WrongPassword
saving creds succeeded
$ bin/smbclient //192.168.42.160/tmp -Uvl -N -C -W w2k3ad
Anonymous login successful
Domain=[W2K3AD] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
tree connect failed: NT_STATUS_ACCESS_DENIED
$
commit 21ec6a6cbd358f36aa9bf5974c5c53b8732cdceb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 17:07:24 2010 +0100
s3: Add -C (--use-ccache) to popt_common_credentials
commit a03a83ad26b2cfa571b18f423915312c29fd33c7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 16:50:46 2010 +0100
s3: Add ccache use to cli_session_setup_ntlmssp
commit ff0274c519c036c28b70efbb8bf823347c91eb96
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 16:47:24 2010 +0100
s3: Add NTLMSSP_FEATURE_CCACHE
Uses the winbind ccache to do authentication if asked to do so
commit e879b50b32a86ca4392147ab5473766f74a61118
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 16:44:15 2010 +0100
libwbclient: Actually implement wbcCredentialCache()
commit 6ba9bf004f966a217e705b69fd8c713391941929
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 16:41:30 2010 +0100
s3: Add the session key to the ccache_ntlm_auth response
commit 7d18d058a1203ab7079f9dbdf37962803064d699
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 9 20:20:36 2010 +0100
s3: Add wbinfo --ccache-save
With this command you can give winbind your password for later use by
the automatic ntlm_auth
commit 185815a6472a7a09602b3c51198e20257241dfa7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 13:46:59 2010 +0100
s3: Remove some calls to memset -- reduces text size by some bytes for me
commit 96b12e0d59b27913e915ea28b3edaa7023b765c5
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 19:38:28 2010 +0100
libwbclient: Use winbindd_free_response()
commit 5a313731f3960120c08a06f2c9e9f6ea56ed9f6f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 19:26:51 2010 +0100
libwbclient: Remove a pointless talloc_strdup
commit d69d07ce62f2cb9468caf8d1a1dddc8082e0d492
Author: Endi S. Dewata <edewata at redhat.com>
Date: Mon Jan 18 21:47:24 2010 -0600
s4-provision: Added msDS-NcType into samba4Top object class
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 5cdd30011c5b09fd9aac669047e0c2f60f558feb
Author: Endi S. Dewata <edewata at redhat.com>
Date: Mon Jan 18 21:01:08 2010 -0600
s4-provision: Fixed typos and redundant code
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit ce709389e61cdc538f9c071ece37ce97abad9292
Author: Endi S. Dewata <edewata at redhat.com>
Date: Tue Jan 19 23:10:19 2010 -0600
s4-provision: Disable populating FDS during instance creation.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 756444566f60fca62ae5f5a17ddbf5267c25dad2
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 18:20:36 2010 +0100
nsswitch: Move nss_err_str to its only caller
commit c821be415b6798d0eaf182e18234513c36d42336
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 18:06:53 2010 +0100
nsswitch: Make some functions static
commit dff03b61fd5d923562711b38cc7dbe996dc07283
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 15:24:20 2010 +0100
s3: Make string_to_sid a wrapper around dom_sid_parse
commit 397a6faed9061a6b814cc173cfe4056947ad88aa
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 14:55:11 2010 +0100
s3: Add a little torture test for dom_sid_parse
commit 1fbeae41655b8305834f2149b1268077eba8633d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 14:53:54 2010 +0100
libcli/security: Prohibit SID formats like S-1-5-32-+545
commit f1c889a4e61d6d751cbabd8014b4345b8051b97c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:53:48 2010 +0100
libcli/security: Fix a valgrind error in dom_sid_parse
commit 7fe66e06c4df575c410d4d70ff38f120c2f4363b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:50:59 2010 +0100
libcli/security: Convert some strtol calls to strtoul
This tightens the dom_sid_parse syntax check a bit: "--" would have been
allowed in sid string
commit 7c687665eaf16b0c6f83c130f6d9e5459e0b2a32
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:48:49 2010 +0100
libcli/security: Remove a call to strncasecmp
commit a771c184b19cfabfebd77d61ea2d5c51b5f61ef7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 3 18:46:21 2010 +0100
libreplace: Fix a C++ warning
commit dbf9017a807f317333596092fc3493d7c5a96c65
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:31:27 2010 +0100
s3: Remove string_sid_talloc
All but one call were pointless, so I think this API should go
commit 2002b4e4c23d1a5392c4c09ecfb9b0e9f34487ae
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:30:04 2010 +0100
s3: Remove a call to string_sid_talloc
commit c2c71b8e053ea5a619c94d9dc30a01ae3627da91
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:26:55 2010 +0100
s3: Fix sending NULL sids to lookupsids3
commit 9fcbe3a65c6f30754f3f705c3e0b4a4ae150c679
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:18:00 2010 +0100
s3: Remove some pointless uses of string_sid_talloc
commit 3e1a1616ec2b51993e988e43ecf0c0f78b1607e5
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:17:28 2010 +0100
s3: Use global_sid_Builtin in net_groupmap_memberships
commit 8905b599b467f0595cf5874b7e36d9a650f8544a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:33:10 2010 +0100
s3: Fix some nonempty blank lines
commit 4c548048c55ab3b7c79f5317281988b446c7fbf2
Author: Simo Sorce <idra at samba.org>
Date: Thu Jan 21 09:57:41 2010 -0500
s4:kdc Simplify header files
commit 9acbed13e877cb4cf69c93598d89cb865aa7f194
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jan 22 13:31:44 2010 +0100
s3: Fix some nonempty blank lines
commit ee4a3606e606da5803d6e1ebac0c839c7a8a2a55
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jan 22 13:31:30 2010 +0100
s3: Fix a typo in a comment
commit 253465456a994e1fcbeabd64f3924f173ea1b865
Author: Volker Lendecke <vl at samba.org>
Date: Mon May 18 16:04:04 2009 +0200
s3:pdb_ldap: Fix large paged search.
Fix bug #6981 (Paged Search with DirX LDAP server broken).
(cherry picked from commit 0a3b576c0a4298cbe600ad8943e401e3a0639359)
commit c531d00ab4444db19ff6ba4c60ebdcc8319949c6
Author: William Jojo <w.jojo at hvcc.edu>
Date: Thu Jan 21 14:21:03 2010 +0100
s3: Fix bug 7052: "DFS broken on AIX (maybe others)"
commit 9b4b9d26f18a50028cbc9f593b44882b4dced809
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jan 21 14:05:04 2010 +0100
s3: Initialize the seqnum in "init_smb_request"
This makes it a bit more obvious for me that the signing sequence number is
tied to the SMB request.
commit 33e397f9fde1346d4f6488128efcd6ecba06143c
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jan 21 13:58:39 2010 +0100
s3: Make "init_smb_request" static to process.c
commit fb4679638d03a555c722c08ee1de121fc8ff23f1
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 20 17:54:40 2010 +0100
s4:rpc-server:samr: fix setting of lockout duration < lockout window
This should return NT_STATUS_INVALID_PARAMETER.
This makes samba pass the first part of the samr-lockout test.
This constraint is documented here for the samr server:
http://msdn.microsoft.com/en-us/library/cc245667%28PROT.10%29.aspx
MS-SAMR 3.1.1.6 Attribute Constraints for Originating Updates
and here for the ldap backend:
http://msdn.microsoft.com/en-us/library/cc223462(PROT.10).aspx
MS-ADTS 3.1.1.5.3.2 Constraints
So the check should actually be moved down into the backend,
i.e. under dsdb/samdb/ldb_modules - TODO..
Michael
commit 24d4433bd75366774945ed59c0043428dedea4ba
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jan 21 12:57:07 2010 +0100
s3: Move "yesno" to the only place where it is used: client.c
commit 3d40d8461efbd9010487f1ef6cbd72a5c4754f55
Author: Björn Jacke <bj at sernet.de>
Date: Thu Jan 21 09:25:43 2010 +0100
s3/doc: update vfs_shadow_copy2 man page according to new options
commit a5ca70a8676925a50ae014d25240726e70044aee
Author: Ed Plese <ed at edplese.com>
Date: Sun Dec 6 21:03:06 2009 -0600
Add localtime parameter to shadow_copy2.
commit 05cd30ba42e3468a102d791ddee65f36b1b4161c
Author: Ed Plese <ed at edplese.com>
Date: Thu Jan 21 08:30:01 2010 +0100
Add format parameter to shadow_copy2.
commit bb6a917ecef47370725893fdb2f3cbab53b23602
Author: Ed Plese <ed at edplese.com>
Date: Sun Dec 6 21:00:00 2009 -0600
Add sort parameter to shadow_copy2.
commit 9ddeac17f58273730be605a1f08097a15a3204d1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 17:17:02 2010 +1300
pyxattr: Factor out helper functions.
commit 17d6f56646b79ba1acecab6eb661cb6205c9b408
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 17:16:19 2010 +1300
selftest: Cope with 'multipart' support in subunit.
commit 8b0f31994c38b9f349fdda88a74e95a961582902
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:56:23 2010 +1300
pyxattr: Simplify tests.
commit 05b4e29f7f35108a7a17f072dc1329fc14d6b9ea
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:45:06 2010 +1300
pyxattr: Fix tests by not opening tdb files multiple times.
commit 14b0fed96c5d5acf9118156d29e469aed584c33d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:44:20 2010 +1300
pyxattr: Fix tests by avoiding opening tdb files multiple times.
commit 253a232d300ac6a508983bbbb6eb6d0235d48722
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:44:12 2010 +1300
pyxattr: Fix memory leaks.
commit 9a253808383e1a2777c3c05a25be88ed25c51a13
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:41:30 2010 +1300
pyxattr: Simplify tests.
commit 7092e220b57867c35425f17d09c4cc1031932eda
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:29:15 2010 +1300
pyxattr: Fix return value, raise exception, fix memory leak.
commit 342aff75c5400ef6be855094e2fe42f444cc40de
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:28:24 2010 +1300
pyxattr: Use standard functions for error handling.
commit 6afb16253399a58ac06b0061cd7ceb112bcd172b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:18:19 2010 +1300
pyxattr: Remove unnecessary hacks.
commit f679def4f2c4d878c8fac49ea248cfadb665168c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jan 20 16:27:38 2010 +1300
s4: Fix a few warnings.
commit 4b11e0c67cbd611b7f295256f0aa6c55a8b88699
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jan 20 16:27:15 2010 +1300
pidl: Include Python.h first, to avoid warnings.
commit c42242d132144fbbdce97bd95f0e24bdf58a2c84
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jan 20 15:07:09 2010 +1300
s4: Include Python.h early to avoid double definition errors.
commit e8a99ac980ef3700436dc44ad5cab32da642aea6
Author: Björn Jacke <bj at sernet.de>
Date: Thu Jan 21 01:08:07 2010 +0100
s3: fix dnsupdate configure check
commit fd6a79228347ec032294a1f462dda56095fc1d8b
Author: Andreas Schneider <asn at redhat.com>
Date: Sun Jan 17 10:21:21 2010 +0100
s4-winbind: Migrated winbind connection to tsocket.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3471d3677a781e6a03e1a8010946aa82ad7aad83
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 15 14:08:26 2010 +0300
selftest-s4: set the posix:eadb at the global level
commit c12d5363d6789528c8b63c71d171d30ccecc7109
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jan 12 19:49:49 2010 +0300
s4-python: add some helper for converting ldb_flag to text
commit 8c6fc09f18757e49e90936266fa763e0267d2e57
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 15 14:09:06 2010 +0300
upgradeprovision: forbid running upgradeprovision when there is more than 1 DC
commit 929dbf8ef817cb1646a5f82b9a0f0eece4ab84ee
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jan 19 01:53:01 2010 +0300
upgradeprovision: mark rIDAvailablePool never upgraded
handle properly the fact that missing object might depend on some other in order to be correctly created
debug change also if we are in debugall mode
commit 4d6cda75e3f0536c71741051ae4c643d11ab95d8
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jan 12 15:43:39 2010 +0300
upgradeprovision: reformat + add groupType as possibly overwritten
commit 4c28e7ff0cbd9a1e8c981c9ee6f5c48a8c7a0002
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jan 12 19:53:38 2010 +0300
upgradeprovision: improve info messages
commit bd9fbdab4c6ebe703800baccc274206fc1bd4ada
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jan 12 20:13:33 2010 +0300
Revert "s4:upgradeprovision - fix up the script regarding linked attributes"
This reverts commit 2cedefabc93c8a1fcb49d65a3f78a344e814f826.
commit 9704249ccc6d3d5f0a0c1860ab869d0304118849
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jan 19 01:56:30 2010 +0300
upgradeprovision: never use xattr it's pointless in this usecase
commit 0cdc39e7302adf86010d23ef0f08f3cbdcf6b1b2
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jan 12 02:23:13 2010 +0300
Add a comment to tdb_wrap to explain why it should be used instead of directly using tdb
commit a4b01dd59c386c84776367b46b0fa726918dbebc
Author: Matthieu Patou <mat at matws.net>
Date: Sat Oct 24 15:34:31 2009 +0400
s4: utils recreate in python setntacl and getntacl
setntacl is able to set NTACL attribute from command line
getntacl now use getopt for parsing command line option and is also able to
dump the acl in the SDDL format.
commit 1a143b8a590f5173ccacb7368f3cf36a8785da33
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jan 11 02:19:22 2010 +0300
s4: allow python code to dump NTACL object as well
commit c637c528762e5972bc47cc18f158186c670b4f7d
Author: Matthieu Patou <mat at matws.net>
Date: Sun Jan 17 22:50:31 2010 +0300
provision: use message and do not display warning if the user choosed delibarately posix:eadb
commit d4514a6539052b6944582ef8e5e1930b5f42ffd7
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 8 17:00:54 2010 +0300
provision: introduce use-xattr parameter for defining where to store attributes
This option allow simple user (non root) to invoke provision without facing an error
while insuring that ACL on shared files will always be set
commit 711c7606a5a2c36ea252ffd6d3aafc06fa5b675c
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 8 13:13:02 2010 +0300
s4-tests: register new unit tests
make unit test emit a visible warning
commit 10995d92565a5df6ba09ec6d209923f84184e99a
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 8 13:12:11 2010 +0300
s4-python: add unit test for ntacls manipulation in python
commit 3789ba2654fe958b80ebafeb380a1a2258dc9e32
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 8 13:10:30 2010 +0300
s4-python: add more unit tests for xattr manipulation in python
commit f0954c73723618f905cc8082546e9b4cf3e39ddf
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 8 13:06:47 2010 +0300
s4: update setntacl and getntacl to select the adaquate backend (fs/tdb) for storing xattr
commit c442b2534fd66bca262e1f27b43e085c75ec7989
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 8 12:57:59 2010 +0300
s4: ntvfs, create push_xattr_blob_tdb_raw and pull_xattr_blob_tdb_raw that do not depend on pvfs objects
Following a talk with tridge on IRC, this patch allow (pull|push)_xattr_blob to be called without
having a pvfs object. It's handy for programs that wants to manipulate xattr directly.
commit e78626dc2e829e2fce2d63d9e313f5630f125e94
Author: Matthieu Patou <mat at matws.net>
Date: Sun Nov 22 20:50:30 2009 +0300
s4: Set acls correctly on all sysvol and scripts shares
commit 9b70979bc9b39d8dd5bc7752951f855d2dd87294
Author: Matthieu Patou <mat at matws.net>
Date: Sun Nov 22 19:50:31 2009 +0300
s4: Make unixid optional
Make unixid optional, if value not supplied next id from id pool will be used.
Create a function to get next id in id pool.
commit 028c9b1c154ce9b5d7876df76b04aba1f976d1a2
Author: Matthieu Patou <mat at matws.net>
Date: Wed Nov 18 21:07:25 2009 +0300
s4: regroup gpo modification in one function, set acl on files accordingly with ACL in LDAP
commit 08c59c38a2b117b2f2481cc6a02186b7df6305f2
Author: Matthieu Patou <mat at matws.net>
Date: Mon Dec 7 19:13:00 2009 +0300
s4: Create unit tests for python "samba.xattr" module
commit c80ecd9964285f3c4a5128389c4e330ab25cca1c
Author: Matthieu Patou <mat at matws.net>
Date: Mon Nov 9 20:53:34 2009 +0300
s4: add python bindings for wrap_(s|g)etxattr
commit 45465cb7da75645f656e9c5dda136d782477ee68
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 20 16:38:00 2010 +0100
s4:selftest: add the samr-passwords-lockout test to knownfail
This is not implemented completely yet.
Needs fixing in the future.
Michael
commit 9764db806fe169cc3a3797b6785868922d5d7a80
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 15 18:08:57 2010 +0100
torture: add new test RPC-SAMR-PASSWORDS-LOCKOUT
This tests account lockout features.
Windows 2003r2 and Windows 2008r2 survice this test.
Note: Windows does not set the ACB_AUTOLOCK account flag when it
locks out an account.
One thing that could/should be added to this test is a check of
the lockout time property.
Michael
commit e1e6b19acff6d8ba3b70c3ab474a85de8b6f6a6c
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Jan 20 13:34:50 2010 +0100
s3-docs: Fix typos.
Thanks to the Debian samba package maintainers
<pkg-samba-maint at lists.alioth.debian.org> for providing the patch!
Fix bug #7017 (Typos and spelling errors in manpages).
Karolin
commit 30ea9932f5ea8a73c84dbab3ae3e997c2ae34e79
Author: Lars Müller <lars at samba.org>
Date: Wed Jan 20 12:41:43 2010 +0100
Add cross option to samba_cv_linux_getgrouplist_ok
"cross" as an option got removed accidentl with commit e5a95132 while
moving in direction of 3.2.
Patch proposed by Richard Sharpe <realrichardsharpe at gmail.com>.
commit 3bf9bbb275a9b70a2407e282ea2ea65add070077
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jan 20 00:09:38 2010 +0100
s3: build with dnsupdate support when possible
commit 18943bba9c927578201b67e2384568b9789e7c5c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jan 20 11:05:04 2010 +1300
selftest: Use SUBUNIT_FORMATTER command, if set in the environment.
commit 8067bf629c4c4a2a4c1e66af41fc387448d468c6
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Tue Jan 19 12:06:01 2010 +0100
Fix unintentional free of the last value when adding a new value to a key.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit f8314c27b3804dc95c973f1577e3e40d7c91ae43
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 17:15:05 2010 +0100
s4-smbtorture: remove unneeded ncaclrpc dir setup from RPC-SPOOLSS-NOTIFY.
Guenther
commit 41a350f17e11946f4bf44de5a6d535bc6d2feccc
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 19 16:51:33 2010 +0100
s3: Fix a typo
commit 40d3408dd3fd908e1fe15ff81015ab4275b6ad74
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 16:22:45 2010 +0100
s4-smbtorture: also configure check smbc_setOptionCaseSensitive for LIBSMBCLIENT testsuite.
Guenther
commit add4edcd063591839111d474543ceea847413f6f
Author: Kai Blin <kai at samba.org>
Date: Tue Jan 19 14:48:12 2010 +0100
s3 net/i18n: Update .po files
commit 66de52c4f4527ef43cfaf11c55616ec7602cce85
Author: Kai Blin <kai at samba.org>
Date: Tue Jan 19 11:43:54 2010 +0100
s3 net: Fix compile warnings
commit 7d04c0fcfdd6cd52ce99d94cbe42fb698b7a0674
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 19 14:18:53 2010 +0100
s3: Remove a comment from ancient times that no longer applies
commit b5186b3e2397bd1a784d5ded2ddbb155cb061a4e
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 00:31:54 2010 +0100
s3-selftest: finally enable RPC-SPOOLSS-NOTIFY against s3.
Guenther
commit f720f7512e66687f745732b86305eecec8f66d77
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 00:33:57 2010 +0100
s3-spoolss: stricter name checks when opening back-channel notify connection.
Make sure to always check if the name the client passed in
spoolss_RemoteFindFirstPrinterChangeNotifyEx is not one of our names.
Guenther
commit c971c10a63841d9b850d10ce856e813e37cace36
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 00:55:48 2010 +0100
s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR.
Guenther
commit f5bba4034b362d354409932f0b0cef0e4d44a08d
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 00:27:50 2010 +0100
s4-smbtorture: support spoolss_ReplyClosePrinter server call in RPC-SPOOLSS-NOTIFY.
A handle obtained with spoolss_ReplyOpenPrinter will be closed with
spoolss_ReplyClosePrinter when we call spoolss_ClosePrinter on the remote side.
Guenther
commit 2b68215a226aab978e5f01470e8b4afbb291134b
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 00:22:57 2010 +0100
s4-smbtorture: restructure spoolss server implementations in RPC-SPOOLSS-NOTIFY.
Guenther
commit e0660ed1bc72effa5715587e105eb5096a3d70d0
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 00:19:47 2010 +0100
s4-smbtorture: skip ReplyOpenPrinter test in RPC-SPOOLSS-NOTIFY while testing s3.
Guenther
commit 7d1c1e0083362c3782b2481e11207f1ce286c129
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 14:10:47 2010 +0100
s4-smbtorture: strip trailing whitespace.
Guenther
commit 6d33bb25e1aab72bb3e12a0824a758bacba32672
Author: Kai Blin <kai at samba.org>
Date: Tue Jan 19 10:06:26 2010 +0100
s3 net/i18n: update .po files
commit 09bc13728fc76cf784914a4066c793c297e50cff
Author: Kai Blin <kai at samba.org>
Date: Tue Jan 19 09:23:42 2010 +0100
s3 net/i18n: Use only one spelling for "Usage:"
commit 28b512f904cee5a79aefd0aca2d839dbe37e5519
Author: Kai Blin <kai at samba.org>
Date: Tue Jan 19 09:36:55 2010 +0100
s3 net: Fix compile error with WITH_DNS_UPDATES
bd3c922e2bc1a163efc1d8c9cb59578bebb79616 introduced a compile-time error
when building with WITH_DNS_UPDATES.
commit bd3c922e2bc1a163efc1d8c9cb59578bebb79616
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 18 23:39:19 2010 +0100
s3/net: split up some printable stings to ease i18n
If we put strings like "Usage:" into separate _() macros and not the whole
"Usage:..." string we can cover much more messages by only one single
translation. The drawback is that the message in the sources looks less pretty.
commit c3ef7a3d96763719de1df679d50fb8a00d1f7391
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 18 23:25:41 2010 +0100
s3/i18n/de: improve some German translations
commit fb7a4621134b9054f33ccb48d7d8c1e4e4960b9a
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 18 22:07:55 2010 +0100
Ñ3/i18n/de: fix typo
commit f2999157f9f7aad84c2030fb84875d616d5c6ec2
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 15 16:36:25 2010 +0100
testprogs: add tests for GetPrinterData{Ex} and EnumPrinterDataEx.
Guenther
commit ecd35d7ea6ca1e22cfffd9fc7f7e24ab4aad5cff
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 15 16:25:20 2010 +0100
testprogs: add tests for GetForm.
Guenther
commit ca646a82f872a9e65fe4d5bdc60125e39b49319f
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 15 16:24:40 2010 +0100
testprogs: pass down LPPRINTER_DEFAULTS in spoolss test.
Guenther
commit 286a27bd1e0771360bd82077253ccf28149bb780
Merge: 9e318129e0285e8fecf905187f2ca94a58b60316 46842a68618b4c9faba25580e68a286b97f9337e
Author: Lars Müller <lars at samba.org>
Date: Mon Jan 18 11:52:33 2010 +0100
Merge branch 'master' of git://git.samba.org/samba
commit 9e318129e0285e8fecf905187f2ca94a58b60316
Author: Lars Müller <lars at samba.org>
Date: Mon Jan 18 11:49:01 2010 +0100
Work around bad use of autoconf interna
Merge fix made by Andreas Schwab <schwab at linux-m68k.org>. This change
had been in use by SUSE since 2008-07-03.
commit 46842a68618b4c9faba25580e68a286b97f9337e
Author: André Hentschel <nerv at dawncrow.de>
Date: Thu Jan 14 19:49:18 2010 +0100
net: Add German translation, specially for the command listing
Signed-off-by: Kai Blin <kai at samba.org>
commit 3fb359aa5698e393f37765ab279b5a4ba366f965
Author: Olivier Sessink <oliviersessink at gmail.com>
Date: Mon Jan 18 11:40:33 2010 +0100
s3-docs: Add man page for vfs_scannedonly.
Fix bug #7028.
commit 661dada50336d35c2ca28431236b3bd888fb95b4
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 18 10:59:08 2010 +0100
s3-selftest: use testenv dc so that smbtorture4 actually uses the client configuration.
Found while trying to get RPC-SPOOLSS-NOTIFY working against s3.
Guenther
commit 7d5adf8dec81aa5b7863550aaa7b579b82e3ab80
Author: Marcin Gryszkalis <mg at fork.pl>
Date: Mon Jan 18 10:15:29 2010 +0100
s3: Show share path in swat statuspage
commit 971f6a4a5bd348b2e45ad8e9f354c714c8cf9e2c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 17 23:07:39 2010 +0100
s3: Fix the format string for smbcontrol pool-usage
With the dot I have seen printf to not print anything
commit f461a72ec3aa990c357b754b5311add4bba48485
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Jan 17 21:59:56 2010 +1100
idl: switched to using the WSPP names for the 'neighbour' DRS options
The documentation shows that all these functions in fact use the same
flags variable type. To be consistent between functions, and to allow
easy reference to the WSPP docs, it is better for us to also use this
generic DrsOptions bitfield rather than one per operations.
commit aa362e8e68b317fcc4fecbe44f62750e8cee6d32
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 10 23:14:58 2009 +0100
s3: Protect against an invalid bcc in SMBsendtxt
commit f7adf534fdc8b0028028538d264e65d7dd45aa58
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 17 14:57:54 2010 +0100
s3: For "smbcontrol <pid> pool-usage", print the first 50 bytes of a string
commit a1015051c054428482efe1810025728a8987a2a0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 17 13:52:53 2010 +0100
s3: Fix some nonempty blank lines
commit 98a495f1e674b7562a3d8b5dfc958ee95d256896
Author: Jeremy Allison <jra at samba.org>
Date: Sat Jan 16 17:03:06 2010 -0800
Modification of fix for bug 6876 - Delete of an object whose parent folder does not have delete rights fails even if the delete right is set on the object
Suggested by Volker. Reduce the surface area of the
become_root() unbecome_root() code to reduce the chance
of errors.
Jeremy.
commit dde836adbdb5c04cb43774c65fa1af713d9cdb7a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Jan 17 06:52:14 2010 +1100
s4-drs: allow for security bypass for DsReplicaGetInfo
Use --option=drs:disable_sec_check=true until the group membership bug
with the PAC is fixed.
commit 2985aeb8c930b3b2e4d4bba080b3d6ec0722c7d3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Jan 17 06:48:09 2010 +1100
s4-dsdb: isGlobalCatalogReady should be shown by default
This caused repadmin.exe to crash. Thanks to Hongwei for tracking this
down for us.
commit aa1fce645aed8be48c2fc09c86c2b5844114e93b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jan 17 12:35:26 2010 +1300
ldap: Fix test failure that seemed to go unreported previously.
commit a18889fd77a5db582f32fd563b28d1e4185233a9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jan 17 12:26:53 2010 +1300
ldap.py: Remove unused imports.
commit 4dd0c5516aa0ff27093f9fc436f7817d048c0922
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 16 13:31:44 2010 +0100
s3: Fix a crash in libsmbclient used against the OpenSolaris CIFS server
A user has sent me a sniff where the OpenSolaris CIFS server returns "32" in
totalentries, but the array in ctr only contains 15 entries. Look at the right
delimiter for walking the array.
commit 791a2df656a1af81d3c016902ae4b4ceb1c732f0
Author: Kai Blin <kai at samba.org>
Date: Sat Jan 16 12:37:30 2010 +0100
s4 selftest: Fix and reenable WINBIND-STRUCT.NETBIOS_NAME test
commit 29d08bfe267836073ace454f467ed591d33f9d82
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 17:57:17 2010 +1100
s4-kerberos: raise the general kerberos debug level to 3
level 2 for every krb request is a bit much
commit 2ec5792a4ba0cefa079a6d7e1b0ec2472151e794
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jan 16 19:56:21 2010 +1300
subunit/testtools: Include newer version.
commit 28577aae928847e64a0274b5922e26e1f15d9916
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jan 8 02:09:20 2010 +0100
Import testtools as well, required for subunit.
commit b6b46b4978dcaffa0cd9803c43b8a5f1c19e227e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Dec 31 18:48:41 2009 +0100
subunit: Import new version.
commit 2e38cb2cbb7520b2630ed85c3df2eb678c737fda
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Dec 31 18:32:17 2009 +0100
Add README about subunit.
commit 664b74d3669841059224fdf2fc94b53a36613888
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Dec 31 18:31:23 2009 +0100
Add script for updating the copy of subunit.
commit 53d7c4c7a27ec351638b35458919c8a267b794db
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Dec 31 18:17:23 2009 +0100
Fix permissions - net subcommand modules don't need to be executable.
commit 4e0090c9170525bb0ec50d13d96afddd5eec5313
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 14:44:24 2010 +1100
s4-torture: fixed DsReplicaGetInfo elements
commit ee736083c07e953a5fee944d3e048e2a38f98b30
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 13:40:51 2010 +1100
s4-kcc: added DsReplicaGetInfo pending ops call
Just return 0 pending ops for now
commit 84b47d33349ff12fa5951f3348db20a05879f614
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 13:20:46 2010 +1100
s4-provision: added w2k8r2 ldap capabilities
commit 637d50b5d0eedced7c2cac6b0605a6c52eec2050
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 13:20:24 2010 +1100
s4-devel: added rebuild_zone.sh
This rebuilds a DNS zone file, including all DCs from sam.ldb
commit a9808ae83da936a2b93c9b8400ad2283a843ab4b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 13:19:50 2010 +1100
s4-provision: added "check-names ignore;" to allow for _msdcs A records
commit 473345f8003a89a365a80963c24cb90d932c4e31
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 12:10:40 2010 +1100
s4-kcc: added DsReplicaGetInfo CURSORS2 level
commit 93531a52f030cad7d4237d7813fa1d73d641b35a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 12:03:01 2010 +1100
s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_context
commit c22973d88dbfb46e5c387ff03b7bb66bada7cac3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 11:49:39 2010 +1100
s4-kcc: added support for CURSORS info level in DsReplicaGetInfo
commit 8342d08f5c3ffd02f54c5d5ace9e76cf551acb51
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 11:49:09 2010 +1100
s4-dsdb: take advantage of local cursor and sort
in getncchanges and repl task we don't need the extra load and sort
any more.
commit db7eba7080e3f60da6751d638a31eaf3e36c9b12
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 11:48:25 2010 +1100
s4-dsdb: add our local cursor and sort in dsdb_load_udv_*()
This makes things much simpler for the callers
commit 0bba44094af9a1d88e0c2443d382993f1ebfb91e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 11:08:59 2010 +1100
s4-drs: use dsdb_load_udv_v2() in getncchanges code
commit 09d947f77cda4eb62c21cfd7acd539b8fe305a6a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 11:08:44 2010 +1100
s4-dsdb: use dsdb_load_udv_v2() in repl task
commit 4cef7427ec22df1a5c16a22820952f2f963dc1e3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 11:08:15 2010 +1100
s4-dsdb: added dsdb_load_udv_v2() and dsdb_load_udv_v1()
commit 3ff3612e29c16d7f3d87e06e6327d6b5bf530e2c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 10:37:26 2010 +1100
s4-kcc: simplify the ReplicaGetInfo implementation a bit
commit 900fea322cabaa279e016508c688107415ed0796
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 10:36:56 2010 +1100
s4-kcc: squash a warning
commit 3a9b33b4876349165e7e16777fa283b128d525be
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 10:36:40 2010 +1100
s4-drs: better debug info when security checks fail
show the security token of the user at debug level 2
commit 5efff3ad6a7fdfe71101b2debe7d79678432c5c4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 10:36:06 2010 +1100
s4-dsdb: require admin access for DsReplicaGetInfo
commit 5bfeed89da6177adf9dfa49471adcbc25c7d0e7a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 15 19:36:16 2010 +1100
s4-drs: framework for DsGetReplInfo(), includes the DS_REPL_INFO_NEIGHBORS infoType.
This patch includes the framework for the implementation of all infoTypes of
the DsGetReplInfo() call, and includes the implementation for the first one,
the DS_REPL_INFO_NEIGHBORS.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 22d92157e35240b8b2f653a688dffd68a4b0e330
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 15 19:34:32 2010 +1100
s4-drs: give better debug info on unsupported DRS calls
commit 48bdf3e608acf79926a7bc3acd9b0588216c7d64
Author: Erick Nogueira do Nascimento <erick.nogueira.nascimento at gmail.com>
Date: Wed Dec 23 17:54:30 2009 -0200
s4-drs: torture test for DsGetReplInfo() (RPC-DSGETINFO test).
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 51bf383c26cb3f867f376305c803dac04ff686a7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 15 19:13:26 2010 +1100
s4-dsdb: added isGlobalCatalogReady
needed for dcdiag.exe
commit f85b6ee90b88c7f7b2a92c8a5f3e2ebe59c1087b
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jan 15 17:33:24 2010 -0800
Second part of bug 7045 - Bad (non memory copying) interfaces in smbc_setXXXX calls.
Protect against SMB_STRDUP of null...
Jeremy.
commit 2d41b1ab78639abe4ae030ff482573f464564dd7
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jan 15 17:22:35 2010 -0800
Fix bug 7045 - Bad (non memory copying) interfaces in smbc_setXXXX calls.
In smbc_free_context libsmbclient just called free() on the string options
so it assumes the callers have malloced them before setting them via smbc_set
calls.
Change to corretly malloc/free string options to the library.
Jeremy
commit a56ede9027125aa9e70358661b2db1e9f993e939
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 08:58:27 2010 +1100
s4-ldb: cope with bad ptr alignment in ldb_index.c
We can't assume that a rec_ptr will come back from a tdb traverse with
alignment sufficient for a pointer.
commit 5c016ad88e366db31e78db885b3a6edcbdec1e0c
Author: Kai Blin <kai at samba.org>
Date: Fri Jan 15 02:08:35 2010 +0100
s4 selftest: Ignore more winbind test known to fail
commit 9d881f4cfbeddf0f4c66d0986f6fc9168f4891b0
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 15 00:25:06 2010 +0100
s4-smbtorture: add setup_schannel_netlogon_pipe() function.
Guenther
commit 6653cc43233381a941cdd85550f04b087fe880ff
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jan 14 15:39:30 2010 -0800
Fix bug #7036 - net rpc getsid fails in hardened windows environments.
Fix suggested by Dave.Daugherty at Centrify.com.
commit 33a4739090416c98a4f4d1a2dc6b25bc8afdba85
Author: Andreas Schneider <asn at redhat.com>
Date: Thu Jan 14 12:57:56 2010 +0100
s4-torture: Migrate ntp_signd test to tsocket.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3c42e11ff398d0307a480d49191aae3bf9869cd9
Author: Olivier Sessink <oliviersessink at gmail.com>
Date: Thu Jan 14 12:13:14 2010 -0800
Part 4 of bug #7028 - include scannedonly VFS module
Fix some issues with handling names ending in '/'.
commit e635b0074c55e0376495abe940355aa7b04f0b70
Author: Günther Deschner <gd at samba.org>
Date: Thu Jan 14 19:34:26 2010 +0100
s3-libsmbclient: Fix crash bug in SMBC_parse_path().
Patch from Tim Waugh <twaugh at redhat.com>.
This resolves https://bugzilla.redhat.com/show_bug.cgi?id=552658
LIBSMBCLIENT-OPENDIR torture test checks this as well.
Guenther
commit d95ad11bc583c99f9bf8faeac7935880da19684b
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 12 17:42:00 2010 +0100
s4-smbtorture: add rather simple libsmbclient torture testsuite.
Guenther
commit 8573471154d63644bc581d0b6a80f73927ca3e93
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 14 14:24:35 2010 +0100
s3:auth: fix account unlock regression introduced with fix for bug #4347
By an oversight, the patchset for #4347 made the unlocking of a locked
account after the lockout duration ineffective.
Thanks to Björn for finding this!
Michael
commit 743adfda911e9123132fcc0d599080d869f419ab
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 13:58:20 2010 +0100
s3 selftest: Enable the WINBIND-STRUCT tests
commit cf38a1f850dd3712e7cd71364cc86ecba7871d03
Author: Kai Blin <kai at samba.org>
Date: Thu Jan 14 13:21:44 2010 +0100
s3 test: Fix WINBINDD-STRUCT tests
The struct-based tests are working in make selftest, make them work in plain
"make test" as well.
commit 89e6eac290da6457b1d2259c32759d2b8a2b481b
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 16:46:17 2010 +0100
s3 selftest: Fix LOOKUP_SID test.
WINBINDD_LIST_USERS does not give a domain name if we're a DC and the user is
from our domain.
commit e95c04f0f19a6e00251f9eceb94c519a0f91b308
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 16:02:00 2010 +0100
s3 selftest: Fix WINBINDD_LIST_GROUPS test
If there's no groups in the database, there are no entries in extra_data. This
caused WINBINDD_LIST_GROUPS test to fail. Use the fact that
WINBINDD_LIST_GROUPS now reports the number of groups in data.num_entries to
identify the "no groups" case.
commit 932d4a874bb79ad76b95b43491b223d766ab4196
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 15:59:57 2010 +0100
s3 winbindd: Return number of groups in data.num_entries for WINBINDD_LIST_GROUPS
This allows to test if there's something wrong with the group list in
extra_data or if there's simply no groups in the database.
Volker, please check.
commit a4f21d5dc886b708d401a32d2208c316b537b07f
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 15:21:14 2010 +0100
s3 selftest: Allow the enumeration of users and groups
This fixes the WINBINDD_GETPWENT test.
commit a6015a858d9658730c0cc9b963ad86a740dd4bb8
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 14:49:26 2010 +0100
s3 selftest: Fix the WINBINDD_GETDCNAMEe test.
The WINBINDD_GETDCNAME test expected an NSS_STATUS_SUCCESS return from all
calls. However, this does not apply for BUILTIN and the DC's own domain.
Make the test work again by skipping those two.
commit 36db924446b8c6a1627e9abb22f774240678851a
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 14:10:33 2010 +0100
s3 winbindd: Get WINBINDD_CHECK_MACHACC torture test to work again.
WINBINDD_CHECK_MACHACC used to report an NTSTATUS error and appropriate error
strings. Make this work again.
commit b1d2bb3e51bdee1dd32d97af8d502adc374acefb
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Jan 13 17:39:28 2010 +0100
s4:provision_users.ldif - Add a comment that some objects under "Users" are now located elsewhere
This is needed due to the new RID/SID distribution system
commit face5d3030b6d2c7dfbe6e2cb36a2e59e9efde67
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jan 10 14:20:09 2010 +0100
s4:provision_users.ldif - Add objects for IIS
Some WSPP locations point out that beginning with Windows Server 2008 they're
also per default present.
Compared against Windows Server 2008
commit 9ac39b659f00dc3737dff5be021cd0aefa0dc39e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Jan 11 22:12:01 2010 +0100
s4:provision_users.ldif - Add additional BUILTIN objects
Compared against Windows Server 2008
commit 2a05dd6fcc9ccbebeeebcb66407ae2e49d626307
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Jan 11 22:01:42 2010 +0100
s4:provision_users.ldif - add the restant part of the objects needing for RODC support
RODC = Read Only Domain Controllers
Compared against Windows Server 2008
commit 71357053bb2b0695cbbf4661529fc81db3c8e4fd
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Jan 11 21:57:32 2010 +0100
s4:provision_users.ldif - Fix up errors on existing entries
Compared against Windows Server 2008
commit 81053e9124057915402ddedb1b7b087516349829
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Jan 11 21:44:18 2010 +0100
s4:provision_users.ldif - Simple reordering
Sorted according the SID - easier for later enhancements.
commit a0d7f3e3442d8baa23af0c0e74b3707eedc2158d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Jan 11 21:36:40 2010 +0100
s4:provision_users.ldif - Remove system objects from the wrong place
Objects like the "Cryptographic Operators", "Event Log Readers" don't belong
here but into the builtin domain.
commit 40bc48dfa909fe8eda7e1c4ae072dc298d20e978
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Jan 12 22:16:36 2010 +0100
s4:SAMR RPC - Fix the criteria for group searches
This should match the MS-SAMR documentation (section 3.1.5.5.1.1)
commit c663af8b7b39fd24aae7666540e4e6211230aae0
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 14 14:40:53 2010 +1100
s4-idl: get rid of the operation specific DRS options flags
It was confusing to have several sets of incomplete options when WSPP
uses a single set.
commit 74a571961464e104e6678ec249718138d7a6196c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 14 14:38:18 2010 +1100
s4-torture: switch smbtorture to the generic DRS options
commit 2008d24e91ce38ac928a71d0dc5147ecca0f2b24
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 14 14:38:00 2010 +1100
s4-drs: switch the DRS server to the generic DRS options flags
commit a5d611706533bb23f11e4c10edad455e091b5073
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 14 14:37:40 2010 +1100
s4-torture: switch to generic DRS options flags
commit 88ec10b7576b8767b370db1c27ffe703eae852c3
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 14 14:37:22 2010 +1100
s4-drepl: switch drepl over to using the generic DRS options flags
WSPP uses a single set of flags for all these DRS operations.
commit 60c5a5f39f6b5b709d3ecf97cbaed68f12181941
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 14 14:19:22 2010 +1100
s4-idl: update the DRS_OPTIONS bits based on the latest WSPP docs
commit 6f806b7079b7e1bde2bb3bccb08b33e4fc65edc5
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Wed Jan 13 14:08:56 2010 -0200
s4-drs: Uses dsdb_load_partition_usn() with urgent_uSN in s4 code
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit e30d009965a789e8a4495609f8d19adb621df6f4
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Jan 7 16:30:05 2010 -0200
s4-drs: Store uSNUrgent for Urgent Replication
When a object or attribute is created/updated/deleted, according
to [MS-ADTS] 3.1.1.5.1.6, it stores the uSNUrgent on @REPLCHANGED
for the partitions that it belongs.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit ac224452b94865db346ed68dc517f84d40e6303c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 13:30:42 2010 +0100
s3:pdb_ldap: restore Samba 3.0.x behavior and use the first "uid" value.
See bug #6157 for more details.
metze
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit 25806f43ddee7e2653e907eea2c6fcc075960fa1)
commit 915b7552b71904baf6a452bdc1649e76d8286a14
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 13:30:19 2010 +0100
s3:smbldap: add smbldap_talloc_first_attribute()
metze
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit c992127f8a96c37940a6d298c7c6859c47f83d9b)
commit 204e4b26aecb7e51da80cbf63efe952d17bbe856
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 11:14:33 2009 +0200
s4:dsdb: use validate_update module
metze
commit 1f2efef214d31fa13d197a3ee7ef589c4444b037
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 12 23:45:02 2010 +0100
s4:dsdb/schema: add dsdb_syntax_OID_validate_ldb()
This is a very heavy weight way of checking this syntax,
but it's very complex and using the existing function
should be ok for now. We can optimize it later.
metze
commit f0fed6cadd869134e801a652ac650b4a45fa9b42
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_DN_STRING_validate_ldb()
metze
commit 83baa44c6737ffb08417221c12e2b7dd902ebdeb
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_DN_BINARY_validate_ldb()
metze
commit 39dda462cd4fbbc1e9ece415f850f42fd8010b43
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_DN_validate_ldb()
metze
commit 4fa2bf81843654ebad47cd36b441f337db95b1c6
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_PRESENTATION_ADDRESS_validate_ldb()
metze
commit ba8a930d0e428ef7a97cc29b345d02d2be68a1b3
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_UNICODE_validate_ldb()
metze
commit 674e8350b6dea6a04dc719932339d5097f59ca42
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_DATA_BLOB_validate_ldb()
metze
commit e2b9454d36ab84d34db00301af9c46b0f57fcc24
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_NTTIME_validate_ldb()
metze
commit eb261a9fda9a471f70f892949b472d6bf08d0e7b
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_NTTIME_UTC_validate_ldb()
metze
commit 5f13a162954cbab8eaec9864c59601d244a0237a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_INT64_validate_ldb()
metze
commit ece3defd15246f232acaf0c2c29b66da2924438a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_INT32_validate_ldb()
metze
commit a0f2a49b8a67a60c2ecc188043848140a3e944c2
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_BOOL_validate_ldb()
metze
commit bf1f067b0c46f1c8378e6a517feeaad9b5c2b17c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 11:14:09 2009 +0200
s4:dsdb: add validate_update module
metze
commit b20707c11af4834693947265873e1b96d316b4e1
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add inftrastructure for dsdb_validate_ldb()
metze
commit 61589085c4207ab730654d9f881a2615e483a167
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_DN_STRING_* wrappers
metze
commit 24ecd19b30868829a2ffccaed2847e9ff4bb82e3
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 12:00:39 2009 +0200
s4:dsdb/resolve_oids: also resolve oid in search attribute list
metze
commit f715414afa7cb06af07bfd362bf340f6b13f7acb
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 13 12:00:27 2010 +0100
s4:dsdb/schema_load: add a TODO about schema reloading
metze
commit 7d41afece70093e2debf2b57731c85ecc5009765
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 13 11:45:05 2010 +0100
s4:ldb/tests: do a "schemaUpdateNow" after creating a new attribute in ldap_schema.py
It seems that windows doesn't need that.
And we should think about a check for reloading the schema
at the start of each "write" operation.
metze
commit 92b87eb47405b884c0c736e28cd06e6e83d99a1e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 13 16:00:20 2010 +0100
s4:dsdb/repl: reorder dreplsrv_op_notify* functions
This make the whole async dreplsrv_op_notify_send/recv()
readable.
metze
commit e886b6e240cde0b2985dcd291f223f5143be8acf
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 11 20:00:07 2010 +0100
s4:dsdb/repl: change dreplsrv_op_notify_send/recv() to tevent_req
metze
commit 232197e9ab20b68a848fd798c1e8be22a72c6bb5
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 12 09:59:26 2010 +0100
s4:dsdb/common: fix major bug in lsa_BinaryString to ldb_val conversation.
In lsa_BinaryString length and size are byte counts!
TODO: we may need to do byte order conversion in this functions too...
metze
commit ca9bc96b96425b7cb13797acf57704502bac1514
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 11 20:18:09 2010 +0100
s4:ldb_msg: first try to decode integers as signed and then fallback to unsigned
LDAP only knowns about signed integers, so let
ldb_msg_find_attr_as_uint() and ldb_msg_find_attr_as_uint64() cope
with it.
metze
commit 5d08309204e475e85250a34ff7986c896e8c3c01
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 11 20:17:53 2010 +0100
s4:dsdb/common: let samdb_msg_add_uint() call samdb_msg_add_int()
This is important as LDAP servers always play with int32 values
and we have to encode 0x80000000 as "-2147483648" instead of "2147483648".
metze
commit 2d7ad938d0b9345af920d396d5098ee52e900f2d
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 11 20:00:43 2010 +0100
s4:dsdb/common: let samdb_msg_add_uint64() call samdb_msg_add_int64()
This is important as LDAP servers always play with int64 values
and we have to encode 0x8000000000000000LL as "-9223372036854775808"
instead of "9223372036854775808".
metze
commit 8d4b913ce24632eca2a6fc08ef8f553eaa9afa77
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 11 13:11:48 2010 +0100
s4:ldb: be more strict in parsing ldb time strings
metze
commit 7147c8453e7174e5b6bf20172b48b065fb9b8e99
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 10:07:25 2010 +0100
selftest: Print reason when a test fails unexpectedly
commit 129c15c08387dbef0d53f7ed092ed47fb0a86753
Author: Andreas Schneider <asn at redhat.com>
Date: Tue Jan 12 17:30:04 2010 +0100
s4-ntp_signd: Migrate to tsocket.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a4eaa111342bfed4d31b9bffc60a1307e8a0d3c1
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Wed Jan 13 15:16:38 2010 +0200
Fixed a problem with incorrect default SD owner/group.
commit 026b23062eeee23dffeb627800b3cb6f55d89ad6
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jan 13 12:20:26 2010 +0100
s3: Fix a winbind segfault in "trusted_domains"
We have to initialize domain->backend by calling "get_cache" before doing a
query
Thanks to Christian Ambach to find this :-)
commit 5d1aa4c5b796ad5e65f7447414d09c059f060946
Author: Zahari Zahariev <zahari.zahariev at postpath.com>
Date: Wed Jan 13 10:41:56 2010 +0200
Comparison tool for LDAP servers (using Ldb)
This tool is integrated with Samba4 Ldb. It provides a useful output
where you can find easy differences in objects or attributes within
naming context (Domain, Configuration or Schema).
Added functionality for two sets of credentials.
commit 9b3871ed293f76e770e572cd6b59f59670f1f6f8
Merge: 309473f938d18b9993c2c4f120eeff7b4641985a ca847952054f5bbde1d40ad4260589b6fcc9721d
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Wed Jan 13 12:02:31 2010 +0200
Merge branch 'master' of git://git.samba.org/samba
commit ca847952054f5bbde1d40ad4260589b6fcc9721d
Author: SASAJIMA Toshihiro <sasajima_t at jp.fujitsu.com>
Date: Tue Jan 12 21:43:23 2010 -0800
Fix bug #7034 - vfs_cap causes signal 11 (SIGSEGV)
commit ed457e07b9bdc0acda9dc52307d8bc2118f32f06
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 12 21:18:36 2010 -0800
Fix two uses of strncat -> strlcat. Ensure proper use of strncpy when setting socket name.
Jeremy.
commit 33ee8b5a4e390f9aa43cceeec137c0ed82171340
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 12 21:06:09 2010 -0800
Make file access control decisions a lot easier to debug (at level 10).
Jeremy.
commit 105f876eb447e6839b9b19c2d264c4a168cf0cc9
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 12 16:55:31 2010 -0800
Fix bug #7033 - SMBrmdir call always returns true, even on failure to delete a directory.
Argh. Missed the second (and essential) part of the fix for the above :-(.
Jeremy
commit ce8dcbe91ba0252140a0e4f84ea4bc746259ddde
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 12 16:50:40 2010 -0800
Fix bug #7033 - SMBrmdir call always returns true, even on failure to delete a directory.
There is a codepath missing to propagate back error returns from the rmdir
POSIX call inside close_directory when delete on close is set. This means doing
an rmdir on a Windows command line will always report success, even when the
directory was not deleted. This fix adds that codepath back into Samba.
Jeremy.
commit 47c1d9b39f292772e8d8f7a737ddff6c8bdfdeae
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 12 16:04:44 2010 -0800
Fix bug #6876 - Delete of an object whose parent folder does not have delete rights fails even if the delete right is set on the object.
Final fix for the vfs_acl_xattr and vfs_acl_tdb code.
Ensure we can delete a file even if the underlying POSIX
permissions don't allow it, if the Windows permissions do.
Jeremy.
commit 2f30aea3324f32f9b8555e961256fc1280da2871
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 12 14:48:23 2010 -0800
Remove the global char *LastDir.
This is no longer used for anything.
commit 2d4dda0688d5c88fb73ae17db970afe9d0f77f6a
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 12 22:58:51 2010 +0100
s3: Lift the version of the scannedonly VFS module
commit 31e142854bbb29132143f895dee9568576175dd5
Author: Olivier Sessink <oliviersessink at gmail.com>
Date: Mon Jan 11 21:53:37 2010 +0100
s3: Add the "scannedonly" vfs virus scanner interface module
commit 3d184399a5ac3604b78ca8cdd5d4e1e3f6412b2d
Author: Simo Sorce <idra at samba.org>
Date: Tue Jan 12 11:05:16 2010 -0500
Strip trailing spaces
commit 3b58b2ac39a91c0c9f074abf079f700c7e886841
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 12 12:29:14 2010 +0100
docs: fix xml tag in the pdbedit manpage
Michael
commit 444ecac2d28e02c6cc6da8ed97010fc475e834e5
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 12 12:25:32 2010 +0100
s3:auth: add comment to nulling out stolen sampass
Adding this comment makes me think, I could also
have changed make_server_info_sam() talloc_move
instead of talloc_steal, but that would have
changed the signature... Well the comment is a
first step. :-)
Michael
commit 373dcf45cf3d8782c6486958c2ee108e4c8ebba5
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 12 13:53:01 2010 +0100
s3: Remove a pointless if-statement
commit 3b8225490321bf29f195d93bb102cb311c61b5d6
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 12 12:34:55 2010 +0100
s4-selftest: RPC-SAMR-PASSWORDS-BADPWDCOUNT fails against s4.
Seems like account lockout is not implemented at all yet.
Guenther
commit 0ae4cc839d435bb974b456c9c0f91bf545e181f2
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 15:40:37 2010 +0100
testprogs: remove unused test_EachDriver from spoolss test.
Guenther
commit 3c1b51795dcf6b6e85701a49ea9d862b9ae610bd
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 15:40:16 2010 +0100
testprogs: add EnumPrinterKey test to spoolss test.
Guenther
commit 13dad3893085dfe2fc01f88b3bb46a0645ab22fb
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 12:40:01 2010 +0100
s4-smbtorture: fix GetAliasMembership test in RPC-SAMR.
Guenther
commit a744dbcf2b29040d7d630201cef9f64edafd7eec
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 21:18:51 2010 +0100
s4-smbtorture: add RPC-SAMR-PASSWORDS-BADPWDCOUNT torture test.
This test checks the behavior (since w2k3 sp1) of the badPwdCount samr attribute
in relation to password history and successfull and unsucessful netlogon
samlogons.
Michael, please check. This should help verifiying Bug #4347.
Guenther
commit c9e84ad3970cd3360313c1582d806c0393ce6228
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 12 11:48:23 2010 +0100
s4-smbtorture: allow test_SamLogon to test interactive samlogon in RPC-SAMR family of tests.
Guenther
commit d75d14f8de0b1fe36028e605c9453631d9cd70bc
Author: Giovanni Bajo <rasky at develer.com>
Date: Mon Jan 11 22:18:40 2010 +0100
s3-lanman: Allow a level2 descriptor for a level1 NetShareGetInfo
Windows seems to allow this
http://lists.samba.org/archive/samba-technical/2009-November/068116.html
has a dump of this.
commit e0e255fb241b7e7918f237df52de3551ac6534f5
Author: Simo Sorce <idra at samba.org>
Date: Mon Jan 11 11:48:12 2010 -0500
Fix comment/debug messages
commit 403dc10e8ff46282dd7f4afbd5e5f3fbcc73177d
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 12:38:22 2010 +0100
testprogs: fix driver levels in spoolss test.
Guenther
commit 9a1b298e3d32252dd83fd2146b578e5150a06c7b
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 12:37:45 2010 +0100
testprogs: test each printer, do not abort after first failure.
Guenther
commit 3e7b7bfd27fad1680f9f331e5b8d736bc3733e05
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 12:34:56 2010 +0100
testprogs: fix EnumPrintProcessorDatatypes spoolss test.
Guenther
commit 4aefb33b9fa4b93fea7035c505e480949bfb843b
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 12:33:22 2010 +0100
testprogs: add more error codes to spoolss test.
Guenther
commit 0ad83813ee5cbebd20d930356be61a9ebdddad46
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 11 12:10:47 2010 +0100
s3: Add a zfsacl:denymissingspecial parameter
When setting an ACL without any of the user/group/other entries, ZFS
automatically creates them. This can at times confuse users a lot. This
parameter denies setting such an acl, users explicitly have to for example set
an ACE with everyone allowing nothing. Users need to be educated about this,
but this helps avoid a lot of confusion.
commit 04f3f27f7e7a4e7ae3584fe9b7ed7c5f5d556ec7
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Dec 21 12:44:00 2009 +0100
tsocket: Added doxygen config file.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 574f77f89e78997844dd6e993f9bf53476555026
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Dec 16 13:26:48 2009 +0100
tsocket: Added complete doxygen documentation.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit c32b0b6b0249e9f636667b779096b80c97038515
Merge: f6b10596ca7307b63b852d39229d2f2bcfb09e4a 5323fe99c30bad099645711feac5f2a8979a1ee1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jan 11 17:10:32 2010 +1100
Merge remote branch 'origin/master' into alpha11release
commit f6b10596ca7307b63b852d39229d2f2bcfb09e4a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jan 11 17:05:06 2010 +1100
and we move on towards Samba4 alpha12!
commit c41fb54cb7a1f647e239e4479e8603633685781e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jan 11 16:35:28 2010 +1100
more WHATSNEW4
commit 1a76c80466bf877a806c1c220b41e0ed37d92ed7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jan 11 14:57:55 2010 +1100
This is Samba4 alpha11!
commit 4f6e9a0bf7f4cdd63ed4c95da3a914a85737d8a9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jan 11 12:00:34 2010 +1100
release notes for Samba4 alpha11 (to be released this week)
commit 5323fe99c30bad099645711feac5f2a8979a1ee1
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Sun Jan 10 16:06:57 2010 -0800
s4/torture: Parameterize output in LOCK tests based off server support
Two new torture parameters:
* smbexit_pdu_support: if the Server supports the Exit command
* range_not_locked_on_file_close: whether the server returns the
NT_STATUS_RANGE_NOT_LOCKED error when a file is closed which has a
pending lock request. Windows returns this error, though per the
spec, this error should only be returned to an unlock request.
commit 73422e7dd866f9c65e1ba5cd42fd027b5acf3a40
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jan 11 10:08:30 2010 +1100
Revert "s4:provision_users.ldif - Import all essential groups for Windows Server 2008 mode"
This reverts commit 5c174c68ccba7506147feab1d09ad676792139b3.
This series of commits broke 'make test'.
Matthias, please make sure you run a _full_ make test before every
push.
commit 3af84c1cde9f210f9ee6608b2509a58646226127
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jan 11 10:07:53 2010 +1100
Revert "s4:provision_users.ldif - Remove foreign security principal S-1-5-17 for now"
This reverts commit 61dfd3dc1dce2c0dd6693de80930af312ad3e39f.
This series of commits broke 'make test'.
Matthias, please make sure you run a _full_ make test before every
push.
commit 306de3051d8780c3ff2f97e0c61c28e5519aa661
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jan 11 10:06:58 2010 +1100
Revert "s4:provision_users.ldif - Fix memberships regarding the denied password RODC replication group"
This reverts commit 9ee895fcf6327b1c2f5ee09fa565bd62974e9c58.
This series of commits broke 'make test'.
Matthias, please make sure you run a _full_ make test before every
push.
commit aa4501538a6df60719b0ab988cbd94f4495dacf1
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jan 11 10:05:50 2010 +1100
Revert "s4:provision_users.ldif - Add objects for IIS"
This reverts commit 91e210028790397996659116446e6add452707f6.
This series of commits broke 'make test'.
Matthias, please make sure you run a _full_ make test before every
push.
commit d0123e0a9a4a9dc2e28d6f66afce73b9ab0b0936
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jan 11 09:36:48 2010 +1100
s4-selftest: when a command fails show both normal and expanded command
It is sometimes hard to tell which varient of something like
$SMB_CONF_PATH or $USERNAME is being used in a test. By giving both
the expanded command ($command with environment variables expanded)
and non-expanded command it is easier to reproduce bugs outside the
test environment.
commit 1eebdfdbe7200fdc7788834a28818f8e0155904a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jan 11 09:29:29 2010 +1100
s4-test: fixed make test without having done make install
client.conf didn't specify "setup directory"
commit 2cedefabc93c8a1fcb49d65a3f78a344e814f826
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jan 10 21:34:05 2010 +0100
s4:upgradeprovision - fix up the script regarding linked attributes
We have to try to add new objects until between two iterations we didn't make
any progress. Either we are then done (no objects remaining) or we are
incapable to do this fully automatically.
The latter can happen if important system objects (builtin groups, users...)
moved (e.g. consider one of my recent comments). Then the new object can't be
added if it contains the same "sAMAccountName" attribute as the old one. We
have to let the user delete the old one (also to give him a chance to backup
personal changes - if needed) and only then the script is capable to add the
new one onto the right place. Make this clear with an exhaustive error output.
I personally don't see a good way how to do this better for now so I would leave
this as a manual step.
commit e0d6b0977eb5c5a2c95ee2de10c7b18550371b50
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jan 10 20:08:50 2010 +0100
s4:upgradeprovision - Reformat comments
Make them break at line 80 (better readability).
commit 601ea3a442ba20fe16797953e946d7a113c9b635
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jan 10 19:49:40 2010 +0100
s4:repl_meta_data - Transform a "1" into a "true" on a boolean variable
commit 91e210028790397996659116446e6add452707f6
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jan 10 14:20:09 2010 +0100
s4:provision_users.ldif - Add objects for IIS
Some WSPP locations point out that they're defacto-standards for Windows Server deployments starting with 2008. So we should add them to s4 too.
commit e72787f0af71c616f44d812ccd90e050d74b2630
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jan 10 15:43:07 2010 +0100
s4:provision_self_join_modify.ldif - Point out that account "dns" is s4 specific
commit 9ee895fcf6327b1c2f5ee09fa565bd62974e9c58
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jan 10 15:38:55 2010 +0100
s4:provision_users.ldif - Fix memberships regarding the denied password RODC replication group
commit 81a848be6d5bb57c7f812fb58a2b6d349f0af104
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 10 22:42:02 2010 +0100
s3: Remove some unused variables
commit fd1b6bdef9b68b9fc8c7915350c48eeaba9d7c04
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 9 20:26:46 2010 +0100
s3: Fix some nonempty blank lines
commit 86a73e6eba35973b0de63e3e048da99c7472582a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 10 17:58:12 2010 +0100
s3: Use sid_check_is_domain instead of a direct sid_equal
commit 48251c3370ed24aecd677d923d109ed7eda07388
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 10 17:57:00 2010 +0100
s3: Use sid_check_is_in_our_domain instead of a direct sid_peek_check_rid
commit 3ea64e0ad86c35e5f0018ac60571e7a31a968543
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 10 17:39:27 2010 +0100
s3: Replace most calls to sid_append_rid() by sid_compose()
commit 50b7a3233f1edc184acb0b65870fff1db1226ef4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 10 17:30:54 2010 +0100
s3: Remove unused samr_make_sam_obj_sd
commit 081573091bc3f2b4f85164db51878e570377d4e8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 10 14:24:22 2010 +0100
s3: Remove the typedef for "auth_serversupplied_info"
commit 9bb4766bbaaec58989f1f544b7e2367691a09c53
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 10 14:16:04 2010 +0100
s3: Remove the typedef for "auth_usersupplied_info"
commit 6f0e7b946557d8955803e65186e9f924c5e469f2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 10 13:35:37 2010 +0100
s3: Trim libnss_wins.so
commit 0f9268bde93d9a987106e9c16e52c5684244489d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 3 22:28:33 2010 +0100
s3: Trim down some utilities a bit
commit 61dfd3dc1dce2c0dd6693de80930af312ad3e39f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jan 10 11:07:16 2010 +0100
s4:provision_users.ldif - Remove foreign security principal S-1-5-17 for now
This belongs to the AD IIS stuff where I don't know yet if we should import it.
commit 5c174c68ccba7506147feab1d09ad676792139b3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jan 10 10:47:30 2010 +0100
s4:provision_users.ldif - Import all essential groups for Windows Server 2008 mode
Additionally I had to fix some bugs (especially wrong "groupTypes") and
reordered the objects using the SID (this is easier when enhancing the file).
commit a3e089db19384221c65996b158b7fa3aaf512792
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Jan 10 12:53:07 2010 +1100
s4-ldb: display security descriptors with correct SDL for known SIDs
This makes it much easier to compare SDs
commit d5091a1dd9cf669817355bb932249e5337e664b1
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Jan 10 12:52:22 2010 +1100
s4-dsdb: added samdb_domain_sid_cache_only()
commit fd92db55eb613c5189f1a4aed719f77d47b80d68
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 9 18:43:38 2010 +0100
s3: Remove a pointless "else" branch from add_ccache_to_list()
commit fc1757369fe73eb2bdd0336c758cdae5a0e96974
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 9 19:01:35 2010 +0100
s3: Slightly simplify winbindd_store_creds
commit 43c841b6bd92e987109df81b6b8a2b85f21b0181
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 9 20:22:00 2010 +0100
s3: Fix a segfault in winbindd_dual_ccache_ntlm_auth()
ntlmssp_update allocates the reply_blob as a child of ntlmssp_state. This means
with ntlmss_end() it will be gone. winbindd_dual_ccache_ntlm_auth used the blob
after the ntlmssp_end().
commit c03a101e6d410df68454f46c9e4d88f46fc2fa1a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 22:08:25 2010 +1100
s4-drs: instanceType is always sent, regardless of UDV values
commit a894eeab77bde6494d397e5f4cf2a4a1325b41a4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 21:43:16 2010 +1100
s4-debug: lower the verbosity of a couple of common log messages
commit 93fefefea85808eeeb58294133bd608490a89c86
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 20:58:07 2010 +1100
s4-samldb: fixed primaryGroupID when promoting a machine to a DC
The machine gets a primaryGroupID of DOMAIN_RID_DCS. This is done
without changing the member attributes of its groups.
commit 8a09dc12660dcc62926c3a41cacd4970f46f9210
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 20:54:16 2010 +1100
s4-schema: fixed the SDDL for the schema root security descriptor
This was preventing a DCPROMO client from allowing outgoing
replication
commit 45f49d0a58f19c2b0e9d01d635d2dd28701c7cf8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 20:53:27 2010 +1100
s4-drs: add a local UDV entry even when no replUpToDateVector present on NC
This allows us to filter correctly for a NC that we have created but
not pulled from anyone.
commit b37bec8e06a42dcc003681b9a57eaac2b1abf4fd
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 20:42:23 2010 +1100
s4-drs: give DN of failed replication partition
commit 04e82370dbfc742053cd86c39cb9e8210df19651
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 18:50:30 2010 +1100
s4-drs: base is_nc_prefix on instanceType
for extended operations comparing to the ncRoot_dn is not correct
commit 67d8518f2c5bcb611e569164d31ed760c8965064
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 18:10:38 2010 +1100
s4-drs: having no SPNs to change is not an error
commit ba745a43567062e48fe8e5b316f390b99868c309
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 17:42:59 2010 +1100
s4-drs: fixed writespn to ignore add/delete errors
When a SPN is added and already exists, it is ignored. Similarly, when
a SPN is deleted and doesn't exist, it is ignored.
commit 8c2d7ae19e5a14ffa37af60ff4eec4d79f70040b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 17:42:05 2010 +1100
s4-dsdb: added samdb_ldb_val_case_cmp()
commit acf33e0d58b38c9c621e2dc0837c07a99c95acc2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 17:11:01 2010 +1100
s4-drs: moved the DsWriteAccountSpn call to its own file
commit 8ccedc3ac7f7bf6207d9fc778686592915781a4a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 15:57:52 2010 +1100
s4-libnet: dsdb_wellknown_dn() in vampire code
commit 1158c138611d388fcae066a009cd6033a60a5944
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 15:12:18 2010 +1100
s4-drs: need to set the getncchanges extended_ret on success too
commit 7010fad4eae6aa6a852a318ae59427525c9111d0
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 14:29:39 2010 +1100
s4-drs: calculate and send a uptodateness_vector with replication requests
This stops us getting objects changes twice if they came via an
indirect path.
commit 39730ac30291b14a785a7d04a0ea271f5e0f1807
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 14:28:00 2010 +1100
s4-drs: be less verbose when we filter objects by UDV
commit 349f7ba09c4cda14eea4df69bd6dcb082fc23c8d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 13:11:27 2010 +1100
s4-drs: added filtering by udv in getncchanges
When a client supplied an uptodateness_vector, we can use it to filter
what objects we return. This greatly reduces the amount of replication
traffic between DCs.
commit b0090d01e061220d9b70a14e5a88b683949fe6a5
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 13:10:28 2010 +1100
s4-idl: give a enum for attribute cn and a 'NONE' attribute
The 'NONE' attribute has value 0xFFFFFFFF. Adding this ensures the
compiler will complain if it is set to use 16 bit enums. We rely on
being able to store 32 bits in an attid enum.
commit 9e6eb22f7fda88e1d2336ac4b2ec42a8d84c2138
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 10:12:54 2010 +1100
s4-drs: fixed the NC in the getncchanges RID alloc reply
the search happens on a different DN to the NC of the request, but the
reply is with the original NC
commit 273a4d9803f1a92f0e248b707937703d84b0edc6
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 09:05:56 2010 +1100
s4-debug: removed debug_ctx(). It didn't catch on :-)
There was only one user, which isn't worth it for the overhead.
commit 651ddb720a2dd80c9abd65563af54a512525b622
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 09:05:29 2010 +1100
s4-messaging: remove only usage of debug_ctx()
commit 6a36799d30c1bfb685ccfe77257433710f23215c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 09:04:18 2010 +1100
s4-messaging: fixed a memory leak in messaging_path()
It is a bit convoluted to fix, as cluster_id_string() may return a
const string.
commit 196cb6b359f3a8cdca5e1d4bb17a7ab7897095ab
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 09:03:45 2010 +1100
s4-drs: fixed usage of ldb_dn_new()
commit 39a4e2a38d0a6767ebca13efaee0ac61297ad45b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 9 09:03:08 2010 +1100
s4-ldb: validate the type of the ldb argument to ldb_dn_new()
It has been a common bug to get the first two arguments the wrong way
around
commit 7eee8e053b22b9be8cd6de5a27efb19fe914039a
Author: Simo Sorce <idra at samba.org>
Date: Fri Jan 8 16:53:30 2010 -0500
Fix comment
commit d7713d11a6dc2d66c820d7496bc45eb5fe527fbf
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jan 8 10:17:46 2010 -0800
Re-fix bug 5202 - cannot change ACLs on writable file with "dos filemode=yes"
This bug re-occurred for 3.3.x and above.
The reason is that to change a NT ACL we now have to open the file requesting
WRITE_DAC and WRITE_OWNER access. The mapping from POSIX "w" to NT permissions
in posix_acls doesn't add these bits when "dos filemode = yes", so even though
the permission or owner change would be allowed by the POSIX ACL code, the
NTCreateX call fails with ACCESS_DENIED now we always check NT permissions
first.
Added in the mapping from "w" to WRITE_DAC and WRITE_OWNER access.
Jeremy.
commit fca0c4de2ab8890af4d5f15009a2777691f222bd
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Jan 8 18:18:21 2010 +0100
s4:provision_self_join.ldif - Adapt comment after implementation of distributed RIDs
commit 0588f34467d8e9b56de1beabe776babde52a1a55
Author: Andreas Schneider <asn at redhat.com>
Date: Thu Jan 7 12:23:33 2010 +0100
s4-kdc: Migrate tcp connections to tsocket.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 42c34cdafa3323cc6f298a3668eb03becc90aa84
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 4 19:27:20 2009 +0100
s4:kdc: use LIBSAMBA_TSOCKET
metze
commit d97562b382a1e770310f1417992dff417a585e16
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 8 11:45:59 2010 +0100
s4:kdc: the ->process function returns "bool"
metze
commit bbaec01b3720fafada13a7143d698f8cd7c0af37
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Nov 5 09:55:12 2009 +0100
libcli/util: add tstream_read_pdu_blob_send/recv
This will take the some full_request callback function
as the Samba4 packet code.
metze
commit 1bc953088f2fa2772b1aababb2f3819f5c6de536
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 8 11:03:31 2010 +0100
s3-time: fix build warnings after we moved to shared time functions.
Bjoern, please check.
Guenther
commit 9bdd3d6c1b1aec536d87fb2e2d4e8495b3c88ee6
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 8 10:38:46 2010 +0100
s3-docs: mention -K option in pdbedit manpage.
Guenther
commit 8d87c0a0c32ca49ae7b68953e4313c7313a68871
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 18:03:09 2010 +1100
s4-drs: added two more SPNs in addentry
w2k8r2 wants these after a DCPROMO
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ad11deb9bd825d699e2b6799b40d98c28c95910e
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 17:58:26 2010 +1100
s4-schema: fixes for W2K8-R2 schema
The schema from WSPP had a number of typos that prevented it from
working. These changes allow it to work with Samba, and allow w2k8r2
to run DCPROMO against Samba successfully
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ebec49965b70795d610be70fe1bab91ac2c19765
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 17:01:32 2010 +1100
s4-schema: added msDS-NcType to schema container
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ce21151d226829a33b2b7f6524f36b7d7f04c50e
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 17:00:54 2010 +1100
s4-schema: fixed attributes of aggregate schema
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 38909a4ae5a2dc3b18a797933586d35cc679d667
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 17:00:28 2010 +1100
s4-schema: switch to W2K8-R2 schema
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d371b0eabe360f7c184a10282f63a64b0cfc550f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 16:59:27 2010 +1100
s4-schema: added adminDisplayName and adminDescription
These are missing from the WSPP schemas
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c93a182a0d14862d960aee57f9af4baabe518549
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 16:57:56 2010 +1100
s4-schema: added some debug for bad attributes
commit 9d296e6776c96401f2285602f939256d9cbe7c48
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 16:56:01 2010 +1100
s4-provision: added W2K8-R2 schema as provided by WSPP
commit 5ccf8ae37385bd401910e7c31c63fad43dcc89ae
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 12:55:21 2010 +1100
s4-samba3samtest: we need to force netbios name as well
needed for when run in CLIENT context
commit dde2b66341d5addbb80a239b8ccab58af1f3fc24
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 12:54:42 2010 +1100
s4-samba3sid: fixed error returns when res->count != 1 and oom
commit 9aed0993624ecd42ad68b3b080668fa07a9bc1b9
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 12:45:49 2010 +1100
s4-samba3samtest: force workgroup so the domain is right
the samba3sid backend looks at lp_sam_name() which is based on the
workgroup
commit f68c43e80338921be8145f8b3a3b391a941715a2
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 12:45:29 2010 +1100
s4-samba3sid: the sambaNextRid attribute is actually the previous RID
Not well named .... though same mistake that MS made with rIDNextRid
commit d6f92db456162571e7d9273afe371103da72e6b0
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 12:15:01 2010 +1100
s4-samba3sam: use samba3sid module
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit dd61336165396f8aaccde1320de26bae789fb324
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 12:14:39 2010 +1100
s4-dsdb: added a samba3sid module
This module allocates SIDs using the Samba3 algorithm, for use with
the samba3sam module.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 66f161dee13fc027ea0253abdf40dfb7dc4bffa3
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 10:03:51 2010 +1100
s4-acl: fixed acl.py test to use correct ldif
same problem as sec_descriptor.py
commit 81c0b01585c93472a14e3027a6da0b6d65a2ed7c
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 10:00:35 2010 +1100
s4-secdesc: fixed the sec_descriptor.py test
The test was using a "changetype: add" to try and add a member to a
group, where it should use a "changetype: modify" with a "add: member"
Also fixed the recovery when the test fails part way through (delete
the test users at the start as well as the end)
Nadya, please check!
commit 43a815c67ac7b7406b047b488393fa42617a5884
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 09:31:23 2010 +1100
s4-samba3samtest: use system credentials for creating users
commit 8b8bb15a54a80b8a568f9da955a33ff8336168ee
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 09:30:59 2010 +1100
s4-dsdb: fixed const misuse in acl module
commit baa8793a94a05bd5fde0f2770d9a16959e01b60b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 09:30:31 2010 +1100
s4-dsdb: use dsdb_module_am_system() in acl module
commit 595fad2b34b6f67b130344bc741ff0ddffb0db4f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 09:29:32 2010 +1100
s4-dsdb: allow specification of a SID if we are system
needed for samba3sam test
commit f118f54ee783a97ed2bc5415213f3145710e0b4c
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 09:29:01 2010 +1100
s4-dsdb: added dsdb_module_am_system()
better than each module inventing their own
commit d22a9e5d3bee44ac59922a2a602ad235bf450d5d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 09:28:38 2010 +1100
s4-dsdb: squash some unknown structure warnings
commit 5d6032eb4b3e77240d2eccf7c644d1a30da89c78
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 8 09:00:15 2010 +1100
s4-partition: fixed selection of partitions on exact match
When a search is on the root of a partition on the global catalog,
don't search partitions above that one.
commit 59f314d321bb276ebdf2da3017b6a5d3b79d13e2
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 21:28:03 2010 +1100
s4-scripting: we need to use a base search for the NTDS GUID
now we have nTDSConnections structures we can get more than 1 reply
commit 501dd4a3b51635fd215d6e397b64f264911c7250
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 17:11:51 2009 +0100
s4:dsdb/repl: convert dreplsrv_op_pull_source_send/recv to tevent_req
metze
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 278d2f75baaaab1bb30910f0fd332731b4292a06
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 19:12:45 2010 +1100
s4-smbd: setup the default event contexts for other process models
commit 58032533620dc89dd093f55dabe003ec743f8dff
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 18:38:39 2010 +1100
s4-drs: we need to wrap extended operations in transactions
commit 2d10f3a84197a20fa7a6ff8305a69ac57ddd44e3
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 18:38:16 2010 +1100
s4-dsdb: poke the RID Manager when completely out of RIDs too
commit a65823e33c8fab39ea6dde752662c527bcbf818b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 18:16:14 2010 +1100
s4-dsdb: ensure we will in all the attributes for RID Set
We need to go to the top of the module stack so that all the extra
attributes get filled in
commit 308a4798b8b6acc7f74ce678a7c04f536a3e4737
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 18:15:34 2010 +1100
s4-dsdb: added DSDB_FLAG_TOP_MODULE
This is used when you want the dsdb_module_*() functions to go to the
top of the stack.
commit 5f36f0352e92243aa9f801d69ddc4c4152dfecbc
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 17:32:13 2010 +1100
s4-dsdb: no longer need special invocationID handling for standalone servers
They now work the same way as a DC
commit a7fffe8da0464b25d587e5148207e1a67b930505
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 17:31:23 2010 +1100
s4-provision: do a self join for all server types
We need a machine account so the RID allocation code can work. It
seems better to use the same code paths for a domain controller and
standalone server to avoid testing headaches with little used code.
commit f6cf895951f24a28efb1a2859e066f5568e189b1
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 17:29:40 2010 +1100
s4-schema: added generic attributeID conversion functions
When we get one we haven't seen before, we can work out the right type
automatically in most cases.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f7517e62569b108a79dfba10a6f06ad92c996413
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 17:27:46 2010 +1100
s4-schema: added dsdb_attribute_by_lDAPDisplayName_ldb_val
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit cd65ce8a18b9ea9a8ce2338bc02c1b3e8ee10225
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 17:27:03 2010 +1100
s4-schema: make ldb_val to string comparison safer with nul termination
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ff968e487c9762727d7d2322f3e0fe81b6320cdf
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 17:25:38 2010 +1100
s4-idl: regenerate DRS IDL
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 4c7bf0527a3ffc6c98691f9258cab3add0511129
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 17:25:19 2010 +1100
s4-idl: added some more wellknown attributeIDs
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 3352e5d7bab3822249bbda685dbf7010ebac2681
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Jan 7 06:04:35 2010 +0200
s4/dsdb_schema: Load msDS-IntId value separately when loading from LDB
This way we have consistent behavior when loading from DRSUAPI
and from LDB.
commit 25238110dfc0826c2e533a543d1ca44e1f9e058c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Jan 7 05:08:49 2010 +0200
Revert "s4-schema: Set ATTID in schema cache from "msDS-IntId""
This reverts commit 4e8ad284f5813413fdec8426f11e24570d22549b.
commit 6247a135c68b592d99a8c1594aebe5ca7e716d7c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Jan 7 04:01:14 2010 +0200
s4/schema: Do not assign msDS-IntId value if LDB_CONTROL_RELAX_OID is passed
This way msDS-IntId should not be assigned during provisioning,
which is how Windows works
commit 73838b353aadd221f011e42c1225bcd5cc07dc9d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 12:19:42 2010 +1100
s4-libnet: better error messages in libnet_vampire.c
commit 9871f52bd318b492e6e6ebb525789d7dbc6eac65
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Jan 7 02:47:25 2010 +0200
s4/dsdb_schema: use msDS-IntId value for attribute look-up
commit a44ae10c77b1eb2276b8c098a245b5b4df4607dd
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Jan 7 02:46:25 2010 +0200
s4/dsdb_schema: fetch msDS-IntId value during SCHEMA replication
commit a7b3891fb5e20fd3a5b9cc9df37d70693836c0e0
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Jan 6 23:16:12 2010 +0200
s4/dsdb_schema: GET_UINT32_DS() macro to use supplied default value instead of 0
commit f7756c87bb8bd1eba8d7f92cfbc797db42d3de4a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 10:22:26 2010 +1100
s4-partition: don't ignore errors from other modules
if we get an error code from a lower module, we don't want to ignore
it just because something also succeeded
commit 9672a3d1cc17dd800403a9987602403b8c6e757f
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 10:18:30 2010 +1100
s4-devel: a useful script to setup bin/ and st/ as tmpfs filesystems
this makes building and testing s4 as a developer much faster, if you
have enough memory!
commit 1f25d0a5add1812723dfb93da28bbb80dc5d6757
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 10:12:24 2010 +1100
s4-provision: re-open sam.ldb after creating the schema
This enables the full schema during the rest of the provision, which
means indexing is enabled (along with index error checking, such as
duplicate SIDs)
commit 42f0bdae6952af7e1005b6bf9b4a3c6ecc42d62d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 10:11:30 2010 +1100
s4-provision: RID 1000 is consumed by the machine account
commit fdf12a607d4da368bcbb8d4379b6ea38cbfdbce6
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 10:11:10 2010 +1100
s4-ldb: improve error handling in indexing code
When we get an indexing failure we want a clear error message
commit c4fa4d116264f661d9eaddc6c4e430de476cff83
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 7 10:09:09 2010 +1100
s4-dsdb: improve error messages in schema and pdc_fsmo modules
We want to incorporate the error messages from the modules further
down the stack.
commit ac5d42606270423b409e2cac32550bb6e48b27de
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 20:56:19 2010 +1100
s4-drs: added some debug messages
It is nice to see when a RID Alloc is successful
commit dcbba583d9a7acbbd0086889f3be722121754eae
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 20:55:38 2010 +1100
s4-event: added s4_event_context_set_default()
we're still not weaned off event_context_find()
commit f25409195737e8e9c29495526f6d2f6c58bda037
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 19:35:05 2010 +1100
s4-dsdb: added support for DRSUAPI_EXOP_FSMO_RID_ALLOC
This allocates a RID pool for the client DC when we are the RID Manager
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit b1f97b7e60b68429f0a9c12de9cd1cf24b2d8d35
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 19:34:14 2010 +1100
s4-dsdb: added an extended operation for allocating a new RID pool
This will be called by getncchanges when a client asks for a
DRSUAPI_EXOP_FSMO_RID_ALLOC operation
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 2590b7795d38728f53f795c2b60b32ace9ca5c4b
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 17:18:42 2010 +1100
s4-repl: implement MSG_DREPL_ALLOCATE_RID
When the repl server gets MSG_DREPL_ALLOCATE_RID it contacts the RID
Manager to ask for another RID pool. We use a callback on completion
of the operation to make sure that we don't have two RID allocation
requests in flight at once
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit cc7967b1c0555ba7641fb0248077295521f74943
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 17:16:58 2010 +1100
s4-repl: allow for callbacks when a repl operation completes
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 7a40cacbde0dc707ac2d354bfb335312f420da4b
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 16:47:36 2010 +1100
s4-dsdb: the dsdb ldb modules now need messagiing
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit dc11414f987aa99f286acb1d1ece625d290831f3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 16:47:11 2010 +1100
s4-dsdb: send a message to the drepl task when we need another RID pool
We send the message when the current pool is half gone. We don't wait
for a reply.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 805ab0ef15faf339c4336eb95e09e1bea4b85d5a
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 16:45:34 2010 +1100
s4-messaging: added a new msg type MSG_DREPL_ALLOCATE_RID
This will be used to ask the drepl task for a new RID pool
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 19e515aac7a6e5ce85cfd6905a1cc773277047a9
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 14:54:12 2010 +1100
s4-repl: added request for RID allocation in drepl task
The drepl task now checks to see if our rIDAllocationPool is
exhausted, and if it is then we queue a extended operation
DsGetNCChanges call to ask the RID Manager to give us a new allocation
pool.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 8cd2bedee74ae8dfb3a19f9bdde4a568de4b44cd
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 14:50:41 2010 +1100
s4-dsdb: added dsdb_find_guid_attr_by_dn()
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 37340d5a2e04a194479beb80b96b0bc78df4393a
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 14:50:04 2010 +1100
s4-ridalloc: copy with missing rIDNextRid and rIDAllocationPool
The attributes rIDNextRid and rIDAllocationPool are not replicated, so
their initial value when we first get a RID Set from the RID Manager
is blank.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 45550f83f00f259a64cd70f7b2f741a12ee55854
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 14:48:55 2010 +1100
s4-dsdb: added dsdb_module_set_integer()
This will be used by ridalloc.c
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c12b9ab2f2d26147a0878bbb2a1672892599293e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 11:40:05 2010 +1100
s4-dsdb: clarify who is responsible for each attribute
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit dd8cb3c7ed1e32fa4073c6e38dafc35fe2cb4f72
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 11:38:38 2010 +1100
s4-dsdb: fixed usage of rIDAllocationPool and rIDPreviousAllocationPool
These are very badly named attributes! See the comments in ridalloc.c
for a explanation of what they really seem to mean
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5136438ad612435ceb11e81e4dc316791bdc003e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 10:27:30 2010 +1100
s4-dsdb: implement refresh of RID Set pool for a local RID Manager
when we run out of RIDs in our RID Set pool then grab a new one from
the RID Manager object
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 53d10d139e569f9132193e8f8c268638eab30a0b
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 09:26:17 2010 +1100
s4-provision: don't hard wire the creation of the RID Set object
We now create it automatically in the samldb module when the first
user is created.
The creation of the dns user also had to move to the _modify.ldif as
it now relies on the fSMO role being setup for the RID Manager
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 1053ce529d2ed833edd9343c36f28b4ba788db96
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 09:24:29 2010 +1100
s4-dsdb: implement creation of the RID Set object
when we are the RID Manager we can create our own RID Set object when
the first user is created
commit 439ee5aaaeb9036d2db69d512bcbc7e88f4a601e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 09:23:29 2010 +1100
s4-dsdb: use dsdb_next_callback()
We can't just use the callers callback directly otherwise the
ldb_module_done() is never called on the parent request, as the child
request is passed to the callback.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d0bd6e7ea5a6cc760916acd4f549ac7652c46e05
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 09:21:21 2010 +1100
s4-dsdb: added dsdb_next_callback()
This should be used when you create a sub request and just want the
parent requests callback to be called when done.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e6f14ac2c4f0d1eaae93980b3628250de945e71e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 09:20:35 2010 +1100
s4-dsdb: added dsdb_module_constrainted_update_integer()
This provides a convenient way to update a integer attribute with a
constrained delete/add
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f24011059b8b656eeb32c2724c0350f135dd2309
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 09:19:04 2010 +1100
s4-dsdb: added dsdb_module_reference_dn()
This adds a module callable version of samdb_reference_dn(), which
finds a DN via a reference link
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f137f93e098b23b48d3e7bc9e0bbc46f04b29cbd
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 09:17:19 2010 +1100
s4-dsdb: added dsdb_module_add()
added a ldb add function for modules
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit fcfb5d7b63293a13fa4984c0a4502a682a5a02a9
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jan 6 09:15:35 2010 +1100
s4-provision: allow provision modifies to add records
we need to recognise a changetype of 'add'
commit 226460d543892fcfcb569297bc450648f4fc4f0f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Jan 5 18:23:46 2010 +1100
s4-dsdb: move the RID allocation logic into ridalloc.c
This will end up having the RID Manager logic as well, so all the RID
pool allocation logic is in one spot
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 7f90a05c66df5483e949b109b9018ee70b9c5d27
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Jan 5 17:09:51 2010 +1100
s4-samldb: use RID Set to allocate user/group RIDs
This is the first step towards DRS-friendly RID allocation. We now get
the next rid from the RID Set object
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5eb3b919c59b62065db32e0575fcd1d84a64e3db
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Jan 5 17:08:56 2010 +1100
s4-provision: the DC object itself needs a fixed objectSID
We can't allocate a objectSID until we have rIDSetReferences, but that
is in the DC object, so we have to force the objectSID of the DC
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 2bad107aa1110bd003aaca91c3214fe2c6b07197
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Jan 5 17:07:51 2010 +1100
s4-dsdb: added samdb_rid_set_dn()
This returns the DN of our RID Set object
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit a1362492ab71a8853d2292d55b35e5c90de9448e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Jan 5 15:20:10 2010 +1100
s4-provision: added an initial RID Set
We will allocate RIDs from this set
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit bd6d0e93795589f18894b4e3837970436969fc60
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Jan 5 15:12:16 2010 +1100
s4-ldb: added nice ldif display of 64 bit ranges for RIDs
commit fbc3a0fe6248871d6e8bed6947559c10f762954f
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jan 4 14:13:21 2010 +1100
s4-dsdb: added samdb_reference_dn()
This returns a 'reference' DN, which is a link to a DN, from the
specified object. It is then used by samdb_server_reference_dn() which
returns the serverReference DN, and samdb_rid_manager_dn() which
returns the rIDManagerReference DN.
commit c915bd87185f37f95272b3332aecb470d93a5548
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jan 3 23:08:46 2010 +0100
linked_attributes: Fix missing dependency on util.
commit 339afda877138ebe3869aa971361b88f196ff9d8
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 16 22:36:18 2009 +0100
testprogs: add support for "print" option in win32 spoolss torture test.
Guenther
commit 9185fd0a93e2530c778b7d31f90311f8618b4fb7
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 6 23:15:09 2010 +0100
testprogs: pass down architecture in spoolss test.
Guenther
commit 487a03a1586e478baaadada184836be98c609aa0
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 14 23:54:42 2009 +0100
testprogs: add win32 spoolss testsuite.
Guenther
commit 57be1d07afc2a0725b79327636204a9238ab94aa
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Jan 4 13:01:23 2010 -0800
s4 torture: Add RAW-OPEN-NTCREATEDIR to test error checking for open directories as files
commit 34f0cff0664f1c160ee7442461e9f875e8d8f4dc
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Jan 4 12:57:34 2010 -0800
s3 torture: Prevent smbcli segfault when running smbtorture3 against an smbd with security=share
commit dc689827114c46b3ca2a75082421dc2d98001ce7
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 6 17:29:04 2010 +0100
s3:auth: don't update the bad pw count if pw is among last 2 history entries
This conforms to the behaviour of Windows 2003:
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/security/bpactlck.mspx
This is supposed to fixes Bug #4347 .
Michael
commit 46111dc4e437f9cd4df1dbf2ecfe6a56eaf1ae39
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 6 16:35:44 2010 +0100
s3:auth:check_sam_security: introduce a bool var to control pad_pw_count incrementation
This is a preparatory patch for the last part in fixing bug #4347 .
Michael
commit 017ccd0bda31059f7093f41d1537edd7b5430968
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 5 18:28:48 2010 +0100
s3:passdb: store the plain nt passwords hashes in history, not salted md5
This is in order to be able to do challenge response with the history,
so that this can be checked when an invalid password was entered:
If the given password is wrong but in the history, then the bad password
count should not be updated...
The "lucky" bit here is that the md5 has and the nt hash (md4) both are
16 bytes long.
This is part of the fix for bug #4347 .
Michael
commit 667b6f3322ba97bc2e50067dccda9949bb21eaa0
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 5 16:58:30 2010 +0100
s3:smbd:password_in_history: treat entry with 0 salt as 0 + plain nt hash
This is to introduce a new format of the password history, maintaining backwards
compatibility: The old format was 16 byte hash + 16 byte md5(salt + nt hash).
The new format is 16 zero bytes and 16 bytes nt hash.
This will allow us to respect the last X entries of the nt password history
when deciding whether to increment the bad password count.
This is part of the fix for bug #4347 .
Michael
commit 801edeccc6f529647eaed0dd23728a257cf9479f
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jan 7 14:50:43 2010 +0100
s3: Remove some code that has become unnecessary
The code I just removed was checked in with e5466fffc286a99f as a bug fix for
https://bugzilla.samba.org/show_bug.cgi?id=3319. With the changes to
is_visible_file made with 9e8b8f8c16612 these lines have become unnecessary,
even with "hide unreadable = yes" dead msdfs symlinks show. This is because we
can not stat(2) them and default to showing them.
Why this change? I have a user who wants to use "hide unreadable" on msdfs
links. Because you can't edit acls on symlinks themselves, the user created the
targets as bogus, empty files that just exist as acl placeholders. With the
code in place that this patch removes, we never allow this to work.
Jeremy, please check! :-)
Thanks,
Volker
commit c1ca00047d26ace240fa5f34b428392b5d61e6c3
Author: Günther Deschner <gd at samba.org>
Date: Thu Jan 7 12:05:18 2010 +0100
s3-docs: fix eventlogadm manpage typo.
Guenther
commit 8289b46173eabc316fa218a794122127c81c76f8
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jan 7 11:47:09 2010 +0100
s3: Lock down some srvsvc calls according to what w2k3 seems to do
commit 309473f938d18b9993c2c4f120eeff7b4641985a
Merge: fb5383c69ee52fb5e6d066a43451dc8c806cc795 71a40d7e2c21bf3ac47be3ec57fb091ff420ba9a
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Thu Jan 7 12:34:06 2010 +0200
Merge branch 'master' of git://git.samba.org/samba
commit 7248873b48ac28c40809c949da0e7325ca63aef0
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 6 13:53:10 2010 +0100
s3:auth:check_sam_security: improve calling and logging of pdb_update_sam_account
Log what went wrongl, and also call pdb_update_sam_account inside
become_root/unbecome_root: do the logging outside.
Michael
commit 5ad1b7e0c5aa7c8e0a0d55c2456e9d6354dc9bcc
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 6 13:40:58 2010 +0100
s3:auth:check_sam_security: fix a leading tab/ws mixup
Michael
commit 970317c413eae52af9976e5652362412dd3038e3
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 6 12:36:56 2010 +0100
s3:auth:check_sam_security: create (and use) a common exit point
for use after sam_password_ok() has been called.
Michael
commit de4fb80beec59999dd9ce074d4fff0b310fb08da
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 6 12:32:51 2010 +0100
s3:auth:check_sam_security: null out sampass after it has been stolen.
So that a later talloc_free would not harm. I could have used
talloc_move instead of talloc steal in make_server_info_sam(),
but this would have required a change of the signature.
Michael
commit 36348594505a5e7934d20d3b614f51023ae5740a
Author: Michael Adam <obnox at samba.org>
Date: Mon Jan 4 18:15:24 2010 +0100
s3:auth:sam_password_ok: take username, acct_ctrl and nt/lm hashes, not sampass
This is in preparation to extending check_sam_security to also check
against the password history before updating the bad password count.
This way, sam_password_ok can more easily be reused for that purpose.
Michael
commit c0f404a2e46187424915a073142a0a218b48ec2c
Author: Michael Adam <obnox at samba.org>
Date: Mon Jan 4 15:37:24 2010 +0100
s3:auth: use data_blob_null instead of data_blob(NULL, 0) in sam_password_ok()
This way it is more explicit that there is no allocated data here
that may leak.
Michael
commit 0172587d8d56e1163c27014e1e092580d0158e10
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 30 15:37:23 2009 +0100
s3:auth:sam_password_ok: fix allocation of a data blob.
data_blob(mem_ctx, 16) does not use mem_ctx as a talloc ctx but
copies 16 bytes from mem_ctx into the newly allocated data blob.
This can not have been intentional. A blank uint8_t array of
length 16 is allocated by passing NULL instead of mem_ctx.
And using data_blob_talloc(mem_ctx, NULL, 16) adds the allocated
blank 16 byte array to mem_ctx - so this is what must have been
intended.
Michael
commit 7ac18c743b50b8cd63284326bd648675db63c557
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 30 15:35:50 2009 +0100
s3:auth:sam_password_ok: enhance readability (imho) by adding some pointers
and removing bool variables and several checks.
Michael
commit b5fcb34d6cd20c852208d2b8b785b2870c6d65db
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 30 12:46:22 2009 +0100
s3:check_sam_security: untangle assignment from statement
Michael
commit 53a1ed9b6caa7b8ea2c5b4f1cae6faba19e09708
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 14 20:54:33 2009 +0100
s3: Factor password_in_history() out of check_passwd_history()
commit be05d71b9e3fe3c73ada46f7bb7745bf19633716
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 14 19:29:36 2009 +0100
Simplify E_md5hash a bit
commit 5e2fc28b639a3944c272bbc5664e3da209c81365
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 14 19:18:09 2009 +0100
s3: Simplify pdb_set_plaintext_passwd: pwhistory==NULL can not happen anymore
commit 2a11f3b3d7b4a009ddfa70511ad2ce3b84aa0539
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 14 19:16:58 2009 +0100
s3: Simplify pdb_set_plaintext_passwd: pwHistLen==0 was checked above
commit ec0998ada5eebf5cae63719ef14097639ffef258
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 14 19:12:50 2009 +0100
s3: Add a paranoia check to pdb_set_plaintext_passwd()
commit a3f522202ddc09d444e800ad1da2078975de01c1
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 14 18:50:38 2009 +0100
s3: Simplify pdb_set_plaintext_passwd() by removing a redundant condition
if (current_history_len != pwHistLen) {
if (current_history_len < pwHistLen) {
}
}
The second "if" is a bit pointless here
commit 7633837026d56ee723ffb603c9bd884ff6c69ef3
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 14 18:44:38 2009 +0100
s3: Simplify pdb_set_plaintext_passwd: memcpy deals fine with 0 bytes
commit 864ed92954315600ddcef69b21face95c06224a4
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 14 18:43:03 2009 +0100
s3: Simplify pdb_set_plaintext_passwd by using talloc_zero_array
commit e7290255f5ba1dd913bb3d40e71654cff1cfe4cf
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 14 18:39:19 2009 +0100
s3: Make use of talloc_array in pdb_set_plaintext_passwd()
commit 7ba006430f427a1f28300d29a5c045a552d2382c
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 14 18:24:04 2009 +0100
s3: Simplify pdb_set_plaintext_passwd() a bit
Remove an indentation by the early return in
+ if (pwHistLen == 0) {
+ /* Set the history length to zero. */
+ pdb_set_pw_history(sampass, NULL, 0, PDB_CHANGED);
+ return true;
+ }
commit ca6c1cdd5faa1c2ff067b53f2ad6b811fe9d79bb
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 14 18:13:28 2009 +0100
s3: Simplify pdb_set_plaintext_passwd() slightly
No functional change, this just removes an indentation level by the early
"return True;" in
+ if ((pdb_get_acct_ctrl(sampass) & ACB_NORMAL) == 0) {
+ /*
+ * No password history for non-user accounts
+ */
+ return true;
+ }
Volker
commit 3d8394986a8fc1df599a2496b0677ece354f35b3
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 14 17:51:39 2009 +0100
s3: Fix a typo
commit 147a2c057cfcf459391c67e05ce2d0be561f0382
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 14 17:43:56 2009 +0100
s3: Avoid a memset(, 0, ) call
commit 2fad148b271fe8623299af551d3ae103d85c5d5f
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 5 17:24:17 2010 +0100
s3:pdb_set_pw_history: free the old history before setting the new.
This is not strictly necessary, since this only leaks into the
struct samu, and this is not so long-lived in the code path that
changes the password, but it definitely correct and does not harm.
Michael
commit 71e3de6c9fa50ce0035092da6b1a27017ee1bb56
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 5 18:22:25 2010 +0100
s3:pdb_ldap:init_sam_from_ldap: untangle an assignment from the check
to enhance readability and denbuggability.
Michael
commit 71a40d7e2c21bf3ac47be3ec57fb091ff420ba9a
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Fri Dec 18 15:35:35 2009 -0800
s4/torture: fix small bug in lock test
Cleanup path should unlock, not cancel existing locked range.
commit 655bdb19bd91c43b2c5230927bfa8343a0c8a56a
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Wed Dec 16 14:38:56 2009 -0800
s4/torture: add more lock cancellation tests
* Test the SMB1 behavior when multiple lock ranges are requested, pend,
and then are cancelled. The entire LockingAndX request fails.
commit f5729dbb6e720cb6076ea053f1ad0680259e6b39
Author: Björn Jacke <bj at sernet.de>
Date: Thu Jan 7 00:41:50 2010 +0100
s3:lib/time: remove TIME_T_MIN/MAX defines
we already get them from lib/util/time.h
commit 571ee54b791b93ad46e09ed563ef4a5582dcf0c8
Author: Björn Jacke <bj at sernet.de>
Date: Thu Jan 7 00:40:09 2010 +0100
lib/util: move TIME_T_MIN/MAX defines into header file
commit b3e065e0c672426a473d13c14f43f557c98d9909
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jan 6 23:24:48 2010 +0100
Ñ3:lib/time: replace make_dos_ and put_dos_ functions with those from lib/util/
commit c5f24c3eacf8892270702eeb0e1e037a0a1b4dde
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jan 6 21:32:35 2010 +0100
s3:lib/time: remoce null_mtime() - use null_time()
commit c1c7b6cecb848c35c2cead332483ce117552d6bc
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jan 6 19:31:41 2010 +0100
s3:lib/time: remove unused nt_time_equals
we have nt_time_equal doing the same in lib/util/
commit d5995eec7e5fd487b57b8805095ffbc74796411a
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jan 6 13:11:00 2010 -0800
Second part of the fix for bug #7020 - smbd using 2G memory.
There was a second leak in the processing of the out_data.frag
prs_struct. It needs freeing once the current pdu has been returned
asynchronously.
Jeremy.
commit 3dbe8603d967d9d1b13290ec0f0556c7323a7692
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 6 19:34:33 2010 +0100
s4-smbtorture: add test_ChangeID to RPC-SPOOLSS.
This tests ChangeID consistency between spoolss_GetPrinterData,
spoolss_GetPrinterDataEx and spoolss_GetPrinter (level 0).
Guenther
commit 7568f49134c548c470e99c51e237ad3e225d6488
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 6 19:33:39 2010 +0100
s4-smbtorture: add test_SetPrinter to RPC-SPOOLSS.
Guenther
commit 0457cf915b724e3afd54ab1b5c8b96dcb5b7550a
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 6 17:51:34 2010 +0100
s4-smbtorture: refactor test_GetPrinter in RPC-SPOOLSS.
Guenther
commit e172b219eec72e978b3c754c4767e999b184c0ed
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jan 6 15:32:15 2010 +0100
Ñ3:configure: use gettimeofday check from lib/util/
commit 350db0bf2548bd670ebff4587580ba9ca9212ac8
Author: Björn Jacke <bj at sernet.de>
Date: Sun Dec 13 21:56:28 2009 +0100
vfs_commit: print warning when no fsync support is there
this one was part of an old patch from jpeach.
commit c01f443ebca5e0b6f65fe8b3ab031da51dce2e89
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 6 14:39:43 2010 +0100
tdb: fix standalone 'make installdocs'
metze
commit 0a3a6bb8f910df02cb429fdeacf0ab8d683e0b89
Author: Brian Lu <brian.lu at sun.com>
Date: Thu Dec 17 14:39:09 2009 +0800
tdb: create symbol links to shared libraries see https://bugzilla.samba.org/show_bug.cgi?id=6991 for details
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit eff6022d51f578dfc48f1d66dd8ec1e860dfd7b3
Author: Brian Lu <brian.lu at sun.com>
Date: Thu Dec 17 14:48:59 2009 +0800
talloc: create symbol links to shared libraries see https://bugzilla.samba.org/show_bug.cgi?id=6991 for details
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit f408d58d95f5ac10849742fdcdf7e6160196e8e0
Author: Brian Lu <brian.lu at sun.com>
Date: Thu Dec 17 14:55:57 2009 +0800
tevent: create symbol links to shared libraries see https://bugzilla.samba.org/show_bug.cgi?id=6991 for details
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a2044b9a61d9c8ca66067b286ad9bc01cf0490b9
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Jan 6 13:40:33 2010 +0200
s4: Fix result check for getaddrinfo()
I think this completes commit 50feca550eed7828198b7c0fc5f0e5ddc863313d.
Now result should be handled correctly both for systems that
support EAI_NODATA but returns EAI_NONAME (as my Ubuntu 9.x)
and systems that doesn't support EAI_NODATA at all.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit f6bd654a6c878111f0f0f4d07adb644fc3bbf224
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 5 14:34:00 2010 -0800
Fix bug #7020 - smbd using 2G memory.
When deferring an async pipe writeX and readX transfer
the outstanding request struct onto the conn struct. This
needs freeing after the packet is finally processed.
Jeremy.
commit a08a0ffd37cbf0c87c054a499f549d74598e2db4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jan 3 21:47:36 2010 +0100
s4:SAMLDB LDB module - Fix trailing whitespaces
commit 77ce33c419dc000362a2c532e5c7afc1a013c731
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jan 3 20:36:09 2010 +0100
s4:SAMLDB LDB module - Rework to allow checks for wrong "defaultObjectCategory" attributes
This allows a stricter check for "defaultObjectCategory" attributes which is
performed when the "relax" control isn't specified.
Additional note: As the added comment points out this isn't complete.
And I personally think that moving this at some point to the "objectclass"
module is a better idea to make this fully work (since there we have direct
access to the schema). If someone has a good idea how to do this please inform
me.
Anyway, the SAMLDB module does require some restructure since at the moment it's
very overloaded and therefore a bit a mess. In the meantime I started to work
on a new approach to realise it in a better way.
commit c051008540dd381bb79e39a0c9b6db6aa99a3a6e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jan 3 19:54:53 2010 +0100
s4:schema_load.c - Typo
commit bbf988501352801f88c714a67e5ab2b9d19a7af1
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jan 3 19:53:01 2010 +0100
s4:ldap_schema.py - add an additional check for validity of "defaultObjectCategory"
commit d8ca002a8c7b56712aeaadc19885f70d762ac059
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jan 3 19:43:52 2010 +0100
s4:ldap_schema.py - Move generated attributes check
Make more clear that they're created before the "schemaUpdateNow".
commit d06fb8e02706559e91c6d185427409bb093bb896
Author: Bo Yang <boyang at samba.org>
Date: Wed Jan 6 19:13:59 2010 +0800
s3: List trusted domains from wcache when domain is offline.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 133638c8aea7280d01b5a23150428977e9ff0e11
Author: Bo Yang <boyang at samba.org>
Date: Wed Jan 6 15:05:20 2010 +0800
s3: Make winbindd_cache.c aware of domain offline to avoid unnecessary backend query.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 36493bf2f6634b84c57107bcb86bcbf3e82e80fc
Author: Bo Yang <boyang at samba.org>
Date: Wed Jan 6 12:13:35 2010 +0800
s3: Fix infinite loop in NCACN_IP_TCP asa there is no timeout. Assume lsa_pipe_tcp is ok but network is down, then send request is ok, but select() on writeable fds loops forever since there is no response.
Signed-off-by: Bo Yang <boyang at samba.org>
commit da41f23bdad1ea3a1a49110217cfde3efcde5075
Author: Kai Blin <kai at samba.org>
Date: Tue Jan 5 09:54:04 2010 +0100
s3 net: Fix up a share type translation and translate some more strings
commit 9a9d737070bfde62f2d5a35ad25606da578f9f7e
Author: Kai Blin <kai at samba.org>
Date: Tue Jan 5 09:43:34 2010 +0100
s3 net: Add a few missing gettext calls.
Many many thanks to Adi Roiban from #ubuntu-translators for helping me find
and fix my problems with the translations.
commit 2a66db8f93d18a88a8da7201b131b01c45ace36d
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jan 4 13:27:48 2010 -0800
Fix the merged build. Probably not strictly correct but allows us to "make test".
Jeremy.
commit fb5383c69ee52fb5e6d066a43451dc8c806cc795
Merge: 60d8ab3b7b0bd2c9b633f0380d1fdf5bcf5e2621 a06e5cdb99ddf7abf16486d3837105ec4e0da9ee
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Mon Jan 4 11:24:10 2010 +0200
Merge branch 'master' of git://git.samba.org/samba
commit f04e10f4c0f8dfd3cb0add9f85f3b569b644c5e7
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 23 17:44:40 2009 +0100
s4:dsdb/repl: convert dreplsrv_out_drsuapi_send/recv to tevent_req
metze
commit 1525e59886da66a716a0d90206108b4a4f51dc24
Author: Stefan Metzmacher <metze at sernet.private>
Date: Mon Jan 4 09:27:23 2010 +0100
blackbox/test_export_keytab.sh: correctly remove temporary files
metze
commit 5df8b33ddcccaebef6d899cd07617226c60993a3
Author: Stefan Metzmacher <metze at sernet.private>
Date: Mon Jan 4 09:26:25 2010 +0100
blackbox/test_export_keytab.sh: use VALGRIND for samba4kinit
metze
commit a06e5cdb99ddf7abf16486d3837105ec4e0da9ee
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 4 08:42:49 2010 +0100
s4: Happy New Year 2010
metze
commit 2ed51fbc4c3ff576db31c0258a91dc6347aae670
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 4 08:42:03 2010 +0100
s3: Happy New Year 2010
metze
commit 283a73ca9f1b004513e1cf6fc91265a99501594a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 3 13:55:54 2010 +0100
s3: Trim down smbcontrol a bit
commit ac5b090a414e55eb91f8ee5521c1985eabaa4e03
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 3 12:58:31 2010 +0100
s3: Fix a shadowed variable warning
commit 675d5fe981cb44e94ebbf4885fea0e976d5c038f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 3 12:58:01 2010 +0100
s3: Fix an uninitialized variable warning
commit 37ac16a88f20ef9a4a8d0fdfa1349a16f818696d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 3 13:03:42 2010 +0100
s3: Convert cli_ulogoff to the async API
commit 99f292479f1253c4cb1845461ae9edec8f155133
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 3 18:46:57 2010 +0100
s3: Convert cli_tdis to the async API
commit 41a5149981eb7293a54f0497c3a4f4fc50661157
Author: Volker Lendecke <vl at samba.org>
Date: Sun Dec 20 00:27:34 2009 +0100
s3: Slightly simplify winbindd_dual_ccache_ntlm_auth
data_blob_const can't fail
commit e2f361d05e4ccef71397dd52cf78c6d36bea628e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 2 18:25:13 2010 +0100
s3: Fix some nonempty blank lines
commit 6ada1f250b987ddedfb744b9009be93513b3a5a2
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 2 20:09:31 2010 +0100
libwbclient: Remove a pointless check
We have dereferenced "blobs" before
commit 6edfbbd79b958d7341bf25fc7fa6675cefc4e041
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 2 18:16:30 2010 +0100
s3: Remove some unused code
commit 2d75aa04da365d0fd7a89b7823252de64c852862
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 22 23:31:20 2009 +0100
s3: Convert cli_sesssetup_ntlmssp to the async API
commit 3f25fb567783e2da5d9685e3ee81a0f32c85b416
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 2 18:14:59 2010 +0100
s3: NT_STATUS_MORE_PROCESSING_REQUIRED is a valid sesssetup return value
commit a321dd91a4a3bf79705144b299bee4428c9aa5da
Author: Volker Lendecke <vl at samba.org>
Date: Sun Dec 20 14:47:09 2009 +0100
s3: Convert cli_session_setup_kerberos to the async API
This is still cheated, acquiring the ticket is not async yet, but the SMB
part is
commit 063900ae631ccee1474ffa0ccd19e2e01bb6defd
Author: Volker Lendecke <vl at samba.org>
Date: Wed Dec 30 20:15:33 2009 +0100
s3: Fix a typo
commit a66341b993c74c6db1c064bd48ff52acb704d9c9
Author: Volker Lendecke <vl at samba.org>
Date: Wed Dec 30 20:09:52 2009 +0100
s3: simplify find_root_domain, find_our_domain() never fails
commit 133f023d58de8106d41d59dfc3c22e63a5653701
Author: Volker Lendecke <vl at samba.org>
Date: Wed Dec 30 20:11:36 2009 +0100
s3: Use global_sid_Builtin in find_builtin_domain
commit 92345f49e3f9c18a21f8a0d5b9af86f383476c4c
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 28 18:11:34 2009 +0100
s3: Avoid adding a domain twice
If we found a match with sid==NULL, we ended up adding the domain twice
commit 22a4a000cecb971a16a1303e8b16fb659f5ccdec
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 28 18:03:14 2009 +0100
s3: Make free_domain_list() static
commit 583d192e4715e5fa72041e6ea43dbf6c2a559c36
Author: Volker Lendecke <vl at samba.org>
Date: Wed Dec 30 11:30:13 2009 +0100
s3: Adapt sid_dup_talloc to README.Coding
commit d05e17f875300615c0b8543291e7e021448ddff1
Author: Volker Lendecke <vl at samba.org>
Date: Wed Dec 30 10:25:41 2009 +0100
s3: Introduce domain_is_forest_root() helper function
Hopefully this makes the flag tests a bit more understandable
commit 504754856eed363dde28cdff821c086754deb7f8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 2 16:53:20 2010 +1100
s4-dsdb: force REVISION_ADS for new and updated ACLs in dsdb
w2k8-r2 gives a "schema mismatch" error if the revision is not set to
REVISION_ADS and you replicate the ntsecuritydescriptor using DRS.
Nadya, please check this!
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e809b721e9d1a750c3c1bf48882532714af69e5f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 2 16:51:30 2010 +1100
s4-drs: don't give an error on repsTo delete if add is also specified
w2k8-r2 in dcpromo asks for a delete+add during its initial join.
commit 0bc902ac841ec883fb5a22b1db185d86ae12b114
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 2 12:30:48 2010 +1100
s4-sddl: DRS replication needs REVISION_ADS for SDs
DRS replication with w2k8-r2 fails with a schema mismatch error if we
set the revision to NT4
commit a214ebc3d6c93242837ac2a4a8ccaf36c814b119
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jan 2 02:40:30 2010 +0100
ldb: Fix the standalone ldb build.
commit fef3c910da421e890925e5e61275fc457da87f6e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 2 10:01:11 2010 +1100
libreplace: some systems don't have memmem()
added rep_memmem() and a testsuite
commit 00b39c70f57882a453a8d2e6b0f1f37fd39a2d2a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 2 08:14:52 2010 +1100
s4-dsdb: switched to using RMD_FLAGS instead of DELETED in extended DNs
This allows for more flags in the future
commit cced56736431094db14d07cfe04fd7606541c339
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 30 21:40:17 2009 +1100
s4-kcc: added a preiodic task to remove deleted objects
we check for deleted objects in each partition every 10 minutes, using
onelevel searches
commit 08bad380351e9753adc4330beb06dd2929113cfc
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 30 21:39:24 2009 +1100
s4-dsdb: fixed several memory leaks
need to be careful with those temporary contexts
commit 031460b8a228ced18381ca35379aa4ea02a3f764
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 30 21:38:21 2009 +1100
s4-dsdb: fixed samdb_create_foreign_security_principal() to use the wellknown GUID
This also fixes a memory leak
commit 335af02218fbee7b02cbd1e4e6b40acff288465f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 30 21:36:31 2009 +1100
s4-ldb: fixed valgrind error: ares can be freed by callback
commit 8eaed073a7c60986ecd02c3cc4beb53bd66772c6
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 30 20:05:02 2009 +1100
s4-dsdb: make sure 'whenChanged' is set on modify
We also should preserve (and then replace) whenChanged on delete
commit 9819d280d69e5870d61a177923912eae0c573709
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 30 20:04:17 2009 +1100
s4-dsdb: added dsdb_tombstone_lifetime()
commit 23eb9f49a75f599a78d2f70fb4b864f1e0c6e0a1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 30 18:47:51 2009 +1100
s4-dsdb: allow system to remove deleted objects
This will be used by a periodic job to remove tombstoned objects
commit 1c5a268f34af7fdb4fcbd7f94898a1e76aa142b7
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 30 10:54:03 2009 +1100
s4-ldaptest: need to use MessageElement for modify messages
Without MessageElement() the flags are not set, which is invalid
commit e410a91ff423213feeee52b7357bd95e5f7f4552
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 30 10:53:36 2009 +1100
s4-ldb: show an error string, as well as error message
This makes it easier to track down error mismatches from the test
suite
commit 4eecfc80bc7f305cc6c57ebc2a56f2aa354a522f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 30 10:52:55 2009 +1100
s4-drs: make sure the DNs we put in the db have a extended GUID
commit 6628588dfba353c3d2948d14de2d24edfafc371d
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 30 10:52:14 2009 +1100
s4-dsdb: added dsdb_set_extended_dn_guid()
commit 98d94cca6fdf0f9fbe045fdb213f642244ddc41f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 29 11:41:19 2009 +1100
s4-ldbtest: fixed message element in modify
a flags value of zero is not valid
commit 81e8a18181d3f24ac837ae0295fc2fca927a7ddf
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 29 11:40:30 2009 +1100
s4-ldb: allow modules to override error return values
The samldb module overrides the error code for some returns when
handling primaryGroupID. We need to take the error from the async
callback to allow this to work reliably
commit 302dcd022633a928050c916561a6f640216fb247
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 29 11:39:29 2009 +1100
s4-ldbmodify: show the error code as well as error string
commit 1ab5020ef238d73d23611ef1da22d14c8ab3dbcc
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 29 11:39:05 2009 +1100
s4-ldb: declate ldb_val_to_time()
commit 53e86ac5b27e7e5d13ab671b8ce202bb97b80d3e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 29 11:38:49 2009 +1100
s4-ldb: use safe length limited conversions for int64 and time
commit 708ad42b0b1029a813141d1b1d14c782f7ce6393
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 29 11:38:17 2009 +1100
s4-dsdb: use safe length limiting in string->integer conversion
The ldap.py test suite could trigger a read past the end of the struct
ldb_val buffer
commit c3061794ef4d03d5b26d4a221a93722b3ed08197
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 29 11:37:17 2009 +1100
s4-dsdb: use ldb_val_to_time() instead of ldb_string_to_time()
commit baae6ef9d24a59f794a8cbc9aa0ccdbbeb2ed369
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 29 11:36:37 2009 +1100
s4-ldb: added ldb_val_to_time()
This is intended as a replacement for ldb_string_to_time() for ldb_val
inputs. This ensures it is length limited and includes additional
validity checks
commit e3cf818c277f90df37cab8a2ecbf93e6a92d8cb2
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 28 17:22:40 2009 +1100
s4-drs: sort linked attributes
See MS-DRSR section 4.1.10.5.17 for a description of the sorting
comparison function
commit d48237d547470e064b7f5fb464758e7e9eaae17d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 28 17:22:12 2009 +1100
s4-drs: re-resolve the DN in linked attribute processing
w2k8-r2 sometimes sends the DN with an old target
commit 5dd6e089f136d3ce04127b930da59913704bf083
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 28 17:20:13 2009 +1100
s4-drs: use dsdb_module_rename()
Use the new dsdb_module_rename() for DRS rename handling, instead of
ldb_rename(). This stops us going to the top of the module stack on a
rename.
commit 38160deac4d6f4a8ae22fcedcf55114bc0372f31
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 28 17:19:29 2009 +1100
s4-drs: use dsdb linked attribute parse functions
This makes the code considerably more readable
commit 5e52c7149fb6f4e79541cde719f7f014d8954922
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 28 17:18:14 2009 +1100
s4-dsdb: added parse functions for DRS linked attribute blobs
commit a81dd03917b5ae74b3b5515cbb37cbafaecc5c28
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 28 14:11:37 2009 +1100
s4-drs: set flag to indicate that we do support linked attributes
commit 36f8ece9de5e5bd9f885bba84ac6377c1ed8f7a9
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 22 12:31:42 2009 +1100
s4-ldb: show the error code as well as errstr
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit db3f0e8ec1bfc6d3f27195ee38f53489501e731e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 22 12:21:02 2009 +1100
s4-dsdb: fixed valgrind error in replmd modify
We are using the values from a search result, so we need to steal them
onto the msg before we free the search results
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 9f053d43ded23bb72d4c10162a8c6a211831b068
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:28:04 2009 +1100
s4-drs: don't try to remove backlinks directly
backlinks need to be removed as a side effect of removing the forward
link
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0bf7f952735e848700122c9ced064d211831ba7c
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:27:16 2009 +1100
s4-drs: isRecycled only exists in FL W2K8-R2
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 530503290d029894d3b0f0bc4f3c058752e904fb
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:26:15 2009 +1100
s4-drs: use DSDB_FLAG_OWN_MODULE
We need DRS driven replication changes to update replPropertyMetaData,
so it needs to call into the repl_meta_data module logic
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 9572535940e808d4dd681ee01b04ad589c7e73c9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:25:27 2009 +1100
s4-drs: update comment to refect only forward link in this fn
This function only update forward links
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5b31cb20dd49622fa761fd4ae1869bcc0de0330d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:24:18 2009 +1100
s4-drs: fixed typo for uSNCreated
This broke DRS replication from samba to windows
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 7a39340c8ecf4ac9475ae91f721dc979b19c030d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:23:18 2009 +1100
s4-drs: use dsdb_module_guid_by_dn()
We should not be going to the top of the module stack
commit e3054ce0fe0f8f62d2f5b2a77893e7a1479128bd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:21:55 2009 +1100
s4-drs: cope better with NULL GUIDS from DRS
It is valid to get a NULL GUID over DRS for a deleted forward link. We
need to match by DN if possible when seeing if we should update an
existing link.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 2e114484e5abd658b9a8ae1ecb1af6768bd8fc46
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:19:55 2009 +1100
s4-drs: give an error message in repl_meta_data if we don't get a partition control
commit 0d5d7f58473c989bff4d7f7d65da31f9b037de3a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:18:31 2009 +1100
s4-drs: treat a zero GUID as not present in replmd_add_fix_la
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0c2afdd5a95c247eb8e7ce7d721ac61fb111220c
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:16:35 2009 +1100
s4-drs: update highwatermark after successfully encoding the object
commit ff6dd4a67fe74349a8e54766f2f0f91ded06a742
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:13:59 2009 +1100
s4-drs: send all linked attributes at the end of a replication cycle
This ensures that a link is not seen before the object it points to
commit 5bf257fa9ba32ec31886be34edff35eb41f885d4
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:12:19 2009 +1100
s4-drs: use the extended linearized form for DRS replication
We were sending zero GUIDs. Not good!
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 7653f56bd48859dce2481ef1e7ee885b25bfc709
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:10:41 2009 +1100
s4-drs: implemented sorting functions based on replication flags
I think we probably have more work to do on the sort order, but this
brings us a bit closer.
commit 701148bbe9de178b068d200d086b1c6ba1045c97
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:06:56 2009 +1100
s4-drs: we are doing the sorting for getncchanges in the app code now
the sorting is quite delicate, and easier to get right in the
getncchanges code
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit cb00e443a3c63889f39132e5e954eb0b95804e74
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:05:50 2009 +1100
s4-drs: give a reason when an AddEntry commit fails
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 9f02898080f5a19930d9adfcce3cf4139e3952e9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:01:33 2009 +1100
s4-schema: don't fill in the extended DN with a zero GUID
sometimes windows sends us a zero GUID in a DRS DN.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d4853fed00a9f5e6e5eee5dc1ce0eab3cd9bda37
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 20:59:57 2009 +1100
sd-schema: order DRS classes on the wire in reverse order
windows sends objectclasses in DRS in the opposite order to what LDAP
uses
commit ca5c3a0a02b18787c089c4f32807d4cdf59578df
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 20:59:08 2009 +1100
s4-dsdb: added DSDB_FLAG_OWN_MODULE
This allows you to call dsdb_module_*() functions while including the
current module in the module stack to be used
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e1ffcfc7832768429e2f84ae048476ac0ff8dbba
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 21:03:11 2009 +1100
s4-ldb: added ldb_module_get_ops()
This is needed to support DSDB_FLAG_OWN_MODULE
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit dd33a22f1de513277ed1182f70eb81f16eaab543
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Dec 20 11:53:09 2009 +1100
s4-dsdb: use a common method for finding a link pair
Use ^1 everywhere, to ensure it works for both forward and backward
links
commit 340d7e807b2be7fb5c50a0cddf9378aa9bd929bf
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Dec 20 10:27:03 2009 +1100
s4-drs: fixed the UDV return in getncchanges
We should overwrite an existing entry if found
commit bcc952d19dd5e1731386ccd1d7150e4bc306c60c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Dec 20 00:12:35 2009 +1100
s4-drs: some useful debugging options for getncchanges
Added two debugging parametric options
drs:max object sync =
drs:extra filter =
commit bf8ccd21f1f421f8d76f4882f2c3df8d429413b7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Dec 20 00:10:40 2009 +1100
s4-dsdb: fill in the correct version number of links that come over DRS
commit 5dcb903f26045656372993822debcfbc956827b0
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Dec 19 21:42:40 2009 +1100
s4-dsdb: move checking for single valued links to samba modules
This uses the RELAX control and checking of single valued attributes
in ldb modules to avoid problems with multi-valued links where all
values but one are deleted
commit 3c1259f10eb827de05198a8eaf79a4610d1d41e6
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Dec 19 21:40:55 2009 +1100
s4-dsdb: added dsdb_check_single_valued_link()
This is used in conjunction with the RELAX control, to check for
violations of single value rules for linked attributes
commit 225bcfa4e6ad7efa7596e0324fd3faf1c195f820
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Dec 19 20:59:04 2009 +1100
s4-drs: handle mixtures of old and new style links in getncchanges
We need to send non-upgraded links using the old format
commit 64802c5e2711eec1a0046098955354e5cd978636
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Dec 19 20:55:46 2009 +1100
s4-dsdb: added dsdb_dn_is_upgraded_link_val()
This is used to detect if a link has been stored in the w2k3 extended
format
commit b34db0840de701b4d42918a8da952959a6955453
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Dec 19 20:55:11 2009 +1100
s4-ldb: use the RELAX control to disable single value checking on replace
When using w2k3 linked attributes we are allowed to have multiple
values on a single valued attribute. This happens when the other
values are deleted.
Setting the RELAX control tell the ldb-tdb backend to not check for
this on replace, which means the caller has to check for single valued
violations.
commit 26ec526d02d78fb327fb855ce5ff037cb74af303
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Dec 19 19:57:37 2009 +1100
s4-dsdb: auto-upgrade w2k formatted linked attributes when modified
When any value of a w2k formatted linked attribute is modified,
upgrade the links.
commit fde3f6437369365af7bb72bcff1666bf0ce98948
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Dec 19 12:25:09 2009 +1100
s4-drs: added linked attribute replication to getncchanges
commit beba977213daf5ff4004954e03481e970d1749cb
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Dec 19 12:24:09 2009 +1100
s4-dsdb: ask for REVEAL_INTERNALS in getncchanges
We need this for the linked attribute meta data
commit 809bcfca3d835458010013c0454b16d7f2a9fdf3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Dec 19 12:23:22 2009 +1100
s4-dsdb: minor cleanup in DRS replicated objects code
commit 4dbcab45f263e3ccce1d10d20226d7c3c68cdc9a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 18 20:57:21 2009 +1100
s4-dsdb: store full meta data from DRS for linked attributes
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 312ef9df3cdb6461e051dff4f3fe3d4ae1601392
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 18 20:56:04 2009 +1100
s4-dsdb: add REVEAL_INTERNALS in the search for linked_attributes
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit b1db66a501e3b5e5df66e722ad849a821c667d5b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 18 20:51:37 2009 +1100
s4-dsdb: allow the component name to be specified in dsdb_get_extended_dn_guid()
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f1b6484232cbcd31056b8f905f3b111d0c9069b0
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 18 12:47:31 2009 +1100
s4-dsdb: split RMD_USN into RMD_LOCAL_USN and RMD_ORIGINATING_USN
We need a separate RMD_LOCAL_USN to allow us to tell what attributes
need to be sent in a getncchanges request. Thanks to Metze for
pointing this out.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e4a6f5c8b8de0429578cd09913f1d41d0a1fd82f
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 17 23:50:41 2009 +1100
s4-dsdb: handle links with no backlinks in replmd_delete
commit 5eefff915e0c49cbdbecd764b8e0a2cc15d10d93
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 17 23:02:08 2009 +1100
s4-dsdb: simplify the linked_attributes module
The linked_attributes module only has to deal with renames now, as
other linked attribute updates happen in repl_meta_data. This allows
it to be much simpler.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e9699e9cb9c2a5dc43a85c3d1565e12e0e299038
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 17 23:00:16 2009 +1100
s4-dsdb: do the rename after the modify in replmd_delete
This makes updating the links a bit easier
commit 2b5cd3dba29043281a6ca04398623a7f1972d71b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 17 10:50:34 2009 +1100
s4-dsdb: some backlinks can be processed immediately
backlinks in add and delete operations can be processed immediately,
rather than at the end of a transaction. This can save on backlink
list processing time.
commit 3fe9244796cea72abe8d7ec4ce54acf45ee2da48
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 17 10:42:44 2009 +1100
s4-dsdb: remove linked_attributes_add
This is now handled in the repl_meta_data module
commit 9e96ae8ddc49e146323e9a44d38f725f4a5fb663
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 17 10:42:15 2009 +1100
s4-dsdb: add linked attributes meta_data handling to replmd_add
This also handles the backlink creation that was previously in the
linked_attributes module
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 348bcfc8ff81a95ff2f1785ba4efdaf2e8a193a4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 17:24:21 2009 +1100
s4-dsdb: added replmd_delete, based on Eduardos work
This implements repmld_delete(), which handles the meta_data updates
for an object when deleting. A delete gets mapped to a combination
of a rename followed by a modify request, which has the effect of
moving the object into the Deleted Objects container.
This is based on the code from Eduardo Lima
<eduardoll at gmail.com>. Eduardo's code was modified to take account of
the linked attributes changes that Andrew and I have been working on.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5964acfa741d691c0196f91c0796122ec025f177
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 17:15:23 2009 +1100
s4-dsdb: the linked_attributes module no longer handles deletes
delete handling is now moved into repl_meta_data
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit bd5678f4bebad82f1b949931049bbd8496616777
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 17:14:26 2009 +1100
s4-dsdb: repl_meta_data now replaces objectguid in all cases
We don't want to be debugging two different code paths through the ldb
module stack, so better to always do the work of repl_meta_data, even
for a standalone server
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 3199e02884af3b14348a88e8d8d7bc852212536f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 12:01:51 2009 +1100
s4-dsdb: add a comment on the use of ldb_rename()
We need to use ldb_rename() and not dsdb_module_rename() here as we
need the rename to be processed by the current module
commit c071af337ae0ff11104ca07ea81a7ffa7a8405bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 11:34:58 2009 +1100
s4-dsdb: linked_attributes_modify no longer handles modifies
This functionality has moved into repl_meta_data
commit 3b056061ff7f11e70532b859320638f9c8f5f2c7
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 11:34:33 2009 +1100
s4-dsdb: added support for backlinks in repl_meta_data
backlinks need more careful handling now that we store the additional
meta data for deleted links. It is easier to handle this in
repl_meta_data than in linked_attributes.
Eventually linked_attributes will disappear, with the functionality
moved into repl_meta_data.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit dee6b6fb3db03d371356b6d54d63bfde8ef153ae
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 14 21:54:41 2009 +1100
s4-dsdb: implemeneted replmd_modify_la_replace()
We now have the core code for handling storage of linked attribute
meta-data with local modifies
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d5020e3d917713549cee82d66fbcc78b88cebd6a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 23:49:02 2009 +1100
s4-dsdb: add a TODO item for linked attributes in extended_dn_out
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 41c3c979ffc6b8eee795ec0616115b31f5dfd636
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 23:48:30 2009 +1100
s4-dsdb: add support for storing linked attribute meta data in extended DNs
When in functional levels above w2k, we need to store much richer meta
data about linkked attributes. We also need to keep deleted linked
attributes around to allow the deletion to be propogated to other DCs.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 9085499bbb518bdfa91f9c02103ad058b0b06192
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jan 1 18:32:37 2010 +0100
heimdal_build: Explicitly specify 'YES' when enabling external
libraries.
commit 0c2964035888c3af63f274078c75e195153c46be
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jan 1 18:31:44 2010 +0100
s4/build: Indicate whether Samba4 is being built against the system
Heimdal.
commit de9485784867a7a68207e42fe2a021de01e54904
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 31 16:53:14 2009 +1100
s4-net: fixed finddcs to use empty SID instead of NULL sid (NDR error)
commit 9d6411d9dd2ef4bca247d41708bb6b0d0d14389a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 31 16:52:49 2009 +1100
s4-testpasswords: fixed CONFIG and quoting
Need to pass correct config file to tests
commit 3239872bbcd81a690663f29c8fa20811d66f9dea
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 31 16:52:15 2009 +1100
s4-net: fixed pwsettings command
Don't override user settings with current settings
commit dbd7a62baa56eb2ce082fdcf24e2d8621a4f54ea
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Dec 30 21:59:50 2009 +0100
py/security: Add test for dom_sid.split.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 66f81d18ce08cfb1ed6c347a753b436d3de8ced7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Dec 30 21:48:42 2009 +0100
samba: Fix whitespace, remove pointless 'pass' statement.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit ea5af6e30ca91df3325581f67daab96d688d58fc
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Dec 30 21:46:32 2009 +0100
pyldb: Add dom_sid.split in favor of less powerful dom_sid_to_rid().
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 7effe2d2e30191c067ae1290224d388d96701b53
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Dec 30 21:06:21 2009 +0100
net: Support 'super' commands implemented in Python.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 9e5ef916d41ee5f27616d18e431a9943310d3db6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Dec 30 20:40:11 2009 +0100
net: Move 'newuser' to 'net newuser'
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 73594c248f35a6ebbe391cc46b717aff14d393be
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Dec 30 20:10:34 2009 +0100
net: Fix tests and documentation of setexpiry.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 345b25d059db27f96b00143f7617919233a78ba4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Dec 30 20:00:12 2009 +0100
net: Move setexpiry to 'net setexpiry'
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit b531696a5b878beef9d0177eeb4939160d1a602e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Dec 30 19:53:05 2009 +0100
net: Move 'setpassword' to 'net setpassword'.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 552e65679df23f488ecee2c0d8555f5e0dad9166
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Dec 30 18:01:24 2009 +0100
net: Allow Python commands to return None instead of 0.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 797977ac53466cb3096d1457e8df087eb7ad7598
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Dec 30 17:58:30 2009 +0100
blackbox.passwords: Use convenience variable for net.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 18d221342bf87d4ef4b90d1308b957daea1faddd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Dec 30 14:55:49 2009 +0100
Fix commands in password tests.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 31cc963ba0adc043032ad2113b44a5d599fa07d5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Dec 30 14:55:07 2009 +0100
net: Allow python subcommands to provide commands that are not recognized by
net itself.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 3a271a89b5e6d23089f9391f0cfd42f6631c925a
Author: Jim McDonough <jmcd at samba.org>
Date: Wed Dec 30 15:04:55 2009 -0500
Prevent NULL dereference if group has no members
commit 1aed373b119b98bf767ab02ea14940d017ad3868
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Dec 30 12:39:55 2009 +0100
s4:lib/registry/util.c - Reintroduce "FIXME"s
Jelmer suggested to put them in again.
commit b0dd364cdde107577c74a91f3a65989e97a2c073
Author: André Hentschel <nerv at dawncrow.de>
Date: Mon Dec 28 02:58:40 2009 +0100
net: Add some German translation
Signed-off-by: Kai Blin <kai at samba.org>
commit d5cbfbb93a1718b3031f37a62e350a2cd7ab0bdc
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 16:14:05 2009 +0100
s4:ntlmssp: remove mem_ctx from check_password() callback to match s3
metze
commit f31d144e70c632892ffc7d5177789947e821ad7e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 16:10:57 2009 +0100
s4:ntlmssp_server: always call ntlmssp_server_postauth() and decide there if it's a noop
metze
commit 994d34b949cd68b692ca688f162652c924732e84
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 16:07:16 2009 +0100
s4:ntlmssp_server: don't use a mem_ctx for ntlmssp_server_auth()
metze
commit 3f04b60fb9051f65074316b7704793759f4cbdf7
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 16:02:00 2009 +0100
s4:ntlmssp_server: don't use mem_ctx in auth_ntlmssp_check_password()
metze
commit 7d4692fa43fd84a8251231781fba7f3f9e46c30b
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 15:54:59 2009 +0100
s4:ntlmssp_server: clear session key in ntlmssp_server_preauth()
metze
commit dea456089a7838219e7819bfb04a98e03f3d0002
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 12:58:44 2009 +0100
s4:ntlmssp: use data_blob_null in ntlmssp_server_auth()
metze
commit 60b9434492423d463bd1a43d84b5084dce980ecb
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 13:53:44 2009 +0100
s4:ntlmssp_server: remove unused variable
metze
commit a8e61ac084fc84fe9b1246ab97f0ca34cd9a0e8a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 10:44:19 2009 +0100
s4:auth/ntlmssp: let get_challenge() return a NTSTATUS and fill a stack buffer
metze
commit c9b6ad25004caab854cf6301faa472bb5c890a71
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 11:57:28 2009 +0100
s3:ntlmssp: change get_challange() to return NTSTATUS
metze
commit fbb59b2dcac1ce4d952c17d010ebf3bcfca863cd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Dec 29 16:08:44 2009 +0100
dsdb: Fix dependencies when building against system ldb.
commit 94454ad07393e1fea0b04ede96fe95893ed2d00e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Dec 29 16:08:17 2009 +0100
net: Make arguments available to python commands as sys.argv.
commit 588b3e61812978f73d2708ec37da30726ac8026e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Dec 29 16:07:54 2009 +0100
python: When updating sys.path to include the Samba python path, avoid throwing away the changes made by site.py.
commit e2c4d8281d726716a00cfe2e3e0352777fc8b66f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Dec 28 21:07:25 2009 +0100
s4/net: Allow options before arguments for Python commands.
commit 433f58f5a7490ba470dddc55e37325bb73cdba5c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Dec 28 20:37:48 2009 +0100
s4/net: Pass all arguments through to the Python commands.
commit e60a40e287a1febdab98cc6cf81a80a8cb6bcfb2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Dec 28 16:48:07 2009 +0100
s4/net: Add domainlevel subcommand.
commit 027f6ada63b34b5277fa73e5ffa6e436041d9ffb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Dec 28 16:06:04 2009 +0100
s4/net: Use d_printf consistently when reporting errors.
commit 732a7630e9db2578c3a46d0836aaf602e1d5c604
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Dec 28 16:05:04 2009 +0100
Use CommandError exception to deal with problems during net commands.
commit eaf4a9afb24f2cc3cd1a268dda4ad37637821f9d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Dec 28 16:04:19 2009 +0100
s4/net: Make pwsettings a net subcommand.
commit 8c19cd2dea470b5f4a981bfbd4b9e33c11bfde39
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Dec 28 14:17:25 2009 +0100
netcmd: Add some basic tests.
commit 9e603dfb95f61a7daf2acc80c9c3120ae9ecf98e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Dec 28 13:53:18 2009 +0100
s4/net: Support parsing arguments in Python commands.
commit 9b1a21031187e83de61d999b70a6d1cda7b68444
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Dec 28 01:21:27 2009 +0100
net: Support usage/help of subcommands implemented in Python.
commit c064549e2e29b1a7e100300fa7d851451a90a6a7
Author: Jelmer Vernooij <jelmer at ganieda.vernstok.nl>
Date: Mon Dec 28 01:04:33 2009 +0100
net: Support implementing subcommands in python.
commit 8b68349442a37d987b496344133d309f8af853cb
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 11:50:46 2009 +0100
s4:auth: add auth_get_server_info_principal() prototype to auth.h
metze
commit 27349a68ea11493029bf0dbdf7399b70d7fe6ea4
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 11:40:09 2009 +0100
s4:auth: make auth_challenge_may_be_modified() public
metze
commit af25fb55c0adb8ca0b552ace607ee285023c2652
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 11:51:37 2009 +0100
s4:auth: remove autogenerated auth/ntlm/auth_proto.h
metze
commit 4afb211f4ff8e74965451dd89d6d85b41f5aec52
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Dec 24 22:42:03 2009 +0100
s3:ntlmssp: remove unused p24 variable from ntlmssp_sign_init()
metze
commit 9d5f41ca010650875de8c992a55939bf530144ab
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Dec 24 22:30:42 2009 +0100
s3:ntlmssp: move some indentation in ntlmssp_sign.c
metze
commit 05f7a86a997be45eb23ffc349f79572d570f10ab
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Dec 24 22:07:19 2009 +0100
s3:ntlmssp: remove unused ntlmssp_stored_response()
metze
commit 7cff7d937e067642f76a1785696653ec07a5495c
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Dec 24 22:00:08 2009 +0100
s3:ntlmssp: remove unused ref_count from ntlmssp_state
metze
commit e78558a45b5f149603ac97139f1a1e421833969f
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Dec 24 21:55:50 2009 +0100
s3:ntlmssp: fix whitespace in ntlmssp.h
metze
commit 5541a91dfffa9b615e22bd06b2e0848e484a0fa2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Dec 24 21:52:42 2009 +0100
s3:ntlmssp: fix spelling
metze
commit 5ff127b64102d4d240fafcb92de44e1aaf994a82
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Dec 24 21:51:11 2009 +0100
s3:ntlmssp: rename NTLM_MESSAGE_TYPE into ntlmssp_message_type
metze
commit 8ab62799edc0f445350de73f0e8c9e2ee9ebe168
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Dec 24 21:47:53 2009 +0100
s4:ntlmssp: fix whitespaces in ntlmssp.h
metze
commit e5fbff096373cf493f41ba2db921c14a884baf6a
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 28 23:35:25 2009 +0100
s3: Check for lp_winbind_trusted_domains_only in wb_gettoken()
This avoids one walk of the domain list
commit c0289d63c39401e9555d4852ac74043d70a085f3
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 28 23:14:43 2009 +0100
s3: Move a lp_winbind_trusted_domains_only() check to wb_getgrsid()
winbindd_getgrgid was not protected by this.
commit b8fcba9cb8f508ffd97f00179dafa4537342c9c0
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 28 15:51:36 2009 +0100
s3: Pass netr_DomainTrustList instead of names and sids through (*trusted_domains)
commit 0aa8946ce08bd50ecf30349894c311efd646492a
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 28 15:27:42 2009 +0100
s3: Simplify winbindd_ads.c:trusted_domains()
No real code change, this just removes an indentation by turning
if ( NT_STATUS_IS_OK(result) && trusts.count) {
into
if (!NT_STATUS_IS_OK(result)) {
return result;
}
if (trusts.count == 0) {
return NT_STATUS_OK;
}
commit 2c49678ce5d9203a0af2fa82961c0ebc59e1488f
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 28 14:56:58 2009 +0100
s3: Remove some unused code
Watch the #if 0 -- we never stored this in the cache anymore
commit d53cfb7675ff6b5f77871cea6931da1d6d605afe
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 28 13:49:01 2009 +0100
s3: Simplify winbindd_list_trusted_domains() slightly
commit 2daa084da4db5a72b1677c4702718bbcb35261f1
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 28 10:57:01 2009 +0100
s3: Simplify "setup_domain_child" slightly
commit 72d93599d95cd8bb57823fd0d4934ca4373d162c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Dec 27 17:30:59 2009 +0100
python: Remove sys.path line rather than updating it when installing to python system path.
commit ff0f8bd9e6abe53805be3019ecb6bf3ed384ea4b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 26 18:00:32 2009 +0100
s3:winbind Make the normal client exit message a bit more understandable
commit 0a6a13dd07908b1c26ef8a57e3e724cb59a41a5a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 26 15:20:22 2009 +0100
s3: Fix a typo found by Matthias Dieter Wallnöfer <mdw at samba.org> -- thanks :-)
commit 7e66145560247168e4879127d46dc13a64b19105
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 24 12:56:09 2009 +0100
s3: Fix a bogus uninitialized variable warning
commit 634d084517652a053587a2f13825a49a67460f12
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 24 12:52:24 2009 +0100
s3: Replace IS_DOMAIN_OFFLINE by a function
commit 50e5f9dc512a7356b16bb68bdd4a80ae9dd436b3
Author: Volker Lendecke <vl at samba.org>
Date: Wed Dec 23 15:22:09 2009 +0100
s3: Fix some nonempty blank lines
commit 03617df24d14f928d445018038ba222cd75ca63e
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 24 12:52:00 2009 +0100
s3: winbindd_cli_state->getgrent_state is no longer used
commit b911a7b2d4b3c679487a72aa12e9c63546c9235a
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 24 12:51:09 2009 +0100
s3: getgrent_state has been replaced by grent_state
commit ef453c63af3d29c428029aa39a5b59b0317c76ce
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Dec 25 14:48:45 2009 +0100
py_net/libnet: Remove C++-style comments, add more error checking, move
initialization of dcerpc subsystem to libnet.
commit 33699bb1be03f0288562c899aa8f3963ff1cc312
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Dec 24 05:50:58 2009 +0200
s4-libnet: Simple test for net.SetPassword() python binding
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 20c7c27322e95ab75ea711a825e593b0adac9114
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Dec 24 05:43:21 2009 +0200
s4-libnet: Python binding for libnet_SetPassword()
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit f03e88fa4bc1101ca9031d697f33e36effb669fd
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Dec 24 04:08:12 2009 +0200
s4-net: Fix 'talloc_free with references ...' error
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 078482ad0efc9c4902601080f146853a1a3494fe
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 23 09:09:37 2009 +0100
s4:auth: change auth_check_password_send/recv to tevent_req
metze
commit 577857d351df3d7b40db4d69afb3d67ee4960fb2
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 22 16:24:44 2009 +0100
s4:gensec: change gensec_update_send/recv to tevent_req
metze
commit 5126b52810628bb8d37a7d7768beb18771c4330f
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 23 11:16:32 2009 +0100
s4:kdc: use the remote and local address from the stream_connection struct
metze
commit 500f55ca92efe0235758b131a33bc1645c0545ac
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 23 11:48:06 2009 +0100
s4:smbd: hold tsocket_addresses on the stream_connection
metze
commit 4e2da423de260468f0457410b0556088f00420d4
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 23 10:19:43 2009 +0100
s4:smb_server: fix mixing socket_address and tsocket_address
metze
commit d3ee0f021b7670404fdcb6171957dbf06ddf0651
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 23 10:43:05 2009 +0100
s4:lib/socket: add socket_get_{remote|local}_addr() to get a tsocket_address instead of a socket_address
metze
commit 445baf53a9c0c65dafd8558c2b3ec877c3c5fdc8
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 23 09:38:21 2009 +0100
s4:lib/socket: add helpers functions to convert between socket_address and tsocket_address
metze
commit 17c804a67593cdb4d8646b5be6b50fddf56b3e27
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 23 19:34:32 2009 +0100
tsocket: only copy the specific part of sockaddr*
This makes sure we fill the unspefic bytes with 0
and have zero termination for sockaddr_un.
metze
commit 4784c8c3bea98592486ca973d57c99671eb68cb2
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 23 19:31:41 2009 +0100
tsocket: allow AF_UNIX sockaddrs smaller than sizeof(sockaddr_un)
This is needed as getpeername() truncates the length to 2 if the
peer socket has no name.
metze
commit 96207912cb4a4073849be95458a4e4e2d54bbb34
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 24 13:51:50 2009 +0100
s3: Remove unused delete_negative_conn_cache()
commit ffab1a23187c720402008513e73d3fb5a17de40a
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 24 13:50:39 2009 +0100
s3: Remove unused flush_negative_conn_cache()
commit 53bf5f0064757ec6bad9cbe7bd8a0b34108fc4d7
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 24 13:47:35 2009 +0100
s3: Remove some unnecessary variables from libsmb/conn_cache.c
commit a3f43e3d86a1445ad775a151dbd9b08c06c7ded9
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 24 13:46:16 2009 +0100
s3: Fix a comment in conn_cache.c
commit 04210986f1cae2cd17984b95b96cfd3561ad49da
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 24 13:40:24 2009 +0100
s3: Fix a 64-bit error
commit daecb747e47884af9107a06cc4f03cabb1ab83aa
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 24 13:36:00 2009 +0100
s3: Remove some pointless SMB_ASSERTs
commit 56f9d18fba6a6b426cb3ea539571cea2111cca46
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 24 13:14:18 2009 +0100
s3: Remove some pointless casts
commit 6dcbb84d485b8a8ccf0c3a70d9f5f7e951aaf1c6
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 23 17:19:22 2009 -0800
Attempt to fix one of the last two bugs with the full Windows ACL support.
When returning an underlying ACL on a directory, normally on a
POSIX system it has no inheritable entries, which breaks the
Windows ACL when a user does a get/set of a Windows ACL on a
POSIX directory with no existing stored Windows ACL from
the Windows ACL editor. What happens is any new entry added
by the user gets set inheritable, but none of the others
entries are (as returned by default). So any new files then
only inherit the single new ACE entry (the one marked inheritable
by the ACL editor).
Fix this by faking up a default 3 element inheritable ACL that
represents what a user creating a POSIX file or directory will
get by default from the smbd code.
Jeremy.
commit 3d85b1ebe5e3484250b6810f1a45c1ba5a4900f7
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 23 17:17:48 2009 -0800
The posix acl version of set_nt_acl() could set the stat_ex
struct in the fsp->fsp_name pointer incorrectly for a directory.
Fix this. Make map_canon_ace_perms() public.
Jeremy.
commit 67d1af438467b9c3a9a13cd8a3dd35cddbf152fc
Author: Simo Sorce <idra at samba.org>
Date: Wed Dec 23 15:17:16 2009 -0500
s4:cleanups More trailing spaces and tabs
commit da27d4e465e682b4f54157f4385c98f9b34dd934
Author: Simo Sorce <idra at samba.org>
Date: Wed Dec 23 15:08:02 2009 -0500
s4:cleanups remove trailing spaces and tabs
commit 29a84670a9fa1fa461e669ac61c35cb3d03c362a
Author: Suresh Jayaraman <sjayaraman at suse.de>
Date: Wed Dec 23 11:41:39 2009 -0500
doc: update mount.cifs man page with nounix option
Change since last post:
- fix build error due to superfluous </para> tag.
- ensure it builds fine.
Also add a section on INODE NUMBERS that discusses inode numbers more
thoroughly and add reference to it in "nounix" and "noserverino"
options.
Thanks to Jeff Layton for explaining those details.
Signed-off-by: Suresh Jayaraman <sjayaraman at suse.de>
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 7e8b042b07f374fae9f57feb7f16c3bcd5abf20c
Author: Simo Sorce <idra at samba.org>
Date: Wed Dec 23 10:33:26 2009 -0500
s4:ldb Fix declaration in the middle of the code
commit 4cc0bb7d04a0f83febec9904eaeca126b6f53ae3
Author: Simo Sorce <idra at samba.org>
Date: Wed Dec 23 10:28:14 2009 -0500
s4: Fix the build
commit 8dc636ad674a11825e9043fc356209bf2e28bcff
Author: Matthieu Patou <mat at matws.net>
Date: Sat Dec 5 17:56:35 2009 +0300
s4: tests controls parsing and using for ldbadd/ldbedit/ldbmodify
commit 3bd4f6792c63fffec66548ae5cfde60e45f865fa
Author: Matthieu Patou <mat at matws.net>
Date: Tue Dec 22 20:44:19 2009 +0300
s4: make ldbadd/ldbmodify/ldbdelete really use the --controls switch
commit 5aa0d97464dd876e64b95cc9b302509430603217
Author: Volker Lendecke <vl at samba.org>
Date: Wed Dec 23 13:10:55 2009 +0100
s3: wbinfo --ping-dc is not cacheable
commit 6dc924fcf3d994e4566d9aab8e5b1b58912ac567
Author: Volker Lendecke <vl at samba.org>
Date: Wed Dec 23 11:48:33 2009 +0100
s3: Remove some unused code
commit 40d4c31999e88689aefe5df230de313a2f45f064
Author: Volker Lendecke <vl at samba.org>
Date: Wed Dec 23 11:39:10 2009 +0100
s3: Remove unused sendto_child()
commit 475d296065d57f9b38b109203b40ed0b47a2ac7e
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 16 21:22:50 2009 +0100
s3-net: use generated krb5.conf in 'net ads testjoin'
Guenther
commit 3b40ec83705f7ea61f4d4b88438493b6c197f222
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 23 10:33:13 2009 +0100
s3-docs: mention -M option and remove nonexisting -G option in pdbedit manpage.
Guenther
commit 802e9328edc55aa56c811db8a01c9a855820e1a1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 22 18:50:55 2009 +1100
s3:ntlmssp: only include ntlmssp.h where actually needed
Andrew Bartlett
commit 5b37cd23bf66ed62e861083d02e9a914f0ffd4c3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 22 18:50:55 2009 +1100
s3:ntlmssp: remove the typedef NTLMSSP_STATE
Andrew Bartlett
commit dee35f793c8f1372b4197f798997dfb1c76a93de
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 22 18:50:55 2009 +1100
s3:ntlmssp: move to C99 integer types in ntlmssp.h
Andrew Bartlett
commit 9b36fa0441d55aa754262e7db31983276d0ff19f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 22 18:50:55 2009 +1100
s3:ntlmssp: rename enum NTLMSSP_ROLE into enum ntlmssp_role
Andrew Bartlett
commit ba2cfceb9647fd37a5dc010eb83cc87494dcdf2b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 22 18:20:02 2009 +1100
libcli/auth Make gd's NDR NTLMSSP parsers helpers common
(but not built in Samba4 for now)
commit 47bee67c054a0d2995ee391054435cbcfdfcd6da
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 22 16:06:17 2009 +0100
s3: Restore correct timeouts for SMB requests
commit 528c150d558fbd239c3d8e6b466879a5a5de76c6
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 22 14:07:52 2009 +0100
s3: Remove a pointless else branch
commit b6f446ca35810f13208ab82ec9720271fb64af44
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 22 13:53:13 2009 +0100
s3: Move smb_splice_chain to smbd/process.c, its only user
commit 585900deb58944f35bdf03c0b8cba3509d5b0076
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 8 16:50:18 2009 +1100
s4:gensec Don't give a warning when Windows client connects with NTLM
We have had the workaround for a long time, but at the time the log
warnings remained.
Andrew Bartlett
commit 0809696dbf3f551c0fbd37154025053b55fa07ee
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Dec 14 20:32:47 2009 +1100
s4:auth Change 'get_challenge' API to be more like Samba3
It is just easier to fill in the known to be 8 byte challenge than
stuff about with allocated pointers.
Andrew Bartlett
commit 383369e8f204f5a02b6c056f276f14f2f9518044
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 22 17:21:06 2009 +1100
s4:auth generate the prototype file in the right place
commit 551ea65c96e3f9a1aa285c86381d93faba6b4e75
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Dec 18 15:30:41 2009 +1100
Samba4 and LDB requires talloc 2.0.1
reported by ewoud at kohlvanwijngaarden.nl
commit 100168dfec533a7afd8f2dd246f1b66b11ad7162
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 21 17:46:32 2009 -0800
Fix bug reported in mangle_hash code (no bugid yet).
Don't change the contents of a const string via a pointer
alias (or if you do, change it back.....).
Jeremy.
commit fd5350de1f6c233b275b463a35eac48f85478337
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Dec 2 11:39:50 2009 -0800
s4 torture: Add RAW-OPLOCK-EXCLUSIVE7 which is similar to BATCH19
commit 43a8b49f836fd22b85c0d028873a234319334076
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Dec 1 17:40:30 2009 -0800
s4 torture: Update raw oplock to use win7 as the baseline for rename oplock break behavior
commit c33988c0404ec57fc595000f6dbb477b04e9346d
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Dec 21 14:48:43 2009 -0800
s4 torture: Be more permissive with share modes for oplock testing
Share modes are tested elsewhere, and there is currently an outstanding
issue about share mode contention for nt-passthrough levels:
http://lists.samba.org/archive/cifs-protocol/2009-December/001227.html
commit fd0c3a226486eae63166a05d3746626f9f833693
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Dec 21 14:38:45 2009 -0800
s4 torture: Do a better job of closing open files in RAW-OPLOCK.
commit 2a9c22798d829d80f5735899e9a178c3fdfdbd1f
Author: Jelmer Vernooij <jelmer at ganieda.vernstok.nl>
Date: Tue Dec 22 01:24:58 2009 +0100
param: Fix build on systems without ldb installed.
commit 5b9e98a3826f294a9a9451adacdf77839d30244d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Dec 20 18:31:27 2009 +0100
provision/pyldb: Avoid linking in static python ldb module.
commit 1d9a243d68539438441a488d09c1200bf22c7462
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Dec 20 18:05:38 2009 +0100
ldb_wrap: Fix compilation when using system ldb.
commit 0110990f01390c80b8db423ba7eed486883219de
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Dec 20 18:01:24 2009 +0100
tdb: Also build and install tdb manpages from standalone tdb.
commit 8b278e6dc11524a93d85d9c804709cef20860873
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Dec 20 17:51:07 2009 +0100
tdb: Fix formatting of API check file.
commit c8e62797eb2b78427c9ecb193c878c646145c32a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Dec 20 17:49:48 2009 +0100
Fix initialisation of TypeObject samba.param.LoadparmService.
Found by Ricardo Jorge <rvelhote at gmail.com>.
commit 9b6b01aab6a6a0ebb34798bb78febb2df17b302d
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 21:50:43 2009 +0100
s3:winbind: Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc
This just does a NULL RPC call through an existing NETLOGON connection. If
someone knows an operation that "just works" and does not return NOT_SUPPORTED,
please tell me :-)
commit 2308ec70a53d3990ea98162bcbcc73326ef63687
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 22:34:55 2009 +0100
s3:winbindd: Fix a brown paper bag bug in wbinfo -t ...
commit 74deee3cc9bea2d1bd0c8a7374f8b1dbbbc4b499
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 21 11:16:38 2009 -0800
Rename reply_doserror() -> reply_force_doserror().
Rewrite all calls to reply_nterror(NT_STATUS_DOS()) to
reply_force_doserror() and update the comment in smbd/error.c
Jeremy.
commit 642101ac237364fd9be209bf56d3224736626446
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 21 11:05:25 2009 -0800
Remove all calls to reply_doserror - turn them into
correct reply_nterror calls. Next rename reply_doserror ->
reply_force_doserror and plumb in when NT_STATUS_DOS is
used.
Jeremy.
commit 714c60e62756169ab9fd4ead442f123c075b3edb
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 21 11:05:11 2009 -0800
Rename 282 -> ERReasnotsupported.
Jeremy.
commit 9a7bed7ae6ec46a848a87b9e9b41e686fffeb26b
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 21 17:30:07 2009 +0100
s3-docs: mention long and undocumented option names in rpcclient manpage.
Guenther
commit 308e1b51874bc7b3fd7a44bec1367f75b8c975f0
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 21 17:18:53 2009 +0100
s3-docs: mention long and undocumented option names in smbcacls manpage.
Guenther
commit 71a5aef4e1e054359f419c5540694d3d8d8ededf
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 21 16:24:31 2009 +0100
s3-docs: mention long and undocumented option names in smbclient manpage.
Guenther
commit 6ffa5df69afbbce4bcf3c26c6068bcd927826ddd
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 21 16:07:42 2009 +0100
s3-docs: mention -O, --stdout in smbget manpage.
Guenther
commit f8686728147eaf60d09c00d98d65902eb7e77902
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 21 16:04:49 2009 +0100
s3-docs: mention long option names in smbtree manpage.
Guenther
commit 722a330013280758c2184c0239810229b38c42f0
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 17 15:51:36 2009 +0100
s3-docs: mention long and undocumented option names in pdbedit manpage.
Guenther
commit 0d412789b8035dfeb28989ba82d677d2ae9b7bd0
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 21 16:04:06 2009 +0100
s3-docs: mention all long option names in samba.entities file.
Guenther
commit d9ca1488a4a0e562ad13207c4b54d029c55be293
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 21 15:41:13 2009 +0100
s3-docs: not working for SuSE anymore...
Guenther
commit e7468fb1297aa53870a4b94fcdb4ddd12f672665
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 15:27:39 2009 +0100
s3: Shrink winbindd_proto.h a bit
commit e1bf189e0065000362de2a3ce65c736bd3d614a6
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 15:11:55 2009 +0100
s3: Fix some nonempty blank lines
commit d534a5be49c562fcfd61b07896ea17ef75b9d4e1
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 15:02:56 2009 +0100
s3: Remove unused get_sam_group_entries
commit 0a130daf74b68ffedb3e169f5a051cdbfa92794b
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 15:01:44 2009 +0100
s3: Remove unused winbindd_dual_getsidaliases
commit 66bcae6064833eb6250e2d4c6e35352a068317fb
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:59:11 2009 +0100
s3: Remove an unused struct definition
commit 9568c762ac59e40d17a2c458c2dc6d248b435113
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:58:21 2009 +0100
s3: Remove unused winbindd_dual_getuserdomgroups
commit 958fdaf5c3ba17969a5110e6b2b08babb9096d7e
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:57:03 2009 +0100
s3: Remove unused winbindd_dual_getdcname
commit 4f434e07e9a695ce789cd81416660baac7cbf48a
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:55:02 2009 +0100
s3: Remove unused winbindd_dual_lookupname
commit 74b1a026d46a3c2b52f57aa854d8053323029605
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:54:15 2009 +0100
s3: Remove unused winbindd_dual_lookupsid
commit c25d9ad73df1d6aa1b5bda9c4644e754ed6d93d0
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:49:48 2009 +0100
s3: Remove unused winbindd_dual_userinfo
commit a8875c5724e736a8272365353dcea8709ae90c72
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:47:57 2009 +0100
s3: Remove some unused dual functions
commit 4b84d7539919253bdaaddebdee3b3561c3f1cefb
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:42:18 2009 +0100
s3: Remove unused do_async
commit 3f98c2c7ab51de028c63443c6308a36af349365e
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:40:09 2009 +0100
s3: Remove unused winbindd_gid2sid_async
commit 93bcc348d230716dfeebbb45ed2c85b7b711c0f9
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:39:36 2009 +0100
s3: Remove unused winbindd_uid2sid_async
commit fb77442c2d96f4a0085256a5d80ebd3dd1fe8b96
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:38:31 2009 +0100
s3: Remove unused winbindd_sid2gid_async
commit d40edae331e84aec63ae451da1a3c9ed3496a840
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:37:54 2009 +0100
s3: Remove unused winbindd_sid2uid_async
commit dfd876e3e85157da3549591ca0d46a416540e115
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:36:24 2009 +0100
s3: Remove unused do_async_domain
commit 2591a524c0661b5dd4ed4e220a8b62cd76c00b41
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:34:15 2009 +0100
s3: Remove unused query_user_async
commit 5156fa8c7453fa69f4ee2d8fea4c5b38e65fc424
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:33:26 2009 +0100
s3: Remove unused winbindd_getsidaliases_async
commit 0c3e3b7ab09eee927f8fbe8cabc1819ddde7c215
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:32:34 2009 +0100
s3: Remove unused winbindd_lookupname_async
commit ebcb28ca73eb17d1dcdc8c5a3f9ffca28ad348fb
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 21 14:31:31 2009 +0100
s3: Remove unused winbindd_lookupsid_async
commit 0c362597c0f933b3612bb17328c0a13b73d72e43
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 23:36:23 2009 +1100
s4-schema: fixed the sorting of schema attributes
another case of unsigned int subtracting breaking sorts. This one
surfaced now as attributeID_id now can be larger than 2^31
commit ec7dc6a619d7fca83a49065c45fdbc0fa93249a0
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 23:19:08 2009 +1100
s4-torture: update uuid_compare test for new behaviour
commit ad35153ef40ade858302dab2877353682604265b
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Dec 19 01:49:31 2009 +0200
s4-drs: Implement constraints on ATTID values in prefixMap
Ref: MS-ADTS, 3.1.1.2.6 ATTRTYP
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 911cefd48be67878dea89f905bc7de1cd3f7c40f
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Dec 19 01:48:41 2009 +0200
s4-tort: Test handling of different ATTID values in prefixMap interface.
It turns out ATTID values are separated in ranges.
Ref: MS-ADTS, 3.1.1.2.6 ATTRTYP
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 35b8808b94808f5d689c2b034ff5c21c739c11a4
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Fri Dec 18 18:00:15 2009 +0200
Adapted acl module to skip checks if as_system control is provided.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 9f6c81874f6e63f30432814e4f443a69c4e04429
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Dec 18 18:15:49 2009 +0200
s4-drs: Save prefix map using LDB_CONTROL_AS_SYSTEM control
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 7685bbbc4ea2ffc522a1582a561477dad2c862b2
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Dec 18 18:14:38 2009 +0200
s4-dsdb-util: Execute ldb_request using LDB_CONTROL_AS_SYSTEM
This function is intended to be used when data needs
to be modified skipping access checks.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 11e2c5777dc1bd8af1f696e04d0712fe43e7a21a
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Dec 18 18:11:48 2009 +0200
s4-dsdb-util: Utility function to process ldb_request in transaction
This function is to be used later for manually crafted
ldb_requests from within dsdb layer
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 516316b107e309a32362b7de9b010b73545480e0
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Dec 18 03:46:39 2009 +0200
s4-schema: Implement msDS-IntId attribute generation
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit a409c0f0372e5a1d81b4acda5c0fc24ccbe68a7e
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Dec 17 23:26:47 2009 +0200
s4-schema: Constraints on msDS-IntId attribute
This attribute can not be modified on existing schema object.
msDS-IntId is not allowed during attribute creation also.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 4e8ad284f5813413fdec8426f11e24570d22549b
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Dec 18 04:08:52 2009 +0200
s4-schema: Set ATTID in schema cache from "msDS-IntId"
According to http://msdn.microsoft.com/en-us/library/cc223224%28PROT.13%29.aspx
some Attributes OIDs may not use prefixMap.
Setting ATTID in Schema Cache here should work, although
this code snippet should be moved in separate function.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 14bac3a3e6a9308d9088559cf8f898b6ac4b4d68
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Dec 18 03:58:29 2009 +0200
Revert "s4-drs: cope with bogus empty attributes from w2k8-r2"
This reverts commit 1287c1d115fb7e8f3954bc05ff65007968403a9c.
Next patch should fix the "not recognized ATTIDs" problem
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit ee48f583b5f7a7acdf4857d69db49dfa36992f4d
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Dec 17 19:27:47 2009 +0200
s4-tort: Tests for "msDS-IntId" attribute implemented
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit c113be8526fe5a4b67410a557201717ee2a385eb
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Dec 14 01:52:18 2009 +0200
s4-tort: Move Schema tests from ldap.py into separate module
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit d9606d64ddad4e593b02310b392cd11ff4114aa1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Dec 18 03:53:13 2009 +0200
s4-drs: Fix bug - prefixMap is not updated when adding new OIDs.
The bug is that prefixMap is updated only memory when
adding new Classs/Attribute that has and OID not in
prefixMap already.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 03a1451bbc663a4dbb102d5e150b92acbe7f9599
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Dec 4 03:58:59 2009 +0200
s4-drstest: Don't remove temp LDB so it can be reviewed if necessary
This test makes temp directory which is not removed
so why not just leave LDB also.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 452fc0d6f44eea0876c3671400d8a8713d00ddce
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 20:58:09 2009 +1100
s4-repl: give a reason why the prepare commit failed
commit 92d75a4bfb1d666950f39aba19fcc4d97c2234ad
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 21 20:57:21 2009 +1100
s4-kcc: don't crash with a NULL ntds connection list
commit 60acce584bf75c54c71813c93b6c607ef32c867d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Dec 20 11:06:23 2009 +1100
s4-repl: only try to replicate for NCs that we are a master for
commit 87f28cc2671cf0211b0f1b286b719c5baf9e8111
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Dec 20 10:27:17 2009 +1100
s4-torture: another unsigned comparison bug
commit ec74ffa8f08d85c55ec7fc592101a21340b9a97d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Dec 20 10:26:21 2009 +1100
s4-schema: a unsigned comparison bug in the schema code
commit d3708109a141f5d6468a89e35176cb56e7a8d821
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Dec 20 10:26:06 2009 +1100
s4-drs: another two unsigned comparison bugs
commit a106fefcfb0cb60ce439884d8cd0c920d2fb193a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Dec 20 10:25:46 2009 +1100
librpc: fixed the GUID_compare() function
When comparing two unsigned values you can't just subtract
them.
Imagine you are comparing: "uint32_t u1" and "uint32_t u2". If you use
"u1 - u2" and u2 is zero, then the signed integer result will depend
on the top bit of u1.
This error occurs in a few places in Samba. For DRS replication it
resulted in corrupt uptodateness vectors.
commit 2a4a159a8443ebaae53f5902a0f5c1f8536a6edd
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Dec 19 23:32:48 2009 +1100
s4-repl: lower debug level of a common message
commit 47560bfda9932efa6b225a223aba662a4d72e637
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Dec 19 20:58:00 2009 +1100
s4-dsdb: don't use a non-constant format string for a printf format
commit a070119de34274e6122461d9cc0e9829b5fb6865
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Dec 19 20:56:41 2009 +1100
s4-dsdb: added DSDB_MODIFY_RELAX flag to the dsdb_module_*() calls
commit 9d56f656d4f593289340a876445785cdfefd3d91
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Dec 19 12:23:42 2009 +1100
s4-dsdb: added dsdb_get_extended_dn_uint64()
commit e89a2db4f24ee70c45e0636e9baa8b6212a27cde
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 18 20:55:23 2009 +1100
s4-dsdb: use varargs expression in dsdb_module_search()
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 2c88ffb8f1f3691d29a88ab263dde5b07f4f400a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 18 20:54:23 2009 +1100
s4-dsdb: added two new dsdb_get_extended_dn_*() helper functions
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit dbda2c2db5a3c0c39134fde1ae58ceadf473a87f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 18 14:45:58 2009 +1100
s4-provision: added a note about where invocationIDs come from
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 882768c8785995acccbdf562be99a68fc0dde33b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 18 13:47:46 2009 +1100
s4-dsdb: give us an invocationID when in standalone mode
To allow us to use the repl_meta_data module in standalone mode (and
thus not have two module stacks to test), we need a invocationID
stored somewhere when standalone. This creates a random one, and
stores it in @SAMBA_DSDB.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 1b5389ab2376f7dbfd3cb2cbd6b9603d2dc0ef9d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Dec 20 23:29:32 2009 +0100
s3: Fix an error case in cli_negprot
commit 4b7a6b1f8ff9ffe984612e1a303473d7a0865c0c
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Dec 20 13:59:03 2009 +0100
tevent: prefix types and defined with tevent_ and TEVENT_
This fixes the build warnings on some build-farm hosts.
metze
commit 590f7c262df9517f64c6faf35e6b7ed7664a0002
Author: Peter Rosin <peda at lysator.liu.se>
Date: Sat Dec 19 19:43:52 2009 +0100
Output %p as unsigned in snprintf replacement.
commit fcbe8f0c80e3848e87d37476a46c7eb553d592c1
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 4 19:22:53 2009 +0100
s4:kdc: setup the local and remote tsocket_address at accept time
metze
commit 4dc958c7c8cff9044b86e59b9ea8165ee1847aad
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 4 19:22:53 2009 +0100
s4:kdc: convert UDP based communication to tdgram_context
metze
commit 32861b926f1beef009d475b5c903a6b703f5bc1e
Author: Jeremy Allison <jra at samba.org>
Date: Fri Dec 18 14:28:22 2009 -0800
Actually explain the twisty paths of tortured logic behind
reply_doserror(), reply_nterror(), and reply_nterror(NT_STATUS_DOS()).
Fix the call in rely_openerror() to actually force a DOS error
for "too many open files".
Jeremy.
commit 0dd8c8a6ffed20be89ff1c407ea1d2876bd30792
Author: Jeremy Allison <jra at samba.org>
Date: Fri Dec 18 14:25:39 2009 -0800
reply_doserror() doesn't force DOS errors on the wire.
Start migrating uses of reply_doserror() to reply_nterror() with the
correct mapping. Eventually we'll get to the point where we can
change reply_doserror() to force a DOS error code on the wire,
and can change calls to reply_nterror(req, NT_STATUS_DOS()) - which *does*
force DOS errors on the wire - to reply_doserror(). Which might
actually make the server code look like it's making sense.
Jeremy.
commit 69d26d25f7f2a46e87337fa50af4ed0a1b11a2b5
Author: Jeremy Allison <jra at samba.org>
Date: Fri Dec 18 14:25:07 2009 -0800
reply_force_nterror() is not used anywhere. Remove it.
Jeremy.
commit daa561d75ba64f8034cd529243a4e71219b01c6f
Author: Zachary Loafman <zachary.loafman at isilon.com>
Date: Thu Dec 17 22:32:58 2009 +0000
s4 torture: Add test to show archive bit behavior with directories
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit 9b869230a724dc00ea21d00a222f4eb9396a385f
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Dec 18 09:35:57 2009 -0800
s4 torture: Fix RAW-STREAMS-DELETE to pass against samba3
commit 60d8ab3b7b0bd2c9b633f0380d1fdf5bcf5e2621
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Fri Dec 18 18:00:15 2009 +0200
Adapted acl module to skip checks if as_system control is provided.
commit ea365af4f597fd1fb596018920040a6af49144ec
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Fri Dec 18 17:57:08 2009 +0200
Added freeing a successful req so it doesnt croud the ldb context
commit 39616c0ea2e2268d7b403bdb5d1a1250c7e44653
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Fri Dec 18 15:40:11 2009 +0200
Added oid for AS_SYSTEM control, used to bypass access checks for system operations.
commit 72d68acbf59aa8531cc132551cc8e8313b7dc3b7
Author: Günther Deschner <gd at samba.org>
Date: Fri Dec 18 13:56:43 2009 +0100
s3-docs: mention pam_winbind.conf(5) manpage in pam_winbind(8) manpage.
Guenther
commit 74816678706b7028fa63a4e552887fcf98322711
Author: Günther Deschner <gd at samba.org>
Date: Fri Dec 18 13:56:01 2009 +0100
s3-docs: add new pam_winbind.conf(5) manpage.
Guenther
commit 19cdcdec096f5d1e3be2707d546715912e3db122
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 18 14:57:57 2009 +1100
s4-dsdb: stop warnings about unknown struct GUID in prototypes
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit cb841c363a3f78689b0bea12d359a4f0855164dd
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 18 13:07:48 2009 +1100
s4-ldb: fixed a valgrind error in ldbtest
we were using msg->dn after the ldb it contained had been freed
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5d7805b07f1417e79325c5fd51c0c621f609b6df
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 17 23:01:13 2009 +1100
s4-dsdb: greatly simplify the subtree_delete module
We can use dsdb_module_search() to make this much simpler
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit b3c69e76ec9dbcffe363e3bdfcd7ed3c76b48220
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 17 23:04:00 2009 +1100
s4-dsdb: declare ldb_dn_update_components()
commit 82bf0d8bc6b4fa43f015b700a97f68f3d479eb36
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 17 23:03:41 2009 +1100
s4-dsdb: added ldb_dn_update_components()
This is used to udpate just the DN components of a ldb_dn, leaving the
other extended fields alone. It is needed to prevent linked attribute
updates from removing other extended components.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit db76e6531825e66d4859106b583d9f7be8ae0a3a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 17 23:50:05 2009 +1100
s4-dsdb: fixed the sort in dsdb_find_nc_root()
commit f392ae5169150dc939e0cea9732a6d0ef0ab860a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 18 11:43:21 2009 +1100
s4-ldb: display msDS-OptionalFeatureGUID as a GUID
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 811b4054f95dca3c61a32b99627394ba40f9c1fc
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 18 11:44:20 2009 +1100
s4-scripts: add a enablerecyclebin script
This can be used to enable the recyclebin on a windows box. Once we
properly implement this feature in samba we will use this to enable
the feature on ourselves as well.
commit 20869a0bf0758936b31dc648db7c1ee435dadc34
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 17 14:20:35 2009 +1100
s4-ldb: canonicalise the message on ldb_add
This canonicalise avoids a problem with an add that has multiple
elements with the same el->name. That is allowed by MS servers, and by
ldb, but it breaks things like the tdb backend and the repl_meta_data
RPMD handling.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 7cb858e1516e7900fddc08d8f69dfa8d003a587f
Author: Brendan Powers <brendan0powers at gmail.com>
Date: Mon Dec 14 20:51:10 2009 -0500
s4-dsdb: Add a test for adding, deleting, and appending a posixAccount objectClass to a user
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 08060068bf9ad7cc5f450e805b0caab30d407a56
Author: Brendan Powers <brendan0powers at gmail.com>
Date: Mon Dec 14 20:47:18 2009 -0500
s4-dsdb: fix handling of AUX classes in objectclass_sort
This is done by sorting the classes by subClass_order, which will
check if the last structural class is valid to add (in
objectclass_do_add instead checking the last class in the list).
They were being sorted by building a class tree, and adding the
classes to the list in that order. However, AUX classes usually don't
fit into that tree, so LDB_ERR_OBJECT_CLASS_VIOLATION was returned. I
have changed the behavior to sort the classes by subClass_order
instead.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 8b889256540e471c399f020871cf18fb4d89e694
Author: Brendan Powers <brendan0powers at gmail.com>
Date: Mon Dec 14 20:40:26 2009 -0500
s4-dsdb: return an error if samAccountName is not specified when creating a user.
Makes sure samAccountName has been specified before adding a
user. This happened while I was trying to add a user with the
posixAccount objectclass. I forgot to specify the user objectClass,
and samba segfaulted. It now returns LDB_ERR_CONSTRAINT_VIOLATION.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit d99084ffdb2c898c18bd4b264d8dd297dd0f1f25
Author: Brendan Powers <brendan0powers at gmail.com>
Date: Mon Dec 14 20:36:44 2009 -0500
s4-dsdb: Move get_last_structural class from descriptor.c to util.c
It can now also be used by objectclass.c
get_last_structural_class now ignores AUX classes, because they are
not structural
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 2ad086e7f6ab39767cd691b059ab5d78b03d55c0
Author: Brendan Powers <brendan0powers at gmail.com>
Date: Mon Dec 14 20:32:28 2009 -0500
s4-dsdb: Add a check to prevent acl_modify from debuging a NULL message
Check to see if there were any messages passed to acl_modify before
debugging the first one. I think I caused this by some malformed
LDIF.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 027cba6a49fa1b7ed81d22d3cac7cc1d469d547a
Author: Brendan Powers <brendan0powers at gmail.com>
Date: Mon Dec 14 20:28:48 2009 -0500
Return NULL in strlower_talloc if src is NULL
Prevents strlower_talloc from segfaulting if you pass it a NULL string.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit c3d1e5ca0c9f8d6c59a6fd4252a6e275b35e06de
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 15 16:41:37 2009 +1100
s4:provision Give a more useful error message in guess_names
The problem here is that as we start to get 'real users' they still
decide to do silly things, like load empty but existing smb.conf
files. Let's give them a better chance to discover what they did
wrong.
Andrew Bartlett
commit 0c1ff3bb09e3fec82c11fc182d6a5a12494caea8
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 17 18:31:44 2009 -0800
Always map EMFILE to ERRDOS, ERRnofids, *NOT* NT_STATUS_TOO_MANY_OPENED_FILES.
This is what W2KR3 does for NTCreateX and openX calls. May be the correct fix
for bug 6837 - "Too many open files" when trying to access large number of files.
Jeremy.
commit f8ab38a8f211a11c7b006ea7cfb19aee526e12a4
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 17 18:31:26 2009 -0800
Vector correctly through reply_openerror() (which uses the same logic).
Jeremy.
commit cfbf62dbfd18465d1a3f699cd22a35f9303f87fe
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Dec 17 13:42:24 2009 -0800
s4 torture: RAW-STREAMS-NAMES Make sure the create time of the streams are different from the base file
commit c3582f923e6adf2f3332540b062a2f994aeb7122
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Dec 17 10:39:51 2009 -0800
s4 torture: Add RAW-STREAMS-RENAME3 to show error when trying to overwrite a stream with an open handle
A normal file overwrite in this case would return NT_STATUS_ACCESS_DENIED,
but if a stream is the target NT_STATUS_INVALID_PARAMETER is returned.
commit f8bb5a60e71bd51971ef05a23037cac4523dee25
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Dec 16 14:31:54 2009 -0800
s4 torture: Parameterize streams delete behavior rather than commenting out the check.
commit f02206d933c2952b9b9674b94290142f269248c5
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Dec 17 13:35:01 2009 -0800
s4 torture: RAW-STREAMS-CREATEDISP Use a normal deny mode
commit 5c13a90abebbd9f23c4e426b2f52c7440aa49586
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Dec 15 17:17:48 2009 -0800
s4 torture: close handle instead of using exit
commit fbf4923cad17b55bd7a647bf2300b28e23b8cdbb
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 17 16:50:35 2009 -0800
Update default with correct value. Add a note about Win7 behavior
here.
Jeremy.
commit 159c1b860aa4d61acf765c849c63e3bee9f57ad3
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 17 16:14:30 2009 -0800
Fix bug #6939 - mangling method = hash breaks long filenames.
We were returning the wrong sense of the bool. must_mangle()
has to return !NT_STATUS_IS_OK, not NT_STATUS_IS_OK.
Jeremy.
commit bbec305135cae9cb6ad95d2de1617e93b18d5659
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Dec 17 19:41:11 2009 +0100
s4:"samdb_set_password" - remove delete instructions
They won't work when the LDB change is done using "samdb_replace"
(consider "samr_password.c" functions).
I think this has been a relict which has been useful before the "password_hash"
module existed. Basically it itself does now the updates.
commit dc4c41124228878d2c29fe2b240b23eb49631fe1
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 17 18:02:53 2009 +0100
s4-smbtorture: skip GetAliasMembership against s4.
It returns NT_STATUS_INTERNAL_DB_CORRUPTION for unknown sids and I could not
figure out why.
Guenther
commit c0883fb4518570c85bf0a33ea0ce244f23c07c62
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Thu Dec 17 17:25:11 2009 +0200
Fixed incorrect checking of PRINCIPAL_SELF permissions.
If an ace has the PRINCIPAL_SELF as trustee, this sid has to be replaced with
the onjectSid of the object being checked. PRINCIPAL_SELF is the way to grant rights
to an account over itself.
commit 619ad0c6ecf88a861ad1a1e1d5564bd1f91855cc
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 17 15:34:22 2009 +0100
s4-smbtorture: add a samr_GetAliasMembership test to RPC-SAMR.
Guenther
commit a23084e1e89a44cf692f6e205263ee53371b80c9
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 17 00:13:23 2009 +0100
tdbtool: avoid using c++ reserved words.
Guenther
commit eb7ff9220db04ebafda2e76d49d69c71ea0d3be9
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 17 11:58:43 2009 +0100
s3: Run RPC-SAMBA3-GETALIASMEMBERSHIP-0 in make test
commit 1d0f364fad4af773a7a3c46e0c237e6e6605f07d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Dec 17 12:43:10 2009 +0100
s4:dsdb/common/util - make NTTIME attribute wrappers use a "const" message
There is no reason to have the message non-const here.
commit e3ee8ffc1b7810d0524095f75c64bfa5571755ff
Author: Jonas Gorski <jonas.gorski+samba at gmail.com>
Date: Thu Dec 17 11:32:21 2009 +0100
s3: Fix bug 6992, make test for getgrouplist cacheable
commit a9689bb755b4fd22a8c2b651aa90b2f74188edcb
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 16 10:33:41 2009 +0100
s4-smbtorture: fix smbtorture after setprinter IDL fixes.
Guenther
commit 31cf2b086a9275955b0480b4b9035dc12671761d
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 16 10:33:13 2009 +0100
s3-spoolss: fix rpcclient after setprinter IDL fixes.
Guenther
commit be95cb6f8357334af08d1502910a429328b85bc5
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 16 10:32:35 2009 +0100
spoolss: more mork on SetPrinterInfo() levels.
Guenther
commit 0708b2a0c91aa3d0c836a3edf21b3cb8fbdcd76c
Author: brendan powers <brendan0powers at gmail.com>
Date: Wed Dec 16 19:01:32 2009 -0500
s4-ntvfs: check if pvfs is NULL in pvfs_logoff
pvfs can be NULL if the directory a share points to does not exist. In
this case, there would be no open files, so it is safe to just return
from the function.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit fae70e1f54fb0bcc6c39caad70ed69a626640381
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 16 20:34:15 2009 +0100
s4:gensec: allow clearing local and remote address by passing NULL
metze
commit c457d54434ce0f475a53d3205d703b9370f7c264
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Dec 16 18:07:07 2009 +0100
s4-gensec: Remove obsolete socket_address vars and fns.
commit 1e5488859a66d25a0dedf0e2f9b545fb7acf1fa2
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Dec 16 16:41:21 2009 +0100
s4-gensec: Replace gensec_get_peer_addr with new tsocket based fn.
commit ac2d31e24cfa24f6674b645b3661a1a2ce9ab060
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Dec 16 16:12:13 2009 +0100
s4-gensec: Replace gensec_set_peer_addr with new tsocket based fn.
commit 8ca88042f0f4dae9f0207ec5de3074f26a2ef9cb
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Dec 16 16:06:55 2009 +0100
s4-gensec: Replace gensec_get_my_addr with new tsocket based fn.
commit 226a9db2d9e0e15c14fb286761bff68253028a0c
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Dec 16 15:52:30 2009 +0100
s4-gensec: Replace gensec_set_my_addr() with new tsocket based fn.
commit 743e6363d54cf45a14de517e297faaa8258caaec
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Dec 16 13:27:20 2009 +0100
s4-gensec: Added remote and local setter/getter using tsocket.
commit 8f4d4a67587655dffe669cdda4ceed108bcfc4e7
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 16 10:19:19 2009 -0800
Final part of the fix for 6837 - "Too many open files" when trying to access large number of files
Win7 needs a min of 16k file handles to work against a
server.
Jeremy.
commit b8c87c43dd9309b3d2fed5d5db5b38057a8e4e90
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 16 10:09:11 2009 -0800
Add helpful debug of DACL for errors on ACL access.
Jeremy.
commit 64e588f868c23bf4c836f4029a285885db5d087e
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 16 10:39:00 2009 +0100
spoolss: add spoolss_DriverInfo7.
Guenther
commit d9f93224bdd2b02a8c96667009e43406b47d4c35
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 16 15:59:04 2009 +0100
s3-pdbedit: allow to call "pdbedit -N description -u user" without specifiyng "-r".
Guenther
commit 8d3fc23157376af5657a09324509abace3c5ee4f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 20:45:40 2009 +1100
s4-dsdb: also mark the relax control non-critical when done
commit 558a38671af5ea05d9ee1d815f0c1c2dab41a80c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 20:45:02 2009 +1100
s4-dsdb: it is a better pattern to mark a control as done than remove it
removing a control means it can't be seen by any other modules, which
is usually not what is wanted. Better to just mark it non-critical,
which means anyone else who wants to look at it can, but if nobody
does its not an error.
commit 41e403adb0fa76c8d15d5d1ef38b195a6da2265c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 20:39:55 2009 +1100
s4-dsdb: when the SD_FLAGS control is set, don't remove nTSecurityDescriptor
commit 934bb28ef3cc9c6589cbb8b75c2a9f8435cc88a3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 20:39:18 2009 +1100
s4-dsdb: don't actually remove the sd_flags control, just mark it non-critical
For controls that need to be seen by more than one module, it is best
to just mark them non-critical when handled, instead of removing
them. Otherwise lower modules can't see them.
In this case we want the operational module to see the SD_FLAGS
control
commit 99557563141a3776b05bebba0436c56e72f9e20f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 17:13:19 2009 +1100
s4-ldb: show the OID of any unhandled critical controls
It isn't very useful just saying that a control is not supported,
without saying which one is the problem
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f8320b3559956b06d3b54e7707986d03aa5084f3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 17:12:28 2009 +1100
s4-ldb: fixed a transaction error on prepare_commit
when a prepare commit fails, we need to give a cancel to all modules,
not a commit!
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e14c72877fa87e0e6ba0f637dd3367160f8d52b1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 14:58:35 2009 +1100
s4-ldb: added --show-deactivated-link command line option
this adds the SHOW_DEACTIVATED_LINK control
commit f9302f9e08d68f6fd974e02668c2bae273981688
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 14:57:32 2009 +1100
ldap: give a debug error when we don't know a control
This interface should really have a proper error interface, but at
least a DEBUG() gives the user a chance of finding the error
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6c2125572cfbcd1878dfe99893ddae37f95d1f6e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 13:41:21 2009 +1100
s4-dsdb: added dsdb_get_deleted_objects_dn()
This is based on the code from Eduardo Lima <eduardoll at gmail.com>, but
uses the new helper functions added in the last couple of commits
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 3c1f18c5e2c3f56d512aa9a8cfab2f5698bafbb0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 13:36:17 2009 +1100
s4-dsdb: added dsdb_find_nc_root()
This is based on the function of the same name from Eduardo Lima
<eduardoll at gmail.com>, but using ldb_dn_compare, to give us
comparisons consistent with what the rest of the code uses.
We will use this function in combination with dsdb_wellknown_dn() to
find the Deleted Objects container for any object.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 7d0fdcae1e68f24a642e1b0fb0069ec54502fbb9
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 13:18:44 2009 +1100
s4-dsdb: added dsdb_wellknown_dn()
This finds a wellknown object given its GUID
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit b7a74aca5e27213d1ff20b584c67a5bda407ce89
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 13:18:10 2009 +1100
libds: added GUIDs for wellknown AD objects
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 8a74633eaa9404ac43788a38c8bf3178b1101b1c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 12:01:16 2009 +1100
s4-dsdb: added a dsdb_module_rename() call
This will be used by the replmd_delete() code
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 9fa1f96172ffd2552a0e6b385b63e7d7dca024e7
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 11:32:57 2009 +1100
s4-dsdb: added dsdb_module_modify()
This is used to do a sync modify in a module
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 4b970c00ae5a0b89dca4664725ab1fa1650490f0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 11:31:30 2009 +1100
s4-dsdb: fixed dsdb_module_dn_by_guid()
needs to ask for the DN in storage format, plus fix compilation errors
commit cd4574ff847439ffe287187971d63a0c31bdc531
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 11:30:03 2009 +1100
s4-dsdb: dsdb_flags should be unsigned
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 57b10b664b49546234b8edc7efb64369460766ff
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 11:28:50 2009 +1100
s4-dsdb: rename dsdb_module_search_handle_flags to dsdb_request_add_controls
This function will be used for non-search controls, like relax
commit 951592687a29e15304d8e203b2b892aa40d7576f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 10:27:32 2009 +1100
s4-dsdb: added dsdb_module_dn_by_guid()
This finds a DN given a GUID, searching below the current module in
the module stack.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 32995e84a2c28d8781a0386906df58b9754af24a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 15 11:01:18 2009 +1100
s4-dsdb: use dsdb_dn_is_deleted_val()
This also moves the check to before we parse the DN, which saves some
unnecessary work
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 152f415ba8c289f85981f672b163816df9d4ad9f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 15 11:00:30 2009 +1100
s4-dsdb: added dsdb_dn_is_deleted_val()
This is used to determine if a extedned DN has the 'DELETED=1'
component
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d31b6360d64eb821da07f4342093d1323db7b4dd
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 16 09:32:10 2009 +1100
s4-ntvfs: try to fix bug 6989
bug 6989 is a rare crash that has occurred in production. My best
guess as to the cause is the talloc_free() not being specific enough
as to which parent needs to be freed.
commit e22e336f41e2196524a5f70e096c61905b7676ae
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Dec 16 09:45:22 2009 +0100
s4:drsuapi/getncchanges.c - Update the list of operational attributes
- Reorder them as specified in "operational.c"
- Add also the lan manager hash password attribute
commit e831e3ee32ba3f1f492f9918d74a302731fa79a9
Author: Jeremy Allison <jra at samba.org>
Date: Tue Dec 15 18:03:47 2009 -0800
Ensure dos_mode can return FILE_ATTRIBUTE_NORMAL, then filter the returned attributes by protocol level.
This makes us consistant in returning DOS attrs across all replies. Tested on OS/2 by Günter Kukkukk.
Jeremy.
commit 308b50a7bb07a7db6d2119f9ff08f33fce922562
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 15 22:26:39 2009 +0100
s4-smbtorture: run GetPrinterDriver2 tests against each printer's driver.
Guenther
commit 1a43d863be50be5bdcb8cde4adf30f7fd627f8ef
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 15 16:52:00 2009 +0100
s4:prog_guide4.txt: remove obsolete comments
metze
commit a88b28850bb1cf5e1e40d49c05054ccd445ac0ed
Author: Andreas Schneider <asn at redhat.com>
Date: Tue Dec 15 16:46:03 2009 +0100
s4: Fixed the programming guide to reflect the current tree.
commit b55d07615be78c582f790a498292a76a77259374
Author: Andreas Schneider <asn at redhat.com>
Date: Tue Dec 15 12:58:40 2009 +0100
s4-kdc: Migrate to tsocket_address.
commit a5bdab8b32768282270315f880f980d99ebb9a2e
Author: Andreas Schneider <asn at redhat.com>
Date: Tue Dec 15 12:58:18 2009 +0100
tsocket: Fixed tsocket_guide.txt asciidoc syntax.
commit e33ae22b87597f31caefd5466bb8e8f240405972
Author: Andreas Schneider <asn at redhat.com>
Date: Tue Dec 15 12:57:35 2009 +0100
tsocket: Fixed documentation for tsocket_address_bsd_sockaddr().
commit ab04dd3be743806bf3c9cf9db4b5326ce0476bf5
Author: Andreas Schneider <asn at redhat.com>
Date: Tue Dec 15 12:56:44 2009 +0100
tsocket: Fixed typo in LGPL header.
commit edbf2caa6f8273227229cd8f1b293e95c6a6122d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 4 19:03:41 2009 +0100
tsocket: add tsocket_address_bsd_sockaddr() and tsocket_address_bsd_from_sockaddr()
metze
commit 4a19adadcc543f289f4f1c70e696153b488f79c6
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 15 17:49:24 2009 +0100
smbtorture4: Add rpc-samba3-getaliasmembership-0
commit 20bcdf85f16216c45ded886217fedc4516cc591c
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 15 14:01:43 2009 +0100
s3: Fix _samr_GetAliasMembership for results with 0 rids
commit 4330efe0f22b7318058867a554222c3c0049f644
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Tue Dec 15 20:29:20 2009 +0200
Removed ldb_modify_ctrl from ldb, implemented as a static in ldap_backend.
commit b85f6f63e6e957970f09acb2aab14e63d2661a22
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Tue Dec 15 09:49:08 2009 -0800
s4 torture: Add new RAW-SEARCH test to explore strange max count behavior
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit 8ba02d9ed9d1f6f330ed1f72d919bfa3869e37f5
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Tue Dec 15 09:22:07 2009 -0800
s4 torture: Update RAW-QFILEINFO to only test info levels that are supported by the server
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit 5930f770d279a5aee2aed805b8732aafd9288c26
Author: Zach Loafman <zachary.loafman at isilon.com>
Date: Mon Dec 14 10:31:02 2009 -0800
s4 torture: Convert RAW-OPEN to suite form
commit d732fb43a6ba6932b966ff382954e52a0489efda
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Dec 14 17:00:43 2009 -0800
s4 torture: Add SHARE_DELETE to create_directory_handle
Tests explicitly checking share modes should open the dir/file
with the share mode they want to test.
commit 7f956869ff7a8e481afb9db0c52a0d74d809867a
Author: Simo Sorce <idra at samba.org>
Date: Tue Dec 15 09:17:25 2009 -0500
Fix release script to work with recent git versions
commit f34607908367cce84fa9d8331c924135583359e6
Author: Brian Lu <brian.lu at sun.com>
Date: Tue Dec 15 12:56:23 2009 +0100
s4:tls: fix the build on Solaris
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 4deaa84ce4a425bfba4b2612d79cc6fa1e00cca5
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Tue Dec 15 12:02:20 2009 +0200
Fixed a problem with duplicate values of allowedAttributesEffective.
commit ef5508bc7864dcd7128cf91017407efede7572d2
Author: Matthieu Patou <mat at matws.net>
Date: Sat Dec 12 19:13:15 2009 +0300
s4: rename res/res2 to something more explicit
commit d2ec67eb53b93c6e70c411ea9e892b4d4dca9ccc
Author: Matthieu Patou <mat at matws.net>
Date: Sat Dec 12 16:28:31 2009 +0300
s4: upgradeprovision handle renaming and knownobjects
commit fb85977d7c62d623997160d0c90fcb0ae83953aa
Author: Matthieu Patou <mat at matws.net>
Date: Sat Dec 12 18:33:53 2009 +0300
s4: upgradeprovision rename also when there is a mismatch on the case of name attribute
Renaming not only helps when name attribute is not here
it also helps when the case is not the good one. So
in order to avoid problem and have as much as possible similar provision
we should use the rename whenever a name difference appear.
commit 335731962092033d90374a785294b2fd55515310
Author: Matthieu Patou <mat at matws.net>
Date: Mon Nov 30 02:37:35 2009 +0300
s4: reorder action to permit old provision to be correctly upgraded
commit f871de7def8dcb180f34b04eff182600607c9f87
Author: Endi Sukma Dewata <edewata at redhat.com>
Date: Tue Dec 8 14:55:16 2009 -0600
s4:provision - Remap conflicting thumbnailPhoto and thumbnailLogo OID's.
commit 0d10efe1fdec2a621bd6580e3e120287c1682d07
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 14 16:48:38 2009 +0100
s3: Allow up to 20480 entries in LookupSids, as mandated by the official IDL
Seen in the wild by putting >1000 users into BUILTIN\Users
commit 9260396bbc9651ca44c6348c5fe1e6ccc464ab13
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 14 21:53:40 2009 +1100
s4-dsdb: added REVEAL_INTERNALS flag to dsdb_module_search_handle_flags()
commit 7f6b524bf6e1a5eeed3df48b791db43cf4052608
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 14 18:02:15 2009 +1100
s4-devel: support vampire_ad.sh with no initial smb.conf
commit b11b22752a9a0d2e88e4857c0e211298d2a7b8a3
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Dec 14 17:54:04 2009 +1100
s4-loadparm: call reload_charcnv() also for a missing smb.conf
bin/net vampire with a missing smb.conf would segfault as the iconv
convenience pointer had not been setup.
commit 7f16da7473c5daa37f07ea20491f0a96debff03a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 11 17:33:32 2009 +1100
s4-dsdb: return a zero guid on error in samdb_result_guid()
commit bb009412d31aaae01575814791ec806ee2117e2f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 11 14:39:33 2009 +1100
heimdal: work around differences between GNU and XSI strerror_r()
This is a fairly ugly workaround, but then again, strerror_r() is a
very ugly mess.
commit 665e57f956b23501fc73ac0b099dc3cdcfc1740b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 23:46:34 2009 +1100
s4-dsdb: use the reveal control to hide/show extended DN components
When reveal is set, then we show deleted linked attributes and all
linkked attribute components. When not set we show a normal extended
DN.
commit e3c2309dcd59e157e9642736182e71fcebc86b38
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 23:45:16 2009 +1100
s4-ldb: added new ldb_dn extended components for linked attributes
These will store linked attribute replication meta data
commit 0d76df995332b468b26dbb5807ad0317e55ad288
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 23:44:44 2009 +1100
s4-ldb: added a function to filter extended components of a ldb_dn
We need to be able to filter out components that should not be exposed
to users
commit 725e25a20604c7032a14bcc8e3c33625e802757a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 23:44:05 2009 +1100
s4-ldb: added a new "reveal" control
This control will allow inspection of internal ldb values, which would
normally be stripped before being presented to users. The first use
will be stripping linked attribute meta data extended components.
commit 56b90acbf6ada4c9e2565770918673419b708479
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 22:45:36 2009 +1100
s4-ldb: sort the linearized extended DN by component name
This will make life easier when handling deleted linked attributes
commit a3b7e84a65e3ddc94edc36fd1b4641849b9ee0be
Author: Brian Lu <brian.lu at sun.com>
Date: Mon Dec 14 11:08:07 2009 +0100
librpc/ndr: avoid comparison_fn_t to fix the openchange build on solaris
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6bc29eced5ced62b6ab636d6e6072aee9c2e6a3f
Author: Matthieu Patou <mat at matws.net>
Date: Sun Dec 13 18:44:02 2009 +0300
add ignore for autogenrated files as they are not used by s3
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 155bdea7b24d70e37ecab9f6cf90ddd993f0dabf
Author: Matthieu Patou <mat at matws.net>
Date: Sun Dec 13 18:41:53 2009 +0300
torture: add new tests for dfsblobs
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 8f8613dcef4a7c1af322c2b5154bf2347d356170
Author: Matthieu Patou <mat at matws.net>
Date: Sun Dec 13 05:03:03 2009 +0300
idl: introduce new file: dfsblobs.idl
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 05effef1aaeac038b930b29862403a09d5a8db8b
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Dec 14 10:52:56 2009 +0100
librpc/ndr: add missing prototypes for relative_short functions
metze
commit e316624ddb8d4e178b03b315bfafd793e6c297c8
Author: Günther Deschner <gd at samba.org>
Date: Sat Dec 12 02:52:41 2009 +0100
spoolss: fix spoolss_PrinterData size calculation.
Currently we were crashing in EnumPrinterDataEx when an e.g. an empty (NULL)
string for a separator file was returned.
Guenther
commit 5ae61cfbc281f346fd3712a975c5796f9cfbc6c2
Author: Günther Deschner <gd at samba.org>
Date: Sat Dec 12 02:51:44 2009 +0100
spoolss: trivial fix for spoolss_FormInfo2 IDL.
Guenther
commit 801fbd05691819ce9afadf4817bf1bf8ccc28a02
Author: Günther Deschner <gd at samba.org>
Date: Sat Dec 12 01:51:13 2009 +0100
s4-smbtorture: check whether a returned buffer size is a multiple of 4 in RPC-SPOOLSS.
This gives a good indication where our IDL (and the s3 spoolss implementation) is still wrong.
Guenther
commit f740bdc47bb53dc6d17e48e1ad9c6f5fdd9ff102
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Dec 14 08:58:50 2009 +0100
s3:docs: Fix 'make manpages3'.
Karolin
commit f8c34c4df14cfb8509fe397d7d016f2468cfc026
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Dec 13 16:13:34 2009 +0100
s4:"samdb_set_password_sid" - clean up created objects correctly
- We should clean up such "helper" objects created in this function to don't
have them around until "mem_ctx" is destroyed
- Remove a from my view pointless comment "This is a password set, not change"
since an external argument "user_change" decides this ("modify" or "(re)set")
commit 1788abba14f6f54bf0bd1ef7a71ed354c3930d00
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Dec 12 17:59:05 2009 +0100
s4:operational LDB module - cosmetic - reorder an attribute list
This matches the default handling order in the "password_hash" module (it's nice
to have this consistent).
commit 24a398b5b4b3693129aa8c060912a82fd0383f9f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 12 16:58:31 2009 +0100
s3: Fix a very embarrassing build failure
commit 678f2ca14b97c2bf0d5ef8fd0f0313425803c9ea
Author: Matthieu Patou <mat at matws.net>
Date: Thu Dec 10 10:04:48 2009 +0300
pidl: Introduce new dirrective: relative_short
relative_short is like relative but instead of having the offset coded on 4 bytes
it's coded on 2 bytes. Such things happen in GET_DFS_REFERAL messages.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit f0054da041b961bde25f63791d3b33cc834bd365
Author: Matthieu Patou <mat at matws.net>
Date: Thu Dec 10 10:04:48 2009 +0300
librpc/ndr: add support for relative_short pointers
relative_short is like relative but instead of having the offset coded on 4 bytes
it's coded on 2 bytes. Such things happen in GET_DFS_REFERAL messages.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 5767b1dacc546baef1db569315ba1309bbb99566
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Dec 11 20:19:16 2009 +0100
s4:utils/oLschema2ldif.c - remove (now) unused variables
commit c69b9b789020ddef20bac37bffac7fdb1e49722e
Author: Björn Jacke <bj at sernet.de>
Date: Fri Dec 11 13:28:31 2009 +0100
s3:docs: document ldap deref
commit 5dd86c7394abb61163af6befda575e4fb8969771
Author: Karolin Seeger <kseeger at samba.org>
Date: Fri Dec 11 11:56:26 2009 +0100
s3:loadparm: Change the "ldap deref" value "defualt" to "auto".
That's an established value. Default is a bit confusing.
Karolin
commit 31321ac868885762fdf5f566e8f79806a4ab4a8a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Dec 11 11:17:37 2009 +0100
s4:libnet/libnet_become_dc - Fix a small glitch in "becomeDC_drsuapi1_add_entry_send"
We shouldn't use the now uninitialised "status" variable anymore.
commit f3205d31d60e54f39abf8ee190d668ba879c6627
Author: Björn Jacke <bj at sernet.de>
Date: Thu Dec 10 23:19:26 2009 +0100
s3: add prototype to fix the build
commit 31202a9dab330ed939b4ea71349c816707adff95
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 10 20:38:32 2009 +0100
s3-selftest: enable RPC-SAMBA3-WINREG.
Very strange we didn't run it before.
Guenther
commit c2618d2c6f8657c30cd0f68777d3f37e64172191
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 9 15:49:46 2009 +0100
s3-rpcclient: allow to set offered size for enumkey command.
Guenther
commit dc71d1c29de521c5034fd7ebf4657610d62c2c3c
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 3 00:35:03 2009 +0100
s4-smbtorture: add more spoolss_EnumPrinterKey tests for local NDR test.
Guenther
commit e92b034d8a830e36a353b4c9dee64af2f1dadc00
Author: Björn Jacke <bj at sernet.de>
Date: Thu Dec 10 22:22:54 2009 +0100
s3: make own defines for ldap deref types
there are too many naming clashes between different ldap libs and ldb libs.
Let's simply make our own defines. The numbers are well standarized. This also
makes the default for "ldap deref" be "default" which means we won't tell the
ldap library what to do. Ð
o by default it's all up to what the server and our
libs think they should to do.
commit 66836445a2d5fde1e82eae7fc2f6a6ee86a6c468
Author: Björn Jacke <bj at sernet.de>
Date: Thu Dec 10 21:00:26 2009 +0100
s3: add LDAP Alias Dereferencing support
Thanks to Dan Cox for initial patch for 3.0. This closes #2350.
commit 835e7d6c98406725dc9dab891d3025b9a11b7eb9
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 10 14:23:49 2009 +0100
spoolss: remove unused spoolss_StringArray2.
Guenther
commit ce33967f4a6a762e97a87513df7d33716db689fb
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 10 14:21:12 2009 +0100
s4-smbtorture: fix and extend enum printerkey test.
Guenther
commit f20effc437970d826c5bd4f047ff47e23e7a1a73
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 10 14:20:22 2009 +0100
s3-spoolss: fix enumprinter key client and server.
Guenther
commit fa413d167bc3ea9aff3dcff97152ef07a1173939
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 10 14:27:33 2009 +0100
s3: re-run make samba3-idl.
Guenther
commit 0ecb7f6ab28d7b7c1844554289f5ae8e876b1dcf
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 10 14:19:28 2009 +0100
spoolss: use spoolss_KeyNames in spoolss_EnumPrinterKey.
Guenther
commit cf2561473f7bd0bcef5c562c1e901d4ad17e6ee3
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 10 14:18:46 2009 +0100
spoolss: add spoolss_KeyNames union.
Guenther
commit 0604c696a05773a439538d88f1b45aa6637766a7
Author: Karolin Seeger <kseeger at samba.org>
Date: Thu Dec 10 14:57:08 2009 +0100
s3:packaging: Fix version detection.
Adapted from 728b01fc03.
Thanks god I was not root! It would have delted /*!
Karolin
commit 56b754e09ad5cd926e1dd0747252b7c359294938
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Thu Dec 10 15:49:53 2009 +0200
Implementation of sDRightsEffective, allowedAttributesEffective and allowedChildClassesEffective.
Behavior as documented in WSPP and tested. Needs optimisation though.
commit 85e79a2a03e8c1c6275363c39b0fa71283214562
Author: Karolin Seeger <kseeger at samba.org>
Date: Thu Dec 10 14:26:58 2009 +0100
s3:packaging: Fix source dir.
Karolin
commit b5011ba2c897fa177f1e22dde075055b9ffd271d
Author: Karolin Seeger <kseeger at samba.org>
Date: Thu Dec 10 14:08:43 2009 +0100
s3:packaging: Fix typo in comment.
Karolin
commit c59372b0b87ca85c1b9061545b6714f00736bb35
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 17:23:00 2009 +1100
s4-ldb: fixed 2 bugs in ldb_dn_set_extended_component()
The first bug was that setting a component twice could cause it to
appear twice in the DN.
The second bug was that using an existing ldb_val from a previous call
of ldb_dn_get_extended_component() as an argument to
ldb_dn_set_extended_component() would cause a valgrind error (as the
array the val pointed into will change).
commit 62dc7f6b2dd7df83740e4761988eb2f87205c73c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 14:48:56 2009 +1100
s4-libcli: GUID_from_ndr_blob() is strict about the blob size
We need to create a blob of the right length
commit c7c97b61aef94d6adc786b3e6eb6e347d1d9382c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 14:36:12 2009 +1100
s4-schema: use GUID_to_ndr_blob()
commit d35b7d0aa4bf66af25c23fe26699b2dc86584e26
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 14:35:42 2009 +1100
s4-schema: use binsearch.h
commit 71943e8858943718affb6a3c0ded2127f07057f0
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 14:35:24 2009 +1100
util: added binsearch.h for binary array searches
This was moved from the schema_query code. It will now be used in more
than one place, so best to make it a library macro. I think there are
quite a few places that could benefit from this.
commit 261ba40e77192d0354d332a9a72eb94f327cb4e6
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 14:33:13 2009 +1100
s4-dsdb: use GUID_to_ndr_blob()
commit 215cc5a9edfbe9b50440266fba72e8f91c64066b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 14:32:47 2009 +1100
s4-ldb: use GUID_to_ndr_blob()
commit 982228605f3bc77901467f1673bd1385808423e0
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 14:32:29 2009 +1100
s4-libnet: use GUID_to_ndr_blob()
commit b4ea96ecd9bab32d06599d872f091576e31e12f8
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 14:32:15 2009 +1100
s4-libcli: use GUID_to_ndr_blob()
commit 33cbe9c6310a7853a0189cd17b0f6c26f208cf16
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 14:31:52 2009 +1100
s4-server: use GUID_to_ndr_blob() in cldap and smb servers
commit 1b20002cc246f6bab6fe2369412bd4c65311785f
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 14:31:13 2009 +1100
libcli: use GUID_to_ndr_blob()
commit d035a600893bcbfeed97d8c65989eee6f067393a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 14:30:46 2009 +1100
s3-ldb: use GUID_to_ndr_blob()
this also fixes an error in NTSTATUS handling
commit 3ce800dcbe097f0683cedf7465f0562c7111444a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 14:29:19 2009 +1100
libndr: added a GUID_to_ndr_blob() helper function
This can be used in many places that deal with GUIDs
commit 2493776f59f13ce20a39c0767bdfe85de6b0bdcd
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 11:27:09 2009 +1100
s4-ldb: simplify ldif handlers using new GUID functions
commit d337cefa92e959a611027307e52118de787ab7f5
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 11:26:36 2009 +1100
s4-dsdb: simplify samdb_result_guid()
commit 56b887e5b94efedd0203550f6bc21d767da5d6c6
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 11:26:18 2009 +1100
s4-dsdb: simplify linked attributes code using GUID functions
commit 81bc561330abfec837bd65ad57c4a5266c237990
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 11:25:44 2009 +1100
s4-dsdb: simplify schema code using new GUID functions
commit f01ea8bf589a876bab14907d1ec6a998c23f87c9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 11:25:13 2009 +1100
s4-smb2: use new GUID function in smb2 negprot
commit 498f2b879a38b7b3888fcb2892a9d073417f7d84
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 11:24:54 2009 +1100
s4-libcli: use new GUID functions in libcli
commit 08e8988bd850de8050cd05aacdcd0e0f78200c7d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 11:23:20 2009 +1100
s4-dsdb: use GUID_from_ndr_blob() to create dsdb_get_extended_dn_guid()
commit effff544265c63c95cf630d426b630bfe4d25aec
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 10 11:22:20 2009 +1100
librpc: split out a separate GUID_from_ndr_blob() function
This will simplify many of the places that deal with NDR formatted
GUIDs
commit d2f13dd6882079f82d45847eda72c75d6de55a21
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 9 15:31:51 2009 +0100
s4-smbtorture: enhance spoolss_EnumPrinterKey torture test.
This demonstrates that s3 still does not have that call implemented correctly.
Guenther
commit c7e3a2dc319cc6504356be7fa7970917404a69b5
Author: Bo Yang <boyang at samba.org>
Date: Thu Dec 10 19:29:24 2009 +0800
s3: check for PAM_RADIO_TYPE.
Signed-off-by: Bo Yang <boyang at samba.org>
commit b386c3311d8c05ccbd075ab86be2ddace335b73b
Author: Bo Yang <boyang at samba.org>
Date: Thu Dec 10 17:20:03 2009 +0800
s3: Fix build on non-linux platform.
Signed-off-by: Bo Yang <boyang at samba.org>
commit bfbccbbc2bcfd3b522176ba381da97b6f679c5fc
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Dec 9 09:15:39 2009 +0100
WHATSNEW4: Samba 3.0 is not up-to-date.
Karolin
commit 0fca76e5775e46dd69153eee93e92b1937df29b5
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 9 15:18:37 2009 +1100
s4-dsdb: added dsdb_functional_level() helper function
commit 732c701c52932419e602adfe726dee89d89549d3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 9 14:39:05 2009 +1100
s4-drs: ensure we fill in ncRoot_dn in getncchanges
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 16eb25b35b1a2bf9d7e96db26c8a379d15adc106
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 9 14:38:25 2009 +1100
s4-drs: use parentGUID attribute in getncchanges
Now that parentGUID is reliable again, use it instead
of building our own
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 4bb2958f16cc6af43d113528407d53f0d78b0486
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 9 14:37:26 2009 +1100
s4-ldb: fixed nested searches inside ldb modules
We need to keep a search count in ltdb to allow for nesting
of searches inside a module
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit e5a478d3a23c1d9bb7ebd8c836a0c0a880839e34
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 9 14:36:50 2009 +1100
s4-ldb: added a missing ltdb_unlock_read()
commit 33976711e349c9b5e2ddcacbba3d87acabfae75a
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 9 14:35:46 2009 +1100
s4-dsdb: use dsdb_module_search_dn in repl_meta_data
This allows us to search below the current module. That
will be important when we start using the results of this
search to get the linked attributes meta data right
commit 707cd30cda11acdcad59cfdb6743eb822f69f5ba
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 9 14:34:13 2009 +1100
s4-dsdb: fixed steal of parentGUID for empty msg
msg->elements could be NULL before we add parentGUID
commit f7723293a07d1b7a4f3476939590fa8db6080d06
Author: Bo Yang <boyang at samba.org>
Date: Thu Dec 10 14:30:13 2009 +0800
s3: Give the user a chance to change password when password will expire soon.
Signed-off-by: Bo Yang <boyang at samba.org>
commit fd5855608f2704fddf887e3424762d344dc93993
Author: Björn Jacke <bj at sernet.de>
Date: Wed Dec 9 02:06:17 2009 +0100
s3: keep subsecond times on cross-filesystem moves and don't follow links
commit b6174662df2d2b1a98ec89237c7cacf02024daef
Author: Björn Jacke <bj at sernet.de>
Date: Wed Dec 9 02:04:23 2009 +0100
s3:configure: check for lutimes, futimes and futimens
commit bd11ec4faa0517cfbd5829012682e05be17e77d6
Merge: 18530985ec301b117096d7548108db827e4999d1 3609c7433d17d78aceb1806340f53f7a2e23c9e8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Dec 9 11:53:45 2009 +1100
Merge commit 'origin/master' into abartlet-devel
commit 18530985ec301b117096d7548108db827e4999d1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Dec 9 11:52:41 2009 +1100
s4: On the way to alpha11
commit 3609c7433d17d78aceb1806340f53f7a2e23c9e8
Author: Björn Jacke <bj at sernet.de>
Date: Tue Dec 8 21:32:51 2009 +0100
s3:doc: make dos filetimes description less contradictory
commit 0d53ce7e072d3dc5208fd752c5d49ed313d1c752
Author: Björn Jacke <bj at sernet.de>
Date: Tue Dec 8 21:13:19 2009 +0100
s3: make sys_posix_fallocate more generic
this is in preparation for other preallocation methods to be introduced.
commit e14fb8f913e35db96d8d7985e505f96150d9ce6b
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 8 14:46:10 2009 +0100
s3-spoolss: use SPOOLSS_ARCHITECTURE_ALL in driver enum server code.
Guenther
commit fb3b0987f7f9d7026701ab8b3034ff6084ae2143
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 2 00:59:21 2009 +0100
spoolss: add more spoolss architectures to IDL.
Guenther
commit 100e249c79f945d7a27e473f2efe71331d0015ce
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 8 14:12:19 2009 +1100
This is alpha10
commit 193e40cd344b53aaaafb40556c20a3b45434bc0c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 8 14:11:45 2009 +1100
A WHATSNEW for alpha10
commit dd650edff2e1e5a22e9ba89a7bda811256a136b1
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 8 12:53:51 2009 +0100
s4:selftest: skip SMB2-ACLS for now
metze
commit 33ecfb05a4f6292cd60c4ceeacc4070bb31abccd
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 8 11:52:25 2009 +0100
s4:selftest: run RAW-STREAMS again
metze
commit d3d2e3988f07aa666cc1b9a0eb8f1f24f84f6952
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 8 11:47:06 2009 +0100
RAW-STREAMS: convert failing tests to torture api
This is needed as we want to mark failing tests as
known failures.
metze
commit 1b6c444557151f5a7d68af99fce1eb197048b47f
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 7 18:55:08 2009 +0100
spoolss: fix spoolss_DriverInfo8 IDL.
found by RPC-SPOOLSS torture teset.
Guenther
commit 5e8e5dfe889a63747ffbd9429d8115e1715f53e6
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 7 19:26:45 2009 +0100
s4-smbtorture: make level 8 the reference for PrinterDriverEnum test.
Guenther
commit 7770d1492bad12e778f9f4e0503dcf00983b2bb1
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 7 16:19:26 2009 +0100
s3-spoolss: cleanup _spoolss_EnumPrinterDrivers().
Guenther
commit 0efbd932b63af0232547571b249fa54de5e1bce2
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 7 16:18:55 2009 +0100
s3-spoolss: remove unused architecture from fill_printer_driver_info1().
Guenther
commit af08962c94b8f91c8a509881dece5720e914bc45
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 3 19:42:22 2009 +0100
s3-spoolss: remove ridiculous amount of duplicate driver code.
Guenther
commit 1c9eba40ae8b329182fc3c4f073d1f18b8bad986
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 3 19:11:53 2009 +0100
s3-spoolss: fully support level 8 drivers.
Guenther
commit 35c50dcce35622b6f2806b9ae7f6ff6b54b6cbbf
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 27 01:49:08 2009 +0100
s3-spoolss: use driver level info8 everywhere in spoolss server internally.
Guenther
commit 35c067782b1dcd354dd825af3e853adf4c74e1d1
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 8 10:21:28 2009 +0100
s4-smbtorture: fill in COMPARE_STRING_ARRAY macro in spoolss driver test.
Guenther
commit c8615b6a0c053c178dfcf9b4e755b896993e397e
Author: Björn Jacke <bj at sernet.de>
Date: Tue Dec 8 10:30:03 2009 +0100
s3: allocate only "new" space, not "old" sparse space in the posix_fallocate path
this makes the posix_fallocate path work analogous to the manual allocate path.
commit ed5c3372de4d0815e482cf29a41729c212552153
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 8 09:19:35 2009 +0100
s4:selftest: use ${selftest_prefix} instead of hardcoded st/
metze
commit 4608e3f9c875cb0fed76480d6b7384f3f297e1e7
Author: Michael Adam <obnox at samba.org>
Date: Mon Dec 7 14:27:28 2009 +0100
packaging(RHEL-CTDB): clean some commented out lines from the files sections
Michael
commit ac702b87bb3467fff9cc77749adf34da92866ea7
Author: Michael Adam <obnox at samba.org>
Date: Mon Dec 7 14:26:03 2009 +0100
packaging(RHEL-CTDB): explicitly list library versions in samba-winbind-32bit
Michael
commit 551758a6d7827a16fc60ab4f9b790abd5b588edf
Author: Michael Adam <obnox at samba.org>
Date: Mon Dec 7 14:25:32 2009 +0100
packaging(RHEL-CTDB): explicitly list library versions in samba-common
Michael
commit b921de7594f82537b611a8de54f1027b19a187ef
Author: Michael Adam <obnox at samba.org>
Date: Mon Dec 7 14:20:24 2009 +0100
packaging(RHEL-CTDB): explicitly list all packaged idmap/nss-info/charset modules
in the samba-common package.
This is to better be able to catch regressions or
build problems.
Michael
commit cb831f36f5df68b4355fa00ffd16ce17300dea78
Author: Michael Adam <obnox at samba.org>
Date: Mon Dec 7 14:16:15 2009 +0100
packaging(RHEL-CTDB): explicitly list all the vfs modules in the main package
Instead of the wildcard list, to better control regressions or
build problems.
Michael
commit 8c37e70d5134e841900fac69d80413d5b2a0334e
Author: Michael Adam <obnox at samba.org>
Date: Mon Dec 7 14:12:05 2009 +0100
packaging(RHEL-CTDB): add some checks to test the built smbd
Test whether some required features have been built into smbd.
Can be extended...
Michael
commit 87de8aec9ecdfffb29a6468ed77141ff1c5fff0c
Author: Michael Adam <obnox at samba.org>
Date: Mon Dec 7 14:11:32 2009 +0100
packaging(RHEL-CTDB): make everything instead of all in the build stage
Michael
commit 52083a85479849043d70d4ec1d699a106d343931
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 8 15:58:45 2009 +1100
s4-selftest: show the test summary at the end of 'make test' in the build farm
This should make it easier to see what tests are failing with what
parameters
commit 29c87ef830c2563c7b7dbcc0287b2e673dc6e1db
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 8 15:15:41 2009 +1100
s4-heimdal: fixed a use-after-free heimdal bug
This caused samba4kinit to segfault on some systems
commit cc9d4d51814054d91afeb17e62ded3087bc864ff
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 8 14:42:08 2009 +1100
s4-drs: use -r to ldbdel in unvampire devel script
This ensures we delete any nTDSConnection objects
commit ff984cdfac3638e75fdc764d45899fbabb17d291
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 8 14:40:20 2009 +1100
s4-ldb: fixed ldbdel with -r (recursive deletion)
We need to delete the deepest DNs first
commit b2d8e1118dd8d7826a60ffc5759d6be30a659338
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 8 10:27:30 2009 +1100
s4:build Bump ldb and tdb required versions.
Hopefully this will ensure we don't get an older version from the system.
commit 1bf825b6f8df8b37816350ad670a5955025eb788
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Dec 7 17:19:30 2009 -0800
s4 torture: Cleanup RAW-ACLS a bit
Don't check SEC_DESC_DACL_AUTO_INHERITED right now
Disable RAW-ACLS-INHERITFLAGS for the short term
Update samba4's knownfail accordingly
commit 978dc61b5682a9a3cc27474f22b94ea9745ad838
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Dec 8 12:37:17 2009 +1100
s4-selftest: don't consider spoolss failures to be an error in s4
commit f1d9382b18fbf4b9428759cdeea3894b7871e236
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Dec 6 01:59:42 2009 +0200
s4/smbstreams: Fix memory use after free.
The bug is that sometimes 'streams' is parent for 'new_name'.
With this said, 'new_name' must be dupped before 'streams'
pointer is freed.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit bf7cc3262e3cbd72a3603d3c648fccfe7ce9829f
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Dec 6 04:05:45 2009 +0200
krb5: Fix leaked hx509_context pointer
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 4653d05fef15944e550fafe7c31961dbf007fd95
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Dec 6 03:18:11 2009 +0200
tdr-test: Fix 'push_charset' test
4 bytes of 'bloe' string are pushed, so we should
check only for the first 4 caracters
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 8efabcc8a5dcd83deed8ef8e17826a1d347e6d83
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Dec 5 21:44:15 2009 +0200
talloc: Fix write behind memory block
If ALWASY_REALLOC is defined and we are to 'shrink' memory block,
memcpy() will write outside memory just allocated.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 105eb95a57c48e0cb3cf69864e24e958ab2b3c59
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Dec 4 13:02:51 2009 -0800
s4 quicktest: exclude raw-streams from quicktest until bug is fixed
commit f717a79eff334835eb33783adcbb261e126185d6
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Dec 4 16:07:35 2009 -0800
s4 torture: Add a new torture:hide_on_access_denied parameter
It appears some newer versions of windows return
NT_STATUS_OBJECT_NAME_NOT_FOUND on a createfile when access is denied
rather than NT_STATUS_ACCESS_DENIED. I'm not sure how this translates
to directory enumeration yet, but for now make this a parameter that
can be checked in the various torture tests.
This also gets RAW-ACLS and SMB2-CREATE passing against win7.
commit f4aa47b5ab265b30a0708b72936e1bc26a793df6
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Aug 6 14:31:01 2009 -0700
s4 torture: win 7 doesn't like the sequential_only flag for directories
Remove it for now
commit d252d23ff15577e2c7049181b5b30692c4bcd6bc
Author: Zack Kirsch <zack.kirsch at isilon.com>
Date: Sat Jul 4 16:16:23 2009 -0700
s4 torture: Port RAW-ACLS tests to SMB2
- The smblsa calls had to be commented out for now and should be fixed
later, but they aren't crucial to the test.
- The first two tests from RAW-ACLS were already ported to
torture_smb2_setinfo() and test_create_acl(). Modifications were
made similar to the RAW-ACLS changes.
- test_sd_get_set() was ported, but does not pass against XP or Vista;
it is not added to the SMB2-ACLS test suite.
- printf -> torture_comment / torture_warning / torture_result
commit 8ceb428c5568bd690cb6811a0618f7866633705b
Author: Zack Kirsch <zack.kirsch at isilon.com>
Date: Wed Jul 1 13:30:12 2009 -0700
s4 torure: Add SMB2 utility functions
- Add a torture_setup_dir() equivalent in SMB2, called smb2_util_setup_dir().
- Add verify_sd() and verify_attrib() helper functions for SMB2.
commit 1724273ab94269783ddbe367c5c9ec2bf690b70b
Author: Zack Kirsch <zack.kirsch at isilon.com>
Date: Thu Jul 2 14:08:41 2009 -0700
s4 torture: RAW-ACL Improvements
- Change RAW-ACLS test suite so each test can be run individually.
- Add verify_sd() and verify_attrib() helper functions.
- Change test_nttrans_create() to work for both files and directories.
- Fix a segfault in test_inheritance() when the test errors out early.
- test_sd_get_set() does not pass against XP or Vista, so it is no longer added
to the RAW-ACLS test suite.
- Minor fixes to test_inheritance().
- New INHERITFLAGS test, which tests the auto inheritance flags a bit more.
- printf -> torture_comment / torture_warning / torture_result
commit 919440a2aa19b8e0eeb6387fea99dd049132b7dd
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Dec 4 13:04:12 2009 -0800
s4 torture: Convert RAW-STREAMS to a set of test suites rather than a monolithic test
commit 6bc8a2bf0a180c86c12f6ce9a587ab869ee91e2d
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Oct 26 17:16:37 2009 -0700
s4 torture: Update RAW-RENAME to pass against win7
commit cd72301efa13f5c77a6d0e3e8f25330fbe62ed41
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Oct 26 17:17:45 2009 -0700
s4 torture: Add a new RAW-STREAMS test to simulate the summary tab
commit 5d66d43667f9356b50dad5555e6b5ed04b7a4fd2
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Oct 21 16:51:17 2009 -0700
s4 torture: Fix the streams create disposition tests to actually return an error on failure
commit 47f5aac39d4a81f37ae0d8656ac75d985b24053b
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Thu Dec 3 18:50:33 2009 -0800
s4/torture: add test for zero byte read contention with byte range locks
commit 995b4800f820a9d4415026e677aaad8de7668b92
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Thu Dec 3 18:32:56 2009 -0800
s4/libcli: add define for exclusive lock mode
commit b4c72e44a83157768ae991e72d824f56a381eab6
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Thu Dec 3 19:32:53 2009 -0800
s4/torture: fix >80 column spacing issues
commit 0c42d65d7cbc24b96f0e9ec700d32da860060174
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Tue Nov 17 12:28:34 2009 -0800
s4/torture: add delete-on-close test for directories
This test opens a directory with delete on close, opens it again,
and checks to make sure that the second open returned with
NT_STATUS_DELETE_PENDING.
commit a24631007ea4dcf25e777070d783608f988a5f94
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 7 14:41:09 2009 -0800
parent_sd can never be null in this function, so don't
check for it.
Jeremy.
commit 12bac42a93cd6afd3cd29460b97bbd61852a9d44
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 7 14:36:12 2009 -0800
Hopefullt final fix for 6802 - acl_xattr.c module: A created folder does not properly inherit permissions from parent and 6938 - No hook exists to check creation rights when using acl_xattr module
Volker was right (dammit :-). It's much easier to catch
this case in the create_file() vfs call instead of trying
to do everything inside open() and mkdir(). Hook all these
functions to gain the desired effect.
Jeremy.
commit 909cd2617fa1c170183664af1fc4253af2dc2f21
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Dec 4 16:46:34 2009 +0100
s3: let gencache_init() use tdb_check()
If the check fails we try to clear the tdb and start
with an empty cache.
metze
commit 8f19c08072a7a6036d59cf6c2ca6ce17c74b7635
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Dec 4 16:34:08 2009 +0100
s3: let netsamlogon_cache_init() use tdb_check()
If the check fails we try to unlink the old file and
start with an empty cache.
metze
commit 6f6608c2aa6122c87ea1e8a937708d08e6c5785e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Dec 4 16:32:42 2009 +0100
s3: let tdb_validate_child() use tdb_check()
metze
commit 886fe5b92082c2d18f97ff0bdcced52d38f344ca
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Dec 4 16:59:39 2009 +0100
s3: require tdb 1.1.7 with tdb_check()
metze
commit 5055ba140d03189a3c8181d57ad920e68c6e387c
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Dec 7 16:28:30 2009 +0100
s3:docs: Document "directory name cache size".
Karolin
commit 9550ade18e08f5b01e5acca6a6afb73d1718ae4c
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 7 16:24:08 2009 +0100
s3: de-deprecate "write cache size" to prevent its removal without a proper alternative
commit 4334092cbae28181ba0d1cf2ac026961f2192972
Author: Simo Sorce <idra at samba.org>
Date: Mon Dec 7 09:25:03 2009 -0500
Fix release script with newer versins of git
commit 8de6f7178c220d0a529ed91f87760e8d172448d2
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 7 14:38:24 2009 +0100
s4-smbtorture: disable some spoolss printerdata tests which s3 does not pass at the moment.
Guenther
commit c85ed0054e67413ffcd169c405ee4feda3555628
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 7 11:54:26 2009 +0100
s3: fix net and rpcclient after setprinterdataex changes.
Guenther
commit 123d8d1c2c8ea214fa1a216c92ca1a3fc1b4d6d0
Author: Günther Deschner <gd at samba.org>
Date: Sat Dec 5 00:58:45 2009 +0100
s4-smbtorture: fix RPC-SPOOLSS after _spoolss_SetPrinterDataEx IDL change.
Guenther
commit ef9d6580efc55ee040458b7cd76ebdc2e1276e98
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 7 11:28:56 2009 +0100
s3-spoolss: let _spoolss_DeletePrinterData call into _spoolss_DeletePrinterDataEx.
Guenther
commit 167dca0cbf18baf40dd923f6f92421123d34b5a3
Author: Günther Deschner <gd at samba.org>
Date: Sat Dec 5 00:56:55 2009 +0100
s3-spoolss: let _spoolss_SetPrinterData call into _spoolss_SetPrinterDataEx.
Guenther
commit 778124ea32ecc9d2404ef6abd8af9d14e6320f3a
Author: Günther Deschner <gd at samba.org>
Date: Sat Dec 5 00:52:28 2009 +0100
s3-spoolss: let _spoolss_GetPrinterData call into _spoolss_GetPrinterDataEx.
Guenther
commit 08823166a13d5ec3027b0c5a0db5e684b8e3c3b6
Author: Günther Deschner <gd at samba.org>
Date: Sat Dec 5 00:50:18 2009 +0100
spoolss: rework spoolss_GetPrinterDataEx and spoolss_SetPrinterDataEx.
Guenther
commit a367b2b5df30b92ccacc4fc15c07c1fd955c7d5b
Author: Günther Deschner <gd at samba.org>
Date: Fri Dec 4 17:22:25 2009 +0100
s3-spoolss: a default printer should have at least a "PrintDriverData" key.
Guenther
commit 1bc83b984d6f074a5a7c7d3e7f6de4a2278fee4c
Author: Günther Deschner <gd at samba.org>
Date: Fri Dec 4 13:33:49 2009 +0100
s3-winreg: fill in some inline comments.
Guenther
commit 5d46530053fa7728d1d4903a3d92f238202ab0d8
Author: Günther Deschner <gd at samba.org>
Date: Fri Dec 4 13:29:08 2009 +0100
s3-winreg: remove trailing whitespace.
Guenther
commit 71018ebe5303ca6e0f3e3e4b96ae45fb32d3e195
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Dec 7 14:38:18 2009 +0100
s3:auth: Fix typo in debug message.
Karolin
commit fe01e0e1a5a07ddefdc09f24d44c7e66886405b8
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Dec 7 10:15:49 2009 +0100
examples: Fix the build of the example VFS modules.
Karolin
commit 9b0780cf00e966a8df3dce698f37b6acaa28050d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Dec 7 15:28:51 2009 +1100
s4:dsdb Use ldb_match_msg_objectclass in operational.c
This avoids not only a possibly non-portable compiler expression, but
also the need to look up the schema each time.
Andrew Bartlett
commit 54ea4b17f06a6f2fb343111be22f28191d21fdf1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Dec 7 15:27:43 2009 +1100
s4:ldb Add a function to match a message against an objectClass
(as objectClass will always be a case insensitive ascii string, we can
make a much simpler match function here than for the general case).
Andrew Bartlett
commit b2db28b634bceccb4c87e3f764649a5ed1f3217a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Dec 7 12:44:07 2009 +1100
s4:ldap.py Improve testsuite for primaryGroupToken behaviour
This tries to show that the domain object should not have a
primaryGroupToken, for example. (This passes against the old and new
code, as the failure case requires an object with an objectSid, and
exactly one group in it's subtree. Sadly I don't know of a valid structure
that I can construct to test this).
Andrew Bartlett
commit 354b80b3ae3fd918d65f6425d054630d51ee18e0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Dec 7 12:41:43 2009 +1100
s4:dsdb Make primaryGroupToken calculation more efficient and correct
The original code here would do a subtree search under each object,
attempting to determine if it was a group. This was incorrect, and
inefficient - we just need to ask for the objectClass attribute, and
check that value before returning the group's RID.
(Much of this patch reworks operational.c to allow a search for 2
attributes for this calculation).
Andrew Bartlett
commit 45cd4c93fbcabe8e5c66f57f8ded08a860af1bce
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Dec 4 10:15:15 2009 +1100
s4:dsdb Make parentGUID handler use dsdb_module_search_dn()
This avoids doing a new search from the top of the module stack.
This also removes the helper function dsdb_find_parentguid_by_dn()
which is now unused.
Andrew Bartlett
commit a4725f5880a3cebca83f0e0091403a4b80100e38
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Dec 4 07:29:29 2009 +1100
s4:build torturedir and -DTORTUREDIR is unused
(And made building RPMs much more difficult for JHT)
commit 972ee4b97b4e5d691dfe209366b639932bf02d43
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Dec 2 08:53:32 2009 +1100
s4:dsdb Hide the LM password by default too
commit 7050764a3afcf3c81eb20645fa52469b28276188
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Wed Dec 2 20:06:37 2009 +0100
streamline some log levels for invalid servicenames
I don't think we need to log the fact that a user gave a wrong sharename in Explorer with the highest log level.
The level of this was not very consistent:
service.c: DEBUG(3,("find_service() failed to find service %s\n", service));
service.c: DEBUG(0,("%s (%s) couldn't find service %s\n",
smb2_tcon.c: DEBUG(1,("smbd_smb2_tree_connect: couldn't find service %s\n",
This changes the last two to 3 as the first one.
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit da8b405065dc5731865b2f4530ff9bb034c780a4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Dec 6 12:50:51 2009 +0100
s3: Fix a const discard warning
commit 3b8e85d68f11321988232ff4cfea481cc0862b2d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Dec 6 12:50:25 2009 +0100
s3: talloc_array_length deals file with a NULL argument
commit 1ba91c0a51e173bbf6616b2bb4ea778acd0c5dc8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Dec 6 12:49:46 2009 +0100
s3: Small simplification: qsort deals fine with just one entry
commit 449045e75d7920b7bb20f8445aadff783ddbfd0c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Dec 6 12:49:09 2009 +0100
s3: Simplify usr_info_cmp by calling timeval_compare()
commit aef303f83c2bdebbd3bf64d8c3ed4b2621232ccb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Dec 6 12:40:44 2009 +0100
s3: Add rpcclient wkssvc_enumerateusers
commit bbffd79f1c62b997ccb24f051715125f090e8d55
Author: Ian Puleston <ipuleston at sonicwall.com>
Date: Mon Nov 23 00:00:00 2009 +0100
s3: Complete support for NetWkstaGetInfo/NetWkstaEnumUsers
commit 7eaff9b300ff290b6054afdab51343ca0948a521
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 3 17:27:11 2009 +0200
s3: First cut at _wkssvc_NetWkstaEnumUsers
This needs access checks!
commit a902c4cc50b8e7d0bdcc334fe63c1818f7cf4347
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 3 16:52:01 2009 +0200
s3: Support NetWkstaGetInfo 101 and 102
commit 9b265a68ccf74a03bff946bc10f96a38045c923a
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Dec 5 22:49:59 2009 +0200
s4-ldif: Fix memory leek in ldb_ldif_write()
commit 21d3aa814577690dac0e301bc2863c0f464f0e2e
Author: Michael Adam <obnox at samba.org>
Date: Fri Dec 4 23:29:22 2009 +0100
packaging(RHEL-CTDB): package dbwrap_tool and dbwrap_torture in the common pkg
Michael
commit 04ba95c09d6d99f42f472435f6b21798f0bba418
Author: Michael Adam <obnox at samba.org>
Date: Fri Dec 4 14:53:05 2009 +0100
s3:dbwrap_ctdb: increase the number of commit retries 5-->100
This is to cope with timeouts when recoveries and transactions collide.
Maybe 100 is too hight, but 10 or even 20 have been too low in a
very busy environment.
Michael
commit d92d770d238bf982627ae9e7498650ba77674057
Author: Michael Adam <obnox at samba.org>
Date: Fri Dec 4 14:49:53 2009 +0100
s3:dbwrap_ctdb: increase the rsn of the __transaction_lock__ when storing
so that it is correctly handled by recoveries.
Also set the dmaster explicitly.
Michael
commit 743155f3bee2d3e9d433d003b0193049d3456eed
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 5 14:27:04 2009 +0100
s3: Fix explicit stat64 support
commit 3264a98ff16de899d11ef37b98a7d7a7c763fe22
Author: Björn Jacke <bj at sernet.de>
Date: Fri Dec 4 23:26:47 2009 +0100
s3: check if glibc has broken posix_fallocate
commit 32915ceefc718621e2e9b17fee97da82744ab67a
Author: Jeremy Allison <jra at samba.org>
Date: Fri Dec 4 14:04:08 2009 -0800
Make Samba3 pass the RAW-LOCK test as Windows.
Implement the win7 NT_STATUS_INVALID_LOCK_RANGE.
Make smbd behave as Windows does in canceling locks.
Jeremy.
commit 1d3942c534791e7767b64be383e6e035b164c506
Author: Jeremy Allison <jra at samba.org>
Date: Fri Dec 4 14:02:52 2009 -0800
Make smbtorture4 match Windows behavior.
Jeremy.
commit 265e4dfbb614398cffc5619a9800fc85f96e5438
Author: Jim McDonough <jmcd at samba.org>
Date: Fri Dec 4 12:31:53 2009 -0500
s3: bug #6967: Prevent glibc error on net ads join:
talloc()ed memory should not be SAFE_FREE()ed.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 02fe8630395879ffa761d75c7d7b75fc7cda5e4c
Author: Günther Deschner <gd at samba.org>
Date: Fri Dec 4 02:54:33 2009 +0100
s4-smbtorture: heavily expand printerdata tests in RPC-SPOOLSS.
Including new tests for:
- spoolss_SetPrinterDataEx
- spoolss_DeletePrinterDataEx
- spoolss_DeletePrinterKey
Guenther
commit f5aff324cb9d965bbc75634596c3c40ffc588183
Author: Kai Blin <kai at samba.org>
Date: Fri Dec 4 09:47:25 2009 +0100
s3 aclocal.m4: Fix iconv checks, clean up m4 code
The check for iconv requiring giconv.h and libgiconv as well as
the check for iconv requiring biconv.h and libbiconv were using the wrong
variable to check for previous successful test results. This caused the checks
to always fall back to libbiconv on systems where that library was available.
In the course of fixing this, I had to clean up the indentation in that piece of
code, and I also rewrote/added some comments.
Many thanks to Tsurutani Naoki <turutani at scphys.kyoto-u.ac.jp> for the initial
patch and diagnosis.
commit be78d4a70de2aede3b9c4a644ce64c85141790cb
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 4 17:46:14 2009 +1100
s4-ldb: fixed show_deleted module not to corrupt parse trees
The show_deleted module was using a static private ptr in the module
to hold a parse tree to save on parsing. The code caused this
static ptr to change with each search, which caused incorrect
searches and numerous valgrind errors.
This patch replaces it with a hand-built parse tree.
commit ced3eef776dd44d0f3e9219f77e2660f9e49fa92
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Dec 4 17:45:38 2009 +1100
s4-drsutil: fixed a memory leak in samdb_search_count
In general functions that don't return any memory should not take a memory context.
Otherwise it is too easy to have a bug like this where memory is leaked
commit 4f6d5d0b865a077185e2441d401709325c3e7304
Author: Zachary Loafman <zachary.loafman at isilon.com>
Date: Tue Nov 24 23:42:56 2009 +0000
s4 torture: Convert create_complex_file to use BASIC_INFO instead of deprecated command
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit 3507350ad24643336b392befc52af493098638b9
Author: Zachary Loafman <zachary.loafman at isilon.com>
Date: Wed Nov 18 22:42:31 2009 +0000
s4 torture: Fix call to smbcli_open
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit a3df55b26f6afaab4364cb96efb121a3f8fa2c82
Author: Zachary Loafman <zachary.loafman at isilon.com>
Date: Wed Nov 18 00:29:23 2009 +0000
s4 torture: Make RAW-SEARCH pass against win7
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit 2dc5bd19d42f31e3d9f54108bd147c4371634a50
Author: Zachary Loafman <zachary.loafman at isilon.com>
Date: Wed Nov 18 00:29:21 2009 +0000
s4 torture: Parameterize WRITE_AND_CLOSE support
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit f26a500d9ff854734decdcb196136dc8cc19eb4a
Author: Zachary Loafman <zachary.loafman at isilon.com>
Date: Tue Nov 17 23:25:58 2009 +0000
s4 torture: Add lockread_supported based off of CAP_LOCK_AND_READ
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit 5882282deaf3ce06c18fe2102f7f8dcc6e79b409
Author: Zachary Loafman <zachary.loafman at isilon.com>
Date: Mon Nov 16 21:13:26 2009 +0000
s4 torture: Allow READ to be parameterized, add more readx tests
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit 60d9828ade304dc7aa9b01f1be1dfea86b04248e
Author: Zachary Loafman <zachary.loafman at isilon.com>
Date: Mon Nov 9 18:32:06 2009 +0000
s4-torture: Allow the legacy DENY_FCB/DENY_DOS share modes to be ignored
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit 5c857768d1415c4e70a9b7a96b8a9de1ec8efdee
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Dec 3 17:01:53 2009 -0800
s4 selftest/quicktest: Update known failures for the sfileinfo and oplock changes
Two new samba4 bugs have been filed for the two corresponding known
failures. For the short term raw.sfileinfo had to be removed from
quicktest. It is no longer an individual test, but a test-suite and
quicktest can only run top level tests.
commit 15e1c610273766a548a28b4d8731c6e9bad4496e
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Dec 3 13:46:11 2009 -0800
s4 torture: Add a new RAW-OPLOCK test: BATCH26
Try a rename with a wide-open share mode on an already open file
and the there is still share mode contention. For the reason why
see:
http://social.msdn.microsoft.com/Forums/en-US/os_fileservices/thread/3ca14dc9-da1f-4786-a8f7-a86e9903db0c
Msft's anser:
After further review, The reason for server to fail with sharing
violation is that the windows server that executes a path-based
rename request opens the file for DELETE access, but only with
FILE_SHARED_READ as ShareAccess . Therefore, the existing
open(frame 76), which has shared read/write/delete , is compatible
with the Windows servers access mode (DELETE), but Windows servers
open is not compatible with access mode in existing open.
Note that it is correct to state that the logic in Windows server
could have been written to allow shared read/write/delete in which
case it would succeed as you mention. The behavior here is
historical based on the existing implementation.
commit 8f7e5732ef3accd833906276f4a13891bac26726
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Dec 3 13:16:18 2009 -0800
s4 torture: Close the third handle in RAW-OPLOCK-BATCH22
commit 522d6bc58891b8c25e935bcee3206f03c8ab73cb
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Dec 2 18:39:05 2009 -0800
s4 torture: Convert an error to a warning in RAW-OPLOCK-BATCH22
Some servers choose to mark a client as bad if they fail an oplock
break request by timing out (win7 is an example). Once the client is
marked as bad, future oplock requests will timeout instantly. This
causes subsequent runs of this test to fail, so rather than erroring
out as a failure, a warning is printed instead.
There is also a bug in w2k3 where it was incorrectly returning
contending a share mode lock. It worked in XP and has been re-fixed
in win7.
This can also now be run against samba3.
commit b14da4f7c54e88e615f2bb19bec43bacb7f11de8
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Dec 1 16:27:10 2009 -0800
s4 torture: Add a few more windows target types
commit fc7832602d149dee61ff003902bc5f54cd0de0f2
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Nov 20 11:25:43 2009 -0800
s4 torture: Convert to a more modern version of read in RAW-OPLOCK-BATCH4
commit af8b7857ca4b9f81d2240d2592c4d02893b04f76
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Dec 1 15:29:00 2009 -0800
s4 torture: Allow some implementations to break from level1 to none with two breaks
commit 66c968778d74280bf36342e76c80b617e47ebde5
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 3 17:44:38 2009 -0800
Make sure we're not using the old smb_fname data.
Jeremy.
commit 3fe7dfd1d90374a2e06e1683b8f2c702c471c833
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 3 16:45:35 2009 -0800
Remove smb_fname duplicates that just keep the same information as in fsp->fsp_name.
Moving towards making VFS_OPEN/VFS_MKDIR/VFS_RMDIR
handle based...
Jeremy.
commit 459a968fb4d6f96ea7f310f331d3547e2e466d6a
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 3 23:23:36 2009 +0100
s3-spoolss: handle SEC_FLAG_MAXIMUM_ALLOWED in spoolss_OpenPrinterEx.
In case someone (smbtorture4) requests SEC_FLAG_MAXIMUM_ALLOWED, translate it
to a request of PRINTER_ACCESS_ADMINISTER.
Guenther
commit 2f0548fd98ccbe9695d4e6ae0e21e5ceca76ac68
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 3 22:38:38 2009 +0100
s4-smbtorture: check more WERRORs in RPC-SPOOLSS.
Guenther
commit 4e20a6f83b981ae0948ce1b9ec0a39162b38b512
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 3 22:05:35 2009 +0100
s4-smbtorture: call test_EnumPrinterDrivers with architecture in RPC-SPOOLSS.
Guenther
commit 91e0bdd86c9c14f6b9b190db8ce6ec162ce79692
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 3 13:01:10 2009 -0800
Refactor reply_rmdir to use handle based code. All
calls are now handle based. Put rmdir into close.c
and make it private.
Jeremy.
commit 80e066112c033ce3684a4adede3f40565f68277f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Dec 3 12:50:18 2009 +0100
s4:operational LDB module - Fix usage of LDB constants
commit fed6ac05d00ab9bc2d7f55fe377cd1fde829cf7f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 20 12:00:28 2009 +0100
s4:ntvfs/posix/pvfs_streams - Fix "discard const" warning
I removed one "const" in front of a string declaration to achieve this.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 1a855eb741c356262382f04357abdabe0bd2ad1b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 20 11:56:16 2009 +0100
s4:ntvfs/posix/pvfs_resolve - Fix "discard const" warning
I removed two "const"s in front of string declarations to achieve this.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit cdb68bd2b61147df77b7f2de3fb4e29be07e7bd9
Author: Bo Yang <boyang at samba.org>
Date: Fri Dec 4 12:53:38 2009 +0800
s3: Fix crash in winbindd;(bug#6879).
Signed-off-by: Bo Yang <boyang at samba.org>
commit dfcc4115ddc7c3bf7a69d7eb747c096cd217b8a6
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 2 18:06:40 2009 -0800
Remove unneeded argument from can_set_delete_on_close(). Ensure
can_set_delete_on_close() is correctly called before any setting
of the disposition bit (clean up the do_unlink() call).
Jeremy.
commit 76be0f6a11dfadc94923a81ef984b6234db5c0b0
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Wed Dec 2 17:55:00 2009 -0800
s4/selftest: knownfail some locking tests until bugs are fixed
commit 7c938d16a9cf4daa1d4a61399f326f2683d08af4
Author: Björn Jacke <bj at sernet.de>
Date: Thu Dec 3 02:32:47 2009 +0100
Ñ3: remove superfluous option check
this function is only called when strict alloc is set, no reason to check that twice.
commit 48358b3eaa425d8fbfec7bfd8ccf56860b5a1ba0
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Wed Nov 25 17:39:42 2009 -0800
s4/torture: add multiple lock cancel test
See what happens when we have multiple outstanding lock requests and
we try to cancel both of them within a single LockingAndX.
On Windows, it seems only the first lock in the array is cancelled,
and the second is left pending. Though, this behavior goes against
the MS-CIFS spec.
commit ad9c5a7b881bd28f408a178766a00098bab19157
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Mon Nov 30 17:05:27 2009 -0800
s4/torture: add addition multiple lock tests
* test that 2 locks in a single LockAndX are transactional
* test that 1 unlock and 1 lock in a single LockAndX are not
transactional
* test that SMB2 doesn't like mixed lock/unlock in a single
PDU
commit dfbb92e2a1c3478c9b1263adcc4818afe2acd6f7
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Tue Nov 24 18:38:46 2009 -0800
s4/torture: fix build warnings by removing unecessary const
commit 438b7c41aecaad55f03d2f19a0f33bb57decefa9
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Tue Nov 24 16:58:25 2009 -0800
s4/torture: Add target functionality parameters to SMBv1 BRL tests
Abstract the server requirements to pass some BRL tests.
* The new default for >64bit lock tests, is that the server should
return STATUS_INVALID_LOCK_RANGE.
* Add parameter for targets that don't implement DENY_DOS
commit 9a3d9abdd8e9737245e3cdd7f31d453c2062dba9
Author: Günther Deschner <gd at samba.org>
Date: Thu Dec 3 00:46:47 2009 +0100
s3-selftest: run LOCAL-NDR when running make selftest.
Guenther
commit 450211b61016a4fed71eb116c1b526af0f365f13
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 2 23:38:05 2009 +0100
s4-smbtorture: be very strict in checking spools_EnumPrinterKey results.
Guenther
commit f32ccc321a5467401781a0e2d4621175b6256368
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 2 21:26:10 2009 +0100
spoolss: hand-marshall the spoolss_StringArray2 struct for spoolss_EnumPrinterKey.
This call is just driving me nuts :-)
Guenther
commit 8d7a43fed709b0ae4baaa861c30f2ee89a423dbb
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Dec 3 09:19:55 2009 +1100
s4-drs: fixed UDV and overlapping sync calls in DRS
When windows abandons a DRS sync, it will sometimes re-use the same bind handle for
a new sync. This means we need to check the DN of the sync and blank the getnc_state
if the DN has changed.
This also fixes the UDV to use the highest uSN for the partition, not for
the whole SAM.
commit b65b88740c4920232a02f8e3c535e31656697246
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Dec 2 17:14:40 2009 +1100
s4-drs: fixed updating of uSNChanged in replmd_modify
Updating of uSNChanged broke in a recent change
commit a2929a638fa6824e38beec7eaa78ac108c522f50
Author: Björn Jacke <bj at sernet.de>
Date: Thu Dec 3 00:12:53 2009 +0100
s3:build: remove redundant qnx block size definition
commit 365c6b4ce0bd84bfb1d9cec03bc835b92b1c5af7
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 2 15:02:28 2009 -0800
Restructure the ACL code some more, get the internal semantics
right. The previous bugs were due to the fact that get_nt_acl_internal()
could return an NTSTATUS error if there was no stored ACL blob, but
otherwise would return the underlying ACL from the filysystem. Fix
this so it always returns a valid acl if it can, and if it does not
its an error to be reported back to the client. This then changes
the inherit acl code. Previously we were trying to match Windows
by setting a minimal ACL on a new file that didn't inherit anything
from a parent directory. This is silly - the returned ACL wouldn't
match the underlying UNIX permissions. The current code will correctly
inherit from a parent if a parent has any inheritable ACE entries
that apply to the new object, but will return a mapping from the
underlying UNIX permissions if the parent has no inheritable entries.
This makes much more sense for new files/directories.
Jeremy.
commit 1d013fd03295433698f2b301dbf8324a3db528eb
Author: Björn Jacke <bj at sernet.de>
Date: Thu Dec 3 00:02:44 2009 +0100
s3:build: fix shared library build on QNX
Fixes #6860. Thanks to Matt Kraai!
commit 148e79d156d92b41dfe7d6ae6f8cd2e571a3bee6
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 2 12:29:16 2009 -0800
Ensure check_parent_acl_common() only looks at stored
blobs - returns NT_STATUS_OK if there aren't any.
Jeremy.
commit 95c18626107484d5d1d475e34fc4dde03cfe6ff5
Author: Björn Jacke <bj at sernet.de>
Date: Wed Dec 2 15:13:37 2009 +0100
s3: prefer posix_fallocate for doing "strict allocate"
posix_fallocate is more efficient than manual zero'ing the file. When
preallocation in kernel space is supported it's extremely fast. Support for
preallocation at fs layer via posix_fallocate and fallocate at kernel site
can be found in Linux kernel 2.6.23/glibc 2.10 with ext4, XFS and OCFS2. Other
systems that I know of which support fast preallocation in kernel space are
AIX 6.1 with JFS2 and recent Solaris versions with ZFS maybe UFS2, too.
People who have a system with preallocation in kernel space might want to set
"strict allocate = yes". This reduces file fragentation and it's also safer for
setups with quota being turned on.
As of today most systems still don't have preallocation in kernel space, and
that's why "strict allocate = no" will stay the default for now.
commit 486c8d57ec5a9aa63aff275621ff45c22b8cde61
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 2 12:09:48 2009 -0800
Ensure get_nt_acl_internal() only looks at the ACL blobs, not
reads off the underlying filesystem. Ensure that vfs_acl_tdb.c
returns NT_STATUS_NOT_FOUND, not NT_STATUS_OBJECT_NAME_NOT_FOUND
when it can't find a blob matching the file.
Jeremy.
commit b6fdecd11210a3d2ff803bdc315aacd9f8b445a1
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 2 10:01:14 2009 -0800
Fix bug #6837 - "Too many open files" when trying to access large number of files
from Windows 7. Original patch by me fixed up with the correct open files number
by jmaggard10 at hotmail.com.
Jeremy.
commit 5f60855ba2eb822dcb867378ff09278c42931b89
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 2 14:25:31 2009 +0100
samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.
This should finally resolve the endian issues we were seeing on sparc and is
much cleaner for spoolss clients and servers.
Guenther
commit 292af4fc046ff39ebd3ec853c402dc267a863fa6
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 2 14:22:52 2009 +0100
spoolss: add spoolss_StringArray2.
The difference to spoolss_StringArray is that in spoolss_StringArray2 the string
array is put into a subcontext of _ndr_size.
Guenther
commit 91bb0659776d397bc4b8ca7a534f6f2327e2e6fe
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 1 02:38:19 2009 +0100
s3-spoolss: move MAXDEVICENAME to spoolss idl.
Guenther
commit 53744f01dc7f74f87e4c71057cc175e4c47d3a67
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 1 00:01:36 2009 +0100
s3: Cope with older external libtdb
commit ecb071ca2a00d1b35ace2a4f8924f2af2ba34328
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 2 00:22:18 2009 +0100
Revert "s3-build: taise tdb version when building against system libtdb library."
This reverts commit ea20678c55fee9f4586630cdb5fe7f35457d309a.
Just one new error code does probably not justify raising the required tdb version.
Guenther
commit 8dda4cea660639190c1c7e84355186d07a6e064f
Author: Jeremy Allison <jra at samba.org>
Date: Tue Dec 1 14:08:16 2009 -0800
Ensure we don't see the xattr used to store NT security (visible when xattr_tdb
is used). Allows make test to pass with acl_xattr.so prepended to the vfs modules.
Jeremy.
commit ae649782df6e22c8e1922aaa03c248e5af68a036
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Dec 1 10:47:08 2009 -0800
s3: Fix smbd to correctly return INVALID_LEVEL on set_file_end_of_file_info for paths
This allows smbd to pass the freshly updated RAW-SFILEINFO-END-OF-FILE
torture test.
commit 4e8b6c5992494e1177cd98e47d96498a259b9056
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Nov 30 16:43:00 2009 -0800
s4 torture: Change oplock to use passthrough for exclusive3/batch11
In light of the INVALID_LEVEL that is seen for RAW_SFILEINFO_END_OF_FILE_INFO
requests on a path, I'm changing these back to using the passthrough
RAW_SFILEINFO_END_OF_FILE_INFORMATION to test the oplock break behavior as
originally intended
commit 5035a900051c7946346d4e8b32e8f13f802ce5be
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Nov 30 11:59:19 2009 -0800
s4 torture: Update RAW-SFILEINFO-END-OF-FILE to test some additional corner cases
It turns out setting the end-of-file with Trans2SetPathInfo using the
snia spec's info level will attempt to open the file, enforcing share
modes, but then subsequentlys fail the setpathinfo with a dos error of
INVALID_LEVEL. Doing a Trans2SetFileInfo with either end-of-file info
level succeeds as expected.
commit 5a934fd8da61196d829a601a85b9871b226239d4
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Nov 25 14:26:18 2009 -0800
Revert "s4 torture: Allow onefs to be checked like samba3 and samba4"
This reverts commit 98f595036e196dd61340fef0faf63ca762a25307.
No longer necessary
commit 66bf780e6edac110b85d2a0d08d01274fe7417bd
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Nov 25 14:40:54 2009 -0800
s4 torture: Change RAW-SFILEINFO-END-OF-FILE to check for share modes by default
Since the windows behavior appears to be a bug, only check for
the windows-style share mode bug if target=<windows variant> is
specified
commit 2738e316746b078899dd30e07665d8e7b515581e
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Nov 25 14:38:55 2009 -0800
s4 torture: Move target macros to a common header instead of redefining them in multiple files
commit 9d8867f67626ccd93260e83a50aa978d3e12ad1e
Author: Michael Adam <obnox at samba.org>
Date: Tue Dec 1 15:22:20 2009 +0100
s3:build: fix detection of CTDB headers on systems without system-libtalloc
Michael
commit 51b6e23f9a88f1c8fabb67d5e6d9b81aa562623a
Author: Michael Adam <obnox at samba.org>
Date: Tue Dec 1 14:55:02 2009 +0100
s3:build: fix the build when no external talloc and tdb are installed.
The check for the external libs and the addition of the include paths
to the CPPFLAGS was too late in configure.
This patch moves the whole subsystem/library section up right below
the detection of "BLDSHARED".
And it updates not only SAMBA_CPPFLAGS but also SAMBA_CONFIGURE_CPPFLAGS
so that many tests that use these flags can now succeed.
Michael
commit 2d1bd87f732e37323bd382ac66f41bfc52a23dac
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 20 11:35:13 2009 +0100
s4:torture/raw/lock - Fix "discard const" warnings by introducing "discard_const_p"s
commit 262d26d05a6b1f6b074408ba8be352324d1b0d47
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Oct 17 22:36:00 2009 +0200
s4:torture/nbt/wins - Add more casts
commit 58a5e764a9c96229cb4daa99d3d8ef18c188b4fe
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Oct 17 22:35:21 2009 +0200
s4:torture/nbench/nbench - Add a cast before "str_list_make_shell"
commit 8b4499942eff7bc6ea1b64cdc6ab6958b8f5d1a8
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Oct 17 22:34:00 2009 +0200
s4:torture/ldap/ldap_sort - Add some casts to suppress warnings
commit 7be99d373578f42ac47e67ef1b95a2409cecc184
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Oct 17 22:25:12 2009 +0200
s4:schema - Make some more (result) variables const and fix up warnings with "discard_const_p"
commit 012494b8005b621642ec98d51d067378f8e10421
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Nov 25 09:15:39 2009 +0100
util/util_strlist - add a call "const_str_list" for making "unconst" lists "const"
commit 9ce7e9ab8401e038b36d53e477fcb658d1c54f80
Author: Endi S. Dewata <edewata at redhat.com>
Date: Tue Nov 24 01:00:45 2009 -0600
s4:kdc - Merged kdc_tcp_accept() and kpasswdd_tcp_accept().
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 0c89a6f2aa433e54d7af99d9214ddc186784af97
Author: Endi S. Dewata <edewata at redhat.com>
Date: Mon Nov 23 22:28:11 2009 -0600
s4:kdc - Merged kdc_add_kdc_socket() and kdc_add_kpasswd_socket().
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit bd17df71b59ba54c7845ddc000e8cb17b6a23928
Author: Endi S. Dewata <edewata at redhat.com>
Date: Fri Nov 20 14:57:11 2009 -0600
s4 - Create default modules directory.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit c93fc3a10a8839752eb4c1d1e91c1b455c974eef
Author: Endi S. Dewata <edewata at redhat.com>
Date: Fri Nov 20 08:47:40 2009 -0600
s4:kdc - Disable KDC port when it's set to 0.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 183ea8220a2832b2b12d92219f9bd040dbe82772
Merge: d58413d3314bc245c6be6499bea40cca0ab3d242 83c106e084876ee82c66a165a7b02c7702c752f4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 1 16:12:53 2009 +1100
Merge commit 'origin/master' into abartlet-devel
commit d58413d3314bc245c6be6499bea40cca0ab3d242
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 1 16:06:59 2009 +1100
On our way to Samba4 alpha10!
commit ca2c645156a288ca35c5120e95bb9a878a889848
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 1 14:43:55 2009 +1100
Fix build of Samba4 from tarball generated by mkrelease.sh
Revert "Remove RFC's from the release tarballs to make the lives of the Debian"
This reverts commit eda7f35bc891ca4a7505ec054a2b4591c6edfb38.
These files are essential to the Samba4 build.
Andrew Bartlett
commit 5c2db53358ac4769833c2b14c69a8a6e9f91d649
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 1 13:03:17 2009 +1100
Improve upgrade instructions
commit 83c106e084876ee82c66a165a7b02c7702c752f4
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 30 22:49:39 2009 +1100
s4-ldb: the '1' form of extended_dn search is easier to read
The '1' form gives GUIDs and SIDs in the ascii form as normally used
for display.
commit 5203128130b24f783559c520c6ae587ab99c8069
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 1 12:27:09 2009 +1100
This is alpha9
commit a88f086d96df01f974696f7fd76f68042e75a7d1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Dec 1 09:04:21 2009 +1100
s4:setup Adjust upgradeprovision blackbox test now we don't have --targetdir
commit 1d0d78ab3d1f4210984a5a012cdb6d17862cec51
Author: Matthieu Patou <mat at matws.net>
Date: Sun Nov 29 19:44:08 2009 +0300
s4: Remove targetdir as it can cause some trouble and can be replaced by an adapted -s smb.conf
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit fe1291227f0a3137938dc369afc2f63626c30359
Author: Matthieu Patou <mat at matws.net>
Date: Sun Nov 29 16:26:31 2009 +0300
s4: Handle the case in secrets.ldb without name attribute
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 4861ad57fb533dbb060faa0a0630f8d8afe87421
Author: Matthieu Patou <mat at matws.net>
Date: Sun Nov 29 02:28:26 2009 +0300
s4: don't forget to update defaultSecurityDescriptor
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit bf2c1e9c4f6fa7d1ea778f54593c308b56efacd2
Author: Matthieu Patou <mat at matws.net>
Date: Fri Nov 27 20:50:04 2009 +0300
s4: load the domain level of the current provision and create a provision with the same domain level
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit f65360840a43616d870b0f26925067f248aa6376
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 30 18:39:58 2009 +1100
s4:ldap.py Add test of namingContext behaviour after tridge found a bug
Tridge found that the partitions.c module was being initialised twice,
and setting the partitions into the rootDSE twice.
Andrew Bartlett
commit ce86fdfed9f7b9b5012f02210aaa1c5bf6ffcdf1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 30 14:46:03 2009 +1100
s4:WHATSNEW Nadezhda's acl module handles modifies
commit 48f40793ae4190ebc9eec83924aeda9e3f16bf0d
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 30 16:56:35 2009 -0800
Fix DEBUG 0 -> DEBUG 10 (left over code).
Fix opendir status return if access denied.
Jeremy.
commit bdc8c9d37ca478f74127628ab03bb68cd72bff63
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 30 16:50:34 2009 -0800
Fix bug 6938 : No hook exists to check creation rights when using acl_xattr module
Fix ACL modules to test for permissions on open/mkdir/opendir.
Ensure that underlying ACLs are returned for directories/files with
no Windows xattr or tdb acls stored.
Jeremy.
commit ea20678c55fee9f4586630cdb5fe7f35457d309a
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 1 01:22:44 2009 +0100
s3-build: taise tdb version when building against system libtdb library.
Try to fix the build on "buildsamba02". At least fixes the build on fedora12
with libtdb-devel-1.1.5-2.fc12.x86_64 installed.
Volker, please check.
Guenther
commit 6dd60008c4bebf42795d4a030b3724ce610bbeeb
Author: Michael Adam <obnox at samba.org>
Date: Tue Dec 1 00:53:03 2009 +0100
s3:add split_tokens, a cmdline tool to test next_token_talloc()
Michael
commit 92547d2873b357b3d6ea21edff646a66f1d22368
Author: Michael Adam <obnox at samba.org>
Date: Fri Nov 20 18:25:27 2009 +0100
s3:fix linking of the t_str* test programs
Michael
commit b82f6855a2762df6240caf100fe775aa06392c40
Author: Michael Adam <obnox at samba.org>
Date: Fri Nov 20 18:24:53 2009 +0100
s3:fix linking of libbigballofmud (on my box at least)
Michael
commit 350352cf38bccfa6ef60db1840bd09a4798a392e
Author: Michael Adam <obnox at samba.org>
Date: Fri Nov 20 17:48:18 2009 +0100
s3:torture: make t_stringoverflow.c compile at least (pstring is long gone)
I don't know whether these t_* programs are used at all any more, but this
one was using pstrcpy...
Michael
commit 8303bc49a45d5bab0cdbd4f2d793088f600f715f
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 30 15:53:04 2009 -0800
Restructure the connect function code to always call
down to NEXT-> before initializing. This allows us to
do cleanup (by calling DISCONNECT) if initialization
fails. Also fix vfs_acl_xattr which was failing to
call the NEXT connect function.
Jeremy.
commit b852a3494aa3af3d69175f68669609b23fefc1bb
Author: Günther Deschner <gd at samba.org>
Date: Tue Dec 1 00:24:16 2009 +0100
drsuapi: fix build warning of NDR size calculation of drsuapi_DsReplicaObjectIdentifier3Binary.
The generated size actually does not include the size of the binary itself.
Guenther
commit 753b9c6d566fafee9724a84fbd91316767c1c7a2
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 30 18:10:59 2009 +0100
s3-spoolss: fix fstrings in convert_devicemode() function.
Guenther
commit 6aef5e591f3fa1ceeedb22273d2fe04298b6e3fb
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 30 21:48:33 2009 +0100
Fix bug 6546: Avoid accessing buf[-1] if NUL byte comes from fgets
commit 3b7f8a759f57f32a8c1bc2db85236e88f616ffd9
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Nov 30 14:53:23 2009 +0100
s3:docs: Fix typo in man mount.cifs.
Fix bug #6844 (wrong credential file format in mount.cifs manpage).
Thanks to the Debian Samba package maintainers for reporting!
Karolin
commit fde7c2ab19bc7442d8ee9d85ab2fe54e0cfb4782
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Nov 30 13:34:34 2009 +0100
s3:docs: Document "aio write behind".
Part of a fix for bug #6890 (Some smb.conf parameters are undocumented).
Karolin
commit 9478ec35b5349f50a61bbe2aa88af88577918e91
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Nov 30 12:29:27 2009 +0100
s3:docs: Document "ldap page size".
Part of a fix for bug #6890 (Some smb.conf parameters are undocumented).
Karolin
commit 62a27325d99cf4371fe98d049110e585dd209c98
Author: Bo Yang <boyang at samba.org>
Date: Mon Nov 30 17:30:25 2009 +0800
s3: Fix crash in free_file_list().
Signed-off-by: Bo Yang <boyang at samba.org>
commit b03ad70848e6ea889f382c0cb9f21057370f1ab6
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Nov 30 11:40:06 2009 +0100
s3:docs: Document "enable core files".
Part of a fix for bug #6890 (Some smb.conf parameters are undocumented).
Karolin
commit 7399c04fd0b509079117426b28853a0aa3f87d2d
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Fri Nov 27 12:25:18 2009 -0200
s4-drs: Test situations for runtime constructed parentGUID
Includes the following verifications for the constructed parentGUID:
- Checks if it returns nothing when there is no parent object
- Ensures that attributes mentioned after the parentGUID
are returned correctly (this avoid a bug pointed out by Tridge
during sync constructed parentGUID development)
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 71e29cbf56048791057ccf07b859654312f3882e
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Wed Nov 25 17:01:55 2009 -0300
s4-drs: Using dsdb_msg_add_guid() utility function
Uses the dsdb_msg_add_guid() to add any kind of GUID attribute
to a ldb_message in several places of samba4 code.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 0003b5fad1dee687bc15dfad9f71b6dfc40556d7
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Nov 30 11:04:50 2009 +0100
s3:docs: Document "cache directory" and "state directory".
Part of a fix for bug #6890 (Some smb.conf parameters are undocumented).
Karolin
commit b4bce76776714815874f78dbe1184072d3943741
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 29 23:31:45 2009 +0100
s3: Fix bug 6288
commit 1cf48022afab79e1fc462b18032d0e497ed15ecf
Author: CrÃstian Deives <cristiandeives at gmail.com>
Date: Mon Nov 30 20:12:24 2009 +1100
s4-drs: add deletion of old connections
the nTDSConnection objects that are not needed anymore will be deleted.
the function kccsrv_delete_connection wasn't tested yet.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit bed9efa6cda17ecca91bdf71227ec656b94dcf94
Author: CrÃstian Deives <cristiandeives at gmail.com>
Date: Mon Nov 23 15:47:51 2009 -0200
s4-ldb: changed ldb_msg_add_dn() to ldb_msg_add_linearized_dn()
this makes the usage clearer
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 7ca2ceb333de6c4daad10890b3e3022e1930235c
Author: CrÃstian Deives <cristiandeives at gmail.com>
Date: Mon Nov 30 20:11:27 2009 +1100
s4-drs: Create connection obejct (nTDSConnection)
create nTDSConnection objects to match the list of servers
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 8331b4c4f8ff1cab6fef2e402a3fda3a95ea091d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 30 17:47:56 2009 +1100
s4-ldb: check for -ve value for page size
This comes from a tip from Howard Chu. Apparently some clients
will send a -ve page size value.
commit a5e0f433de3e3890be0af64c26665daca658e4b6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 30 16:48:31 2009 +1100
s4-dsdb: don't call ldb_next_init() twice in objectclass module
commit 99ba74b75ead69019e2982a6d8f94b625e4ba7c1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 29 23:42:44 2009 +0100
s3: Fix a "not handled in switch" warning
commit 42f832548d66245a16d7ec369494afb0bfc45425
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 29 22:57:19 2009 +0100
s3: Fix an uninitialized variable reference
commit 4e9d95c1e761e0331f1edcd25a64171ce9b60cc7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 29 22:23:22 2009 +0100
s3: Fix some nonempty blank lines
commit 7bbee8dc17744a838834ea21b2acb2b7f8366194
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 29 16:05:36 2009 +0100
s3: Add a regression test for bug 6898
commit 603a3ba19efb0d1757c7a9ef158d2fe907e48238
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 29 16:04:21 2009 +0100
s3: Factor out torture_setup_unix_extensions
commit 51bedf939568717424edd7732e1e315faa333849
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Nov 29 14:55:20 2009 +0100
lib/registry/util.c - Reorder the registry datatypes of the conversion functions
This is absolutely cosmetic and makes the code easier to comprehend.
commit df1d42fc1b5fd27a8969819212f51a74b310d909
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Nov 29 14:42:31 2009 +0100
Revert "s4:registry/util - Don't include the trailing '\0' in the internal data format but add it on the back-conversion to a string"
This reverts commit 7d400715e9af2056690c03a1a2f45c7f343fa313.
"convert_string_talloc_convenience" does always add the NULL termination. Didn't
know that. Thanks Jelmer for pointing out!
commit 69a68208bd971dbe9905dedd0554b3a79d2d2ce6
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 15:44:50 2009 +0100
s3: Restore "fake directory create times" as a share parameter
commit e71c17b2b008ba926e74dd184523723a742b76ba
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 15:10:23 2009 +0100
s3: "copy_reg" only looks at mode, uid, gid, atime and mtime (no birthtime)
commit 224691aa53e1ed407de69182fdb045e6c73bcb38
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 14:58:46 2009 +0100
s3: Pass up fake_dir_create_times from atalk_build_paths
The callers only look at the mode
commit 36e8d8ed455ab712023ddc199beaeb01e4d40ff2
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:19:30 2009 +0100
s3: Move directory_exist_stat to testparm.c, it only looks at the mode
commit 33601b8632edf65af4d4ab787c5615ab5c6af6fb
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:17:05 2009 +0100
s3: Pass fake_dir_create_times down to file_exist_stat, none of the callers look at the mtime
commit 129e976c47037731c9344a3994597b5781210914
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:12:40 2009 +0100
s3: "startsmbfilepwent" only looks at the inode -- is that enough?
commit 6e94113b6f23622e0e5688cd1b7e9acf23391de9
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:11:17 2009 +0100
s3: "get_file_size" only looks at the size
commit 9009277b76cfee708954e2b4c7172b955ad0c633
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:10:48 2009 +0100
s3: "socket_exist" only looks at the mode
commit 66e6439b7bf19bec1cc8a59667253b68dc0f3ce9
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:08:51 2009 +0100
s3: "sys_path_to_bdev" only looks at the devicenumber
commit c4f9adf9dd83265358f8f086add883d63890c68f
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:07:54 2009 +0100
s3: "check_log_size" only looks at the size
commit 77fb5e19d8a09b3f649ecaeed16118e4229bdedc
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:07:12 2009 +0100
s3: "regf_hbin_allocate" only looks at the size
commit d5e5d09d73d4033aad54dd8dd3edb2c6fd7d630e
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:06:44 2009 +0100
s3: "read_block" only looks at the size
commit 13e70058c01afa474cad66e25e5c37fc8d2c5488
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:06:14 2009 +0100
s3: "write_block" does not use the sbuf at all
commit 591599645263fc95a2b3f0e8dee6eac32a4f7790
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:05:16 2009 +0100
s3: "net_conf_addshare" only looks at the mode
commit 2f2a156c7348d9911ce26636544303f8d1f15ff0
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:04:38 2009 +0100
s3: "net_usershare_add" only looks at the mode, device and inode
commit 2a7778f7b20b77b82bd4a78609586025ea4a3330
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:04:18 2009 +0100
s3: "net_usershare_add" only looks at the device and inode
commit 41b2af34b166108475de3142de43c7b239b8b18a
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:03:09 2009 +0100
s3: "net_usershare_add" only looks at the mode and uid
commit 36eed017301fdb7ab017b8ccaab6a877aa0d8727
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:02:26 2009 +0100
s3: "count_num_usershares" only looks at the mode
commit 7c657098872588ac209ae30d40b08e88c003a05b
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:01:46 2009 +0100
s3: "info_fn" only looks at the mode and uid
commit a95404bbaedb5528ec47a54e7cdaa952fb9a71f4
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:00:51 2009 +0100
s3: "get_share_list" only looks at the mode and uid
commit 188b94012b33f0e225d3fff89813d96ca13dbe05
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 13:00:10 2009 +0100
s3: "cgi_download" only looks at the mode and size
commit b1a0c68ff2408081e10dc29ebe745a51cda3b73a
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 12:59:11 2009 +0100
s3: "print_job_end" only looks at the size
commit 19a7a6cbe39dd1a5d0a1ddccfab1ff07db7b041a
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 12:58:26 2009 +0100
s3: "check_magic" only looks at the size
commit 359e71d956dc912a9b548b3e40612b7f40ef94ea
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 12:57:43 2009 +0100
s3: "disk_quotas" only looks at the devicenumber
commit e41e21b9d443930604092853b3bef4ef33759a13
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 12:53:48 2009 +0100
s3: "load_usershare_shares" only looks at the mode and uid
commit 5e6031c9c584a517daa881a5c1832b0c61374547
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 12:53:23 2009 +0100
s3: "load_usershare_service" only looks at the mode and uid
commit 7e9c2c5df33c55f47000573245551b50043bc590
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 12:52:31 2009 +0100
s3: "usershare_exists" only looks at the mode and mtime
commit e5392748ec9ceb70d342f85d0194d47417509752
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 12:51:56 2009 +0100
s3: "process_usershare_file" only looks at the dev, ino, mode and size
commit 552313a79c27d47005fbf0e663797ca82303a7c0
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 12:51:04 2009 +0100
s3: "process_usershare_file" only looks at the mode and size
commit 0d0eec9fb26cf6100a7671a1cf75e2a68a5dd3ba
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 12:49:42 2009 +0100
s3: "parse_usershare_file" only looks at the mode and uid
commit 5ba42b0a5bbd5ab1eaecd4301d8e5e7ee79db8e8
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 12:48:33 2009 +0100
s3: "tar_parseargs" only looks at the mtime
commit e1f53e5d49c0a1a0a07afc91843aca955ca3f653
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 12:47:57 2009 +0100
s3: "dotareof" only looks at the file type
commit 932ab0c299c89ae63a35f8b0a59e0c03b9c5ec3f
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 12:44:33 2009 +0100
s3: client "newer" does not look at the create timestamp
commit 44ce5603ddbb1b9d75bfff58e40e7f1ea2821c67
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 27 12:42:39 2009 +0100
s3: Pass the "fake dir create times" parameter to sys_*stat
Step 0 to restore it as a per-share paramter
commit b973c5083699ad2b22c72fafe5c4b77f1f4eeccb
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 28 19:23:08 2009 +0100
s4:upgrade_from_s3 - Move it back to "setup"
Suggested by Jelmer
commit f0686645a99de226f199130fee07910d0f6462be
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 28 17:03:57 2009 +0100
s4:setup/provision - Rework
- Revert change in "ask" - was previously correct
- Readd accidentally removed checks for non-null realm and domainname
- On interactive mode perform only one "ask" call per question
- Inform the user about the unset administrator password
commit 3ca61d9a011d5e8ff677df041f4afb4c3a8be0b4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 28 18:48:47 2009 +0100
s4:upgrade.py - remove my copyright
First I wanted to add also other changes but then I didn't introduce them.
Therefore remove my copyright again.
commit 68f7b84140e59800b2a5c9c96b7a27f7a67235bb
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 28 16:59:18 2009 +0100
s4:upgrade.py - readd accidentally removed empty lines
Jelmer pointed out that this is against the PEP8 norm
commit ecfd1dfcbd8f301b879942322f7fe765f03599bb
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 28 15:28:45 2009 +0100
s4:samba3.py/upgrade.py: Revert
This reverts commit 2175c0ed0649d545ea833d50e8d33fbee9051c35.
This reverts commit 6c3e2417a0639cd7c367de93615c422cf5217456.
This reverts commit dbb8989e05ac3189a5eca11fa40d572388ea02fc.
This reverts commit 82adfa39b75aa628c88f828278c6ac09335d1a49.
This reverts commit f299efa8f05c6a5b739222bdf75690a4591d3650.
After a small discussion with Jelmer we agreed that this isn't the right way
to fix the problem. We should wait for a real patch rather to rely on temporal
hacks.
commit 8a34cf6f51b29f2bb8ff210afb998c3822e65092
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 28 17:35:36 2009 +1100
s4-ldb: make it much easier to use common ldb controls
commit 1287c1d115fb7e8f3954bc05ff65007968403a9c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Nov 28 13:27:06 2009 +1100
s4-drs: cope with bogus empty attributes from w2k8-r2
w2k8-r2 sometimes sends empty attributes with completely bogus attrid
values in a DRS replication response. This allows us to continue with
the vampire operation despite these broken elements.
commit db41a0afc6412934e166b8a3ed428ce549ba7c66
Author: Matthieu Patou <mat+Informatique.Samba at matws.net>
Date: Fri Nov 27 17:37:14 2009 +0300
s4: fix SD update and password change in upgrade script
- reserve a new Samba OID for recalculate SD control
- fix the update SD function
- fix handling of kvno in the update_machine_account_password function
- fix handling of handles in RPC winreg server
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit f7c28db475261fa859e8f1888a629ced6c447c60
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Nov 18 08:48:30 2009 +0100
s4:WINREG RPC server - add another "talloc_unlink" in "DeleteKey"
Also here we waste memory - therefore free the pointless handle after the delete.
commit 6f7cfb0e10a1967a59ff18221bd9941edcbc8790
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Nov 18 10:24:09 2009 +0100
s4:WINREG RPC server - Reintroduce the free operation on "CloseKey"
Better use "talloc_unlink" here Since we could have more than one reference.
commit 8f6df5d3ec31a8c3dedfdfc506c44e03026d8485
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 27 23:14:27 2009 +0100
s4-smbtorture: more and stricter tests for printer and data keys in RPC-SPOOLSS.
Guenther
commit f749e22cca79448dbbb338dff30054a87cd5a184
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 22:39:52 2009 +0100
s4:provision.py - remove hardcoded SIDs and RIDs
After rework of the SDDL modules this is possible. In future: Never hardcode
them anymore! Always use the abbreviations.
commit 207067d1a862f03d051d4ac3ae1e25b4dbf3bb51
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 22:37:52 2009 +0100
s4:security/sddl - rework of the security descriptor abbreviations
- Reoder them
- Add some new ones (needed for the security descriptor in the provision script)
commit 2e7ccdcb661c7c1379a4488ae42359df0563cb7f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 22:36:59 2009 +0100
security.idl - Add some more wellknown SIDs/RIDs
commit 7d400715e9af2056690c03a1a2f45c7f343fa313
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 21:14:44 2009 +0100
s4:registry/util - Don't include the trailing '\0' in the internal data format but add it on the back-conversion to a string
As far as I know the registry library saves all data (including) strings without
the null termination. So do it also here in a similar way.
commit e79dd2ef7d8b2aba7a84df5f5e82d2869a0598fc
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 20:26:17 2009 +0100
s4:net utility - add a notice for the "help" operation and format it's output of the command list better
commit 51328a7056918bc75a7c1c442f47cf0271075542
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 27 20:08:44 2009 +0100
s3-kerberos: fix the build on Mac OS X 10.6.2.
Guenther
commit 2175c0ed0649d545ea833d50e8d33fbee9051c35
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 20:02:25 2009 +0100
s4:samba3.py - deactivate also the assertion on line 599
commit da79cbb0800dd647be864e8bbb5fe1132708174b
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 27 18:51:56 2009 +0100
s3-kerberos: add a missing reference to authdata headers.
Guenther
commit ae207370667a12db53362ee5dcdab8e6d4bb388f
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 27 18:30:18 2009 +0100
s3-kerberos: do not include authdata headers before including krb5 headers.
Guenther
commit e512ccb5b677fa7f285829ec645fc067837c0e11
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 26 19:01:54 2009 +0100
s3-spoolss: simplify _spoolss_EnumPrinterKey a little more.
Guenther
commit 663a1f599aa163ebb5c81c02988c07cb1f0e3e6c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 17:45:20 2009 +0100
s4:winbind - Fix it another time up
The first fix attempt did break some configurations (incl. "make test").
This now is the right fix with the right comment.
commit 33188999b5a346ed2a7114f678bfb3c2d5e7ca34
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 17:39:02 2009 +0100
s4:provision.py - cosmetic
commit 6c3e2417a0639cd7c367de93615c422cf5217456
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 16:39:27 2009 +0100
s4:samba3.py (and test) - deactivate the tests until those parameters are fixed
commit 08b3c396d7d534c9bfa29a7cd015a97d504d45a9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 16:35:28 2009 +0100
s4:upgrade.py - Umlaut problem
commit 1af31aed0bd430d0af3a52962fa21f5c08309f01
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 16:34:44 2009 +0100
s4:tests.sh - Make also here the change from "upgrade" to "upgrade_from_s3"
commit 04f8c229de7ffad5f4ec1a0bb68c2c8b4ccf4e15
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 27 15:52:57 2009 +0100
s3-kerberos: only use krb5 headers where required.
This seems to be the only way to deal with mixed heimdal/MIT setups during
merged build.
Guenther
commit 23d77be6cb8847cbdad859269faf59fea30b27b8
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 27 11:18:30 2009 +0100
misc: mark winreg_Data little-endian except for a REG_DWORD_BIG_ENDIAN.
Guenther
commit 79f82998b1aa8349f76a4c82c17daf7e03cdb41a
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 27 16:06:40 2009 +0100
pidl: fix handling of output arguments in s3 client stubs.
a20e095 used (uint8_t) instead of (uint8_t *).
Guenther
commit 0cc45b47dc787abb2c3c31e4fc824798d9f3efe9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 15:50:26 2009 +0100
s4:upgrade.py - rework to make the upgrade s3 -> s4 possible again
Able to read basic settings "workgroup", "realm", "netbios name" and the
function mode from the s3 "smb.conf" and use them for the provision of s4.
commit bd6c133e506fdb5dee13e0a144ef99c6d452be42
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 15:49:18 2009 +0100
s4:upgrade_from_s3 - Fix message outputs
The quiet parameter was interpreted in the reverse manner.
commit dbb8989e05ac3189a5eca11fa40d572388ea02fc
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 15:02:18 2009 +0100
s4:upgrade.py - the import of WINS databases don't seem to work always
Disable it for now until the cause has been found
commit 70b31610909544c58fd87c5e0aa00e02eb5f6d4b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 15:00:41 2009 +0100
s4:samba3.py - ignore comments in "smb.conf" files
commit 82adfa39b75aa628c88f828278c6ac09335d1a49
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 14:59:12 2009 +0100
s4:samba3.py - don't read those informations out from the TDB
At the moment those three calls are broken
commit f299efa8f05c6a5b739222bdf75690a4591d3650
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 14:58:37 2009 +0100
s4:samba3.py - support the TDB version 3
commit a5d854afbc7ecc0de934040f2b6a22be55b078fe
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 14:48:58 2009 +0100
s4:provision - Fix up the provision of "standalone" and "member" mode
Both modes weren't possible anymore since 1.) the secrets entry wasn't created,
2.) a lookup in winbindd was done using "lp_workgroup()" rather than
"lp_sam_name()" (since on the mentioned two configurations we use the netbios
name as domainname - and not the workgroup).
commit a7fa3a9703bf9f0c72031c84998f4fb21ba95429
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 13:07:52 2009 +0100
s4:provision.py - cosmetic output correction
commit 6b835b0691faab904246e587ffa6ff74b9fb53e2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 13:02:31 2009 +0100
s4:setup/provision - make the interactive mode work again
commit 7504b03b541026c84a4f454b7572a3280296a8d9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 11:07:11 2009 +0100
s4:WHATSNEW4.txt - Add also here a comment about the "upgrade_from_s3" script
commit 3d57da80e574f5f47effb41fd45361eec22f119e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 11:02:20 2009 +0100
s4:howto.txt - add a notice about the upgrade possibilities and fix line spaces
commit fd313282a24e58570c2fa5b3fdfd0b84d0053363
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 27 10:50:03 2009 +0100
s4:upgrade script - rename it to "upgrade_from_s3" and do some rework
- Give a better name to the script
- Move it to the location where also "upgradeprovision" resides
- Fix up trailing whitespaces and tabs
commit d6c60f8447ce92a15d48a35d3f21d881c4428663
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 25 18:18:50 2009 +0200
s3-nsstest: drastically shrink size and dependencies of nsstest binary.
The size went down from 6.4M to 104K on my box.
Guenther
commit e96f9a40ad46b8c08eaa81fde015dccc990388c5
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 27 19:58:00 2009 +1100
s4-install: old systems don't have sed -i
surprisingly, this failure came from SLES8. I didn't realise that the
-i option was so new!
commit d5240822a58bdc69d37aa4119bcae807a4e6b0b5
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 27 19:11:28 2009 +1100
s4-selftest: s4 passes all the SMB2-LOCK tests now
commit 9f3ac810a64a4ad1f60038b61659c59efe699559
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 27 19:10:50 2009 +1100
s4-torture: fixed error code for s4 in SMB2-LOCK test
s4 returns NETWORK_NAME_DELETED if you attempt to use an invalid tree connection
for a lock. This test (correctly I think) happens before we validate the file handle.
That implies that when you pass both a closed handle and a invalid tree you
should get NT_STATUS_NETWORK_NAME_DELETED.
commit b3115f5cdc558ed71e11141e4f515511f3c6df5a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 27 19:09:10 2009 +1100
s4-ntvfs: win7 does not check for the NONE smb2 lock flag on unlock
commit af087f98ab87be858c97e273f31c5dae6d49ef02
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 27 18:10:01 2009 +1100
s4-selftest: s4 passes this test now
commit 7359a2221937f6ff8a70db08ba8fc299e0adb738
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 27 18:09:50 2009 +1100
s4-torture: mark s4 as doing valid lock range tests on SMB
commit 186ea099c5d07c8f229909bd94fafc179f8dcc2a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 27 18:08:51 2009 +1100
s4-ntvfs: move valid lock range test from smb2 layer to generic code
win7 also fails invalid lock ranges on SMB
commit b62964d6feb47ccf14e3d14120c04bc435c47cbd
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Nov 26 14:18:50 2009 +0100
s4:smb_server/smb2: don't reset highest_smb2_seqnum on SMB2 Cancel
metze
commit f6ecb4efb063617771dfa519911ae8af069c0f9a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 27 14:54:22 2009 +1100
s4-torture: fixed expected error codes for s4 in SMB2-LOCK
I think the error/success codes returned by windows for these tests
are quite bogus. The ones s4 gives are much more reasonable. The
locking ones returning NT_STATUS_SUCCESS could lead to data loss, as
an application thinks it has a file locked correctly when it fact it
doesn't, so it could do an unsafe modify.
commit 0920e0b63b806c8ed4839271048dd4924ed02b2b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 27 14:42:05 2009 +1100
s4-drstest: don't use getenv("LDB_URL") in test suites
I was stumped for a while as to why the drs test suite was failing for
me. It turned out that it looked for LDB_URL in the environment, and
used it if set. I had it set in my terminal, and it was happily
munching on my sam.ldb while testing. Quite a cute bug really :-)
commit d78921d78ca0a9211f044092b9a7f29bcfdd5397
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 27 14:22:29 2009 +1100
s4-pvfs: fixed access check failure in SFILEINFO test
matching windows behaviour is not always the right thing to do!
commit d5387edb88ce29ad1a6f864415c19486a20269af
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 27 14:20:47 2009 +1100
s4-ldb: improve detection of whether the server has a GC port
We were trying to open $SERVER:3268 regardless, which could result in
creating a file called "localdc1:3268", which led to subsequent test
failures
commit 7ea485a1d20c1bf41926ebb4b0ae8f37a2d909f7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 27 14:18:39 2009 +1100
s4-ldb: better to test for valid arguments in ldb library than commandline
We were testing for valid DNs in ldbrename in the command line
tool. This hid a bug in the ldb library where we caught a bad DN in
the objectclass module rather than in the main ldb code. It is better
to do validation of the DNs passed on the command line in the library
code, as this gives us more consistent error handling between the
programming APIs for ldb and the command line.
commit d3d7ca8eeab13c00705188102855525a21dd5345
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 26 17:38:50 2009 +1100
s4-smb2: SMB2 uses NT_STATUS_CANCELLED for cancelled locks
commit 7c158bdb1d0e217e06f54d2e2cef12a5433d3578
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 26 17:38:11 2009 +1100
s4-smb2: sequence numbers are not checked in SMB2_OP_CANCEL
commit 056473d58836ef3818e816f2d649ea35e7550264
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 26 17:03:20 2009 +1100
torture: fixed SMB2-LOCK valgrind error
commit 04f235a9ebf45422c6ec2a971268c2c38dc081ad
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 26 16:53:51 2009 +1100
s4-smb2: check for invalid SMB2 lock ranges
commit aa4c51602383d50b0801d854e752b575c70f7657
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 26 16:35:03 2009 +1100
s4-smb2: check for an invalid lock flags combination
UNLOCK with FAIL_IMMEDIATELY is not allowed
commit 61a278fd8ab3feb26e6bc095d4f170fd97aa5c89
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 26 13:06:01 2009 +1100
s4-install: fixed install path for python scripts
when we install python scripts we need to fix the internal path used
to find modules. We also need to install the scripts in the right
place. Most of them should go in $SBINDIR not share/setup/
commit 8455a765164abf43794e10390978b22156e5c50a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 27 08:10:54 2009 +1100
s4:upgradeprovision Rework update_machine_account_password() tranactions
This balances the transaction_begin() and transactin_prepare_commit() calls
Andrew Bartlett
commit e6c1608e909b9bbc1bdceeb24d57b9333c453a3d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 27 08:05:59 2009 +1100
s4:dsdb Don't segfault with ldb_transaction_prepare_commit() without begin()
It is up to other modules to complain if
ldb_transaction_prepare_commit() is called before
ldb_transaction_begin_transaction()
Andrew Bartlett
commit 731f560ecb0d2c075a04eb4431275f9127b061b7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 26 22:01:54 2009 +1100
s4:upgradeprovision add 'exit $failed' to blackbox test
commit d1faf7c90c8a23a2d09576ec45558ce457aa9d03
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 26 21:52:40 2009 +1100
s4:upgradeprovision Use mkdtemp to create unique tempoary directory names
commit 6f0f82f7ed9cd351b325d4ae275184b67c4b751b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 26 15:34:53 2009 +1100
s4:selftest Add tests for upgradeprovision
commit b9f95882f0fd9f453c6b90d1ca023111195d757b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 26 15:32:49 2009 +1100
s4:upgradeprovision Rework script, and reset machine account pw
The rework corrects some duplication and errors in the original
script, found when preparing an automated test of the script.
The code to reset the machine account password avoids issues with AES
keys and salting, which may not otherwise be solved by the upgrade.
Andrew Bartlett
commit 2fd831407d81a53f79fd4d207d086ee9882e7606
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 26 15:32:06 2009 +1100
s4:ldb Provide bindings for ldb_transaction_prepare_commit()
commit 09338e60bc0003abefd31902de721ecf8fee1552
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 26 14:57:39 2009 +1100
s4:provision Make setting the domain SID in the self join optional
commit 4a52ee3cd591051f05c086d61769ad16b9c8df58
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 26 12:15:22 2009 +1100
Fix path to upgradeprovision
commit 44bc8ac22c402e3d320e080f935636bf26e17500
Author: Matthieu Patou <mat at matws.net>
Date: Wed Nov 25 16:26:35 2009 +0300
s4: Improve updateprovision
* Define a simple upgrade process mode (module storage change, file name change, copy of new file)
* Move the schema, configuration and current object upgrade into full upgrade mode
* Added the --full switch to select the full upgrade mode, and made simple upgrade mode the default
* Make updateprovision works without any switch (update the provision in the default location)
* Cleanup the messages
* Create the reference provision in a subdirectory of the updated provision
commit 81a21cbc40821246f5e806fbb44826cef629bed2
Author: Matthieu Patou <mat at matws.net>
Date: Wed Nov 25 17:10:52 2009 +0300
s4: update What's new and explain how to upgrade a samba4 provision
commit b25a42d9073283f8e0bbd3b3e35862349b2f6243
Author: Matthieu Patou <mat at matws.net>
Date: Wed Nov 25 11:42:16 2009 +0300
s4: Rename the script
commit 1a8f8382740e352a83133b8c49aaedd4716210cd
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 27 01:06:36 2009 +0100
s3-kerberos: Fix Bug #6929: build with recent heimdal.
Heimdal changed the KRB5_DEPRECATED define (which now may not take an identifier
for activation) in new releases (like 1.3.1).
Guenther
commit 49e464cef5ed75976fcd6c544bffbd4391f3a1b6
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 26 23:46:50 2009 +0100
s3-spoolss: use macros to fillup driver levels.
Guenther
commit 89e02ef1f395d9662c20623bb81e40ba25d10bb4
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 26 20:26:01 2009 +0100
s3-smbd: no drsuapi server stubs yet in s3. Fixes the build, sorry.
Guenther
commit 5d706a2fd4d5d0489b55d79250c68154600c4102
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 26 20:17:07 2009 +0100
s3-rpc: running minimal_includes.pl on rpc_client and rpc_server.
Guenther
commit 3d679a3b5fc208d8521217f6a4b4d9037b609b9b
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 26 18:21:28 2009 +0100
s3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.
Guenther
commit 86f4536b7a128922b5d5808557e70fa243442361
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 26 18:15:39 2009 +0100
s3-passdb: move some defines out of rpc headers (they really belong to passdb).
Guenther
commit 4d0fca4472500b92cccff8de5a467fe09eb25455
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 26 18:58:36 2009 +0100
s3-winbind: properly include netlogon.idl in wbint.idl.
Guenther
commit 85b6461174fd43acd7360c79cebe9b73366a8ff9
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 26 18:57:24 2009 +0100
s3-spoolss: pre cosmetics: reorder levels in construct_printer_info levels.
Guenther
commit 4d8118f145549bb8d4d0afce72eaefd4d60cbd99
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 26 17:18:00 2009 +0100
tevent: Fix a comment
commit 49553d066ba346b28286b72f54e5ee8739cbcef2
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 25 14:42:24 2009 +0100
librpc: rerun "make idl"
metze
commit a20e095b1fffb6d690609c924d03cafedbbce8f3
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 25 14:31:34 2009 +0100
pidl:Samba3/ClientNDR: $size can be 'foo / 2' so we need to add '(' and ')'
foo / 5 * sizeof(bar)' isn't the same as
'(foo / 2) * sizeof(bar)'.
metze
commit ab1c92950f3cfdc8c52b772ecef23a5477f48f9d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 25 14:21:32 2009 +0100
pidl:NDR/Parser: $size can be 'foo / 2' so we need to add '(' and ')'
foo / 5 * sizeof(bar)' isn't the same as
'(foo / 2) * sizeof(bar)'.
metze
commit 77e2d2f1d29b69699f4539abfce7b2f32db843e4
Author: Karolin Seeger <kseeger at samba.org>
Date: Thu Nov 26 11:18:39 2009 +0100
create-tarball: Make it more comfortable to use the --copy-docs option.
Now you can directly specify the 'make release' output dir without any
modifications.
Karolin
commit 97553373d182671a8da1553cc47465c664ae69f0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Nov 26 09:51:56 2009 +0100
s4:ldap.py - add a test for the enhanced operational attributes check
(Deny creation of entries with operational attributes specified)
commit b6efbd5b4c5ba3a2e2040033b6b634d60ed2d3f5
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Nov 26 10:54:20 2009 +0100
s4:objectclass LDB module - Prevent write operations on constructed attributes
commit 393b83979d11dddcf6d38ca24b3aea7bb645e0d0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Nov 26 10:21:44 2009 +0100
s4:operational LDB module - Don't do the write checks here
Let this perform the schema in the "objectclass" module.
commit 5b3a32be97a37c119e837bdee8f049684565458c
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 26 10:15:45 2009 +0100
s3-kerberos: next step to resolve Bug #6929: build with recent heimdal.
Based on patch from Allan <allan at archlinux.org>.
Also should fix the FreeBSD build on the buildfarm.
Guenther
commit 60419a0eb72c2e07c4b882727b2ccb01b73c52e6
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 26 01:25:56 2009 +0100
s4-smbtorture: refactor RPC-SAMR-LARGE-DC test a little more.
Guenther
commit d22eb75a13a294cb31a3f253356853eab48b41d5
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 26 00:32:47 2009 +0100
s4-smbtorture: add torture_samr_context to carry some RPC-SAMR-X specifics.
Guenther
commit c5b234c9cde079aa45ed93c42b5ed5e66ac969a3
Author: Jeremy Allison <jra at samba.org>
Date: Wed Nov 25 14:47:36 2009 -0800
Fix warnings with talloc_asprintf.
Jeremy.
commit c96d487ae3c65c17b377bb316adac4b5775448f3
Author: Jeremy Allison <jra at samba.org>
Date: Wed Nov 25 13:17:56 2009 -0800
Make us pass RAW-CHKPATH with a case sensitive share.
I know Volker will look at this closely so here's the explaination :-).
Originally on a case-sensitive share we simply did a stat (or lstat)
call and returned success of fail based on the result. However this
failed to take account of incoming paths with a wildcard (which must
always fail, and with different error messages depending on whether
the wildcard is the last component or in the path). Also it failed
to take account of a stat fail with ENOENT due to a missing component
of the path as the last component (which is ok as it could be a new
file) or if the ENOENT was due to the missing component within
the path (not the last component) - which must return the correct
error. What this means is that with "case sensitive = yes" we do
one more talloc call (to get the parent directory) and one more
stat call (on the parent directory) in the case where the stat
call fails. I think this is an acceptable overhead to enable
case sensitive shares to return the correct error messages for
applications. Volker please examine carefully :-).
Jeremy.
commit 108da2adaf77c152fd292bbdf5645923659a7c2c
Author: Jeremy Allison <jra at samba.org>
Date: Wed Nov 25 13:17:38 2009 -0800
Add RAW-CHKPATH test with case-sensitive share.
Jeremy.
commit 4f89b3993c70ff95fd6e2e273f7699a80f4412cc
Author: Günther Deschner <gd at samba.org>
Date: Wed Nov 25 22:03:19 2009 +0100
s3-build: try to fix QNX build ("delay" is defined in lib headers).
Guenther
commit f66612f62e43b752cb7461da429efd26d1c47296
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Wed Nov 18 16:35:03 2009 -0800
s4/torture: port SMBv1 RAW-LOCK tests to SMBv2
RAW-LOCK ported as:
RAW-LOCK-LOCK, RAW-LOCK-LOCKX -> SMB2-LOCK-LOCK
RAW-PIDHIGH -> removed, no longer relevant
RAW-ASYNC -> SMB2-LOCK-ASYNC, SMB2-LOCK-CANCEL, SMB2-LOCK-CANCEL-TDIS, SMB2-LOCK-CANCEL-LOGOFF
RAW-ERRORCODE -> SMB2-LOCK-ERRORCODE
RAW-CHANGETYPE -> removed, no longer relevant
RAW-ZEROBYTELOCKS -> SMB2-LOCK->ZEROBYTELENGTH
RAW-UNLOCK -> SMB2-LOCK-UNLOCK
RAW-MULTIPLE_UNLOCK -> SMB2-LOCK-MULTIPLE-UNLOCK
RAW-STACKING -> SMB2-LOCK-STACKING
BASE-LOCK ported as:
BASE-LOCK-LOCK1 -> SMB2-LOCK-ERRORCODE, timeout is no longer relevant
BASE-LOCK-LOCK2 -> SMB2-LOCK-CONTEND, SMB2-LOCK-LOCK, SMB2-LOCK-CONTEXT
BASE-LOCK-LOCK3 -> SMB2-LOCK-RANGE
BASE-LOCK-LOCK4 -> SMB2-LOCK-OVERLAP
BASE-LOCK-LOCK5 -> SMB2-LOCK-STACKING
BASE-LOCK-LOCK6 -> SMB2-LOCK-CANCEL, change_locktype no longer relevant
BASE-LOCK-LOCK7 -> SMB2-LOCK-RW-SHARED, SMB2-LOCK-RW-EXCLUSIVE
commit 7f14388721fdfdc4d5e3d36dd5071a0993695815
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Wed Nov 18 17:51:35 2009 -0800
s4/libcli: rename previously reserved field in SMB2 LOCK struct
The lock.in.reserved field has been renamed lock_sequence in the
SMB 2.1 dialect. See MS-SMB 2.2.26.
commit 65a611ec7299ba992d16dff69da47b1b8e16241d
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Wed Nov 18 16:35:16 2009 -0800
s4/libcli: Initialize client PID for SMB2 connections
Set the SMB pid to the Unix pid of the client process.
commit 95108f1c60aaa0407aa4eb8c9a567e90302253c6
Author: Günther Deschner <gd at samba.org>
Date: Wed Nov 25 21:34:55 2009 +0100
s3-registry: fix REG_MULTI_SZ handling in registry_push_value.
Catched by smbconftort test on the buildfarm.
Guenther
commit c438b2b3923db66672ec82e795eef543de5fcb8a
Author: Günther Deschner <gd at samba.org>
Date: Wed Nov 25 21:33:48 2009 +0100
s3-kerberos: add check for prerequisite krb5/krb5.h header while checking for krb5/locate_plugin.h.
(Needed for new Heimdal versions).
Guenther
commit 7ed6f9f0960885366800b1ca2ce9558414b62d54
Author: Jeremy Allison <jra at samba.org>
Date: Wed Nov 25 10:20:38 2009 -0800
Fix bug 6892 - When a chown operation is issued via Windows Explorer, all ACLS are wiped out.
Merges existing DACLs when a ACL set operation comes in with only owner or group values set.
Jeremy.
commit 947c47f2819ff30d3c69bfbeb4b1932467b36cce
Author: Jeremy Allison <jra at samba.org>
Date: Wed Nov 25 09:58:45 2009 -0800
Fix crash due to uninitialized pointer (not a problem in 3.4.x or below).
Jeremy.
commit 51864219cc12ceb66c281355f3e1191d5e32842d
Author: Günther Deschner <gd at samba.org>
Date: Wed Nov 25 15:21:54 2009 +0100
nsswitch: fix compile of winbind_krb5_locator with recent Heimdal versions.
Guenther
commit 660ee2e74523194e5f6b2b6428d76628beb74717
Author: Günther Deschner <gd at samba.org>
Date: Wed Nov 25 15:06:19 2009 +0100
cifs.upcall: 2nd part of fix for Bug #6868: support building with Heimdal we well as with MIT.
Guenther
commit 17caf63640b344aec304eca9cc527f32f88ae308
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Nov 25 08:15:31 2009 -0800
s3 selftest: Add RAW-SFILEINFO-END-OF-FILE to selftest
commit af610a6f263994e7a0ded8acf0fa9237d5b7d366
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Nov 24 16:48:16 2009 -0800
s3 setfileinfo: Open with FILE_WRITE_DATA when setting the file size
This matches what is outlined here:
http://msdn.microsoft.com/en-us/library/ms804363.aspx
This is also inline with how winXP/win7 handle this. See
RAW-SFILEINFO-END-OF-FILE* in smbtorture4.
commit b6f972222f271263f68cf5ead8bb0daca08158fa
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Nov 25 08:03:36 2009 -0800
s4 torture: Change RAW-OPLOCK to use the documented version of SET_END_OF_FILE_INFO
The passtrhough version of SET_END_OF_FILE_INFO is tested in
RAW-SFILEINFO-END-OF-FILE.
Additionally, the first opener is changed to use SHARE_WRITE for the
share mode since SET_END_OF_FILE_INFO actually writes data to the file
via truncating/extending.
commit 98f595036e196dd61340fef0faf63ca762a25307
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Nov 25 08:17:13 2009 -0800
s4 torture: Allow onefs to be checked like samba3 and samba4
This is needed for the new RAW-SFILEINFO-END-OF-FILE test to
differentiate what appears to be a windows bug.
commit 6074a058df3e637ad5eb333b278d89cd1be5a8c0
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Nov 24 16:29:19 2009 -0800
s4 torture: Add two new setfileinfo tests
These tests expose a potential bug in winXP, win7, and likely others.
There is also a bug in samba where share modes aren't being enforced
where they should.
For more details see:
http://lists.samba.org/archive/cifs-protocol/2009-November/001130.html
commit ce9ac3a685e2a23b30952bf20dbe3f9bf24dfaaa
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Nov 24 16:25:02 2009 -0800
s4 torture: Split up the torture suite setup for RAW-SFILEINFO
A side effect of this change is that RAW-SFILEINFO now runs the whole
suite instead of just the first test. I changed the name of the first
test to RAW-SFILEINFO-BASE and changed all of the selftest scripts
that call it.
commit 56eca756719fcec019588ccde6f9ae53cb94cff6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 25 19:17:50 2009 +1100
The start of a WHATSNEW for Samba4 alpha9
If you think what you did is missing, please edit. Release of alpha9
will be this week.
Andrew Bartlett
commit c16e96e46f5301a7fe897ed0451fd4bb788fee14
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 25 18:49:42 2009 +1100
s4:dsdb Make samba_dsdb easier to use in upgrades - assume default values
commit 7de2a49f28f6d9fa26e004cf15f4756397d0ea07
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 25 17:48:29 2009 +1100
s4: update valgrind suppressions for use on build farm
commit 6eb262f0e8213415cfe425968c3e344a5d56e179
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 25 15:30:20 2009 +1100
libcli: allow ntstatus.h to be used by openchange
apparently ntstatus.h is used by openchange, but they don't include
replace.h. This makes that possible again.
commit fed8b652bf4e66b893f3fe230e2fe9bdbed3f94f
Author: Matthieu Patou <mat at matws.net>
Date: Tue Nov 24 18:52:36 2009 +0300
s4:upgradeschema.py Update to reflect recent change in provision
- define which modules we want to use when loading the ldb
- move partition in sam.ldb.d dir
Changes have been suggested by Andrew Bartlett.
(commit message clarified by Andrew Bartlett)
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 604c291bdd4aae8e9be734967db3a0a64c2e0f38
Author: Matthieu Patou <mat at matws.net>
Date: Tue Nov 24 17:02:59 2009 +0300
s4:upgradeschema.py Cleanup
- remove some useless comments
- remove hardcoded paths
(commit message clarified by Andrew Bartlett)
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 1ad23832cfafd46f83ac406006ff175900b81d00
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 24 16:40:08 2009 -0800
Remove call into reduce_name if case sensitive. This allows us to pass
RAW-CHKPATH when case sensitive = yes, but isn't the correct way to do
it. I'm testing a larger patch to smbd/filename.c that should fix this
correctly, and will add a torture test to ensure RAW-CHKPATH is run against
a case sensitive share once this is done.
Jeremy.
commit a6e8e87c5532687c858d12c2628ecee70729bc71
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Nov 24 22:24:00 2009 +0100
s4:installmisc - install also the new "domainlevel" tool from the setup dir
commit f299c19aa8bb731c66c14b7c061d1fc82cc199d0
Author: Brian Lu <brian.lu at sun.com>
Date: Tue Nov 24 22:10:22 2009 +0100
s4: Check SUN compiler and remove "-fullwarn" when using it
This option is only supported by "gcc".
For details consider https://bugzilla.samba.org/show_bug.cgi?id=6905
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit b2dd546f01425ff17008d3b0b0c36f754e6f3eec
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 24 14:05:56 2009 -0800
Allow us to pass RAW-CHKPATH with FILE_FLAG_POSIX_SEMANTICS set or with
wide links = no.
Jeremy.
commit 187ef6b482273244d3b5b716881ab7b5d328cbc1
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 24 13:02:34 2009 -0800
Fix make test. Only do POSIX case conversion if FILE_FLAG_POSIX_SEMANTICS set. Doh !
Jeremy.
commit 9e852a1759e87d708885b690f78cdd11080f8b6e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Nov 24 20:30:07 2009 +0100
Revert "s4-netlogon: always set the dNSHostName in GetDomainInfo"
This reverts commit 87b6f2e863c6e117643ab6704e50167e849b69cc.
This was the cause of the breakage of the "LogonGetDomainInfo" testsuite. I
think my behaviour is more correct to Windows Server since the test works
against it (at least release 2003 R2).
One problem I discovered is that freshly joined workstations don't get their
DNS name into the directory. Therefore I think also another part (maybe another
RPC call) is able to do this.
commit 4825df832336b0b7e8248856e3676dba3640863b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Nov 24 19:44:18 2009 +0100
s4:ldap.py - fix the schema update test on Windows Server
Apparently Windows Server (2003) doesn't like the comma delimiter here. I got
always error 16 ("LDB_NO_SUCH_ATTRIBUTE"). With this change the test works
again.
commit e77c0f1b505832043074758d3a468dc782a7b438
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Nov 24 19:17:08 2009 +0100
s4:libnet_become_dc - fix typo
commit de63a5ad91eabb22c58338779ddb4bc16ab647ac
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 24 16:51:30 2009 +0100
s3: Always try SamLogonEx
Required for cluster systems working in a Samba domain. With NT4 this won't
work, but real NT4 DCs should not be around in environments that pay big bucks
for a cluster... And if they are, they can always install a Samba DC trusting
that NT4 domain.
commit e92470d4427bda74537c4ecf79a7e888a1e16963
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 23 15:31:58 2009 +0100
s3-spoolss: re-arrange driver info level fillup functions.
Guenther
commit 846aa18648f3b34ab5cbc4dc4ba334bbedeab2f4
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 24 15:22:04 2009 +0100
s3-spoolss: fixes for _spoolss_EnumPrinterKey client and server.
Thanks Metze for review!
Guenther
commit 2707dfb441801e753c74657f20b5ca22a274778f
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 24 15:26:32 2009 +0100
s3-registry: use push_reg_multi_sz() in registry_push_value().
Guenther
commit d4e06596d50e008425b9d346c3814a03eea8309a
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 24 15:26:08 2009 +0100
s3-registry: remove reg_pull_multi_sz().
Guenther
commit be90385a0b1f8a29c5d181d26c0844f314d04ea7
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 24 10:59:09 2009 +0100
s3:torture: use timeval_current/timeval_elapsed instead of start_timer/end_timer
metze
commit 0610f547aa5329b31f05408607d17dba68057b56
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 24 10:41:40 2009 +0100
s3:torture/nbio: use timeval_current/timeval_elapsed instead of start_timer/end_timer
metze
commit 14d2ca26b3abd0feb20f270c66847b7b2c17cb0a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 24 10:36:52 2009 +0100
s3:dbwrap_torture: use timeval_current/timeval_elapsed instead of start_timer/end_timer
metze
commit 23d81904ebafffebec803c2e43bc645dedc88f8e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 24 10:18:37 2009 +0100
RAW-PING-PONG: use timeval_current/timeval_elapsed instead of start_timer/end_timer
metze
commit a46b63fd98399700183cddb773c85521987ff132
Author: Michael Adam <obnox at samba.org>
Date: Tue Nov 24 11:43:56 2009 +0100
s3:fix the merged build of bin/smbtorture4
Michael
commit 95d0f0aab01fdd751841d57cebe6150cd6fdf80c
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 24 11:36:14 2009 +0100
docs: Fix Bug 6922: Add Registry patchfile for Win7 domain join.
Patchfile from SATOH Fumiyasu <fumiyas at osstech.co.jp>.
Thanks!
Guenther
commit a930e3e4e140a133cb2ab59d20bda9e04b93cd7a
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 23 21:06:54 2009 -0800
Restore NtCreateX case handling with FILE_FLAG_POSIX_SEMANTICS to the way
it worked in 3.3.x and 3.2.x. UCF_POSIX_PATHNAMES may no longer be needed,
as lp_posix_pathnames() being set isn't the same as case handling from
NtCreateX (lp_posix_pathnames() changes the STAT calls to LSTAT, not
the case semantics).
Jeremy.
commit 840cdfa2fabbb48d2f18dc3cea65ff8123bf6ca9
Author: Brad Hards <bradh at frogmouth.net>
Date: Tue Nov 24 13:43:59 2009 +1100
s4:param remove reference to private header from source4/param/param.h
source4/param/param.h has a
param.h is a public header (and parmlist isn't, even if the relative path
could work), so I suggest making it a forward declaration in the header, and
including parmlist.h in the implementation.
(commit message included from e-mail by Andrew Bartlett)
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 3ed0cae14bdf88387abc016d678127d477d760b7
Author: Matthieu Patou <mat at matws.net>
Date: Sun Nov 22 20:51:24 2009 +0300
s4: Fix missing TLS dir when targetdir is not the default one
commit 4b8859840be2aacc90a2779820e08a09c793df3b
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 23 18:00:36 2009 -0800
Remove unused code.
Jeremy.
commit 4f64bc7125014af4871c753c9321e219ee7b4ae9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 24 11:38:41 2009 +1100
heimdal Fix invalid format string
commit 4062d2b3763c65c81bccf74cd2899d8c156ae99d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 24 11:36:34 2009 +1100
s4:dsdb Handle LDAP backends correctly with new samba_dsdb system
The original code had the wrong module names, and use strcasecmp()
incorrectly.
Andrew Bartlett
commit fdb5914b278f19dea20ca9a7ae5e8b9557f5c70b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 24 11:09:30 2009 +1100
s4:provision Move exceptions into a new file
This allows provisionbackend and provision to both raise ProvisionException
commit 5ea6f7977506b2d8da02b4bcd083cc04f267ee4f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 24 11:00:12 2009 +1100
s4:provision Don't bother with a template for the LDAP backend startup script.
commit 625856f2cf784f5ba39929567796d3225e1c6c3f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 24 10:36:28 2009 +1100
s4:provision Move secrets.ldb over to .c file module lists, like sam.ldb
commit 9aeaf31cfe338b0e7f5b7fe243190f38ce09d9ac
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Nov 22 14:59:21 2009 +0100
s4:ldap.py - activate test for operational attributes
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit dcee196f3e5d5673282aaa19fbbb7696d2c1aa0a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 24 10:22:10 2009 +1100
s4:operational LDB module - Prevent the modification of operational attributes
(merged by Andrew Bartlett)
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit cec473e72826af09fdf84eee2731ad0c2b193dfc
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 24 10:18:33 2009 +1100
s4:ldap.py Add tests for subSchemaSubEntry
commit cfad782c9e422f11d6faa5a7e2b1b94400fe04bc
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 24 10:18:02 2009 +1100
s4:dsdb Use new helper function to obtain CN=Aggregate schema DN in schema_data
commit e0b1edf013fec7682903d7190bc221b6f24626c3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 24 10:17:18 2009 +1100
s4:dsdb Return the subSchemaSubEntry operational attribute on every object
commit 7b2bd93635637015eb0bd853c767ac0785e02854
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 24 10:16:56 2009 +1100
s4:dsdb Add function to return the CN=Aggregate schema DN
commit 90d739990a5e17d1f2a7246287b6220534d9aae0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 24 10:15:28 2009 +1100
s4:provision Remove 'operational' from secrets.ldb module list
commit f8bd0559ada056722d7d5ae0286753e7c591650b
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 23 15:01:34 2009 -0800
Proper fix for #6898 - Samba duplicates file content on appending. Pointed out by Volker.Restores the pathname handling for FILE_FLAG_POSIX_SEMANTICS but still prevents the O_APPEND problems. Jeremy.
commit 8353d47e9b2eda9d5711610b672a183eb414c6a3
Author: Michael Adam <obnox at samba.org>
Date: Sat Nov 21 00:48:40 2009 +0100
s3: add dbwrap_torture - a tool to stress test tdb transactions through dbwrap
This can be used to also test tdb transactions on clustered installations
throught ctdb. The test is modeled after the ctdb_transaction.c test program
from the ctdb source code. It runs transactions in a tight loop on a test
database called "transactions.tdb" (by default), increasing a counter in each
iteration. In a clustered environment, a counter is maintained for each node.
Michael
commit 63a801e5c931e401351b02445704800d1103417c
Author: Michael Adam <obnox at samba.org>
Date: Fri Nov 20 17:47:21 2009 +0100
s3:torture: move the torture-specific headers to new torture/torture.h
Michael
commit 632e4afc3611511f78a1d5c45e0a91cd00334d28
Author: Michael Adam <obnox at samba.org>
Date: Fri Nov 20 15:03:59 2009 +0100
s3:idmap_ldap: fix indentation: tab/space mixup
Michael
commit 7ebe5b16416a3a09ff8840ab84079fde022a957c
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 23 10:09:47 2009 -0800
Fix bug #6898 - Samba duplicates file content on appending
Clients using a Windows open call should not be able to set
FILE_FLAG_POSIX_SEMANTICS in an open.
Jeremy.
commit a6142987ac164318f5023eaa91e4e65efada4423
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 23 16:54:34 2009 +0100
s3-spoolss: Fix GetPrinter level 101.
Guenther
commit a1a81ef785b2372bd4aab0304150b0f8b0fac247
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 23 16:34:07 2009 +0100
Revert "s3: Make the implicit reference to Protocol in mask_match() explicit"
This reverts commit e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc.
commit d6e55d8ec0335cd2494ca54f1471fad4e2b69795
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 23 16:34:00 2009 +0100
Revert "s3: Make the implicit reference to Protocol in mask_match_list() explicit"
This reverts commit 1e22899d268ae5a089f941a204413c07ee64fc78.
commit 5c4885a26bbdc1a5086417b63395debd2670db85
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 23 16:33:53 2009 +0100
Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit"
This reverts commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3.
commit 7930206f5c80b15aded213c3f438ff0120fdea2c
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 23 16:33:45 2009 +0100
Revert "s3: Make the implicit reference to get_Protocol in lp_use_sendfile() explicit"
This reverts commit 6a149022976fe6a5579ec9afc7a4d2dcb44dc8af.
commit 0f8e2a6ebb716588e741c2cdd8e9918262fdd4c6
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 23 16:33:26 2009 +0100
Revert "s3: Move the global variable Protocol to struct smbd_server_connection"
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea.
commit 81c46686db36eaffd25c013f19094b01a8406c6a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Nov 23 16:20:07 2009 +0100
s4:ldap.py - Add a check for the generated "schemaIDGUID"
I've forgotten to add this when checking in the reworked SAMLDB module
commit 664bc885d9a7b1be5a9aacc2681ca8774d3324eb
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 23 13:58:23 2009 +0100
s3-winbind: In _wbint_CheckMachineAccount, there is only one child domain ever
commit e8ef799c4b6d8da0104b52ebbbf9d96d2b3a8fe7
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 23 11:54:19 2009 +0100
s3: Move a variable declaration to its only use
commit 401ba9c9cf357d6b420a7401fc1a915871d96f8d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 23 20:30:35 2009 +1100
s4:dsdb Move module configuration from each ldb into samba_dsdb.c
This makes getting the module order correct, the obligation of Samba4
developers, and not system administrators. In particular, once an ldb
is updated to use only the 'samba_dsdb' module, no further changes to the
ldb should be required when upgrading to later Samba4 versions.
(thanks to metze for the suggestion of samba_dsdb as a long-term
stable name for the module)
Andrew Bartlett
commit e297af00fad2032e79f1889fd6d2713932249bb0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 20 12:16:33 2009 +1100
s4:provision Simplify the module list
This makes the member server much more like the DC, the objectGUID
module replaces the repl_meta_data module.
We also generally rework the construction of the list, building a full
list in python, and then transforming it into a string, rather than
playing string concatonation games
Andrew Bartlett
commit 83b41aa959d1c71b26f7e9c327b5956ddfe0a267
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Nov 22 22:21:12 2009 +0200
s4/schema(tort): Refactor DSDB-SYNTAX test for better performance
Test was implemented as a test fixture so that setup/teardown
occurs only once.
This should impact test performace as long as provision_get_schema()
is a slow function (especially when debugging)
commit cf2bb28014b2687bc5d971bf47f57aeb75b600c0
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Nov 22 17:48:32 2009 +0200
s4/schema: Handle Object(OR-Name) syntax in extended_dn_out module
Windows displays attribute values with Object(OR-Name) syntax
in plain DN format when queried through LDAP.
Hence, we need to post-process such values specially
in extended_dn_out.c module so they are always shown as plain DN,
no matter what controls are passed for search request.
commit 1bf31f343c1e01b970a9f887bf7a8bac6334e54a
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Nov 22 14:41:25 2009 +0200
s4/schema: Object(OR-Name) syntax handling for DRS calls
OR-Name syntax through DRS calls looks like DN-Binary syntax
commit bef4e25b1f1c82b49029e7d0d46b386395a4c10e
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Nov 20 03:07:41 2009 +0200
s4/schema(tort): Inject authOrig attribute into schema loaded for tests
commit d03d15d0cb9003fa92be5d6d8dfb5fb652a354ae
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Nov 22 14:46:09 2009 +0200
s4/schema(tort): Add test for Object(OR-Name) syntax
commit aa238ff6ea64b50027542563418d27fab2c3556c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Nov 20 03:15:38 2009 +0200
s4/schema(tort): Test LDB_SYNTAX_DN with extended_dn in [GUID;SID;DN] form
commit 65e95b8aa91cdd4de99bb3b698687e425026021f
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Nov 16 23:49:51 2009 +0200
s4/drs(tort): DSSYNC test to print what is different in drs_msg also
commit 0608d6b125d379221bff801a7bcc1c930bb4ed67
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 23 13:35:32 2009 +0100
s4-smbtorture: fix spoolss_EnumPrinterKey client in RPC-SPOOLSS-WIN.
Guenther
commit 513d6da404fb37f87e5b658198ecfd9e35985353
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 23 12:57:46 2009 +0100
s3-printing: remove duplicate code while cleaning up driver structs.
Guenther
commit 800d6b7820bb949588a799f2835a3d6c07815571
Author: Günther Deschner <gd at samba.org>
Date: Wed Nov 18 15:39:52 2009 +0100
s3-spoolss: move more defines out of nt_printing.h to spoolss.idl where they belong.
Guenther
commit 6364c271c4daff94c641eb9e7030f3c9a7ff1ced
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 17 12:55:45 2009 +0100
s3-printing: remove unused NT_PRINTER_DRIVER_INFO_LEVEL structs.
Guenther
commit ec56895bdec90cc671a0d562749b3caf161dbdf8
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 17 12:54:02 2009 +0100
s3-printing: use spoolss types and structs while getting and deleting drivers.
Guenther
commit 68cc1166d96ac81abce78a7eb60b7b86d0eb4eda
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 16 15:52:31 2009 +0100
s3-printing: use spoolss types and structs while adding drivers.
Guenther
commit d66b7d80d5ae1a0bf2e3d1e6718f569726da7734
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 20 16:33:29 2009 +0100
s4-smbtorture: add tests for spoolss_EnumPrinterKey to RPC-SPOOLSS-PRINTER.
Guenther
commit d464151f3b47c675664f464b1645ca85de663655
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 20 16:34:00 2009 +0100
s3-spoolss: fix spoolss_EnumPrinterKey client and server code.
Guenther
commit 366946f29b58a6efa7acbfe2a74b2ddbad4d32a2
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 20 12:57:13 2009 +0100
spoolss: fix spoolss_EnumPrinterKey IDL.
Guenther
commit 579bb30188eac3393dfa0d72fd825b7acf8444c9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 22 22:38:45 2009 +0100
s3: Fix bug 6338 -- net rpc trustdom list always display "none"
commit 03b6e6e525f574a64e6dfb9f05862ac827e6d645
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Nov 22 15:54:16 2009 +0100
s4:netlogon RPC - Remove trailing whitespace
commit 8b345ef19e18ccfebf102750316976f512fda6ad
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Nov 22 15:51:18 2009 +0100
s4:netlogon RPC - Fix up the error handling
commit 1fb28b0204038e5cef63c2f1fbdc2b5424570e44
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Nov 22 15:50:36 2009 +0100
s4:netlogon RPC - Fix up a comment
Now we have Windows 7 released so don't refer to a beta anymore.
commit 54991cd2e15b797360c112c801b98ec24188da9e
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Sun Nov 22 13:36:35 2009 +0200
Fixed incorrect indentation.
commit e28545e85472c630244205f5c3fae4956089daa3
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 21 22:52:12 2009 +0100
s3: Fix some nonempty blank lines
commit 384f303c2cafa6659c24a62209de846cd5d45d84
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 21 21:36:01 2009 +0100
s3: Remove a struct typedef
commit cf2febf3d1c591effc036a44eb0870aaf95c6848
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 21 20:23:35 2009 +0100
s3: Make alloc_sub_basic() static
commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 21 19:57:41 2009 +0100
s3: Move the global variable Protocol to struct smbd_server_connection
commit 6a149022976fe6a5579ec9afc7a4d2dcb44dc8af
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 21 19:37:27 2009 +0100
s3: Make the implicit reference to get_Protocol in lp_use_sendfile() explicit
commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 21 19:26:25 2009 +0100
s3: Make the implicit reference to Protocol in is_in_path() explicit
commit 1e22899d268ae5a089f941a204413c07ee64fc78
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 21 19:04:34 2009 +0100
s3: Make the implicit reference to Protocol in mask_match_list() explicit
commit e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 21 19:04:34 2009 +0100
s3: Make the implicit reference to Protocol in mask_match() explicit
commit b2db4c51625077569ccc0fdf39471a67c3646066
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 21 19:03:45 2009 +0100
mount.cifs: Fix a const error
commit b79bcd972cd028a494603f7254d3a266904be2d1
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 21 16:17:16 2009 +0100
s3: Fix some nonempty blank lines
commit 97525d0a0e7e101cad5cbc218aed7fed982f30cc
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 21 16:15:16 2009 +0100
s3: Avoid two calls to strcmp()
commit e6f95967cc0a4877d62b7656882bbed920b02b2e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 21 16:10:52 2009 +0100
s3: Fix a bool/enum mismatch
commit ae1e949810b3546807b5f88e366970263226d7e0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 19:49:56 2009 +0100
s4:lsa RPC - Fix type of variable "atype"
This is an unsigned 32bit integer.
commit 7d5367fc99a559b19efed11c9c7a0f24c593606d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 19:25:42 2009 +0100
s4:samr RPC - Use more LDB constants
commit e8e76eb83acaf3095d6acb9c930fc2d10396efd4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 19:46:25 2009 +0100
s4:lsa RPC - Use more LDB constants
And fix an obvious bug (call of "samdb_msg_add_delete")
commit e00281d1f15d342bdfe850d30694e67749075a5d
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Sat Nov 21 18:40:51 2009 +0200
Implemented LDAP_SERVER_SD_FLAGS_OID on search requests.
commit e406c17b2fce57fff112354df5f5bd1a4655b3d6
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 17:33:04 2009 +0100
s4:torture/smb2/oplock - Remove unneeded "status" redeclarations
commit ec4936077878e7bcbf1addfdc69a9f737e9c98f3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 17:32:07 2009 +0100
s4:torture/smb2/notify - Rename nested "fname" variable to prevent warnings
commit 5dc478e390ce18c6e40ec398977854f8a7d0d13d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 17:23:31 2009 +0100
s4:torture/raw/unlink - Remove unused variable and label
commit 28423114ecd418d312049aa11072baddad296001
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 17:22:07 2009 +0100
s4:torture/rpc/netlogon - Fix uninitialised variable
commit 37e4e387db869600b68d28d4d7b5290fe8b110ae
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 21 13:46:52 2009 +0100
s3: Convert cli_get_fs_attr_info to the async API
commit 5a1606269aeeeb1b777974d88c33df543d1b6f4d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 15 22:22:38 2009 +0100
s3: Tune if-conditions in a very hot codepath
This looks innocent, but it is visible in a netbench run. Due to boolean
short-circuiting we don't have to execute the conditions on the right-hand side
of the &&. So putting the less likely condition left gains a bit.
commit 91ccaa87da9a5f8148636b0771fe1c67317187d3
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 16 08:54:55 2009 +0100
s3: Remove a pointless memset
We are assigning the complete structure now (we used to assign individual
fields), so this is obsolete.
commit f0a933d1408678fabc856e89a5aaebb792047de3
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 16 09:40:47 2009 +0100
s3: Cache brlock.tdb entries for the fast read&write strict locking code path
For a netbench run this gains around 2% user-space CPU, fetching a 100MB file
takes around 4% less.
commit bda1c701f418d3263d36714f9b646ab60ea2da0f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Nov 18 08:53:22 2009 +0100
s4:WINREG RPC server - Cosmetic
commit 43ed7a413dec10adc8cc4ede09132441b5ba2267
Author: Kai Blin <kai at samba.org>
Date: Wed Nov 18 11:26:57 2009 +0100
ntlm_auth: use data_blob_talloc() to allocate session key
Thanks to Shibu Piriyath <shibunair80 at ymail.com> for spotting the issue.
commit 54ba3f522bd26919183278643b417e9632524be9
Author: Jeremy Allison <jra at samba.org>
Date: Fri Nov 20 17:23:20 2009 -0800
Fix logic bug where high bits tests was being
done on both Windows and POSIX mkdirs instead of
only on Windows mkdir (as intended). The variable
"file_attributes" had already had FILE_FLAG_POSIX_SEMANTICS
removed above in the function if it had already been set.
Jeremy.
commit 446ed18eb6eeec06b4f81aaf89f75db32472defb
Author: Michael Adam <obnox at samba.org>
Date: Sat Nov 21 00:14:29 2009 +0100
s3:fix endianness bug in dbwrap_change_int32_atomic() (bug #6901)
Michael
commit 4afffc96ee7ed81c4d77b28da887fcb51f1b3579
Author: Michael Adam <obnox at samba.org>
Date: Sat Nov 21 00:08:38 2009 +0100
s3:fix endianness bug in dbwrap_change_uint32_atomic() (bug #6901)
Michael
commit c1cb1f7724bd9c6e1862e59b71fc3f5375d6ff3e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Oct 16 19:03:57 2009 +0200
charset/tests/iconv - Remove the "const" from "ptr_in" to prevent "discard_const_p" use
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 9776cb03450d21da5d454e683bdba29793ba3f67
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Oct 16 19:02:02 2009 +0200
tdb tools: Mostly cosmetic adaptions
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 94c33bdd72e22a9bb9e51b6acc15ae23087628e4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Oct 16 19:06:29 2009 +0200
util/strlist: Fix up "const" warnings in the string list and test code
This work I did using suggestions by Jelmer.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit eea5a166e766669b6945bb62c9202fb385179cd1
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 20 12:54:19 2009 +0100
s3-build: delete more object files for "make clean".
Guenther
commit 4abd85898d5024fd1f19337ce286a133af6638b4
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Fri Nov 20 14:55:31 2009 +0200
Cosmetic patch - fixed case of attribute name.
commit aafbe63954b558c73c25bd42913c1ad24aee4595
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Nov 20 12:54:49 2009 +0100
s4:min_versions: require ldb 0.9.9
metze
commit e53e23a7ddc501e591daa70f168becb4e6d64f7e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Nov 20 12:53:56 2009 +0100
s4:lib/ldb: change version to 0.9.9 after some critical index fixes
metze
commit ae4795de696607dde0ffb8d997f67f7845e1a4ba
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Nov 20 12:37:03 2009 +0100
librpc: rerun "make idl"
metze
commit 2cd88197f80eaeb2070b248551a22a3488c89d8d
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Nov 20 12:19:35 2009 +0100
Revert "Work around ndr_unpack failing on structures with relative pointers."
This reverts commit c2cdb4ad5c9398ef0d3310613107999f8d33c7ce.
It's not needed anymore.
metze
commit 05850d1894d83897f7699660839c1be28e28406c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Nov 20 12:11:41 2009 +0100
pidl:NDR/Parser.pm: update ndr_pull->relative_highest_offset after handling relative pointers
metze
commit 4b6c03a108c45793232697d0558a98268028646e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Nov 20 11:34:53 2009 +0100
librpc/ndr: remember the highest offset we parsed with relative pointer buffers
ndr_*_pull_blob_all() will now work if relative pointers are used.
metze
commit 7153200f21e1f30ba0ca7d629cc2c4e187ba605f
Author: Michael Adam <obnox at samba.org>
Date: Fri Nov 20 12:44:43 2009 +0100
s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_db_init
When idmap backend is specified as
idmap backend = ldap:"ldap://server1 ldap://server2"
then currently "ldap://server1 ldap://server2" was passed to
ldap_initialize including the quotes, leading to an ldap error.
Michael
commit 6a59db9a2e4c1552bbdd1531b602661d6e199829
Author: Michael Adam <obnox at samba.org>
Date: Fri Nov 20 12:38:44 2009 +0100
s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_alloc_init
When idmap alloc backend is specified as
idmap alloc backend = ldap:"ldap://server1 ldap://server2"
then currently "ldap://server1 ldap://server2" was passed to
ldap_initialize including the quotes, leading to an ldap error.
Michael
commit 7c8b34657a19c96bbeb2181cd194f323a6827365
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Fri Nov 20 13:25:13 2009 +0200
Implementation of LDAP_SERVER_SD_FLAGS_OID on modify requests.
commit a760f169f4936d7e2677db9229181e2c5ac23bcd
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Fri Nov 20 13:22:38 2009 +0200
Some changes to allow processing of ldap controls on modify requests.
ldap_backend used to filter out ldap controls on modify. Also, modified
python binding for ldap_modify to allow writing tests for such controls.
commit 07e971f1c169387af806af05aa60b6d021feb898
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 20 12:03:06 2009 +0100
s4:ntvfs/posix/pvfs_acl - Remove unused variable "token"
commit 5ca0a4bfd6fdbb515835682a12f715283b46cb3e
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Nov 19 09:49:03 2009 +0100
tdb: change version to 1.2.0 after adding TDB_*ALLOW_NESTING
metze
commit 3b9f19ed919fef2e88b2f92ae541e07bc7379cd1
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Nov 19 09:34:05 2009 +0100
tdb: add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behavior
We need to keep TDB_ALLOW_NESTING as default behavior,
so that existing code continues to work.
However we may change the default together with a major version
number change in future.
metze
commit 436b55db1ff238ec467b07a74b088f6fcfaf927c
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date: Mon May 25 17:04:42 2009 +1000
New attempt at TDB transaction nesting allow/disallow.
Make the default be that transaction is not allowed and any attempt to create a nested transaction will fail with TDB_ERR_NESTING.
If an application can cope with transaction nesting and the implicit
semantics of tdb_transaction_commit(), it can enable transaction nesting
by using the TDB_ALLOW_NESTING flag.
(cherry picked from ctdb commit 3e49e41c21eb8c53084aa8cc7fd3557bdd8eb7b6)
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 85449b7bcc4bd7948bea38b5514a02357950a002
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Nov 19 09:38:48 2009 +0100
tdb: always set tdb->tracefd to -1 to be safe on goto fail
metze
commit 92eff41ca52858124982b7db5e30c5321a16019d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 20 15:19:35 2009 +1100
s4-dsdb: some more attribuutes that we should only give if asked for
commit 18cacc506e24e9017513501cac2ff9b5ca304bd5
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 20 14:57:04 2009 +1100
s4-drs: we need to specifically ask for ntSecurityDescriptor
ntSecurityDescriptor is no longer included by default
commit 51a59e8f9ed930eaa8f2936972b810fdd0acccbd
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Nov 19 16:03:59 2009 -0200
s4-ldb: added a warning about ldb_msg_add_dn
ldb_msg_add_dn does not copy the dn linearized string
commit 1169dd3b50dfefa59b56cd1897bcd0b6c2ffb3be
Author: CrÃstian Deives <cristiandeives at gmail.com>
Date: Thu Nov 19 16:03:59 2009 -0200
added new function "ldb_msg_add_dn"
a helper function to a DN element to an ldb_msg using ldb_msg_add_string.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit f3f0c8e2ce9fe315848d15eeb289eae9fb525a3a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 20 14:19:18 2009 +1100
s4-dsdb: removed attributes that should not be displayed by default
Some attributes (like ntSecurityDescriptor) are stored in our db, but
should only be displayed if asked for. This also applied to parentGUID
from old installs, which is now generated.
commit 086fa79d4d633e2165cae4e4d8e98a96fd5f9166
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Nov 19 15:35:38 2009 -0300
s4-drs: Removes stored parentGUID's creation and renaming
parentGUID is now created on demand in operational.c
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 70d8db86b92c57f7ff736fb6e275a085da92f856
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Nov 19 15:37:45 2009 -0300
s4-drs: Synchronous Implementation of generated parentGUID
This generated parentGUID on demand, rather than getting it from the
database
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 8481581dc4d1795b943a46cabc718e3c558f41aa
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Nov 19 15:28:37 2009 -0300
s4-drs: Utility functions to deal with GUID
dsdb_find_parentguid_by_dn() returns the parentGUID for a given DN
dsdb_msg_add_guid() adds a GUID value to a given message (either
objectGUID or parentGUID).
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit a2707a3248f13a95e1cd7deecdbd2c26226a78b1
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Nov 18 10:44:56 2009 +0100
ldb:ldb_tdb backend/indexes - Outside API
- The outside API contains "DN" string arguments: Bad. Since in this way we
fully rely on the outside calls regarding the right DN format. Solution: Use
always a "struct ldb_dn" entry. Since this one is interchangeable and we can
handle it in our preferred way.
commit afb70f9176563e2d96886c086ec7d57bf78393b2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Nov 18 10:44:56 2009 +0100
ldb:ldb_tdb backend/indexes - DN comparison
- DN comparison: The function doesn't seem that efficient. I "upgraded" it a bit
to be more powerful (added a second length check and do both before the string
comparison)
commit dda28a9a787c31426f6d653dbdb5a0585b3dc25f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 20 12:09:24 2009 +1100
s4-dsdb: make sure mod_usn list is zeroed on each transaction
commit 47923ea5071ba6dca842edb8eb124030576fd4ca
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 20 11:47:54 2009 +1100
s4-ldb: added a double-rename test
This tests the fix for double rename/add and indexing
commit c99b3100632227dd32c11676b76343f2523cf0de
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 20 11:34:24 2009 +1100
s4-ldb: when -v is specified, show progress of ldbadd/ldbmodify
This is useful for speed tests with large numbers of records.
commit 79a43fb74313d9ae88d72709e46ab385906af136
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 20 11:33:43 2009 +1100
s4-ldb: make ldb tools line buffered
this prevents output being buffered when redirected to a file. Useful
for larger ldb command line operations
commit 3b96d08b299e2fc20fa1c860fcc37fa1a02a72b5
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 18 21:56:24 2009 +1100
s4-ldb: fixed an issue in rename/modify indexing
When we rename or modify a record, we need to update the indexes at
the same time. It is important that we use the DN of the actual
message that is stored in the database to do this, not the DN that was
passed in by the user. If the two differ in case then the index
records needs to use the 'real' record DN, as index handling is
currently case sensitive.
commit 2e46df492ccbfd327e2d37e3951ec995a09c9a7e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 18 13:27:50 2009 +1100
s4-ldb: allow ldap.py test suite to run directly against a file
This makes it much easier to debug (as you can break in the ldb
modules by running gdb on /usr/bin/python)
commit 5cd8b0e8f728db4f03e66ca9994d3c234e2ac944
Author: John H Terpstra <jht at samba.org>
Date: Thu Nov 19 15:41:59 2009 -0600
PC Oota Edits.
commit c4c984d97d45964e91625f69d7216cc68444ba3f
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 19 17:22:27 2009 +0100
s3: Avoid races to change the machine password in winbind
The machine password handler has code to deal with every node in the cluster
trying to change the machine password at the same time. However, it is not very
nice to the DC if everyone tries this simultaneously. This adds a random 0-255
second offset to our timed event. When this fires a bit later than strictly
calculated, someone else might have stepped in and have already changed it. The
timed event handler will handle this gracefully, it won't even try to do it
again.
commit 882350b0abe87ca7b3542996acfabc6d4bff5509
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 19 17:20:47 2009 +0100
s3: Protect against flooding the DC with pwchange requests
When there is a temporary problem changing passwords we flooded the DC with
pwchange requests. This gives the DC a 60-second break to recover.
commit 4d0ebc90dce05a66736c070d97d01c4167265a9a
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 19 17:14:40 2009 +0100
s3: Re-check the timeout in machine_password_change_handler()
Someone else might have come in between and changed the password since we
created that timed request
commit d0ef9fbce63472411a20f26c0804322a07b28919
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 19 17:11:32 2009 +0100
s3: Add some debugs to the winbind machine pwchange machinery
commit d3d37acb998672dc9d2f36927151cce8393b6d44
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 19 11:50:13 2009 +0100
s3: Factor timeval_string out of current_timestring()
commit d4312e776b70e63554dd31ec7da242dfcc62c137
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 19 17:56:46 2009 +0100
s3: Do not kill the whole smb session if a machine pwchange failed
commit 557535302c260a2f6102411d7d884eb0f83696c7
Author: Michael Adam <obnox at samba.org>
Date: Mon Nov 16 11:01:53 2009 +0100
s3:pdb_ldap: fix a comment typo
Michael
commit 457055871af86567acc122fb0309c2db9517879a
Author: Michael Adam <obnox at samba.org>
Date: Mon Nov 16 11:37:18 2009 +0100
s3: shortcut uid_to_sid when "ldapsam:trusted = yes"
The normal uid_to_sid behaviour is to call sys_getpwuid()
to get the name for the given uid and then call the
getsampwnam passdb method for the resulting name.
In the ldapsam:trusted case we can reduce the uid_to_sid
operation to one simple search for the uidNumber attribute
and only get the sambaSID attribute from the correspoinding
LDAP object. This reduces the number of ldap roundtrips
for this operation.
Michael
commit fc9f199f2619635f73e8ee7f3b5359521d63f325
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 19 13:44:33 2009 +0100
s3-build: really fix build of winbind_krb5_locator.
Guenther
commit bf45447aaa35ee3b26fe76af3c73a77d7b10c2ac
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 19 13:39:24 2009 +0100
s3-build: make sure to remove libds and client object files on make clean.
Guenther
commit 3a8393c8aaead601b22548ab06207b18e14ad7d8
Author: Endi S. Dewata <edewata at redhat.com>
Date: Wed Nov 18 16:47:07 2009 -0600
s4:ldbcli - Added encoder/decoder for relax control.
commit d1c34d405421e2969d6cf4fc7438f783e7d6b0a5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 15 10:46:23 2009 +0100
s3: Replace some create_synthetic_smb_fname() calls
In very hot codepaths like the statcache copy_smb_filename and the subsequent
recursive talloc_free is noticable in the CPU load.
commit f6650f5d19ad90b8e1f392efbe211c4ffa0e70c0
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 16 09:49:23 2009 +0100
s3: Do not talloc in readdir
This is a hot codepath (called from the stat cache)
commit aea3a8f50131744f8393d0179cd04a1b97982028
Author: Michael Adam <obnox at samba.org>
Date: Wed Nov 18 15:19:09 2009 +0100
s3:load_interfaces(): use function gfree_interfaces() that we have.
To reduce code duplication.
Michael
commit 6178c17e09a5aed968dac49b16ed0b59750aef1c
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Wed Nov 18 18:47:29 2009 +0200
Added control copying for message types other than ldb_search.
When ildap created a new message to forward, it only copied controls for ldb_search
requests. This caused controls for add and modify to be lost in transition
and tests for them could not be implemented.
commit da8aba53d61496d0df2bd32f92030cdee0300f2f
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Nov 18 13:05:24 2009 +0100
s3/docs: Add "max protocol = smb2" to man smb.conf.
Karolin
commit 054833a892cdbf3ef4efbd8eec468cf4b287c95d
Author: Kai Blin <kai at samba.org>
Date: Wed Nov 18 11:43:01 2009 +0100
README.coding: Update rules about code blocks and braces.
commit 61f5adb25600392b262273d208613e8229f6389a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 17 15:27:29 2009 +0100
selftest: Subunit/Filter.pm only allow expected failures without errors
metze
commit fb685d3a8afed4c14f5e7a17ef58225c2946ed67
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 18 08:20:29 2009 +0100
s4:selftest: mark samba4.smb2.lock.*.VALID-REQUEST as known failure
metze
commit c2a29967ea0395460583edbbb91d04f897fee81d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 18 08:12:48 2009 +0100
SMB2-LOCK: make use of torture_assert_*()
This is needed in order to mark tests as known failures.
metze
commit 77f335042b01fcef0bbe09e1070528c00b523063
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 18 08:11:46 2009 +0100
s4:ntvfs_generic: check for valid SMB2_LOCK flags
metze
commit 575967a5cf2f512ae25e5376bb49b133c6d5fc2d
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 17 16:58:11 2009 +0100
s4:selftest: fix logic for --option=torture:progress=no
metze
commit 63ff7a8db15b4de906093ea793721f99a93692b6
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 17 15:23:39 2009 +0100
s4:torture/test_gentest.sh: make use of the PREFIX argument
We should not use hardcode pathes!
metze
commit 35775c24d36c8359d3564fee7c7c5b3c6086213b
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 17 16:59:20 2009 +0100
selftest: ignore empty lines in knownfailures
metze
commit 053fa03cd74bc6eeeaea0f21baa3680ef9e21ebe
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 17 17:30:14 2009 +0100
selftest/output/plain.pm: report the testuite name on error
metze
commit e3032d5fc8c77aae9de990d40eac764f14376d2f
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 17 12:03:54 2009 +0100
s4:selftest: for now skip the BASE-DELAY-WRITE test completely
This test randomly fails depending on the timing
(the tests are too strict with the values introduced in
commit 0fca2b078ceb314e429e24e3318b50451ccf423b)
and local filesystem features (timestamp resolution).
metze
commit e67445b7f714ed2c04cd684dc6171d2cf7c6345a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 17 11:59:21 2009 +0100
s4:selftest: avoid running the slow BASE-DELAY-WRITE test on the cifs proxy share
It's enough to run it on the posix share.
metze
commit b4c916c492566611afd1bfb19b366f4fff5043a3
Author: Stefan Metzmacher <metze at sernet.private>
Date: Mon Nov 16 16:54:53 2009 +0100
s4:selftest: add "rpc.netlogon.*.GetDomainInfo"
We need to expand the test to work against w2k8 and w2k8r2...
metze
commit e73b790c04d8deea724f442234f0a6b790537268
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Nov 18 12:46:45 2009 +1100
fixed the build
whoever pushed 15d93a5d8e21893e1cca5c989dbf97010aae1622, please check
that what you push compiles and passes tests. In this case it didn't
compile.
commit 15d93a5d8e21893e1cca5c989dbf97010aae1622
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Tue Nov 17 15:30:11 2009 -0800
s4/torture: Port SMBv1 Change Notify tests to SMBv2
* Ported all tests from raw/notify.c to smb2/notify.c
* Parameterized the max_buffer_size so it can be set on a
per-target basis.
* Fixed CHECK macros to use torture_result
* Created a SMB2-NOTIFY test suite
commit 74471387e03c9a0b12198275826ee56ee68994ab
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Tue Nov 17 15:24:40 2009 -0800
s4/libcli: add a FILE_NOTIFY_CHANGE_ALL macro
This macro encompasses all possible file notifications that can
be raised.
commit f7e3809d66c54e26a7b8f8bc93b530bc9fc35f40
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Tue Nov 17 15:23:23 2009 -0800
s4/torture: add a new ulong parameteric torture option
commit c14b0cea488f78fc2fb88646d0cc674c6154c008
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Fri Nov 13 15:13:19 2009 -0800
torture/smb2: make SMB2 BRL tests pass against W2K8R2
The BRL tests previously based their results off several bugs in the
W2K8 byte range lock code. I've fixed up the tests to pass against
Win7 which has fixed these bugs, and assume that the Win7 behavior
is the default.
I have inverted the test behavior for >63-bit lock requests. The
tests previously expected NT_STATUS_OK as their default in this
case. I've changed that default to expect STATUS_INVALID_LOCK_RANGE.
This may requires some changing of make test to compensate.
I've also removed a few test scenarios from VALID-REQUEST in preparation
of replacing them with separate tests ported from RAW-LOCK.
commit 7407b526e3214287a8f42073044e2ebab058198a
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 17 16:06:08 2009 -0800
Start removing SMB_STRUCT_STAT variables except for
the directory enumeration code (which needs it).
Jeremy.
commit a770caed0ff66ddc2d63ac83d20f4cd7fcc2caf5
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 17 14:55:02 2009 -0800
Remove "store create time" code, cause create time to be stored
in the "user.DOSATTRIB" EA. From the docs:
In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store
the create time for a file as well as the DOS attributes. This is done in a backwards compatible
way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this
extended attribute by earlier versions of Samba, but they will not be able to read the create
time stored there. Storing the create time separately from the normal filesystem meta-data
allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem.
Passes make test but will need more testing.
Jeremy.
commit a31838eb3c40f4b70c629f94620f435214e414d4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Nov 17 19:56:14 2009 +0100
s4:WINREG RPC server - remove a "talloc_free"
I assume that this "talloc_free" isn't necessary since the DCERPC server frees
the handle itself (we got always warnings about this).
commit 5c6c2619fb3c4b974c0acb8c29af0dca0bbcf7e1
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Nov 17 19:46:59 2009 +0100
s4:provision_users.ldif - Descriptions generally begin with a majuscle
commit dea569dc8684c660074451779f35fd7e109d6810
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Nov 17 19:22:00 2009 +0100
s4:SAMLDB DSDB module - Add "\n"s on debug messages
commit c4a70550b3022e75b799eaa56477e8deaff34913
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Nov 17 18:45:17 2009 +0100
s4:SAMLDB DSDB module - Remove "\n" in LDB error messages
abartlet suggested me to not use anymore "\n"s in those kind of outputs.
Plus, enhance a search filter to consider also "builtinDomain" objects which
are basically domain objects too.
commit a97460d657c50724e262a9c18b79fec56b275154
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Tue Nov 17 17:10:23 2009 +0200
Fixed incorrect SID for RAS Servers.
commit b1ed9a8963844bbc80210cf108d491a47b5029a7
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 17 15:15:35 2009 +0100
s3: Fix the build on Solaris
commit 4532f683a768462b069264577afb4f301a75f4ef
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Nov 16 19:41:46 2009 +0100
s4:dsdb/schema: let schema_supclasses() return the correct pointer
str_list_unique() changes the pointer via talloc_realloc().
metze
commit 2fb6acd2d7545ff474dc5588287ddbe9ee6cdbbe
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Nov 16 19:41:05 2009 +0100
librpc: rerun "make idl"
metze
commit 66198b085aafdf12a15e80771bd7468d7465532a
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Nov 16 19:38:32 2009 +0100
netlogon.idl: fix ndr_pull_netr_DatabaseRedo()
We can't use subcontext_size() here, as
change_log_entry_size is encoded after the subcontext.
metze
commit 475015507172f708f295ff29e1feaec08a6476e0
Author: Stefan Metzmacher <metze at sernet.private>
Date: Mon Nov 16 18:00:42 2009 +0100
s4:selftest: use "dc:local" instead of a hardcoded config file
If a tests needs access to the dc's config, it should run
as "dc:local", then it can also access unix named pipes...
If we pass a hardcoded config file the test fails if you use
a selftest_prefix.
metze
commit 39072c70d2656e62576a4f82238cdefc79ef2124
Author: Stefan Metzmacher <metze at sernet.private>
Date: Mon Nov 16 16:53:51 2009 +0100
s4:selftest: allways start with $(ST_RM)
metze
commit 068d4336d6ed2671f60fff9f270c2b506d7f09a2
Author: Stefan Metzmacher <metze at sernet.private>
Date: Mon Nov 16 16:48:18 2009 +0100
s4:selftest: place summary file into selftest-prefix
metze
commit 259c1d73bf1d9f052ad893bca4e3b4128ea89bfb
Author: Stefan Metzmacher <metze at sernet.private>
Date: Mon Nov 16 16:34:13 2009 +0100
selftest: make sure we don't buffer any output
metze
commit 36d0b1fa0deb3c03dff4ad85fad68fc16622b37e
Author: Stefan Metzmacher <metze at sernet.private>
Date: Mon Nov 16 16:27:39 2009 +0100
selftest: Fix unexpected failure handline in Subunit/Filter.pm
We should only mark the testsuite as expected failure,
if there were more than 1 expected failure, but 0 unexpected
failures.
Before we ignored unexpected failures if there was an expected failure
within a testsuite.
metze
commit dc351a579dbdffc5505205d3e1d5548f5e62336e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 17 15:36:48 2009 +1100
s4:heimdal: import lorikeet-heimdal-200911170333 (commit b532c294d974cead40a1183c71be644c6ccc2832)
This fixes up connections to Windows 2003, because the previous import
had a broken arcfour-hmac-md5 implementation (fixed in Heimdal
316fc6ff8ffb0cbb1ef3689685e9977c37405bc4)
Andrew Bartlett
commit b9e262c51261af275db4d0e7e6e2c7318a41bed0
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Nov 16 03:28:01 2009 +0200
s4/drs(tort): Convert DSSYNC test to a test case fixture
Now it should be much more clear why and where a test
in DSSYNC test case has failed.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 442cded430a94c583d147f54075a8814d3cbdab1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Nov 16 11:36:20 2009 +0200
s4/drs(tort): replace DEBUG with torture_asert/comment/fail
I left dumping of decrypted attributes values 'as is'
(using DEBUG and DEBUGADD) as it uses dump_data() function.
dump_data() uses DEBUGADD internally, so I have no way
to redirect its output to torture_context at this point.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit aaff29f5b472468e0ffbfc9bf33eead16bdb111c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Nov 14 15:51:53 2009 +0200
s4/drs(tort): use torture_drsuapi_assert_call() macro for error checking
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 673049142b9f5e002ddbae7b3aeb051b0a6ecdc2
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Nov 12 03:11:58 2009 +0200
s4/drs(tort): replace 'printf' with 'torture_...' calls
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 9e4beef61407cb884cb36577769a08148f1e1eea
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Nov 10 18:12:40 2009 +0200
s4/drs(tort): 'DsSyncBindInfo.pipe' renamed - 'pipe' is a system call
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit b0de5736290376b1b63375df94e480a60b4020b7
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Nov 14 03:56:21 2009 +0200
s4/drs(tort): 'DsPrivate.pipe' renamed - 'pipe' is a system call
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit b13518e4e89f887d01cdc0a52f3288d6ee9e87a1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 17 10:37:04 2009 +1100
s4:dsdb With these workarounds, we now pass the RPC-DSSYNC test
commit 5c3ef6dbaecb032a33351bea04f044ce9fd2fc8d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 16 18:51:17 2009 +1100
s4:provision Split up reference creation, load schema earlier in the stack
The schema needs to be loaded above the extended_dn_out modules as
otherwise we don't get an extended DN in the search results.
The reference split is to ensure we create references after the
objects they reference exist.
Andrew Bartlett
commit e9f4dbce64b29882ae2f2f51cda50805c4e27190
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 16 18:48:46 2009 +1100
s4:schema Add the GUID to each defaultObjectCategory when loading from LDIF
This makes these full extended DNs, so we set the right values into
the database, even before we actually set the schema objects
themselves.
Andrew Bartlett
commit 07953142a4755354a8e76fa217c6cbf1b5dbcf30
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 16 18:46:28 2009 +1100
s4:dsdb Rework samdb code to use 'storage format' DNs for defaultObjectCategory
It is important to always ensure that this attribute has an extended
DN if the rest of the database stores things that way.
The knowlege of what format the DN is stored on disk with is passed
around in an LDB opaque.
Andrew Bartlett
commit 0238147a855c65ea0a81b0a945ae8ffd9b260c75
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 16 18:45:21 2009 +1100
s4:provision Generate a random objectGUID for each schema record
This is needed to then create extended DNs with GUID attributes in
them, when importing from the LDIF
Andrew Bartlett
commit 39b8f31d669d157ab750e11952c7c1d26ad5e29f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 16 18:40:24 2009 +1100
s4:dsdb Load objectGUID and extended DN defaultObjectCategory into the schema
The load of defaultObjectCategory as an extended DN means we need to
use the common parsing functions I just split out, rather than the
GET_DS_DN macro.
The objectGUIDs are loaded so that we can create the extended DN when
we load from LDIF (and are loaded for the other cases for
consistency).
Also adapt callers to API changes needed for common parsing code
Andrew Bartlett
commit 6710becbd46020512a14a262d39d5085d06458fe
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 16 18:37:51 2009 +1100
s4:dsdb Use the new flags to dsdb_module_search in schema_load
This loads the defaultObjectCategory DN as an extended DN, so we can
apply it, with the associated GUID, when setting this on records in
the objectClass module.
Previously we would not store the extended DN components for
objectCategory.
Andrew Bartlett
commit 58ded23b86c657eac157c76ab31fe20c89ae7e02
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 16 18:35:08 2009 +1100
s4:dsdb Break up 'parse a DN from DRSUAPI' into a subfunction
This should make it easier to call this function from the DRS schema
load code, rather than duplicate it.
(we may do the same with other functions in future).
Andrew Bartlett
commit 41ce3dc0c3cbfdf06f0ffd3738c34ff8c22f450e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 16 18:32:17 2009 +1100
s4:dsdb Add 'dsdb_flags' to dsdb_module_search() to enable often-used features
These flags, also on dsdb_module_search_dn() allow us to add commonly
set controls to this pre-packaged blocking search, without rebuilding
the whole function in each caller.
Andrew Bartlett
commit a2a8dc515cca833c442cc3bb4cf90682e8ba147d
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 16 14:55:21 2009 -0800
Don't overwrite a dynamic pointer with the address of a stack
variable.
Jeremy.
commit 5c54c73c0ec14e391cd58481249b1eda752d4798
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Nov 16 17:57:50 2009 +0100
s4:SAMLDB module
- Add more "\n" to make sure that error messages are displayed immediately
- Add a "NULL" in a attribute list
commit e853dd763b56870643b135d3252ab0b3eaf25a00
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Nov 16 17:01:43 2009 +0100
Revert "s4:dsdb/repl/replicated_objects - Applicate also here the new "lDAPDisplayName" generator"
This reverts commit df95d5c29292968b465bff24c3cf78800677a4d4.
abartlet pointed out in a post on the samba-technical list that this isn't
necessary at all (lDAPDisplayName normalisation algorithm). Rather it breaks
functionality of the replication.
commit adff5ef28f8763c70aa24071940f4c3df4a5cc3a
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Nov 16 10:52:27 2009 +0100
README.Coding: add section about usage of helper variables
metze
commit 6c6c8e91efb8a534afb629897b402bf3f3945948
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Nov 16 10:51:31 2009 +0100
README.Coding: fix error in "good example"
metze
commit 0762893c48c7f5a6532ee35ad188c80b8a6f3981
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Nov 16 09:59:58 2009 +0100
s3:libsmb: avoid passing a function call as function parameter
Using a helper variable makes it easier to "step" into the desired function
within gdb.
metze
commit 88801709781df4fc84bf4b9da12d7f1808bdd86b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 16 10:19:42 2009 +1100
s4:dsdb LDB attribute lists must always be a static const char **.
(If they are not, then due to the async code, they will cause a segfault as they reference a reclaimed portion of the stack).
Andrew Bartlett
commit 8e5f5e3f05f9d2cd6ef1553deacce88c2a8c4d2e
Author: Endi S. Dewata <edewata at redhat.com>
Date: Fri Nov 13 09:58:20 2009 -0600
s4:provision - Removed dependency on full Samba 3 schema from FDS
commit 55d2cec6402ca9568d13190c9a2049a251d2a846
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Sun Nov 15 22:31:44 2009 +0200
Fixed some major bugs in inheritance and access checks.
Fixed sd creation not working on LDAP modify.
Fixed incorrect replacement of CO and CG.
Fixed incorrect access check on modify for SD modification.
Fixed failing sec_descriptor test and enabled it.
Fixed failing sd add test in ldap.python
commit 7248ff6d8f71530a211efdcea7eed005a63c9f5c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 15 20:52:11 2009 +0100
s3: Remove two more DFSG-nonfree text documents at release time. (Debian bug
commit df3451aec0e841da311fda837db6e79e09b88e3c
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Thu Oct 15 13:18:52 2009 +0200
Fix writing corrupt registries because of hardcoded version string in IDL.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit c319b965a1a8ab2fe54d7def06f4a41fb193dde3
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Oct 11 00:12:28 2009 +0200
Fix NULL pointer dereference in libgpo when listing Local Policy which has no security descriptor.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 5a7d48f82b06738924d6afedd53d79b0202d150a
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sat Oct 10 21:42:27 2009 +0200
Fix writing corrupt REG_SZ to the registry.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 45bb24e93914d2fc5253052d75ef7e43a1c2b26c
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Thu Oct 8 12:36:30 2009 +0200
Fix trailing garbage in the hbin block.
This specifically fixes a problem showing extra bytes of garbage in list and
print in regshell, even though the vk.data_length has the correct size.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 1e984e6630a85686a131a652e83da05bbe36219e
Author: Zahari Zahariev <zahari.zahariev at postpath.com>
Date: Sun Nov 15 19:26:02 2009 +0200
Added tests for descriptor inheritance on ldap modify.
Fixed some expected owners and groups.
Signed-off-by: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
commit cc080742bd29d56f863abcb33f26d1719dacaaf7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Nov 15 14:23:32 2009 +0100
ldb:python bindings - add a context on "py_ldb_delete"
So the converted DN will be freed after usage.
commit 6cf43db7fc3e2eea2cd72a026b8cd20012387e12
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 13 22:31:53 2009 +0100
s4:ldap.py - enhance schema addition test
Don't add only a new objectclass but also a new attribute. Plus let now the
server itself calculate the "lDAPDisplayName" attribute and compare the result.
commit df95d5c29292968b465bff24c3cf78800677a4d4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 14 20:14:45 2009 +0100
s4:dsdb/repl/replicated_objects - Applicate also here the new "lDAPDisplayName" generator
Also here we've to be sure to generate the attribute correctly if it doesn't
exist yet.
commit 2c7294bd8faad339d090ee7a7d8d1bb44c9837fc
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Sep 23 21:14:37 2009 -0700
s4:SAMLDB module - Add support for required and generated schema attributes
This missing support found by Microsoft test suite at AD interop event.
Patch by Andrew Bartlett
Enhancements by Matthias Dieter Wallnöfer
commit da3d471d10a822713fea937b3e1951bdbdc7dc83
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 14 20:12:42 2009 +0100
s4:samdb util - add a call for generating a correct "lDAPDisplayName"
This is needed for the SAMLDB module enhancement regarding schema objects.
The algorithm in pseudo code is located in MS-ADTS 3.1.1.2.3.4.
commit bf4e8ba0485ca36a0a9db48d4cd7f133b848f1d4
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 14 17:23:08 2009 +0100
s3: Fix a memleak in sys_popen
Found with "dfree command" set
commit 8e320aea71465c87627aace10d4b90539cc60209
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 14 21:56:59 2009 +0100
s4:ldap.py - Deactivates some at the moment pointless test parts
I think those parts should be deactivated since they're result set checks for
lookups which are commented out already.
commit 8e2bbb8a330d29ed745e097374016815f9fed544
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 14 12:55:41 2009 +0100
Mention typedef struct in README.Coding
commit f4cf1c56a20916018c9a6513754b0b08c24c9d04
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 14 11:12:50 2009 +0100
s3: Add min_setup, min_param and min_data to cli_trans_recv
Every caller that expects to receive something needs to check if enough was
sent. Make this check mandatory for everyone.
Yes, this makes the parameter list for cli_trans a bit silly, but that's just
the way it is: A silly protocol request :-)
While there, convert some _done functions to tevent_req_simple_finish_ntstatus.
commit 4a777ec4d709d2fce2378b7b4d740aa73c32e73b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 14 11:32:00 2009 +0100
Attempt to fix the s4 build -- we can not use map_nt_error_from_unix in lib/
commit f668e4104f5fc5e3c0a48502e30163b1ffc777ae
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 14 00:40:21 2009 +0100
s3: Convert cli_set_unix_extensions_capabilities_send to async
commit f38edcd61a556815db2ecfaa265a46e859e980f6
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 14 10:01:44 2009 +0100
Introduce tevent_req_poll_ntstatus
commit c254349261e0a59e4403c314ec8c17aa6b7dfc37
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 14 09:38:20 2009 +0100
Introduce tevent_req_simple_finish_ntstatus
commit 6133ab6055f68a11380d384c1d871774139035ea
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 12 20:44:37 2009 +0100
s3: Tiny logic simplification
commit a3632f22ec228f4e74e819305bb4c1c5aeca293c
Author: Erick Nascimento <erick.nogueira.nascimento at gmail.com>
Date: Wed Nov 11 18:25:13 2009 -0200
s4-drs: DsExecuteKCC() implementation
I implemented the DsExecuteKCC() handling code on kccsrv_execute_kcc().
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 5377d5f8946cd7fe3aa17f827eb46a9efa413ade
Author: Björn Jacke <bj at sernet.de>
Date: Sat Nov 14 01:52:49 2009 +0100
pam_winbind: fix a printf type mismatch warning
commit 0ac3c1693c0a0576fbde27547cda472fa166a3a2
Author: Michael Adam <obnox at samba.org>
Date: Sat Nov 14 01:23:05 2009 +0100
s3:fix a comment typo
Michael
commit 2e3d9abeafebffa6ff1c7b3de80525cd5f6deb49
Author: Michael Adam <obnox at samba.org>
Date: Sat Nov 14 01:21:42 2009 +0100
s3:is_trusted_domain: shortcut if domain name == global_sam_name
A domain can't have a trust with itself.
This saves some roundtrips to the ldap server for ldapsam.
Michael
commit 144c23893ec580eed1a38b2fd577b4bd4ebf491d
Author: Michael Adam <obnox at samba.org>
Date: Sat Nov 14 01:12:22 2009 +0100
s3:is_trusted_domain: shortcut if domain name is NULL or empty
This saves some roundtrips to LDAP in an ldapsm setup.
Michael
commit 7e418bf736a8ba9f33cd3b2125d8fcae51d641bd
Author: Michael Adam <obnox at samba.org>
Date: Sat Nov 14 01:07:34 2009 +0100
s3:passdb: bump interface VERSION 18->19 (removed uid_to_rid)
Michael
commit 30ab3a762e644f5825adf4aef82e00d20e7228fb
Author: Michael Adam <obnox at samba.org>
Date: Sat Nov 14 01:06:35 2009 +0100
s3:passdb: remove the uid_to_rid method - we only need uid_to_sid
Michael
commit 3b7448de1468dd86d101972bce40e4931fa2d1c3
Author: Michael Adam <obnox at samba.org>
Date: Sat Nov 14 00:34:14 2009 +0100
s3:pdb_default_uid_to_sid: fix some debug statements.
Michael
commit ec49f28a52a67ba7afc3357d638a1d932cd2b474
Author: Björn Jacke <bj at sernet.de>
Date: Fri Nov 13 23:32:04 2009 +0100
s3/pam: move variable declaration into belonging ifdef section
This fixes a unused variable 'addr' warning on some platforms
commit 6540804f4022443e09befb9e71d7676e46f2c133
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Mon Jul 6 14:08:57 2009 +0200
add e2fsprogs-devel as build dependency this is needed for AD because it contains libcom/libcom_err files and headers
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
Signed-off-by: Michael Adam <obnox at samba.org>
commit 27f988c23414a6eda49b6b9afc6ef6ffd1a26535
Author: Michael Adam <obnox at samba.org>
Date: Wed Nov 4 12:26:46 2009 +0100
packaging(RHEL-CTDB): add the current githash to the rpm release number by default
Disable this (to build a release-rpm) by calling
USE_GITHASH=no makerpms.sh
Michael
commit 05ba2ee810842bbe8333e70d3c6bd6217378698d
Author: Michael Adam <obnox at samba.org>
Date: Thu Aug 20 13:37:11 2009 +0200
packaging(RHEL-CTDB): enable parallel build
Michael
commit 609a600e156baa61fe4530fb55c60f6b8cc7af1e
Author: Michael Adam <obnox at samba.org>
Date: Thu Aug 20 13:33:42 2009 +0200
packaging(RHEL-CTDB): fix packaging of pam_winbind.mo file
Michael
commit ee7c04e748c8996d878a7c6132748d80018ae28e
Author: Michael Adam <obnox at samba.org>
Date: Mon Aug 3 15:30:42 2009 +0200
packaging(RHEL-CTDB): move the idmap and nss_info modules to the common package
In this layout, this is the package that contains winbindd related stuff.
Michael
commit 0abe1a37421c6bd14b57d87f545ee2b3abc03fd7
Author: Michael Adam <obnox at samba.org>
Date: Mon Aug 3 14:32:52 2009 +0200
packaging(RHEL-CTDB): package the winbind_krb5_locator.so plugin
Michael
commit f763886249e3bc014bacb32309e9b36f890c8fe2
Author: Michael Adam <obnox at samba.org>
Date: Mon Aug 3 14:05:42 2009 +0200
packaging(RHEL-CTDB): package the manpage of the winbind_krb5_locator plugin
Michael
commit 5a0c47df98f5addabf74484a91d7cd565ac30e5c
Author: Michael Adam <obnox at samba.org>
Date: Mon Aug 3 14:04:33 2009 +0200
packaging(RHEL-CTDB): package the manpage of "ldbrename"
Michael
commit c30bd083023c680aa021249517c0e2a4bc704cd8
Author: Michael Adam <obnox at samba.org>
Date: Mon Aug 3 14:04:09 2009 +0200
packaging(RHEL-CTDB): package the manpage of "sharesec"
Michael
commit bf674dfa0971c606a7fe26385c3485bf6efb3059
Author: Michael Adam <obnox at samba.org>
Date: Mon Aug 3 13:45:40 2009 +0200
packaging(RHEL-CTDB): pam_winbindd man page has moved from section 7 to 8
This due to updating the docs tarball to the 3.4 docs.
Michael
commit 48fa8e4463b61a757eb108adeab58bba15bf6d02
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 1 11:06:34 2009 +0200
packaging(RHEL-CTDB): disable the merged build.
Michael
commit a72714e67bdd6bae8e306b64c50a1c0a3452bacb
Author: Michael Adam <obnox at samba.org>
Date: Fri Mar 20 00:47:45 2009 +0100
packaging(RHEL-CTDB): also pack libwbcient in winbind-32bit package
Michael
Signed-off-by: Michael Adam <obnox at samba.org>
commit c7106a6250c2c46ac4349e52f8f8376c4f021ece
Author: Michael Adam <obnox at samba.org>
Date: Fri Mar 20 00:30:35 2009 +0100
packaging(RHEL-CTDB): add new pam_winbind.mo to the common package
Michael
Signed-off-by: Michael Adam <obnox at samba.org>
commit 0247c2cd41200f6374a4a4bbb7efad40b68b7a46
Author: Michael Adam <obnox at samba.org>
Date: Fri Mar 20 00:28:36 2009 +0100
packaging(RHEL-CTDB): add new binary sharesec to the client package.
Michael
Signed-off-by: Michael Adam <obnox at samba.org>
commit 837487f1d05767b8e2ed8e6012b66d7934b0d19f
Author: Michael Adam <obnox at samba.org>
Date: Fri Mar 20 00:26:11 2009 +0100
packaging(RHEL-CTDB): add new binary ldbrename to the common rpm
Michael
Signed-off-by: Michael Adam <obnox at samba.org>
commit c53de396235d4d606fddab2a9be48fc318ef00c7
Author: Michael Adam <obnox at samba.org>
Date: Mon Jun 29 17:07:14 2009 +0200
packaging(RHEL-CTDB): fix location of nsswitch/ directory for install
This has been moved to the top level directory in 3.4.
Michael
commit 2869772e738b049cf24afe810cb4ccb9cb641eea
Author: Michael Adam <obnox at samba.org>
Date: Mon Jun 29 17:05:00 2009 +0200
packaging(RHEL-CTDB): don't pass CFLAGS to make.
This breaks the build since 3.3 since it overwrites the CFLAGS
set by configure.
Michael
commit de3b6339832dc1ef48fa0986887f697be6230b60
Author: Michael Adam <obnox at samba.org>
Date: Mon Jun 29 17:03:09 2009 +0200
packaging(RHEL-CTDB): don't "make proto" any more.
This has become unnecessary in 3.3
Michael
commit af2c5f29852e9c76f9b626d72dfdee21c0f5100d
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 23 23:09:09 2009 +0200
packaging(RHEL-CTDB):makerpms.sh: replace source/ by source3/
Michael
commit 728b01fc0354788107df1806abc81a1d28aad31b
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 23 23:06:40 2009 +0200
packaging(RHEL-CTDB):makespec.sh: fix detection of version
Michael
commit 91cd20a8f49b07cf674573f9bf06721cb1b22555
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 23 22:41:51 2009 +0200
packaging(RHEL-CTDB): makeversion.sh: v3-4-test uses source3 instead of source
Michael
commit b43a09f2a061480b4231900384613355e710ea31
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 21 09:49:12 2009 +0100
packaging(RHEL-CTDB): makerpms.sh: build winbind-32bit libs in the 64bit build
Michael
(cherry picked from commit a9a506b6640986548e2ae8540b7ae93960d6ece5)
commit 233a05fb933ead9edb51dca8c755170d767070c5
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 20 19:47:28 2009 +0100
packaging(RHEL-CTDB): Build winbind-32bit package in the 64bit build
Michael
(cherry picked from commit f5cd88a25f360e6609dc5abe24247fab78af6854)
commit 0037b31b2f312586230c6631f647e5ad5fcbb994
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 21 11:03:34 2009 +0100
packaging(RHEL-CTDB): extend makespec.sh to extract VENDOR_PATCH from version.h
Michael
(cherry picked from commit fc122aa276bce379b492e5bdf52ab3e03bc3737f)
commit 30edbb86609f45fda3e3ba730d9494c1e02043c4
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 21 10:24:31 2009 +0100
packaging(RHEL-CTDB): The former release number has basically moved into VERSION
Michael
commit 1e3c4b381a9e77906e5ac12f3406ffc72fd4c14a
Author: Michael Adam <obnox at samba.org>
Date: Fri Nov 13 16:16:50 2009 +0100
s3:smbd: also fill the memcache with sid<->id mappings in ldapsam_sid_to_id()
not only the persistent idmap cache.
Michael
commit d2673253e3f3fead7b467b4e359482a4e8875fc9
Author: Michael Adam <obnox at samba.org>
Date: Fri Nov 13 15:51:33 2009 +0100
s3:smbd: make idmap cache persistent for "ldapsam:trusted".
This stores the mappings found in the idmap cache (which lives
inside gencache). This cache is already read in sid_to_Xid()
and Xid_to_sid() for ldapsam:trusted, this fills the opposite
direction, massively reducing the number of ldap roundtrips
across smbd restarts.
Michael
commit 5b75201dbb9f2e6799fd5c3eee8da6230caee96c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Nov 13 03:57:48 2009 +0200
util: str_list_unique() bugfix
j is actually the index of the last element in the list
size of the list though is j+1 <- to make room for the
terminating NULL element
commit b7839b73b10746c374ca2ed96eb152fa3a03e66a
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Nov 13 03:56:07 2009 +0200
util: str_list_unique_2() test implementation
Difference with previous test for str_list_unique() is
that this test allows number of elements and number
of duplicates to be supplied on command line using
--option="list_unique:count=47"
--option="list_unique:dups=7"
commit ca12e7bc8ff4a91f2044c0a60550fec902e97a78
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 13 13:50:25 2009 +1100
s4:heimdal Import generated files from heimdal tree
We should be able to rebuild these, but a cp is easier :-)
commit 4f8ba5ad6ac9b7153b0e13654e59f47e67b3f608
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 13 10:51:14 2009 +1100
s4:heimdal: import lorikeet-heimdal-200911122202 (commit 9291fd2d101f3eecec550178634faa94ead3e9a1)
commit 5bc87c14a1f5b45ed86e7ff9663f5f0aa2f70094
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sun Sep 20 23:18:34 2009 -0700
s4:heimdal: import lorikeet-heimdal-200909210500 (commit 290db8d23647a27c39b97c189a0b2ef6ec21ca69)
commit 12205347163b55e79651921c6858c4d04e1faa51
Author: Volker Lendecke <vl at samba.org>
Date: Mon May 18 16:04:04 2009 +0200
Fix large paged search
Signed-off-by: Michael Adam <obnox at samba.org>
commit 92a16b91e86865833ea2d47d2dff81d5df0f5a27
Author: Volker Lendecke <vl at samba.org>
Date: Wed May 13 10:12:26 2009 +0200
fix bogus "out of memory" winbind msg
Signed-off-by: Michael Adam <obnox at samba.org>
commit c8884e1cf2f9fe08b464c34c25ce682ff3450b34
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 13 19:31:40 2009 +1100
s4-ldb: changed the DN checks for \n to warnings
a \n is sometimes allowed in AD (eg in deleted DNs). Until we know
when is really is allowed, treat it as a warning only.
commit dbae29de1c146d1c6d2e1e0a2a82593f85c8ba0d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Nov 13 17:48:35 2009 +1100
s4-ldb: make DN escaping/unescaping consistent
The DN escape function was using the form \c where c is any
character. The unescape function was using \XX where XX is a 2 digit
hex number. The asymmetry led to quite a few problems when we start to
deal with DNs containing escape chars, such as CN=foo\0ADEL:XXX. The
result was a DN that was not accessible.
This patch changes the escaping to follow RFC2253 much more
closely. We accept either type of escape, and produce the two types of
escape, depending on the character being escaped
commit f9ad5cd133b57b66a3b71ede7829ef8c226f2224
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 12 23:07:21 2009 +0100
s3: Convert cli_unix_extensions_version to async
commit 3732798008f26052c030e8a8fc9c9404fd6f5669
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 12 16:45:33 2009 +0100
s3-rpcclient: use the parsed binding string flags for auth choice.
This allows rpcclient to be called like this:
rpcclient ncacn_ip_tcp:w2k8r2[sign,seal] -U administrator%secret -c "dscracknames gd"
Guenther
commit d2a9f4a2729026da11780ae4b71e289982094bd7
Author: Jeremy Allison <jra at samba.org>
Date: Thu Nov 12 14:09:25 2009 -0800
Remove unused variable warning.
Jeremy.
commit 03637130316099d4f3db4ce757af2f34ce46d881
Author: Jeremy Allison <jra at samba.org>
Date: Thu Nov 12 13:59:25 2009 -0800
Remove erroneous 'presult = NULL' changes. Now presult only gets set
if NTSTATUS == OK.
Jeremy.
commit 496d147dc4d50650ef1e88877aa28719458089b8
Author: Jeremy Allison <jra at samba.org>
Date: Thu Nov 12 13:57:13 2009 -0800
Revert "Ensure every return path initializes presult as NULL."
Vl is correct, this is the wrong way to fix this.
This reverts commit 83c2c177a5e86d04da37384f1f04230c8274e1e6.
commit 5363d6e62c2d4d3275e78d04c48835524c54f620
Author: Jeremy Allison <jra at samba.org>
Date: Thu Nov 12 13:56:33 2009 -0800
Ensure all callers to the rpc_client/cli_pipe functions correctly
initialize return variables.
Jeremy.
commit 6747a91ca0c350374c54bac5892cf96e5aed029f
Author: Jeremy Allison <jra at samba.org>
Date: Thu Nov 12 13:08:04 2009 -0800
Fix bug 6891 - using windows explorer to change ownership on a folder fails with Bad File Descriptor.
Jeremy.
commit 83c2c177a5e86d04da37384f1f04230c8274e1e6
Author: Jeremy Allison <jra at samba.org>
Date: Thu Nov 12 11:49:54 2009 -0800
Ensure every return path initializes presult as NULL.
Ensures no crashes in calling code that forgets to
init return as null.
Jeremy.
commit 21644c5fed2345a24f69dbd1d892f14eb4aee42d
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Nov 9 18:23:06 2009 +0100
s4:heimdal_build: allow flex-2.5.35 with bison-2.3
metze
commit 61f0b247633501d6bf4103ca8345048e537c043d
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 12 15:42:03 2009 +0100
s3-kerberos: remove smb_krb5_get_tkt_from_creds().
Now that cli_krb5_get_ticket() already handles S4U2SELF impersonation, remove
smb_krb5_get_tkt_from_creds() which is not required anymore.
Guenther
commit 0f8bf47d949fbdf47bdb388ad584652202ce185b
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 12 15:40:42 2009 +0100
s3-kerberos: avoid using ERROR_TABLE_BASE_krb5 without checking.
Guenther
commit 0d6c3058b22b387b264393f83fc0c069243c27b7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 12 21:31:11 2009 +1100
s4:dsdb Make callbacks in extended_dn_out clearer to follow
commit 57406482791dfeadbda177ffbba4f02443f7aa76
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 12 21:14:13 2009 +1100
s4:selftest Mark the RPC-DSSYNC test as knownfail for now
We need to work on the provision or LDB modules to avoid DN attributes
without GUIDs (caused because the target does not exist at creation
time).
Andrew Bartlett
commit 68639bfd64f063d1c6e373a2fc276b2bbb7073ca
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 12 17:16:25 2009 +1100
s4:libcli/ldap Add 'relax' OID to known network representations
This patch, inspired by a patche by Endi S. Dewata
<edewata at redhat.com>, allows this control to be passed to the LDAP
backend.
Andrew Bartlett
commit f3bc54a8f1a405bfd8886bd46a1c2ca1b47acae7
Author: Endi S. Dewata <edewata at redhat.com>
Date: Thu Nov 5 22:29:55 2009 -0600
s4:provision - Added LDBBackend and ExistingBackend.
commit 55bb60a5db559a06a05a1be6633d92b8f6555c08
Author: Endi S. Dewata <edewata at redhat.com>
Date: Thu Nov 5 21:55:34 2009 -0600
s4:provision - Added constructors for FDSBackend and OpenLDAPBackend.
commit 1564067fbc8490bcef5523db1d7e997dca00f0bf
Author: Endi S. Dewata <edewata at redhat.com>
Date: Thu Nov 5 18:49:37 2009 -0600
s4:provision - Added setup() method in LDAPBackend.
commit ba12eb99a04671197b92c998d72c09fd5c23c5da
Author: Endi S. Dewata <edewata at redhat.com>
Date: Thu Nov 5 17:36:34 2009 -0600
s4:provision - Moved provision_xxx_backend() into backend-specific provision() method.
commit be766a384173bb02c5306e5884d1228973fe5dd7
Author: Endi S. Dewata <edewata at redhat.com>
Date: Thu Nov 5 12:04:05 2009 -0600
s4:provision - Added start() method in LDAPBackend.
commit fbc5696e38754b6014875c231edd5f56479e134b
Author: Endi S. Dewata <edewata at redhat.com>
Date: Thu Nov 5 11:15:55 2009 -0600
s4:provision - Added initial implementation of FDSBackend and OpenLDAPBackend.
commit 8006e0e63419fbb8de7e1fadf1edc6a51da9d144
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 12 11:07:15 2009 +0100
s3: Fix debug messages in check_reduced_name
commit b29eed492f1c056adb0b53510be10e738276ca11
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 12 00:52:38 2009 +0100
cifs.upcall: Fix Bug #6868: support building with Heimdal we well as with MIT.
Guenther
commit b4e40958b7f7406dc6cdd1bef4fa3f824b9cbe3a
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 12 00:51:46 2009 +0100
s3-kerberos: add smb_krb5_principal_get_realm().
Guenther
commit bbe4a9cf0fb09a0a2348149e4fb43e3c74ed3abf
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 12 15:39:17 2009 +1100
s4:repl_meta_data Parse linked attributes with schema syntaxes
The bug here was that by assuming all linked attributes were 'normal
DNs', we would miss the binary portion of DN+Binary.
This patch then has us reparse the string to determine it's GUID, for
the GUID lookup, but maintains the binary porition into the on-disk
format.
Andrew Bartlett
commit a9f6a56227a067490ac8fcd41321ec4d19333da7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 12 15:38:16 2009 +1100
s4:dsdb/schema Add more unit tests for DN+Binary syntaxes
commit 95a12cdf21ba86f460c2ffa51223e8564fd25014
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 12 15:37:34 2009 +1100
s4:torture Use (some) torture_assert() calls in RPC-DSSYNC test
commit 693ddf5ba0d5e7a9fcc0f9727ff7f78b83d18343
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 12 15:35:54 2009 +1100
s4:dsdb Improve debug message in extended_dn_out
commit 06b234e8118166ded401284eaf3a2227ec56eae7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 12 08:08:26 2009 +1100
s4:torture Remove _drs_util_verify_attids() from RPC-DSSYNC
I'm satisfied that the task this test does is already done by the time
we map the incoming schema, and process the objects. If we have the
OID mapping wrong or incomplete, we will get any errors this test
found errors there.
(And this dramaticly reduces the test time, so we can now add
RPC-DSSYNC to 'make test').
Andrew Bartlett
commit 6d1e60987b34db4850754f33b62c79284eb53b09
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 11 22:31:06 2009 +1100
s4:torture/dsdb Add verification of the push-to-LDB functions in RPC-DSSYNC
This is done by comparing the values against the remote host's LDAP
server.
Andrew Bartlett
commit 30a08005ca1a15e7dee88f482894b68fea2c1f2f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 11 19:27:30 2009 +1100
s4:torture Add const
commit ae72153daaa5dc50751a35af22533a666c65eb42
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 11 19:26:28 2009 +1100
s4:ldb Allow ldb_msg_canonicalize to handle empty elements
(These are deliberately there in DRS replication).
Andrew Bartlett
commit 081d57345fad546d73f9ec97e61f59c64cefee58
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 11 19:25:32 2009 +1100
s4:dsdb/schema Allow a schema set when bound against a remote LDAP server
commit 5940ca60e23d142e4d3d0b2ce12f191663147d03
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 11 19:24:48 2009 +1100
s4:ldb Don't segfault if we somehow get an unknown extended dn element
commit 716bba545729dbb46631bf233c1023576de54926
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 11 19:24:08 2009 +1100
s4:ldb Change ldb_request_add_control to the normal 'for loop' pattern
commit 87e984f0bd893abd65cf36f74162efed0d4930ca
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 11 12:56:55 2009 +1100
s4:torture Convert RPC-DSSYNC test to use LDB rather than raw LDAP
(This should make it easier to do more 'compare DRS with LDAP'
operations, as LDB is an easier interface to program.)
Andrew Bartlett
commit 1012b806a7d54e8d442bd14573d9c00747a23f74
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 10 12:49:48 2009 +0100
NET-API-BECOME-DC: resolve the host name to an address before calling
libnet_BecomeDC and libnet_UnbecomeDC()
We're supposed to pass in source_dsa_address...
metze
commit 2a601719f219686b3a3b38b61b8f549941ecf632
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 10 15:21:40 2009 +1100
s4:dsdb Add expected value tests for most DRS syntax conversions
I've left out those for which I could not find an expected value in my
default Windows 2003 server's database, and the values that rely on
the current prefix map at the time.
Andrew Bartlett
commit 9ba1870fb9ae784b429b8e13b4ab0cc3def06aee
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 10 15:20:07 2009 +1100
s4:Fix regression in dsdb_dn code - all parses of the DN would be rejected
This is most likely the cause of the DRS replication failures I
observed with my changes.
Andrew Bartlett
commit 6b0b3fed3127dd2da15a79eabea62708e82cc941
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 10 15:18:52 2009 +1100
s4:provision Add C binding to get at the generate schema
This will allow us to do local tests against that schema
commit 6437c38aeb5880b18728e65e1c19edf08ac5e4e9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 10 15:18:01 2009 +1100
s4:provision Remove unused 'sambadn' parameter
commit df7546ac16db6e802f8c8ef7bac6f01acc9233b2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 9 21:26:02 2009 +1100
s4:dsdb/repl Split the 'convert' or 'commit' stages in the DRS import
This will allow us in future to do tests on the LDB values we generate
from the DRS replication.
Andrew Bartlett
commit d6563801d1783a8cb1b9740878d0a07d40085f32
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 9 20:40:21 2009 +1100
s4:dsdb/schema Simplify schema loading from ldb messages
It turns out that we always add the class/attribute to the schema.
commit d053584443613177bc8e7e18c594378baf9df34d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 9 20:31:42 2009 +1100
s4:vampire Print error message when we fail on the CLDAP ping
Andrew Bartlett
commit 6fd6dc10897763670bf116746a6d8c2041b2bacd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Nov 7 12:07:06 2009 +1100
s4:dsdb Cosmetic fixes found by metze in review of dsdb_dn changes
These changes include reworking the code to call ldb_module_get_ctx()
less often (avoid the function calls, particularly during the step
into a complex function).
Andrew Bartlett
commit 4e2b4be9d3bd406a303b74c8d5ebd56714a337ae
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Nov 7 12:06:11 2009 +1100
s4:dsdb Ensure we allow 'odd' lengths for DN+String
(Found in a code review by metze)
Andrew Bartlett
commit d6d0c23d49fd299d292b30338a9fc0ffcdaf1f2e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 6 17:00:05 2009 +1100
s4:ldb Add Well Known GUID (WKGUID) tests to ldap.py
commit da1ac55bc18b09f0a0e5756cc3fde45248f1d146
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Nov 6 16:40:07 2009 +1100
s4:dsdb Add extensive tests for the behaviour of dsdb_dn
commit f5890ddd83df35ff3fe4088c9b65858405ba7e4a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 5 17:06:45 2009 +1100
s4:ldb Remove DN+Binary code from the core ldb_dn
This is now in dsdb_dn. Removing this to a specific wrapper avoids a
number of bugs where Binary DNs were being handled incorrectly.
This reverts much of tridge's commit
fd22e0304782e20b9bbb29464b6c745d409ff4c6
Andrew Bartlett
commit f0d43e9e562bfd7c254a9b2446fb11f85186b45e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 5 17:04:10 2009 +1100
s4:dsdb Use new dsdb_dn code in LDB modules and Samba4 schema
This converts the code from using the binary DN code in ldb_dn to
using a special Samba-specfic wrapper around ldb_dn.
We also use the dsdb_dn code for DN+Binary and DN+String comparisons
(changed from treating them as Binary blobs)
Andrew Bartlett
commit 973197cd9ded571ff02996cb5c133435a35976c5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 5 17:00:20 2009 +1100
s4:ldb-samba Use new ldb_any_comparison helper function in ldb-samba
commit 390ac7d3063fdc64d64ecb498eb0c9b4626e2eb8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 5 16:57:20 2009 +1100
s4:dsdb Add new dsdb_dn to handle DN+Binary and DN+String
This aims to replace (and is based on) the code in ldb_dn.c. It is
however much stricter in the DNs it will accept.
Andrew Bartlett
commit 3abc3e7a3a4e3833c8c08cc21deeaae174887f7f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Nov 5 16:56:05 2009 +1100
s4:ldb Add a helper function for 'canonicalise' both strings base compares
This will help simplify boilerplate comparison functions where we
don't have a shortcut way to compare.
Andrew Bartlett
commit fd5174e88ca1727a91d6dc9bf9bd898ff9087fe8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Nov 4 17:42:53 2009 +1100
lib/util Split data_blob_hex_string() into upper and lower
Rather than have a repeat of the bugs we found at the plugfest where
hexidecimal strings must be in upper or lower case in particular
places, ensure that each caller chooses which case they want.
This reverts most of the callers back to upper case, as things were
before tridge's patch. The critical call in the extended DN code is
of course handled in lower case.
Andrew Bartlett
commit a8769e667514f83a45ee3e825d21a351987d0210
Author: Jeremy Allison <jra at samba.org>
Date: Wed Nov 11 18:35:18 2009 -0800
Second part of bugfix for 6865 - acl_xattr module: Has dependency that inherit acls = yes or xattrs are removed.
We also need dos filemode = true set as well.
Jeremy.
commit 8995d3d813978a00b50f33943c60784ddfe308bf
Author: Jeremy Allison <jra at samba.org>
Date: Wed Nov 11 12:17:47 2009 -0800
Fix bug 6878 - Cannot change ACL's inherit flag.
Based on a patch submitted by Tsukasa Hamano <hamano at osstech.co.jp>,
this is a change in the POSIX ACL mapping to deal with the lossy
mapping for directory ACE entries:
We have a lossy mapping: directory ACE entries
CREATOR_OWNER ------\
(map to) +---> SMB_ACL_USER_OBJ
owning sid ------/
CREATOR_GROUP ------\
(map to) +---> SMB_ACL_GROUP_OBJ
primary group sid --/
on set. And on read of a directory ACL
SMB_ACL_USER_OBJ ----> CREATOR_OWNER
SMB_ACL_GROUP_OBJ ---> CREATOR_GROUP.
Deal with this on set by duplicating
owning sid and primary group sid ACE
entries into the directory ACL.
Jeremy.
commit b11e11a9737a6490f27f9ea5c15b39203fbcbe7a
Author: Jeff Layton <jlayton at redhat.com>
Date: Wed Nov 11 14:04:54 2009 -0500
mount.cifs: get rid of CONST_DISCARD
Apparently, we need to strip the "const" attribute off of the mnt_fstype
before passing it to addmntent to prevent a (somewhat bogus) compiler
warning.
Rather than just stripping off the "const" attribute, clarify the code
by declaring a new non-const char pointer that points to the same
string. We can also use that same pointer in the mount(2) call too.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
Acked-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit f3646ff392ab736ed82d2982490aa9d57e11ec6b
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Nov 11 15:42:21 2009 +0100
s3/docs: Document "enable spoolss".
Karolin
commit 73860163e79958ce397b63262bcdb36848c2f94b
Author: Michael Adam <obnox at samba.org>
Date: Wed Nov 11 00:13:14 2009 +0100
s3:vfs_fs_capabilities: fix a debug message
Michael
commit 594426a99800d86b0be092b248ae0c558861ca04
Author: TAKEDA Yasuma <yasuma at osstech.co.jp>
Date: Mon Nov 9 12:18:48 2009 +0900
* install setup/display-specifiers files which are needed by provision script
Signed-off-by: TAKEDA Yasuma <yasuma at osstech.co.jp>
commit 2b759339601ad853588cb74e986a7a88301aea17
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 10 19:49:41 2009 +0100
s3: Convert libsmb/cli_message to the async API
commit fd4061daddc33085855f24dd7f36f0038daaeabb
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Nov 10 16:26:23 2009 +0100
s4:dcesrv_samr - Add more checks for invalid levels
Add more checks on valid levels, mark unimplemented ones as "UNSUPPORTED" and
otherwise as "INVALID_INFO_CLASS" to be safe.
commit cee83ac34a257a6f2090077ef2e8a6f888783f03
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Tue Nov 10 15:58:52 2009 +0200
Fixes for some tests not eorking against Windows or Samba.
commit d241b9ae4c9b520406aac98e24d078f2d4fd4ae5
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 10 13:10:12 2009 +0100
s3-rpc_client: make sure cli_rpc_pipe_open_schannel() does not always return NT_STATUS_OK.
Guenther
commit bbff69384eb6ff3169e330e2ba29b8f756c04c9a
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 9 18:18:44 2009 +0100
s3-samr: implement _samr_ValidatePassword().
Guenther
commit 46784b4d99c00d98811c1e6be43bda78eae77fe6
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 10 12:48:52 2009 +0100
s3-chgpasswd: split out a check_password_complexity() function.
Guenther
commit 9599d142c0edd750e254c82ca96e75a8e1d200d5
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 9 17:40:28 2009 +0100
s4-smbtorture: strip trailing whitespace in RPC-SAMR.
Guenther
commit e8d2fe327dd51697306ec934f4fa49b3b3936e46
Author: Matt Kraai <mkraai at beckman.com>
Date: Mon Aug 10 13:50:31 2009 -0700
README.Coding: Fix typos.
commit 5d516181617419b9b078b4f375753afc3b785ced
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 9 12:44:47 2009 -0800
Fix bug 6880 - cannot list workgroup servers
reported by Alban Browaeys <prahal at yahoo.com> with fix.
Revert 2e989bab0764c298a2530a2d4c8690258eba210c
with extra comments - this broke workgroup enumeration.
Jeremy.
commit d7ce873391f215f4f3785abcd13b9d120b87e744
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 9 17:34:47 2009 +0100
s3-netlogon: enable RPC-NETLOGON-ADMIN test against s3.
Guenther
commit e9c6984cb62ce8d7d899202c1275d241a605913c
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 9 17:32:31 2009 +0100
s4-smbtorture: re-arrange netlogon LogonControl test.
The LogonControl tests now are split out to a new RPC-NETLOGON-ADMIN test that
tests the behaviour of that call when called by user, dc or workstation.
Guenther
commit a0b9e40b2c8f88da6a8191b049c71a14838b644e
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 9 17:06:48 2009 +0100
s3: Try to avoid dns searches with an empty site
commit 8eac3075b604d5d0938e2a087a154bb6546d78b1
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 9 16:02:24 2009 +0100
s3-param: fix set_inherit_acls().
Jeremy, please check.
Guenther
commit e6df4c2bc28b9204cf0637575b0289657e604830
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 9 14:26:55 2009 +0100
pidl: Fix selftest after s3 code changed
commit 932cda330af01d8f749c68cf2cbe59c79c6c3ea8
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 9 22:19:52 2009 +1100
s4-samdb: remove the rDN size constraint of 64
This size constraint is not correct in it's current form, as windows
does send us rDN values for CN with lengths longer than 64. Once we
know how this constraint really works we can add it back in.
commit 2b858c69391b2d64f19291eb349cb5ba9e48045b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Nov 9 21:38:49 2009 +1100
s4-hdb: go back to a separate samdb for the KDC
The change to use a common system_session broke replication as the KDC
forces CRED_DONT_USE_KERBEROS on session->credentials, which is shared
with other parts of the system.
This should be fixed once we confirm whether the ldap backend actually
relies on CRED_DONT_USE_KERBEROS
commit bb283af16fe3858310d762cb5998909ae3b810de
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 8 19:38:09 2009 +0100
Revert "s3: Do not directly reference the ndr_table_* in rpcclient"
This reverts commit 70c698fd547c4bc19cf77693608bbb34acac40b5.
commit e181b889784e6aed47e2fcc86add736d0b04daf2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 8 19:38:01 2009 +0100
Revert "s3: Do not reference ndr_table_<pipe> in the cli_ routines directly"
This reverts commit daa964013bc5d036f4da571ce22c0052ef40943a.
commit 27847e8386a005b4369d99cad62215a113a0a0f9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 8 19:37:53 2009 +0100
Revert "s3: Consolidate getting the name out of a pipes_struct"
This reverts commit 9621306351cdb469ef393a6d8cbeea456bc4bd9f.
commit 47455b4d1adf2e01f0994005a6302ae32c012478
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 8 19:37:42 2009 +0100
Revert "s3: Do not reference the ndr_tables in the server calls directly"
This reverts commit 98fb71782e05ae72cd6abeb38b6e0b96a50c1761.
commit 82c35e460e00d6f9e61df2d20ea9d0ccf765636a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 8 19:37:33 2009 +0100
Revert "s3: Do not reference ndr_table when calling rpc_srv_register"
This reverts commit 494b2aff8826947e3bd556aecb175746163da485.
commit b02c46bef944712834045399c883ea14f45bde94
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 8 19:37:26 2009 +0100
Revert "s3: Make run_rpc_command take strings instead of a ndr_interface_table"
This reverts commit 53f2a1595e76db9fe1b42db65b51895b73365993.
commit 6a650d7d161e4c4a7bd61bb374f473ba16fbba95
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 8 19:37:13 2009 +0100
Revert "s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table"
This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe.
commit 5fc9d93408effe75abcd231c45cbc14656692ebe
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 8 12:31:38 2009 +0100
s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table
commit 53f2a1595e76db9fe1b42db65b51895b73365993
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 8 12:24:06 2009 +0100
s3: Make run_rpc_command take strings instead of a ndr_interface_table
commit 494b2aff8826947e3bd556aecb175746163da485
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 8 11:35:53 2009 +0100
s3: Do not reference ndr_table when calling rpc_srv_register
commit 98fb71782e05ae72cd6abeb38b6e0b96a50c1761
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 8 10:51:34 2009 +0100
s3: Do not reference the ndr_tables in the server calls directly
This involves storing the interface table in the pipes_struct
commit 9621306351cdb469ef393a6d8cbeea456bc4bd9f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 8 10:43:34 2009 +0100
s3: Consolidate getting the name out of a pipes_struct
commit daa964013bc5d036f4da571ce22c0052ef40943a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 8 09:53:08 2009 +0100
s3: Do not reference ndr_table_<pipe> in the cli_ routines directly
commit 70c698fd547c4bc19cf77693608bbb34acac40b5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 1 20:21:52 2009 +0100
s3: Do not directly reference the ndr_table_* in rpcclient
commit be88a126ea50ea7e41583f402013c63234305e48
Author: Volker Lendecke <vl at samba.org>
Date: Fri Nov 6 14:04:49 2009 +0100
tdb: Fix a C++ warning
commit 427a22d946a4902eeb1c229fede5cfc0a60e9528
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 7 20:53:28 2009 +0100
s4:vfs_ipc - fix "ipc_open" for NTTRANS create requests
commit d89b475f8437518c44694cf7576e5b5a3f08ceb9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 7 19:51:47 2009 +0100
torture/basic/denytest - makes the code more compatible for TRU64 (consider buildfarm)
commit f6eacfcf1d579242af40820fe284df80c1f2b7bf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 7 17:57:50 2009 +0100
s4:lib/messaging - fix up the python bindings
This fixes up the broken "send" method of the python bindings and corrects some
other parameter lists in parsing functions (this is only cosmetic). The reason
for the bug was a superfluous "|"!
commit 22d9610a1fd7cf2c1421ec3f63e8e78ffdfd790a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 7 12:15:38 2009 +0100
s4:dsdb/common/util - samdb_result_hashes - use "unsigned int" for counters
commit 5cdee7ae0565c08026b8845cd3090b20d8abc472
Author: Volker Lendecke <vl at samba.org>
Date: Sat Nov 7 10:28:40 2009 +0100
s3: Do the printing for DEBUGLEVEL>=10 centrally
12 insertions(+), 10651 deletions(-)
I think that says it all :-)
commit 843be3bcd9b07ba937944aee206bd4ecdfd65504
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 7 10:18:26 2009 +0100
ldb_init: use constant for result of "ldb_setup_wellknown_attributes"
commit cd16e38e32013c8abb872c179c7f8bf33c92ed25
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 1 12:05:14 2009 +0100
s3: Register the ndr_interfaces dynamically
commit 268df12ab6b60052d4f5e8ff723f2528ace0dbfb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 1 11:33:59 2009 +0100
s3: Get rid of a NULL terminator
commit a32c425f91dc28460fa928ba6f5b9331aba03d23
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 31 20:04:54 2009 +0100
s3: Get rid of explicit pipe names
commit 2aa0af98677389359ee004c8b0030ab4faf0da98
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 31 19:28:16 2009 +0100
s3: get_pipe_name_from_iface -> get_pipe_name_from_syntax
commit bd2ffb1c7a70ef9063b99a9318b3e185ddda84fe
Author: Jeremy Allison <jra at samba.org>
Date: Fri Nov 6 21:53:07 2009 -0800
Fix bug 6865 - acl_xattr module: Has dependency that inherit acls = yes or xattrs are removed.
Jeremy.
commit afc592402068da2a928dd9975a38a6b1ccf3919f
Author: Jeremy Allison <jra at samba.org>
Date: Fri Nov 6 17:03:29 2009 -0800
Fix bug 6841 - "map acl inherit = yes" not working.
The code to read the new V2 SAMBA_PAI entries had
two errors.
Jeremy.
commit dae1258acdb93a9bdffda234a13f0a1c7628075e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:39:43 2009 +0100
s4:libnet_passwd - fix pointer type
commit e60388cf6d6ade7e127a9cae65d3f1c09c7b0cfd
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:39:15 2009 +0100
s4:dcerpc - fix DEBUG output warning
commit 0bcedb6ba72b12feb70dbed72468d05197716cb7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 15:38:31 2009 +0100
s4:samdb_check_password - allow the password string to be NULL
This deactivates the password complexity check, but not the minimum password
length one, since the length is specified.
This change is needed by my password module work.
commit c9df4a3c28d21e8acc9df46def8805e56eb8b4ce
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 15:21:56 2009 +0100
s4:dcesrv_samr_ValidatePassword - naturally this was only for debugging the failure
commit 7cf98abd031e819d884c08d2968afb3989446b7c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 15:17:22 2009 +0100
s4:dcesrv_samr_ValidatePassword - adapt call to "samdb_check_password"
I've forgotten that PIDL converts UTF16 parameters automatically back to the
UNIX charset (in most cases UTF16). So I don't have to do this here.
commit bb531b039902fa613d7462e0bc2114326808d9fe
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 15:15:53 2009 +0100
s4:samdb_validate_password - Adapt the function to use the UNIX charset for the password data blob
commit 17d6506c9e9e4033c6932bbc9b562bec0cb08a89
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 12:32:47 2009 +0100
s4:torture/samr - Add status code on "ValidatePassword" test output
commit 9f481664fb106fae7eea2774b45c5f6b2c3626cf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 12:16:30 2009 +0100
s4:torture/samr - Activate "ValidatePassword" test per default
commit 6afee5f13074b375ded8d373d3ab12e9d35b47fd
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 12:10:42 2009 +0100
s4:dcesrv_samr_ValidatePassword - I forgot to create an out buffer
commit 11687e84e39291e9a0309d5df6dd088f71491593
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 6 14:46:35 2009 +0100
s3-kerberos: let smb_krb5_get_tkt_from_creds() compile with older heimdal libs.
Guenther
commit 53d49bb7284a2d7281ad0ede20c37a6bd6d1794d
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 30 13:40:17 2009 +0200
s3-netlogon: implement _netr_GetDcName and _netr_GetAnyDcName.
Guenther
commit 0f531e3a2a94594ad5a68bbf8bae85555b8f644e
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Oct 29 18:18:54 2009 +0200
s4/drs: Refactor to be more SAMBA.Coding style compliant
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit c236bb537f1ee8c287c9dbbbc1cbe47fabbeb688
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Oct 29 16:28:38 2009 +0200
s4/drs: Remove unused structures and functions
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit db82023af24ef89afe1559422ac5899646afff32
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Oct 29 16:24:00 2009 +0200
s4/drs: remove unused num_prefixes and prefixes from dsdb_schema
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 2fa4c4dceec67a85c40f37c992f5a603aada47c0
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Oct 29 03:56:50 2009 +0200
s4/drs(tort): _torture_drs_pfm_compare_same() should not fail tctx by itself
The responsibility for failing torture_context sould be for the
caller.
This gives better control in for test case driver function.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit ef959b42cac81ba372fac25e4da797aec02747bc
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Oct 29 03:17:33 2009 +0200
s4/drs(tort): Test case for dsdb_create_prefix_mapping() implemented
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit b9dd44ee3971a9dea5d6221938e41e18cdf03443
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Oct 29 03:54:12 2009 +0200
s4/drs: dsdb_create_prefix_mapping() refactored
TODO: this function may be refactored further.
Actually we don't need to look up for the OID supplied,
but just call sdb_schema_pfm_make_attid() - it will
search for the OID anyway and add it if necessary
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 9405377a7027ea1d8ea98942efeb69de672d38e4
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Oct 29 03:16:30 2009 +0200
s4/drs: prefixMap lookup by full_OID implementation
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 009361e1ffc6bd51205985153e441001c650fc1a
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Oct 28 18:33:13 2009 +0200
s4/drs(tort): refactor - SCHEMA_INFO_DEFAULT defined on file scope
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 1aae751a68ea352f81e00d5c54023c844cd373cd
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Oct 27 18:35:29 2009 +0200
s4/drs: dsdb_write_prefixes_from_schema_to_ldb() refactored
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 82539b7d6615c2ac671a0a347d86a6850a238b28
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Oct 27 18:06:58 2009 +0200
s4/drs: dsdb_read_prefixes_from_ldb() refactored
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit b50df3bd7ff8823839d261e5b5985163b3f953af
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Oct 27 18:03:47 2009 +0200
s4/drs(tort): prefixMap read/write in LDB test case
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6a322006671d929db77f99401634aa9aefa264dd
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Oct 27 16:27:28 2009 +0200
s4/drs(tort): Create temporary LDB for testing purposes
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 9da33436e4de8c092905b3a98584c480592bddc6
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Oct 27 00:16:02 2009 +0200
s4/drs: refactor dsdb_load_oid_mappings_ldb() to use _dsdb_prefixmap_from_ldb_val()
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 5381d8d157e90ae0e6058a19c2486377221ef3f6
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Oct 26 23:50:50 2009 +0200
s4/drs: Load prefixMap from ldb_val moved in separate function
It is to be used later in several places when we need such conversion.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 20622de49f8a876ef91db329348d0827126f11c2
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Oct 26 21:04:28 2009 +0200
s4/drs(tort): prefixMap to/from ldb_val serialization test case
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit fc05386c0d9bf2cf39223e05d3a633a8559c5973
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Nov 3 07:49:36 2009 +0100
s4/drs: dsdb_schema_pfm_from_drsuapi_pfm() to accept partial drsuapi_prefixMap
"partial drsuapi_prefixMap" is a prefix map without last entry
being special - i.e. map that does not contains schema_info entry.
Test for dsdb_schema_pfm_from_drsuapi_pfm() were also extended to
cover both 'full' and 'partial' map conversion.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit ba4d87f81790d5773c033a79ea0b9cd37debd19d
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Oct 26 03:47:41 2009 +0200
s4/drs: dsdb_map_int2oid() replaced by dsdb_schema_pfm_oid_from_attid()
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 01302b8202cadcacf245b9f68ca765f03bf38a0b
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Oct 26 03:35:29 2009 +0200
s4/drs: dsdb_map_oid2int() replaced by dsdb_schema_pfm_make_attid()
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit ddab9d1fe74c90b2b05cd1712931930e82380913
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Oct 26 03:06:16 2009 +0200
s4/drs: dsdb_verify_oid_mappings_drsuapi() replaced by dsdb_schema_pfm_contains_drsuapi_pfm()
dsdb_schema_pfm_contains_drsuapi_pfm() is part of reimplemented
prefixMap interface.
This name was choosen to clearly show, that this a week verification
in case we want to determine if remote schema is changed.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 28b6eb94944e5bca0fff4aeef181e61926df3568
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Oct 26 02:41:46 2009 +0200
s4/drs: dsdb_get_oid_mappings_drsuapi() to use new prefixMap interface
dsdb_get_oid_mappings_drsuapi() just need to call
dsdb_drsuapi_pfm_from_schema_pfm() to get filled-in DRSUAPI
prefixMap.
Perhaps it won't be bad to rename this function to have
more expressive name in the future
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a83385303b3d0cae61d3ace412f58ca49a01f9dc
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Nov 3 09:05:51 2009 +0100
s4/drs: dsdb_load_oid_mappings_drsuapi() -> dsdb_load_prefixmap_from_drsuapi()
Also, dsdb_load_oid_mappings_drsuapi() was reimplemented to use
dsdb_schema_pfm_from_drsuapi_pfm() function to load
drsuapi_prefixMap into schema->prefixmap
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3729272f0a43889b5cf2af4157219dc3962e393b
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Oct 26 00:31:28 2009 +0200
s4/drs: dsdb_schema uses dsdb_schema_prefixmap definition
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3abe0ad7de11f22c7f4f3ddd8b6ffe8c06b9264f
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Oct 25 22:43:04 2009 +0200
s4: DRS-RPC tests added to RPC group of tests
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 7a51b3adc2d1b69eb3f461959cadd392857d51d6
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Oct 25 22:07:18 2009 +0200
s4: Add DRS-UNIT test suite to LOCAL group of tests to be executed
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit b54ec122b2f75fe74356ee73c18e3a76e28c7294
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Oct 25 20:57:18 2009 +0200
s4/drs: Move schema_prefixMap allocation in separate function
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6210237b5aebce71e210dbe39cdf71593e6c03af
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Oct 25 20:34:17 2009 +0200
s4/drs: schema_prefixMap to/from drsuapi_prefixMap conversion implementation
Along with this, dsdb_schema_pfm_contains_drsuapi_pfm()
function is implemented to replace previous implementation
for dsdb_verify_oid_mappings_drsuapi().
Name of the function clearly implies how week this verification is,
as currently it is used to indicate "Schema modified on remote"
condition.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 5446123190a6db8a563289e902ed375771e29942
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Oct 25 20:31:39 2009 +0200
s4/drs(tort): test for schema_prefixMap to/from drsuapi_prefixMap conversion
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3d91c8ef5a115171f96d33606879ab7d871f3e3d
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Oct 24 03:01:01 2009 +0300
s4/drs(tort): implement prefixMap comparison function
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3fe4310df73cf2a314982fe62793ea33d44c5499
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Oct 24 00:48:55 2009 +0300
s4/drs: Implement binary-oid-lookup into prefixMap
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit f4475368f07f2de07f3f9d7c68de027dfb8e7284
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Oct 24 00:48:14 2009 +0300
s4/drs: Move making of partial-binary-oid to a separate function
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 39ab7b8ebdefd13fb586d65da76173c0a3fa5fa5
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Oct 24 00:02:24 2009 +0300
s4/drs: Fix memory leek in prefixMap
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 716eb62b5dab37c203b306047b65280ddf34844a
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Oct 24 00:02:02 2009 +0300
s4/ldb: Fix double allocation for "ldb_url"
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit be06d5ccb4120190571dd5eb91a6dcaae7e27561
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 4 11:12:17 2009 +0100
s4:torture/drs: move intern/ => unit/
metze
commit 440db5a94e0ade69c9c258a54fa4d66b808d965c
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 6 13:48:23 2009 +0100
Revert "s3-kerberos: add smb_krb5_parse_name_flags()."
This reverts commit 17ef153b68795fec681f9ce17c198236aba2b1c2.
commit 9e48dc2b78226bdacb8988509eaa93e5c9d92787
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 5 19:10:55 2009 +0100
s3-kerberos: support S4U2SELF impersionation through cli_krb5_get_ticket().
Guenther
commit bb01aae1b9eb1bede98b7d9a9c4920082db128fe
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 5 17:49:00 2009 +0100
s3-kerberos: use smb_krb5_get_credentials in ads_krb5_mk_req.
Guenther
commit 60bf0eb60788a5d4dc5de24997c5efda64f2bd73
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 13 17:29:22 2008 +0200
s3-kerberos: modify cli_krb5_get_ticket to take a new impersonate_princ_s arg.
Guenther
commit 6ca8a40976f86f66713ba9a7b957f97a1c271016
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 6 12:51:29 2009 +0100
s3-net: better use memory credential cache in net_ads_kerberos_pac().
Guenther
commit 58184b5fd4e95bc7ad2179237808126411509eea
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 13 17:28:39 2008 +0200
s3-net: allow to call "net ads kerberos pac <impersonation principal> -P".
Guenther
commit 5e266225108aa3335476cbe1214cc0f484c4fd02
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 13 17:27:21 2008 +0200
s3-kerberos: add impersonate_principal for kerberos_return_pac_X calls.
Guenther
commit 4ffbfc4475c92b9190811bd189802ff265aa6846
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 13 17:25:35 2008 +0200
s3-kerberos: add smb_krb5_get_tkt_from_creds().
Guenther
commit bb75f713d628073c503b06a3d217195aa95d72b2
Author: Günther Deschner <gd at samba.org>
Date: Fri Nov 6 10:25:53 2009 +0100
s3-kerberos: fix some build warnings when building against heimdal.
Guenther
commit 35dcc133c9c26d10186fe59ea096a2a5c87958e6
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 13 17:22:37 2008 +0200
s3-kerberos: add smb_krb5_get_{creds,credentials} incl. support for S4U2SELF impersonation.
Guenther
commit 0729df3661fefeffc5154c9b01ae027b3ede4b92
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 13 17:27:43 2008 +0200
s3-kerberos: remove duplicate prototype.
Guenther
commit 17ef153b68795fec681f9ce17c198236aba2b1c2
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 5 19:02:55 2009 +0100
s3-kerberos: add smb_krb5_parse_name_flags().
Guenther
commit 2cd507fe144c58a4c856c73ec56b80365dad9f23
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 13 17:21:22 2008 +0200
s3-kerberos: add configure checks for krb5_get_creds_X api.
Guenther
commit c99dd5c23e25f4c1cc34f223f563915c0aa4bb6f
Author: Jeremy Allison <jra at samba.org>
Date: Thu Nov 5 22:58:12 2009 -0800
Got the logic simplification worked out so we still pass
BASE-DELAYWRITE and also RAW-CLOSE.
Jeremy.
commit 977fa4e37741d613df1583b7e0e83c1f0a6ce38c
Author: Jeremy Allison <jra at samba.org>
Date: Thu Nov 5 21:27:25 2009 -0800
Revert commit "0551284dc08eb93ef7b2b2227a45e5ec21d482fb" - simplify
the logic. This was incorrect (I'll revisit this tomorrow).
Jeremy.
commit e434934526b23b34dd85b43495961260dc639e1f
Author: Jeremy Allison <jra at samba.org>
Date: Thu Nov 5 17:43:33 2009 -0800
Remove the smbd:writetimeupdatedelay change Metze added. Metze please
explain why you added this. Change --maximum-runtime=900 for smbtorture4
with BASE-DELAYWRITE. Should allow it to successfully complete now.
Jeremy.
commit 0551284dc08eb93ef7b2b2227a45e5ec21d482fb
Author: Jeremy Allison <jra at samba.org>
Date: Thu Nov 5 17:40:01 2009 -0800
Simplify the logic - remove extraneous argument and calls to set_close_write_time().
We were treating a file time set on close as a sticky write time set, and I don't
think it is. I will add a torture test later to RAW-CLOSE to confirm this.
Jeremy.
commit 2f09516a6be67d3e51ffc611ae2daa3210f07cd8
Author: Jeremy Allison <jra at samba.org>
Date: Thu Nov 5 17:12:11 2009 -0800
Fix explicit set of write time on close.
Jeremy.
commit 7f9fe127ba31e6dd064d090d5ffc8eeb377627ab
Author: Jeremy Allison <jra at samba.org>
Date: Thu Nov 5 16:20:11 2009 -0800
Get closer to an accurate model of Windows timestamp changes.
"Normal" non truncate writes always cause the timestamp to
be set on close. Once a close is done on a handle this can
reset the sticky write time to current time also.
Updated smbtorture4 confirms this.
Jeremy.
commit c2df97f57ce205935c37cd5a90cfeddb129cd92b
Author: Jeremy Allison <jra at samba.org>
Date: Thu Nov 5 15:37:26 2009 -0800
Fix up some of the timing constants for DELAYWRITE. Add some extra tests up test_delayed_write_update6
to investigate what happens to a sticky write handle after a second handle close.
Jeremy.
commit 5fb9d06607c46eae7e1ec4599ad59246f84bb4ee
Author: Zahari Zahariev <zahari.zahariev at postpath.com>
Date: Thu Nov 5 17:40:54 2009 +0200
Python tests for the acl module.
Signed-off-by: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Author: Zahari Zahariev <zahari.zahariev at postpath.com>
commit 1fc47e1228b7f32ad0d6636d09d63d3b1c124aaa
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Thu Nov 5 17:34:12 2009 +0200
Version 1.0 of the directory service acls module.
At this point, support for checks on LDAP add, delete, rename and modify.
Old kludge_acl is still there to handle the searches.
This module is synchronous as the async version was impossible to debug,
will be converted to async after some user testing.
commit b6303f03721d0a86e2e379bdb2e436e328c8f5cb
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 5 15:06:21 2009 +0100
s3: Fix a crash in notify_remove_onelevel when "change notify = no"
commit b5afbb687d9ca0bc15f5dc59498f9d53bd8b4bf1
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 5 14:29:05 2009 +0100
s3: Fix the talloc hierarchy in notify_remove_onelevel
We want to free the record early, not when talloc_tos() is free'ed.
commit 1685ee3ee7b40ee8e36ab799c447ffacdc5d93ea
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Nov 5 12:37:16 2009 +0100
s4:torture/rpc/samr - Add a comment for "ValidatePassword" test
commit 3372e2a0cc479bf17f04481b172087fbef711ea3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Nov 4 12:02:02 2009 +0100
s4:dcesrv_samr - Implement "dcesrv_samr_ValidatePassword" using my new check password call
This implements a very basic method for password validation using my new
"samdb_check_password" call.
commit 85f61e5342bd3b57983045d54de3d824c81079b2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Oct 24 20:21:04 2009 +0200
s4:dsdb/common/util - Add a new utility function "samdb_check_password"
This function performs basic password checks and will be used by the
"samrValidatePassword" call and the "password_hash" module.
commit 3a6bde799d7fd7dffddbde885abe991407233c07
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Oct 24 19:31:01 2009 +0200
s4:samdb_set_password/samdb_set_password_sid - Better comments and cosmetics
commit d415d4d32f2e8e61de21abfdfce02e1b1ea1e1d3
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 3 05:41:02 2009 +0100
s3: Add parameter "ctdb timeout"
When something in the cluster blocks, it can happen that we wait indefinitely
long for ctdb, just adding to the blocking condition. In theory, nothing should
block, but as someone said "In practice the difference between theory and
practice is larger than in theory". This adds a timeout parameter in seconds,
after which we stop waiting for ctdb and panic.
commit 49397a8b3e30b23a4723125986f306fff502a144
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Oct 27 23:24:46 2009 +0100
s4:samdb python bindings - add a wrapper for "dsdb_make_schema_global"
commit 992d35d38a95280dfa18f0ad5f518d2b8342c7dc
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Oct 27 19:52:21 2009 +0100
s4:samdb python bindings - make the python wrap connect more like the C one
Add call for setting the create permissions.
commit b2e91d41194abcc7abc803fc3dc66eb635fcbd25
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Oct 27 19:50:33 2009 +0100
s4:samdb python bindings - Reorder some function bodies to match the order in "ldb_wrap_connect"
commit a10b522a0a5cc32cf535beb48f5bbe096a8e85de
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Nov 4 19:22:24 2009 +0100
s4:kdc: remove unused struct kpasswd_socket
metze
commit dde1c420037bfea48741ba1f600c047cca788a21
Author: Bo Yang <boyang at samba.org>
Date: Fri Nov 6 08:20:25 2009 +0800
s3: Fix kerberos refresh chain.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 170d6a3084dcf4a72d5bc7dca69b1036431e0022
Author: Jeremy Allison <jra at samba.org>
Date: Wed Nov 4 16:04:41 2009 -0800
Fix debug comment (brain wasn't working...).
Jeremy.
commit f44d3754eeefb1a0d0282a424ae9901d72301766
Author: Jeremy Allison <jra at samba.org>
Date: Wed Nov 4 15:25:15 2009 -0800
Filter the returned DOS attributes by 0xFF for clients
using older protocols (LANMAN2 or below).
Jeremy.
commit cbafe17bb37acfb76acf9d9905be1029e274089e
Author: Jeremy Allison <jra at samba.org>
Date: Wed Nov 4 15:15:50 2009 -0800
Remove "Protocol" as an extern, and add accessor functions.
Jeremy.
commit 51cb96271b4f9a4bd37b44bdb6042913b60ba3c1
Author: Björn Jacke <bj at sernet.de>
Date: Wed Nov 4 11:15:31 2009 +0100
s3: add support for full windows timestamps resolution on files
setting nanosecond timestamps using utimensat() was first supported by Linux
kernel 2.6.22 and glibc 2.6. It's specified in POSIX.1-2008.
This effectively makes us use Windows' full 100ns timestamp resolution -
actually just an improvement from 10^-6 to 10^-7.
For now Linux CIFS vfs will also just be able to make use of 100ns resolution,
not 1ns.
commit b8ecf39d9f6f75a31f3eeee9ceca2e20001bbf42
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Wed Nov 4 15:58:54 2009 +0200
Added security descriptor for the domain NC to provisioning.
Necessary for correct descriptor inheritance. Based on the default state
of a single DC. Will be modified later when we support multiple DCs.
commit c9571f7277b1cf68e034ec3482c5474885d9381f
Author: Endi S. Dewata <edewata at redhat.com>
Date: Tue Nov 3 19:45:22 2009 -0600
s4:provisioning - Fixed minor bugs in provisioning tool and partition module.
commit b5ce97511aa33aa439a371f114ba7bb0cf822a16
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Nov 3 14:15:07 2009 +1100
libcli/nbt Move more of lmhosts lookup into common code
This aims to eventually share this with Samba4.
Andrew Bartlett
commit 5a8f21cb88e7579c12b3d97299f355bb64957a87
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Nov 2 16:39:31 2009 +1100
lib/util Fix comments in rfc1738.c.
The Samba version does not use static buffers
Andrew Bartlett
commit ccdd1462cc8d7e5e067b5f3d6122ee8765921b4f
Author: Günther Deschner <gd at samba.org>
Date: Wed Nov 4 00:34:29 2009 +0100
s3-netlogon: make sure we protect some function codes in _netr_LogonControl2Ex().
Guenther
commit bb2e1ff6315f070b67d45600dd763011f8aba136
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 19 11:28:00 2009 +0200
s3-netlogon: let s3 pass against RPC-NETLOGON-S3 again.
Guenther
commit 40f3f456bcea3d37537e807dbcd3a09b08dbc870
Author: Günther Deschner <gd at samba.org>
Date: Thu Oct 8 00:58:02 2009 +0200
s3-netlogon: implement _netr_NETLOGON_INFO_4 in netr_LogonControl2Ex() and friends as well.
Guenther
commit b3a21474971d3ffd6135011daa5f2fe521f535d1
Author: Günther Deschner <gd at samba.org>
Date: Thu Oct 8 00:38:53 2009 +0200
s3-netlogon: implement remote trust account changing in netr_LogonControl2Ex() and friends.
Guenther
commit 8be9ec604e3208c339263ba1cb59c725255ace9b
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 3 23:46:26 2009 +0100
security: re-run make samba3-idl after IDL change.
Guenther
commit 97496bb3cafd8914a3a7c7b7d3a668ba3e533769
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 3 11:45:15 2009 +0100
s3-lsa: fill in some more info levels in _lsa_QueryInfoPolicy().
Add dummys (just like s4 does) and fill in some more appropriate error codes.
Guenther
commit a8de4f091ef10223e862b3cb6f0b9e5cef5cde2a
Author: Günther Deschner <gd at samba.org>
Date: Tue Nov 3 11:46:07 2009 +0100
s4-smbtorture: skip three info levels while testing s3 with RPC-LSA.
These are only supported by s3 when running pdb_ads atm.
Guenther
commit 58d401bb212b43d05213514f8bb2efa850d4e5c9
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 2 20:11:14 2009 +0100
s4-smbtorture: skip QueryInfoPolicy2 while running RPC-LSA against s3.
This is only supported by s3 when running pdb_ads atm.
Guenther
commit bff9819521255b3dcd0f04aa585c1ad0385896fd
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 2 16:51:00 2009 +0100
s4-smbtorture: skip QueryDomainInformationPolicy test against s3 in RPC-LSA.
Guenther
commit 074ad24653e85c60b9af863ac526832229754a96
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 2 19:59:47 2009 +0100
s4-smbtorture: simplify some torture_comments in RPC-LSA.
Guenther
commit 463b1eb2b55ae85cfc9539c936375a989cde1076
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 30 02:15:45 2009 +0100
s3-passdb: cleanup some callers of pdb_get_trusteddom_pw().
Guenther
commit 31ce8eeb44d5060cfe85f42dc6ef092121b84a68
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 3 11:22:19 2009 -0800
Fix debug statements to use correct function name.
Jeremy.
commit 7ae10fb892084b821f29dd36287d6deeb360ea13
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 3 11:21:02 2009 -0800
requires_resume_key is a bool not int.
Jeremy.
commit 6a61befe3798ecf0996887164f7437c3f25c33f9
Author: Jeremy Allison <jra at samba.org>
Date: Tue Nov 3 11:19:24 2009 -0800
Fix more of the RAW-SEARCH test. Older info levels are
not 4 byte aligned (levels 1 - 3).
Jeremy.
commit 97a32035bec03b76b67cb7088a7be1b7b3b9ac48
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 3 18:06:17 2009 +0100
tsocket: rewrite tsocket_guide.txt to reflect the current APIs
metze
commit eb39f6694055267302580bbf6afa988c82c55fed
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 3 17:23:07 2009 +0100
tsocket_bsd: return -1 and set errno to ENAMETOOLONG if the unix path is too long
metze
commit 9b5d1e9e355d3d04f03744e025c6685ca8ad12cd
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Nov 3 17:22:27 2009 +0100
tsocket: remove prototype of non-existing tsocket_address_inet_set_broadcast()
metze
commit 25d9cc8383af99991ead1a238c02efb33b4daa0d
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Tue Nov 3 13:30:06 2009 +0200
Fixed some missing flags and bugs in the security creation.
Also, added some logging. It needs improvement, possibly ability to
turn in on and off via configuration file.
commit 0abfc90ac900f77aad33a748f3ee73f3b3483f7c
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Tue Nov 3 12:27:43 2009 +0200
Fixed a bug in object specific access checks.
commit b067a5e4e83556d11a68ea1837ce4698762c123d
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 3 10:59:18 2009 +0100
s3: Remove debug_ctx()
smbd just crashed on me: In a debug message I called a routine preparing a
string that itself used debug_ctx. The outer routine also used it after the
inner routine had returned. It was still referencing the talloc context
that the outer debug_ctx() had given us, which the inner DEBUG had already
freed.
commit 558e2deda6798e06a6a64a25312b514566c38f66
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Tue Nov 3 11:21:05 2009 +0200
Added some dn to the info in the log messages.
commit 8324dbcb11cbba12fb73896dfc1ddc311edf0fb7
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Mon Nov 2 16:50:28 2009 +0200
Removed the default DACL from token, as we will not be using it.
commit f9c9dee01373d6fd069e36ba6024580b8962f230
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 2 16:17:36 2009 -0800
Convert from numbers to correct SMB_FIND_XX constant names.
Jeremy.
commit cc5b22a0165a1c7d6a0839edd67b8107fc883464
Author: Michael Adam <obnox at samba.org>
Date: Tue Nov 3 00:51:27 2009 +0100
s3:registry: add an extra check for dsize==0 to regdb_fetch_keys_internal()
Don't only rely on dptr == NULL.
I stumbled over this one when rewriting some of the dbwrap_ctdb code.
Michael
commit f6f2151a3947cc105481c64a31d2405f239948cc
Author: Michael Adam <obnox at samba.org>
Date: Tue Nov 3 00:47:37 2009 +0100
s3:registry: add safety check for return value of tdb_unpack to regdb_fetch_keys_internal()
Prevents segfaults in some situations.
(For a non existent or empty record, we sometimes rely on the fetch operation
to return dsize==0 and sometimes we rely on dptr==NULL.)
Michael
commit 25bdf27eaa634f9e54e6252397942beb46f07db5
Author: Michael Adam <obnox at samba.org>
Date: Sat Oct 31 13:16:34 2009 +0100
s3:dbwrap_ctdb: add debug message to transaction_fetch_start()
for the case that another local process has started a transaction
bewteen releasing the transaction_lock record and starting the
transaction.
Michael
commit 9fef6a6666d59ee8cc2ef41f96efa3dd2efba30c
Author: Michael Adam <obnox at samba.org>
Date: Sat Oct 31 13:13:04 2009 +0100
s3:dbwrap_ctdb: split combined check in two and add descriptive debug
in db_ctdb_transaction_fetch_start() for error conditions when re-fetching
the transaction_lock record inside the transaction
Michael
commit f37439efd2fbd9a9e995d838da20d60337ca07f7
Author: Michael Adam <obnox at samba.org>
Date: Thu Oct 29 00:01:45 2009 +0100
s3:dbwrap_ctdb: fix race condition with concurrent transactions on the same node.
In ctdb_transaction_commit(), when the trans2_commit control fails, there
is a race condition in the 1 second sleep between the local transaction_cancel
and the call to ctdb_replay_transaction(): The database is not locked, and
neither is the transaction_lock record. So another client can start and possibly
complete a new transaction in this gap, but only on the same node: The locking
of the transaction_lock record on a different node which involves migration of
the record to the other node has been disabled by introduction of the
transaction_active flag on the db which closes precisely this gap from the start
of the commit until the call to TRANS2_FINISH or TRANS2_ERROR.
But this mechanism does not cover the case where a process on the same node
tries to start a transaction: There is no obstacle to locking the transaction_lock
record because the record does not need to be migrated.
This commit closes this race condition in ctdb_transaction_fetch_start()
by using the new ctdb_ctrl_transaction_active() call to ask the local
ctdb daemon whether it has a transaction running on the database.
If so, the check is repeated until the running transaction is done.
This does introduce an additional call to the local ctdbd when starting
transactions, but it does close the (hopefully) last race condition.
Michael
commit 08d2a3f4bf1a4e3ce571ff59c9a582243c3db57a
Author: Michael Adam <obnox at samba.org>
Date: Wed Oct 28 23:56:59 2009 +0100
s3:configure: add a check for the new CTDB_CONTROL_TRANS2_ACTIVE
Michael
commit 9be4d3dd4f46f0fbd4e20ec33bae7f2e23dba2fd
Author: Michael Adam <obnox at samba.org>
Date: Wed Oct 28 23:56:03 2009 +0100
s3:dbwrap_ctdb: add new db_ctdb_transaction_active() that calls CTDB_CONTROL_TRANS2_COMMIT
Michael
commit 9bd6b9d9f6591d3f5138c2a831340a88a5e4de5a
Author: Michael Adam <obnox at samba.org>
Date: Wed Oct 28 01:54:04 2009 +0100
s3:dbwrap_ctdb: fix a race in starting concurrent transactions on a single node
There are two races in concurrent transactions on a single node.
One in starting a transaction and one with replay during commit.
This commit closes the first race by storing the client pid in the
transaction-lock record and comparing the stored pid against its own
pid after releasing the lock and refetching the record inside the
transaction.
Michael
commit 8d61b8abbc64fc2114c133e93b8c63188ef60bb8
Author: Michael Adam <obnox at samba.org>
Date: Wed Oct 28 01:50:15 2009 +0100
s3:dbwrap_ctdb: use db_ctdb_ltdb_fetch() inside db_ctdb_transaction_fetch_start
Michael
commit 0ec476fca1aa963489bc9292069e12ddb33ef7e3
Author: Michael Adam <obnox at samba.org>
Date: Wed Oct 28 01:28:38 2009 +0100
s3:dbwrap_ctdb: use db_ctdb_ltdb_fetch() inside db_ctdb_transaction_fetch()
Michael
commit 4973ff66ac775d58c95cc6bd5665ed0d1e4a7718
Author: Michael Adam <obnox at samba.org>
Date: Tue Nov 3 00:55:41 2009 +0100
s3:dbwrap_ctdb: add a function db_ctdb_ltdb_fetch()
This fetches a record from the db and splits out the ctdb header.
Michael
commit 6a898348fa701a6d89ea939d1ba4a11da3d0c598
Author: Michael Adam <obnox at samba.org>
Date: Thu Oct 22 16:27:45 2009 +0200
s3:dbrwap_ctdb: add a function db_ctdb_ltdb_store()
and use it in db_ctdb_store() and db_ctdb_transaction_store().
Michael
commit d5aa7584824749ae48ede791cf1c76c8e6ab7ad2
Author: Michael Adam <obnox at samba.org>
Date: Thu Oct 22 14:37:51 2009 +0200
s3:dbwrap_ctdb: reformat a comment slightly to enhance clearness.
Michael
commit 494d8271d43c4bc44a57463e34ae8c35423e4443
Author: Jeremy Allison <jra at samba.org>
Date: Mon Nov 2 12:15:25 2009 -0800
Fix bug 6867 - trans2findnext returns reply_nterror(req, ntstatus) In a directory with a lot of files.
Jeremy.
commit d9bdd17522c6d2916aedb29721c79a9c421ec1eb
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 2 16:59:15 2009 +0100
s3: Fix a 100% CPU loop when ctdbd dies during a traverse
commit f35a1b95aa6f50cb1bc919f4ab502ef2c38f6bf5
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 2 13:01:58 2009 +0100
s3-gencache: restore gencache_get behavior with NULL args (with torture test).
Without this, we panic in wins_srv_is_dead() and fail to start nmbd with
wins support.
Volker, please check.
Guenther
commit ad6ee94950c0977463194b64faee9b012049bfd0
Author: Volker Lendecke <vl at samba.org>
Date: Mon Nov 2 10:05:38 2009 +0100
s3: Make "debug hires timestamp" default to true
It does not cost much and can help a lot when debugging
commit a3553658bfd7898081de90a79afce144c91b39ac
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 30 23:45:21 2009 +1100
s4:dsdb Fix up after the MAP_ constants became LDB_MAP_
commit 371afc47dc744ce4012f5ea00ced29653bd5869a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 30 23:42:03 2009 +1100
s4:provision Remove LDB backend files in provision
Rather than try and remove the records in the LDB files, make the
provision remove the whole file. This also removes the need to try
and carry forward the old ldb filenames.
Andrew Bartlett
commit 6439bdeb3a50aaeb1a9c431b9036c44810d9a5e3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 30 15:18:42 2009 +1100
s4:provision Split ProvisionBackend out of the main provision script
This splits the code, while keeping the original behaviour. The
provision.py file had become just too long.
Andrew Bartlett
commit aa37db5a12fcd8f9d9cba56378953f1c16de6d46
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 30 14:54:21 2009 +1100
s4:provision Inline 'ldap_backend_shutdown' for clarity
commit e94bfe5efbbc61eea8592adce55a998aa6f400d8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 30 14:51:57 2009 +1100
s4:provision Fix samdb test with new provision code
commit 4be253fe2fe7b24f322952f94c973a5d250aec4b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 30 14:31:25 2009 +1100
s4:provision Move 'Schema' into it's own file
commit 76d289bb0e791c7c9fb892a368c767aed2635279
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 30 14:05:21 2009 +1100
s4:provision Make 'linked_attributes' and 'dnsyntax_attributes' a property of the Schema
commit 350e96354543943b5e7249d517596ddfaf29c47e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 30 13:16:10 2009 +1100
s4:provision Rework provision to always have a ProvisionBackend
Rather than treat the LDAP backend as a special case, treat all
backends the same, with different callbacks.
Andrew Bartlett
commit e035433bab87cb5f2f12def900e194da877e6925
Author: Endi S. Dewata <edewata at redhat.com>
Date: Wed Oct 28 15:28:31 2009 -0500
s4 - SID allocation using FDS DNA plugin
commit 40a06c0101bf6426e0752cd695044049a8058f54
Author: Endi S. Dewata <edewata at redhat.com>
Date: Tue Oct 27 14:59:28 2009 -0500
s4:dsdb - Removed redundant domain SID filter.
commit bf01937549cd1ebaf327a709ecb104bfc0e0705c
Author: Endi S. Dewata <edewata at redhat.com>
Date: Fri Oct 23 22:59:48 2009 -0500
s4:dsdb - Store SID as string in FDS.
commit 8097280b468b7bcf26a0e17fdcaaccfb34d06415
Author: Endi S. Dewata <edewata at redhat.com>
Date: Fri Oct 23 20:09:07 2009 -0500
s4 - Mapped AD schema to existing FDS schema.
commit 1fc19ee7d0021e963923911bb440463aa79184fc
Author: Endi S. Dewata <edewata at redhat.com>
Date: Wed Oct 21 16:02:18 2009 -0500
s4:dsdb - Fixed attribute dereferencing for FDS
commit 7d38bb4e93f298a9edb11d5c7d3301029c94c326
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 30 09:03:10 2009 +1100
Remove special case logic in 'samdb_relative_path'.
While this logic (avoiding to prefix a non-filename with a path) is
important in the code this was copied from (private_dir()), none of
the callers of this function need it.
Andrew Bartlett
commit 1ac8ef155f9e41a3c68e8e34ad8a14fb6c6d0365
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 30 09:00:13 2009 +1100
s4:dsdb Revert back to using DN:filename in the partitions record
This allows us to change the escaping function without breaking
existing installs. The new escaping function (used for new databases)
is RFC1738 URI encoding, except for the trivial cases without special
characters.
The new databases are also placed in a subdirectory, sam.ldb.d per an
earlier suggestion by metze.
Andrew Bartlett
commit 7a290130bdeb411625f16451af3f2cfd25eeaf00
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 30 08:58:34 2009 +1100
lib/util Use rfc1738.c from Squid for all our URL encode/decode needs.
Andrew Bartlett
commit 87195f55de771546ea74c0ab06d882f900588099
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Oct 29 17:09:49 2009 +1100
lib/util Add rfc1738 escape/unescape code from Squid
This is intended to replace our rfc1738_unescape(), and give us an
rfc1738_escape implementation (and hopefully is better tested and more
secure).
Andrew Bartlett
commit 609b831462d95bcb24b93453d62481d11e0ff53b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Oct 28 16:49:30 2009 +1100
s4:credentials Put the 'secrets.keytab' in the same directory as secrets.ldb
This avoids trouble when the secrets.ldb is updated with ldbedit but
an smb.conf is not specified.
Andrew Bartlett
commit 071275010ee6a6d39351ab68e2c6770fedfc4328
Author: Matthieu Patou <mat at matws.net>
Date: Tue Oct 27 15:31:40 2009 +0300
s4: Create a script for updating a running provision with change introduced since the initial provision
commit 3caaf6a84c9643aee9aef5f81caf010445d1952a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Oct 17 22:37:24 2009 +0200
s4:torture/raw/samba3misc - Add "discard_const_p" macro before a string
commit f1f1bdada637865fc5d5d1326d1ab64cd8fdaca4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Oct 27 13:56:40 2009 +1100
s4:ldb Remove debug traces duplicated by the new generic trace code
commit 70063522065ab3e5a21fb11db0097b808aa11100
Author: Björn Jacke <bj at sernet.de>
Date: Sat Oct 31 00:45:09 2009 +0100
s3:ldap: don't search when no values where found
commit dd0e16b1d5c19f0e9aee22cb8f591398d8eaedbb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 1 12:56:23 2009 +0100
uuid.c: Remove some dead code
commit 9ab1f793ffe5639820e450dabe58aed8cfb30127
Author: Volker Lendecke <vl at samba.org>
Date: Sat Oct 31 11:28:55 2009 +0100
s3: Fix the RPC server SUBSYSTEM declaration
If I read SMB_SUBSYSTEM right then the 2nd argument needs to be the file where
the static_init_rpc (in this case) is defined. This seems to have moved from
server.c to process.c.
Jelmer, please check!
Volker
commit a80a0b7728de21e992f8f0b3e31b600441a6535d
Author: Björn Jacke <bj at sernet.de>
Date: Sat Oct 31 10:37:44 2009 +0100
s3:Makefile: add LIBREPLACE_LIBS for talloc, tdb and wbclient
commit 4ae950d211cfb17e086e4e3068ff351effb2b5a0
Author: Björn Jacke <bj at sernet.de>
Date: Fri Oct 30 19:54:52 2009 +0100
Ñ3:buildsystem: fix depenencies for libreplace
This problem became visible after adding the picky -z defs linker option: On
Solaris libreplace had unresolved symbols, which showed up in the libtalloc
build. PAM_WINBIND_EXTRA_LIBS and WINBIND_NSS_EXTRA_LIBS had been workarounds
to make things work at two placeÑ. These variables have been obsoleted now.
This patch introduces LIBREPLACE_LIBS which contans the linker flags needed for
linking anything using libreplace.
commit 72cec4a03145e11d299a5b679bb4a7ed6818032b
Author: Björn Jacke <bj at sernet.de>
Date: Fri Oct 30 21:50:41 2009 +0100
Ñ3:ldap: search for account policies in objectclass sambaDomain, not *
commit d1ad143a707b36b3aafcbb498554b73d2013f6e8
Author: Karolin Seeger <kseeger at samba.org>
Date: Fri Oct 30 16:47:22 2009 +0100
s3/docs: Fix typo.
Fix bug #4250. Thanks to TAKAHASHI Motonobu <monyo at samba.gr.jp> for reporting!
Karolin
commit 52aa522a550de45aa28969d0a679ff4e9b6575d6
Author: Karolin Seeger <kseeger at samba.org>
Date: Fri Oct 30 16:31:55 2009 +0100
s3/docs: Remove reference to nonexistent file.
Fix bug #4252. Thanks to TAKAHASHI Motonobu <monyo at samba.gr.jp> for reporting!
Karolin
commit 230f387312524eb55a79f85fbee08953dbc1f8a5
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Oct 17 22:31:34 2009 +0200
s4:nbt_server/wins/winsdb - Fix "const" warning
commit 3587bb63e21c3f033a17bb493dceb64b05fe85d6
Author: Günther Deschner <gd at samba.org>
Date: Thu Oct 29 14:50:56 2009 +0100
s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS.
Guenther
commit 2f3a40844dbac11345a9aabf4a3edd71bab3fec6
Author: Günther Deschner <gd at samba.org>
Date: Wed Oct 28 15:37:11 2009 +0100
s3-rpcclient: add deletetrustdom command.
Guenther
commit fbdda195498a9868b9a11a4e0621fadab1ce0963
Author: Günther Deschner <gd at samba.org>
Date: Wed Oct 28 14:13:32 2009 +0100
s3-rpcclient: add createtrustdom command.
Guenther
commit a98832189a429d7d36eb0decbe66d228061c8cd1
Author: Günther Deschner <gd at samba.org>
Date: Thu Oct 29 23:50:20 2009 +0100
s3-lsa: expand struct lsa_info to carry name and sd.
Guenther
commit 820b2f4cfaf0d5a954ed3bbf3e6b74ccdbfebe70
Author: Günther Deschner <gd at samba.org>
Date: Thu Oct 29 12:36:30 2009 +0100
s3-lsa: use switch in _lsa_QuerySecurity().
Guenther
commit 5e8c86c558360ea3c507dae5b3088aa1c2c97bb4
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 30 12:13:21 2009 +0100
s4-smbtorture: fix warning in RPC-WKSSVC torture test.
Guenther
commit 3d2c9ea4578f65d629eb456a59204407c8d3d639
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Oct 30 12:13:26 2009 +0100
s4:kdc/hdb-samba4 - Remove unused variable
commit e2c84f67a35ce4e57056e6ce220b4364fd2d5787
Author: Jeremy Allison <jra at samba.org>
Date: Thu Oct 29 16:38:34 2009 -0700
Change RAW-STREAMS for s3 to allow rename over an existing stream,
we need to file a CAR to find out why Windows gives INVALID_PARAMETER
for this.
Jeremy.
commit 921aa99b37eba62601e32ee7e8cbd447ca2d737d
Author: Jeremy Allison <jra at samba.org>
Date: Thu Oct 29 16:14:12 2009 -0700
Start fixing the RAW-STREAMS test - ensure that the xattr
used to store the stream info in streams_depot.so is not
seen in when enumerating EAs.
Jeremy.
commit f88ab1b1515b248dde4674caf602c04b40c46055
Author: Jim McDonough <jmcd at samba.org>
Date: Thu Oct 29 11:11:43 2009 -0400
s3: Fix incorrect rc check of nscd_flush_cache.
At least this only resulted in an incorrect debug message.
commit 184afaa04ca90e089be0071ffb024a884d9d347f
Author: Günther Deschner <gd at samba.org>
Date: Wed Oct 28 16:42:44 2009 +0100
s3-secrets: use autogenerated code for TRUSTED_DOM_PASS struct parsing from a tdb.
Guenther
commit e92e33238c79a917db7af9b6dfbf06ebaaba9fd8
Author: Günther Deschner <gd at samba.org>
Date: Wed Oct 28 16:21:53 2009 +0100
s3: add secrets.idl.
Guenther
commit 83de5c826313aa09c76131ae70550bd81b3521c5
Author: Kirill Smelkov <kirr at mns.spb.ru>
Date: Wed Oct 21 21:18:58 2009 +0400
tdb: update README a bit
While studying tdb, I've noticed a couple of mismatches between readme
and actual code:
- tdb_open_ex changed it's log_fn argument to log_ctx
- there is now no tdb_update(), which it seems was transformed into
non-exported tdb_update_hash()
There were other mismatches, but I don't remember them now, sorry.
Signed-off-by: Kirill Smelkov <kirr at mns.spb.ru>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 71a21393dd1bb61bded82b1581ac6d5bd3b0153c
Author: Kirill Smelkov <kirr at mns.spb.ru>
Date: Wed Oct 21 21:18:57 2009 +0400
tdb: add tests for double .close() in pytdb
The reason I do it is that when using older python-tdb as shipped in
Debian Lenny, python interpreter crashes on this test:
(gdb) bt
#0 0xb7f8c424 in __kernel_vsyscall ()
#1 0xb7df5640 in raise () from /lib/i686/cmov/libc.so.6
#2 0xb7df7018 in abort () from /lib/i686/cmov/libc.so.6
#3 0xb7e3234d in __libc_message () from /lib/i686/cmov/libc.so.6
#4 0xb7e38624 in malloc_printerr () from /lib/i686/cmov/libc.so.6
#5 0xb7e3a826 in free () from /lib/i686/cmov/libc.so.6
#6 0xb7b39c84 in tdb_close () from /usr/lib/libtdb.so.1
#7 0xb7b43e14 in ?? () from /var/lib/python-support/python2.5/_tdb.so
#8 0x0a038d08 in ?? ()
#9 0x00000000 in ?? ()
master's pytdb does not (we have a check for self->closed in obj_close()),
but still...
Signed-off-by: Kirill Smelkov <kirr at mns.spb.ru>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit b4424f8234a78a79fb2d71d46ca208b4f12e0f9e
Author: Kirill Smelkov <kirr at mns.spb.ru>
Date: Wed Oct 21 21:18:56 2009 +0400
tdb: reset tdb->fd to -1 in tdb_close()
So that erroneous double tdb_close() calls do not try to close() same
fd again. This is like SAFE_FREE() but for fd.
Signed-off-by: Kirill Smelkov <kirr at mns.spb.ru>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit cfed5f946de0992a594c189ee3c19cf98e59d380
Author: Kirill Smelkov <kirr at mns.spb.ru>
Date: Wed Oct 21 21:18:55 2009 +0400
tdb: fix typo in python's Tdb.get() docstring
It's Tdb.get(), not Tdb.fetch().
Signed-off-by: Kirill Smelkov <kirr at mns.spb.ru>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit ecbe5ebd8d1c44a478c613eb1cace0521142d0d3
Author: Kirill Smelkov <kirr at mns.spb.ru>
Date: Wed Oct 21 21:18:54 2009 +0400
tdb: kill last bits from swig
We no longer use swig for pytdb, so there is no need for swig make
rules. Also pytdb.c header should be updated.
Signed-off-by: Kirill Smelkov <kirr at mns.spb.ru>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 04161b44a035cb0330cecc06c2fd814c9c1211ff
Author: Simo Sorce <idra at samba.org>
Date: Wed Oct 28 19:10:08 2009 -0400
Fix map readonly in smb.conf, it is a single word
commit 25f96a4058c731e302e2d45bd670e598a7e591b7
Author: Stefan (metze) Metzmacher <metze at samba.org>
Date: Wed Oct 28 15:42:47 2009 -0700
Add in Metze's new code to ndr encode the user.DOSATTRIB
blobs. Next I'll change the create timestamp and dos attribute
code to use this.
commit c27194a7e08b51a36a3214a84dcd3d6a12c7f891
Author: SATOH Fumiyasu <fumiyas at osstech.co.jp>
Date: Wed Oct 28 12:48:36 2009 -0700
Fix bug 6572 - libsmbclient: unable to access 'msdfs proxy' share.
commit 0ba004dc7df8b4b3558d7fc4512c9491aa5a646d
Author: Björn Jacke <bj at sernet.de>
Date: Wed Oct 28 14:33:40 2009 +0100
s3:net: fix output of net rpc trustdom list
Move some messages from stderr to stdout. When some trusting DCs were
unreachable we lacked \n's on stdout which screwed up whole the output.
commit ee13e9c0becc2b4a4d3b233613d5e3e9bfb54938
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Oct 28 11:21:27 2009 +0100
s3:configure: only check for gpfs_gpl.h
The header is everything we need in order to build vfs_gpfs.
metze
Signed-off-by: Michael Adam <obnox at samba.org>
commit 4df8426768b96ae263fa54cdee86b6a13d5aea57
Author: Günther Deschner <gd at samba.org>
Date: Wed Oct 28 11:36:13 2009 +0100
s3-passdb: move open_schannel_session_store() to passdb/secrets_schannel.c.
Guenther
commit 96bffa5bbd432310243b9d90dced7fb63c72af66
Author: Günther Deschner <gd at samba.org>
Date: Wed Oct 28 10:56:01 2009 +0100
s3-net: acct_flags are uint32_t in net_sam_set_userflag().
Guenther
commit a8d9c64e0fe6e0bcb4c9751cba0bc7fcc9f152ba
Author: Günther Deschner <gd at samba.org>
Date: Wed Oct 28 10:55:14 2009 +0100
adssearch: dump some more nttime timestamps.
Guenther
commit abe9417303e7d917054f00e136796012ef763fa0
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 27 15:29:02 2009 +0100
s3-lsa: add lsa_trusted_domain_mapping.
Guenther
commit 1f9d06a1b0ff787db46af25bf68f194a08ac6c8e
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 27 15:28:06 2009 +0100
lsa: add LSA_TRUSTED_DOMAIN access masks.
Guenther
commit bda047afbc4188bce0538ad128bea000c9652388
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 27 14:59:25 2009 +0100
s3-passdb: add secrets_delete_generic().
Guenther
commit 7791d29c79e3bb7d4759ba9c31151d268df2d247
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 27 13:50:43 2009 +0100
s3-lsa: add lsa_secret_mapping.
Guenther
commit 80d8b2e180bde08a9339d6f4c1c7df15874954a7
Author: Günther Deschner <gd at samba.org>
Date: Tue Oct 27 13:49:21 2009 +0100
lsa: add LSA_SECRET access masks.
Guenther
commit 880666cd940c9cda8f6906478a700e2904d537bf
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 26 23:47:01 2009 +0100
s3-lsa: use correct function name in_lsa_RemoveAccountRights().
Guenther
commit c352a73badefd8d97389aff58e555a0348b5f411
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 26 23:37:21 2009 +0100
s3-lsa: pure cosmetic indentation fixes.
Guenther
commit 6937e01e3eb13108e1dc12a986dfde49fa8a3671
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 26 23:28:30 2009 +0100
s3-lsa: use enum lsa_LookupNamesLevel in lsa_lookup_level_to_flags().
Guenther
commit 90862a55fd9b5fadfe651320871fa293f68bc6d2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Oct 27 19:40:57 2009 +0100
ldb:tdb backend - be also here more careful with the result value
"msg_delete_attribute" doesn't return an LDB result constant.
commit 4c79fbfbe57d56e9795e85537f00dd023eec78d4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Oct 27 19:11:15 2009 +0100
ldb:python bindings - make the intention by Jelmer ("int" vs. "enum") more clear
commit aa46400cb217c3869729433d2439e6ce3146ca84
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Oct 27 19:07:53 2009 +0100
Revert "ldb python bindungs - better use the "enum ldb_scope" for the search scope rather than "int""
This reverts commit 4f8826ff7f4789c5b5f363b733a42053f72aa526.
Jelmer pointed out that the "enum"s don't work so well in combination with python.
commit 354038f170f2541318336aa72c9f2a0426c6607e
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Oct 27 16:04:35 2009 +0100
s3/docs: Document new pdbedit -K option.
Karolin
commit 8fdef14305ae1e32d61c80cb10859d41c5754023
Author: Michael Adam <obnox at samba.org>
Date: Mon Oct 26 16:07:58 2009 +0100
s3: pdbedit: add option --kickoff-time/-K to set the user's kickoff time
Use "never" as argument to set this to unlimited.
Michael
commit 798b05a9740f43b2b6f9a5091878d85e3c88409d
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 27 20:30:53 2009 +1100
s4-dsdb: call dsdb_make_schema_global() from ldb_wrap
Calling it from samdb_connect() can cause a stale schema to be put
into the global schema.
Thanks to Andrew Bartlett for spotting this.
commit 9a2112ec6604bb9d2c9cf9a99ee42e3e19d209db
Author: Jeremy Allison <jra at samba.org>
Date: Mon Oct 26 21:20:22 2009 -0700
Second part of the fix for bug 6828 - infinite timeout occurs when byte lock held outside of samba.
Fixes case where a connection with a pending lock can me marked "idle", and ensures
that the lock queue timeout is always recalculated.
Jeremy.
commit ab4d06909498c2fa7b22e6abcf7705aa807d0bf4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 27 12:13:46 2009 +1100
s4-dsdb: always cancel transactions on all partitions
If we get an error ending a transaction on one partition we need to
continue on the other partitions.
commit 6afac82e4b2e09262cf3151bc87a82c5abb39932
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Oct 27 11:44:05 2009 +1100
s4-ldb: '+' can also happen in base64 encoded index DNs
commit 8ae0abc65f9023d031c799516efe52cb36c612f5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Oct 27 11:10:49 2009 +1100
s4:ldb Add detail to failures in the indexing code
commit 5e920f2a232ea0bce366895b0b789b1362e88180
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Oct 27 10:54:16 2009 +1100
s4:dsdb Rework partitions module for better tracing
This means we need to create a fake 'module' which only has a 'next'
pointer, so that we can now ldb_next_request() (which incorporates
tracing). The remainaing stub of partition_request() is retained so
that we can indicate which partition an operation is destined for.
Similar tracing is added to the transaction handlers.
Andrew Bartlett
commit 3c6c230b2d5c8a2632163a5f11d9e3f1f3db1639
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Oct 27 10:43:51 2009 +1100
s4:ldb Add additional tracing of the ldb API
This helps pin down where errors occour, by printing a call stack and
setting error strings and trace messages in the transaction case.
Andrew Bartlett
commit 53b160e1b80f66b0728020783df5bf433048a148
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Oct 26 10:23:10 2009 +1100
s4:dsdb Remove partition_extended_schema_update_now
The schema update now request is now handled above the partitions
module.
Andrew Bartlett
commit f381faa8d6fc2c4205e7d59c91f00324f70ca8b9
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Oct 26 12:11:59 2009 +0100
s3: Rename new parameter "ldap ref follow" to "ldap follow referral".
This parameter will be introduced with Samba 3.5.0.
Karolin
commit 35dc481289c28a77f354dd76193d6298de32c66d
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Oct 26 10:14:51 2009 +0100
s3:docs: Public is not a synonym for access based shareenum.
Fix build warning.
Karolin
commit 02dd89520215c88c3c90a91a6a6aac8ba412803a
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Oct 26 09:33:37 2009 +0100
s3:docs: fake dir create times is a global parameter.
Karolin
commit a4f86c07e5e98718e5fcde90c70b05a77c41a522
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Oct 26 08:38:03 2009 +1100
s4-ldb: fixed request handling for schemaUpdateNow op
commit 98a3725252aabeece2b31f87e1c6cfc543fc716d
Merge: 12c9af78179b71721e30b03ae9fc0edd7cda940b 1ea460b0b0dc4ee8a14c764e81f368d4f7e9ff45
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Oct 25 23:14:56 2009 +1100
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit 12c9af78179b71721e30b03ae9fc0edd7cda940b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Oct 25 22:02:31 2009 +1100
s4-ldb: allow for unescaped '=' in a index DN
The ldb_dn_explode code normally enforces all special characters,
including a '=', must be escaped. Unfortunately this conflicts with
the ltdb index DNs, which for binary attributes may be base64
encoded. This allows a unescaped '=' as a special case for index DNs.
commit 1ea460b0b0dc4ee8a14c764e81f368d4f7e9ff45
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Oct 23 17:23:44 2009 +0200
ldb:backend "connect" functions - convert result values to LDB constants
I think this is better since "ldb_backend_connect" and "ldb_connect" which
propagate those values should return only LDB constants. Therefore a conversion
(especially for "-1") would be needed.
commit 54bd30f70632b8fcbe164133d2479092b7262a29
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Oct 25 17:19:03 2009 +1100
s4-samdb: reduce the number of samdb opens at startup
Using common parameters means that the ldb_wrap code can return a
reference rather than a new database
commit b55a5adab99f535bb392662d54afbabed116a3b6
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Oct 25 13:13:41 2009 +1100
s4-ldb: ensure DNs pass validity tests in indexing
commit 2eca02a4080b68fbb2dacb659b1733224cfa462e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Oct 25 13:12:32 2009 +1100
s4-ldb: fixed string length handling on index records
commit c34e45a8e2880eb06be6425fa6be15246db03197
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 22:46:09 2009 +1100
s4-dsdb: ensure that new partitions inherit any transaction
commit d4c0e8fdf063f88032c32de7ece60d502b322089
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 22:45:03 2009 +1100
tdb: detect tdb store of identical records and skip
This can help with ldb where we rewrite the index records
commit dffb572ce0b350bf42549c882275b627d9b36e59
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 22:43:24 2009 +1100
s4-ldb: don't allow modifies outside a transaction.
commit 5002cddcb0d9e539ded949bcc805c035e038362d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 22:42:26 2009 +1100
s4-ldb: fixed re-index during a complex transaction
We may have modified index objects in the in-memory index tdb
commit e7d9f5eea52403f576b636a35fb9889ed82cbf0b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 17:12:48 2009 +1100
s4-python: fixed annoyance where control-C doesn't kill our python scripts
We want our scripts to die immediately when a user hits
control-C. Otherwise we not only annoy the hell out of the user, we
also risk db corruption as the control-C could get delivered as an
exception which gets mis-interpreted (eg. as a missing db object). We
use transactions for all our databases, so the right thing to do in
all our command line tools is to die immediately.
commit a07eb08870823fa443911d3b857724bde1e3021b
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Oct 23 17:30:47 2009 +0200
s4:dcesrv_samr: always use mem_ctx as initial parent for samr_*_state
We always steal the state to the policy handle on success,
but untill then keep it on the short term context.
metze
commit 4ab83fb1b7d2929c6ae454f3f073d4baf3510ca3
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Oct 23 15:12:01 2009 +0200
s4:loadparm: don't leak the names of all shares in each lp_service() call
metze
commit 69e96f08f1def1c28abe928ccbb0717566e49c8c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Oct 23 15:11:08 2009 +0200
s4:dsdb/partition_init: don't leak a talloc_new() in case we have no data yet
metze
commit dc8e681755242b21bfb0e2d0cade633542ba7c81
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Oct 23 17:26:58 2009 +0200
libcli/auth: initialize creds in netlogon_creds_client_init_session_key()
metze
commit fab9aff6a20b7dcb5a570fd2a103b5e5da6fea93
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Oct 23 17:25:19 2009 +0200
s4:gensec/schannel: remove unused talloc_reference() in schannel_update()
We never expose creds to the caller in schannel_update().
metze
commit f2da9c8c1a2f7a4b805f43fd643f877c9274799a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Oct 23 17:23:56 2009 +0200
libcli/auth: fix memory leak in schannel_creds_server_step_check_ldb()
metze
commit 5ae1d700ebf4b6bb63128f50c01ce4365b4e8d94
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Oct 23 15:10:20 2009 +0200
libcli/auth: don't leak the ldb_msg in schannel_store_session_key_ldb()
metze
commit 3054fe46d9ae970c4bd3bac306bfe664fc5a34ff
Author: Barry Sabsevitz <barry_sabsevitz at hp.com>
Date: Fri Oct 23 11:50:29 2009 -0700
Fix bug 6802 - A created folder does not properly inherit permissions from parent.
commit 3b62e250c066f44d0ab08a7db037b6b4f74a914b
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Oct 23 13:51:03 2009 +0200
tdb: rename 'struct list_struct' into 'struct tdb_record'
metze
commit 4f8826ff7f4789c5b5f363b733a42053f72aa526
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Oct 23 14:26:41 2009 +0200
ldb python bindungs - better use the "enum ldb_scope" for the search scope rather than "int"
commit b9a3f1dd85d168c15df846dba525f4f882d1acf8
Author: Bo Yang <boyang at samba.org>
Date: Sat Oct 24 09:20:00 2009 +0800
s3: Fix crash in pam_winbind, another reference to freed memory.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 3050f8328862c7c77d3d692453bd9cc0885824e5
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 16:23:01 2009 +1100
s4-python: we need to include Python.h first
If we don't include Python.h first then we get a pile of warnings due
to broken redefines of XOPEN_SOURCE in the Python includes.
commit e34106ca8b001d75182975a89145ded75dc6619d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 23 14:58:09 2009 +1100
s4:dsdb 'attrs' must be static (otherwise segv with async)
The async code makes this really easy to mess up...
Andrew Bartlett
commit b6200e3047b6ad0cc67922c9b3958af930c7aaeb
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 23 13:37:53 2009 +1100
s4:dsdb Fix samba3sam test again.
We again need to be careful not to call 'ldb_next_request' based functions in the partitions module.
Or, we need to instead go back to having that work, and ditch the
partition_request stuff...
Andrew Bartlett
commit 7d975bb848948d740fc81fb3e8c3cc372c76031c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 23 12:34:41 2009 +1100
s4:dsdb Add error string in 'no such object' because of 0 replies case
commit 26b61aca2f064e0b657eb9f4b09283ad00b13d87
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 23 11:36:23 2009 +1100
s4:dsdb Remove unused variables
commit b0eb8a1bbb5dc5ea51a82a730f71562d89572a21
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Oct 23 10:08:27 2009 +1100
s4:dsdb Do less allocation when searching for partitions modules
(it didn't help that the previous allocation was on the wrong long-term context)
Andrew Bartlett
commit a84abe7053b92de23612ded9c459ba8c76bcc567
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Oct 22 18:22:26 2009 +1100
s4:setup Mark 'cn' in secrets as case insensitive
While this does not matter very much, others may later expect 'cn' to be case
insensitive.
Andrew Bartlett
commit b392116c1f85faa365e714bc442447513557d768
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Oct 22 18:21:50 2009 +1100
s4:secrets Look for LDAP secret with a name that is indexed
This avoids a very common unindexed lookup
commit b7f71c9407b736c4ec233aa8d4c4271a833fb88b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Oct 22 18:21:02 2009 +1100
s4:gensec Use an index on computerName in schannel.ldb
commit 44a727479e54c7d12191d6752c62b12cc2f8081e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Oct 22 18:20:07 2009 +1100
util:ldb Allow multiple entries to be added in one LDIF snippit
commit e5b86d267465dba57b26a74f75ddc1e778359b23
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Oct 22 15:54:57 2009 +1100
s4:dsdb Split schema loading and schema data management
By splitting the module this way, we can load the schema at startup, after
the partitions module is operational, but we leave the 'mess with details of
entries in the partitions' module to operate only on the partitions module.
Loading the schema later allows us to set the @ATTRIBUTES correctly on all
the databases.
Andrew Bartlett
commit bd9aa4d561df738331b65ad05abcbd7672cd0493
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Oct 22 15:54:12 2009 +1100
s4:dsdb Set partitions metadata as soon as it is set up.
commit 0fca2b078ceb314e429e24e3318b50451ccf423b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 15:38:54 2009 +1100
s4-selftest: lower some of the timeouts during make test
This speeds up some of the delay based tests by a lot. There is no
need to have long delays during testing.
commit 0b624d9effa950e1e7ba95866a37b84bb74be772
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 14:54:07 2009 +1100
s4-samdb: make sure the static credentials are never freed
commit 890e7719cf679108e7a74a660f20a40a32d7d552
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 14:50:56 2009 +1100
s4-ldb: move the tdb_reopen_all() calls to ldb_wrap.c
commit 906961cd8ce4a68117fbb5dc96bfb4f5379daa5b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 14:46:34 2009 +1100
s4-ldb: use ldb_wrap_fork_hook() to cancel child transactions
commit a32b3386473e40ec8b94703f66f731a29dba68f7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 14:46:08 2009 +1100
s4-ldb: added ldb_transaction_cancel_noerr()
This will be used to allow cancelling of transactions in a child after
a fork()
commit a7cc448dc232ac08bda0eef1bbc8e22b52eea5b5
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 14:31:07 2009 +1100
s4-server: call the ldb_wrap_fork_hook() after a fork()
This will be used to allow us to cancel any pending transactions
after a fork.
commit 33756d6374fbeff15c2824c540f433ad6870e5c9
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 14:30:00 2009 +1100
s4-server: pre-open the main ldb databases in the server
By pre-opening these databases and leaving them open, we allow the new
ldb_wrap_connect() code to share the ldb context between users.
commit 4ad0397d8afdd6bec609506f3736f8567afe7564
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 14:27:00 2009 +1100
s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()
This allows us to reuse a ldb context if it is open twice, instead
of going through the expensive process of a full ldb open. We can
reuse it if all of the parameters are the same.
The change relies on callers using talloc_unlink() or free of a parent
to close a ldb context.
commit 05f93c3e8fe2b0f6e520686742c48c78c96605ab
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 14:23:40 2009 +1100
s4-dsdb: add a static samdb_credentials
Similarly to system_session(), this creates a static
samdb_credentials()
commit 98e4393df926b600354ef16eb4eb19b5e11bf5c3
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Oct 23 14:19:28 2009 +1100
s4-dsdb: create a static system_session context
This patch adds a system_session cache, preventing us from having to
recreate it on every ldb open, and allowing us to detect when the same
session is being used in ldb_wrap
commit 4a1a9f579265e885c6fabb3acc3cf0d930feacc3
Author: Jeremy Allison <jra at samba.org>
Date: Thu Oct 22 15:26:22 2009 -0700
Simplify the logic.
Jeremy.
commit 843adc1981d0ad380d207bdc014209aa8dd73344
Author: Jeremy Allison <jra at samba.org>
Date: Thu Oct 22 15:06:38 2009 -0700
Fix bug 6829 - smbclient does not show special characters properly.
All successful calls to cli_session_setup() *must* be followed by
calls to cli_init_creds() to stash the credentials we successfully
connected with. There were 2 codepaths where this was missing. This
caused smbclient to be unable to open the \srvsvc pipe to do an RPC
netserverenum, and cause it to fall back to a RAP netserverenum,
which uses DOS codepage conversion rather than the full UCS2 of
RPC, so the returned characters were not correct (unless the DOS
codepage was set correctly). Phew. That was fun to track down :-).
Jeremy.
commit 5c6944d33f7d4b3ec74d8ab29d344cd33583ede9
Author: Volker Lendecke <vl at samba.org>
Date: Thu Oct 22 16:32:13 2009 +0200
s3: Remove a pointless #endif/#ifdef pair
commit 77991fc6f817e05b684a9b6de4c061258ade87eb
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 22 19:05:02 2009 +1100
s4-lsa: fixed breakage of lsa server
commit 9c9e853c77de54f41c22063eeea2ff7c9ace6ebb
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 22 18:45:43 2009 +1100
s4-torture: fixed double free in libnet_group test
commit 2b82b8e2d36ca65a6bbb1c92e5d1a9bdf2106927
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Oct 22 09:17:27 2009 +0200
s4:provision - Reintroduce accidentally removed parameters and checks from "guess_names"
abartlet pointed out that those are essential for a safe and consistent provision.
commit fc97c60c56c0492c923743b7e3190fa06cad6e90
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 22 14:44:47 2009 +1100
s4-lsa: fixed the lsa server to cope with the new tests from gd
commit a109ee71fb9b8fa25f9ca739caaba5a1399b7864
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 22 12:45:48 2009 +1100
s4-ldb: added a TODO about checking the indexlist
commit f2988f5cad156da54e7ad41c2c2d8bd7a0ee29b8
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 22 12:45:26 2009 +1100
s4-ldb: fixed some memory leaks in new indexing code
commit 0fb6e2a52cb681cfdd73c4be16487d1d9d7d8318
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 22 12:29:35 2009 +1100
s4-ldb: don't try to index non-indexed attributes
commit a5712ff673226e0259a7f6fcca4377feb0eabf8f
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 22 11:19:19 2009 +1100
s4-selftest: removed raw.unlink from quicktest
This test takes 40s, and quicktest already covers delete operations in
base.delete
commit 1b48764f24cf2204fb12cc4fa1381fc6bc9e14f4
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 22 11:16:30 2009 +1100
s4-ldb: ensure new dn_list elements are not owned by caller
commit 129298c9b9793794125558b8334fd5b578ca1112
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 22 11:16:00 2009 +1100
s4-ldb: over-allocate index records to save on realloc costs
commit d483c3bb960823cbf9a812872d6040bc390c48ca
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 22 11:15:18 2009 +1100
s4-ldb: fixed tdb error handling in ldb_index.c
commit fcd16eab6c9cbba05f3e2719527ed217d816d75c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 22 11:14:36 2009 +1100
s4-ldb: delete empty index records
commit 936c8f311ac435a7d6cf2643c3dc4a9cbc9a79da
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Oct 22 11:13:28 2009 +1100
s4-ldb: do more validation of idxptr lists
commit 74ae8b90ae71446ccafab3a324087f2edf928b13
Author: Andrew Tridgell <