summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
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-28s4:regshell - fix an "asprintf"Matthias Dieter Wallnöfer1-1/+5
2010-05-28s4:regshell - don't use negative exit codesMatthias Dieter Wallnöfer1-1/+1
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-21Doh! If you're going to give advice in "useage", make sure it's correct.Jeremy Allison1-2/+2
Jeremy.
2010-05-21Add comments to usage error message for -k to make it obvious what this needs.Jeremy Allison1-2/+3
Jeremy.
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-21Revert "Make -k a simple non-bool option."Andrew Bartlett1-0/+9
This reverts commit 2bbf055dbb15ea99b80ae66adc906ad5494a3999. This change broke 'make test', because the current syntax is deliberate and an integral part of how Samba4 uses Kerberos. If a change like this is to be implemented, then careful review of all our test scripts must be taken first, and then new options such as --dont-use-kerberos, --may-use-kerberos and --must-use-kerberos should be added. Andrew Bartlett
2010-05-20Make -k a simple non-bool option.Jeremy Allison1-9/+0
Jeremy.
2010-05-20s4:ldb-samba: handle more GUID attributesStefan Metzmacher1-11/+36
metze
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij21-160/+87
2010-05-13ldb:ldb_msg.c - use result constantMatthias Dieter Wallnöfer1-1/+1
2010-05-12work around AIX6.1 name space pollution rename mod_name to module_nameOlaf Flebbe1-3/+3
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-27s4:lib/registry: fix the waf buildStefan Metzmacher1-1/+1
The pass to a source file is relative to the wscript* file. metze
2010-04-27s4: use shared registry functions.Günther Deschner4-49/+13
Guenther
2010-04-20pytalloc: ensure talloc_ctx is directly after PyObject_HEADAndrew Tridgell2-8/+8
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>