summaryrefslogtreecommitdiff
path: root/source4/lib/policy
Commit message (Collapse)AuthorAgeFilesLines
* gpo: Fix CID 1034880 Resource leakVolker Lendecke2013-11-111-2/+1
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ira Cooper <ira@samba.org> Autobuild-User(master): Ira Cooper <ira@samba.org> Autobuild-Date(master): Mon Nov 11 22:59:10 CET 2013 on sn-devel-104
* gpo: Fix CID 1034881 Resource leakVolker Lendecke2013-11-111-0/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
* s4-policy: Fix memory leaks in push_recursive().Andreas Schneider2013-02-221-14/+26
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* policy/python: Move python binding tests to standard location.Jelmer Vernooij2012-03-061-36/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Mar 6 02:26:29 CET 2012 on sn-devel-104
* policy/tests: Fix import of TestCase.Jelmer Vernooij2011-11-111-2/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 11 01:10:49 CET 2011 on sn-devel-104
* test: fixed several tests to use samba.testsAndrew Tridgell2011-11-101-2/+2
| | | | | | | this fixes error checking. Test failures were not being detected otherwise Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* replace: Add don't include unistd.h directly and add uid_wrapper.Andreas Schneider2011-10-271-3/+1
|
* build: avoid util.h as a public header name due to conflict with MacOSAndrew Bartlett2011-09-231-1/+1
|
* s4/libpolicy: Install header file.Jelmer Vernooij2011-08-214-8/+6
|
* s4-policy: Use the correct local directory for stat.Amitay Isaacs2011-08-031-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-policy: Add python wrapper for ads_to_dir_access_mask() functionAmitay Isaacs2011-08-031-2/+17
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-policy: Expose gp_ads_to_dir_access_mask() functionAmitay Isaacs2011-08-032-1/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* policy: Rename to samba-policy to avoid name space clashes.Jelmer Vernooij2011-07-262-5/+5
|
* s4:lib/policy/gp_ldap.c - make more use of LDB result constantsMatthias Dieter Wallnöfer2011-03-301-13/+13
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Mar 30 09:33:38 CEST 2011 on sn-devel-104
* source4/lib: Fix prototypes for all functions.Jelmer Vernooij2011-03-191-0/+2
|
* s4-policy: don't make s4 policy.h publicAndrew Tridgell2011-03-151-1/+0
| | | | if we are going to make GPO headers public, it should be from libgpo/
* ldb: use #include <ldb.h> for ldbAndrew Tridgell2011-02-101-1/+1
| | | | | | | | thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-pkgconfig: add @LIB_RPATH@ to our link flagsAndrew Tridgell2010-12-081-1/+1
| | | | | | | | this is only set when rpath is used on install. It ensures that applications that link against Samba libraries get the rpath right Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 8 12:46:00 CET 2010 on sn-devel-104
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-311-6/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* talloc: change pytalloc-util to be a public library.Jelmer Vernooij2010-10-261-1/+1
|
* s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij2010-10-261-1/+1
|
* s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij2010-10-241-1/+1
|
* s4-acl Merge sec_access_check() with se_access_check() from source3/Andrew Bartlett2010-10-141-1/+1
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-2/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* wafsamba: Fix handling of pyembed/pyext.Jelmer Vernooij2010-10-101-1/+2
|
* s4:SID handling - always encode the SID using "ldap_encode_ndr_dom_sid" for ↵Matthias Dieter Wallnöfer2010-09-131-2/+5
| | | | | | LDAP filters This makes also lookups through special backends as "samba3sam" work.
* s4:lib/policy/gp_filesys.c - remove dead codeMatthias Dieter Wallnöfer2010-09-101-2/+0
| | | | Found out by Solaris cc
* s4:security Change struct security_token->sids from struct dom_sid * to ↵Andrew Bartlett2010-08-231-1/+1
| | | | | | | | | struct dom_sid This makes the structure much more like NT_USER_TOKEN in the source3/ code. (The remaining changes are that privilages still need to be merged) Andrew Bartlett
* s4:security Remove use of user_sid and group_sid from struct security_tokenAndrew Bartlett2010-08-181-1/+1
| | | | This makes the structure more like Samba3's NT_USER_TOKEN
* s4-build: use @PACKAGE_VERSION@ in s4 pc.in filesAndrew Tridgell2010-08-091-1/+1
| | | | this gets replaced by vnum from the build rule
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-163-8/+8
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-python: python is not always in /usr/binAndrew Tridgell2010-06-241-1/+1
| | | | | | | | 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: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
|
* 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>