summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-10-17Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls ↵Matthias Dieter Wallnöfer2-2/+2
in "dsdb/common/util.c"" This reverts commit 8a2ce5c47cee499f90b125ebde83de5f9f1a9aa0. Jelmer pointed out that these are also in use by other LDB databases - not only SAMDB ones. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 13:37:16 UTC 2010 on sn-devel-104
2010-10-17s4:remove "util_ldb" submodule and integrate the three gendb_* calls in ↵Matthias Dieter Wallnöfer2-2/+2
"dsdb/common/util.c" They're only in use by SAMDB code. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 09:40:13 UTC 2010 on sn-devel-104
2010-10-17s4:ldb-samba/ldb_wrap.c - fix indentation and trailing whitespacesMatthias Dieter Wallnöfer1-36/+36
2010-10-17s4:"wrap_casefold" - move it to "ldb_wrap.c" since it's only used thereMatthias Dieter Wallnöfer1-0/+9
2010-10-16s4:dsdb - make the RELAX control privateMatthias Dieter Wallnöfer1-8/+6
This makes our LDAP much more secure and less error-prone. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 16 19:43:36 UTC 2010 on sn-devel-104
2010-10-16ldb:ldb.h - reorder controls/extended operationsMatthias Dieter Wallnöfer1-27/+28
This makes it easier to read
2010-10-16ldb:pyldb.c - remove pointless commentMatthias Dieter Wallnöfer1-1/+0
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 16 14:38:58 UTC 2010 on sn-devel-104
2010-10-16ldb:"ldb_dn_compare_base" - use "unsigned int" countersMatthias Dieter Wallnöfer1-2/+2
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 16 13:54:13 UTC 2010 on sn-devel-104
2010-10-16ldb:"ldb_dn_add_child" - use "unsigned int" countersMatthias Dieter Wallnöfer1-2/+3
2010-10-16ldb:"ldb_dn_remove_base_components" - use an "unsigned int" counterMatthias Dieter Wallnöfer1-6/+6
2010-10-16ldb:"ldb_dn_canonical" - use an "unsigned int" counterMatthias Dieter Wallnöfer1-3/+3
Convert it to use an "unsigned int" counter which represents the exact length of the DN components.
2010-10-16s4:ldif_handlers.c - fix a typoMatthias Dieter Wallnöfer1-1/+1
2010-10-15s4:lib/registry/util.c - cosmetic - fix indentation, trailing whitespacesMatthias Dieter Wallnöfer1-10/+11
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Oct 15 07:27:07 UTC 2010 on sn-devel-104
2010-10-15s4:lib/registry/util.c - strtoll call - better say explicitly that data is ↵Matthias Dieter Wallnöfer1-1/+1
in hex format Template is commit deebc934edb9a0a70e7615b1161d7a60fcb1d78f from Wilco.
2010-10-14s4-acl Merge sec_access_check() with se_access_check() from source3/Andrew Bartlett1-1/+1
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-13ldb: Only build LIBLDB_MAIN when building ldb itself.Jelmer Vernooij1-8/+8
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 13 15:41:29 UTC 2010 on sn-devel-104
2010-10-13ldb:ldb_match.c - fix a counter typeMatthias Dieter Wallnöfer1-1/+1
2010-10-13ldb: raise minor version number for new ldb_msg_match_error() functionAndrew Tridgell2-1/+227
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 13 11:42:18 UTC 2010 on sn-devel-104
2010-10-13s4-ldb: take advantage of ldb_match_msg_error() in more placesAndrew Tridgell4-8/+32
this gives better error checking
2010-10-13s4-ldb: use operator_fn syntax function in ldb_match codeAndrew Tridgell1-92/+212
this also fixes error handling in case of bad syntax, memory error etc, which was previously conidered as a mismatch, but should return an error Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-13s4-ldb: implement an operator_fn for the ldb-samba syntaxesAndrew Tridgell1-14/+94
this allows us to properly handle the LDB_OP_PRESENT operator on deleted linked attributes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-13s4-ldb: added an optional operator_fn in the schema syntaxAndrew Tridgell3-5/+25
this function takes the operator being invoked, which will allow schema functions to provide more fine grained control over comparisons. The key bug this was introduced to fix is the incorrect handling of the LDB_OP_PRESENT test for deleted linked attributes. The backends are unaware of the deleted state of these links, so they cannot do a LDB_OP_PRESENT test on their own. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-13ldb: when running from build directory, use the build modulesAndrew Tridgell1-27/+35
we need to use the build modules, not the installed modules, so tests run from the source directory are valid Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-2/+1
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-10-11ldb: Build ildap module as shared object.Jelmer Vernooij1-7/+3
2010-10-11popt_credentials: Implement pending machine account manually, rather than ↵Jelmer Vernooij1-5/+10
through credentials.
2010-10-11ldb The use of a private event context isn't a hackAndrew Bartlett1-2/+3
This is deliberate behaviour. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Oct 11 13:45:14 UTC 2010 on sn-devel-104
2010-10-11s4-ldb Allow a NULL event context in samba_ldb_init()Andrew Bartlett1-7/+0
2010-10-11s4-ldb Don't use talloc_autofree_context() in ldbAndrew Bartlett1-1/+1
The private event context only needs to live as long as ldb itself. Andrew Bartlett
2010-10-11s4-tevent Remove event_contex_find() and event_context_set_default()Andrew Bartlett1-30/+0
It is considered that it is better to create a new event context rather than 'finding' some other event context, in the case where we do not have one specified. Andrew Bartlett
2010-10-11credentials: Split up into several subsystems.Jelmer Vernooij1-1/+1
2010-10-10wafsamba: Fix handling of pyembed/pyext.Jelmer Vernooij2-3/+3
2010-10-10ldb-samba: Rename samdb_relative_path to ldb_relative_path, as it's not ↵Jelmer Vernooij2-0/+29
samdb-specific.
2010-10-10ldb-samba: Add ldb_wrap_add, remove last schema reference from ldb_wrap.Jelmer Vernooij2-53/+78
2010-10-10ldb-samba: Split up ldb_wrap_connect() a bit.Jelmer Vernooij3-36/+52
2010-10-10ldb-samba: Add convenience function for doing a Samba-style LDB init.Jelmer Vernooij3-49/+73
2010-10-10samdb: Handle schema setup in samdb, not in more generic ldbsamba.Jelmer Vernooij3-11/+3
2010-10-10tls: add missing dependency on util_tevent.Jelmer Vernooij1-1/+1
2010-10-10wafsamba: Clarify needs_python argument name, use pyembed/pyext whereJelmer Vernooij1-1/+1
applicable. Allow using both pyembed and pyext, to prevent unresolved symbols. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 10 03:54:01 UTC 2010 on sn-devel-104
2010-10-08s4:lib/tls: buffer writes in tstream_tls_push_function()Stefan Metzmacher1-10/+76
This works arround bugs in gnutls_handshake(), which diesn't handle EAGAIN correctly, when they use the push function. Thanks to Marcel.Ritter@rrze.uni-erlangen.de and Matthieu Patou <mat@samba.org> for the debugging work on bug #7218. metze
2010-10-08s4:lib/tls: make more clear what the immediate event is forStefan Metzmacher1-6/+6
metze
2010-10-08s4:lib/tls: fix enabled logic in tstream_tls_params_server()Stefan Metzmacher2-2/+12
metze
2010-10-07waf: fixed exit status of test suitesAndrew Tridgell1-2/+4
use RUN_COMMAND() to handle signal errors and exit status
2010-10-05s4:ldb_modules.c - fix a typoMatthias Dieter Wallnöfer1-1/+1
2010-10-05Add missing dependencies for com_err.Jelmer Vernooij3-1/+10
2010-10-05ldb: Refer to ldb(3), not ldb(7).Jelmer Vernooij6-13/+13
2010-10-04unittests: add a test to avoid regression on previous fixMatthieu Patou1-0/+5
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Oct 4 20:23:31 UTC 2010 on sn-devel-104
2010-10-04pyldb: test return code before trying to talloc_stealMatthieu Patou1-2/+2
Otherwise you can have an error on the talloc_steal as the req can have been not talloced yet
2010-10-04registry: Make a two more functions static.Jelmer Vernooij1-2/+2
2010-10-03s4:patchfile_dotreg.c - use "size_t" when counting characters in DATA_BLOBsMatthias Dieter Wallnöfer1-1/+1
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 3 16:03:41 UTC 2010 on sn-devel-104