summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3: fix order of arguments in nsec_time_diff callBjörn Jacke2010-09-172-4/+4
|
* s4-test: Add unit test for dsdb_schema_info_cmp()Kamen Mazdrashki2010-09-171-0/+81
|
* s4-schema: Helper func to compare schemaInfo signituresKamen Mazdrashki2010-09-171-0/+41
|
* s4-schema: use dsdb_schema_info_blob_is_valid() to verify schemaInfo blobKamen Mazdrashki2010-09-171-9/+6
| | | | instead of parsing it.
* s4-prefixMap: use dsdb_schema_info_blob_is_valid() for schemaInfo blob ↵Kamen Mazdrashki2010-09-171-4/+2
| | | | | | validation This fixes a leaking dsdb_schema_info object also.
* s4-dsdb: Add dsdb_schema_info_blob_is_valid() to verify schemaInfo bloblsKamen Mazdrashki2010-09-171-10/+24
|
* s4-pyrpc: Print location and type name we got when checking for typesKamen Mazdrashki2010-09-171-1/+1
|
* Fix array size of a memmber of struct cli_ulogoff_stateSumit Bose2010-09-171-1/+1
| | | | | | | The too small array makes UID-REGRESSION-FIX fail on 32bit architectures. Signed-off-by: Günther Deschner <gd@samba.org>
* s4-devel: developer script for adding DNS entries via netlogon RPCAndrew Tridgell2010-09-171-0/+43
| | | | | | | | | this calls the netlogon DsrUpdateReadOnlyServerDnsRecords call to add DNS entries for a RODC via RPC calls. The call is routed via a IRPC call to winbind, as winbind is the one with the schannel credential chaining setup. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-pyrpc: allow python to access irpc interfacesAndrew Tridgell2010-09-172-10/+53
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* idl: build python interfaces for winbind and idmap IDLAndrew Tridgell2010-09-172-1/+18
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-winbind Add a proxy method to update DNS records with a read-write DCAndrew Bartlett2010-09-176-2/+225
| | | | | | | | | | This must be done in winbindd as it already has the schannel connection and the credential chain. If we re-established that elsewhere, we would break the chain in winbindd. Andrew Bartlett Signed-Off-By: Andrew Tridgell <tridge@samba.org>
* testprogs: skip two tests in spoolss tester.Günther Deschner2010-09-171-0/+4
| | | | Guenther
* s4-smbtorture: fix winreg querymultiplevalues NDR test warning.Günther Deschner2010-09-171-2/+2
| | | | Guenther
* ѕ3: remove smb_msleep prototype from hereBjörn Jacke2010-09-161-1/+0
|
* s3: remove TvalDiff macro, we can use the shared usec_time_diff functionBjörn Jacke2010-09-161-9/+0
|
* s3/s4: merge msleep and smb_msleepBjörn Jacke2010-09-1617-152/+138
| | | | | the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
* s3: remove TspecDiff macro, we can use the shared nsec_time_diff functionBjörn Jacke2010-09-161-9/+0
|
* s3: use nsec_time_diff instead of TspecDiffBjörn Jacke2010-09-162-4/+4
|
* s3/vfs_scannedonly: use smb_msleep instead of nanosleepBjörn Jacke2010-09-161-2/+1
| | | | Thanks to Joachim Schmitz. This fixes bug #7478
* s3: Add the PAC info3 struct to the netsamlogon_cache in ntlm_authVolker Lendecke2010-09-162-0/+5
|
* s3: Correctly unwrap the krb ticket in gss-spnegoVolker Lendecke2010-09-161-1/+52
|
* s3: Fall back to raw NTLMSSP for the gss-spnego protocolVolker Lendecke2010-09-161-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.
* s3: Split off output generation from manage_squid_ntlmssp_requestVolker Lendecke2010-09-161-17/+41
|
* s3: Wrap the ntlm_auth loop with a talloc_stackframeVolker Lendecke2010-09-161-0/+2
|
* 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-162-1/+213
| | | | 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-162-3/+3
| | | | 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>
* 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
|