summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* wbclient: gr_mem can be NULLAndrew Tridgell2010-09-161-0/+5
| | | | | | | if the structure was partly created and an error occurred, then don't crash Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* wbclient: paranoid check for double freeAndrew Tridgell2010-09-161-0/+5
| | | | | | added while tracking down a crash in the wbinfo blackbox test Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* tdb: added TDB_NO_FSYNC env variableAndrew Tridgell2010-09-161-0/+4
| | | | this might help reduce test times and load on test machines
* 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-166-23/+36
| | | | | | | | | | 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-163-0/+94
| | | | | | | 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>
* pidl: prevent ndr_print_*() dying on NULL pointersAndrew Tridgell2010-09-163-0/+13
| | | | | when using ndrdump you can get uninitialised structures containing pointers. Don't segfault when trying to print them
* idl: Added EPMAPPER_STATUS_CANT_PERFORM_OP.Andreas Schneider2010-09-161-0/+1
| | | | Signed-off-by: Günther Deschner <gd@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-test: enable valgrind on wbinfo testsAndrew Tridgell2010-09-161-1/+1
|
* s4-pydrs: fix for python 2.4Andrew Tridgell2010-09-161-1/+1
| | | | thanks to Kamen and David Gonzalez for spotting this
* s3: Add convenience make target buildfarm-test.Jelmer Vernooij2010-09-161-0/+3
|
* s3-selftest: Move Samba3-specific script to source3/selftest.Jelmer Vernooij2010-09-162-1/+1
|
* s3/printing: avoid a possible race condition in the cache timeoutBjörn Jacke2010-09-161-2/+1
|
* Fix all sid_parse returns to be checked. Tidy up some checks and errorJeremy Allison2010-09-153-7/+18
| | | | | | messages. Jeremy.
* s3-smbd: prevent call_nt_transact_ioctl() crash in FSCTL_FIND_FILES_BY_SID case.Günther Deschner2010-09-161-1/+4
| | | | | | Jeremy, please check. Guenther
* 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
|
* s3/printing: make clock jump save and use monotonic time for cache timeoutBjörn Jacke2010-09-152-14/+15
|
* subunit: Re-add outputmsg.Jelmer Vernooij2010-09-151-0/+3
|
* Add check for invalid data size.Jeremy Allison2010-09-151-1/+8
| | | | Jeremy.
* s3: Fix some debug msgs in ntlm_authVolker Lendecke2010-09-151-8/+8
|
* Fix a typoVolker Lendecke2010-09-151-1/+1
|
* s4-rpcserver: set unbind method to NULL in remote serverAndrew Tridgell2010-09-152-1/+2
| | | | this prevents a possible crash on disconnect
* s3-docs: more typos in rpc_server manpage.Günther Deschner2010-09-151-2/+2
| | | | Guenther