1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

24268 Commits

Author SHA1 Message Date
Nadezhda Ivanova
aa57fd8224 s4-ldap: Fixed a problem with NC's having a parentGUID attribute
NC's other than default NC had a parentGUID, due to an incorrect check of whether
the object has a parent. Fixed by checking object's instanceType instead.
2010-09-21 09:10:54 -07:00
Jelmer Vernooij
58cfbc510c rpc_talloc: Update test now that we create fewer references. 2010-09-20 22:40:47 -07:00
Jelmer Vernooij
7fc40d2ed3 pytestrpc: Be more verbose. 2010-09-20 22:40:47 -07:00
Jelmer Vernooij
f161fa3ac8 testrpc: Convert from a single unit test to a simple test script, be
more verbose.
2010-09-20 22:40:46 -07:00
Jelmer Vernooij
a7393449eb pidl: Fix segfault when accessing unicode objects. 2010-09-20 22:40:46 -07:00
Andrew Tridgell
7ffcf90bb9 s4-drepl: use the partition UDV and hwm for extended getncchanges ops
we find the NC root then load the uptodateness vector and highwater
mark, if available, from there
2010-09-20 21:51:08 -07:00
Günther Deschner
c201e494c4 s4-smbtorture: print SVCCTL security descriptor in test_QueryServiceObjectSecurity().
Guenther
2010-09-20 17:41:18 -07:00
Jelmer Vernooij
d44e86b473 Open alpha 14. 2010-09-20 15:47:11 -07:00
Andrew Tridgell
8efd1074c2 s4-pyrpc: fixed build on python 2.4
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-09-20 15:27:45 -07:00
Andrew Tridgell
3fe8e97a72 s4-rodc: fixed repsFrom store on RODC
We were disallowing repsFrom store as a RODC on the basis that it is a
write to the directory. It should be allowed, as its is a
non-replicated attribute.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-20 15:27:45 -07:00
Andrew Tridgell
59951163be s4-kcc: a bit more debug info on repsFrom creation
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-20 15:27:45 -07:00
Jelmer Vernooij
ead126caac Merge branch 'v4-0-stable' into newmaster 2010-09-20 15:24:44 -07:00
Jelmer Vernooij
db67f43aef s4-mkrelease: Update for waf. 2010-09-20 14:41:29 -07:00
Kamen Mazdrashki
4752a6b6d7 s4-test: yet another test for ATTID-ot-OID conversion
Test with a valid ATTID for prefixMap lookups,
but supplied ATTID is with index not to be found
in the test prefixMap
2010-09-21 00:15:24 +03:00
Kamen Mazdrashki
f06d98764a s4-dsdb-schema_prefixmap: return WERR_DS_NO_ATTRIBUTE_OR_VALUE when ATTID is not found
rather than WERR_INTERNAL_ERROR - it is not internal error!
2010-09-21 00:15:24 +03:00
Kamen Mazdrashki
395b09c1b6 s4-dsdb-schema_prefixmap: Print debug message when internal failure occurs 2010-09-21 00:15:24 +03:00
Kamen Mazdrashki
0740d0ae85 s4-devel-getncchanges: Add common Samba options as a group to be displayed
Those options are processed but never shown with --help argument
2010-09-21 00:15:23 +03:00
Günther Deschner
58c79b828b s4-smbtorture: add NetRemoteTOD libnetapi torture test.
Guenther
2010-09-20 13:53:09 -07:00
Jelmer Vernooij
cd7335abd3 s4-mkrelease: Update to use waf build. 2010-09-20 13:07:27 -07:00
Jelmer Vernooij
0e8975a4fe Update version info. 2010-09-20 13:06:13 -07:00
Jelmer Vernooij
b17b6f7821 Update WHATSNEW.txt. 2010-09-20 12:11:05 -07:00
Anatoliy Atanasov
b4eba4268d s4/dcdiag: Handle ListRoles command for dcdiag:KnowsOfRoleHolders test 2010-09-20 09:46:10 -07:00
Anatoliy Atanasov
7250cb3e73 s4/fsmo: Create separate function for retrieving fsmo role dn and owner dn.
This functionality is needed for DsCrackNames ListRoles command also.
2010-09-20 09:44:19 -07:00
Anatoliy Atanasov
faeeb5c8e7 s4/drs: use type enum drsuapi_DsNameFormat in DsCrackNames code 2010-09-20 09:41:00 -07:00
Günther Deschner
f12756b5ac s4-smbtorture: add test_SetServiceObjectSecurity() to RPC-SVCCTL.
Guenther
2010-09-20 08:37:05 +02:00
Andrew Tridgell
34f47a33df s4-rootdse: mark registered controls as non-critical
this is needed for clients that may include unnecessary controls in
requests and mark them as non-critical
2010-09-19 19:20:48 -07:00
Andrew Tridgell
01371d968e s4-rodc: override client site from cldap response 2010-09-19 13:36:02 -07:00
Andrew Tridgell
8beed3679d s4-dns: fixed the dns_domain_info_type for netlogon DNS calls
w2k8r2 does check this field (WSPP docs need an update)
2010-09-19 13:36:02 -07:00
Andrew Tridgell
6642ae9703 s4-dns: added --all-names option to samba_dnsupdate
this forces the re-registration of all names
2010-09-19 13:36:02 -07:00
Andrew Tridgell
94694ecf4e s4-libnet: use the right domain name in libnet_lookup 2010-09-19 13:36:02 -07:00
Andrew Tridgell
1555659e78 s4-cldap: improved debug msgs in finddcs_cldap() 2010-09-19 13:36:02 -07:00
wilco@baanhofman.nl
1fc1be4685 Fix regf.idl, subkey and rootkey types were switched.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19 12:34:55 -07:00
wilco@baanhofman.nl
7efcb3ca66 Fix file corruption (non-updated header) on new allocation.
Also fixes debug messages to use hex offsets.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19 12:34:54 -07:00
wilco@baanhofman.nl
d0cef92532 Fix crash when no subkeys exist. Fix writing outside of buffer error by regf backend.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19 12:34:54 -07:00
wilco@baanhofman.nl
2c3f56098b Add python bindings for open_hive function to be able to load REGF files.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19 12:34:54 -07:00
Anatoliy Atanasov
5d807107bb s4/fsmo: Naming master support added
Test suite for fsmo is extended with a test case for naming master too.
2010-09-19 12:16:04 -07:00
Günther Deschner
55f465576c s4-smbtorture: add LOCAL-NDR-NTLMSSP.
Guenther
2010-09-19 20:45:19 +02:00
Andrew Tridgell
f6fa73bbd3 s4-rodc: added RODC DNS update support to samba_dnsupdate
for DNS updates that have a netlogon equivalent, send via netlogon
2010-09-19 11:29:32 -07:00
Andrew Tridgell
50f56c6a82 s4-finddcs: added some debug messages on failure 2010-09-19 11:29:32 -07:00
Andrew Tridgell
e72a1e2055 s4-pydsdb: added am_rodc() method on samdb 2010-09-19 11:29:32 -07:00
Andrew Tridgell
2666cc9c16 s4-pydsdb: don't force am_rodc unless it is set by caller
we should normally get the rodc flag by looking at the database, not
by forcing it in the database connect
2010-09-19 11:29:32 -07:00
Kamen Mazdrashki
d76bb4ac40 s4-drs: Check for schema changes only in case we are *not* applying Schema 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-18 15:09:47 +03:00
Kamen Mazdrashki
c3489a7918 s4-ldapcmp: Fix options parsing for common Samba options
And also set 'creds2' to be equal to 'creds' in case
username2 paramater is not supplied on cmd line
2010-09-18 15:09:46 +03:00
Kamen Mazdrashki
311744a131 s4-test: Add unit test for dsdb_schema_info_cmp() 2010-09-17 13:53:04 +03:00
Kamen Mazdrashki
9256b5f226 s4-schema: Helper func to compare schemaInfo signitures 2010-09-17 13:53:03 +03:00
Kamen Mazdrashki
1295da92f9 s4-schema: use dsdb_schema_info_blob_is_valid() to verify schemaInfo blob
instead of parsing it.
2010-09-17 13:53:03 +03:00
Kamen Mazdrashki
aedefd3e99 s4-prefixMap: use dsdb_schema_info_blob_is_valid() for schemaInfo blob validation
This fixes a leaking dsdb_schema_info object also.
2010-09-17 13:53:03 +03:00
Kamen Mazdrashki
e691b1fd27 s4-dsdb: Add dsdb_schema_info_blob_is_valid() to verify schemaInfo blobls 2010-09-17 13:53:03 +03:00
Kamen Mazdrashki
c79861a14e s4-pyrpc: Print location and type name we got when checking for types 2010-09-17 13:53:03 +03:00
Andrew Tridgell
90d685afe5 s4-devel: developer script for adding DNS entries via netlogon RPC
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-17 19:02:19 +10:00