summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-dns: use a non-forwardable ticket in samba_dnsupdateAndrew Tridgell2010-09-161-2/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-kerberos: obey the credentials setting for forwardable ticketsAndrew Tridgell2010-09-163-27/+40
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-pycredentials: expose forwardable setting via pythonAndrew Tridgell2010-09-161-0/+16
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-credentials: added ability to control forwardable attribute on krb5 ticketsAndrew Tridgell2010-09-162-0/+24
| | | | | | | 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>
* s4-drs: make debugging DsUpdateRefs a bit easierAndrew Tridgell2010-09-161-1/+8
|
* s4-drs: initial skeleton for DrsReplica{Add,Del,Mod} callsAndrew Tridgell2010-09-164-4/+139
|
* s4-drs: removed a debug print in repl secretAndrew Tridgell2010-09-161-1/+0
|
* s4-pydrs: fix for python 2.4Andrew Tridgell2010-09-161-1/+1
| | | | thanks to Kamen and David Gonzalez for spotting this
* s4-smbtorture: try FSCTL_FIND_FILES_BY_SID with random blob data in RAW-IOCTL.Günther Deschner2010-09-161-0/+21
| | | | Guenther
* s4-repl: if we are an RODC don't set WRIT_REP in replicationAndrew Tridgell2010-09-161-2/+7
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-repl: add partial attribute set to getncchanges calls for RODCsAndrew Tridgell2010-09-164-9/+67
| | | | | | | when we are a RODC we must supply a partial attribute set in the getncchanges call Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-repl: added min_usn to extended replication callAndrew Tridgell2010-09-164-2/+9
| | | | | | | the repl_secret code needs to set it to avoid too many duplicate attributes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-repl: added repl_secret handling Andrew Tridgell2010-09-162-2/+98
| | | | | | initiate a repl secret extended op when requested Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-repl: cleanup the extended op calls in repl serverAndrew Tridgell2010-09-165-21/+23
| | | | | | | - 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
* s4-pyjoin: use new pynet finddc interfaceAndrew Tridgell2010-09-161-1/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-pynet: return the full netlogon response from python finddcAndrew Tridgell2010-09-161-7/+8
| | | | | | this gives the caller the other server parameters Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-pyjoin: fill in the dns name in the python replication methodAndrew Tridgell2010-09-163-0/+45
| | | | | | this is needed to get the repsFrom DNS entry right Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: get lpcfg_dnsdomain() instead of lpcfg_realm()Andrew Tridgell2010-09-161-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-pyrpc: added py_return_ndr_struct()Andrew Tridgell2010-09-162-0/+34
| | | | | | | This can be used to return structures from other python interfaces as python objects Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-repl: split out the extended op handling Andrew Tridgell2010-09-163-137/+169
| | | | | | this is not part of the rid allocation logic Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-repl: cleanup getncchanges extended op callsAndrew Tridgell2010-09-163-40/+70
| | | | | | | | | 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>
* s4-drs: Wait DsReplicaSync for as long as it takes to completeKamen Mazdrashki2010-09-161-2/+19
| | | | | | In case the caller wants sync execution, we should not cancel the call for internal timeout reason, but rather wait for its execution
* s4-irpc: Don't install endtime-timer in case timeout is INFINITE for the callKamen Mazdrashki2010-09-161-3/+6
|
* s4-irpc: Add 'timeout' param for dcesrv_irpc_forward_rpc_call() callKamen Mazdrashki2010-09-162-6/+14
| | | | | It is to be used when caller wants to explicitly specify the timeout for the call
* s4-irpc: Add value for "infinite" timeout for IRPC callsKamen Mazdrashki2010-09-161-1/+3
|
* s4-rpcserver: set unbind method to NULL in remote serverAndrew Tridgell2010-09-152-1/+2
| | | | this prevents a possible crash on disconnect
* 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
|
* 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
* 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-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-153-3/+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