summaryrefslogtreecommitdiff
path: root/source4/lib/policy/gp_filesys.c
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>
* replace: Add don't include unistd.h directly and add uid_wrapper.Andreas Schneider2011-10-271-3/+1
|
* s4/libpolicy: Install header file.Jelmer Vernooij2011-08-211-2/+1
|
* s4-policy: Use the correct local directory for stat.Amitay Isaacs2011-08-031-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:lib/policy/gp_filesys.c - remove dead codeMatthias Dieter Wallnöfer2010-09-101-2/+0
| | | | Found out by Solaris cc
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-6/+6
| | | | | | | 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: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
|
* 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-201-0/+21
| | | | | | Also moved pypolicy.c headers around so as not to generate compile warnings Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix 'magic' numbers to be strlen(something)Wilco Baan Hofman2010-06-201-2/+3
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Remove iconv convenience in used functions, which were deleted in commit ↵Wilco Baan Hofman2010-06-201-1/+0
| | | | | | f9ca9e46ad24036bf00cb361a6cef4b2e7e98d7d 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>
* Add preliminary NT ACL support for GPT (GPO on filesystem).Wilco Baan Hofman2010-06-201-25/+95
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add gpo create functionality. Also fix gPLink handling bugsWilco Baan Hofman2010-06-201-1/+160
| | | | 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-201-0/+263
share. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>