summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-20s4 upgradeprovision: move some functions to upgradehelpers for unit testsMatthieu Patou2-130/+154
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Fix styleMatthieu Patou1-85/+137
reformat *_update_samdb functions fix_partition_sd rebuild_sd update_samdb update_privilege update_machine_account_password update_gpo Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Use replPropertyMetaData for better guessMatthieu Patou1-179/+565
Rework upgradeprovision in order to get more precise updates when doing upgrade provision. This is done through the use of replPropertyMetaData information and raw information revealed by the "reveal" control. The code has been changed also to avoid double free error when changing the schema (for old provision). Checking of SD is done a bit more cleverly as we compare the different parts for an ACL separately. Fix logic when upgrading provision without replPropertyMetaData infos Also for old provision (pre alpha9) do not copy the usn range because data here will be wrong Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Reformat attributes lists and reformat parserMatthieu Patou1-17/+33
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Inform about new dns dynamic update if the provision ↵Matthieu Patou1-3/+41
didn't have it Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: fix styleMatthieu Patou1-76/+123
add_deletedobj_containers add missing objects clean add-mising handle special add + dump denied Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgrade provision: Refactor code to do all the modification within 1 ↵Matthieu Patou1-308/+413
transaction Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgrade provision: Fix style in gen_dn_indexMatthieu Patou1-2/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 Add functions related to ldb manipulation when doing upgradeMatthieu Patou1-17/+83
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 provision: Add information about provisioned usn range in sam.ldbMatthieu Patou1-0/+96
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-19python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij28-80/+107
setUp methods are called, fix formatting.
2010-06-19acl: Clean up formatting, use samba.tests.TestCase.Jelmer Vernooij1-124/+128
2010-06-19pyrpc: Fix reference counting when using secondary connections.Jelmer Vernooij2-18/+43
2010-06-19samba.tests.samba3: Clean up imports, use new TestCase class.Jelmer Vernooij1-13/+38
2010-06-19ntacls: Raise TestSkipped rather than writing to stdout.Jelmer Vernooij1-16/+15
2010-06-19python/passwords: Clean up imports.Jelmer Vernooij1-8/+7
2010-06-19samba.tests: Provide TestCase and TestSkipped classes (from testtools) for ↵Jelmer Vernooij1-6/+9
convenience.
2010-06-19pytdb: Cleanup formatting.Jelmer Vernooij1-3/+8
2010-06-19dsdb_schema_info: Clean up imports, avoid using rpc test case forJelmer Vernooij1-9/+2
non-RPC tests.
2010-06-19python: Remove unnecessary Ldb.set_invocation_id - use ↵Jelmer Vernooij1-7/+0
SamDB.set_invocation_id instead.
2010-06-19pyglue: Trim dependencies.Jelmer Vernooij2-2/+2
2010-06-19pyglue: Remove unused code.Jelmer Vernooij1-27/+5
2010-06-19pydsdb: Move write_prefixes_from_schema_to_ldb to pydsdb from pyglue.Jelmer Vernooij3-27/+27
2010-06-19pydsdb: Move dsdb_set_schema_from_ldb to pydsdb.Jelmer Vernooij3-49/+32
2010-06-19pydsdb: Move set_schema_from_ldif function to pydsdb from pyglue.Jelmer Vernooij3-19/+21
2010-06-19libcli: Fixed a segfault in security_acl_dup when the acl is NULL.Brendan Powers1-0/+4
This can happen when duplicating a security descriptor that is missing either sacls or dacls. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-06-19s4:provision: don't use hardcoded 'Default-First-Site-Name'Stefan Metzmacher1-2/+2
metze Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-06-19s4:instancetype LDB module - "instanceType" is single-valued - MS-ADTS ↵Matthias Dieter Wallnöfer2-2/+21
3.1.1.5.2.2
2010-06-19s4:torture/ldap/basic.c - add more error code/messages testsMatthias Dieter Wallnöfer1-30/+264
And now we do match at least the LDAP error code (the WERROR one does still differ from Windows - we will see how to change that).
2010-06-19s4:ldap_backend.c - more customisations to match Windows Server error ↵Matthias Dieter Wallnöfer1-13/+16
behaviour on renames
2010-06-19ldb:ldb_dn.c - don't support "ldb_dn_add_child" on a "" parent DNMatthias Dieter Wallnöfer1-0/+7
It's meaningless and could end in DNs as "cn=child,".
2010-06-19s4:python/samba/__init__.py - now specify the "relax" control for the delete ↵Matthias Dieter Wallnöfer1-5/+5
operation before the provision
2010-06-19ldb:api.py - add a small test for the enhanced "py_ldb_delete" syntaxMatthias Dieter Wallnöfer1-0/+9
2010-06-19ldb:python bindings - some small cleanup & improvements in "py_ldb_add"Matthias Dieter Wallnöfer1-14/+13
Also to make it similar to "py_ldb_delete".
2010-06-19ldb:python bindings - let also "py_ldb_delete" support controlsMatthias Dieter Wallnöfer1-6/+50
2010-06-19s4:objectclass LDB module - disable delete operations when ↵Matthias Dieter Wallnöfer1-5/+80
"SYSTEM_FLAG_DISALLOW_DELETE" is specified
2010-06-19s4:rootdse LDB module - strip trailing whitespacesMatthias Dieter Wallnöfer1-24/+24
2010-06-19s4:rootdse LDB module - protect add and delete operations on the rootdse entryMatthias Dieter Wallnöfer1-4/+34
2010-06-19s4:rootdse LDB module - Return "UNWILLING_TO_PERFORM" when no attribute fits ↵Matthias Dieter Wallnöfer1-1/+2
on a change
2010-06-19s4:rootdse LDB module - refactor error messagesMatthias Dieter Wallnöfer1-24/+29
Fix indentations, use "set_errstring" when no "asprintf" functionality required.
2010-06-19s4:objectclass LDB module - use the old DN when displaying error messagesMatthias Dieter Wallnöfer1-2/+2
2010-06-19s4:objectclass LDB module - add a better message when the parent DN is invalidMatthias Dieter Wallnöfer1-2/+3
2010-06-19s4:objectclass LDB module - add an error message when someone tries to add ↵Matthias Dieter Wallnöfer1-3/+4
entries without objectclasses
2010-06-19s4:objectclass LDB module - handle the case when there is a retry to add the ↵Matthias Dieter Wallnöfer1-0/+26
root basedn This isn't quitted with a normal "NO_SUCH_OBJECT" (parent not found) but with a very special referral: one with the DN itself and the hostname is the last component value of the DN.
2010-06-19wafsamba: Use octal modes directly rather than constants.Jelmer Vernooij2-8/+4
2010-06-19heimdal/waf: Initial work on making it possible to use the systemJelmer Vernooij3-579/+626
heimdal again. Still missing are the detection of the right Heimdal version and linking (unresolved symbols at the moment).
2010-06-19dsdb: Fix includes when building against system ldb.Jelmer Vernooij2-0/+4
2010-06-19wafsamba: Allow manually specifying cflags/ldflags for system libraries.Jelmer Vernooij1-5/+6
2010-06-19wafsamba: Use convenience function to find out if bundling is necessary.Jelmer Vernooij1-2/+2
2010-06-19dsdb: Use Samba includes so _PUBLIC_ is defined.Jelmer Vernooij2-2/+2