summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-15s3-rpc_server: fix some uninitalized variables and c++ build warnings.Günther Deschner1-2/+2
Guenther
2010-09-15s3-printing: fix print_spool_terminate().Günther Deschner1-1/+1
Simo, Andreas, please check. Guenther
2010-09-15s4/fsmo: Extended fsmo test with infrastructure, pdc and rid rolesAnatoliy Atanasov1-21/+44
2010-09-15s4/fsmo: Handle infrastructure, pdc and rid extended opsAnatoliy Atanasov2-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
2010-09-15s4/fsmo: Remove empty new linesAnatoliy Atanasov1-6/+0
2010-09-15s3-winbindd: Use rpc_open_pipe_interface in winbindd.Simo Sorce1-2/+3
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15s3-rpc_server: Use talloc_stackframe.Andreas Schneider1-14/+15
2010-09-15s3-rpc_server: Moved ncacn_np declarations in common header file.Simo Sorce7-0/+29
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15s3-rpc_server: Moved "external" pipe functions to rpc_ncacn_np.c.Simo Sorce3-298/+336
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15s3-rpc_server: Added new parametric option 'rpc_server'Andreas Schneider2-1/+63
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15s3-rpc_server: Renamed rpc_ncacn_np_internal.c.Simo Sorce2-4/+5
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface.Simo Sorce5-43/+138
This way we have one common way to open internal pipes whether they are shortcircuited or piped to an external process.
2010-09-15s3-rpc_server: Added support for internal connections to external daemons.Simo Sorce1-2/+115
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15s3-rpc_server: Accept connections and process requests.Simo Sorce1-17/+337
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Added helper functions to read data from a ncacn socket.Simo Sorce2-0/+84
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_client: Added a tstream based transport.Simo Sorce3-0/+369
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Addded function to create custom pipes_struct.Simo Sorce1-0/+99
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Add generic listener callback.Simo Sorce1-4/+47
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Added initial generic RPC server infrastructure.Simo Sorce3-2/+94
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Added debug to see how much data has been read out.Simo Sorce1-0/+4
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Make process_incoming_data() public.Simo Sorce2-1/+3
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Make pipe destructor public.Simo Sorce2-3/+2
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Fixed unhandled error condition.Simo Sorce1-1/+2
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15s3-misc: Introduce lp_ncalrpc_dir() in S3, like we have in S4.Simo Sorce2-0/+15
2010-09-15s3-printing: Document the printer list functions.Andreas Schneider1-0/+64
2010-09-15s3-printing: Add method to skip refresh if just happned.Simo Sorce3-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>
2010-09-15s3-printing: Use printer list tdb in pcap.Simo Sorce1-21/+35
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-printing: Added a printer list database.Simo Sorce3-1/+433
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-nltest: add dsgetdc command.Günther Deschner1-3/+181
Guenther
2010-09-15s3-libnetapi: try using netr_DsRGetDCNameEx() in DsGetDcName().Günther Deschner1-0/+13
Guenther
2010-09-15s3-libnetapi: add DS request flags to public header.Günther Deschner1-0/+21
Guenther
2010-09-15s3-libnetapi: add DS_X_FLAGs to public header.Günther Deschner1-0/+16
Guenther
2010-09-15libnetapi: add DOMAIN_CONTROLLER_INFO_FLAGS.Günther Deschner1-1/+19
Guenther
2010-09-15s3-nltest: convert server input argument into --server.Günther Deschner1-24/+19
Guenther
2010-09-15s3-nltest: rename print_result to print_netlogon_info_result.Günther Deschner1-4/+17
Guenther
2010-09-15s3-build: only link in prs parser where needed.Günther Deschner1-2/+2
Guenther
2010-09-15s3-waf: only link in prs parser where needed.Günther Deschner1-2/+2
Guenther
2010-09-15cldap: prevent crashes when freeing cldap socketAndrew Tridgell1-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>
2010-09-15s4-server: check the return of irpc_binding_handle_by_nameAndrew Tridgell1-3/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-finddcs: ensure we free previous cldap requests before starting a new oneAndrew Tridgell1-1/+1
2010-09-15s4-selftest: enable logging in valgrind server xtermAndrew Tridgell1-1/+1
when running with valgrind on the server, enable logging in the xterm so you get a permanent record of any errors
2010-09-15s4-rpc: fixed double free in RPC proxyAndrew Tridgell1-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
2010-09-15tsocket: we return -1 on error, not fdAndrew Tridgell1-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>
2010-09-15s4-libnet: print the domain name on domain open failureAndrew Tridgell2-2/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-libnet: force IDL printing for high debug levelsAndrew Tridgell1-0/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-resolve: the file backend should not look at the name typeAndrew Tridgell1-1/+1
this matches the behaviour of our DNS resolver Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-finddcs: show required server type bits on failureAndrew Tridgell1-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>
2010-09-15s4-repl: use consistent API calls for getting DN GUIDAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-netlogon: fixed logic for setting DS_SERVER_WRITABLEAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-finddc: use NBT lookup for a 1C name if joining a short domain nameAndrew Tridgell6-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>