metze/samba/wip.git
13 years agos4-smbtorture: add NDR spoolss_GetPrinterDriver2 in and out check functions.
Günther Deschner [Thu, 16 Sep 2010 16:41:37 +0000 (18:41 +0200)]
s4-smbtorture: add NDR spoolss_GetPrinterDriver2 in and out check functions.

Guenther

13 years agos4-smbtorture: finally enable most of our NDR_OUT NDR tests that we couldnt handle...
Günther Deschner [Thu, 16 Sep 2010 14:49:54 +0000 (16:49 +0200)]
s4-smbtorture: finally enable most of our NDR_OUT NDR tests that we couldnt handle previously.

Guenther

13 years agos4-smbtorture: add functions to do NDR_OUT ndr_pull validation including NDR_IN context.
Günther Deschner [Thu, 16 Sep 2010 14:21:39 +0000 (16:21 +0200)]
s4-smbtorture: add functions to do NDR_OUT ndr_pull validation including NDR_IN context.

Guenther

13 years agos4-smbtorture: fix some indentation in NDR testsuite.
Günther Deschner [Thu, 16 Sep 2010 14:25:51 +0000 (16:25 +0200)]
s4-smbtorture: fix some indentation in NDR testsuite.

Guenther

13 years agos3-smbtorture: fixup trailing whitespace in ndr testsuite.
Günther Deschner [Thu, 16 Sep 2010 14:22:32 +0000 (16:22 +0200)]
s3-smbtorture: fixup trailing whitespace in ndr testsuite.

Guenther

13 years agos4-smbtorture: add spoolss_GetPrinterDriver2 NDR tests.
Günther Deschner [Thu, 16 Sep 2010 12:42:22 +0000 (14:42 +0200)]
s4-smbtorture: add spoolss_GetPrinterDriver2 NDR tests.

Guenther

13 years agos4-smbtorture: mention -v switch for hexdump imports into the NDR testsuites.
Günther Deschner [Thu, 16 Sep 2010 12:41:37 +0000 (14:41 +0200)]
s4-smbtorture: mention -v switch for hexdump imports into the NDR testsuites.

Guenther

13 years agos4-smbtorture: activate spoolss_GetPrinterData NDR pull test.
Günther Deschner [Thu, 16 Sep 2010 12:31:53 +0000 (14:31 +0200)]
s4-smbtorture: activate spoolss_GetPrinterData NDR pull test.

Guenther

13 years agos4-winbind: fixed two valgrind errors
Andrew Tridgell [Thu, 16 Sep 2010 11:17:54 +0000 (21:17 +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@samba.org>

13 years agowbclient: gr_mem can be NULL
Andrew Tridgell [Thu, 16 Sep 2010 10:12:20 +0000 (20:12 +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@samba.org>

13 years agowbclient: paranoid check for double free
Andrew Tridgell [Thu, 16 Sep 2010 10:11:47 +0000 (20:11 +1000)]
wbclient: paranoid check for double free

added while tracking down a crash in the wbinfo blackbox test

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

13 years agotdb: added TDB_NO_FSYNC env variable
Andrew Tridgell [Thu, 16 Sep 2010 10:06:44 +0000 (20:06 +1000)]
tdb: added TDB_NO_FSYNC env variable

this might help reduce test times and load on test machines

13 years agotorture/raw Allow one more 'not implemented' status return as a valid response
Andrew Bartlett [Thu, 16 Sep 2010 07:53:36 +0000 (17:53 +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@samba.org>
13 years agos4-torture assert that we get a temp datagram socket.
Andrew Bartlett [Thu, 16 Sep 2010 05:47:42 +0000 (15:47 +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@samba.org>
13 years agolibcli/auth/ntlmssp Be clear about talloc parents for session keys
Andrew Bartlett [Thu, 16 Sep 2010 04:37:20 +0000 (14:37 +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@samba.org>
13 years agos4-kdc: prevent segfault on bad trust strings
Andrew Tridgell [Thu, 16 Sep 2010 07:20:08 +0000 (17:20 +1000)]
s4-kdc: prevent segfault on bad trust strings

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

13 years agos4-netlogon: added IDL for netr_DsrUpdateReadOnlyServerDnsRecords
Andrew Tridgell [Thu, 16 Sep 2010 07:05:58 +0000 (17:05 +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@samba.org>

13 years agos4-rpcserver: allow saving of bad RPC packets
Andrew Tridgell [Thu, 16 Sep 2010 07:04:53 +0000 (17:04 +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@samba.org>

13 years agopidl: prevent ndr_print_*() dying on NULL pointers
Andrew Tridgell [Thu, 16 Sep 2010 06:57:21 +0000 (16:57 +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

13 years agoidl: Added EPMAPPER_STATUS_CANT_PERFORM_OP.
Andreas Schneider [Mon, 30 Aug 2010 11:22:57 +0000 (13:22 +0200)]
idl: Added EPMAPPER_STATUS_CANT_PERFORM_OP.

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos4-dns: use a non-forwardable ticket in samba_dnsupdate
Andrew Tridgell [Thu, 16 Sep 2010 04:13:48 +0000 (14:13 +1000)]
s4-dns: use a non-forwardable ticket in samba_dnsupdate

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

13 years agos4-kerberos: obey the credentials setting for forwardable tickets
Andrew Tridgell [Thu, 16 Sep 2010 04:13:29 +0000 (14:13 +1000)]
s4-kerberos: obey the credentials setting for forwardable tickets

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

13 years agos4-pycredentials: expose forwardable setting via python
Andrew Tridgell [Thu, 16 Sep 2010 04:12:57 +0000 (14:12 +1000)]
s4-pycredentials: expose forwardable setting via python

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

13 years agos4-credentials: added ability to control forwardable attribute on krb5 tickets
Andrew Tridgell [Thu, 16 Sep 2010 04:12:37 +0000 (14:12 +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@samba.org>

13 years agos4-drs: make debugging DsUpdateRefs a bit easier
Andrew Tridgell [Thu, 16 Sep 2010 03:02:43 +0000 (13:02 +1000)]
s4-drs: make debugging DsUpdateRefs a bit easier

13 years agos4-drs: initial skeleton for DrsReplica{Add,Del,Mod} calls
Andrew Tridgell [Thu, 16 Sep 2010 03:02:23 +0000 (13:02 +1000)]
s4-drs: initial skeleton for DrsReplica{Add,Del,Mod} calls

13 years agos4-drs: removed a debug print in repl secret
Andrew Tridgell [Thu, 16 Sep 2010 03:00:20 +0000 (13:00 +1000)]
s4-drs: removed a debug print in repl secret

13 years agos4-test: enable valgrind on wbinfo tests
Andrew Tridgell [Thu, 16 Sep 2010 00:58:03 +0000 (10:58 +1000)]
s4-test: enable valgrind on wbinfo tests

13 years agos4-pydrs: fix for python 2.4
Andrew Tridgell [Wed, 15 Sep 2010 21:38:14 +0000 (07:38 +1000)]
s4-pydrs: fix for python 2.4

thanks to Kamen and David Gonzalez for spotting this

13 years agos3: Add convenience make target buildfarm-test.
Jelmer Vernooij [Thu, 16 Sep 2010 00:02:14 +0000 (00:02 +0000)]
s3: Add convenience make target buildfarm-test.

13 years agos3-selftest: Move Samba3-specific script to source3/selftest.
Jelmer Vernooij [Thu, 16 Sep 2010 00:01:51 +0000 (00:01 +0000)]
s3-selftest: Move Samba3-specific script to source3/selftest.

13 years agos3/printing: avoid a possible race condition in the cache timeout
Björn Jacke [Wed, 15 Sep 2010 22:57:39 +0000 (00:57 +0200)]
s3/printing: avoid a possible race condition in the cache timeout

13 years agoFix all sid_parse returns to be checked. Tidy up some checks and error
Jeremy Allison [Wed, 15 Sep 2010 22:40:15 +0000 (15:40 -0700)]
Fix all sid_parse returns to be checked. Tidy up some checks and error
messages.

Jeremy.

13 years agos3-smbd: prevent call_nt_transact_ioctl() crash in FSCTL_FIND_FILES_BY_SID case.
Günther Deschner [Wed, 15 Sep 2010 22:19:51 +0000 (00:19 +0200)]
s3-smbd: prevent call_nt_transact_ioctl() crash in FSCTL_FIND_FILES_BY_SID case.

Jeremy, please check.

Guenther

13 years agos4-smbtorture: try FSCTL_FIND_FILES_BY_SID with random blob data in RAW-IOCTL.
Günther Deschner [Wed, 15 Sep 2010 21:02:43 +0000 (23:02 +0200)]
s4-smbtorture: try FSCTL_FIND_FILES_BY_SID with random blob data in RAW-IOCTL.

Guenther

13 years agos4-repl: if we are an RODC don't set WRIT_REP in replication
Andrew Tridgell [Wed, 15 Sep 2010 10:54:09 +0000 (20:54 +1000)]
s4-repl: if we are an RODC don't set WRIT_REP in replication

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

13 years agos4-repl: add partial attribute set to getncchanges calls for RODCs
Andrew Tridgell [Wed, 15 Sep 2010 10:24:50 +0000 (20:24 +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@samba.org>

13 years agos4-repl: added min_usn to extended replication call
Andrew Tridgell [Wed, 15 Sep 2010 10:23:47 +0000 (20:23 +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@samba.org>

13 years agos4-repl: added repl_secret handling
Andrew Tridgell [Wed, 15 Sep 2010 09:00:01 +0000 (19:00 +1000)]
s4-repl: added repl_secret handling

initiate a repl secret extended op when requested

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

13 years agos4-repl: cleanup the extended op calls in repl server
Andrew Tridgell [Wed, 15 Sep 2010 08:59:17 +0000 (18:59 +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

13 years agos4-pyjoin: use new pynet finddc interface
Andrew Tridgell [Wed, 15 Sep 2010 08:52:11 +0000 (18:52 +1000)]
s4-pyjoin: use new pynet finddc interface

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

13 years agos4-pynet: return the full netlogon response from python finddc
Andrew Tridgell [Wed, 15 Sep 2010 08:51:09 +0000 (18:51 +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@samba.org>

13 years agos4-pyjoin: fill in the dns name in the python replication method
Andrew Tridgell [Wed, 15 Sep 2010 08:50:09 +0000 (18:50 +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@samba.org>

13 years agos4-drs: get lpcfg_dnsdomain() instead of lpcfg_realm()
Andrew Tridgell [Wed, 15 Sep 2010 08:49:34 +0000 (18:49 +1000)]
s4-drs: get lpcfg_dnsdomain() instead of lpcfg_realm()

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

13 years agos4-pyrpc: added py_return_ndr_struct()
Andrew Tridgell [Wed, 15 Sep 2010 08:49:06 +0000 (18:49 +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@samba.org>

13 years agos4-repl: split out the extended op handling
Andrew Tridgell [Wed, 15 Sep 2010 06:19:26 +0000 (16:19 +1000)]
s4-repl: split out the extended op handling

this is not part of the rid allocation logic

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

13 years agos4-repl: cleanup getncchanges extended op calls
Andrew Tridgell [Wed, 15 Sep 2010 06:15:12 +0000 (16:15 +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@samba.org>

13 years agos4-drs: Wait DsReplicaSync for as long as it takes to complete
Kamen Mazdrashki [Wed, 15 Sep 2010 13:45:37 +0000 (16:45 +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

13 years agos4-irpc: Don't install endtime-timer in case timeout is INFINITE for the call
Kamen Mazdrashki [Wed, 15 Sep 2010 13:53:48 +0000 (16:53 +0300)]
s4-irpc: Don't install endtime-timer in case timeout is INFINITE for the call

13 years agos4-irpc: Add 'timeout' param for dcesrv_irpc_forward_rpc_call() call
Kamen Mazdrashki [Wed, 15 Sep 2010 13:41:47 +0000 (16:41 +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

13 years agos4-irpc: Add value for "infinite" timeout for IRPC calls
Kamen Mazdrashki [Wed, 15 Sep 2010 11:22:27 +0000 (14:22 +0300)]
s4-irpc: Add value for "infinite" timeout for IRPC calls

13 years agos3/printing: make clock jump save and use monotonic time for cache timeout
Björn Jacke [Wed, 15 Sep 2010 16:23:50 +0000 (18:23 +0200)]
s3/printing: make clock jump save and use monotonic time for cache timeout

13 years agosubunit: Re-add outputmsg.
Jelmer Vernooij [Wed, 15 Sep 2010 18:05:51 +0000 (20:05 +0200)]
subunit: Re-add outputmsg.

13 years agoAdd check for invalid data size.
Jeremy Allison [Wed, 15 Sep 2010 17:50:50 +0000 (10:50 -0700)]
Add check for invalid data size.

Jeremy.

13 years agos3: Fix some debug msgs in ntlm_auth
Volker Lendecke [Wed, 15 Sep 2010 08:29:44 +0000 (10:29 +0200)]
s3: Fix some debug msgs in ntlm_auth

13 years agoFix a typo
Volker Lendecke [Tue, 14 Sep 2010 19:10:27 +0000 (21:10 +0200)]
Fix a typo

13 years agos4-rpcserver: set unbind method to NULL in remote server
Andrew Tridgell [Wed, 15 Sep 2010 11:50:36 +0000 (21:50 +1000)]
s4-rpcserver: set unbind method to NULL in remote server

this prevents a possible crash on disconnect

13 years agos3-docs: more typos in rpc_server manpage.
Günther Deschner [Wed, 15 Sep 2010 12:34:50 +0000 (14:34 +0200)]
s3-docs: more typos in rpc_server manpage.

Guenther

13 years agos3-waf: fix the build.
Günther Deschner [Wed, 15 Sep 2010 12:31:39 +0000 (14:31 +0200)]
s3-waf: fix the build.

... this starts to get like "re-run make idl"...

Guenther

13 years agos3-docs: fix rpc_server manpage type.
Günther Deschner [Wed, 15 Sep 2010 12:16:45 +0000 (14:16 +0200)]
s3-docs: fix rpc_server manpage type.

Guenther

13 years agos3-rpc_server: fix some uninitalized variables and c++ build warnings.
Günther Deschner [Wed, 15 Sep 2010 11:24:44 +0000 (13:24 +0200)]
s3-rpc_server: fix some uninitalized variables and c++ build warnings.

Guenther

13 years agos3-printing: fix print_spool_terminate().
Günther Deschner [Wed, 15 Sep 2010 11:18:27 +0000 (13:18 +0200)]
s3-printing: fix print_spool_terminate().

Simo, Andreas, please check.

Guenther

13 years agos4/fsmo: Extended fsmo test with infrastructure, pdc and rid roles
Anatoliy Atanasov [Tue, 14 Sep 2010 15:07:09 +0000 (18:07 +0300)]
s4/fsmo: Extended fsmo test with infrastructure, pdc and rid roles

13 years agos4/fsmo: Handle infrastructure, pdc and rid extended ops
Anatoliy Atanasov [Wed, 15 Sep 2010 07:17:55 +0000 (10:17 +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

13 years agos4/fsmo: Remove empty new lines
Anatoliy Atanasov [Tue, 14 Sep 2010 14:59:32 +0000 (17:59 +0300)]
s4/fsmo: Remove empty new lines

13 years agos3-winbindd: Use rpc_open_pipe_interface in winbindd.
Simo Sorce [Tue, 6 Jul 2010 19:29:32 +0000 (15:29 -0400)]
s3-winbindd: Use rpc_open_pipe_interface in winbindd.

Signed-off-by: Andreas Schneider <asn@samba.org>
13 years agos3-rpc_server: Use talloc_stackframe.
Andreas Schneider [Wed, 15 Sep 2010 09:38:53 +0000 (11:38 +0200)]
s3-rpc_server: Use talloc_stackframe.

13 years agos3-rpc_server: Moved ncacn_np declarations in common header file.
Simo Sorce [Wed, 7 Jul 2010 19:24:30 +0000 (15:24 -0400)]
s3-rpc_server: Moved ncacn_np declarations in common header file.

Signed-off-by: Andreas Schneider <asn@samba.org>
13 years agos3-rpc_server: Moved "external" pipe functions to rpc_ncacn_np.c.
Simo Sorce [Wed, 7 Jul 2010 19:24:00 +0000 (15:24 -0400)]
s3-rpc_server: Moved "external" pipe functions to rpc_ncacn_np.c.

Signed-off-by: Andreas Schneider <asn@samba.org>
13 years agos3-rpc_server: Added new parametric option 'rpc_server'
Andreas Schneider [Tue, 14 Sep 2010 11:37:46 +0000 (13:37 +0200)]
s3-rpc_server: Added new parametric option 'rpc_server'

Signed-off-by: Andreas Schneider <asn@samba.org>
13 years agos3-rpc_server: Renamed rpc_ncacn_np_internal.c.
Simo Sorce [Tue, 6 Jul 2010 17:03:35 +0000 (13:03 -0400)]
s3-rpc_server: Renamed rpc_ncacn_np_internal.c.

Signed-off-by: Andreas Schneider <asn@samba.org>
13 years agos3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface.
Simo Sorce [Tue, 6 Jul 2010 15:33:15 +0000 (11:33 -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.

13 years agos3-rpc_server: Added support for internal connections to external daemons.
Simo Sorce [Tue, 22 Jun 2010 22:03:55 +0000 (18:03 -0400)]
s3-rpc_server: Added support for internal connections to external daemons.

Signed-off-by: Andreas Schneider <asn@samba.org>
13 years agos3-rpc_server: Accept connections and process requests.
Simo Sorce [Fri, 18 Jun 2010 14:56:58 +0000 (10:56 -0400)]
s3-rpc_server: Accept connections and process requests.

Signed-off-by: Andreas Schneider <asn@cynapses.org>
13 years agos3-rpc_server: Added helper functions to read data from a ncacn socket.
Simo Sorce [Fri, 18 Jun 2010 14:55:44 +0000 (10:55 -0400)]
s3-rpc_server: Added helper functions to read data from a ncacn socket.

Signed-off-by: Andreas Schneider <asn@cynapses.org>
13 years agos3-rpc_client: Added a tstream based transport.
Simo Sorce [Tue, 22 Jun 2010 22:01:45 +0000 (18:01 -0400)]
s3-rpc_client: Added a tstream based transport.

Signed-off-by: Andreas Schneider <asn@cynapses.org>
13 years agos3-rpc_server: Addded function to create custom pipes_struct.
Simo Sorce [Fri, 18 Jun 2010 14:40:19 +0000 (10:40 -0400)]
s3-rpc_server: Addded function to create custom pipes_struct.

Signed-off-by: Andreas Schneider <asn@cynapses.org>
13 years agos3-rpc_server: Add generic listener callback.
Simo Sorce [Thu, 20 May 2010 13:16:29 +0000 (09:16 -0400)]
s3-rpc_server: Add generic listener callback.

Signed-off-by: Andreas Schneider <asn@cynapses.org>
13 years agos3-rpc_server: Added initial generic RPC server infrastructure.
Simo Sorce [Fri, 18 Jun 2010 15:00:38 +0000 (11:00 -0400)]
s3-rpc_server: Added initial generic RPC server infrastructure.

Signed-off-by: Andreas Schneider <asn@cynapses.org>
13 years agos3-rpc_server: Added debug to see how much data has been read out.
Simo Sorce [Wed, 16 Jun 2010 13:03:37 +0000 (09:03 -0400)]
s3-rpc_server: Added debug to see how much data has been read out.

Signed-off-by: Andreas Schneider <asn@cynapses.org>
13 years agos3-rpc_server: Make process_incoming_data() public.
Simo Sorce [Tue, 15 Jun 2010 01:11:10 +0000 (21:11 -0400)]
s3-rpc_server: Make process_incoming_data() public.

Signed-off-by: Andreas Schneider <asn@cynapses.org>
13 years agos3-rpc_server: Make pipe destructor public.
Simo Sorce [Mon, 7 Jun 2010 19:18:31 +0000 (15:18 -0400)]
s3-rpc_server: Make pipe destructor public.

Signed-off-by: Andreas Schneider <asn@cynapses.org>
13 years agos3-rpc_server: Fixed unhandled error condition.
Simo Sorce [Tue, 22 Jun 2010 22:03:17 +0000 (18:03 -0400)]
s3-rpc_server: Fixed unhandled error condition.

Signed-off-by: Andreas Schneider <asn@samba.org>
13 years agos3-misc: Introduce lp_ncalrpc_dir() in S3, like we have in S4.
Simo Sorce [Thu, 20 May 2010 12:39:10 +0000 (08:39 -0400)]
s3-misc: Introduce lp_ncalrpc_dir() in S3, like we have in S4.

13 years agos3-printing: Document the printer list functions.
Andreas Schneider [Mon, 13 Sep 2010 09:29:31 +0000 (11:29 +0200)]
s3-printing: Document the printer list functions.

13 years agos3-printing: Add method to skip refresh if just happned.
Simo Sorce [Fri, 14 May 2010 19:49:29 +0000 (15:49 -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@cynapses.org>
13 years agos3-printing: Use printer list tdb in pcap.
Simo Sorce [Thu, 13 May 2010 22:42:55 +0000 (18:42 -0400)]
s3-printing: Use printer list tdb in pcap.

Signed-off-by: Andreas Schneider <asn@cynapses.org>
13 years agos3-printing: Added a printer list database.
Simo Sorce [Thu, 13 May 2010 15:35:59 +0000 (11:35 -0400)]
s3-printing: Added a printer list database.

Signed-off-by: Andreas Schneider <asn@cynapses.org>
13 years agos3-nltest: add dsgetdc command.
Günther Deschner [Fri, 10 Sep 2010 07:56:36 +0000 (09:56 +0200)]
s3-nltest: add dsgetdc command.

Guenther

13 years agos3-libnetapi: try using netr_DsRGetDCNameEx() in DsGetDcName().
Günther Deschner [Wed, 15 Sep 2010 08:11:38 +0000 (10:11 +0200)]
s3-libnetapi: try using netr_DsRGetDCNameEx() in DsGetDcName().

Guenther

13 years agos3-libnetapi: add DS request flags to public header.
Günther Deschner [Fri, 10 Sep 2010 23:23:01 +0000 (01:23 +0200)]
s3-libnetapi: add DS request flags to public header.

Guenther

13 years agos3-libnetapi: add DS_X_FLAGs to public header.
Günther Deschner [Fri, 10 Sep 2010 23:19:07 +0000 (01:19 +0200)]
s3-libnetapi: add DS_X_FLAGs to public header.

Guenther

13 years agolibnetapi: add DOMAIN_CONTROLLER_INFO_FLAGS.
Günther Deschner [Fri, 10 Sep 2010 23:18:04 +0000 (01:18 +0200)]
libnetapi: add DOMAIN_CONTROLLER_INFO_FLAGS.

Guenther

13 years agos3-nltest: convert server input argument into --server.
Günther Deschner [Tue, 14 Sep 2010 15:39:45 +0000 (17:39 +0200)]
s3-nltest: convert server input argument into --server.

Guenther

13 years agos3-nltest: rename print_result to print_netlogon_info_result.
Günther Deschner [Fri, 10 Sep 2010 07:56:02 +0000 (09:56 +0200)]
s3-nltest: rename print_result to print_netlogon_info_result.

Guenther

13 years agos3-build: only link in prs parser where needed.
Günther Deschner [Tue, 14 Sep 2010 21:58:10 +0000 (23:58 +0200)]
s3-build: only link in prs parser where needed.

Guenther

13 years agos3-waf: only link in prs parser where needed.
Günther Deschner [Wed, 15 Sep 2010 06:22:37 +0000 (08:22 +0200)]
s3-waf: only link in prs parser where needed.

Guenther

13 years agocldap: prevent crashes when freeing cldap socket
Andrew Tridgell [Wed, 15 Sep 2010 04:24:51 +0000 (14:24 +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@samba.org>

13 years agos4-server: check the return of irpc_binding_handle_by_name
Andrew Tridgell [Wed, 15 Sep 2010 03:14:42 +0000 (13:14 +1000)]
s4-server: check the return of irpc_binding_handle_by_name

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

13 years agos4-finddcs: ensure we free previous cldap requests before starting a new one
Andrew Tridgell [Wed, 15 Sep 2010 02:22:48 +0000 (12:22 +1000)]
s4-finddcs: ensure we free previous cldap requests before starting a new one