abartlet/samba.git/.git
13 years agowafsamba: Eliminate sys.path updating if installing to a standard python
Jelmer Vernooij [Wed, 8 Sep 2010 20:45:12 +0000 (22:45 +0200)]
wafsamba: Eliminate sys.path updating if installing to a standard python
path.

13 years agos3: use time_mono throughout in smbget
Björn Jacke [Wed, 8 Sep 2010 20:29:00 +0000 (22:29 +0200)]
s3: use time_mono throughout in smbget

13 years agos3/ldap: use monotonic clock for timeouts in smbldap
Björn Jacke [Mon, 6 Sep 2010 23:04:10 +0000 (01:04 +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.

13 years agosetup: Use standard octal ints rather than harcoding.
Jelmer Vernooij [Wed, 8 Sep 2010 20:11:55 +0000 (22:11 +0200)]
setup: Use standard octal ints rather than harcoding.

13 years agopopt_common: Add missing dependency on libsamba-hostconfig.
Jelmer Vernooij [Wed, 8 Sep 2010 20:11:23 +0000 (22:11 +0200)]
popt_common: Add missing dependency on libsamba-hostconfig.

13 years agos3: Make winbind_add_failed_connection_entry static
Volker Lendecke [Wed, 8 Sep 2010 10:07:42 +0000 (12:07 +0200)]
s3: Make winbind_add_failed_connection_entry static

13 years agos3: Fix a typo
Volker Lendecke [Wed, 8 Sep 2010 18:59:46 +0000 (20:59 +0200)]
s3: Fix a typo

13 years agos4-smbtorture: add torture ndr nbt testsuite.
Günther Deschner [Wed, 8 Sep 2010 09:18:40 +0000 (11:18 +0200)]
s4-smbtorture: add torture ndr nbt testsuite.

Guenther

13 years agonbt: add nbt_netlogon_response2 to IDL.
Günther Deschner [Tue, 7 Sep 2010 20:41:06 +0000 (22:41 +0200)]
nbt: add nbt_netlogon_response2 to IDL.

Guenther

13 years agonbt: add NETLOGON_LOGON_REQUEST.
Günther Deschner [Tue, 7 Sep 2010 11:16:27 +0000 (13:16 +0200)]
nbt: add NETLOGON_LOGON_REQUEST.

Guenther

13 years agonbt: add decode_nbt_netlogon_packet() to IDL.
Günther Deschner [Wed, 8 Sep 2010 09:19:48 +0000 (11:19 +0200)]
nbt: add decode_nbt_netlogon_packet() to IDL.

Guenther

13 years agos3-nmbd: fix indentation in process_logon_packet().
Günther Deschner [Tue, 7 Sep 2010 09:50:39 +0000 (11:50 +0200)]
s3-nmbd: fix indentation in process_logon_packet().

purely cosmetic, no code change.

Guenther

13 years agos3-nmbd: remove trailing whitespace in nmbd_processlogon.c
Günther Deschner [Wed, 8 Sep 2010 17:01:10 +0000 (19:01 +0200)]
s3-nmbd: remove trailing whitespace in nmbd_processlogon.c

Guenther

13 years agos3-spoolss: Move spoolss winreg to new dcerpc client funtions.
Andreas Schneider [Wed, 1 Sep 2010 16:00:44 +0000 (18:00 +0200)]
s3-spoolss: Move spoolss winreg to new dcerpc client funtions.

13 years agos3: Simplify cm_connect_sam a bit
Volker Lendecke [Wed, 8 Sep 2010 00:38:24 +0000 (17:38 -0700)]
s3: Simplify cm_connect_sam a bit

13 years agos3: Check for sid instead of name in cm_connect_sam
Volker Lendecke [Wed, 8 Sep 2010 00:37:13 +0000 (17:37 -0700)]
s3: Check for sid instead of name in cm_connect_sam

13 years agos3-spoolss: Fixed a possible crash bug.
Andreas Schneider [Mon, 6 Sep 2010 14:07:24 +0000 (16:07 +0200)]
s3-spoolss: Fixed a possible crash bug.

13 years agos3: Remove a superfluous ;
Volker Lendecke [Tue, 7 Sep 2010 23:54:31 +0000 (16:54 -0700)]
s3: Remove a superfluous ;

13 years agos3/libads: use monotonic clock for ldap connection timeouts
Björn Jacke [Tue, 7 Sep 2010 00:15:09 +0000 (02:15 +0200)]
s3/libads: use monotonic clock for ldap connection timeouts

13 years agos3: use monotonic clock for aio timeout
Björn Jacke [Tue, 7 Sep 2010 01:29:19 +0000 (03:29 +0200)]
s3: use monotonic clock for aio timeout

13 years agos3/nmbd: tidy up debug message: ttl isn't a hex value
Björn Jacke [Tue, 7 Sep 2010 01:05:35 +0000 (03:05 +0200)]
s3/nmbd: tidy up debug message: ttl isn't a hex value

13 years agos3/libads: use monotonic clock for DNS timeouts
Björn Jacke [Mon, 6 Sep 2010 23:54:01 +0000 (01:54 +0200)]
s3/libads: use monotonic clock for DNS timeouts

13 years agolib/util: add time_mono() for monotonic time a la time()
Björn Jacke [Mon, 6 Sep 2010 18:27:24 +0000 (20:27 +0200)]
lib/util: add time_mono() for monotonic time a la time()

13 years agos4-dreplsrv: Run NC replication synchronously if requested
Kamen Mazdrashki [Tue, 7 Sep 2010 14:00:20 +0000 (17:00 +0300)]
s4-dreplsrv: Run NC replication synchronously if requested

13 years agos4-drs: Dump exact error when failure occurs during DsReplicaUpdateRefs call
Kamen Mazdrashki [Mon, 6 Sep 2010 11:33:14 +0000 (14:33 +0300)]
s4-drs: Dump exact error when failure occurs during DsReplicaUpdateRefs call

13 years agos3: Prune the printername cache when a printer is deleted
Volker Lendecke [Tue, 7 Sep 2010 03:58:45 +0000 (20:58 -0700)]
s3: Prune the printername cache when a printer is deleted

Signed-off-by: Andreas Schneider <asn@samba.org>
13 years agolibrpc: bitten by the strncasecmp define again
Andrew Tridgell [Tue, 7 Sep 2010 04:33:20 +0000 (14:33 +1000)]
librpc: bitten by the strncasecmp define again

13 years agowaf-abi: fixed small uninitialised data on PPC64
Andrew Tridgell [Tue, 7 Sep 2010 03:45:46 +0000 (13:45 +1000)]
waf-abi: fixed small uninitialised data on PPC64

on PPC64 Linux systems a 'S' line from nm means "small object
uninitialised data"

13 years agos4-ldapserver: serialise ldap server operations
Andrew Tridgell [Tue, 7 Sep 2010 01:57:44 +0000 (11:57 +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.

13 years agos4-packet: make packet_recv_disable() a lot more efficient
Andrew Tridgell [Tue, 7 Sep 2010 01:55:47 +0000 (11:55 +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.

13 years agos4-process: fixed the thread process model so it compiles
Andrew Tridgell [Tue, 7 Sep 2010 01:25:42 +0000 (11:25 +1000)]
s4-process: fixed the thread process model so it compiles

it doesn't actually work, but at least it now compiles

13 years agoAdd unique IP address binding for client connections (EPM and ncacn_ip_tcp levels)
Julien Kerihuel [Fri, 27 Aug 2010 12:04:07 +0000 (14:04 +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@samba.org>
13 years agos4-test: refactor API-DELETEUSER test a little to:
Kamen Mazdrashki [Sun, 5 Sep 2010 20:28:06 +0000 (23:28 +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

13 years agos4-idl: redefine dreplsrv_refresh() to be alike other RPC function definitions
Kamen Mazdrashki [Sun, 5 Sep 2010 19:54:05 +0000 (22:54 +0300)]
s4-idl: redefine dreplsrv_refresh() to be alike other RPC function definitions

Sorry for the 'custom' definition first time

13 years agowafsamba: Create bin/defaukt/modules if it does not yet exist.
Jelmer Vernooij [Sun, 5 Sep 2010 18:16:50 +0000 (20:16 +0200)]
wafsamba: Create bin/defaukt/modules if it does not yet exist.

13 years agowaf: Use os.makedirs rather than os.mkdir in case parent directories
Jelmer Vernooij [Sun, 5 Sep 2010 16:00:44 +0000 (18:00 +0200)]
waf: Use os.makedirs rather than os.mkdir in case parent directories
don't exist yet.

13 years agos3: On Solaris, iov_len is an int
Volker Lendecke [Sun, 5 Sep 2010 14:27:43 +0000 (16:27 +0200)]
s3: On Solaris, iov_len is an int

We can't use &iov.iov_len passing it to a size_t *

13 years agoupgradeprovision: avoid working with None objects ...
Matthieu Patou [Sat, 4 Sep 2010 23:00:05 +0000 (03:00 +0400)]
upgradeprovision: avoid working with None objects ...

13 years agoupgradeprovision: do not try to remove/change attribute before the RID Set object...
Matthieu Patou [Sat, 4 Sep 2010 22:59:20 +0000 (02:59 +0400)]
upgradeprovision: do not try to remove/change attribute before the RID Set object is present

13 years agoupgradeprovision: cleanup
Matthieu Patou [Sat, 4 Sep 2010 22:58:31 +0000 (02:58 +0400)]
upgradeprovision: cleanup

13 years agos4 upgradeprovision: add dns_update_list if missing
Matthieu Patou [Sat, 14 Aug 2010 16:44:35 +0000 (20:44 +0400)]
s4 upgradeprovision: add dns_update_list if missing

13 years agopython-ldb: allow ldb_rename to take optional control(s)
Matthieu Patou [Sat, 4 Sep 2010 22:57:16 +0000 (02:57 +0400)]
python-ldb: allow ldb_rename to take optional control(s)

13 years agodsdb: make the ATTRIBUTE NOT FOUND more clear
Matthieu Patou [Sat, 4 Sep 2010 22:56:30 +0000 (02:56 +0400)]
dsdb: make the ATTRIBUTE NOT FOUND more clear

13 years agos4/selftest: Fix path to include/config.h, set BUILDDIR automatically.
Jelmer Vernooij [Sun, 5 Sep 2010 02:33:29 +0000 (04:33 +0200)]
s4/selftest: Fix path to include/config.h, set BUILDDIR automatically.

13 years agoselftest: Cope with parentheses in testnames in --load-list.
Jelmer Vernooij [Sun, 5 Sep 2010 01:16:48 +0000 (03:16 +0200)]
selftest: Cope with parentheses in testnames in --load-list.

13 years agoselftest/subunit: Parse timestamps generated by upstream subunit.
Jelmer Vernooij [Sun, 5 Sep 2010 01:14:44 +0000 (03:14 +0200)]
selftest/subunit: Parse timestamps generated by upstream subunit.

13 years agoselftest: Print out unmatched tests when using --load-list.
Jelmer Vernooij [Sun, 5 Sep 2010 00:20:56 +0000 (02:20 +0200)]
selftest: Print out unmatched tests when using --load-list.

13 years agodsgetinfo: Set modulesdir when using ldb without ldb_wrap
Jelmer Vernooij [Sat, 4 Sep 2010 22:58:41 +0000 (00:58 +0200)]
dsgetinfo: Set modulesdir when using ldb without ldb_wrap

(Is there a particular reason we're not using ldb_wrap here?)

13 years agodnspython: Update to latest upstream.
Jelmer Vernooij [Sat, 4 Sep 2010 21:05:16 +0000 (23:05 +0200)]
dnspython: Update to latest upstream.

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