summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-06-20Optimize the backslash logic in the path traversal.Wilco Baan Hofman1-24/+9
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Fix error in logic, making recursion work past the first level.Wilco Baan Hofman1-1/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Add fetch function for GPO which fetches all relevant files from the sysvol ↵Wilco Baan Hofman5-5/+277
share. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Add getinheritance and setinheritance to net gpo util and library.Wilco Baan Hofman2-0/+65
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Implemented delete group policy link function and corresponding feature in ↵Wilco Baan Hofman1-1/+69
net gpo. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Changed add_gplink to set_gplink, so we can change gPLink options as well.Wilco Baan Hofman2-7/+16
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Add add gPLink function and corresponding net gpo linkadd call.Wilco Baan Hofman2-47/+89
Also added some definitions for future functions in policy.h Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Rename files to reflect the libpolicy naming convention. Also fix the GNU ↵Wilco Baan Hofman4-4/+6
make build. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Rename libgpo to lib/policy to avoid confusion with samba3 and add waf buildWilco Baan Hofman5-0/+671
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20ldb: Add ABI file for use when including ildap in the build.Jelmer Vernooij1-0/+224
2010-06-20ldb: Change LDBSAMBA back to subsystem, update comments, use differentJelmer Vernooij2-7/+16
ABI file based on whether ldb_ildap is included.
2010-06-20s4:ldb-samba: fix the build without a system ldbStefan Metzmacher1-1/+5
metze
2010-06-20Move a few more samdb-specific methods to SamDB, away from Ldb.Jelmer Vernooij1-2/+2
2010-06-20ldb: add a new control bypassioperationnalMatthieu Patou3-0/+37
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-19python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij8-25/+32
setUp methods are called, fix formatting.
2010-06-19acl: Clean up formatting, use samba.tests.TestCase.Jelmer Vernooij1-124/+128
2010-06-19python/passwords: Clean up imports.Jelmer Vernooij1-8/+7
2010-06-19dsdb_schema_info: Clean up imports, avoid using rpc test case forJelmer Vernooij1-9/+2
non-RPC tests.
2010-06-19s4:instancetype LDB module - "instanceType" is single-valued - MS-ADTS ↵Matthias Dieter Wallnöfer1-0/+9
3.1.1.5.2.2
2010-06-19ldb:ldb_dn.c - don't support "ldb_dn_add_child" on a "" parent DNMatthias Dieter Wallnöfer1-0/+7
It's meaningless and could end in DNs as "cn=child,".
2010-06-19ldb:api.py - add a small test for the enhanced "py_ldb_delete" syntaxMatthias Dieter Wallnöfer1-0/+9
2010-06-19ldb:python bindings - some small cleanup & improvements in "py_ldb_add"Matthias Dieter Wallnöfer1-14/+13
Also to make it similar to "py_ldb_delete".
2010-06-19ldb:python bindings - let also "py_ldb_delete" support controlsMatthias Dieter Wallnöfer1-6/+50
2010-06-19wafsamba: Fix typo: noextenion -> noextension.Jelmer Vernooij1-1/+1
2010-06-18ldb: Remove dependency on self.Jelmer Vernooij1-1/+1
2010-06-18ldbsamba: Build as subsystem to prevent infinite recursion issues.Jelmer Vernooij1-1/+1
2010-06-18ldb: Don't build pyldb_util as python module but rather as subsystem, so as ↵Jelmer Vernooij1-2/+2
to not delute /usr/lib.
2010-06-18ldb-samba: Don't build pyldbsamba as python module but rather as subsystem, ↵Jelmer Vernooij1-1/+1
so as to not delute /usr/lib.
2010-06-16s4:ldif_handlers.c - fix warningMatthias Dieter Wallnöfer1-3/+4
2010-06-16s4:ldap.py - add another test about linked attributesMatthias Dieter Wallnöfer1-1/+90
In addition this test makes sure that the bug regarding the search with deleted linked attributes in the filter has been fixed.
2010-06-16s4:ldif-handlers Add a custom handler for DNs that knows about deleted valuesAndrew Bartlett1-0/+78
In Samba we my store a deleted DN for a linked attribute. We must ensure that we can't match on it, or else searches for member= will still reveal it. Andrew Bartlett
2010-06-16s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher5-14/+7
This is needed to remove samba specifc symbols from the bundled ldb, in order to get the ABI right. metze Signed-off-by: Andreas Schneider <asn@samba.org>
2010-06-15s4-waf: Fix build of libldb_ildap against system ldb.Jelmer Vernooij1-1/+1
2010-06-15wafsamba: Fix include path inheritance from module subsystems.Jelmer Vernooij1-10/+0
2010-06-15ldb: Bump version number, use same ABI version for Samba4 and non-Samba 4 ↵Jelmer Vernooij2-5/+221
versions.s
2010-06-15ldb: Fix included ldb build.Jelmer Vernooij2-1/+14
2010-06-15ldb: Only build standard ldb modules when building bundled ldb.Jelmer Vernooij1-72/+70
2010-06-15ldb-samba: Add missing dependency on credentials code.Jelmer Vernooij1-1/+1
2010-06-14s4:Descriptor tests clean-up.Nadezhda Ivanova1-153/+67
A bit of refactoring and modified the tests to use encrypted connection so that they pass against Windows unconditionally.
2010-06-13Support system talloc/tevent headers.Jelmer Vernooij1-2/+2
2010-06-13s4-test: Use smb.conf path set in environment rather than usingJelmer Vernooij1-2/+2
command-line options. This is the first step towards supporting custom test runners.
2010-06-12s4:ldif_read_prefixMap - don't cause memory leaks on error conditionsMatthias Dieter Wallnöfer1-2/+2
2010-06-12s4:dsdb Allow a binary prefix map to be specified in the LDIFAndrew Bartlett1-0/+14
This allows it to be specified in either binary or as a string. Andrew Bartlett
2010-06-11Adjusted ACL tests to use encripted connection.Nadezhda Ivanova1-120/+69
This way we get rid of the conditional if.Samba checks, because users are successfully created and enabled.
2010-06-11s4:passwords.py - set the "dSHeuristics"Matthias Dieter Wallnöfer1-0/+33
As per Nadia's request and abartlet's suggestion the test now also sets the "dSHeuristics" attribute properly to be able to perform the tests also against Windows without further configuration. The code has the neat feature that it undoes the change and resets the behaviour as it was before.
2010-06-11s4:passwords.py - use "self" before "enable_account" to make really sure ↵Matthias Dieter Wallnöfer1-1/+1
which LDB connection should be used
2010-06-11s4:ldap.py - check how the directory server behaves when the ↵Matthias Dieter Wallnöfer1-2/+12
'distinguishedName' attribute wasn't set correctly (On add operations the server does completely ignore it and uses the "header" DN)
2010-06-11s4:ldap.py - check if the "name" of an entry was really ignoredMatthias Dieter Wallnöfer1-2/+7
2010-06-11ldb:ldb_sqlite3 backend - remove a warning which has already been resolvedMatthias Dieter Wallnöfer1-1/+0
2010-06-11ldb:ldb_sqlite3 backend - remove checks which are now done elsewhereMatthias Dieter Wallnöfer1-29/+0
(In SAMBA LDB modules)