summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:rpc_server/service_rpc.c - fix warnings on SolarisMatthias Dieter Wallnöfer2010-06-201-2/+2
|
* s4:rpc_server/service_rpc.c - deactivate the 0-length structMatthias Dieter Wallnöfer2010-06-201-0/+2
| | | | This should fix the build on Solaris
* s4:libpolicy - fix printf output specifiers to suppress warningMatthias Dieter Wallnöfer2010-06-201-1/+1
|
* s4:libpolicy - Solaris compatibility fixMatthias Dieter Wallnöfer2010-06-201-1/+5
|
* s4:ldap.py - test subtree deletes through a new testcaseMatthias Dieter Wallnöfer2010-06-201-0/+48
|
* s4:ldap_backend.c - now also the LDAP server supports controls on delete ↵Matthias Dieter Wallnöfer2010-06-201-5/+7
| | | | operations
* s4:ldap_backend.c - move function "ldb_mod_req_with_controls" to a better ↵Matthias Dieter Wallnöfer2010-06-201-51/+52
| | | | | | place in the code Under the "add" and over the "delete" function.
* s4:subtree_delete LDB module - now do support tree delete operationsMatthias Dieter Wallnöfer2010-06-201-9/+45
|
* s4:dsdb - add a new dsdb delete function which understands the tree delete ↵Matthias Dieter Wallnöfer2010-06-203-2/+62
| | | | control
* ldb:controls - add the "TREE_DELETE" control for allowing subtree deletesMatthias Dieter Wallnöfer2010-06-203-0/+54
|
* ldb:ldb.h - add classifications to the control declarationsMatthias Dieter Wallnöfer2010-06-201-7/+13
| | | | This makes it easier to understand which standard specifies which control.
* s4:python LDB __init__.py - remove completely unused "erase_partitions" callMatthias Dieter Wallnöfer2010-06-202-36/+0
| | | | Seems to be a relict from the past.
* s4:samldb LDB module - remove "samldb_set_defaultObjectCategory"Matthias Dieter Wallnöfer2010-06-201-78/+0
| | | | | | | | | As far as I can tell and the test show the DN gets now normalised automatically when stored into the database. Anyway, if we find a case where this doesn't happen then I propose to do it centrally for all DN attributes in common since we should get away from special attribute hacks as far as possible.
* s4:ldap_backend.c - add some newlines to make logs easier to readMatthias Dieter Wallnöfer2010-06-201-5/+5
|
* ldb:pyldb.c - introduce a "mem_ctx" also on "py_ldb_search"Matthias Dieter Wallnöfer2010-06-201-12/+19
| | | | To prevent memory leaks
* ldb:pyldb.c - some cleanups and adequations also in "py_ldb_modify" and ↵Matthias Dieter Wallnöfer2010-06-201-19/+28
| | | | | | "py_ldb_rename" To make them consistent.
* s4:ldap_controls.c - remove encoding functions for private recalculate SD ↵Matthias Dieter Wallnöfer2010-06-201-19/+0
| | | | control
* provision: Look for Samba prefix a bit harder.Jelmer Vernooij2010-06-201-4/+6
|
* Revert "s4:ldb-samba: fix the build without a system ldb"Stefan Metzmacher2010-06-201-5/+0
| | | | | | | | | | | This reverts commit 44c01a5eb45a0cd5ca3de8be5c4680de75418dce. This caused problems when using a system ldb and as we don't do ABI checks for ldb-samba4 any more, we don't need this change. metze Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4:ldb: only do ABI checking for the standalone build for nowStefan Metzmacher2010-06-201-12/+24
| | | | | | | | Otherwise we fail to build samba4 with a system ldb. metze Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* 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>
* Add talloc_frees in error cases in net_gpo.cWilco Baan Hofman2010-06-201-0/+11
| | | | 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>
* Fix net gpo list to use the dsdb with extended DN's. Fixes memberOf group ↵Wilco Baan Hofman2010-06-201-2/+19
| | | | | | memberships. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Revert "Add old functionality back which was removed in commit 589a42e2."Wilco Baan Hofman2010-06-203-22/+3
| | | | | | This reverts commit 94e3b4a0d8b714c101803886d60ae6c484740d2f. 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-204-3/+153
| | | | | | | | 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-204-0/+123
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add gpo create functionality. Also fix gPLink handling bugsWilco Baan Hofman2010-06-207-19/+506
| | | | 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>
* Finish net gpo fetch function. Reorder arguments to make them more ↵Wilco Baan Hofman2010-06-201-7/+16
| | | | | | | | understandable. Rename getgpo to show. This makes the net gpo break for it's samba 3 origins, but makes the syntax more intuitive. 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-206-5/+307
| | | | | | share. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add getinheritance and setinheritance to net gpo util and library.Wilco Baan Hofman2010-06-203-9/+158
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Implemented delete group policy link function and corresponding feature in ↵Wilco Baan Hofman2010-06-202-3/+107
| | | | | | 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-203-15/+24
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add add gPLink function and corresponding net gpo linkadd call.Wilco Baan Hofman2010-06-203-49/+141
| | | | | | Also added some definitions for future functions in policy.h Signed-off-by: Jelmer Vernooij <jelmer@samba.org>