Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-20 | Refactor policy filesystem code. | Wilco Baan Hofman | 1 | -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> | |||||
2010-06-20 | Fix memory allocation with error handling. | Wilco Baan Hofman | 5 | -21/+135 | |
Also moved pypolicy.c headers around so as not to generate compile warnings Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Add talloc_frees in error cases in net_gpo.c | Wilco Baan Hofman | 1 | -0/+11 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Code cleanups: GUID generation, lp_dnsdomain instead of lp_realm, missing ↵ | Wilco Baan Hofman | 2 | -9/+6 | |
spaces. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Set inherit flag type to bool. | Wilco Baan Hofman | 1 | -1/+1 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Fix 'magic' numbers to be strlen(something) | Wilco Baan Hofman | 2 | -4/+6 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Change talloc_steal to strdup because function might not expect it. | Wilco Baan Hofman | 1 | -5/+5 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Add GP ini functions. | Wilco Baan Hofman | 2 | -2/+134 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Remove iconv convenience in used functions, which were deleted in commit ↵ | Wilco Baan Hofman | 2 | -3/+0 | |
f9ca9e46ad24036bf00cb361a6cef4b2e7e98d7d Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Fix net gpo list to use the dsdb with extended DN's. Fixes memberOf group ↵ | Wilco Baan Hofman | 1 | -2/+19 | |
memberships. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Revert "Add old functionality back which was removed in commit 589a42e2." | Wilco Baan Hofman | 3 | -22/+3 | |
This reverts commit 94e3b4a0d8b714c101803886d60ae6c484740d2f. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Add ini parser for GPO's. | Wilco Baan Hofman | 3 | -2/+17 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Add net gpo setacl support. Create gp_set_acl function. Show ACL in net gpo ↵ | Wilco Baan Hofman | 4 | -3/+153 | |
show. Cleanup memory allocation of gp_create_gpo Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Fix set GPT security descriptor to match windows' behaviour. | Wilco Baan Hofman | 1 | -1/+1 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Fix crash when get_gpo_info returns incorrect data. | Wilco Baan Hofman | 2 | -5/+12 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Add preliminary NT ACL support for GPT (GPO on filesystem). | Wilco Baan Hofman | 3 | -37/+119 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | samba4: Add python bindings for samba.policy.get_gplink_options. | Jelmer Vernooij | 2 | -0/+52 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | policy: Add samba.policy.get_gpo_flags binding. | Jelmer Vernooij | 4 | -0/+123 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Add gpo create functionality. Also fix gPLink handling bugs | Wilco Baan Hofman | 7 | -19/+506 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Fix mode_t in mkdir. | Wilco Baan Hofman | 1 | -1/+1 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Finish net gpo fetch function. Reorder arguments to make them more ↵ | Wilco Baan Hofman | 1 | -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> | |||||
2010-06-20 | Optimize the backslash logic in the path traversal. | Wilco Baan Hofman | 1 | -24/+9 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Fix error in logic, making recursion work past the first level. | Wilco Baan Hofman | 1 | -1/+1 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Add fetch function for GPO which fetches all relevant files from the sysvol ↵ | Wilco Baan Hofman | 6 | -5/+307 | |
share. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Add getinheritance and setinheritance to net gpo util and library. | Wilco Baan Hofman | 3 | -9/+158 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Implemented delete group policy link function and corresponding feature in ↵ | Wilco Baan Hofman | 2 | -3/+107 | |
net gpo. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Changed add_gplink to set_gplink, so we can change gPLink options as well. | Wilco Baan Hofman | 3 | -15/+24 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Add add gPLink function and corresponding net gpo linkadd call. | Wilco Baan Hofman | 3 | -49/+141 | |
Also added some definitions for future functions in policy.h Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Rename files to reflect the libpolicy naming convention. Also fix the GNU ↵ | Wilco Baan Hofman | 7 | -6/+9 | |
make build. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Rename libgpo to lib/policy to avoid confusion with samba3 and add waf build | Wilco Baan Hofman | 10 | -9/+30 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Add old functionality back which was removed in commit 589a42e2. | Wilco Baan Hofman | 3 | -3/+22 | |
Andrew, please review! Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Add gpo list function for listing applicable GPO's for users/machines. | Wilco Baan Hofman | 3 | -38/+322 | |
Implements: * Hierarchical listing through all parent containers * security ACL checking on the GPO * User/computer disabled flags on the GPO * gPLink disabled * gPLink enforced * Block inheritance on the container Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Add gPLink and getgpo functionality to net gpo. | Wilco Baan Hofman | 3 | -67/+437 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Created net gpo and new libgpo for samba 4. This adds the init function ↵ | Wilco Baan Hofman | 12 | -671/+301 | |
which finds a DC and connects to its LDAP. It also can return information on all group policy objects on a DC. Aborted earlier attempt at reconciliation with samba 3. Did not work out due to lack of ldb support in samba 3, also the different registry libraries and different libnet did not help.. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | pydsdb: Mark all SamDB and Schema methods that are in pydsdb as | Jelmer Vernooij | 4 | -32/+32 | |
private, to discourage them being called directly. | |||||
2010-06-20 | testparm: Check netbios name and workgroup characters and length. | Jelmer Vernooij | 2 | -16/+38 | |
2010-06-20 | provision: Properly cancel transactions on the secrets ldb. | Jelmer Vernooij | 1 | -122/+131 | |
2010-06-20 | selftest: Use scripted testparm. | Jelmer Vernooij | 2 | -3/+4 | |
2010-06-20 | pyparam: Support Loadparm.get(p, "global") | Jelmer Vernooij | 1 | -52/+52 | |
2010-06-20 | ldb: Add ABI file for use when including ildap in the build. | Jelmer Vernooij | 1 | -0/+224 | |
2010-06-20 | testparm: Simplify default option handling. | Jelmer Vernooij | 1 | -19/+14 | |
2010-06-20 | pyparam: Allow specifying None as section name to LoadparmContext.get() | Jelmer Vernooij | 1 | -1/+1 | |
to mean default section. | |||||
2010-06-20 | testparm: Fix suppress prompt option. | Jelmer Vernooij | 1 | -7/+5 | |
2010-06-20 | testparm: Fix exit value, install. | Jelmer Vernooij | 2 | -14/+21 | |
2010-06-20 | s4-python: Add LoadparmService.dump() | Jelmer Vernooij | 1 | -0/+40 | |
2010-06-20 | s4-python: Implement LoadParm.dump(). | Jelmer Vernooij | 2 | -1/+24 | |
2010-06-20 | testparm: Split up functions that do multiple things. | Jelmer Vernooij | 1 | -40/+33 | |
2010-06-20 | testparm: Convert to Python. | Jelmer Vernooij | 3 | -266/+204 | |
2010-06-20 | s4-python: Remove more unused imports, fix use of sets in upgradehelpers. | Jelmer Vernooij | 3 | -9/+5 | |
2010-06-20 | setnttoken: Remove empty utility. | Jelmer Vernooij | 2 | -34/+0 | |