summaryrefslogtreecommitdiffstats
path: root/source4/lib/ldb
Commit message (Collapse)AuthorAgeFilesLines
* s4:ldap.py - enhance the RDN name test to show that invalid "name" ↵Matthias Dieter Wallnöfer2010-06-061-1/+3
| | | | attributes are allowed on add operations
* s4:rdn_name LDB module - use "ldb_msg_remove_attr" for deleting attributesMatthias Dieter Wallnöfer2010-06-061-4/+2
|
* s4:rdn_name LDB module - remove "rdn_name_find_attribute"Matthias Dieter Wallnöfer2010-06-061-15/+2
| | | | It does exactly the same as "ldb_msg_find_element".
* ldb:ltdb_filter_attrs - fix a counter variable typeMatthias Dieter Wallnöfer2010-06-061-2/+3
|
* s4:urgent_replication.py - specify the "dnsRoot" attribute which is ↵Matthias Dieter Wallnöfer2010-06-061-0/+1
| | | | requested on "crossRef" entries
* s4:ldap.py - make sure that also the "posixuser" will be deleted on test ↵Matthias Dieter Wallnöfer2010-06-061-0/+1
| | | | breakages
* s4:ldb_msg_element_compare - fix typo in commentMatthias Dieter Wallnöfer2010-06-021-1/+1
|
* s4:lib/ldb/pyldb_util.c - add a cast to quiet a warningMatthias Dieter Wallnöfer2010-06-021-1/+1
| | | | Jelmer, please fix if it isn't correct.
* pyldb_util: Remove dependency on LIBPYTHON - it's already thereJelmer Vernooij2010-05-311-2/+1
| | | | implicitly and not available in the standalone build.
* ldb:ldb_msg_add_steal_string - prevent also there the addition of strings ↵Matthias Dieter Wallnöfer2010-05-311-0/+5
| | | | with length 0
* Revert "ldb: Remove Samba-specific symbols."Simo Sorce2010-05-311-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.
* pyldb: Remove duplicate copy of function.Jelmer Vernooij2010-05-311-28/+0
|
* ldb: Remove unexisting and mistyped function from headerSimo Sorce2010-05-311-2/+0
|
* ldb: Install ldb_handlers.h header.Jelmer Vernooij2010-05-311-3/+3
|
* ldb: Remove Samba-specific symbols.Jelmer Vernooij2010-05-311-5/+0
|
* ldb: Move utility functions to separate file.Jelmer Vernooij2010-05-312-4/+88
|
* ldb: Fix dependencies when building with system ldb.Jelmer Vernooij2010-05-315-10/+34
|
* ldb: Revert signature file changes made in ↵Kai Blin2010-05-311-0/+5
| | | | 151e239bcf2860411527a953d627b2d724c0a57e
* ldb/waf: Fix build with system and bundled ldb.Jelmer Vernooij2010-05-312-9/+5
|
* waf: Refactor manpage building code.Jelmer Vernooij2010-05-311-3/+5
|
* Add manpages argument to SAMBA_LIBRARY().Jelmer Vernooij2010-05-311-16/+3
|
* s4-waf: Fixed the ldb build.Stefan Metzmacher2010-05-311-3/+3
|
* ldb: Support building with system ldb libraryJelmer Vernooij2010-05-311-13/+12
|
* ldb: Remove manual pages for binaries that have already been moved to utils/.Jelmer Vernooij2010-05-313-167/+1
|
* ldb-waf: Fix installation path of manpages, simplify manpage handling.Jelmer Vernooij2010-05-311-5/+3
|
* s4:tests/python/passwords.py - fix filterMatthias Dieter Wallnöfer2010-05-301-1/+1
|
* ldb:ldb_tdb/ldb_tdb.c - quiet a warning regarding TDB -> LDB error code ↵Matthias Dieter Wallnöfer2010-05-301-0/+2
| | | | conversions
* s4:ldap.py - add a test which shows the modification behaviour of important ↵Matthias Dieter Wallnöfer2010-05-301-0/+104
| | | | | | | attributes This shows how important attributes of SAM objects do behave when you launch add and delete modify requests on them.
* s4:ldap.py - add more test cases to show invalid primary group change behaviourMatthias Dieter Wallnöfer2010-05-301-0/+23
|
* ldb-waf: Install manual pages for ldb in standalone build, installJelmer Vernooij2010-05-241-4/+23
| | | | python module.
* s4:"rdn_name" LDB module - fix the creation of the RDN attribute (try to ↵Matthias Dieter Wallnöfer2010-05-241-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).
* s4:ldb_controls: make it possible to pass arbitrary control via the command lineStefan Metzmacher2010-05-221-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
* s4:ldb: add --controls support to ldbeditStefan Metzmacher2010-05-211-5/+12
| | | | metze
* s4:libcli/ldap Rename ldap.h to libcli_ldap.hAndrew Bartlett2010-05-211-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
* ldb:ldb_msg.c - use result constantMatthias Dieter Wallnöfer2010-05-131-1/+1
|
* s4/dn: handle case 'base' dn has no componentsKamen Mazdrashki2010-05-101-1/+1
| | | | This could if the 'base' dn is special for example.
* s4:passwords.py - add a python unittest for additional testing of my ↵Matthias Dieter Wallnöfer2010-05-101-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.
* s4-ldb: check for ldap_initializeAndrew Tridgell2010-05-051-1/+1
| | | | HPUX 11.0 has a ldap library that doesn't have ldap_initialize
* s4-ldb: add msg saying which build system is being usedAndrew Tridgell2010-05-051-0/+2
| | | | | (this is a gratuituous commit to trigger the build farm to rebuild ldb on all systems)
* s4/waf: ABI update for lib/ldbAnatoliy Atanasov2010-05-042-1/+225
|
* s4/rodc: Support read-only databaseAnatoliy Atanasov2010-05-042-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.
* s4/rodc: Fix the callbacks up the stack to handle referrals on modify requestsAnatoliy Atanasov2010-05-041-0/+15
|
* s4/test: Implement tests for msDS-isRODC constructed attributeAnatoliy Atanasov2010-05-031-0/+39
| | | | | This attribute will be returned for objects with objectClass=nTDSDSA,server and computer
* s4-ldb: use a parent context in the ldb utilsAndrew Tridgell2010-05-026-12/+20
| | | | This avoids a talloc free with references error on exit
* s4/test: schemaInfo may not to be set yetKamen Mazdrashki2010-04-291-7/+15
| | | | | On newly provisioned Forest schemaInfo is not initially set. It should be created after firs Schema modification
* pytalloc: ensure talloc_ctx is directly after PyObject_HEADAndrew Tridgell2010-04-201-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>
* Removed more excess looping and fixed problem with incorrect IO flag handling.Nadezhda Ivanova2010-04-201-0/+33
|
* build: more adjustments for the ABI type name mapsAndrew Tridgell2010-04-183-63/+3
| | | | | | | | | | - use 'va_list' instead of 'struct __va_list_tag *' Using the C name for va_list is preferable - add support for negative ABI name matches in abi_match=. That is used to exlude ldb_*module_ops from the ldb ABI - don't include the ldb module ops or backend ops in the ABI
* s4-waf: rebuild signature files with the api type mapsAndrew Tridgell2010-04-182-32/+32
| | | | | This is not strictly necessary, as the old types would compare equal, but it is neater to use the generic type names
* ldb-waf: enable ABI checking in ldbAndrew Tridgell2010-04-183-0/+506
| | | | | we use separate signature files for ldb and ldb-samba4, as the samba4 varient of the library has many more public symbols