summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
2010-06-07s4:ldap.py - enhance the rename tests to demonstrate the functionalityMatthias Dieter Wallnöfer1-0/+37
2010-06-07s4:ldb python bindings - implement comparison on Python LDB Message objectsMatthieu Patou1-2/+38
Coauthors: Jelmer Vernooij, Matthias Dieter Wallnöfer
2010-06-06ldb:ldb_msg_remove_attr - provide a better implementationMatthias Dieter Wallnöfer1-2/+3
We can have some special (bad) messages which contain multiple message elements for the same attribute. The AD password change ones are such an example.
2010-06-06s4:ldap.py - enhance the RDN name test to show that invalid "name" ↵Matthias Dieter Wallnöfer1-1/+3
attributes are allowed on add operations
2010-06-06s4:rdn_name LDB module - use "ldb_msg_remove_attr" for deleting attributesMatthias Dieter Wallnöfer1-4/+2
2010-06-06s4:rdn_name LDB module - remove "rdn_name_find_attribute"Matthias Dieter Wallnöfer1-15/+2
It does exactly the same as "ldb_msg_find_element".
2010-06-06ldb:ltdb_filter_attrs - fix a counter variable typeMatthias Dieter Wallnöfer1-2/+3
2010-06-06s4:urgent_replication.py - specify the "dnsRoot" attribute which is ↵Matthias Dieter Wallnöfer1-0/+1
requested on "crossRef" entries
2010-06-06s4:ldap.py - make sure that also the "posixuser" will be deleted on test ↵Matthias Dieter Wallnöfer1-0/+1
breakages
2010-06-02s4:ldb_msg_element_compare - fix typo in commentMatthias Dieter Wallnöfer1-1/+1
2010-06-02s4:lib/ldb/pyldb_util.c - add a cast to quiet a warningMatthias Dieter Wallnöfer1-1/+1
Jelmer, please fix if it isn't correct.
2010-05-31pyldb_util: Remove dependency on LIBPYTHON - it's already thereJelmer Vernooij1-2/+1
implicitly and not available in the standalone build.
2010-05-31ldb:ldb_msg_add_steal_string - prevent also there the addition of strings ↵Matthias Dieter Wallnöfer1-0/+5
with length 0
2010-05-31Revert "ldb: Remove Samba-specific symbols."Simo Sorce1-0/+5
This reverts commit fe8302b235197e359a20ba0489eb72b54793963e. Jelmer, please do not re-re-revert this until we can properly handle *both* s4 and standalone ldb builds.
2010-05-31pyldb: Remove duplicate copy of function.Jelmer Vernooij1-28/+0
2010-05-31ldb: Remove unexisting and mistyped function from headerSimo Sorce1-2/+0
2010-05-31ldb: Install ldb_handlers.h header.Jelmer Vernooij1-3/+3
2010-05-31ldb: Remove Samba-specific symbols.Jelmer Vernooij1-5/+0
2010-05-31ldb: Move utility functions to separate file.Jelmer Vernooij2-4/+88
2010-05-31ldb: Fix dependencies when building with system ldb.Jelmer Vernooij5-10/+34
2010-05-31ldb: Revert signature file changes made in ↵Kai Blin1-0/+5
151e239bcf2860411527a953d627b2d724c0a57e
2010-05-31ldb/waf: Fix build with system and bundled ldb.Jelmer Vernooij2-9/+5
2010-05-31waf: Refactor manpage building code.Jelmer Vernooij1-3/+5
2010-05-31Add manpages argument to SAMBA_LIBRARY().Jelmer Vernooij1-16/+3
2010-05-31s4-waf: Fixed the ldb build.Stefan Metzmacher1-3/+3
2010-05-31ldb: Support building with system ldb libraryJelmer Vernooij1-13/+12
2010-05-31ldb: Remove manual pages for binaries that have already been moved to utils/.Jelmer Vernooij3-167/+1
2010-05-31ldb-waf: Fix installation path of manpages, simplify manpage handling.Jelmer Vernooij1-5/+3
2010-05-30s4:tests/python/passwords.py - fix filterMatthias Dieter Wallnöfer1-1/+1
2010-05-30ldb:ldb_tdb/ldb_tdb.c - quiet a warning regarding TDB -> LDB error code ↵Matthias Dieter Wallnöfer1-0/+2
conversions
2010-05-30s4:ldap.py - add a test which shows the modification behaviour of important ↵Matthias Dieter Wallnöfer1-0/+104
attributes This shows how important attributes of SAM objects do behave when you launch add and delete modify requests on them.
2010-05-30s4:ldap.py - add more test cases to show invalid primary group change behaviourMatthias Dieter Wallnöfer1-0/+23
2010-05-24ldb-waf: Install manual pages for ldb in standalone build, installJelmer Vernooij1-4/+23
python module.
2010-05-24s4:"rdn_name" LDB module - fix the creation of the RDN attribute (try to ↵Matthias Dieter Wallnöfer1-6/+20
normalise it) And return always the correct error codes on the failed add operations (should anyway be ERR_OPERATIONS_ERROR - therefore no behaviour change).
2010-05-22s4:ldb_controls: make it possible to pass arbitrary control via the command lineStefan Metzmacher1-0/+34
--controls=local_oid:1.3.6.1.4.1.7165.4.3.7:1 To specify the DSDB_CONTROL_PASSWORD_HASH_VALUES_OID control as critical. metze
2010-05-21s4:ldb: add --controls support to ldbeditStefan Metzmacher1-5/+12
metze
2010-05-21s4:libcli/ldap Rename ldap.h to libcli_ldap.hAndrew Bartlett1-1/+1
It is a problem if a samba header is called ldap.h if we also want to use OpenLDAP's ldap.h Andrew Bartlett
2010-05-13ldb:ldb_msg.c - use result constantMatthias Dieter Wallnöfer1-1/+1
2010-05-10s4/dn: handle case 'base' dn has no componentsKamen Mazdrashki1-1/+1
This could if the 'base' dn is special for example.
2010-05-10s4:passwords.py - add a python unittest for additional testing of my ↵Matthias Dieter Wallnöfer1-0/+579
passwords work This performs checks on direct password changes over LDB/LDAP. Indirect password changes over the RPCs are already tested by some torture suite (SAMR passwords). So no need to do this again here.
2010-05-05s4-ldb: check for ldap_initializeAndrew Tridgell1-1/+1
HPUX 11.0 has a ldap library that doesn't have ldap_initialize
2010-05-05s4-ldb: add msg saying which build system is being usedAndrew Tridgell1-0/+2
(this is a gratuituous commit to trigger the build farm to rebuild ldb on all systems)
2010-05-04s4/waf: ABI update for lib/ldbAnatoliy Atanasov2-1/+225
2010-05-04s4/rodc: Support read-only databaseAnatoliy Atanasov2-0/+49
Check on modify if we are RODC and return referral. On the ldap backend side now we pass context and ldb_modify_default_callback to propagate the referral error to the client.
2010-05-04s4/rodc: Fix the callbacks up the stack to handle referrals on modify requestsAnatoliy Atanasov1-0/+15
2010-05-03s4/test: Implement tests for msDS-isRODC constructed attributeAnatoliy Atanasov1-0/+39
This attribute will be returned for objects with objectClass=nTDSDSA,server and computer
2010-05-02s4-ldb: use a parent context in the ldb utilsAndrew Tridgell6-12/+20
This avoids a talloc free with references error on exit
2010-04-29s4/test: schemaInfo may not to be set yetKamen Mazdrashki1-7/+15
On newly provisioned Forest schemaInfo is not initially set. It should be created after firs Schema modification
2010-04-20pytalloc: ensure talloc_ctx is directly after PyObject_HEADAndrew Tridgell1-6/+6
the talloc python interface for tp_alloc and tp_dealloc relies on a cast to a py_talloc_Object to find the talloc_ctx (see py_talloc_dealloc). This means we rely on the talloc_ctx for the object being directly after the PyObject_HEAD This fixes the talloc free with references bug in samba_dnsupdate The actual problem was the tp_alloc() call in PyCredentialCacheContainer_from_ccache_container() which used a cast from a py_talloc_Object to a PyCredentialCacheContainerObject. That case effectively changed the parent/child relationship between the talloc_ctx and the ccc ptr. This patch changes all the structures that follow this pattern to put the TALLOC_CTX directly after the PyObject_HEAD, to ensure that if anyone else decides to do a dangerous cast like this that it won't cause the same sort of subtle breakage. Pair-Programmed-With: Rusty Russell <rusty@samba.org>
2010-04-20Removed more excess looping and fixed problem with incorrect IO flag handling.Nadezhda Ivanova1-0/+33