Andrew Tridgell
1da147e6fa
s4-repl: added repl_secret handling
...
initiate a repl secret extended op when requested
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 07:24:01 +10:00
Andrew Tridgell
d5673b5501
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
2010-09-16 07:24:01 +10:00
Andrew Tridgell
aabd89d8f7
s4-pyjoin: use new pynet finddc interface
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 07:24:01 +10:00
Andrew Tridgell
2edbf74f35
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>
2010-09-16 07:24:01 +10:00
Andrew Tridgell
e18c0030e0
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>
2010-09-16 07:24:01 +10:00
Andrew Tridgell
e2b6d171d4
s4-drs: get lpcfg_dnsdomain() instead of lpcfg_realm()
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 07:24:01 +10:00
Andrew Tridgell
e5ac820b9e
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>
2010-09-16 07:24:01 +10:00
Andrew Tridgell
f89f3cf30f
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>
2010-09-16 07:24:00 +10:00
Andrew Tridgell
54b5370474
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>
2010-09-16 07:24:00 +10:00
Kamen Mazdrashki
7f1db0d8df
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
2010-09-16 00:15:38 +03:00
Kamen Mazdrashki
7b20b795ab
s4-irpc: Don't install endtime-timer in case timeout is INFINITE for the call
2010-09-16 00:15:38 +03:00
Kamen Mazdrashki
ee169d7347
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
2010-09-16 00:15:38 +03:00
Kamen Mazdrashki
839ed051fc
s4-irpc: Add value for "infinite" timeout for IRPC calls
2010-09-16 00:15:37 +03:00
Björn Jacke
aa7df7b737
s3/printing: make clock jump save and use monotonic time for cache timeout
2010-09-15 22:43:24 +02:00
Jelmer Vernooij
adf8ca6ff8
subunit: Re-add outputmsg.
2010-09-15 20:09:25 +02:00
Jeremy Allison
627de92521
Add check for invalid data size.
...
Jeremy.
2010-09-15 10:50:50 -07:00
Volker Lendecke
6400f3ee62
s3: Fix some debug msgs in ntlm_auth
2010-09-15 10:31:00 -07:00
Volker Lendecke
301b60acc0
Fix a typo
2010-09-15 09:33:34 -07:00
Andrew Tridgell
e7f21fa941
s4-rpcserver: set unbind method to NULL in remote server
...
this prevents a possible crash on disconnect
2010-09-15 23:08:18 +10:00
Günther Deschner
9a7d1b1e97
s3-docs: more typos in rpc_server manpage.
...
Guenther
2010-09-15 14:35:28 +02:00
Günther Deschner
2d1cf2671f
s3-waf: fix the build.
...
... this starts to get like "re-run make idl"...
Guenther
2010-09-15 14:31:39 +02:00
Günther Deschner
effbebcec1
s3-docs: fix rpc_server manpage type.
...
Guenther
2010-09-15 14:16:45 +02:00
Günther Deschner
33d05a85e5
s3-rpc_server: fix some uninitalized variables and c++ build warnings.
...
Guenther
2010-09-15 13:24:44 +02:00
Günther Deschner
480c97b5b1
s3-printing: fix print_spool_terminate().
...
Simo, Andreas, please check.
Guenther
2010-09-15 13:18:27 +02:00
Anatoliy Atanasov
ccb7fdc52b
s4/fsmo: Extended fsmo test with infrastructure, pdc and rid roles
2010-09-15 14:00:28 +03:00
Anatoliy Atanasov
2eeba94c9c
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
2010-09-15 14:00:28 +03:00
Anatoliy Atanasov
4608721935
s4/fsmo: Remove empty new lines
2010-09-15 14:00:27 +03:00
Simo Sorce
db46b2bdb0
s3-winbindd: Use rpc_open_pipe_interface in winbindd.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15 12:53:43 +02:00
Andreas Schneider
e580c6d88f
s3-rpc_server: Use talloc_stackframe.
2010-09-15 12:53:43 +02:00
Simo Sorce
8ec7aaef48
s3-rpc_server: Moved ncacn_np declarations in common header file.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15 12:53:42 +02:00
Simo Sorce
390642a9e6
s3-rpc_server: Moved "external" pipe functions to rpc_ncacn_np.c.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15 12:53:42 +02:00
Andreas Schneider
34225c93af
s3-rpc_server: Added new parametric option 'rpc_server'
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15 12:53:42 +02:00
Simo Sorce
738c843e99
s3-rpc_server: Renamed rpc_ncacn_np_internal.c.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15 12:53:42 +02:00
Simo Sorce
5685914344
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.
2010-09-15 12:53:42 +02:00
Simo Sorce
344260d03e
s3-rpc_server: Added support for internal connections to external daemons.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15 12:53:42 +02:00
Simo Sorce
e7c4555b7c
s3-rpc_server: Accept connections and process requests.
...
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:42 +02:00
Simo Sorce
f7f9916dc7
s3-rpc_server: Added helper functions to read data from a ncacn socket.
...
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:42 +02:00
Simo Sorce
7b1748d959
s3-rpc_client: Added a tstream based transport.
...
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:41 +02:00
Simo Sorce
a1f1da7226
s3-rpc_server: Addded function to create custom pipes_struct.
...
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:41 +02:00
Simo Sorce
b1fdc5a704
s3-rpc_server: Add generic listener callback.
...
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:41 +02:00
Simo Sorce
3c26e95840
s3-rpc_server: Added initial generic RPC server infrastructure.
...
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:41 +02:00
Simo Sorce
11721874c3
s3-rpc_server: Added debug to see how much data has been read out.
...
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:41 +02:00
Simo Sorce
5ccd7a56fa
s3-rpc_server: Make process_incoming_data() public.
...
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:41 +02:00
Simo Sorce
2ef693e3c8
s3-rpc_server: Make pipe destructor public.
...
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:41 +02:00
Simo Sorce
3f04b54197
s3-rpc_server: Fixed unhandled error condition.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15 12:53:40 +02:00
Simo Sorce
94d86a22a1
s3-misc: Introduce lp_ncalrpc_dir() in S3, like we have in S4.
2010-09-15 12:53:40 +02:00
Andreas Schneider
65bd8f881d
s3-printing: Document the printer list functions.
2010-09-15 12:53:40 +02:00
Simo Sorce
25a2d94974
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>
2010-09-15 12:53:40 +02:00
Simo Sorce
7022554915
s3-printing: Use printer list tdb in pcap.
...
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:40 +02:00
Simo Sorce
d2a027ea94
s3-printing: Added a printer list database.
...
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:40 +02:00