diff options
author | Wilco Baan Hofman <wilco@baanhofman.nl> | 2010-05-25 01:21:45 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-06-20 17:19:13 +0200 |
commit | 04133225c1c3ab53191da50cae39f2019e7f7f01 (patch) | |
tree | e4ed92d249be822f865d0c8065c7127bd8bd1fec /source4/winbind/wb_name2domain.c | |
parent | b9b85d6b0e23e042d60c83fef477fd4006a20c14 (diff) | |
download | samba-04133225c1c3ab53191da50cae39f2019e7f7f01.tar.gz samba-04133225c1c3ab53191da50cae39f2019e7f7f01.tar.bz2 samba-04133225c1c3ab53191da50cae39f2019e7f7f01.zip |
Refactor policy filesystem code.
* 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>
Diffstat (limited to 'source4/winbind/wb_name2domain.c')
0 files changed, 0 insertions, 0 deletions