Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-20 | s4:samldb LDB module - remove "samldb_set_defaultObjectCategory" | Matthias Dieter Wallnöfer | 1 | -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. | |||||
2010-06-20 | s4:ldap_backend.c - add some newlines to make logs easier to read | Matthias Dieter Wallnöfer | 1 | -5/+5 | |
2010-06-20 | ldb:pyldb.c - introduce a "mem_ctx" also on "py_ldb_search" | Matthias Dieter Wallnöfer | 1 | -12/+19 | |
To prevent memory leaks | |||||
2010-06-20 | ldb:pyldb.c - some cleanups and adequations also in "py_ldb_modify" and ↵ | Matthias Dieter Wallnöfer | 1 | -19/+28 | |
"py_ldb_rename" To make them consistent. | |||||
2010-06-20 | s4:ldap_controls.c - remove encoding functions for private recalculate SD ↵ | Matthias Dieter Wallnöfer | 1 | -19/+0 | |
control | |||||
2010-06-20 | provision: Look for Samba prefix a bit harder. | Jelmer Vernooij | 1 | -4/+6 | |
2010-06-20 | Revert "s4:ldb-samba: fix the build without a system ldb" | Stefan Metzmacher | 1 | -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> | |||||
2010-06-20 | s4:ldb: only do ABI checking for the standalone build for now | Stefan Metzmacher | 1 | -12/+24 | |
Otherwise we fail to build samba4 with a system ldb. metze Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | libpolicy: Fix the build. | Jelmer Vernooij | 2 | -2/+2 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Add preliminary support for storing changed Group Policies. | Wilco Baan Hofman | 3 | -0/+101 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
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 | s3: Attempt to fix the build on NetBSD | Kai Blin | 2 | -6/+9 | |
Unlike Linux and OSX, NetBSD seems to have *netgrent prototypes in netgroup.h. | |||||
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 | 3 | -5/+6 | |
2010-06-20 | pyparam: Support Loadparm.get(p, "global") | Jelmer Vernooij | 1 | -52/+52 | |