anatoliy/anatoliy.git
13 years agosubunit: Import latest upstream.
Jelmer Vernooij [Sat, 4 Sep 2010 21:04:28 +0000 (23:04 +0200)]
subunit: Import latest upstream.

13 years agotesttools: Import latest upstream.
Jelmer Vernooij [Sat, 4 Sep 2010 21:04:07 +0000 (23:04 +0200)]
testtools: Import latest upstream.

13 years agotestr: Fix configuration to use idfile, in case more than a couple of
Jelmer Vernooij [Sat, 4 Sep 2010 19:13:37 +0000 (21:13 +0200)]
testr: Fix configuration to use idfile, in case more than a couple of
hundred tests fail.

13 years agoselftest: Don't make printing the log output a side-effect of check_env(), do it...
Jelmer Vernooij [Sat, 4 Sep 2010 19:08:35 +0000 (21:08 +0200)]
selftest: Don't make printing the log output a side-effect of check_env(), do it manually.

13 years agoselftest: Remove stop() method, not used anywhere.
Jelmer Vernooij [Sat, 4 Sep 2010 16:24:02 +0000 (18:24 +0200)]
selftest: Remove stop() method, not used anywhere.

13 years agoselftest/samba4: Remove references to Samba34.pm, which no longer
Jelmer Vernooij [Sat, 4 Sep 2010 16:18:55 +0000 (18:18 +0200)]
selftest/samba4: Remove references to Samba34.pm, which no longer
exists.

13 years agoselftest: Refer to subunit README rather than documenting locally.
Jelmer Vernooij [Sat, 4 Sep 2010 16:03:19 +0000 (18:03 +0200)]
selftest: Refer to subunit README rather than documenting locally.

13 years agoldb: Add missing aliases for ldb_ildap.
Jelmer Vernooij [Sat, 4 Sep 2010 15:59:48 +0000 (17:59 +0200)]
ldb: Add missing aliases for ldb_ildap.

13 years agodsdb: Add missing dependencies for dsdb ldb modules.
Jelmer Vernooij [Sat, 4 Sep 2010 01:42:52 +0000 (03:42 +0200)]
dsdb: Add missing dependencies for dsdb ldb modules.

13 years agowaf: Support aliases in SAMBA_MODULE.
Jelmer Vernooij [Sat, 4 Sep 2010 01:42:37 +0000 (03:42 +0200)]
waf: Support aliases in SAMBA_MODULE.

13 years agowaf: Make shared modules available in the build dir.
Jelmer Vernooij [Sat, 4 Sep 2010 00:18:31 +0000 (02:18 +0200)]
waf: Make shared modules available in the build dir.

13 years agolibrpc/rpc: add dcerpc_binding_handle_set_timeout()
Stefan Metzmacher [Fri, 3 Sep 2010 17:57:02 +0000 (19:57 +0200)]
librpc/rpc: add dcerpc_binding_handle_set_timeout()

metze

13 years agos3:rpc_server: implement rpcint_bh_set_timeout() as dummy
Stefan Metzmacher [Fri, 3 Sep 2010 18:05:39 +0000 (20:05 +0200)]
s3:rpc_server: implement rpcint_bh_set_timeout() as dummy

metze

13 years agos3:winbindd: implement wbint_bh_set_timeout() as dummy
Stefan Metzmacher [Fri, 3 Sep 2010 18:05:08 +0000 (20:05 +0200)]
s3:winbindd: implement wbint_bh_set_timeout() as dummy

metze

13 years agos3:rpc_client: implement rpccli_bh_set_timeout()
Stefan Metzmacher [Fri, 3 Sep 2010 17:59:15 +0000 (19:59 +0200)]
s3:rpc_client: implement rpccli_bh_set_timeout()

metze

13 years agos4:lib/messaging: implement irpc_bh_set_timeout
Stefan Metzmacher [Fri, 3 Sep 2010 17:52:59 +0000 (19:52 +0200)]
s4:lib/messaging: implement irpc_bh_set_timeout

metze

13 years agos4:librpc/rpc: implement dcerpc_bh_set_timeout()
Stefan Metzmacher [Fri, 3 Sep 2010 17:52:20 +0000 (19:52 +0200)]
s4:librpc/rpc: implement dcerpc_bh_set_timeout()

metze

13 years agolibrpc/rpc: add set_timeout() to dcerpc_binding_handle_ops
Stefan Metzmacher [Fri, 3 Sep 2010 17:51:58 +0000 (19:51 +0200)]
librpc/rpc: add set_timeout() to dcerpc_binding_handle_ops

metze

13 years agos3:rpc_server: make it possible to use rpcint_binding_handle() directly
Stefan Metzmacher [Fri, 3 Sep 2010 17:28:00 +0000 (19:28 +0200)]
s3:rpc_server: make it possible to use rpcint_binding_handle() directly

metze

13 years agotorture-lsa: cope with STATUS_SOME_UNMAPPED errors
Andrew Tridgell [Thu, 2 Sep 2010 08:41:45 +0000 (18:41 +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@samba.org>

13 years agoselftest: run client tests with log level 1
Andrew Tridgell [Thu, 2 Sep 2010 06:46:20 +0000 (16:46 +1000)]
selftest: run client tests with log level 1

this PIDL print functions to display

13 years agowaf: fixed make test with TESTS="test1 test2"
Andrew Tridgell [Thu, 2 Sep 2010 06:45:50 +0000 (16:45 +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()

13 years agoutil: added samba_start_debugger()
Andrew Tridgell [Tue, 20 Jul 2010 05:31:49 +0000 (15:31 +1000)]
util: added samba_start_debugger()

This developer function is useful for debugging unusual error
conditions

13 years agos4:lib/messaging: make irpc_request private and remove unused code
Stefan Metzmacher [Fri, 3 Sep 2010 14:05:38 +0000 (16:05 +0200)]
s4:lib/messaging: make irpc_request private and remove unused code

metze

13 years agos4:libcli/composite: remove unused composite_continue_irpc()
Stefan Metzmacher [Fri, 3 Sep 2010 13:59:44 +0000 (15:59 +0200)]
s4:libcli/composite: remove unused composite_continue_irpc()

metze

13 years agos4:lib/messaging/tests: make use of irpc_binding_handle()
Stefan Metzmacher [Fri, 3 Sep 2010 13:42:56 +0000 (15:42 +0200)]
s4:lib/messaging/tests: make use of irpc_binding_handle()

metze

13 years agos4:lib/messaging: use irpc_binding_handle() for python bindings
Stefan Metzmacher [Fri, 3 Sep 2010 13:21:16 +0000 (15:21 +0200)]
s4:lib/messaging: use irpc_binding_handle() for python bindings

metze

13 years agos4:wrepl_server: use irpc_binding_handle_by_name() in wreplsrv_scavenging_replica_act...
Stefan Metzmacher [Fri, 3 Sep 2010 11:18:14 +0000 (13:18 +0200)]
s4:wrepl_server: use irpc_binding_handle_by_name() in wreplsrv_scavenging_replica_active_records()

metze

13 years agos4:wrepl_server: use irpc_binding_handle_by_name() in r_do_release_demand()
Stefan Metzmacher [Fri, 3 Sep 2010 11:05:32 +0000 (13:05 +0200)]
s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_release_demand()

metze

13 years agos4:wrepl_server: use irpc_binding_handle_by_name() in r_do_challenge()
Stefan Metzmacher [Fri, 3 Sep 2010 10:58:10 +0000 (12:58 +0200)]
s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_challenge()

metze

13 years agos4:auth_winbind: use irpc_binding_handle_by_name()
Stefan Metzmacher [Fri, 3 Sep 2010 14:59:05 +0000 (16:59 +0200)]
s4:auth_winbind: use irpc_binding_handle_by_name()

metze

13 years agos4:libcli/wbclient: use irpc_binding_handle_by_name()
Stefan Metzmacher [Fri, 3 Sep 2010 10:33:17 +0000 (12:33 +0200)]
s4:libcli/wbclient: use irpc_binding_handle_by_name()

metze

13 years agos4:rpc_server/netlogon: use irpc_binding_handle_by_name()
Stefan Metzmacher [Fri, 3 Sep 2010 10:09:36 +0000 (12:09 +0200)]
s4:rpc_server/netlogon: use irpc_binding_handle_by_name()

metze

13 years agos4:smbd/service_task: use irpc_binding_handle_by_name()
Stefan Metzmacher [Fri, 3 Sep 2010 09:39:15 +0000 (11:39 +0200)]
s4:smbd/service_task: use irpc_binding_handle_by_name()

metze

13 years agos4:dsdb/kcc: use irpc_binding_handle_by_name()
Stefan Metzmacher [Fri, 3 Sep 2010 09:34:17 +0000 (11:34 +0200)]
s4:dsdb/kcc: use irpc_binding_handle_by_name()

metze

13 years agos4:libcli/finddcs: use irpc_binding_handle_by_name()
Stefan Metzmacher [Fri, 3 Sep 2010 09:13:01 +0000 (11:13 +0200)]
s4:libcli/finddcs: use irpc_binding_handle_by_name()

metze

13 years agos4:rpc_server/common: use irpc_binding_handle_by_name() in dcesrv_irpc_forward_rpc_call()
Stefan Metzmacher [Mon, 30 Aug 2010 11:45:48 +0000 (13:45 +0200)]
s4:rpc_server/common: use irpc_binding_handle_by_name() in dcesrv_irpc_forward_rpc_call()

metze

13 years agos4:lib/messaging: add irpc_binding_handle_by_name() helper function
Stefan Metzmacher [Mon, 30 Aug 2010 11:44:41 +0000 (13:44 +0200)]
s4:lib/messaging: add irpc_binding_handle_by_name() helper function

metze

13 years agos4:lib/messaging: add irpc dcerpc_binding_handle backend
Stefan Metzmacher [Mon, 30 Aug 2010 11:44:01 +0000 (13:44 +0200)]
s4:lib/messaging: add irpc dcerpc_binding_handle backend

metze

13 years agos4:lib/messaging: move messaging prototypes from irpc.h to messaging.h
Stefan Metzmacher [Tue, 31 Aug 2010 11:25:59 +0000 (13:25 +0200)]
s4:lib/messaging: move messaging prototypes from irpc.h to messaging.h

metze

13 years agos4:lib/messaging/tests: fix some compiler warnings
Stefan Metzmacher [Fri, 3 Sep 2010 13:42:28 +0000 (15:42 +0200)]
s4:lib/messaging/tests: fix some compiler warnings

metze

13 years agos4:auth_winbind: remove unused winbind_samba3 backend
Stefan Metzmacher [Fri, 3 Sep 2010 08:39:18 +0000 (10:39 +0200)]
s4:auth_winbind: remove unused winbind_samba3 backend

This uses the winbind protocol directly, which needs to be avoided!

metze

13 years agos4:auth_winbind: fix segfault in winbind_check_password_wbclient()
Stefan Metzmacher [Fri, 3 Sep 2010 14:15:27 +0000 (16:15 +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

13 years agos4:auth_winbind: fix compiler warnings
Stefan Metzmacher [Fri, 3 Sep 2010 08:57:01 +0000 (10:57 +0200)]
s4:auth_winbind: fix compiler warnings

metze

13 years agonsswitch/libwbclient: LIBWBCLIENT depends on LIBWINBIND-CLIENT
Stefan Metzmacher [Fri, 3 Sep 2010 11:27:01 +0000 (13:27 +0200)]
nsswitch/libwbclient: LIBWBCLIENT depends on LIBWINBIND-CLIENT

metze

13 years agos4-drs: A quick fix for DRSUAPI_EXOP_FSMO_RID_ALLOC extended_op handling
Kamen Mazdrashki [Fri, 3 Sep 2010 03:20:49 +0000 (06:20 +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.

13 years agos4-dreplsrv: Refactor drepl_replica_sync() to behave as described in MS-DRSR
Kamen Mazdrashki [Fri, 3 Sep 2010 01:29:02 +0000 (04:29 +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.

13 years agos4-dreplsrv: Helpers to locate source DSA in a partition by GUID or DNS name
Kamen Mazdrashki [Tue, 31 Aug 2010 01:16:18 +0000 (04:16 +0300)]
s4-dreplsrv: Helpers to locate source DSA in a partition by GUID or DNS name

13 years agos4-dreplsrv: Helper to find NC by DN or GUID or SID
Kamen Mazdrashki [Tue, 31 Aug 2010 01:15:37 +0000 (04:15 +0300)]
s4-dreplsrv: Helper to find NC by DN or GUID or SID

13 years agos4-dreplsrv: Add caller-specific data parameter for dreplsrv_fsmo_callback_t
Kamen Mazdrashki [Mon, 30 Aug 2010 21:01:25 +0000 (00:01 +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

13 years agos3-spoolss: fix some debug statements.
Günther Deschner [Thu, 2 Sep 2010 11:41:08 +0000 (13:41 +0200)]
s3-spoolss: fix some debug statements.

Guenther

13 years agodocs:vfs_gpfs: improve the CAVEAT section on run and build time dependencies
Michael Adam [Mon, 30 Aug 2010 12:49:16 +0000 (14:49 +0200)]
docs:vfs_gpfs: improve the CAVEAT section on run and build time dependencies

13 years agopidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.
Jelmer Vernooij [Fri, 3 Sep 2010 00:39:38 +0000 (02:39 +0200)]
pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.

13 years agopidl: Factor out generation of interface type name.
Jelmer Vernooij [Thu, 2 Sep 2010 22:35:29 +0000 (00:35 +0200)]
pidl: Factor out generation of interface type name.

13 years agos3-kerberos: use krb5 compat macros in fill_keytab_from_password()
Simo Sorce [Thu, 2 Sep 2010 20:09:19 +0000 (16:09 -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@samba.org>
13 years agoRevert "s3-kerberos: use krb5 compat macros in fill_keytab_from_password()."
Simo Sorce [Thu, 2 Sep 2010 20:07:00 +0000 (16:07 -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@samba.org>
13 years agos3: Remove unused nss_info_adex_init()
Volker Lendecke [Thu, 2 Sep 2010 20:13:59 +0000 (22:13 +0200)]
s3: Remove unused nss_info_adex_init()

13 years agos3-param: added lp_set_cmdline() and --option= parameter
Andrew Tridgell [Wed, 11 Aug 2010 03:35:14 +0000 (13:35 +1000)]
s3-param: added lp_set_cmdline() and --option= parameter

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos4-resolve: added resolve_name_ex_send()
Andrew Tridgell [Tue, 31 Aug 2010 04:00:37 +0000 (14:00 +1000)]
s4-resolve: added resolve_name_ex_send()

this allows access to the flags that control name resolution

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos4-auth: make the disabled acct messages a bit less verbose
Andrew Tridgell [Tue, 31 Aug 2010 02:28:55 +0000 (12:28 +1000)]
s4-auth: make the disabled acct messages a bit less verbose

raise the debug level

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos4-selftest: try DNS before bcast in selftest
Andrew Tridgell [Tue, 31 Aug 2010 02:07:40 +0000 (12:07 +1000)]
s4-selftest: try DNS before bcast in selftest

this better reflects real usage

13 years agos4-resolve: add a default domain for unqualified names in file backend
Andrew Tridgell [Tue, 31 Aug 2010 02:07:07 +0000 (12:07 +1000)]
s4-resolve: add a default domain for unqualified names in file backend

this better emulates what happens with real DNS

13 years agos4-pidl: added a test for all generated rpc interfaces
Andrew Tridgell [Mon, 30 Aug 2010 05:41:22 +0000 (15:41 +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.

13 years agopidl: cope with dom_sid28 in python generator
Andrew Tridgell [Mon, 30 Aug 2010 05:37:11 +0000 (15:37 +1000)]
pidl: cope with dom_sid28 in python generator

treated the same as dom_sid2

13 years agodoc: patched bind9 is no longer needed
Andrew Tridgell [Mon, 30 Aug 2010 05:29:26 +0000 (15:29 +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.

13 years agopynet: fixed ref count error on Py_None
Andrew Tridgell [Sat, 28 Aug 2010 12:18:00 +0000 (22:18 +1000)]
pynet: fixed ref count error on Py_None

ensure we don't run out of None ...

Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>

13 years agopidl-python: cope with NULL pointers in more places
Andrew Tridgell [Sat, 28 Aug 2010 12:00:21 +0000 (22:00 +1000)]
pidl-python: cope with NULL pointers in more places

NULL is converted to Py_None

13 years agopytalloc: treat a NULL ptr as Py_None
Andrew Tridgell [Sat, 28 Aug 2010 11:53:27 +0000 (21:53 +1000)]
pytalloc: treat a NULL ptr as Py_None

13 years agos4-net: use CommandError() in net rodc
Andrew Tridgell [Fri, 27 Aug 2010 02:08:49 +0000 (12:08 +1000)]
s4-net: use CommandError() in net rodc

this integrates better with the net command

Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>

13 years agos4:dsdb Fix attribute being searched for in dereference against Fedora DS
Andrew Bartlett [Sun, 11 Jul 2010 13:11:09 +0000 (23:11 +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

13 years agos4:dsdb Make the dereference control critical if input is critical
Andrew Bartlett [Sun, 11 Jul 2010 13:08:46 +0000 (23:08 +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

13 years agos4:dsdb Don't reload the schema against OpenLDAP backend
Andrew Bartlett [Sun, 11 Jul 2010 13:07:06 +0000 (23:07 +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

13 years agos4:provision Allow OpenLDAP backend to provision again
Andrew Bartlett [Thu, 8 Jul 2010 01:44:13 +0000 (11:44 +1000)]
s4:provision Allow OpenLDAP backend to provision again

OpenLDAP does not have any post-setup requirements at the moment.

Andrew Bartlett

13 years agos4:provision Improved error handling in provisionbackend
Zahari Zahariev [Sat, 3 Jul 2010 18:43:42 +0000 (21:43 +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@samba.org>
13 years agos4-test-dssync: Print the reason for skipping FetchNT4Data test
Kamen Mazdrashki [Tue, 31 Aug 2010 22:42:56 +0000 (01:42 +0300)]
s4-test-dssync: Print the reason for skipping FetchNT4Data test

13 years agos3: Print the IP of the server that stopped responding
Volker Lendecke [Wed, 1 Sep 2010 10:55:18 +0000 (12:55 +0200)]
s3: Print the IP of the server that stopped responding

13 years agos4/ldb: fix standalone build
Björn Jacke [Wed, 1 Sep 2010 09:22:09 +0000 (11:22 +0200)]
s4/ldb: fix standalone build

13 years agos3-ctdb: ctdbd_init_connection() is static to this file.
Günther Deschner [Wed, 1 Sep 2010 08:56:17 +0000 (10:56 +0200)]
s3-ctdb: ctdbd_init_connection() is static to this file.

Guenther

13 years agos3-auth: fix uninitialized error code in get_guest_info3().
Günther Deschner [Wed, 1 Sep 2010 08:51:13 +0000 (10:51 +0200)]
s3-auth: fix uninitialized error code in get_guest_info3().

Guenther

13 years agowinreg: add winreg_RestoreKeyFlags to IDL.
Günther Deschner [Tue, 31 Aug 2010 14:58:23 +0000 (16:58 +0200)]
winreg: add winreg_RestoreKeyFlags to IDL.

Guenther

13 years agos3-auth: remove global include of krb5pac.h.
Günther Deschner [Tue, 31 Aug 2010 21:09:39 +0000 (23:09 +0200)]
s3-auth: remove global include of krb5pac.h.

Guenther

13 years agos3-printing: add debug to get_correct_cversion().
Günther Deschner [Tue, 31 Aug 2010 14:58:54 +0000 (16:58 +0200)]
s3-printing: add debug to get_correct_cversion().

Guenther

13 years agos3-libads: avoid crashing in ads_keytab_list().
Günther Deschner [Tue, 31 Aug 2010 12:27:56 +0000 (14:27 +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

13 years agos3-auth: remove unused variable in check_sam_security().
Günther Deschner [Tue, 31 Aug 2010 15:25:18 +0000 (17:25 +0200)]
s3-auth: remove unused variable in check_sam_security().

Guenther

13 years agos3-kerberos: use more krb5 compat macros in get_mem_keytab_from_secrets().
Günther Deschner [Tue, 31 Aug 2010 20:28:00 +0000 (22:28 +0200)]
s3-kerberos: use more krb5 compat macros in get_mem_keytab_from_secrets().

Guenther

13 years agos3-kerberos: use smb_get_enctype_from_kt_entry() in
Günther Deschner [Tue, 31 Aug 2010 20:27:32 +0000 (22:27 +0200)]
s3-kerberos: use smb_get_enctype_from_kt_entry() in
get_mem_keytab_from_secrets().

Guenther

13 years agos3-kerberos: use get_kerberos_allowed_etypes in fill_keytab_from_password().
Günther Deschner [Tue, 31 Aug 2010 09:04:40 +0000 (11:04 +0200)]
s3-kerberos: use get_kerberos_allowed_etypes in fill_keytab_from_password().

Guenther

13 years agos3-kerberos: use krb5 compat macros in fill_keytab_from_password().
Günther Deschner [Tue, 31 Aug 2010 09:00:03 +0000 (11:00 +0200)]
s3-kerberos: use krb5 compat macros in fill_keytab_from_password().

Guenther

13 years agos3-kerberos: fix flush_keytab() compile with heimdal.
Günther Deschner [Tue, 31 Aug 2010 09:01:23 +0000 (11:01 +0200)]
s3-kerberos: fix flush_keytab() compile with heimdal.

krb5_kt_cursor is not a pointer in heimdal but a struct.

Guenther

13 years agoRevert "s4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday"
Björn Jacke [Tue, 31 Aug 2010 21:03:55 +0000 (23:03 +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

13 years agos3: messaging_ctdbd_connection() was only called with procid_self()
Volker Lendecke [Tue, 31 Aug 2010 14:52:56 +0000 (16:52 +0200)]
s3: messaging_ctdbd_connection() was only called with procid_self()

Eventually we'll get this right...

13 years agos3: messaging_ctdbd_init potentially modifies my_vnn
Volker Lendecke [Tue, 31 Aug 2010 14:51:28 +0000 (16:51 +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()

13 years agos3: Make ctdbd_init_connection static
Volker Lendecke [Tue, 31 Aug 2010 14:11:10 +0000 (16:11 +0200)]
s3: Make ctdbd_init_connection static

13 years agos3: use fine grained time in netprot response
Björn Jacke [Wed, 12 May 2010 08:50:17 +0000 (10:50 +0200)]
s3: use fine grained time in netprot response

13 years agos4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday
Björn Jacke [Tue, 31 Aug 2010 11:11:13 +0000 (13:11 +0200)]
s4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday

13 years agos3: use monotonic clock for time deltas in smbget
Björn Jacke [Tue, 31 Aug 2010 11:10:45 +0000 (13:10 +0200)]
s3: use monotonic clock for time deltas in smbget

13 years agotdb/waf: the deps for rt are provided by libreplace
Björn Jacke [Tue, 31 Aug 2010 11:06:39 +0000 (13:06 +0200)]
tdb/waf: the deps for rt are provided by libreplace

13 years agoreplace/waf: add rt to deps at this place
Björn Jacke [Tue, 31 Aug 2010 09:31:19 +0000 (11:31 +0200)]
replace/waf: add rt to deps at this place

13 years agos4: use GetTimeOfDay macro instead of gettimeofday
Björn Jacke [Tue, 31 Aug 2010 09:30:17 +0000 (11:30 +0200)]
s4: use GetTimeOfDay macro instead of gettimeofday

13 years agopackaging: build fixes
Volker Lendecke [Tue, 31 Aug 2010 09:29:55 +0000 (03:29 -0600)]
packaging: build fixes