summaryrefslogtreecommitdiffstats
path: root/source4/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* libpolicy: Fix the build.Jelmer Vernooij2010-06-202-2/+2
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add preliminary support for storing changed Group Policies.Wilco Baan Hofman2010-06-203-0/+101
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Refactor policy filesystem code.Wilco Baan Hofman2010-06-201-97/+244
| | | | | | | | | | | * It now uses reusable code to download the GPT. * It creates a list before copying for better error handling. * String_replace is now used instead of manually replacing '\\' with '/' for local paths. * A security check has been added for file names with "../". * It adheres to the 80 column rule, if at all possible. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix memory allocation with error handling.Wilco Baan Hofman2010-06-205-21/+135
| | | | | | Also moved pypolicy.c headers around so as not to generate compile warnings Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Code cleanups: GUID generation, lp_dnsdomain instead of lp_realm, missing ↵Wilco Baan Hofman2010-06-202-9/+6
| | | | | | spaces. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Set inherit flag type to bool.Wilco Baan Hofman2010-06-201-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix 'magic' numbers to be strlen(something)Wilco Baan Hofman2010-06-202-4/+6
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Change talloc_steal to strdup because function might not expect it.Wilco Baan Hofman2010-06-201-5/+5
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add GP ini functions.Wilco Baan Hofman2010-06-202-2/+134
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Remove iconv convenience in used functions, which were deleted in commit ↵Wilco Baan Hofman2010-06-202-3/+0
| | | | | | f9ca9e46ad24036bf00cb361a6cef4b2e7e98d7d Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add ini parser for GPO's.Wilco Baan Hofman2010-06-203-2/+17
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add net gpo setacl support. Create gp_set_acl function. Show ACL in net gpo ↵Wilco Baan Hofman2010-06-203-1/+101
| | | | | | | | show. Cleanup memory allocation of gp_create_gpo Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix set GPT security descriptor to match windows' behaviour.Wilco Baan Hofman2010-06-201-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix crash when get_gpo_info returns incorrect data.Wilco Baan Hofman2010-06-202-5/+12
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add preliminary NT ACL support for GPT (GPO on filesystem).Wilco Baan Hofman2010-06-203-37/+119
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* samba4: Add python bindings for samba.policy.get_gplink_options.Jelmer Vernooij2010-06-202-0/+52
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* policy: Add samba.policy.get_gpo_flags binding.Jelmer Vernooij2010-06-203-0/+122
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add gpo create functionality. Also fix gPLink handling bugsWilco Baan Hofman2010-06-206-18/+473
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix mode_t in mkdir.Wilco Baan Hofman2010-06-201-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Optimize the backslash logic in the path traversal.Wilco Baan Hofman2010-06-201-24/+9
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix error in logic, making recursion work past the first level.Wilco Baan Hofman2010-06-201-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add fetch function for GPO which fetches all relevant files from the sysvol ↵Wilco Baan Hofman2010-06-205-5/+277
| | | | | | share. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add getinheritance and setinheritance to net gpo util and library.Wilco Baan Hofman2010-06-202-0/+65
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Implemented delete group policy link function and corresponding feature in ↵Wilco Baan Hofman2010-06-201-1/+69
| | | | | | net gpo. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Changed add_gplink to set_gplink, so we can change gPLink options as well.Wilco Baan Hofman2010-06-202-7/+16
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add add gPLink function and corresponding net gpo linkadd call.Wilco Baan Hofman2010-06-202-47/+89
| | | | | | Also added some definitions for future functions in policy.h Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Rename files to reflect the libpolicy naming convention. Also fix the GNU ↵Wilco Baan Hofman2010-06-204-4/+6
| | | | | | make build. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Rename libgpo to lib/policy to avoid confusion with samba3 and add waf buildWilco Baan Hofman2010-06-205-0/+671
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* ldb: Add ABI file for use when including ildap in the build.Jelmer Vernooij2010-06-201-0/+224
|
* ldb: Change LDBSAMBA back to subsystem, update comments, use differentJelmer Vernooij2010-06-202-7/+16
| | | | ABI file based on whether ldb_ildap is included.
* s4:ldb-samba: fix the build without a system ldbStefan Metzmacher2010-06-201-1/+5
| | | | metze
* Move a few more samdb-specific methods to SamDB, away from Ldb.Jelmer Vernooij2010-06-201-2/+2
|
* ldb: add a new control bypassioperationnalMatthieu Patou2010-06-203-0/+37
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij2010-06-198-25/+32
| | | | setUp methods are called, fix formatting.
* acl: Clean up formatting, use samba.tests.TestCase.Jelmer Vernooij2010-06-191-124/+128
|
* python/passwords: Clean up imports.Jelmer Vernooij2010-06-191-8/+7
|
* dsdb_schema_info: Clean up imports, avoid using rpc test case forJelmer Vernooij2010-06-191-9/+2
| | | | non-RPC tests.
* s4:instancetype LDB module - "instanceType" is single-valued - MS-ADTS ↵Matthias Dieter Wallnöfer2010-06-191-0/+9
| | | | 3.1.1.5.2.2
* ldb:ldb_dn.c - don't support "ldb_dn_add_child" on a "" parent DNMatthias Dieter Wallnöfer2010-06-191-0/+7
| | | | It's meaningless and could end in DNs as "cn=child,".
* ldb:api.py - add a small test for the enhanced "py_ldb_delete" syntaxMatthias Dieter Wallnöfer2010-06-191-0/+9
|
* ldb:python bindings - some small cleanup & improvements in "py_ldb_add"Matthias Dieter Wallnöfer2010-06-191-14/+13
| | | | Also to make it similar to "py_ldb_delete".
* ldb:python bindings - let also "py_ldb_delete" support controlsMatthias Dieter Wallnöfer2010-06-191-6/+50
|
* wafsamba: Fix typo: noextenion -> noextension.Jelmer Vernooij2010-06-191-1/+1
|
* ldb: Remove dependency on self.Jelmer Vernooij2010-06-181-1/+1
|
* ldbsamba: Build as subsystem to prevent infinite recursion issues.Jelmer Vernooij2010-06-181-1/+1
|
* ldb: Don't build pyldb_util as python module but rather as subsystem, so as ↵Jelmer Vernooij2010-06-181-2/+2
| | | | to not delute /usr/lib.
* ldb-samba: Don't build pyldbsamba as python module but rather as subsystem, ↵Jelmer Vernooij2010-06-181-1/+1
| | | | so as to not delute /usr/lib.
* s4:ldif_handlers.c - fix warningMatthias Dieter Wallnöfer2010-06-161-3/+4
|
* s4:ldap.py - add another test about linked attributesMatthias Dieter Wallnöfer2010-06-161-1/+90
| | | | | In addition this test makes sure that the bug regarding the search with deleted linked attributes in the filter has been fixed.
* s4:ldif-handlers Add a custom handler for DNs that knows about deleted valuesAndrew Bartlett2010-06-161-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