summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4-smbtorture: add NDR spoolss_GetPrinterDriver2 in and out check functions.Günther Deschner2010-09-161-2/+49
| | | | Guenther
* s4-smbtorture: finally enable most of our NDR_OUT NDR tests that we couldnt ↵Günther Deschner2010-09-163-10/+6
| | | | | | handle previously. Guenther
* s4-smbtorture: add functions to do NDR_OUT ndr_pull validation including ↵Günther Deschner2010-09-162-0/+99
| | | | | | NDR_IN context. Guenther
* s4-smbtorture: fix some indentation in NDR testsuite.Günther Deschner2010-09-161-28/+30
| | | | Guenther
* s3-smbtorture: fixup trailing whitespace in ndr testsuite.Günther Deschner2010-09-162-35/+35
| | | | Guenther
* s4-smbtorture: add spoolss_GetPrinterDriver2 NDR tests.Günther Deschner2010-09-161-0/+212
| | | | Guenther
* s4-smbtorture: mention -v switch for hexdump imports into the NDR testsuites.Günther Deschner2010-09-161-1/+1
| | | | Guenther
* s4-smbtorture: activate spoolss_GetPrinterData NDR pull test.Günther Deschner2010-09-161-2/+2
| | | | Guenther
* s4-winbind: fixed two valgrind errorsAndrew Tridgell2010-09-162-2/+2
| | | | | | | | - allocate the dc info on the right structure - zero the number of group members when allocating the winbindd_gr return Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture/raw Allow one more 'not implemented' status return as a valid responseAndrew Bartlett2010-09-161-1/+2
| | | | | | | | The Samba4 server responds to most ioctl calls with NT_STATUS_NOT_SUPPORTED Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-torture assert that we get a temp datagram socket.Andrew Bartlett2010-09-161-4/+8
| | | | | | | | | | I've seen a segfault because we failed to check this isn't NULL before we use it. This will still of course fail, but not so spectacularly. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* libcli/auth/ntlmssp Be clear about talloc parents for session keysAndrew Bartlett2010-09-161-0/+5
| | | | | | | | | | The previous API was not clear as to who owned the returned session key. This fixes a valgrind-found use-after-free in the NTLMSSP key derivation code, and avoids making allocations - we steal and zero instead. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-kdc: prevent segfault on bad trust stringsAndrew Tridgell2010-09-161-4/+8
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-netlogon: added IDL for netr_DsrUpdateReadOnlyServerDnsRecordsAndrew Tridgell2010-09-161-0/+20
| | | | | | | this is used by a RODC to do DNS updates, as TSIG updates are not allowed by RODCs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-rpcserver: allow saving of bad RPC packetsAndrew Tridgell2010-09-161-2/+28
| | | | | | | | | | | | | | use: dcesrv:stubs directory = . to save files like this: RPC-netlogon-48-pullfail.dat when a RPC packet can't be parsed or is unknown. Only enabled in developer builds Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* 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>