summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* s4-rodc: use python finddc code to avoid the need for --serverAndrew Tridgell2010-09-151-6/+12
| | | | | | The DC is now found via DNS/CLDAP Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-pynet: added finddc callAndrew Tridgell2010-09-151-0/+45
| | | | | | this gives access to the CLDAP/DNS finddc code from python Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-libcli: change finddcs.h -> finddc.hAndrew Tridgell2010-09-155-4/+4
| | | | | | | this prevents conflicts with old generated files and we can only even return one DC with this interface. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-finddcs: rename finddcs to finddcs_nbtAndrew Tridgell2010-09-152-37/+34
| | | | | | | finddcs_nbt is currently unused, but will later be a fallback is a cldap DC find fails. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-winbind: use finddcs_cldap() in winbindAndrew Tridgell2010-09-155-40/+52
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-libnet: use finddcs_cldap() in libnet_lookupAndrew Tridgell2010-09-151-11/+17
| | | | | | | this may later be changed to do fallback to NBT as well, but for now cldap is sufficient Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-cldap: don't set the writable bit when we are a RODCAndrew Tridgell2010-09-151-2/+6
| | | | | | | when we are a RODC, don't respond with the writable bit in the server type response of netlogon requests Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-finddcs: added finddcs_cldap()Andrew Tridgell2010-09-154-4/+284
| | | | | | | this finds DCs with a specified set of server_type bit using SRV lookups and CLDAP Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-secrets: fixed shadowed variable warningAndrew Tridgell2010-09-151-4/+4
| | | | we already have a 'v' in scope
* cldap: use ipv4 not up for unbound cldap socketsAndrew Tridgell2010-09-151-1/+5
| | | | | If we use "ip" we end up with a PF_INET6 socket which breaks sendto() for v4 addresses.
* s4-resolve: added resolve_name_multiple_recv()Andrew Tridgell2010-09-151-0/+34
| | | | | | this allows for multiple replies to a SRV lookup Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dns: fixed lookup of SRV records using dns_exAndrew Tridgell2010-09-151-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4: fixed some printf format errorsAndrew Tridgell2010-09-153-3/+3
|
* s4-libnet: converted finddcs call to tevent_reqAndrew Tridgell2010-09-154-89/+128
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-secrets: fetch secure channel type with domain SIDAndrew Tridgell2010-09-154-4/+27
| | | | | | The secure channel type is needed to work out what DC to connect to Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth: when we are a DC enable winbind authAndrew Tridgell2010-09-151-1/+3
| | | | | | As a RODC we need to forward some auth requests to a writable DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth: set the RODC bit for RODC schannelAndrew Tridgell2010-09-152-1/+5
| | | | | | | | When we are using SEC_CHAN_RODC we need to set the NETLOGON_NEG_RODC_PASSTHROUGH bit in the negotiated flags in ServerAuthenticate2 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>