summaryrefslogtreecommitdiffstats
path: root/source4/lib
Commit message (Collapse)AuthorAgeFilesLines
* s4:secrets Ensure secrets.ldb uses the same hooks as the rest of SambaAndrew Bartlett2010-06-291-6/+10
| | | | | | | This ensures that, for example, the utf8 functions are the same, the GUID handler is the same and the NOSYNC flag is applied. Andrew Bartlett
* s4:lib/registry/ldb.c - add a missing braceMatthias Dieter Wallnöfer2010-06-281-1/+1
| | | | Sorry didn't check that earlier.
* s4:lib/registry/ldb.c - fix memory handling in "ldb_open_key"Matthias Dieter Wallnöfer2010-06-281-1/+4
|
* s4:lib/ldb/registry.c - handle the classname in the right wayMatthias Dieter Wallnöfer2010-06-281-1/+8
| | | | This is for "ldb_get_key_info".
* s4:lib/registry/ldb.c - remove really useless "local_ctx"Matthias Dieter Wallnöfer2010-06-281-8/+2
| | | | "mem_ctx" should fit for these few local allocations.
* s4:lib/registry/ldb.c - retrieve the classname correctly in ↵Matthias Dieter Wallnöfer2010-06-281-7/+6
| | | | "ldb_get_subkey_by_id"
* s4:lib/registry/ldb.c - change the "ldb_get_value" implementation to use the ↵Matthias Dieter Wallnöfer2010-06-281-20/+17
| | | | | | value cache and not an LDB lookup In addition this fixes the use of special characters in registry object names.
* Implementation of self membership validated right.Nadezhda Ivanova2010-06-281-5/+103
| | | | | When this right is granted, the user can add or remove themselves from a group even if they dont have write property right.
* ldb: Fix a wrong changetype in unit testMatthieu Patou2010-06-251-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4:lib/registry/ldb.c - cosmetic - fix commentMatthias Dieter Wallnöfer2010-06-251-1/+1
|
* s4:lib/registry/ldb.c - cosmetic - wrap linesMatthias Dieter Wallnöfer2010-06-251-3/+2
|
* s4-ldb: use CHECK_XSLTPROC_MANPAGES()Andrew Tridgell2010-06-241-1/+1
|
* s4-python: python is not always in /usr/binAndrew Tridgell2010-06-242-2/+2
| | | | | | | | Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4/ldb: ldb_msg_el_map_remote() should rename the remote attribute names ↵Endi S. Dewata2010-06-241-1/+15
| | | | into local names as defined in simple_ldap_map.c.
* libds:common Remove DS_DC_* domain functionality flagsAndrew Bartlett2010-06-231-8/+8
| | | | | | These are just a subset of the DS_DOMAIN_ functionality flags, are compared and often confused with each other. Just make them one set. Andrew Bartlett
* s4/dsdb-test: fix usage commentKamen Mazdrashki2010-06-221-2/+2
|
* smbtorture: Add history support to shell mode.James Peach2010-06-211-0/+5
|
* s4:registry/regf.c - add some casts to suppress build warnings on SolarisMatthias Dieter Wallnöfer2010-06-201-2/+2
|
* s4:registry/rpc.c - fix Solaris warnings by castsMatthias Dieter Wallnöfer2010-06-201-4/+4
|
* 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
|
* ldb:controls - add the "TREE_DELETE" control for allowing subtree deletesMatthias Dieter Wallnöfer2010-06-202-0/+34
|
* 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.
* 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.
* 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>
* 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>