summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
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
2010-04-18build: more adjustments for the ABI type name mapsAndrew Tridgell3-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
2010-04-18s4-waf: rebuild signature files with the api type mapsAndrew Tridgell2-32/+32
This is not strictly necessary, as the old types would compare equal, but it is neater to use the generic type names
2010-04-18ldb-waf: enable ABI checking in ldbAndrew Tridgell3-0/+506
we use separate signature files for ldb and ldb-samba4, as the samba4 varient of the library has many more public symbols
2010-04-18ldb: mark the tdb backend in ldb as _PRIVATE_Andrew Tridgell1-1/+1
2010-04-17s4:Added a test for correct CO expansion in SD creation.Nadezhda Ivanova1-0/+13
2010-04-15s4:Added a test to make sure we ignore ACEs with ID flag set.Nadezhda Ivanova1-0/+13
2010-04-13s4-waf: don't try to use the system lib for the library buildAndrew Tridgell1-4/+6
when building library FOO, don't try to find the system library FOO Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-12s4-ldb: enable waf build of ldb without ldap backendAndrew Tridgell1-2/+3
this is useful for cross-compilation testing, where getting all the ldap deps installed can be hard
2010-04-12s4-ldb: fixed a crash bug for non-UTF8 stringsAndrew Tridgell1-1/+3
when one of the strings was not valid UTF8, we would try to dereference NULL
2010-04-12build: use a common autogen-waf.sh for all buildsAndrew Tridgell1-22/+1
the symlink will get updated with the right target when waf dist is used in each directory
2010-04-11subunit: Remove more test output that could be interpreted by subunit.Jelmer Vernooij1-1/+1
2010-04-11subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij1-1/+1
Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
2010-04-09s4/schema: Torture test for schemaInfo implementationKamen Mazdrashki1-0/+209
This test checks if schemaInfo revision changes when an object is added or modified in Schema. Ref. [MS-ADTS], 3.1.1.2.1
2010-04-08s4-python: Move load_partition_usn to dsdb module.Jelmer Vernooij1-28/+28
2010-04-08s4-python: More cleanups.Jelmer Vernooij2-6/+5
2010-04-08s4-python: rename samba.glue to samba._glue to indicate it's private.Jelmer Vernooij1-26/+26
2010-04-08s4-python: Fix formatting, import of FLG_NOSYNC.Jelmer Vernooij1-5/+4
2010-04-07LDB:sample_module - reintroduce accidentally removed "ldb_msg_add_fmt" statementMatthias Dieter Wallnöfer1-0/+2
Obviously this is really needed by the "samba4.ldb" test.
2010-04-07LDB:python bindings - also empty LDB message elements should have a python ↵Matthias Dieter Wallnöfer1-3/+6
representation Bug found by ekacnet (see technical mailing list).
2010-04-07urgent_replication: Use standard comments rather than docstrings.Jelmer Vernooij1-29/+28
2010-04-06LDB:sample_module.c - remove code parts which generate warningsMatthias Dieter Wallnöfer1-4/+0
Btw: The use of the "ldb_msg_add_fmt" operation directly on the request message object is strongly discouraged. Better is to make a shallow copy of this message and attach it to a new child request which is handled by the following modules.
2010-04-06s4-python: Move ldb_set_utf8_casefold to pyldb-samba.Jelmer Vernooij1-1/+0
2010-04-06Add C-based Samba-specific subclass of Ldb.Jelmer Vernooij1-6/+6
2010-04-06s4-waf: fixed waf distcheck for our standalone libs and s4Andrew Tridgell1-2/+7
2010-04-06s4-waf: added simple 'waf test' support for tdb, talloc and ldbAndrew Tridgell1-0/+6
2010-04-06s4-waf: autogen-waf.sh for the standalone library buildsAndrew Tridgell1-0/+22
2010-04-06s4-waf: use a common pattern for finding buildtools and libsAndrew Tridgell1-17/+14
2010-04-06s4-waf: move to a universal method of recursing into subdirsAndrew Tridgell1-8/+8
This works with both standalone lib builds and bundled builds
2010-04-06s4-waf: fixed finding of buildtools and srcdirAndrew Tridgell1-9/+8
2010-04-06ldb-waf: fixed buildtools pathAndrew Tridgell1-1/+1
2010-04-06s4-waf: avoid having to run waf configure before waf distAndrew Tridgell1-3/+4
This should be useful for building tarballs from a clean checkout
2010-04-06s4-waf: allow standalone tarball build of librariesAndrew Tridgell1-2/+8