summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* | s4-rootdse: mark registered controls as non-criticalAndrew Tridgell2010-09-191-0/+37
| | | | | | | | | | this is needed for clients that may include unnecessary controls in requests and mark them as non-critical
* | s4-rodc: override client site from cldap responseAndrew Tridgell2010-09-191-0/+2
| |
* | s4-dns: fixed the dns_domain_info_type for netlogon DNS callsAndrew Tridgell2010-09-191-3/+14
| | | | | | | | w2k8r2 does check this field (WSPP docs need an update)
* | s4-dns: added --all-names option to samba_dnsupdateAndrew Tridgell2010-09-191-1/+2
| | | | | | | | this forces the re-registration of all names
* | s4-libnet: use the right domain name in libnet_lookupAndrew Tridgell2010-09-191-4/+1
| |
* | s4-cldap: improved debug msgs in finddcs_cldap()Andrew Tridgell2010-09-191-3/+5
| |
* | Fix regf.idl, subkey and rootkey types were switched.wilco@baanhofman.nl2010-09-191-2/+2
| | | | | | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* | Fix file corruption (non-updated header) on new allocation.wilco@baanhofman.nl2010-09-191-8/+17
| | | | | | | | | | | | Also fixes debug messages to use hex offsets. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* | Fix crash when no subkeys exist. Fix writing outside of buffer error by regf ↵wilco@baanhofman.nl2010-09-191-2/+13
| | | | | | | | | | | | backend. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* | Add python bindings for open_hive function to be able to load REGF files.wilco@baanhofman.nl2010-09-191-4/+43
| | | | | | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* | s4/fsmo: Naming master support addedAnatoliy Atanasov2010-09-192-1/+6
| | | | | | | | Test suite for fsmo is extended with a test case for naming master too.
* | s4-smbtorture: add LOCAL-NDR-NTLMSSP.Günther Deschner2010-09-194-2/+122
| | | | | | | | Guenther
* | s4-rodc: added RODC DNS update support to samba_dnsupdateAndrew Tridgell2010-09-191-3/+70
| | | | | | | | for DNS updates that have a netlogon equivalent, send via netlogon
* | s4-finddcs: added some debug messages on failureAndrew Tridgell2010-09-191-4/+7
| |
* | s4-pydsdb: added am_rodc() method on samdbAndrew Tridgell2010-09-192-0/+30
| |
* | s4-pydsdb: don't force am_rodc unless it is set by callerAndrew Tridgell2010-09-191-2/+3
| | | | | | | | | | we should normally get the rodc flag by looking at the database, not by forcing it in the database connect
* | s4-drs: Check for schema changes only in case we are *not* applying Schema ↵Kamen Mazdrashki2010-09-181-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.
* | s4-ldapcmp: Fix options parsing for common Samba optionsKamen Mazdrashki2010-09-181-4/+10
| | | | | | | | | | And also set 'creds2' to be equal to 'creds' in case username2 paramater is not supplied on cmd line
* | 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
| |
* | 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-171-0/+12
| | | | | | | | 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-175-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>
* | s4-smbtorture: fix winreg querymultiplevalues NDR test warning.Günther Deschner2010-09-171-2/+2
| | | | | | | | Guenther
* | s3/s4: merge msleep and smb_msleepBjörn Jacke2010-09-1614-95/+95
|/ | | | | the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
* 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
|