samba.git
12 years agos4-cldap: Set DS_DNS_CONTROLLER bit if we are running RPC dnsserver
Amitay Isaacs [Wed, 7 Dec 2011 22:28:45 +0000 (09:28 +1100)]
s4-cldap: Set DS_DNS_CONTROLLER bit if we are running RPC dnsserver

Till we have internal DNS server which appears in services, use
endpoint services to find out if we are running dns server.

12 years agolibcli: Remove an unused variable
Volker Lendecke [Mon, 12 Dec 2011 20:26:52 +0000 (21:26 +0100)]
libcli: Remove an unused variable

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Dec 12 23:21:49 CET 2011 on sn-devel-104

12 years agos3: Remove a bunch of calls to procid_self()
Volker Lendecke [Mon, 12 Dec 2011 13:55:54 +0000 (14:55 +0100)]
s3: Remove a bunch of calls to procid_self()

All callers to messaging_[re]init only used procid_self()

12 years agos3:smbd/close: pass smbd_server_connection to notify_deferred_opens()
Stefan Metzmacher [Mon, 12 Dec 2011 15:07:19 +0000 (16:07 +0100)]
s3:smbd/close: pass smbd_server_connection to notify_deferred_opens()

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 12 21:49:11 CET 2011 on sn-devel-104

12 years agos3:smbd/clode: pass smbd_server_connection as private_data to msg_close_file()
Stefan Metzmacher [Mon, 12 Dec 2011 14:45:07 +0000 (15:45 +0100)]
s3:smbd/clode: pass smbd_server_connection as private_data to msg_close_file()

metze

12 years agos3:smbd/blocking: pass smbd_server_connection as private_data to received_unlock_msg()
Stefan Metzmacher [Mon, 12 Dec 2011 14:45:07 +0000 (15:45 +0100)]
s3:smbd/blocking: pass smbd_server_connection as private_data to received_unlock_msg()

metze

12 years agos3:smb2_lock: pass smbd_server_connection as private_data to received_unlock_msg()
Stefan Metzmacher [Mon, 12 Dec 2011 14:45:07 +0000 (15:45 +0100)]
s3:smb2_lock: pass smbd_server_connection as private_data to received_unlock_msg()

metze

12 years agos4:python/samba/join: set msDS-Behavior-Version to '4' 2008_R2 on the nTDSA object
Stefan Metzmacher [Mon, 12 Dec 2011 11:44:33 +0000 (12:44 +0100)]
s4:python/samba/join: set msDS-Behavior-Version to '4' 2008_R2 on the nTDSA object

This matches the values we set in provision.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 12 19:16:13 CET 2011 on sn-devel-104

12 years agos3-ctdb: fix the build w/o HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL
Günther Deschner [Mon, 12 Dec 2011 11:17:35 +0000 (12:17 +0100)]
s3-ctdb: fix the build w/o HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL

Volker, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Dec 12 17:42:29 CET 2011 on sn-devel-104

12 years agos3:smb2_server: use sconn->ev_ctx instead of sconn->smb2.event_ctx
Stefan Metzmacher [Mon, 12 Dec 2011 13:15:03 +0000 (14:15 +0100)]
s3:smb2_server: use sconn->ev_ctx instead of sconn->smb2.event_ctx

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 12 16:08:59 CET 2011 on sn-devel-104

12 years agos3:smb2_lock: avoid using server_event_context()
Stefan Metzmacher [Mon, 12 Dec 2011 12:49:29 +0000 (13:49 +0100)]
s3:smb2_lock: avoid using server_event_context()

metze

12 years agos3:smbd/pipes: avoid passing server_event_context() as event context to np_{read...
Stefan Metzmacher [Mon, 12 Dec 2011 12:47:56 +0000 (13:47 +0100)]
s3:smbd/pipes: avoid passing server_event_context() as event context to np_{read,write}_send

metze

12 years agos3:smbd/process: avoid using server_event_context() for the forked echo handler
Stefan Metzmacher [Mon, 12 Dec 2011 12:54:10 +0000 (13:54 +0100)]
s3:smbd/process: avoid using server_event_context() for the forked echo handler

metze

12 years agos3:smbd/process: avoid using server_event_context() for smbd_deferred_open_timer...
Stefan Metzmacher [Mon, 12 Dec 2011 12:53:26 +0000 (13:53 +0100)]
s3:smbd/process: avoid using server_event_context() for smbd_deferred_open_timer events

metze

12 years agos3:smbd/oplock: avoid using server_event_context() in add_oplock_timeout_handler()
Stefan Metzmacher [Mon, 12 Dec 2011 12:51:27 +0000 (13:51 +0100)]
s3:smbd/oplock: avoid using server_event_context() in add_oplock_timeout_handler()

metze

12 years agos3:smbd/service: avoid using server_event_context() for notify_init()
Stefan Metzmacher [Mon, 12 Dec 2011 12:50:51 +0000 (13:50 +0100)]
s3:smbd/service: avoid using server_event_context() for notify_init()

metze

12 years agos3:smbd/ipc: pass 'state' as mem_ctx to np_read_send()
Stefan Metzmacher [Mon, 12 Dec 2011 12:46:52 +0000 (13:46 +0100)]
s3:smbd/ipc: pass 'state' as mem_ctx to np_read_send()

metze

12 years agos3:smbd/fileio: avoid usage of server_event_context()
Stefan Metzmacher [Mon, 12 Dec 2011 12:39:56 +0000 (13:39 +0100)]
s3:smbd/fileio: avoid usage of server_event_context()

metze

12 years agos3:smbd/close: avoid usage of server_event_context()
Stefan Metzmacher [Mon, 12 Dec 2011 12:39:56 +0000 (13:39 +0100)]
s3:smbd/close: avoid usage of server_event_context()

metze

12 years agos3:smbd/blocking: avoid usage of server_event_context()
Stefan Metzmacher [Mon, 12 Dec 2011 12:39:56 +0000 (13:39 +0100)]
s3:smbd/blocking: avoid usage of server_event_context()

metze

12 years agos3:smbd: remember the event context on smbd_server_connection
Stefan Metzmacher [Mon, 12 Dec 2011 12:18:59 +0000 (13:18 +0100)]
s3:smbd: remember the event context on smbd_server_connection

metze

12 years agos3:smbd: pass down smbd_server_connection via smbd_echo_state
Stefan Metzmacher [Mon, 12 Dec 2011 10:20:06 +0000 (11:20 +0100)]
s3:smbd: pass down smbd_server_connection via smbd_echo_state

metze

12 years agos3:smbd: remove references to the global smbd_server_conn
Stefan Metzmacher [Mon, 12 Dec 2011 10:20:06 +0000 (11:20 +0100)]
s3:smbd: remove references to the global smbd_server_conn

metze

12 years agos3:smbd: make struct pending_message_list private
Stefan Metzmacher [Mon, 12 Dec 2011 10:19:05 +0000 (11:19 +0100)]
s3:smbd: make struct pending_message_list private

metze

12 years agos3:smbd: remember the smbd_server_connection on pending_message_list
Stefan Metzmacher [Mon, 12 Dec 2011 10:11:55 +0000 (11:11 +0100)]
s3:smbd: remember the smbd_server_connection on pending_message_list

metze

12 years agoHEIMDAL: Supply krb5_context to _krb5_internal_hmac to allow logging
Andrew Bartlett [Thu, 17 Nov 2011 08:13:02 +0000 (19:13 +1100)]
HEIMDAL: Supply krb5_context to _krb5_internal_hmac to allow logging

Without this, log messages from any abort are not printed to
the samba logs.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Dec 12 14:34:16 CET 2011 on sn-devel-104

12 years agos4-torture Do not use a fixed password for forest trust tests
Andrew Bartlett [Mon, 12 Dec 2011 11:52:46 +0000 (22:52 +1100)]
s4-torture Do not use a fixed password for forest trust tests

It is much better to always use random passwords.

Andrew Bartlett

12 years agos4-torture cope with servers earlier than Windows 2008
Andrew Bartlett [Sat, 10 Dec 2011 04:02:52 +0000 (15:02 +1100)]
s4-torture cope with servers earlier than Windows 2008

Only Win2008 started to support new encryption types.

Andrew Bartlett

12 years agos4-torture Modify rpc.lsa.forest.trust test to progress further FL Win2003 R2
Andrew Bartlett [Sat, 10 Dec 2011 03:17:57 +0000 (14:17 +1100)]
s4-torture Modify rpc.lsa.forest.trust test to progress further FL Win2003 R2

This modification is required to pass against a domain in functional
level Windows 2003 or later.

Andrew Bartlett

12 years agos4-torture: Fix comment
Andrew Bartlett [Sat, 10 Dec 2011 02:33:06 +0000 (13:33 +1100)]
s4-torture: Fix comment

12 years agotestsuite: Remove unused and unlikely to be revived DejaGNU tests
Andrew Bartlett [Thu, 8 Dec 2011 20:35:37 +0000 (07:35 +1100)]
testsuite: Remove unused and unlikely to be revived DejaGNU tests

12 years agos4-lsarpc handle more info levels in SetInfoTrustedDomain calls
Andrew Bartlett [Wed, 7 Dec 2011 05:03:04 +0000 (16:03 +1100)]
s4-lsarpc handle more info levels in SetInfoTrustedDomain calls

This uses the very helpful conversion functions written for the s3 lsa server
and places these in common.

Andrew Bartlett

12 years agotorture: do not reuse bindings between pipes
Andrew Bartlett [Fri, 9 Dec 2011 07:10:17 +0000 (18:10 +1100)]
torture: do not reuse bindings between pipes

This avoids connecting to the netlogon server over \pipe\lsarpc

This works against windows because all pipes are implemented in the same
process, but not Samba4, and relying on this is not recommended in the WSPP docs.

Andrew Bartlett

12 years agos4-lsarpc Fix segfaults found by the samba4.rpc.lsa.forest test
Andrew Bartlett [Wed, 7 Dec 2011 03:38:56 +0000 (14:38 +1100)]
s4-lsarpc Fix segfaults found by the samba4.rpc.lsa.forest test

This allows us to move this test to knownfail from skip

12 years agos3:smbd: call sub_set_socket_ids() in smbd_process() again
Stefan Metzmacher [Mon, 12 Dec 2011 07:46:26 +0000 (08:46 +0100)]
s3:smbd: call sub_set_socket_ids() in smbd_process() again

This got lost in commit b2511a280aa9449123376fd3cbb495dcd1a87dee.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 12 10:23:44 CET 2011 on sn-devel-104

12 years agotdb2: don't use TDB2 versions of test tdb files.
Rusty Russell [Sat, 10 Dec 2011 14:31:46 +0000 (01:01 +1030)]
tdb2: don't use TDB2 versions of test tdb files.

Now tdb2 handles tdb1 files, we don't need most of commit
5eecc854236f0b943aaa89e0c3a46f9fbd208ca9 which added TDB2 versions of
all the testing tdbs.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Mon Dec 12 06:33:44 CET 2011 on sn-devel-104

12 years agovfs: Make function pointer names consistent. They all end in _fn
Richard Sharpe [Sun, 4 Dec 2011 04:45:04 +0000 (20:45 -0800)]
vfs: Make function pointer names consistent. They all end in _fn

Autobuild-User: Richard Sharpe <sharpe@samba.org>
Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104

12 years agos3/doc: document the ignore system acls option of vfs_acl_xattr and vfs_acl_tdb
Björn Jacke [Sat, 10 Dec 2011 12:53:42 +0000 (13:53 +0100)]
s3/doc: document the ignore system acls option of vfs_acl_xattr and vfs_acl_tdb

Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Sat Dec 10 15:30:46 CET 2011 on sn-devel-104

12 years agotevent: tevent_schedule_immediate never fails
Volker Lendecke [Fri, 9 Dec 2011 12:38:17 +0000 (13:38 +0100)]
tevent: tevent_schedule_immediate never fails

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Dec  9 16:47:23 CET 2011 on sn-devel-104

12 years agos4:libcli/smb2: mark a request as error if we can't ship it
Stefan Metzmacher [Fri, 9 Dec 2011 10:05:47 +0000 (11:05 +0100)]
s4:libcli/smb2: mark a request as error if we can't ship it

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Dec  9 15:13:11 CET 2011 on sn-devel-104

12 years agos4:libcli/raw: mark a request as error if we can't ship it
Stefan Metzmacher [Fri, 9 Dec 2011 10:05:47 +0000 (11:05 +0100)]
s4:libcli/raw: mark a request as error if we can't ship it

metze

12 years agos3-dbwrap: Fix a typo
Volker Lendecke [Fri, 9 Dec 2011 10:12:59 +0000 (11:12 +0100)]
s3-dbwrap: Fix a typo

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Dec  9 13:37:51 CET 2011 on sn-devel-104

12 years agos4:dsdb/common/util.c - test LDB result against LDB_SUCCESS as we are always doing
Matthias Dieter Wallnöfer [Thu, 1 Dec 2011 08:33:10 +0000 (09:33 +0100)]
s4:dsdb/common/util.c - test LDB result against LDB_SUCCESS as we are always doing

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Dec  9 12:00:03 CET 2011 on sn-devel-104

12 years agos4 dns: Update requests with QCLASS != IN or ALL trigger NOTIMPLEMENTED errors
Kai Blin [Fri, 9 Dec 2011 00:26:39 +0000 (01:26 +0100)]
s4 dns: Update requests with QCLASS != IN or ALL trigger NOTIMPLEMENTED errors

Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Fri Dec  9 03:32:28 CET 2011 on sn-devel-104

12 years agos4 dns: Add test to prove two updates in one packet are a FORMERR
Kai Blin [Fri, 9 Dec 2011 00:14:35 +0000 (01:14 +0100)]
s4 dns: Add test to prove two updates in one packet are a FORMERR

12 years agos4 dns: More explicitly use the first question of an update packet only
Kai Blin [Thu, 8 Dec 2011 23:59:34 +0000 (00:59 +0100)]
s4 dns: More explicitly use the first question of an update packet only

12 years agos4 dns: Get rid of const qualifier for prereqs, we do need to allocate those
Kai Blin [Thu, 8 Dec 2011 23:58:32 +0000 (00:58 +0100)]
s4 dns: Get rid of const qualifier for prereqs, we do need to allocate those

12 years agoRevert "Install (platform-independent) python scripts to the PYTHONDIR rather than...
Jelmer Vernooij [Thu, 8 Dec 2011 22:46:14 +0000 (23:46 +0100)]
Revert "Install (platform-independent) python scripts to the PYTHONDIR rather than PYTHONARCHDIR."

This reverts commit de4b8943bfb40e2f50c9e4e2ee5d39e986317d08.

PYTHONDIR and PYTHONARCHDIR are both incorrect - they're the
distribution's python locations, rather than the python locations for
third party applications. For the moment, using PYTHONARCHDIR seems
better though, because it works around an issue on Fedora/RedHat.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Dec  9 01:58:50 CET 2011 on sn-devel-104

12 years agoAdd 'make pep8' target.
Jelmer Vernooij [Thu, 8 Dec 2011 21:14:55 +0000 (22:14 +0100)]
Add 'make pep8' target.

12 years agoAdd test for PEP8 - currently all errors are ignored, but we warn about them - and...
Jelmer Vernooij [Thu, 8 Dec 2011 20:56:08 +0000 (21:56 +0100)]
Add test for PEP8 - currently all errors are ignored, but we warn about them - and can ratchet if we want to.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Dec  8 23:44:10 CET 2011 on sn-devel-104

12 years agoAdd pep8.
Jelmer Vernooij [Thu, 8 Dec 2011 20:22:35 +0000 (21:22 +0100)]
Add pep8.

12 years agotesttools: Update to new upstream revision.
Jelmer Vernooij [Thu, 8 Dec 2011 20:21:59 +0000 (21:21 +0100)]
testtools: Update to new upstream revision.

12 years agopyldb: Add more docstrings.
Jelmer Vernooij [Thu, 8 Dec 2011 19:28:18 +0000 (20:28 +0100)]
pyldb: Add more docstrings.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Dec  8 22:08:49 CET 2011 on sn-devel-104

12 years agosamba.drs_utils: Use new style classes and exceptions, fix formatting of docstrings...
Jelmer Vernooij [Thu, 8 Dec 2011 19:23:57 +0000 (20:23 +0100)]
samba.drs_utils: Use new style classes and exceptions, fix formatting of docstrings to make pydoctor happy.

12 years agosamba.kcc_utils: Fix formatting to match PEP8, make pydoctor happy.
Jelmer Vernooij [Thu, 8 Dec 2011 19:20:03 +0000 (20:20 +0100)]
samba.kcc_utils: Fix formatting to match PEP8, make pydoctor happy.

12 years agos3-dbwrap: & is not required when taking a function pointer
Volker Lendecke [Thu, 8 Dec 2011 13:02:27 +0000 (14:02 +0100)]
s3-dbwrap: & is not required when taking a function pointer

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Dec  8 16:39:29 CET 2011 on sn-devel-104

12 years agos3-dbwrap: Make dbwrap_fallback_wipe private
Volker Lendecke [Thu, 8 Dec 2011 13:01:27 +0000 (14:01 +0100)]
s3-dbwrap: Make dbwrap_fallback_wipe private

12 years agos3-dbwrap: Avoid an "else" by an early return
Volker Lendecke [Thu, 8 Dec 2011 12:59:33 +0000 (13:59 +0100)]
s3-dbwrap: Avoid an "else" by an early return

12 years agos3-dbwrap: Make dbwrap_fallback_parse_record private
Volker Lendecke [Thu, 8 Dec 2011 12:58:19 +0000 (13:58 +0100)]
s3-dbwrap: Make dbwrap_fallback_parse_record private

We have the private fallback in dbwrap_parse_record anyway

12 years agos3-dbwrap: Make dbwrap_fallback_fetch private
Volker Lendecke [Thu, 8 Dec 2011 12:56:07 +0000 (13:56 +0100)]
s3-dbwrap: Make dbwrap_fallback_fetch private

12 years agos3-dbwrap: use wrappers where appropriate
Volker Lendecke [Thu, 8 Dec 2011 12:51:19 +0000 (13:51 +0100)]
s3-dbwrap: use wrappers where appropriate

12 years agos3-dbwrap: Use simpler code for logging keys
Volker Lendecke [Wed, 7 Dec 2011 13:50:54 +0000 (14:50 +0100)]
s3-dbwrap: Use simpler code for logging keys

12 years agos3: Fix some 64-bit warnings
Volker Lendecke [Fri, 2 Dec 2011 14:03:05 +0000 (15:03 +0100)]
s3: Fix some 64-bit warnings

12 years agos3: Fix some blank line endings
Volker Lendecke [Mon, 5 Dec 2011 09:49:48 +0000 (10:49 +0100)]
s3: Fix some blank line endings

12 years agos3: Fix typos
Volker Lendecke [Thu, 8 Dec 2011 09:30:16 +0000 (10:30 +0100)]
s3: Fix typos

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Dec  8 12:05:55 CET 2011 on sn-devel-104

12 years agoAdd tests for srvsvc python interface. Thanks Dhananjay Sathe
Jelmer Vernooij [Thu, 8 Dec 2011 01:42:28 +0000 (02:42 +0100)]
Add tests for srvsvc python interface. Thanks Dhananjay Sathe

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Dec  8 04:57:52 CET 2011 on sn-devel-104

12 years agoselftest: Some extra assertions.
Jelmer Vernooij [Thu, 8 Dec 2011 01:42:08 +0000 (02:42 +0100)]
selftest: Some extra assertions.

12 years agodbcheck: cope with objects disappearing during checking
Andrew Tridgell [Thu, 8 Dec 2011 00:47:59 +0000 (11:47 +1100)]
dbcheck: cope with objects disappearing during checking

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Dec  8 03:23:49 CET 2011 on sn-devel-104

12 years agosamba_kcc NTDSConnection translation
Dave Craft [Sun, 4 Dec 2011 17:08:56 +0000 (11:08 -0600)]
samba_kcc NTDSConnection translation

This is an advancement of samba_kcc to compute and
commit the modification of a repsFrom on an NC Replica.
The repsFrom is computed according to the MS tech spec
for implied replicas of NTDSConnections.  Proper maintenance
of (DRS options, schedules, etc) from a NTDSConnection are now
all present.  New classes for inter-site transports, sites,
and repsFrom) are now present in kcc_utils.py.  Substantively
this gets intra-site topology generation functional by committing
the repsFrom that were computed from the DSA graph implemented in
prior drops of samba_kcc

Signed-off-by: Andrew Tridgell <tridge@samba.org>
12 years agoInvocation of samba_kcc from KCC task
Dave Craft [Sun, 4 Dec 2011 17:06:47 +0000 (11:06 -0600)]
Invocation of samba_kcc from KCC task

Modification to periodic and explicit invocation
paths of the KCC topology generation code.  Managed
via samba_runcmd_send() API.  The samba_kcc script
is invoked if (kccsrv:samba_kcc = true) appears in smb.conf

Signed-off-by: Andrew Tridgell <tridge@samba.org>
12 years agoAdd subreq and status to kcc_service struct
Dave Craft [Sun, 4 Dec 2011 17:04:49 +0000 (11:04 -0600)]
Add subreq and status to kcc_service struct

The subreq and status fields in the kcc_service struct
are added for execution management of the external samba_kcc
python script.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
12 years agoAdd DRSUAPI_DRS_UPDATE_(x) flags
Dave Craft [Sun, 4 Dec 2011 17:01:54 +0000 (11:01 -0600)]
Add DRSUAPI_DRS_UPDATE_(x) flags

DRSUAPI_DRS_UPDATE flags are used in
DRS_MSG_REPMOD_V1 message structure when repsFrom
is modified via RPC.  The RPCs are currently uncoded but
samba_kcc maintains the flags (and uses them to identify
what repsFrom changes are to be executed).  These are currently
helpful to samba_kcc and are intended to ultimately be used in
RPCs.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
12 years agoAdd NTDSConnection schedule attr blob
Dave Craft [Sun, 4 Dec 2011 17:00:31 +0000 (11:00 -0600)]
Add NTDSConnection schedule attr blob

Add schedule blob to drsblobs to allow
NDR unpacking into a python class.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
12 years agoAdd samba_kcc load parameter
Dave Craft [Sun, 4 Dec 2011 16:58:16 +0000 (10:58 -0600)]
Add samba_kcc load parameter

Configures parameter to enumerate name of python KCC
topology generator for subsequent use by samba_runcmd_send()
invocation from kcc task

Signed-off-by: Andrew Tridgell <tridge@samba.org>
12 years agoAdd version attribute for pytevent.
Jelmer Vernooij [Wed, 7 Dec 2011 10:57:57 +0000 (11:57 +0100)]
Add version attribute for pytevent.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Dec  7 15:07:49 CET 2011 on sn-devel-104

12 years agoselftest: samba4.samba-tool.domopen now passes, so do not skip
Andrew Bartlett [Wed, 7 Dec 2011 01:56:50 +0000 (12:56 +1100)]
selftest: samba4.samba-tool.domopen now passes, so do not skip

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Dec  7 04:42:02 CET 2011 on sn-devel-104

12 years agos4-selftest re-enable nsstest on libnss_winbind.so
Andrew Bartlett [Wed, 7 Dec 2011 01:51:59 +0000 (12:51 +1100)]
s4-selftest re-enable nsstest on libnss_winbind.so

12 years agos4-kdc: only build hdb plugin if we build against system Heimdal
Andrew Bartlett [Wed, 7 Dec 2011 00:43:01 +0000 (11:43 +1100)]
s4-kdc: only build hdb plugin if we build against system Heimdal

It is not safe to have a system kadmin use our plugin if we do not
share the same libkrb5.

Andrew Bartlett

12 years agoclarify Roadmap, as the shape of Samba 4.0 is much clearer now
Andrew Bartlett [Wed, 9 Nov 2011 23:02:15 +0000 (10:02 +1100)]
clarify Roadmap, as the shape of Samba 4.0 is much clearer now

12 years agoRemove outdated information from the README
Andrew Bartlett [Wed, 9 Nov 2011 22:59:57 +0000 (09:59 +1100)]
Remove outdated information from the README

12 years agos4-dnsupdate: Do not attempt to add the PDC names if we are not a PDC
Andrew Bartlett [Tue, 6 Dec 2011 22:57:07 +0000 (09:57 +1100)]
s4-dnsupdate: Do not attempt to add the PDC names if we are not a PDC

12 years agopydsdb: provide a am_pdc hook like am_rodc to python scripts
Andrew Bartlett [Tue, 6 Dec 2011 22:56:31 +0000 (09:56 +1100)]
pydsdb: provide a am_pdc hook like am_rodc to python scripts

12 years agos4-dns Use match-by-key in GSSAPI server if principal is not specified
Andrew Bartlett [Tue, 6 Dec 2011 03:18:41 +0000 (14:18 +1100)]
s4-dns Use match-by-key in GSSAPI server if principal is not specified

This allows dlz_bind9 to match on exactly the same key as bind9 itself

Andrew Bartlett

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Wed Dec  7 02:20:10 CET 2011 on sn-devel-104

12 years agoauth: Allow a NULL principal to be obtained from the credentials
Andrew Bartlett [Tue, 6 Dec 2011 04:56:44 +0000 (15:56 +1100)]
auth: Allow a NULL principal to be obtained from the credentials

This is important when trying to let GSSAPI search the keytab.

Andrew Bartlett

12 years agodlz_bind9: Add command line options for URL and debug
Amitay Isaacs [Tue, 6 Dec 2011 01:01:42 +0000 (12:01 +1100)]
dlz_bind9: Add command line options for URL and debug

To specify debug level, use -d <level> in named.conf.
To specify sam db, use -H <path/to/sam.ldb> in named.conf.

The default log level is set to 0. The log level specified in smb.conf
is not used. To set log level, use -d option.

12 years agodlz_bind9: Set debugging output to stderr
Amitay Isaacs [Mon, 5 Dec 2011 23:51:01 +0000 (10:51 +1100)]
dlz_bind9: Set debugging output to stderr

12 years agodlz_bind9: Use client supplied credentials for DNS record update
Amitay Isaacs [Wed, 30 Nov 2011 05:06:08 +0000 (16:06 +1100)]
dlz_bind9: Use client supplied credentials for DNS record update

This creates the DNS records with correct owner and group settings.

12 years agodlz_bind9: For creating a child entry, use only SEC_ADS_CREATE_CHILD
Amitay Isaacs [Tue, 29 Nov 2011 23:37:14 +0000 (10:37 +1100)]
dlz_bind9: For creating a child entry, use only SEC_ADS_CREATE_CHILD

The member servers in AD do not have access to modify the parent, but
do have access to create child DNS records.

12 years agotevent: Install python tevent modules.
Jelmer Vernooij [Tue, 6 Dec 2011 20:18:43 +0000 (21:18 +0100)]
tevent: Install python tevent modules.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Dec  6 23:13:37 CET 2011 on sn-devel-104

12 years agoInstall (platform-independent) python scripts to the PYTHONDIR rather than PYTHONARCHDIR.
Jelmer Vernooij [Tue, 6 Dec 2011 20:08:15 +0000 (21:08 +0100)]
Install (platform-independent) python scripts to the PYTHONDIR rather than PYTHONARCHDIR.

12 years agoAdd stub python module for tevent.
Jelmer Vernooij [Tue, 6 Dec 2011 20:03:21 +0000 (21:03 +0100)]
Add stub python module for tevent.

12 years agolib/util/util_tdb: adhere to coding style for tdb_data_is_empty()
Michael Adam [Tue, 6 Dec 2011 12:46:08 +0000 (13:46 +0100)]
lib/util/util_tdb: adhere to coding style for tdb_data_is_empty()

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue Dec  6 15:22:08 CET 2011 on sn-devel-104

12 years agos3:net registry check: replace rawmemchr by functionally equivalent portable strchr
Michael Adam [Tue, 6 Dec 2011 00:17:02 +0000 (01:17 +0100)]
s3:net registry check: replace rawmemchr by functionally equivalent portable strchr

rawmemchr is glibc only - not portable. Remarked by Ira Cooper.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue Dec  6 12:20:48 CET 2011 on sn-devel-104

12 years agoRevert "Remove rawmemchr calls - found by Ira Cooper. These are glibc-specific calls...
Michael Adam [Tue, 6 Dec 2011 00:05:39 +0000 (01:05 +0100)]
Revert "Remove rawmemchr calls - found by Ira Cooper. These are glibc-specific calls, makes us completely non-portable."

This reverts commit 82b1702284ba2bb61b23e1f14ce9145d896c36c0.

This is not functionally equivalent, needs to be done differently.

12 years agos3:registry: replace use of rawmemchr by portable equivalent use of strchr.
Michael Adam [Mon, 5 Dec 2011 23:58:24 +0000 (00:58 +0100)]
s3:registry: replace use of rawmemchr by portable equivalent use of strchr.

12 years agoknownfail: Mark some ldap.acl search tests as no longer failing.
Jelmer Vernooij [Mon, 5 Dec 2011 22:08:10 +0000 (23:08 +0100)]
knownfail: Mark some ldap.acl search tests as no longer failing.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Dec  6 00:43:40 CET 2011 on sn-devel-104

12 years agoknownfail: Remove working winbind tests.
Jelmer Vernooij [Mon, 5 Dec 2011 20:26:28 +0000 (21:26 +0100)]
knownfail: Remove working winbind tests.

12 years agoknownfail: The resolve async tests work now.
Jelmer Vernooij [Mon, 5 Dec 2011 18:11:37 +0000 (19:11 +0100)]
knownfail: The resolve async tests work now.

12 years agoknownfail: remove now succeeding local.iconv test.
Jelmer Vernooij [Mon, 5 Dec 2011 17:09:05 +0000 (18:09 +0100)]
knownfail: remove now succeeding local.iconv test.

12 years agoknownfail: remove base.maximum_allowed test, as it appears to be passing now.
Jelmer Vernooij [Mon, 5 Dec 2011 15:54:37 +0000 (16:54 +0100)]
knownfail: remove base.maximum_allowed test, as it appears to be passing now.