summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-09-20s4-smbtorture: add NetRemoteTOD libnetapi torture test.Günther Deschner4-2/+80
Guenther
2010-09-20s4/dcdiag: Handle ListRoles command for dcdiag:KnowsOfRoleHolders testAnatoliy Atanasov3-29/+120
2010-09-20s4/fsmo: Create separate function for retrieving fsmo role dn and owner dn.Anatoliy Atanasov2-54/+81
This functionality is needed for DsCrackNames ListRoles command also.
2010-09-20s4/drs: use type enum drsuapi_DsNameFormat in DsCrackNames codeAnatoliy Atanasov1-9/+20
2010-09-20s4-smbtorture: add test_SetServiceObjectSecurity() to RPC-SVCCTL.Günther Deschner1-1/+62
Guenther
2010-09-19s4-rootdse: mark registered controls as non-criticalAndrew Tridgell1-0/+37
this is needed for clients that may include unnecessary controls in requests and mark them as non-critical
2010-09-19s4-rodc: override client site from cldap responseAndrew Tridgell1-0/+2
2010-09-19s4-dns: fixed the dns_domain_info_type for netlogon DNS callsAndrew Tridgell1-3/+14
w2k8r2 does check this field (WSPP docs need an update)
2010-09-19s4-dns: added --all-names option to samba_dnsupdateAndrew Tridgell1-1/+2
this forces the re-registration of all names
2010-09-19s4-libnet: use the right domain name in libnet_lookupAndrew Tridgell1-4/+1
2010-09-19s4-cldap: improved debug msgs in finddcs_cldap()Andrew Tridgell1-3/+5
2010-09-19Fix regf.idl, subkey and rootkey types were switched.wilco@baanhofman.nl1-2/+2
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19Fix file corruption (non-updated header) on new allocation.wilco@baanhofman.nl1-8/+17
Also fixes debug messages to use hex offsets. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19Fix crash when no subkeys exist. Fix writing outside of buffer error by regf ↵wilco@baanhofman.nl1-2/+13
backend. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19Add python bindings for open_hive function to be able to load REGF files.wilco@baanhofman.nl1-4/+43
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19s4/fsmo: Naming master support addedAnatoliy Atanasov2-1/+6
Test suite for fsmo is extended with a test case for naming master too.
2010-09-19s4-smbtorture: add LOCAL-NDR-NTLMSSP.Günther Deschner4-2/+122
Guenther
2010-09-19s4-rodc: added RODC DNS update support to samba_dnsupdateAndrew Tridgell1-3/+70
for DNS updates that have a netlogon equivalent, send via netlogon
2010-09-19s4-finddcs: added some debug messages on failureAndrew Tridgell1-4/+7
2010-09-19s4-pydsdb: added am_rodc() method on samdbAndrew Tridgell2-0/+30
2010-09-19s4-pydsdb: don't force am_rodc unless it is set by callerAndrew Tridgell1-2/+3
we should normally get the rodc flag by looking at the database, not by forcing it in the database connect
2010-09-18s4-drs: Check for schema changes only in case we are *not* applying Schema ↵Kamen Mazdrashki1-8/+19
replica This fixes the problem when we fail to replicate with a partner DC that has a newer Schema with attributeSchema objects with OIDs that we don't have in our local prefixMap.
2010-09-18s4-ldapcmp: Fix options parsing for common Samba optionsKamen Mazdrashki1-4/+10
And also set 'creds2' to be equal to 'creds' in case username2 paramater is not supplied on cmd line
2010-09-17s4-test: Add unit test for dsdb_schema_info_cmp()Kamen Mazdrashki1-0/+81
2010-09-17s4-schema: Helper func to compare schemaInfo signituresKamen Mazdrashki1-0/+41
2010-09-17s4-schema: use dsdb_schema_info_blob_is_valid() to verify schemaInfo blobKamen Mazdrashki1-9/+6
instead of parsing it.
2010-09-17s4-prefixMap: use dsdb_schema_info_blob_is_valid() for schemaInfo blob ↵Kamen Mazdrashki1-4/+2
validation This fixes a leaking dsdb_schema_info object also.
2010-09-17s4-dsdb: Add dsdb_schema_info_blob_is_valid() to verify schemaInfo bloblsKamen Mazdrashki1-10/+24
2010-09-17s4-pyrpc: Print location and type name we got when checking for typesKamen Mazdrashki1-1/+1
2010-09-17s4-devel: developer script for adding DNS entries via netlogon RPCAndrew Tridgell1-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>
2010-09-17s4-pyrpc: allow python to access irpc interfacesAndrew Tridgell2-10/+53
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-17idl: build python interfaces for winbind and idmap IDLAndrew Tridgell1-0/+12
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-17s4-winbind Add a proxy method to update DNS records with a read-write DCAndrew Bartlett5-1/+224
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>
2010-09-17s4-smbtorture: fix winreg querymultiplevalues NDR test warning.Günther Deschner1-2/+2
Guenther
2010-09-16s3/s4: merge msleep and smb_msleepBjörn Jacke14-95/+95
the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
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 Deschner1-0/+212
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 Deschner1-2/+2
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-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 Bartlett1-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>
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 Tridgell1-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>
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>