summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4/fsmo: Extended fsmo test with infrastructure, pdc and rid rolesAnatoliy Atanasov2010-09-151-21/+44
|
* s4/fsmo: Handle infrastructure, pdc and rid extended opsAnatoliy Atanasov2010-09-152-45/+53
| | | | | | | | | | | | | 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
* s4/fsmo: Remove empty new linesAnatoliy Atanasov2010-09-151-6/+0
|
* s3-winbindd: Use rpc_open_pipe_interface in winbindd.Simo Sorce2010-09-151-2/+3
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-rpc_server: Use talloc_stackframe.Andreas Schneider2010-09-151-14/+15
|
* s3-rpc_server: Moved ncacn_np declarations in common header file.Simo Sorce2010-09-157-0/+29
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-rpc_server: Moved "external" pipe functions to rpc_ncacn_np.c.Simo Sorce2010-09-153-298/+336
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-rpc_server: Added new parametric option 'rpc_server'Andreas Schneider2010-09-152-1/+63
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-rpc_server: Renamed rpc_ncacn_np_internal.c.Simo Sorce2010-09-152-4/+5
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface.Simo Sorce2010-09-155-43/+138
| | | | | This way we have one common way to open internal pipes whether they are shortcircuited or piped to an external process.
* s3-rpc_server: Added support for internal connections to external daemons.Simo Sorce2010-09-151-2/+115
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-rpc_server: Accept connections and process requests.Simo Sorce2010-09-151-17/+337
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Added helper functions to read data from a ncacn socket.Simo Sorce2010-09-152-0/+84
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_client: Added a tstream based transport.Simo Sorce2010-09-153-0/+369
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Addded function to create custom pipes_struct.Simo Sorce2010-09-151-0/+99
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Add generic listener callback.Simo Sorce2010-09-151-4/+47
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Added initial generic RPC server infrastructure.Simo Sorce2010-09-153-2/+94
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Added debug to see how much data has been read out.Simo Sorce2010-09-151-0/+4
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Make process_incoming_data() public.Simo Sorce2010-09-152-1/+3
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Make pipe destructor public.Simo Sorce2010-09-152-3/+2
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Fixed unhandled error condition.Simo Sorce2010-09-151-1/+2
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-misc: Introduce lp_ncalrpc_dir() in S3, like we have in S4.Simo Sorce2010-09-152-0/+15
|
* s3-printing: Document the printer list functions.Andreas Schneider2010-09-151-0/+64
|
* s3-printing: Add method to skip refresh if just happned.Simo Sorce2010-09-153-0/+34
| | | | | | | 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>
* s3-printing: Use printer list tdb in pcap.Simo Sorce2010-09-151-21/+35
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-printing: Added a printer list database.Simo Sorce2010-09-153-1/+433
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-nltest: add dsgetdc command.Günther Deschner2010-09-151-3/+181
| | | | Guenther
* s3-libnetapi: try using netr_DsRGetDCNameEx() in DsGetDcName().Günther Deschner2010-09-151-0/+13
| | | | Guenther
* s3-libnetapi: add DS request flags to public header.Günther Deschner2010-09-151-0/+21
| | | | Guenther
* s3-libnetapi: add DS_X_FLAGs to public header.Günther Deschner2010-09-151-0/+16
| | | | Guenther
* libnetapi: add DOMAIN_CONTROLLER_INFO_FLAGS.Günther Deschner2010-09-151-1/+19
| | | | Guenther
* s3-nltest: convert server input argument into --server.Günther Deschner2010-09-151-24/+19
| | | | Guenther
* s3-nltest: rename print_result to print_netlogon_info_result.Günther Deschner2010-09-151-4/+17
| | | | Guenther
* s3-build: only link in prs parser where needed.Günther Deschner2010-09-151-2/+2
| | | | Guenther
* s3-waf: only link in prs parser where needed.Günther Deschner2010-09-151-2/+2
| | | | Guenther
* cldap: prevent crashes when freeing cldap socketAndrew Tridgell2010-09-151-6/+15
| | | | | | | 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>
* s4-server: check the return of irpc_binding_handle_by_nameAndrew Tridgell2010-09-151-3/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-finddcs: ensure we free previous cldap requests before starting a new oneAndrew Tridgell2010-09-151-1/+1
|
* s4-selftest: enable logging in valgrind server xtermAndrew Tridgell2010-09-151-1/+1
| | | | | when running with valgrind on the server, enable logging in the xterm so you get a permanent record of any errors
* s4-rpc: fixed double free in RPC proxyAndrew Tridgell2010-09-151-12/+4
| | | | | | | the unbind method is only called when the dcesrv_connection_context is being destroyed (its called from the destructor). That means that priv is either already free, or is about to be freed, so don't free it again
* tsocket: we return -1 on error, not fdAndrew Tridgell2010-09-151-7/+7
| | | | | | | | | | | | | | | | | | | | | the code used this pattent: if (fd < 0) { ...various cleanups... return fd; } it is much clearer to do this: if (fd < 0) { ...various cleanups... return -1; } as otherwise when reading the code you think this function may return a fd. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-libnet: print the domain name on domain open failureAndrew Tridgell2010-09-152-2/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-libnet: force IDL printing for high debug levelsAndrew Tridgell2010-09-151-0/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-resolve: the file backend should not look at the name typeAndrew Tridgell2010-09-151-1/+1
| | | | | | this matches the behaviour of our DNS resolver Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-finddcs: show required server type bits on failureAndrew Tridgell2010-09-151-2/+3
| | | | | | | when we skip a DC because it doesn't have the required server type bits, show what bits we wanted Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-repl: use consistent API calls for getting DN GUIDAndrew Tridgell2010-09-151-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-netlogon: fixed logic for setting DS_SERVER_WRITABLEAndrew Tridgell2010-09-151-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-finddc: use NBT lookup for a 1C name if joining a short domain nameAndrew Tridgell2010-09-156-20/+105
| | | | | | | once we get the 1C lookup reply, use a CLDAP query to find the details for the server Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-selftest: use the full domain name in joinsAndrew Tridgell2010-09-151-4/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-join: give a clear error when using short domain formAndrew Tridgell2010-09-151-1/+4
| | | | | | we now require the full domain name, for the DNS/CLDAP lookup Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>