summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-16s3/s4: merge msleep and smb_msleepBjörn Jacke17-152/+138
the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
2010-09-16s3: remove TspecDiff macro, we can use the shared nsec_time_diff functionBjörn Jacke1-9/+0
2010-09-16s3: use nsec_time_diff instead of TspecDiffBjörn Jacke2-4/+4
2010-09-16s3/vfs_scannedonly: use smb_msleep instead of nanosleepBjörn Jacke1-2/+1
Thanks to Joachim Schmitz. This fixes bug #7478
2010-09-16s3: Add the PAC info3 struct to the netsamlogon_cache in ntlm_authVolker Lendecke2-0/+5
2010-09-16s3: Correctly unwrap the krb ticket in gss-spnegoVolker Lendecke1-1/+52
2010-09-16s3: Fall back to raw NTLMSSP for the gss-spnego protocolVolker Lendecke1-0/+25
This is to handle the mod_auth_ntlm_winbind protocol sending "Negotiate" to IE, which sends raw NTLMSSP instead of a SPNEGO wrapped NTLMSSP blob.
2010-09-16s3: Split off output generation from manage_squid_ntlmssp_requestVolker Lendecke1-17/+41
2010-09-16s3: Wrap the ntlm_auth loop with a talloc_stackframeVolker Lendecke1-0/+2
2010-09-16s4-smbtorture: add NDR spoolss_GetPrinterDriver2 in and out check functions.Günther Deschner1-2/+49
Guenther
2010-09-16s4-smbtorture: finally enable most of our NDR_OUT NDR tests that we couldnt ↵Günther Deschner3-10/+6
handle previously. Guenther
2010-09-16s4-smbtorture: add functions to do NDR_OUT ndr_pull validation including ↵Günther Deschner2-0/+99
NDR_IN context. Guenther
2010-09-16s4-smbtorture: fix some indentation in NDR testsuite.Günther Deschner1-28/+30
Guenther
2010-09-16s3-smbtorture: fixup trailing whitespace in ndr testsuite.Günther Deschner2-35/+35
Guenther
2010-09-16s4-smbtorture: add spoolss_GetPrinterDriver2 NDR tests.Günther Deschner2-1/+213
Guenther
2010-09-16s4-smbtorture: mention -v switch for hexdump imports into the NDR testsuites.Günther Deschner1-1/+1
Guenther
2010-09-16s4-smbtorture: activate spoolss_GetPrinterData NDR pull test.Günther Deschner2-3/+3
Guenther
2010-09-16s4-winbind: fixed two valgrind errorsAndrew Tridgell2-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>
2010-09-16wbclient: gr_mem can be NULLAndrew Tridgell1-0/+5
if the structure was partly created and an error occurred, then don't crash Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16wbclient: paranoid check for double freeAndrew Tridgell1-0/+5
added while tracking down a crash in the wbinfo blackbox test Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16tdb: added TDB_NO_FSYNC env variableAndrew Tridgell1-0/+4
this might help reduce test times and load on test machines
2010-09-16torture/raw Allow one more 'not implemented' status return as a valid responseAndrew Bartlett1-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>
2010-09-16s4-torture assert that we get a temp datagram socket.Andrew Bartlett1-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>
2010-09-16libcli/auth/ntlmssp Be clear about talloc parents for session keysAndrew Bartlett6-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>
2010-09-16s4-kdc: prevent segfault on bad trust stringsAndrew Tridgell1-4/+8
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16s4-netlogon: added IDL for netr_DsrUpdateReadOnlyServerDnsRecordsAndrew Tridgell3-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>
2010-09-16s4-rpcserver: allow saving of bad RPC packetsAndrew Tridgell1-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>
2010-09-16pidl: prevent ndr_print_*() dying on NULL pointersAndrew Tridgell3-0/+13
when using ndrdump you can get uninitialised structures containing pointers. Don't segfault when trying to print them
2010-09-16idl: Added EPMAPPER_STATUS_CANT_PERFORM_OP.Andreas Schneider1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-16s4-dns: use a non-forwardable ticket in samba_dnsupdateAndrew Tridgell1-2/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16s4-kerberos: obey the credentials setting for forwardable ticketsAndrew Tridgell3-27/+40
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16s4-pycredentials: expose forwardable setting via pythonAndrew Tridgell1-0/+16
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16s4-credentials: added ability to control forwardable attribute on krb5 ticketsAndrew Tridgell2-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>
2010-09-16s4-drs: make debugging DsUpdateRefs a bit easierAndrew Tridgell1-1/+8
2010-09-16s4-drs: initial skeleton for DrsReplica{Add,Del,Mod} callsAndrew Tridgell4-4/+139
2010-09-16s4-drs: removed a debug print in repl secretAndrew Tridgell1-1/+0
2010-09-16s4-test: enable valgrind on wbinfo testsAndrew Tridgell1-1/+1
2010-09-16s4-pydrs: fix for python 2.4Andrew Tridgell1-1/+1
thanks to Kamen and David Gonzalez for spotting this
2010-09-16s3: Add convenience make target buildfarm-test.Jelmer Vernooij1-0/+3
2010-09-16s3-selftest: Move Samba3-specific script to source3/selftest.Jelmer Vernooij2-1/+1
2010-09-16s3/printing: avoid a possible race condition in the cache timeoutBjörn Jacke1-2/+1
2010-09-15Fix all sid_parse returns to be checked. Tidy up some checks and errorJeremy Allison3-7/+18
messages. Jeremy.
2010-09-16s3-smbd: prevent call_nt_transact_ioctl() crash in FSCTL_FIND_FILES_BY_SID case.Günther Deschner1-1/+4
Jeremy, please check. Guenther
2010-09-16s4-smbtorture: try FSCTL_FIND_FILES_BY_SID with random blob data in RAW-IOCTL.Günther Deschner1-0/+21
Guenther
2010-09-16s4-repl: if we are an RODC don't set WRIT_REP in replicationAndrew Tridgell1-2/+7
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16s4-repl: add partial attribute set to getncchanges calls for RODCsAndrew Tridgell4-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>
2010-09-16s4-repl: added min_usn to extended replication callAndrew Tridgell4-2/+9
the repl_secret code needs to set it to avoid too many duplicate attributes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16s4-repl: added repl_secret handling Andrew Tridgell2-2/+98
initiate a repl secret extended op when requested Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16s4-repl: cleanup the extended op calls in repl serverAndrew Tridgell5-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
2010-09-16s4-pyjoin: use new pynet finddc interfaceAndrew Tridgell1-1/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>