[SCM] Samba Shared Repository - branch v4-0-test updated

Karolin Seeger kseeger at samba.org
Mon Jan 28 04:51:03 MST 2013


The branch, v4-0-test has been updated
       via  8464023 ldb: Ensure to decrement the transaction_active whenever we delete a transaction
       via  2156d54 ldb: fix a warning by converting from TDB_DATA to struct ldb_val
       via  d59bd3a ldb: Move doxygen comments for ldb_connect to the right place
       via  37447a0 ldb: fix a typo in the comment for ldb_req_is_untrusted()
       via  60a3157 ldb: fixed callers for ldb_pack_data() and ldb_unpack_data()
       via  3d1d95f ldb: move ldb_pack.c into common
       via  65629e8 ldb: Add ldbdump, based on tdbdump
       via  4b0ec2b ldb: Remove no-longer-existing ltdb_unpack_data_free from ldb_tdb.h (cherry picked from commit 4b2f3c6dec997b0dd4bcafeae662a71ebd34e12b)
       via  7bce044 ldb: Change ltdb_unpack_data to take an ldb_context
       via  a43b395 tdb: add -e option to tdbdump (and docment it).
       via  2bd35b4 tdb: tdbdump should log errors, and fail in that case.
       via  095419d tdb: add tdb_rescue()
       via  0b1a583 tdb: Fix a typo
       via  070e3ad s4:service_task: add missing imessaging_cleanup() to task_server_terminate()
       via  7e79f7f s4:service_task: prevent a segfault if task->msg_ctx is not initialized yet
       via  f8890a4 selftest: rename 'promoted_vampire_dc' to 'promoted_dc'
       via  cb3da6f s4-process_single: Use pid,task_id as cluster_id in process_single just like process_prefork
       via  d00ec76 pymessaging: Pass around the server_id struct to python callbacks rather than the tuple
       via  fd6537b pymessaging: Use correct unsigned types for server ID tuple elememnts
       via  9c5492c bug9598: s4-process_single: Use pid,fd as cluster_id in process_single just like process_prefork
       via  0d68008 Regression test for bug #9587 - archive flag is always set on directories.
       via  468f9ed Fix bug #9587 - archive flag is always set on directories.
       via  6f49537 Fix bug #9586 - smbd[29175]: disk_free: sys_popen() failed" message logged in /var/log/message many times.
       via  a8deb91 Fix bug #9572 - File corruption during SMB1 read by Mac OSX 10.8.2 clients.
       via  67536fd Revert "s3:smbd: SMB ReadX with size > 0xffff should only possible for samba clients."
       via  41fd28c wafsamba: python-config is not always a script.
       via  b3d4e7f dsdb: Make secrets_tdb_sync cope with -H secrets.ldb
       via  2b6fec0 dsdb: Make linked_attributes module GUID based for renames
       via  b6266a1 s3-winbind: fix the build of idmap_ldap.
       via  545e4c5 Tests: Fix the display of test vars in screen --testenv
       via  75588b4 Tests: avoid adding python options that are functions in the env
       via  6abfae1 heimdal_build: Try again to sort out the strerror_r mess
       via  2f51286 build(waf): fix the abi_match for the pdb library
       via  f81c8be build(waf)-libreplace: remove redundant check for flistea function
       via  1d1b79f build: Make install_with_python.sh more portable
       via  d938268 build: In install_with_python.sh force using the python from the install we just made
       via  626ef69 build: Make install_with_python.sh executable
       via  cfd1e5b swat: move russian swat files alongside ja and tr
       via  63a5d7f passdb: Add discard_const_p() to pdb_samba_dsdb
       via  0047295 build: Remove bashism from SAMBAMANPAGES rule
       via  017ea7b replace: Fix compilation of rep_mkstemp
       via  666dcca s3: Fix vfs_zfsacl to compile.
       via  9bab305 docs: ldbsearch.1.xml: Correct meta data.
       via  2e79e55 docs: ldbrename.1.xml: Correct meta data.
       via  1e9aa0c docs: ldbmodify.1.xml: Correct meta data.
       via  2361c2a docs: ldbedit.1.xml: Correct meta data.
       via  6c76344 docs: ldbdel.1.xml: Correct meta data.
       via  60910e1 docs: ldbadd.1.xml: Correct meta data.
       via  6a11d7f docs: ldb.3.xml: Correct meta data.
       via  3c70668 gensec: Allow login without a PAC by default (bug #9581)
       via  1fa859a dbcheck: look in hasMasterNCs as well for determining the instance type of a NC
       via  940daaa selftest: Add test of upgradeprovision using the old alpha13 tree
       via  a60792c samba_upgradeprovision: detect dns_backend for the reference provision
       via  41af100 provision: setup names.dns_backend
       via  6b0951a samba_upgradeprovision: fix the nTSecurityDescriptor on more containers (bug #9481)
       via  5fd59ef provision: fix nTSecurityDescriptor of containers in the DnsZones (bug #9481)
       via  fc6e513 provision: fix nTSecurityDescriptor attributes of CN=*,${CONFIGDN} (bug #9481)
       via  950e45f provision: fix nTSecurityDescriptor of CN={LostAndFound,System},${DOMAINDN} (bug #9481)
       via  d9b6c19 provision: setup names.name_map['DnsAdmins']
       via  47cd0dd provision: introduce names.name_map = {}
       via  75d0f27 provision: add get_dns_{forest,domain}_microsoft_dns_descriptor()
       via  281708e provision: add get_config_ntds_quotas_descriptor()
       via  3b006e2 provision: add get_{config,domain}_delete_protected*_descriptor()
       via  8f9e8dc schema.py: add optional name_map={} to get_schema_descriptor()
       via  138b2a8 provision: add optional name_map={} argument to get_*_descriptor()
       via  2e8043e provision: import/export get_dns_partition_descriptor()
       via  4f878d7 provision: setup names.dns{forest,domain}dn
       via  15e5263 samba_upgradeprovision: fix resetting of 'nTSecurityDescriptor' on schema objects
       via  a3bbdd1 samba_upgradeprovision: don't reset 'whenCreated' when resetting 'nTSecurityDescriptor'
       via  237375c dbckecker: fix nTSecurityDescriptor values from before 4.0.0rc6 (bug #9481)
       via  68bb9bf dsdb-descriptor: get_default_group() should always return the DAG sid (bug #9481)
       via  a0c0b34 tests/sec_descriptor: the default owner behavior depends on domainControllerFunctionality (bug #9481)
       via  0bc0e06 libcli/security: calculate INHERIT_ONLY correcty for AUDIT and ALARM aces (bug #9481)
       via  0affb0c s4-resolve: Fix parsing of IPv6/AAAA in dns_lookup (bug #9555)
       via  5acbb6f torture: Fix fsmo test to use correct -H samba-tool syntax
       via  c9fec2e dsdb: Do not hold the transaction over the IRPC call to perform a role transfer
       via  d743ba2 drs-fsmo: Improve handling of FSMO role takeover.
       via  c7ea247 libcli-acl: add documentation
       via  3faabb4 drsuapi: Add documentation
       via  d4cf396 security: Add documentation
       via  418d3b9 libcli-security: Add documentation for object_tree_modify_access
       via  8b12ff6 dsdb: Fix warning about unused var
       via  52dd9db dsdb: Explain ordering constraints on the ACL module as well.
       via  5da10d8 dsdb: Ensure "authenticated users" is processed for group memberships
       via  66e22b4 libcli/security: remove useless if (root->num_of_children > 0) statements
       via  cb22b49 libcli/security: add init_mask to existing children in insert_in_object_tree
       via  d0496c9 libcli/security: handle node initialisation in one spot in insert_in_object_tree()
       via  4f3f51e libcli/security: avoid usage of dom_sid_parse_talloc() in sec_access_check_ds()
       via  ed19440 libcli/security: simplify get_ace_object_type()
       via  7be082d libcli/security: fix formating in access_check.c
       via  681e831 libcli/security: fix whitespaces in access_check.c
       via  c617e9c dsdb-acl: the SEC_ADS_DELETE_CHILD checks need objectclass->schemaIDGUID
       via  319c128 dsdb-acl: make use of acl_check_access_on_objectclass() for the object in acl_delete()
       via  133aa07 dsdb-acl: make use of acl_check_access_on_{attribute,objectclass} in acl_rename()
       via  a3a0810 dsdb-acl: make use of acl_check_access_on_attribute() in acl_modify()
       via  a96f171 dsdb-acl: remove unused acl_check_access_on_class()
       via  afbd774 dsdb-acl: use acl_check_access_on_objectclass() instead of acl_check_access_on_class()
       via  8ae4759 dsdb-acl: Use the structural objectClass in acl_check_access_on_attribute()
       via  b0a0e14 dsdb-acl: Pass the structural objectClass into acl_check_access_on_attribute
       via  e8d389a dsdb-acl: Remove unused get_oc_guid_from_message()
       via  5927b59 dsdb-acl: ask for the objectClass attribute if it's not in the scope of the clients search
       via  d76b803 dsdb-acl: use dsdb_get_structural_oc_from_msg() rather than class_schemaid_guid_by_lDAPDisplayName
       via  128c31c dsdb-acl: Use dsdb_get_structural_oc_from_msg() in acl_rename()
       via  512a21f dsdb-acl: Use dsdb_get_structural_oc_from_msg() in acl_modify()
       via  e320678 dsdb-acl: add acl_check_access_on_objectclass() helper
       via  3600752 dsdb-acl: Add helper function dsdb_get_structural_oc_from_msg()
       via  67046e4 dsdb-acl: attr is not optional to acl_check_access_on_attribute()
       via  55dfcda dsdb-acl: dsdb_attribute_by_lDAPDisplayName() is needed for all attributes
       via  8e2d5a1 dsdb-acl: introduce a 'el' helper variable to acl_modify()
       via  3814767 dsdb-acl: introduce a 'msg' helper variable to acl_modify()
       via  f9345da dsdb-schema: make sure we build [system]PossibleInferiors completely
       via  9d5071a dsdb-schema: make sure use clean caches in schema_inferiors.c
       via  d6a6978 dsdb-schema: make schema_subclasses_order_recurse() static
       via  eb81e02 dsdb-acl: calculate sDRightsEffective based on "nTSecurityDescriptor"
       via  5f37d8f dsdb-acl: add helper variable 'ldb' in acl_sDRightsEffective
       via  8c2de7d libcli/security: don't look at the inherited type in get_ace_object_type()
       via  5247f3d dsdb-acl: fix the order of special and system checks
       via  ccc9038 dsdb-acl: Do not apply ACL on special DNs to hide attributes that the user shouldn't see
       via  62cc9ad dsdb-acl: talloc_free the private context when we pass to the next module
       via  95edd37 dsdb-acl: don't call dsdb_user_password_support() if we don't use the result
       via  c5fe4e2 dsdb-acl: give error string if we can not obtain the schema
      from  517cf18 BUG 9474: Downgrade v4 printer driver requests to v3.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 8464023afa8ac3df716521b75d5f459efbe2b6a7
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Sat Jan 26 09:35:21 2013 +1100

    ldb: Ensure to decrement the transaction_active whenever we delete a transaction
    
    This is in the error path for prepare_commit, which rarely fails, but
    when it does we need to ensure that when a new transaction is opened,
    that it really starts a new transaction.
    
    We bump the version to recognise critical fix for the AD DC
    
    Without this fix, a single invalid inbound replicated link disables
    all subsequent replication as we operate without a transaction (which
    is refused by ldb_tdb).
    
    Andrew Bartlett
    
    Reviewed-by: Matthieu Patou <mat at matws.net>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 1d1ea72574cfa22ee6207d0e9787d0271db3b5c2)
    
    The last 13 patches address bug #9609 - backport tdb/ldb changes.
    
    Autobuild-User(v4-0-test): Karolin Seeger <kseeger at samba.org>
    Autobuild-Date(v4-0-test): Mon Jan 28 12:50:56 CET 2013 on sn-devel-104

commit 2156d545070e5e944f2f96ac13ca73f7be8e18ee
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Jan 24 14:21:51 2013 +0100

    ldb: fix a warning by converting from TDB_DATA to struct ldb_val
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 1ea6fabcde6cbd57aed06926193ac68f5887e96b)

commit d59bd3a8760c49346e6b8515868d77c7172e85d7
Author: Stephen Gallagher <sgallagh at redhat.com>
Date:   Wed Jan 2 11:22:16 2013 -0500

    ldb: Move doxygen comments for ldb_connect to the right place
    
    Reviewed-by: Andreas Schneider <asn at samba.org>
    
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Mon Jan 14 16:21:02 CET 2013 on sn-devel-104
    (cherry picked from commit 813bd0353fda0eb6d7c78392d5abd3002115da96)

commit 37447a0af79556ba12b551308eb57c32bd87ff4f
Author: Michael Adam <obnox at samba.org>
Date:   Wed Nov 28 21:55:47 2012 +0100

    ldb: fix a typo in the comment for ldb_req_is_untrusted()
    
    Signed-off-by: Michael Adam <obnox at samba.org>
    
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Fri Nov 30 15:44:46 CET 2012 on sn-devel-104
    (cherry picked from commit 8f3f38ece4981d0047024019c6fc8dfde3fffed0)

commit 60a3157e8fda273f9a737a73505da760c69622bd
Author: Andrew Tridgell <tridge at samba.org>
Date:   Wed Oct 31 16:06:03 2012 +1100

    ldb: fixed callers for ldb_pack_data() and ldb_unpack_data()
    
    with ltdb_pack_data() and ltdb_unpack_data() now moved into common, we
    need to increase the minor version and fixup callers of the API
    
    Note that this relies on struct ldb_val being the same shape as
    TDB_DATA, in much the same way as we rely on ldb_val and DATA_BLOB
    being the same shape.
    
    Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 30ffdda45bd3ae602b453c9c1bbdb77ea3de8a8d)

commit 3d1d95fa25f464fce0cb2bb6176c8414e3f8b4cf
Author: Andrew Tridgell <tridge at samba.org>
Date:   Wed Oct 31 15:39:09 2012 +1100

    ldb: move ldb_pack.c into common
    
    this code should not be tied to the ldb_tdb backend, both because it
    could be used for any record oriented backend, and because it should
    be exposed for use by diagnosis/repair tools such as the recently
    added ldbdump tool
    
    Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit fc47b0d03c577730ce0ef9e09092f80c0712d5d0)

commit 65629e824f51b8dea76604052310733d109652c3
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Tue Oct 30 15:41:27 2012 +1100

    ldb: Add ldbdump, based on tdbdump
    
    This uses a tdb_traverse or (more usefully) the tdb_rescue API, like tdbdump.
    
    The difference here is that it uses ldb helper functions to further
    eliminate faulty records, which avoids creating duplicates in the output.
    
    (The duplicates come from parts of records that are left in blank space
    in the db, which tdb_rescue finds, but which are not actually a full
    record).
    
    Andrew Bartlett
    
    Autobuild-User(master): Andrew Bartlett <abartlet at samba.org>
    Autobuild-Date(master): Tue Oct 30 23:56:11 CET 2012 on sn-devel-104
    (cherry picked from commit a71ad96bd046f1199e67b4fe8fc7783cbd8dd771)

commit 4b0ec2bd34621dfe13d336b0dd301a68503e4737
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Tue Oct 30 10:22:28 2012 +1100

    ldb: Remove no-longer-existing ltdb_unpack_data_free from ldb_tdb.h (cherry picked from commit 4b2f3c6dec997b0dd4bcafeae662a71ebd34e12b)

commit 7bce044d722ded09b43228ebbc6d9d8d70ae38ef
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Tue Oct 30 10:21:42 2012 +1100

    ldb: Change ltdb_unpack_data to take an ldb_context
    
    It always de-references the module to find the ldb anyway.
    
    Andrew Bartlett
    (cherry picked from commit cc6d0decc7980028293168aee267e7610752fc80)

commit a43b395db2833cebae7c606394a8c789248a1b76
Author: Rusty Russell <rusty at rustcorp.com.au>
Date:   Thu Oct 4 09:04:23 2012 +0930

    tdb: add -e option to tdbdump (and docment it).
    
    This allows for an emergency best-effort dump.  It's a little better than
    strings(1).
    
    Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
    
    Autobuild-User(master): Rusty Russell <rusty at rustcorp.com.au>
    Autobuild-Date(master): Thu Oct  4 03:16:06 CEST 2012 on sn-devel-104
    (cherry picked from commit 100d38d6e0fae1dc666ae43941570c9f106b73c2)

commit 2bd35b443e0253a847b5806498e70d9ea5e94656
Author: Rusty Russell <rusty at rustcorp.com.au>
Date:   Thu Oct 4 09:04:23 2012 +0930

    tdb: tdbdump should log errors, and fail in that case.
    
    Dumping a corrupt database should not exit silently with 0 status!
    
    Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
    
    (cherry picked from commit ffde8678910ae838588ab380b48a544333f81241)

commit 095419daff004df2ac0068e64eb2cabb58103c54
Author: Rusty Russell <rusty at rustcorp.com.au>
Date:   Thu Oct 4 09:04:19 2012 +0930

    tdb: add tdb_rescue()
    
    This allows for an emergency best-effort dump.  It's a little better than
    strings(1).
    
    Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
    
    (cherry picked from commit 90f463b25f7bb0bc944732773c56e356834ea203)

commit 0b1a58360c3284838651bbcafc47fd84cb9d0a95
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Oct 2 12:21:20 2012 +0200

    tdb: Fix a typo
    
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Tue Oct  2 19:52:16 CEST 2012 on sn-devel-104
    (cherry picked from commit a168a7c791a4be1730a370d059b3a1073fbb0bdd)

commit 070e3ad06ed3f751151fc5dc011b4a0b33a346c9
Author: Stefan Metzmacher <metze at samba.org>
Date:   Sun Jan 27 11:09:39 2013 +0100

    s4:service_task: add missing imessaging_cleanup() to task_server_terminate()
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Sun Jan 27 15:50:30 CET 2013 on sn-devel-104
    (cherry picked from commit bb3238b46f0ffaf0bc8c0e16bdcc1cf5d2cad197)
    
    The last 7 patches address bug #9598 - some IRPC calls timeout.

commit 7e79f7f9477e4641098fe6edec9dfa298114f448
Author: Stefan Metzmacher <metze at samba.org>
Date:   Sun Jan 27 11:01:07 2013 +0100

    s4:service_task: prevent a segfault if task->msg_ctx is not initialized yet
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 431692df422c3cac71ca12b7e89296172dfcf684)

commit f8890a4cf207f831f9283e22f826af072fa7d163
Author: Stefan Metzmacher <metze at samba.org>
Date:   Sun Jan 27 12:15:50 2013 +0100

    selftest: rename 'promoted_vampire_dc' to 'promoted_dc'
    
    Unix domain socket are limited to 104 characters on Linux.
    
    Using something like this fails as it uses more than 104 characters:
    '/memdisk/autobuild/flakey/b232141/samba/bin/ab/promoted_vampire_dc/private/smbd.tmp/msg/msg.482379.2147483647'
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 7e7cd07c405f8b66f5979047cb1a50e1e7a55edd)

commit cb3da6f2f3ce937caeb0ba99cd477573e02d447f
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Jan 25 23:00:12 2013 +1100

    s4-process_single: Use pid,task_id as cluster_id in process_single just like process_prefork
    
    This avoids two different process single task servers (eg the drepl
    server) sharing the same server id.  The task id starts at 2^31 to
    avoid collision with the fd based scheme for connections.
    
    Fix-bug: https://bugzilla.samba.org/show_bug.cgi?id=9598
    
    Reported-by: Matthieu Patou <mat at matws.net>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Sat Jan 26 16:13:05 CET 2013 on sn-devel-104
    (cherry picked from commit b9f1c8887ed1c8c29259021d4f2b9a549caa4061)

commit d00ec7653ed4a6251f6cf26d840b7d7e4d293c85
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Sat Jan 26 09:09:23 2013 +1100

    pymessaging: Pass around the server_id struct to python callbacks rather than the tuple
    
    This is not used currently, but may avoid going to and from the python types when we do not need to.
    
    Andrew Bartlett
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit a321dd3aafa0f6ec8b39cd4fc64146dfbf24ce65)

commit fd6537bb4ae8eba652ae993e72b5282aae2595f8
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Sat Jan 26 08:58:46 2013 +1100

    pymessaging: Use correct unsigned types for server ID tuple elememnts
    
    This is needed if we start using the top bits of these values.
    
    Andrew Bartlett
    
    Reviewed-by: Matthieu Patou <mat at matws.net>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit a3054323d3fa1dadff1675e7f8ec672a991d8e56)

commit 9c5492c72350c04a9ceda82987c87ff9236850bc
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Jan 25 13:15:51 2013 +1100

    bug9598: s4-process_single: Use pid,fd as cluster_id in process_single just like process_prefork
    
    This avoids two different process single servers (say LDAP and the RPC server) sharing the same
    server id.
    
    Fix-bug: https://bugzilla.samba.org/show_bug.cgi?id=9598
    
    Reported-by: Matthieu Patou <mat at matws.net>
    Reviewed-by: Matthieu Patou <mat at matws.net>
    Signed-off-by: Andrew Bartlett <abartlett at samba.org>
    
    Autobuild-User(master): Andrew Bartlett <abartlet at samba.org>
    Autobuild-Date(master): Fri Jan 25 12:00:04 CET 2013 on sn-devel-104
    (cherry picked from commit c5db4eb9104f1a95220273ee2b0290d157053922)

commit 0d6800857c12096e3391e9a74adf502b0b8ac31e
Author: Jeremy Allison <jra at samba.org>
Date:   Thu Jan 24 12:33:53 2013 -0800

    Regression test for bug #9587 - archive flag is always set on directories.
    
    Ensure we get the correct attributes on files
    and directories after a rename.
    
    Signed-off-by: Jeremy Allison <jra at samba.org>

commit 468f9eddcbf27806539a4017ea87e901fc4197f5
Author: Jeremy Allison <jra at samba.org>
Date:   Thu Jan 24 11:02:30 2013 -0800

    Fix bug #9587 - archive flag is always set on directories.
    
    Creating a directory to a Samba share sets the attributes to 'D' only
    (correct) - only when creating a new file should the 'A' attribute
    be set.
    
    However, doing a rename of that directory sets the 'A' attribute in error.
    This should only be done on a file rename. smbclient regression test to follow.
    
    Signed-off-by: Jeremy Allison <jra at samba.org>
    Reviewed-by: David Disseldorp <ddiss at samba.org>
    (cherry picked from commit 3d46a077dd0999cc0c6032379147811c8bb660fb)

commit 6f49537c86556c660a9ea05a3889420d3d93a72c
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Jan 23 14:39:09 2013 -0800

    Fix bug #9586 - smbd[29175]: disk_free: sys_popen() failed" message logged in /var/log/message many times.
    
    Ensure when reading lines from an interruptible
    pipe source we ignore EINTR.
    
    Signed-off-by: Jeremy Allison <jra at samba.org>
    Reviewed-by: Volker Lendecke <vl at samba.org>
    
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Thu Jan 24 10:45:48 CET 2013 on sn-devel-104
    (cherry picked from commit 497febfe36354c4aff3696cd32c6c7e8fee55af8)

commit a8deb9181cdea889744b7b924422725efb5cd6bb
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Jan 23 09:57:50 2013 -0800

    Fix bug #9572 - File corruption during SMB1 read by Mac OSX 10.8.2 clients.
    
    Accept a large read if we told the client we have UNIX extensions
    and the client sent a non-zero upper 16-bit size.
    
    Do the non-zero upper 16-bit size check first to save a function
    call in what is a hot path.
    
    Signed-off-by: Jeremy Allison <jra at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Thu Jan 24 21:01:51 CET 2013 on sn-devel-104
    (cherry picked from commit 996a10cdea4a1ea23bc86c8bc57c4ca02e285b17)

commit 67536fd8ae29914d8349ecb7c1e1e6b91825f8ce
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Jan 22 12:38:28 2013 -0800

    Revert "s3:smbd: SMB ReadX with size > 0xffff should only possible for samba clients."
    
    Part of fix for bug #9572 -  File corruption during SMB1 read by Mac OSX 10.8.2 clients
    
    This reverts commit f8c26c16b82989e002b839fc9eba6386fc036f6a.
    
    Signed-off-by: Jeremy Allison <jra at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 033197958ec97140d5632ab875f24350257963dd)

commit 41fd28c926087f28fdc5dab8939f9210b74ea0ff
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sun Dec 16 15:01:53 2012 +0100

    wafsamba: python-config is not always a script.
    
    (cherry picked from commit e1a819ea18aa3ecfcddb76ec681f520db162338e)
    
    Fix bug #9503 - waf assumes that pythonX.Y-config is a Python script.

commit b3d4e7f3aea134aed00c7246d9164d71a7ca418f
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Sep 12 15:34:29 2012 +0200

    dsdb: Make secrets_tdb_sync cope with -H secrets.ldb
    
    The issue was, without a / in the path, we did not cope.
    
    Andrew Bartlett
    Reviewed-by: Michael Adam <obnox at samba.org>
    (cherry picked from commit 945bc84818039b79f4d9b7982e24c1e0e7dd8a45)
    
    Fix bug #9610 - dsdb: Make secrets_tdb_sync cope with -H secrets.ldb.

commit 2b6fec0599755faad6a6298c5e0db5c62cdc87c4
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Jan 11 16:42:41 2013 +1100

    dsdb: Make linked_attributes module GUID based for renames
    
    This ensures that when we have the backlink out of sync with the forward link (perhaps due
    to another operation that has put the backlink handling in an end-of-transaction
    TODO list in repl_meta_data) that we do not error out, we just cope as well as we can.
    
    The GUID is the unique identifier, not the DN.
    
    Andrew Bartlett
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Sat Jan 12 12:52:28 CET 2013 on sn-devel-104
    (cherry picked from commit 95c891cf44143e12b2f90047f3fefe6d23c598fd)
    
    Fix bug #9596 - linked attribute handling should be by GUID.

commit b6266a1a692161b3b44daf17fc7a8927a4dc57a9
Author: Günther Deschner <gd at samba.org>
Date:   Tue Jan 22 11:54:19 2013 +0100

    s3-winbind: fix the build of idmap_ldap.
    
    Guenther
    
    Signed-off-by: Günther Deschner <gd at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    
    Autobuild-User(master): Günther Deschner <gd at samba.org>
    Autobuild-Date(master): Tue Jan 22 14:43:40 CET 2013 on sn-devel-104
    (cherry picked from commit d56b4560b585c613b65b05a9224c9e11f5038318)
    
    The last 14 patches address bug #9595 - Build fixes from master not yet in 4.0.

commit 545e4c50aa37efc28d91b4f7d143f656cde35a32
Author: Matthieu Patou <mat at matws.net>
Date:   Thu Jan 3 14:33:45 2013 -0800

    Tests: Fix the display of test vars in screen --testenv
    
    The form bash -c echo "important stuff blabla bla" && LD_LIBARY_PATH bash
    is not working in screen when it's working in xterm and the in_screen
    script already wrap all the command within a bash shell so there is no
    need to re-force bash as the echo will execute in a bash shell
    
    Signed-off-by: Matthieu Patou <mat at matws.net>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    
    Autobuild-User(master): Andrew Bartlett <abartlet at samba.org>
    Autobuild-Date(master): Tue Jan 22 13:03:52 CET 2013 on sn-devel-104
    (cherry picked from commit 9aca52877a3f6f59887098ebb8e664922c8c7aad)

commit 75588b4008d122a10fa20d357cd429fcd9b03cdc
Author: Matthieu Patou <mat at matws.net>
Date:   Thu Jan 3 14:34:13 2013 -0800

    Tests: avoid adding python options that are functions in the env
    
    This fix errors when running test --testenv --screen
    
    Signed-off-by: Matthieu Patou <mat at matws.net>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 95fc53a37b9c75cbc1d13432887de095ff779a1e)

commit 6abfae10b064dae98ae1601c74e315148362b2f7
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Mon Nov 19 23:25:45 2012 +1100

    heimdal_build: Try again to sort out the strerror_r mess
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit dda48146a2781fe685eeb9dc5194d142ee5ca0ef)

commit 2f512869eae889170a11c299115006ecd4c75e85
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jan 15 15:35:09 2013 +0100

    build(waf): fix the abi_match for the pdb library
    
    The global wildcard match is automatically added by the parsing code
    if the global match list is empty. Specifying an explicit '*' as the only
    global match lets the parsing code add a second '*' to the local list,
    which is an error tolerated on my linux by ld (the GNU linker), but
    not by the stricter GNU ELF linker "gold".
    
    Pair-Programmed-With: Gregor Beck <gbeck at sernet.de>
    
    Signed-off-by: Gregor Beck <gbeck at sernet.de>
    Signed-off-by: Michael Adam <obnox at samba.org>
    Signed-off-by: Alexander Bokovoy <ab at samba.org>
    
    Autobuild-User(master): Alexander Bokovoy <ab at samba.org>
    Autobuild-Date(master): Wed Jan 16 21:31:00 CET 2013 on sn-devel-104
    (cherry picked from commit 9ba44cc610426fb558b49aa9680b5bdf55c29082)

commit f81c8beef14043be3ca2d880fd9cc872093f1f08
Author: Björn Baumbach <bb at sernet.de>
Date:   Mon Dec 10 11:52:08 2012 +0100

    build(waf)-libreplace: remove redundant check for flistea function
    
    Signed-off-by: Björn Baumbach <bb at sernet.de>
    Reviewed-by: Michael Adam <obnox at samba.org>
    Reviewed-by: Volker Lendecke <vl at samba.org>
    (cherry picked from commit 41955b711f48ee2c8fe70a7e9967a2a96adf8a3d)

commit 1d1b79f0bc9f009c829913a162b35f7158288286
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Thu Jan 10 09:00:37 2013 +1100

    build: Make install_with_python.sh more portable
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 5a1deec38a7ff7287b31a47ae61769c66e10de17)

commit d938268f7bb559ac40b03540728d5ff0f0626cda
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Thu Jan 10 08:51:34 2013 +1100

    build: In install_with_python.sh force using the python from the install we just made
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 8e84c33a6094288ec2c8964588c679a71742e855)

commit 626ef6958c6471fe4b7629f506e7cb454ed771a4
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Thu Jan 10 08:50:53 2013 +1100

    build: Make install_with_python.sh executable
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 7acacdfc05d3162b2879b6ac80d0809b5af96f1e)

commit cfd1e5b9e9bf7ba72b8b11b0603e5e44ac4da57d
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Thu Dec 20 18:36:40 2012 +1100

    swat: move russian swat files alongside ja and tr
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 489ad498ab14340eb99f35a8814418db9db788a5)

commit 63a5d7f61eb3ab6330011f3de2c350d3576d4eb6
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Thu Dec 13 10:33:04 2012 +1100

    passdb: Add discard_const_p() to pdb_samba_dsdb
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit b9fbce20613952ead92dde3981a57f6d825c0584)

commit 004729533f62f070f22eb88b0bcac18b07aeeab0
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Jan 9 09:39:59 2013 +1100

    build: Remove bashism from SAMBAMANPAGES rule
    
    In sh, you must assign the variable, then export it.
    
    Andrew Bartlett
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 9dfd0a0dc980b521905399e0b409cb81fbbe6b37)

commit 017ea7bc02499e87d72a5614a305a09bdbc3a96c
Author: Jesper Larsen <jesper.larsen at ixonos.com>
Date:   Fri Jan 4 13:03:58 2013 +0100

    replace: Fix compilation of rep_mkstemp
    
    Commit 1fbc185 removed the variable 'p'.
    Use the equivalent variable 'template' instead.
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    
    Autobuild-User(master): Andrew Bartlett <abartlet at samba.org>
    Autobuild-Date(master): Wed Jan  9 07:18:33 CET 2013 on sn-devel-104
    (cherry picked from commit 411440d2d9085fe9db0e3c26c025c6b94d02c00f)

commit 666dcca0fcee09e73aacd5dad79685fb1fd0072a
Author: Ira Cooper <ira at samba.org>
Date:   Thu Dec 27 19:57:14 2012 +0000

    s3: Fix vfs_zfsacl to compile.
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 0615f68096569d00b1f262529024ad40136d445e)
    (ported to 4.0 VFS interface, removing blob function references by abartlet)

commit 9bab305618dc3768d47db67365a41f43eb217277
Author: Karolin Seeger <kseeger at samba.org>
Date:   Thu Jan 24 11:52:37 2013 +0100

    docs: ldbsearch.1.xml: Correct meta data.
    
    Signed-off-by: Karolin Seeger <kseeger at samba.org>
    
    Karolin
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Thu Jan 24 16:09:37 CET 2013 on sn-devel-104
    (cherry picked from commit 875a1721ae014cbb580d9596344675e890cf9964)
    
    Fix bug #9591 - Meta data in ldb manpages wrong.

commit 2e79e5556e752242e39e494921e04e9dcb39061e
Author: Karolin Seeger <kseeger at samba.org>
Date:   Thu Jan 24 11:52:15 2013 +0100

    docs: ldbrename.1.xml: Correct meta data.
    
    Signed-off-by: Karolin Seeger <kseeger at samba.org>
    
    Karolin
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 99e2a63a0c64de4c3c26e66984a6c542052e97ba)

commit 1e9aa0c092c60fd76c84c834c446c8eebd995d85
Author: Karolin Seeger <kseeger at samba.org>
Date:   Thu Jan 24 11:51:49 2013 +0100

    docs: ldbmodify.1.xml: Correct meta data.
    
    Signed-off-by: Karolin Seeger <kseeger at samba.org>
    
    Karolin
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 25cc400c64958e2e2e2e812a0d34064f1957d0c4)

commit 2361c2a960817425f6293b5eebfef0013ab48be8
Author: Karolin Seeger <kseeger at samba.org>
Date:   Thu Jan 24 11:51:28 2013 +0100

    docs: ldbedit.1.xml: Correct meta data.
    
    Signed-off-by: Karolin Seeger <kseeger at samba.org>
    
    Karolin
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit f585052d888a3bb4f9c81d9a9512eca7f7867c98)

commit 6c76344b01bcb61261240f8da5104d37c0a09d3c
Author: Karolin Seeger <kseeger at samba.org>
Date:   Thu Jan 24 11:50:55 2013 +0100

    docs: ldbdel.1.xml: Correct meta data.
    
    Signed-off-by: Karolin Seeger <kseeger at samba.org>
    
    Karolin
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 918057bd11e9ed1457cf0119f4c0c1f9c418c566)

commit 60910e18abbf1ce687c86dfdc7d7a2a9fb059786
Author: Karolin Seeger <kseeger at samba.org>
Date:   Thu Jan 24 11:50:26 2013 +0100

    docs: ldbadd.1.xml: Correct meta data.
    
    Signed-off-by: Karolin Seeger <kseeger at samba.org>
    
    Karolin
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 1d4346d4b7c7afc4f578afb3b8d0e08e36812b39)

commit 6a11d7fb21efc75481f7bfb47e90b07f61657c6b
Author: Karolin Seeger <kseeger at samba.org>
Date:   Thu Jan 24 11:50:00 2013 +0100

    docs: ldb.3.xml: Correct meta data.
    
    Signed-off-by: Karolin Seeger <kseeger at samba.org>
    
    Karolin
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 7d56b9401129c18a948bbd0bb4fea547d4b3a7c4)

commit 3c70668e07430e3a30042a464dd34cb66d3437ce
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Tue Jan 22 14:45:14 2013 +1100

    gensec: Allow login without a PAC by default (bug #9581)
    
    The sense of this test was inverted.  We only want to take the ACCESS_DENIED error
    if gensec:require_pac=true.
    
    Andrew Bartlett
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit df004b5014b92b987f907047d2ca9f567e3d0ac1)

commit 1fa859adde019ed6031371dda242a3d4b4133e08
Author: Matthieu Patou <mat at matws.net>
Date:   Tue Oct 23 22:09:20 2012 -0700

    dbcheck: look in hasMasterNCs as well for determining the instance type of a NC
    
    Forest of level 2000 don't hve the msDS-hasMasterNCs parameter
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    
    Fix bug #9565 - Adding additional Samba 4.0 DC to W2k8 srv AD domain (in win200
    functional level) produces dbcheck errors.

commit 940daaa0a70debf903e66c838b16da66929a0205
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Tue Jan 22 23:39:15 2013 +1100

    selftest: Add test of upgradeprovision using the old alpha13 tree
    
    This ensures that upgradeprovision works as expected on a known good old database.
    
    Andrew Bartlett
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User(master): Andrew Bartlett <abartlet at samba.org>
    Autobuild-Date(master): Sun Jan 27 11:55:54 CET 2013 on sn-devel-104
    (cherry picked from commit 0f8ef5a2c83e0496ef79c3d6f8b1188fdd1943a0)

commit a60792c1e230abef57ed568ea467b9cf98294cb4
Author: Stefan Metzmacher <metze at samba.org>
Date:   Fri Jan 25 09:36:47 2013 +0100

    samba_upgradeprovision: detect dns_backend for the reference provision
    
    If we have a DomainDnsZone partition, we use BIND9_DLZ as backend
    and fix errors in the ForestDnsZone and DomainDnsZone partitions.
    Note: this should work fine also for SAMBA_INTERNAL.
    
    If the current setup doesn't use dns specific partitions (e.g. alpha13 setups)
    we pass dns_backend=BIND9_FLATFILE.
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 58d6d884cf8a8de5a1fa2dfd4a0cbacdff0d2483)

commit 41af100908ceb4a842cf242ea31168763ec183b0
Author: Stefan Metzmacher <metze at samba.org>
Date:   Fri Jan 25 09:36:47 2013 +0100

    provision: setup names.dns_backend
    
    If we have a DomainDnsZone partition:
     - we use BIND9_DLZ as backend if a dns-<netbiosname> account is available
     - otherwise, we use SAMBA_INTERNAL
    else:
     - we use BIND9_FLATFILE if a dns or dns-<netbiosname> account is available
     - otherwise, we use NONE
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit b855df254de40d9de0b7f9042564f6d521ab1c5d)

commit 6b0951a73bace30188bbbba5f3d3dfed2316d471
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Dec 13 12:56:37 2012 +0100

    samba_upgradeprovision: fix the nTSecurityDescriptor on more containers (bug #9481)
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 4752731c2eb4abeb0b5da3e33aa3096786301a19)

commit 5fd59ef69d32813e2258dd7c84196d02caa5dae5
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 23 16:27:17 2013 +0100

    provision: fix nTSecurityDescriptor of containers in the DnsZones (bug #9481)
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 5cf98823cc804906833f7ea763f99de0147b0fee)

commit fc6e5136baa9bef692f3148a4ad13d667c9da1b5
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 23 16:27:17 2013 +0100

    provision: fix nTSecurityDescriptor attributes of CN=*,${CONFIGDN} (bug #9481)
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit a477649e568577875be577c70a6b25cbeea6985a)

commit 950e45fd4cf28f3eaaeb74e9760230aa9e0cbcb1
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 23 16:27:17 2013 +0100

    provision: fix nTSecurityDescriptor of CN={LostAndFound,System},${DOMAINDN} (bug #9481)
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 1de5c2f78544385d2fe270d766fc1ca6726d71fb)

commit d9b6c192d835a57d254262cfa2c0a6b44bf3a9f3
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 23 15:45:33 2013 +0100

    provision: setup names.name_map['DnsAdmins']
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 4775f9ab345072e63d671e83ae2c054fd2f80c3b)

commit 47cd0dd04235986e220fdbfbc9702192122b124e
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 23 15:43:54 2013 +0100

    provision: introduce names.name_map = {}
    
    This will be used to translated names in SDDL values,
    which are not wellknown, e.g. 'DnsAdmins'.
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit e0712a70f5a437eb60df3cebedbbe1c6c08bd6ae)

commit 75d0f277bd57743ab7a1888e62ec41f1db2aec65
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 23 15:55:31 2013 +0100

    provision: add get_dns_{forest,domain}_microsoft_dns_descriptor()
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit ebb73f1c5d577c1d32c5c0519dcf3fb25c578c45)

commit 281708e13ab4528dd2c849f0f4127a68ec64f1d2
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 23 15:39:07 2013 +0100

    provision: add get_config_ntds_quotas_descriptor()
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit d00fb6aff2f54b470304d3d77a53328bcbb16851)

commit 3b006e2ced13c95c5c5a8cf210f9d1c06245df5f
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 23 10:51:10 2013 +0100

    provision: add get_{config,domain}_delete_protected*_descriptor()
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 1207cbd123375f0ff1bfc51403af5d611a621091)

commit 8f9e8dc31497718864d11b7064eed3fcd716f770
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 23 15:53:00 2013 +0100

    schema.py: add optional name_map={} to get_schema_descriptor()
    
    This is not used, but makes the prototype compatible with the
    other get_*_descriptor() functions.
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 8880c2d0d356e7208ca859e17caf208952af0e17)

commit 138b2a831fe3ffb903fac00b86e5f5ea7ab47148
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 23 15:51:37 2013 +0100

    provision: add optional name_map={} argument to get_*_descriptor()
    
    This will allow subsitute non-wellkown names in the SDDL,
    e.g. 'DnsAdmins'.
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 27a99c6236ab270a592b4e3242f92f8923a3d7e4)

commit 2e8043e5cf4bdcf7e8ed4647b6ce2f907cbdadf1
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 23 09:05:36 2013 +0100

    provision: import/export get_dns_partition_descriptor()
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit d4653e99b8be35b6d86605a1c4c624d5db2294b1)

commit 4f878d7e01f28e0dfdfb42061845e4eae447c54b
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 23 08:56:00 2013 +0100

    provision: setup names.dns{forest,domain}dn
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit b54b58e75d3c1a3080e81c61156b75ef1d241b71)

commit 15e5263c0ea0c1fc30573d3e62c956b3d412e4a3
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 23 15:24:11 2013 +0100

    samba_upgradeprovision: fix resetting of 'nTSecurityDescriptor' on schema objects
    
    Without this schema_data_modify() will reject updates to schema objects
    by default.
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit f51248339ae7ba9843e477493a69b0c4f647935a)

commit a3bbdd107263abe4677f72173eb878d5b468a0a9
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 23 15:23:13 2013 +0100

    samba_upgradeprovision: don't reset 'whenCreated' when resetting 'nTSecurityDescriptor'
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit b5cafa3b84e6cca5ca83fbcc0963def7d0c286d5)

commit 237375c1d5e59f2f3754153cfd22e9617e911d54
Author: Stefan Metzmacher <metze at samba.org>
Date:   Sat Jan 19 09:41:00 2013 +0100

    dbckecker: fix nTSecurityDescriptor values from before 4.0.0rc6 (bug #9481)
    
    They inherited effective ACE for the wrong object classes.
    
    For SACL ACEs the problem was also present in 4.0.0.
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit ec466aa35656764c8a8af724cda692f2302a0c04)

commit 68bb9bf646a2a3d64797494089446e96209da3a9
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Jan 24 22:59:26 2013 +0100

    dsdb-descriptor: get_default_group() should always return the DAG sid (bug #9481)
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 38655a89cf902d0ea6657415e2f546c7622e279d)

commit a0c0b34e0becd071774a325a3b04a225cbd653ae
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Jan 24 13:07:32 2013 +0100

    tests/sec_descriptor: the default owner behavior depends on domainControllerFunctionality (bug #9481)
    
    Not on the domainFunctionality.
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit cd5cb843b4d698ed2fedf635a020ff978ae40558)

commit 0bc0e06eaf52de94a078a8ab0901704482d7deb9
Author: Stefan Metzmacher <metze at samba.org>
Date:   Tue Jan 22 15:38:07 2013 +0100

    libcli/security: calculate INHERIT_ONLY correcty for AUDIT and ALARM aces (bug #9481)
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 2413962d53c7923a453fc7579b24b90bc23173df)

commit 0affb0c5c4a8d9b9d2333cc4e926887f760db977
Author: Arvid Requate <requate at univention.de>
Date:   Fri Jan 11 14:17:06 2013 +0100

    s4-resolve: Fix parsing of IPv6/AAAA in dns_lookup (bug #9555)
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit bdc172aca541046fd03b2b0cd69e054fe03d3a89)

commit 5acbb6f9bf150737ea7e0367ecc9ff4eb037d648
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Sat Nov 17 13:49:00 2012 +1100

    torture: Fix fsmo test to use correct -H samba-tool syntax
    
    However, the test still does not pass.
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit a0faf16ae9aefc4963b2583970509b1b23e27ce1)
    
    The last 3 patches address bug #9461 - FSMO seize of naming role fails:
    NT_STATUS_IO_TIMEOUT.

commit c9fec2e6e47c6f9eea496e718e5c8ec1ab2b53a8
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Tue Jan 15 09:56:46 2013 +1100

    dsdb: Do not hold the transaction over the IRPC call to perform a role transfer
    
    This avoids one samba process locking out another from the DB.
    
    Andrew Bartlett
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 18d7e5df0eb8fb593e66daf25d142584f44b5b87)

commit d743ba27c58b209e3413603519de25d5613cdb06
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Tue Nov 20 14:59:17 2012 +1100

    drs-fsmo: Improve handling of FSMO role takeover.
    
    This needs to be more async, and give less scary errors.
    
    Andrew Bartlett
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 316fd085ad2b587b82d817358240f84ae054a543)

commit c7ea247a824a5b4961048a338a95fe835b685339
Author: Matthieu Patou <mat at matws.net>
Date:   Sun Oct 14 01:01:08 2012 -0700

    libcli-acl: add documentation
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit b1e231384a9245a191ef5e004544d7cafe17e036)
    
    The last 44 patches address bug #8909 - ACL problem with delegation of
    privileges and deletion of accounts over LDAP interface.

commit 3faabb4184e5a2790a775925d3ef66448056af1b
Author: Matthieu Patou <mat at matws.net>
Date:   Sun Oct 14 01:04:51 2012 -0700

    drsuapi: Add documentation
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 65396adaad18821568f727a223c38c36a2b16291)

commit d4cf3969f1f65d67155f5155fa1f4fcd06d1b32e
Author: Matthieu Patou <mat at matws.net>
Date:   Sat Oct 13 15:02:57 2012 -0700

    security: Add documentation
    
    Names seems to be a bit cryptic and misleading (at least for me).
    So documenting them should remove at least partially this problem.
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 7822952a11707ff8aaa415adef62082c158c2398)

commit 418d3b9f8754edb7c0938a6bf0d9417abca20b6c
Author: Matthieu Patou <mat at matws.net>
Date:   Sat Oct 13 15:28:08 2012 -0700

    libcli-security: Add documentation for object_tree_modify_access
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit c0638dae6cbf8915e6a436d575562fc131ba772a)

commit 8b12ff629caf5ca2735ece8896dc7b5f6ec5e229
Author: Matthieu Patou <mat at matws.net>
Date:   Sat Dec 29 16:43:44 2012 -0800

    dsdb: Fix warning about unused var
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Mon Jan 21 17:51:16 CET 2013 on sn-devel-104
    (cherry picked from commit abc0030f780b775bf7656b572ee754ebd8079b5d)

commit 52dd9dbe89f488534f1351c3ae6de8e4f8f805df
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Jan 2 09:27:51 2013 +1100

    dsdb: Explain ordering constraints on the ACL module as well.
    
    Andrew Bartlett
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit c52408f461fb3515cde17eebb458b566fd0a049c)

commit 5da10d8dba8d4d83112f78d7364edb60121be099
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Sat Dec 29 15:13:54 2012 +1100

    dsdb: Ensure "authenticated users" is processed for group memberships
    
    This change moves the addition of "Authenticated Users" from the very end of the
    token processing to the start.  The reason is that we need to see if
    "Authenticated Users" is a member of other builtin groups, just as we
    would for any other SID.  This picks up the "Pre-Windows 2000 Compatible Access"
    group, which is in turn often used in ACLs on LDAP objects.
    
    Without this change, the eventual token does not contain S-1-5-32-554
    and users other than "Administrator" are unable to read uidNumber
    (in particular).
    
    Andrew Bartlett
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 8f078cdf247476fad511bb6d7e00c8654fd26e85)

commit 66e22b4f3fa46c88abf2a0da8f047e209c552d05
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Thu Jan 3 21:30:12 2013 +1100

    libcli/security: remove useless if (root->num_of_children > 0) statements
    
    The for loop does this implicitly when comparing for (i = 0; i < root->num_of_children; i++)
    
    Andrew Bartlett
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit d36c03056fb85dfedbafd3a59497e35db63ade17)

commit cb22b498301b08518b8fa2f8f9134cc0c1ac3055
Author: Stefan Metzmacher <metze at samba.org>
Date:   Tue Jan 15 19:03:00 2013 +0100

    libcli/security: add init_mask to existing children in insert_in_object_tree
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 853ecd418afe15973d3e8844ad0e01d3d54536d5)

commit d0496c9ff74c0640dfd13c8dade51903a53c77b6
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Thu Jan 3 20:40:32 2013 +1100

    libcli/security: handle node initialisation in one spot in insert_in_object_tree()
    
    This removes special-case for initalising the children array in
    insert_in_object_tree().  talloc_realloc() handles the intial allocate
    case perfectly well, so there is no need to have this duplicated.
    
    This also restores having just one place were the rest of the elements
    are intialised, to ensure uniform behaviour.
    
    To do this, we have to rework insert_in_object_tree to have only one
    output variable, both because having both root and new_node as output
    variables was too confusing, and because otherwise the two pointers
    were being allowed to point at the same memory.
    
    Andrew Bartlett
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 5b4e3de2bb25eeb85d72a886386c853cea3e9468)

commit 4f3f51eef1a9d1646c1d77c0f6f4e65fb6f38562
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 16 09:49:20 2013 +0100

    libcli/security: avoid usage of dom_sid_parse_talloc() in sec_access_check_ds()
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit a359aef0837781c42bf9dbcdd069796c72cc94c7)

commit ed19440d6cb255ed70822233dbfd275dffd3cf20
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 16 10:05:56 2013 +0100

    libcli/security: simplify get_ace_object_type()
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit a3fffde368fa0c6594f7fd5309e0b20d3fa7c68e)

commit 7be082d5ca0602ed17e40cb189e156514c6e03ef
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 16 09:46:48 2013 +0100

    libcli/security: fix formating in access_check.c
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit b0f731fc3b96edf91216829bd0dc63bb4269f458)

commit 681e8312074f5ff9315452749ac6ee83470e104e
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 16 09:43:44 2013 +0100

    libcli/security: fix whitespaces in access_check.c
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 10a90ce8422ac4ff4461b13a3dd03bbcd9bd2258)

commit c617e9c5950f90cf56251439ab1072441a77c634
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Jan 17 16:22:09 2013 +0100

    dsdb-acl: the SEC_ADS_DELETE_CHILD checks need objectclass->schemaIDGUID
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 0ebb93708eb377e29eaaf4400c65399d18c229b6)

commit 319c128aad14f01849d54ca68a820393d6e8c566
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Jan 17 16:21:10 2013 +0100

    dsdb-acl: make use of acl_check_access_on_objectclass() for the object in acl_delete()
    
    We should only use dsdb_module_check_access_on_dn() on the parent.
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 8f8d97f9fe05b2de1403676a148ab7b90a83812b)

commit 133aa078d5ed22eb009754da7e071a2a67be5236
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 16 16:43:14 2013 +0100

    dsdb-acl: make use of acl_check_access_on_{attribute,objectclass} in acl_rename()
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 8aa855573067418c84f71aa3a20e5f472343851d)

commit a3a08105595a0390ea78a211703f79f4c99bd8f9
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 16 16:41:51 2013 +0100

    dsdb-acl: make use of acl_check_access_on_attribute() in acl_modify()
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 8d31e42eed71e9686b03c496eeff1ff96a6742ea)

commit a96f171a6890d8e1e1e7d11ebe06ca0c6038c546
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 16 16:36:07 2013 +0100

    dsdb-acl: remove unused acl_check_access_on_class()
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 8e47e64f5d73441b6eb13d59001d52ec77c1c7d5)

commit afbd774b86c9c6fa718dc23ffd7e02748d71f1aa
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 16 16:35:33 2013 +0100

    dsdb-acl: use acl_check_access_on_objectclass() instead of acl_check_access_on_class()
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 34f1a52689f4cc64fb63118e685a4442e3fe187a)

commit 8ae475965416133397d12dfd4712f93cfd9b9677
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Jan 2 15:01:23 2013 +1100

    dsdb-acl: Use the structural objectClass in acl_check_access_on_attribute()
    
    This commit enters the GUID into the object tree so that that access
    rights assigned to the structural objectClass are also available, as
    well as rights assigned to the attribute property groups.
    
    Andrew Bartlett
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 6a4063f30273ff184364f276c5206c3507f37644)

commit b0a0e147f110532aba6db19c9ab7f17900218416
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Jan 2 15:01:00 2013 +1100

    dsdb-acl: Pass the structural objectClass into acl_check_access_on_attribute
    
    This will, when the GUID is entered into the object tree (not in this
    commit) ensure that access rights assigned to the structural
    objectClass are also available, as well as rights assigned to the
    attribute property groups.
    
    Andrew Bartlett
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit e8cc59eb781006c6193249128a1ffc4bcba8f28a)

commit e8d389ae15c0a0166f6e843878875ff3ebdd0171
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Jan 2 14:55:36 2013 +1100

    dsdb-acl: Remove unused get_oc_guid_from_message()
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 93944ea90069df5379993f5c186ffd68e166f1c4)

commit 5927b594cb6c837e9f85cd0ecf19564887bcd4a5
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Jan 2 15:01:00 2013 +1100

    dsdb-acl: ask for the objectClass attribute if it's not in the scope of the clients search
    
    This will be used later.
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit a1b421e8cca24a5831f4c6d77714cf54faf8c48e)

commit d76b80369063efd19eebed0db89be3ef4411a6df
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Jan 2 09:26:15 2013 +1100

    dsdb-acl: use dsdb_get_structural_oc_from_msg() rather than class_schemaid_guid_by_lDAPDisplayName
    
    This uses dsdb_get_last_structural_objectclass(), which encodes this ordering
    knowledge in one place in the code, rather than using this uncommented
    magic expression:
    
    (char *)oc_el->values[oc_el->num_values-1].data
    
    Andrew Bartlett
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 6ab41506857814d69d897471a14002d98fb4c172)

commit 128c31cccb498c9ff7a04f4f72dbce0b097e4eed
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Jan 2 14:54:20 2013 +1100

    dsdb-acl: Use dsdb_get_structural_oc_from_msg() in acl_rename()
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 730433984c9f3dd30ee0b07dc22af56b4d3a062f)

commit 512a21fc583feae8b821969fb880b3dee7edf763
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Jan 2 14:53:02 2013 +1100

    dsdb-acl: Use dsdb_get_structural_oc_from_msg() in acl_modify()
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 6d7e53aaac8c95f86e1eb8593880ae1c09d973d4)

commit e320678430550e1dcdca7a5d11dde3f54b253850
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 16 16:34:56 2013 +0100

    dsdb-acl: add acl_check_access_on_objectclass() helper
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 097fae2d1d6ae04a7bfc795803f200b6f703a904)

commit 3600752fd122bc84ea7c65f2fd84d24f2999a2f7
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Jan 2 14:52:21 2013 +1100

    dsdb-acl: Add helper function dsdb_get_structural_oc_from_msg()
    
    This will eventually replace get_oc_guid_from_message(), returning the full dsdb_class.
    
    Andrew Bartlett
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 74bfec026921fcfc430fb7cfaee44ed75f135a99)

commit 67046e4ec53b4632ddf9737200123e670ae47e56
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 16 11:45:46 2013 +0100

    dsdb-acl: attr is not optional to acl_check_access_on_attribute()
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 2685a4ed6681b1a20fb26087867737ecbf8fad73)

commit 55dfcdaa6af4142e0828f7bf2e06435fcc6374a6
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Jan 16 16:39:35 2013 +0100

    dsdb-acl: dsdb_attribute_by_lDAPDisplayName() is needed for all attributes
    
    "clearTextPassword" is the only exception.
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit d695b8abc7a2e4f7e1853d0c61fe0c03fc786111)

commit 8e2d5a16af7b30fc3c130c761117e4089370a900
Author: Stefan Metzmacher <metze at samba.org>
Date:   Fri Jan 18 09:17:25 2013 +0100

    dsdb-acl: introduce a 'el' helper variable to acl_modify()
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit ddfb8fe89c493c485250d59868312614c79a9cc1)

commit 38147671e4f937b8736048b2fb22c605224882b1
Author: Stefan Metzmacher <metze at samba.org>
Date:   Fri Jan 18 09:17:25 2013 +0100

    dsdb-acl: introduce a 'msg' helper variable to acl_modify()
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 71b856a3f08fbd095833c27c59d7ed382be70d2a)

commit f9345dafd34ffb45b2135f546cc049c4d083ea70
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Jan 17 14:41:39 2013 +0100

    dsdb-schema: make sure we build [system]PossibleInferiors completely
    
    Otherwise callers like dsdb_schema_copy_shallow() will corrupt the
    talloc hierarchie.
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit c2853f55fc603d4875bb1e50a1cbf409df0421ea)

commit 9d5071a9329dc94c6586fd3559e862c0aaf61fdb
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Jan 17 14:40:24 2013 +0100

    dsdb-schema: make sure use clean caches in schema_inferiors.c
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit 1f673bf9209405dfa2593859bbc45d1c6dc2a960)

commit d6a6978b7c47f217dfd060253b1b14e0fc4fd8fa
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Jan 17 14:14:37 2013 +0100

    dsdb-schema: make schema_subclasses_order_recurse() static
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    (cherry picked from commit c4b9ee255814b8121d13e33cd9b0cd7c093d736c)

commit eb81e021beabdb705920112fd909d268dfd50fe4
Author: Stefan Metzmacher <metze at samba.org>
Date:   Tue Jan 8 15:55:36 2013 +0100

    dsdb-acl: calculate sDRightsEffective based on "nTSecurityDescriptor"
    
    acl_check_access_on_attribute should never be called with attr=NULL
    because we don't check access on an attribute in that case
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Matthieu Patou <mat at matws.net>
    
    Autobuild-User(master): Matthieu Patou <mat at samba.org>
    Autobuild-Date(master): Thu Jan 17 11:21:10 CET 2013 on sn-devel-104
    (cherry picked from commit 6a1025551eb5b343ec996ae0c642d542162e8910)

commit 5f37d8f7affd9c4511d87c6e18377e1707e24045
Author: Stefan Metzmacher <metze at samba.org>
Date:   Tue Jan 8 15:54:47 2013 +0100

    dsdb-acl: add helper variable 'ldb' in acl_sDRightsEffective
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Matthieu Patou <mat at matws.net>
    (cherry picked from commit ccf577da14194f5f3377226bcdb7e69b62a94851)

commit 8c2de7deec46711d1ba9780b3a8413c4ebaff0ef
Author: Stefan Metzmacher <metze at samba.org>
Date:   Fri Jan 4 16:03:42 2013 +0100

    libcli/security: don't look at the inherited type in get_ace_object_type()
    
    The inherited_type is only used to decide if aces should be inherited
    effectively or not (INHERIT_ONLY) for the specified object.
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Matthieu Patou <mat at matws.net>
    (cherry picked from commit 629ce2a1ba392f2e8b632752c583843777471378)

commit 5247f3deb57f3e84b2ec2bca3fd0d4643a636611
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Jan 17 08:51:23 2013 +0100

    dsdb-acl: fix the order of special and system checks
    
    First we check for a special dn, then for system access.
    All allocations happen after this checks in order to avoid
    allocations we won't use.
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Matthieu Patou <mat at matws.net>
    (cherry picked from commit 70460605c6132ffbc6be825c24f188674c0ac979)

commit ccc903848b5a230e1537ec3bb500911cb163fbbb
Author: Matthieu Patou <mat at matws.net>
Date:   Sun Dec 30 02:27:25 2012 -0800

    dsdb-acl: Do not apply ACL on special DNs to hide attributes that the user shouldn't see
    
    This fix frequent reindexing when using python script with a
    user that is not system.
    The reindexing is caused by ACL module hidding (removing) attributes in
    the search request for all attributes in dn=@ATTRIBUTES and because
    dsdb_schema_set_indices_and_attributes checks that the list of
    attributes that it just calculated from the schema is the same as the
    list written in @ATTRIBUTES, if not the list is replaced and a
    reindexing is triggered.
    
    Signed-off-by: Matthieu Patou <mat at matws.net>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit a0c59b4da1c5d8637c92e65c7cf54bb82bc8fca5)

commit 62cc9ad980c4b08edb5de6808283580b44496455
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Jan 17 08:37:58 2013 +0100

    dsdb-acl: talloc_free the private context when we pass to the next module
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Matthieu Patou <mat at matws.net>
    (cherry picked from commit 961a1fbbbccb7fbb14634ec230985f3fd000b050)

commit 95edd379471e49493009a243f86adaf09018bd97
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Jan 17 08:37:12 2013 +0100

    dsdb-acl: don't call dsdb_user_password_support() if we don't use the result
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Matthieu Patou <mat at matws.net>
    (cherry picked from commit 947985b259ac05e95d65be19c67f384579a797ce)

commit c5fe4e28beefecb83b72b62b07ae752208b75c6b
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Thu Jan 3 21:31:22 2013 +1100

    dsdb-acl: give error string if we can not obtain the schema
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 5812eb3c1deac51891f01338b4771b1e397dc24d)

-----------------------------------------------------------------------

Summary of changes:
 auth/gensec/gensec_util.c                          |    2 +-
 buildtools/wafadmin/Tools/python.py                |    2 +-
 buildtools/wafsamba/wafsamba.py                    |    3 +-
 install_with_python.sh                             |    5 +-
 lib/ldb/ABI/ldb-1.1.14.sigs                        |  262 +++++++++
 lib/ldb/ABI/ldb-1.1.15.sigs                        |  262 +++++++++
 ...ldb-util-1.1.10.sigs => pyldb-util-1.1.14.sigs} |    0
 ...ldb-util-1.1.10.sigs => pyldb-util-1.1.15.sigs} |    0
 lib/ldb/common/ldb.c                               |    3 +-
 lib/ldb/common/ldb_pack.c                          |  287 ++++++++++
 lib/ldb/include/ldb.h                              |   25 +-
 lib/ldb/include/ldb_private.h                      |   11 +
 lib/ldb/ldb_tdb/ldb_index.c                        |    3 +-
 lib/ldb/ldb_tdb/ldb_pack.c                         |  292 ----------
 lib/ldb/ldb_tdb/ldb_search.c                       |    7 +-
 lib/ldb/ldb_tdb/ldb_tdb.c                          |    5 +-
 lib/ldb/ldb_tdb/ldb_tdb.h                          |   11 -
 lib/ldb/man/ldb.3.xml                              |    4 +-
 lib/ldb/man/ldbadd.1.xml                           |    6 +-
 lib/ldb/man/ldbdel.1.xml                           |    6 +-
 lib/ldb/man/ldbedit.1.xml                          |    6 +-
 lib/ldb/man/ldbmodify.1.xml                        |    6 +-
 lib/ldb/man/ldbrename.1.xml                        |    6 +-
 lib/ldb/man/ldbsearch.1.xml                        |    6 +-
 lib/ldb/tools/ldbdump.c                            |  230 ++++++++
 lib/ldb/wscript                                    |   10 +-
 lib/replace/replace.c                              |    4 +-
 lib/replace/replace.h                              |    3 +-
 lib/replace/wscript                                |    2 +-
 lib/tdb/ABI/tdb-1.2.11.sigs                        |   67 +++
 lib/tdb/common/lock.c                              |    2 +-
 lib/tdb/common/rescue.c                            |  349 ++++++++++++
 lib/tdb/include/tdb.h                              |   22 +
 lib/tdb/libtdb.m4                                  |    2 +-
 lib/tdb/man/tdbdump.8.xml                          |   31 +
 lib/tdb/test/run-rescue-find_entry.c               |   50 ++
 lib/tdb/test/run-rescue.c                          |  126 +++++
 lib/tdb/tools/tdbdump.c                            |   65 ++-
 lib/tdb/wscript                                    |   10 +-
 libcli/security/access_check.c                     |  228 ++++----
 libcli/security/access_check.h                     |    8 +-
 libcli/security/create_descriptor.c                |   20 +-
 libcli/security/object_tree.c                      |   94 ++--
 libcli/security/security.h                         |    9 +
 selftest/knownfail                                 |    1 -
 selftest/selftest.pl                               |   15 +-
 selftest/target/Samba4.pm                          |   18 +-
 selftest/tests.py                                  |    1 +
 selftest/wscript                                   |    7 +-
 source3/lib/util_file.c                            |    2 +-
 source3/modules/vfs_zfsacl.c                       |    4 +-
 source3/passdb/pdb_samba_dsdb.c                    |    4 +-
 source3/script/tests/test_smbclient_s3.sh          |  186 ++++++
 source3/smbd/reply.c                               |   30 +-
 source3/winbindd/wscript_build                     |    3 +-
 source3/wscript_build                              |    2 +-
 source4/auth/session.c                             |   44 ++-
 source4/dsdb/common/dsdb_access.c                  |    5 +-
 source4/dsdb/common/util_groups.c                  |   25 +
 source4/dsdb/repl/drepl_fsmo.c                     |    5 +-
 source4/dsdb/samdb/ldb_modules/acl.c               |  590 +++++++++++---------
 source4/dsdb/samdb/ldb_modules/acl_read.c          |   32 +-
 source4/dsdb/samdb/ldb_modules/acl_util.c          |   95 +++-
 source4/dsdb/samdb/ldb_modules/descriptor.c        |   15 +-
 source4/dsdb/samdb/ldb_modules/extended_dn_out.c   |    2 -
 source4/dsdb/samdb/ldb_modules/linked_attributes.c |   77 +++-
 source4/dsdb/samdb/ldb_modules/rootdse.c           |   38 ++-
 source4/dsdb/samdb/ldb_modules/samba_dsdb.c        |    4 +-
 source4/dsdb/samdb/ldb_modules/secrets_tdb_sync.c  |    5 +-
 source4/dsdb/samdb/ldb_modules/util.c              |   13 +
 source4/dsdb/samdb/samdb.c                         |   31 -
 source4/dsdb/schema/schema.h                       |   11 +-
 source4/dsdb/schema/schema_inferiors.c             |   59 ++-
 source4/dsdb/tests/python/sec_descriptor.py        |    8 +-
 source4/heimdal_build/roken.h                      |    8 -
 source4/heimdal_build/wscript_build                |    1 +
 source4/heimdal_build/wscript_configure            |    7 +
 source4/lib/messaging/pymessaging.c                |   20 +-
 source4/libcli/resolve/dns_ex.c                    |    1 +
 source4/rpc_server/drsuapi/getncchanges.c          |    3 +-
 source4/rpc_server/drsuapi/updaterefs.c            |   21 +-
 source4/scripting/bin/samba_upgradeprovision       |  150 ++++--
 source4/scripting/python/samba/dbchecker.py        |  195 +++++++-
 .../scripting/python/samba/provision/__init__.py   |   91 +++-
 .../scripting/python/samba/provision/descriptor.py |  118 +++--
 .../scripting/python/samba/provision/sambadns.py   |   30 +-
 source4/scripting/python/samba/schema.py           |    2 +-
 source4/scripting/python/samba/upgradehelpers.py   |    3 +-
 .../provisions/alpha13/etc/smb.conf.template       |   10 +-
 source4/selftest/tests.py                          |    4 +-
 source4/setup/provision.ldif                       |    2 +
 source4/setup/provision_configuration.ldif         |    6 +
 source4/setup/provision_configuration_modify.ldif  |    6 +
 source4/setup/provision_dnszones_add.ldif          |    4 +
 source4/setup/provision_well_known_sec_princ.ldif  |    1 +
 source4/smbd/process_single.c                      |   32 +-
 source4/smbd/service_task.c                        |    4 +-
 source4/torture/drs/python/fsmo.py                 |    4 +-
 .../lang}/ru/help/welcome-no-samba-doc.html        |    0
 {source3/po => swat/lang}/ru/help/welcome.html     |    0
 {source3/po => swat/lang}/ru/images/globals.gif    |  Bin 2041 -> 2041 bytes
 {source3/po => swat/lang}/ru/images/home.gif       |  Bin 2190 -> 2190 bytes
 {source3/po => swat/lang}/ru/images/passwd.gif     |  Bin 1936 -> 1936 bytes
 {source3/po => swat/lang}/ru/images/printers.gif   |  Bin 2139 -> 2139 bytes
 {source3/po => swat/lang}/ru/images/shares.gif     |  Bin 2081 -> 2081 bytes
 {source3/po => swat/lang}/ru/images/status.gif     |  Bin 2305 -> 2305 bytes
 {source3/po => swat/lang}/ru/images/viewconfig.gif |  Bin 2096 -> 2096 bytes
 {source3/po => swat/lang}/ru/images/wizard.gif     |  Bin 2605 -> 2605 bytes
 {source3/po => swat/lang}/ru/include/header.html   |    0
 testprogs/blackbox/upgradeprovision-alpha13.sh     |  135 +++++
 110 files changed, 3646 insertions(+), 1096 deletions(-)
 mode change 100644 => 100755 install_with_python.sh
 create mode 100644 lib/ldb/ABI/ldb-1.1.14.sigs
 create mode 100644 lib/ldb/ABI/ldb-1.1.15.sigs
 copy lib/ldb/ABI/{pyldb-util-1.1.10.sigs => pyldb-util-1.1.14.sigs} (100%)
 copy lib/ldb/ABI/{pyldb-util-1.1.10.sigs => pyldb-util-1.1.15.sigs} (100%)
 create mode 100644 lib/ldb/common/ldb_pack.c
 delete mode 100644 lib/ldb/ldb_tdb/ldb_pack.c
 create mode 100644 lib/ldb/tools/ldbdump.c
 create mode 100644 lib/tdb/ABI/tdb-1.2.11.sigs
 create mode 100644 lib/tdb/common/rescue.c
 create mode 100644 lib/tdb/test/run-rescue-find_entry.c
 create mode 100644 lib/tdb/test/run-rescue.c
 create mode 100644 source4/setup/provision_configuration_modify.ldif
 rename {source3/po => swat/lang}/ru/help/welcome-no-samba-doc.html (100%)
 rename {source3/po => swat/lang}/ru/help/welcome.html (100%)
 rename {source3/po => swat/lang}/ru/images/globals.gif (100%)
 rename {source3/po => swat/lang}/ru/images/home.gif (100%)
 rename {source3/po => swat/lang}/ru/images/passwd.gif (100%)
 rename {source3/po => swat/lang}/ru/images/printers.gif (100%)
 rename {source3/po => swat/lang}/ru/images/shares.gif (100%)
 rename {source3/po => swat/lang}/ru/images/status.gif (100%)
 rename {source3/po => swat/lang}/ru/images/viewconfig.gif (100%)
 rename {source3/po => swat/lang}/ru/images/wizard.gif (100%)
 rename {source3/po => swat/lang}/ru/include/header.html (100%)
 create mode 100755 testprogs/blackbox/upgradeprovision-alpha13.sh


Changeset truncated at 500 lines:

diff --git a/auth/gensec/gensec_util.c b/auth/gensec/gensec_util.c
index d732213..64952b1 100644
--- a/auth/gensec/gensec_util.c
+++ b/auth/gensec/gensec_util.c
@@ -42,7 +42,7 @@ NTSTATUS gensec_generate_session_info_pac(TALLOC_CTX *mem_ctx,
 	session_info_flags |= AUTH_SESSION_INFO_DEFAULT_GROUPS;
 
 	if (!pac_blob) {
-		if (!gensec_setting_bool(gensec_security->settings, "gensec", "require_pac", false)) {
+		if (gensec_setting_bool(gensec_security->settings, "gensec", "require_pac", false)) {
 			DEBUG(1, ("Unable to find PAC in ticket from %s, failing to allow access\n",
 				  principal_string));
 			return NT_STATUS_ACCESS_DENIED;
diff --git a/buildtools/wafadmin/Tools/python.py b/buildtools/wafadmin/Tools/python.py
index c2af312..a15e1f6 100644
--- a/buildtools/wafadmin/Tools/python.py
+++ b/buildtools/wafadmin/Tools/python.py
@@ -259,7 +259,7 @@ MACOSX_DEPLOYMENT_TARGET = %r
 
 	includes = []
 	if python_config:
-		for incstr in Utils.cmd_output("%s %s --includes" % (python, python_config)).strip().split():
+		for incstr in Utils.cmd_output("%s --includes" % (python_config,)).strip().split():
 			# strip the -I or /I
 			if (incstr.startswith('-I')
 			    or incstr.startswith('/I')):
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index c49f7aa..dcbb047 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -798,7 +798,8 @@ def SAMBAMANPAGES(bld, manpages):
                             source=source,
                             target=m,
                             group='final',
-                            rule='''export XML_CATALOG_FILES="${SAMBA_CATALOGS}"
+                            rule='''XML_CATALOG_FILES="${SAMBA_CATALOGS}"
+                                    export XML_CATALOG_FILES
                                     ${XSLTPROC} --xinclude --stringparam noreference 0 -o ${TGT}.xml --nonet ${SAMBA_EXPAND_XSL} ${SRC}
                                     ${XSLTPROC} --nonet -o ${TGT} ${SAMBA_MAN_XSL} ${TGT}.xml'''
                             )
diff --git a/install_with_python.sh b/install_with_python.sh
old mode 100644
new mode 100755
index d7ae55d..47ff780
--- a/install_with_python.sh
+++ b/install_with_python.sh
@@ -31,11 +31,14 @@ do_install_python() {
        rm -rf python_install || exit 1
 }
 
-if ! test -d $PREFIX/python; then
+if [ ! -d $PREFIX/python ]; then
    # needs to be installed
    do_install_python
 fi
 
+PYTHON=$PREFIX/python/bin/python
+export PYTHON
+
 `dirname $0`/configure --prefix=$PREFIX $@ || exit 1
 make -j || exit 1
 make install || exit 1
diff --git a/lib/ldb/ABI/ldb-1.1.14.sigs b/lib/ldb/ABI/ldb-1.1.14.sigs
new file mode 100644
index 0000000..eac5194
--- /dev/null
+++ b/lib/ldb/ABI/ldb-1.1.14.sigs
@@ -0,0 +1,262 @@
+ldb_add: int (struct ldb_context *, const struct ldb_message *)
+ldb_any_comparison: int (struct ldb_context *, void *, ldb_attr_handler_t, const struct ldb_val *, const struct ldb_val *)
+ldb_asprintf_errstring: void (struct ldb_context *, const char *, ...)
+ldb_attr_casefold: char *(TALLOC_CTX *, const char *)
+ldb_attr_dn: int (const char *)
+ldb_attr_in_list: int (const char * const *, const char *)
+ldb_attr_list_copy: const char **(TALLOC_CTX *, const char * const *)
+ldb_attr_list_copy_add: const char **(TALLOC_CTX *, const char * const *, const char *)
+ldb_base64_decode: int (char *)
+ldb_base64_encode: char *(TALLOC_CTX *, const char *, int)
+ldb_binary_decode: struct ldb_val (TALLOC_CTX *, const char *)
+ldb_binary_encode: char *(TALLOC_CTX *, struct ldb_val)
+ldb_binary_encode_string: char *(TALLOC_CTX *, const char *)
+ldb_build_add_req: int (struct ldb_request **, struct ldb_context *, TALLOC_CTX *, const struct ldb_message *, struct ldb_control **, void *, ldb_request_callback_t, struct ldb_request *)
+ldb_build_del_req: int (struct ldb_request **, struct ldb_context *, TALLOC_CTX *, struct ldb_dn *, struct ldb_control **, void *, ldb_request_callback_t, struct ldb_request *)
+ldb_build_extended_req: int (struct ldb_request **, struct ldb_context *, TALLOC_CTX *, const char *, void *, struct ldb_control **, void *, ldb_request_callback_t, struct ldb_request *)
+ldb_build_mod_req: int (struct ldb_request **, struct ldb_context *, TALLOC_CTX *, const struct ldb_message *, struct ldb_control **, void *, ldb_request_callback_t, struct ldb_request *)
+ldb_build_rename_req: int (struct ldb_request **, struct ldb_context *, TALLOC_CTX *, struct ldb_dn *, struct ldb_dn *, struct ldb_control **, void *, ldb_request_callback_t, struct ldb_request *)
+ldb_build_search_req: int (struct ldb_request **, struct ldb_context *, TALLOC_CTX *, struct ldb_dn *, enum ldb_scope, const char *, const char * const *, struct ldb_control **, void *, ldb_request_callback_t, struct ldb_request *)
+ldb_build_search_req_ex: int (struct ldb_request **, struct ldb_context *, TALLOC_CTX *, struct ldb_dn *, enum ldb_scope, struct ldb_parse_tree *, const char * const *, struct ldb_control **, void *, ldb_request_callback_t, struct ldb_request *)
+ldb_casefold: char *(struct ldb_context *, TALLOC_CTX *, const char *, size_t)
+ldb_casefold_default: char *(void *, TALLOC_CTX *, const char *, size_t)
+ldb_check_critical_controls: int (struct ldb_control **)
+ldb_comparison_binary: int (struct ldb_context *, void *, const struct ldb_val *, const struct ldb_val *)
+ldb_comparison_fold: int (struct ldb_context *, void *, const struct ldb_val *, const struct ldb_val *)
+ldb_connect: int (struct ldb_context *, const char *, unsigned int, const char **)
+ldb_control_to_string: char *(TALLOC_CTX *, const struct ldb_control *)
+ldb_controls_except_specified: struct ldb_control **(struct ldb_control **, TALLOC_CTX *, struct ldb_control *)
+ldb_debug: void (struct ldb_context *, enum ldb_debug_level, const char *, ...)
+ldb_debug_add: void (struct ldb_context *, const char *, ...)
+ldb_debug_end: void (struct ldb_context *, enum ldb_debug_level)
+ldb_debug_set: void (struct ldb_context *, enum ldb_debug_level, const char *, ...)
+ldb_delete: int (struct ldb_context *, struct ldb_dn *)
+ldb_dn_add_base: bool (struct ldb_dn *, struct ldb_dn *)
+ldb_dn_add_base_fmt: bool (struct ldb_dn *, const char *, ...)
+ldb_dn_add_child: bool (struct ldb_dn *, struct ldb_dn *)
+ldb_dn_add_child_fmt: bool (struct ldb_dn *, const char *, ...)
+ldb_dn_alloc_casefold: char *(TALLOC_CTX *, struct ldb_dn *)
+ldb_dn_alloc_linearized: char *(TALLOC_CTX *, struct ldb_dn *)
+ldb_dn_canonical_ex_string: char *(TALLOC_CTX *, struct ldb_dn *)
+ldb_dn_canonical_string: char *(TALLOC_CTX *, struct ldb_dn *)
+ldb_dn_check_local: bool (struct ldb_module *, struct ldb_dn *)
+ldb_dn_check_special: bool (struct ldb_dn *, const char *)
+ldb_dn_compare: int (struct ldb_dn *, struct ldb_dn *)
+ldb_dn_compare_base: int (struct ldb_dn *, struct ldb_dn *)
+ldb_dn_copy: struct ldb_dn *(TALLOC_CTX *, struct ldb_dn *)
+ldb_dn_escape_value: char *(TALLOC_CTX *, struct ldb_val)
+ldb_dn_extended_add_syntax: int (struct ldb_context *, unsigned int, const struct ldb_dn_extended_syntax *)
+ldb_dn_extended_filter: void (struct ldb_dn *, const char * const *)
+ldb_dn_extended_syntax_by_name: const struct ldb_dn_extended_syntax *(struct ldb_context *, const char *)
+ldb_dn_from_ldb_val: struct ldb_dn *(TALLOC_CTX *, struct ldb_context *, const struct ldb_val *)
+ldb_dn_get_casefold: const char *(struct ldb_dn *)
+ldb_dn_get_comp_num: int (struct ldb_dn *)
+ldb_dn_get_component_name: const char *(struct ldb_dn *, unsigned int)
+ldb_dn_get_component_val: const struct ldb_val *(struct ldb_dn *, unsigned int)
+ldb_dn_get_extended_comp_num: int (struct ldb_dn *)
+ldb_dn_get_extended_component: const struct ldb_val *(struct ldb_dn *, const char *)
+ldb_dn_get_extended_linearized: char *(TALLOC_CTX *, struct ldb_dn *, int)
+ldb_dn_get_linearized: const char *(struct ldb_dn *)
+ldb_dn_get_parent: struct ldb_dn *(TALLOC_CTX *, struct ldb_dn *)
+ldb_dn_get_rdn_name: const char *(struct ldb_dn *)
+ldb_dn_get_rdn_val: const struct ldb_val *(struct ldb_dn *)
+ldb_dn_has_extended: bool (struct ldb_dn *)
+ldb_dn_is_null: bool (struct ldb_dn *)
+ldb_dn_is_special: bool (struct ldb_dn *)
+ldb_dn_is_valid: bool (struct ldb_dn *)
+ldb_dn_map_local: struct ldb_dn *(struct ldb_module *, void *, struct ldb_dn *)
+ldb_dn_map_rebase_remote: struct ldb_dn *(struct ldb_module *, void *, struct ldb_dn *)
+ldb_dn_map_remote: struct ldb_dn *(struct ldb_module *, void *, struct ldb_dn *)
+ldb_dn_minimise: bool (struct ldb_dn *)
+ldb_dn_new: struct ldb_dn *(TALLOC_CTX *, struct ldb_context *, const char *)
+ldb_dn_new_fmt: struct ldb_dn *(TALLOC_CTX *, struct ldb_context *, const char *, ...)
+ldb_dn_remove_base_components: bool (struct ldb_dn *, unsigned int)
+ldb_dn_remove_child_components: bool (struct ldb_dn *, unsigned int)
+ldb_dn_remove_extended_components: void (struct ldb_dn *)
+ldb_dn_replace_components: bool (struct ldb_dn *, struct ldb_dn *)
+ldb_dn_set_component: int (struct ldb_dn *, int, const char *, const struct ldb_val)
+ldb_dn_set_extended_component: int (struct ldb_dn *, const char *, const struct ldb_val *)
+ldb_dn_update_components: int (struct ldb_dn *, const struct ldb_dn *)
+ldb_dn_validate: bool (struct ldb_dn *)
+ldb_dump_results: void (struct ldb_context *, struct ldb_result *, FILE *)
+ldb_error_at: int (struct ldb_context *, int, const char *, const char *, int)
+ldb_errstring: const char *(struct ldb_context *)
+ldb_extended: int (struct ldb_context *, const char *, void *, struct ldb_result **)
+ldb_extended_default_callback: int (struct ldb_request *, struct ldb_reply *)
+ldb_filter_from_tree: char *(TALLOC_CTX *, const struct ldb_parse_tree *)
+ldb_get_config_basedn: struct ldb_dn *(struct ldb_context *)
+ldb_get_create_perms: unsigned int (struct ldb_context *)
+ldb_get_default_basedn: struct ldb_dn *(struct ldb_context *)
+ldb_get_event_context: struct tevent_context *(struct ldb_context *)
+ldb_get_flags: unsigned int (struct ldb_context *)
+ldb_get_opaque: void *(struct ldb_context *, const char *)
+ldb_get_root_basedn: struct ldb_dn *(struct ldb_context *)
+ldb_get_schema_basedn: struct ldb_dn *(struct ldb_context *)
+ldb_global_init: int (void)
+ldb_handle_new: struct ldb_handle *(TALLOC_CTX *, struct ldb_context *)
+ldb_handler_copy: int (struct ldb_context *, void *, const struct ldb_val *, struct ldb_val *)
+ldb_handler_fold: int (struct ldb_context *, void *, const struct ldb_val *, struct ldb_val *)
+ldb_init: struct ldb_context *(TALLOC_CTX *, struct tevent_context *)
+ldb_ldif_message_string: char *(struct ldb_context *, TALLOC_CTX *, enum ldb_changetype, const struct ldb_message *)
+ldb_ldif_parse_modrdn: int (struct ldb_context *, const struct ldb_ldif *, TALLOC_CTX *, struct ldb_dn **, struct ldb_dn **, bool *, struct ldb_dn **, struct ldb_dn **)
+ldb_ldif_read: struct ldb_ldif *(struct ldb_context *, int (*)(void *), void *)
+ldb_ldif_read_file: struct ldb_ldif *(struct ldb_context *, FILE *)
+ldb_ldif_read_file_state: struct ldb_ldif *(struct ldb_context *, struct ldif_read_file_state *)
+ldb_ldif_read_free: void (struct ldb_context *, struct ldb_ldif *)
+ldb_ldif_read_string: struct ldb_ldif *(struct ldb_context *, const char **)
+ldb_ldif_write: int (struct ldb_context *, int (*)(void *, const char *, ...), void *, const struct ldb_ldif *)
+ldb_ldif_write_file: int (struct ldb_context *, FILE *, const struct ldb_ldif *)
+ldb_ldif_write_redacted_trace_string: char *(struct ldb_context *, TALLOC_CTX *, const struct ldb_ldif *)
+ldb_ldif_write_string: char *(struct ldb_context *, TALLOC_CTX *, const struct ldb_ldif *)
+ldb_load_modules: int (struct ldb_context *, const char **)
+ldb_map_add: int (struct ldb_module *, struct ldb_request *)
+ldb_map_delete: int (struct ldb_module *, struct ldb_request *)
+ldb_map_init: int (struct ldb_module *, const struct ldb_map_attribute *, const struct ldb_map_objectclass *, const char * const *, const char *, const char *)
+ldb_map_modify: int (struct ldb_module *, struct ldb_request *)
+ldb_map_rename: int (struct ldb_module *, struct ldb_request *)
+ldb_map_search: int (struct ldb_module *, struct ldb_request *)
+ldb_match_msg: int (struct ldb_context *, const struct ldb_message *, const struct ldb_parse_tree *, struct ldb_dn *, enum ldb_scope)
+ldb_match_msg_error: int (struct ldb_context *, const struct ldb_message *, const struct ldb_parse_tree *, struct ldb_dn *, enum ldb_scope, bool *)
+ldb_match_msg_objectclass: int (const struct ldb_message *, const char *)
+ldb_mod_register_control: int (struct ldb_module *, const char *)
+ldb_modify: int (struct ldb_context *, const struct ldb_message *)
+ldb_modify_default_callback: int (struct ldb_request *, struct ldb_reply *)
+ldb_module_call_chain: char *(struct ldb_request *, TALLOC_CTX *)
+ldb_module_connect_backend: int (struct ldb_context *, const char *, const char **, struct ldb_module **)
+ldb_module_done: int (struct ldb_request *, struct ldb_control **, struct ldb_extended *, int)
+ldb_module_flags: uint32_t (struct ldb_context *)
+ldb_module_get_ctx: struct ldb_context *(struct ldb_module *)
+ldb_module_get_name: const char *(struct ldb_module *)
+ldb_module_get_ops: const struct ldb_module_ops *(struct ldb_module *)
+ldb_module_get_private: void *(struct ldb_module *)
+ldb_module_init_chain: int (struct ldb_context *, struct ldb_module *)
+ldb_module_load_list: int (struct ldb_context *, const char **, struct ldb_module *, struct ldb_module **)
+ldb_module_new: struct ldb_module *(TALLOC_CTX *, struct ldb_context *, const char *, const struct ldb_module_ops *)
+ldb_module_next: struct ldb_module *(struct ldb_module *)
+ldb_module_popt_options: struct poptOption **(struct ldb_context *)
+ldb_module_send_entry: int (struct ldb_request *, struct ldb_message *, struct ldb_control **)
+ldb_module_send_referral: int (struct ldb_request *, char *)
+ldb_module_set_next: void (struct ldb_module *, struct ldb_module *)
+ldb_module_set_private: void (struct ldb_module *, void *)
+ldb_modules_hook: int (struct ldb_context *, enum ldb_module_hook_type)
+ldb_modules_list_from_string: const char **(struct ldb_context *, TALLOC_CTX *, const char *)
+ldb_modules_load: int (const char *, const char *)
+ldb_msg_add: int (struct ldb_message *, const struct ldb_message_element *, int)
+ldb_msg_add_empty: int (struct ldb_message *, const char *, int, struct ldb_message_element **)
+ldb_msg_add_fmt: int (struct ldb_message *, const char *, const char *, ...)
+ldb_msg_add_linearized_dn: int (struct ldb_message *, const char *, struct ldb_dn *)
+ldb_msg_add_steal_string: int (struct ldb_message *, const char *, char *)
+ldb_msg_add_steal_value: int (struct ldb_message *, const char *, struct ldb_val *)
+ldb_msg_add_string: int (struct ldb_message *, const char *, const char *)
+ldb_msg_add_value: int (struct ldb_message *, const char *, const struct ldb_val *, struct ldb_message_element **)
+ldb_msg_canonicalize: struct ldb_message *(struct ldb_context *, const struct ldb_message *)
+ldb_msg_check_string_attribute: int (const struct ldb_message *, const char *, const char *)
+ldb_msg_copy: struct ldb_message *(TALLOC_CTX *, const struct ldb_message *)
+ldb_msg_copy_attr: int (struct ldb_message *, const char *, const char *)
+ldb_msg_copy_shallow: struct ldb_message *(TALLOC_CTX *, const struct ldb_message *)
+ldb_msg_diff: struct ldb_message *(struct ldb_context *, struct ldb_message *, struct ldb_message *)
+ldb_msg_difference: int (struct ldb_context *, TALLOC_CTX *, struct ldb_message *, struct ldb_message *, struct ldb_message **)
+ldb_msg_element_compare: int (struct ldb_message_element *, struct ldb_message_element *)
+ldb_msg_element_compare_name: int (struct ldb_message_element *, struct ldb_message_element *)
+ldb_msg_element_equal_ordered: bool (const struct ldb_message_element *, const struct ldb_message_element *)
+ldb_msg_find_attr_as_bool: int (const struct ldb_message *, const char *, int)
+ldb_msg_find_attr_as_dn: struct ldb_dn *(struct ldb_context *, TALLOC_CTX *, const struct ldb_message *, const char *)
+ldb_msg_find_attr_as_double: double (const struct ldb_message *, const char *, double)
+ldb_msg_find_attr_as_int: int (const struct ldb_message *, const char *, int)
+ldb_msg_find_attr_as_int64: int64_t (const struct ldb_message *, const char *, int64_t)
+ldb_msg_find_attr_as_string: const char *(const struct ldb_message *, const char *, const char *)
+ldb_msg_find_attr_as_uint: unsigned int (const struct ldb_message *, const char *, unsigned int)
+ldb_msg_find_attr_as_uint64: uint64_t (const struct ldb_message *, const char *, uint64_t)
+ldb_msg_find_element: struct ldb_message_element *(const struct ldb_message *, const char *)
+ldb_msg_find_ldb_val: const struct ldb_val *(const struct ldb_message *, const char *)
+ldb_msg_find_val: struct ldb_val *(const struct ldb_message_element *, struct ldb_val *)
+ldb_msg_new: struct ldb_message *(TALLOC_CTX *)
+ldb_msg_normalize: int (struct ldb_context *, TALLOC_CTX *, const struct ldb_message *, struct ldb_message **)
+ldb_msg_remove_attr: void (struct ldb_message *, const char *)
+ldb_msg_remove_element: void (struct ldb_message *, struct ldb_message_element *)
+ldb_msg_rename_attr: int (struct ldb_message *, const char *, const char *)
+ldb_msg_sanity_check: int (struct ldb_context *, const struct ldb_message *)
+ldb_msg_sort_elements: void (struct ldb_message *)
+ldb_next_del_trans: int (struct ldb_module *)
+ldb_next_end_trans: int (struct ldb_module *)
+ldb_next_init: int (struct ldb_module *)
+ldb_next_prepare_commit: int (struct ldb_module *)
+ldb_next_remote_request: int (struct ldb_module *, struct ldb_request *)
+ldb_next_request: int (struct ldb_module *, struct ldb_request *)
+ldb_next_start_trans: int (struct ldb_module *)
+ldb_op_default_callback: int (struct ldb_request *, struct ldb_reply *)
+ldb_options_find: const char *(struct ldb_context *, const char **, const char *)
+ldb_pack_data: int (struct ldb_context *, const struct ldb_message *, struct ldb_val *)
+ldb_parse_control_from_string: struct ldb_control *(struct ldb_context *, TALLOC_CTX *, const char *)
+ldb_parse_control_strings: struct ldb_control **(struct ldb_context *, TALLOC_CTX *, const char **)
+ldb_parse_tree: struct ldb_parse_tree *(TALLOC_CTX *, const char *)
+ldb_parse_tree_attr_replace: void (struct ldb_parse_tree *, const char *, const char *)
+ldb_parse_tree_copy_shallow: struct ldb_parse_tree *(TALLOC_CTX *, const struct ldb_parse_tree *)
+ldb_parse_tree_walk: int (struct ldb_parse_tree *, int (*)(struct ldb_parse_tree *, void *), void *)
+ldb_qsort: void (void * const, size_t, size_t, void *, ldb_qsort_cmp_fn_t)
+ldb_register_backend: int (const char *, ldb_connect_fn, bool)
+ldb_register_hook: int (ldb_hook_fn)
+ldb_register_module: int (const struct ldb_module_ops *)
+ldb_rename: int (struct ldb_context *, struct ldb_dn *, struct ldb_dn *)
+ldb_reply_add_control: int (struct ldb_reply *, const char *, bool, void *)
+ldb_reply_get_control: struct ldb_control *(struct ldb_reply *, const char *)
+ldb_req_get_custom_flags: uint32_t (struct ldb_request *)
+ldb_req_is_untrusted: bool (struct ldb_request *)
+ldb_req_location: const char *(struct ldb_request *)
+ldb_req_mark_trusted: void (struct ldb_request *)
+ldb_req_mark_untrusted: void (struct ldb_request *)
+ldb_req_set_custom_flags: void (struct ldb_request *, uint32_t)
+ldb_req_set_location: void (struct ldb_request *, const char *)
+ldb_request: int (struct ldb_context *, struct ldb_request *)
+ldb_request_add_control: int (struct ldb_request *, const char *, bool, void *)
+ldb_request_done: int (struct ldb_request *, int)
+ldb_request_get_control: struct ldb_control *(struct ldb_request *, const char *)
+ldb_request_get_status: int (struct ldb_request *)
+ldb_request_replace_control: int (struct ldb_request *, const char *, bool, void *)
+ldb_request_set_state: void (struct ldb_request *, int)
+ldb_reset_err_string: void (struct ldb_context *)
+ldb_save_controls: int (struct ldb_control *, struct ldb_request *, struct ldb_control ***)
+ldb_schema_attribute_add: int (struct ldb_context *, const char *, unsigned int, const char *)
+ldb_schema_attribute_add_with_syntax: int (struct ldb_context *, const char *, unsigned int, const struct ldb_schema_syntax *)
+ldb_schema_attribute_by_name: const struct ldb_schema_attribute *(struct ldb_context *, const char *)
+ldb_schema_attribute_remove: void (struct ldb_context *, const char *)
+ldb_schema_attribute_set_override_handler: void (struct ldb_context *, ldb_attribute_handler_override_fn_t, void *)
+ldb_search: int (struct ldb_context *, TALLOC_CTX *, struct ldb_result **, struct ldb_dn *, enum ldb_scope, const char * const *, const char *, ...)
+ldb_search_default_callback: int (struct ldb_request *, struct ldb_reply *)
+ldb_sequence_number: int (struct ldb_context *, enum ldb_sequence_type, uint64_t *)
+ldb_set_create_perms: void (struct ldb_context *, unsigned int)
+ldb_set_debug: int (struct ldb_context *, void (*)(void *, enum ldb_debug_level, const char *, va_list), void *)
+ldb_set_debug_stderr: int (struct ldb_context *)
+ldb_set_default_dns: void (struct ldb_context *)
+ldb_set_errstring: void (struct ldb_context *, const char *)
+ldb_set_event_context: void (struct ldb_context *, struct tevent_context *)
+ldb_set_flags: void (struct ldb_context *, unsigned int)
+ldb_set_modules_dir: void (struct ldb_context *, const char *)
+ldb_set_opaque: int (struct ldb_context *, const char *, void *)
+ldb_set_timeout: int (struct ldb_context *, struct ldb_request *, int)
+ldb_set_timeout_from_prev_req: int (struct ldb_context *, struct ldb_request *, struct ldb_request *)
+ldb_set_utf8_default: void (struct ldb_context *)
+ldb_set_utf8_fns: void (struct ldb_context *, void *, char *(*)(void *, void *, const char *, size_t))
+ldb_setup_wellknown_attributes: int (struct ldb_context *)
+ldb_should_b64_encode: int (struct ldb_context *, const struct ldb_val *)
+ldb_standard_syntax_by_name: const struct ldb_schema_syntax *(struct ldb_context *, const char *)
+ldb_strerror: const char *(int)
+ldb_string_to_time: time_t (const char *)
+ldb_string_utc_to_time: time_t (const char *)
+ldb_timestring: char *(TALLOC_CTX *, time_t)
+ldb_timestring_utc: char *(TALLOC_CTX *, time_t)
+ldb_transaction_cancel: int (struct ldb_context *)
+ldb_transaction_cancel_noerr: int (struct ldb_context *)
+ldb_transaction_commit: int (struct ldb_context *)
+ldb_transaction_prepare_commit: int (struct ldb_context *)
+ldb_transaction_start: int (struct ldb_context *)
+ldb_unpack_data: int (struct ldb_context *, const struct ldb_val *, struct ldb_message *)
+ldb_val_dup: struct ldb_val (TALLOC_CTX *, const struct ldb_val *)
+ldb_val_equal_exact: int (const struct ldb_val *, const struct ldb_val *)
+ldb_val_map_local: struct ldb_val (struct ldb_module *, void *, const struct ldb_map_attribute *, const struct ldb_val *)
+ldb_val_map_remote: struct ldb_val (struct ldb_module *, void *, const struct ldb_map_attribute *, const struct ldb_val *)
+ldb_val_string_cmp: int (const struct ldb_val *, const char *)
+ldb_val_to_time: int (const struct ldb_val *, time_t *)
+ldb_valid_attr_name: int (const char *)
+ldb_vdebug: void (struct ldb_context *, enum ldb_debug_level, const char *, va_list)
+ldb_wait: int (struct ldb_handle *, enum ldb_wait_type)
diff --git a/lib/ldb/ABI/ldb-1.1.15.sigs b/lib/ldb/ABI/ldb-1.1.15.sigs
new file mode 100644
index 0000000..eac5194
--- /dev/null
+++ b/lib/ldb/ABI/ldb-1.1.15.sigs
@@ -0,0 +1,262 @@
+ldb_add: int (struct ldb_context *, const struct ldb_message *)
+ldb_any_comparison: int (struct ldb_context *, void *, ldb_attr_handler_t, const struct ldb_val *, const struct ldb_val *)
+ldb_asprintf_errstring: void (struct ldb_context *, const char *, ...)
+ldb_attr_casefold: char *(TALLOC_CTX *, const char *)
+ldb_attr_dn: int (const char *)
+ldb_attr_in_list: int (const char * const *, const char *)
+ldb_attr_list_copy: const char **(TALLOC_CTX *, const char * const *)
+ldb_attr_list_copy_add: const char **(TALLOC_CTX *, const char * const *, const char *)
+ldb_base64_decode: int (char *)
+ldb_base64_encode: char *(TALLOC_CTX *, const char *, int)
+ldb_binary_decode: struct ldb_val (TALLOC_CTX *, const char *)
+ldb_binary_encode: char *(TALLOC_CTX *, struct ldb_val)
+ldb_binary_encode_string: char *(TALLOC_CTX *, const char *)
+ldb_build_add_req: int (struct ldb_request **, struct ldb_context *, TALLOC_CTX *, const struct ldb_message *, struct ldb_control **, void *, ldb_request_callback_t, struct ldb_request *)
+ldb_build_del_req: int (struct ldb_request **, struct ldb_context *, TALLOC_CTX *, struct ldb_dn *, struct ldb_control **, void *, ldb_request_callback_t, struct ldb_request *)
+ldb_build_extended_req: int (struct ldb_request **, struct ldb_context *, TALLOC_CTX *, const char *, void *, struct ldb_control **, void *, ldb_request_callback_t, struct ldb_request *)
+ldb_build_mod_req: int (struct ldb_request **, struct ldb_context *, TALLOC_CTX *, const struct ldb_message *, struct ldb_control **, void *, ldb_request_callback_t, struct ldb_request *)
+ldb_build_rename_req: int (struct ldb_request **, struct ldb_context *, TALLOC_CTX *, struct ldb_dn *, struct ldb_dn *, struct ldb_control **, void *, ldb_request_callback_t, struct ldb_request *)
+ldb_build_search_req: int (struct ldb_request **, struct ldb_context *, TALLOC_CTX *, struct ldb_dn *, enum ldb_scope, const char *, const char * const *, struct ldb_control **, void *, ldb_request_callback_t, struct ldb_request *)
+ldb_build_search_req_ex: int (struct ldb_request **, struct ldb_context *, TALLOC_CTX *, struct ldb_dn *, enum ldb_scope, struct ldb_parse_tree *, const char * const *, struct ldb_control **, void *, ldb_request_callback_t, struct ldb_request *)
+ldb_casefold: char *(struct ldb_context *, TALLOC_CTX *, const char *, size_t)
+ldb_casefold_default: char *(void *, TALLOC_CTX *, const char *, size_t)
+ldb_check_critical_controls: int (struct ldb_control **)
+ldb_comparison_binary: int (struct ldb_context *, void *, const struct ldb_val *, const struct ldb_val *)
+ldb_comparison_fold: int (struct ldb_context *, void *, const struct ldb_val *, const struct ldb_val *)
+ldb_connect: int (struct ldb_context *, const char *, unsigned int, const char **)
+ldb_control_to_string: char *(TALLOC_CTX *, const struct ldb_control *)
+ldb_controls_except_specified: struct ldb_control **(struct ldb_control **, TALLOC_CTX *, struct ldb_control *)
+ldb_debug: void (struct ldb_context *, enum ldb_debug_level, const char *, ...)
+ldb_debug_add: void (struct ldb_context *, const char *, ...)
+ldb_debug_end: void (struct ldb_context *, enum ldb_debug_level)
+ldb_debug_set: void (struct ldb_context *, enum ldb_debug_level, const char *, ...)
+ldb_delete: int (struct ldb_context *, struct ldb_dn *)
+ldb_dn_add_base: bool (struct ldb_dn *, struct ldb_dn *)
+ldb_dn_add_base_fmt: bool (struct ldb_dn *, const char *, ...)
+ldb_dn_add_child: bool (struct ldb_dn *, struct ldb_dn *)
+ldb_dn_add_child_fmt: bool (struct ldb_dn *, const char *, ...)
+ldb_dn_alloc_casefold: char *(TALLOC_CTX *, struct ldb_dn *)
+ldb_dn_alloc_linearized: char *(TALLOC_CTX *, struct ldb_dn *)
+ldb_dn_canonical_ex_string: char *(TALLOC_CTX *, struct ldb_dn *)
+ldb_dn_canonical_string: char *(TALLOC_CTX *, struct ldb_dn *)
+ldb_dn_check_local: bool (struct ldb_module *, struct ldb_dn *)
+ldb_dn_check_special: bool (struct ldb_dn *, const char *)
+ldb_dn_compare: int (struct ldb_dn *, struct ldb_dn *)
+ldb_dn_compare_base: int (struct ldb_dn *, struct ldb_dn *)
+ldb_dn_copy: struct ldb_dn *(TALLOC_CTX *, struct ldb_dn *)
+ldb_dn_escape_value: char *(TALLOC_CTX *, struct ldb_val)
+ldb_dn_extended_add_syntax: int (struct ldb_context *, unsigned int, const struct ldb_dn_extended_syntax *)
+ldb_dn_extended_filter: void (struct ldb_dn *, const char * const *)
+ldb_dn_extended_syntax_by_name: const struct ldb_dn_extended_syntax *(struct ldb_context *, const char *)
+ldb_dn_from_ldb_val: struct ldb_dn *(TALLOC_CTX *, struct ldb_context *, const struct ldb_val *)
+ldb_dn_get_casefold: const char *(struct ldb_dn *)
+ldb_dn_get_comp_num: int (struct ldb_dn *)
+ldb_dn_get_component_name: const char *(struct ldb_dn *, unsigned int)
+ldb_dn_get_component_val: const struct ldb_val *(struct ldb_dn *, unsigned int)
+ldb_dn_get_extended_comp_num: int (struct ldb_dn *)
+ldb_dn_get_extended_component: const struct ldb_val *(struct ldb_dn *, const char *)
+ldb_dn_get_extended_linearized: char *(TALLOC_CTX *, struct ldb_dn *, int)
+ldb_dn_get_linearized: const char *(struct ldb_dn *)
+ldb_dn_get_parent: struct ldb_dn *(TALLOC_CTX *, struct ldb_dn *)
+ldb_dn_get_rdn_name: const char *(struct ldb_dn *)
+ldb_dn_get_rdn_val: const struct ldb_val *(struct ldb_dn *)
+ldb_dn_has_extended: bool (struct ldb_dn *)
+ldb_dn_is_null: bool (struct ldb_dn *)
+ldb_dn_is_special: bool (struct ldb_dn *)
+ldb_dn_is_valid: bool (struct ldb_dn *)
+ldb_dn_map_local: struct ldb_dn *(struct ldb_module *, void *, struct ldb_dn *)
+ldb_dn_map_rebase_remote: struct ldb_dn *(struct ldb_module *, void *, struct ldb_dn *)
+ldb_dn_map_remote: struct ldb_dn *(struct ldb_module *, void *, struct ldb_dn *)
+ldb_dn_minimise: bool (struct ldb_dn *)
+ldb_dn_new: struct ldb_dn *(TALLOC_CTX *, struct ldb_context *, const char *)
+ldb_dn_new_fmt: struct ldb_dn *(TALLOC_CTX *, struct ldb_context *, const char *, ...)
+ldb_dn_remove_base_components: bool (struct ldb_dn *, unsigned int)
+ldb_dn_remove_child_components: bool (struct ldb_dn *, unsigned int)
+ldb_dn_remove_extended_components: void (struct ldb_dn *)
+ldb_dn_replace_components: bool (struct ldb_dn *, struct ldb_dn *)
+ldb_dn_set_component: int (struct ldb_dn *, int, const char *, const struct ldb_val)
+ldb_dn_set_extended_component: int (struct ldb_dn *, const char *, const struct ldb_val *)
+ldb_dn_update_components: int (struct ldb_dn *, const struct ldb_dn *)
+ldb_dn_validate: bool (struct ldb_dn *)
+ldb_dump_results: void (struct ldb_context *, struct ldb_result *, FILE *)
+ldb_error_at: int (struct ldb_context *, int, const char *, const char *, int)
+ldb_errstring: const char *(struct ldb_context *)
+ldb_extended: int (struct ldb_context *, const char *, void *, struct ldb_result **)
+ldb_extended_default_callback: int (struct ldb_request *, struct ldb_reply *)
+ldb_filter_from_tree: char *(TALLOC_CTX *, const struct ldb_parse_tree *)
+ldb_get_config_basedn: struct ldb_dn *(struct ldb_context *)
+ldb_get_create_perms: unsigned int (struct ldb_context *)
+ldb_get_default_basedn: struct ldb_dn *(struct ldb_context *)
+ldb_get_event_context: struct tevent_context *(struct ldb_context *)
+ldb_get_flags: unsigned int (struct ldb_context *)
+ldb_get_opaque: void *(struct ldb_context *, const char *)
+ldb_get_root_basedn: struct ldb_dn *(struct ldb_context *)
+ldb_get_schema_basedn: struct ldb_dn *(struct ldb_context *)
+ldb_global_init: int (void)
+ldb_handle_new: struct ldb_handle *(TALLOC_CTX *, struct ldb_context *)
+ldb_handler_copy: int (struct ldb_context *, void *, const struct ldb_val *, struct ldb_val *)
+ldb_handler_fold: int (struct ldb_context *, void *, const struct ldb_val *, struct ldb_val *)
+ldb_init: struct ldb_context *(TALLOC_CTX *, struct tevent_context *)
+ldb_ldif_message_string: char *(struct ldb_context *, TALLOC_CTX *, enum ldb_changetype, const struct ldb_message *)
+ldb_ldif_parse_modrdn: int (struct ldb_context *, const struct ldb_ldif *, TALLOC_CTX *, struct ldb_dn **, struct ldb_dn **, bool *, struct ldb_dn **, struct ldb_dn **)
+ldb_ldif_read: struct ldb_ldif *(struct ldb_context *, int (*)(void *), void *)
+ldb_ldif_read_file: struct ldb_ldif *(struct ldb_context *, FILE *)
+ldb_ldif_read_file_state: struct ldb_ldif *(struct ldb_context *, struct ldif_read_file_state *)
+ldb_ldif_read_free: void (struct ldb_context *, struct ldb_ldif *)
+ldb_ldif_read_string: struct ldb_ldif *(struct ldb_context *, const char **)
+ldb_ldif_write: int (struct ldb_context *, int (*)(void *, const char *, ...), void *, const struct ldb_ldif *)
+ldb_ldif_write_file: int (struct ldb_context *, FILE *, const struct ldb_ldif *)
+ldb_ldif_write_redacted_trace_string: char *(struct ldb_context *, TALLOC_CTX *, const struct ldb_ldif *)
+ldb_ldif_write_string: char *(struct ldb_context *, TALLOC_CTX *, const struct ldb_ldif *)
+ldb_load_modules: int (struct ldb_context *, const char **)
+ldb_map_add: int (struct ldb_module *, struct ldb_request *)
+ldb_map_delete: int (struct ldb_module *, struct ldb_request *)
+ldb_map_init: int (struct ldb_module *, const struct ldb_map_attribute *, const struct ldb_map_objectclass *, const char * const *, const char *, const char *)
+ldb_map_modify: int (struct ldb_module *, struct ldb_request *)
+ldb_map_rename: int (struct ldb_module *, struct ldb_request *)
+ldb_map_search: int (struct ldb_module *, struct ldb_request *)
+ldb_match_msg: int (struct ldb_context *, const struct ldb_message *, const struct ldb_parse_tree *, struct ldb_dn *, enum ldb_scope)
+ldb_match_msg_error: int (struct ldb_context *, const struct ldb_message *, const struct ldb_parse_tree *, struct ldb_dn *, enum ldb_scope, bool *)
+ldb_match_msg_objectclass: int (const struct ldb_message *, const char *)
+ldb_mod_register_control: int (struct ldb_module *, const char *)
+ldb_modify: int (struct ldb_context *, const struct ldb_message *)
+ldb_modify_default_callback: int (struct ldb_request *, struct ldb_reply *)
+ldb_module_call_chain: char *(struct ldb_request *, TALLOC_CTX *)
+ldb_module_connect_backend: int (struct ldb_context *, const char *, const char **, struct ldb_module **)
+ldb_module_done: int (struct ldb_request *, struct ldb_control **, struct ldb_extended *, int)
+ldb_module_flags: uint32_t (struct ldb_context *)
+ldb_module_get_ctx: struct ldb_context *(struct ldb_module *)
+ldb_module_get_name: const char *(struct ldb_module *)
+ldb_module_get_ops: const struct ldb_module_ops *(struct ldb_module *)
+ldb_module_get_private: void *(struct ldb_module *)
+ldb_module_init_chain: int (struct ldb_context *, struct ldb_module *)
+ldb_module_load_list: int (struct ldb_context *, const char **, struct ldb_module *, struct ldb_module **)
+ldb_module_new: struct ldb_module *(TALLOC_CTX *, struct ldb_context *, const char *, const struct ldb_module_ops *)
+ldb_module_next: struct ldb_module *(struct ldb_module *)
+ldb_module_popt_options: struct poptOption **(struct ldb_context *)
+ldb_module_send_entry: int (struct ldb_request *, struct ldb_message *, struct ldb_control **)
+ldb_module_send_referral: int (struct ldb_request *, char *)
+ldb_module_set_next: void (struct ldb_module *, struct ldb_module *)
+ldb_module_set_private: void (struct ldb_module *, void *)
+ldb_modules_hook: int (struct ldb_context *, enum ldb_module_hook_type)
+ldb_modules_list_from_string: const char **(struct ldb_context *, TALLOC_CTX *, const char *)
+ldb_modules_load: int (const char *, const char *)
+ldb_msg_add: int (struct ldb_message *, const struct ldb_message_element *, int)
+ldb_msg_add_empty: int (struct ldb_message *, const char *, int, struct ldb_message_element **)
+ldb_msg_add_fmt: int (struct ldb_message *, const char *, const char *, ...)
+ldb_msg_add_linearized_dn: int (struct ldb_message *, const char *, struct ldb_dn *)
+ldb_msg_add_steal_string: int (struct ldb_message *, const char *, char *)
+ldb_msg_add_steal_value: int (struct ldb_message *, const char *, struct ldb_val *)
+ldb_msg_add_string: int (struct ldb_message *, const char *, const char *)
+ldb_msg_add_value: int (struct ldb_message *, const char *, const struct ldb_val *, struct ldb_message_element **)
+ldb_msg_canonicalize: struct ldb_message *(struct ldb_context *, const struct ldb_message *)
+ldb_msg_check_string_attribute: int (const struct ldb_message *, const char *, const char *)
+ldb_msg_copy: struct ldb_message *(TALLOC_CTX *, const struct ldb_message *)
+ldb_msg_copy_attr: int (struct ldb_message *, const char *, const char *)
+ldb_msg_copy_shallow: struct ldb_message *(TALLOC_CTX *, const struct ldb_message *)
+ldb_msg_diff: struct ldb_message *(struct ldb_context *, struct ldb_message *, struct ldb_message *)
+ldb_msg_difference: int (struct ldb_context *, TALLOC_CTX *, struct ldb_message *, struct ldb_message *, struct ldb_message **)
+ldb_msg_element_compare: int (struct ldb_message_element *, struct ldb_message_element *)
+ldb_msg_element_compare_name: int (struct ldb_message_element *, struct ldb_message_element *)
+ldb_msg_element_equal_ordered: bool (const struct ldb_message_element *, const struct ldb_message_element *)
+ldb_msg_find_attr_as_bool: int (const struct ldb_message *, const char *, int)
+ldb_msg_find_attr_as_dn: struct ldb_dn *(struct ldb_context *, TALLOC_CTX *, const struct ldb_message *, const char *)
+ldb_msg_find_attr_as_double: double (const struct ldb_message *, const char *, double)


-- 
Samba Shared Repository


More information about the samba-cvs mailing list