Changesets: bareos

master e807081e

2016-09-05 11:18

pstorz

Ported: N/A

Details Diff
windows installer: silent WebUI install

- Check for vcredist disabled during silent install.

- Added three parameters for WebUI to silent installer:
- /INSTALLWEBUI Installs Bareos WebUI Components, REQUIRES Visual C++ Redistributable for
Visual Studio 2012 x86, implicitly sets /INSTALLDIRECTOR
- optional: /WEBUILISTENADDRESS=webui listen address, default 127.0.0.1
- optional: /WEBUILISTENPORT=webui listen port, default 9100

- a firewall rule for the bareos webui is created
mod - platforms/win32/winbareos.nsi Diff File

bareos-16.2 59ef3ba9

2016-09-02 20:09

joergs

Ported: N/A

Details Diff
univention-bareos: adapted to Subdirectory Configuration Scheme
rm - debian/univention-bareos.dirs Diff File
mod - debian/univention-bareos.install.in Diff File
mod - debian/univention-bareos.postinst.in Diff File
mod - debian/univention-bareos.univention-config-registry Diff File
mod - platforms/univention/Makefile.in Diff File
add - platforms/univention/bareos-dir-restart Diff File
add - platforms/univention/conffiles/etc/bareos/bareos-dir.d/client/include-autogenerated.conf Diff File
add - platforms/univention/conffiles/etc/bareos/bareos-dir.d/console/webui-user1.conf Diff File
add - platforms/univention/conffiles/etc/bareos/bareos-dir.d/job/Backup-SelfTest.conf Diff File
mod - platforms/univention/create_ucs_template_files.sh Diff File
add - platforms/univention/create_ucs_template_scripts.sh Diff File
rm - platforms/univention/fd-generic.template Diff File
rm - platforms/univention/fd-windows.template Diff File
mod - platforms/univention/job-generic.template Diff File
mod - platforms/univention/univention-bareos.cron Diff File
mod - platforms/univention/univention-bareos.py Diff File

bareos-16.2 185472f2

2016-09-02 18:39

joergs

Ported: N/A

Details Diff
set_config_param: fix settings with spaces

bareos-config set_config_param did not quote the parameter enough.
This patch fixes this.
mod - scripts/bareos-config-lib.sh.in Diff File

master 9c22f560

2016-09-02 14:20

Joerg Steffens

Ported: N/A

Details Diff
add AGPL license file
add - LICENSE.txt Diff File

master 17d29ca9

2016-09-02 14:04

Frank Bergkemper

Ported: N/A

Details Diff
Merge branch 'bareos-16.2'
mod - module/Client/src/Client/Controller/ClientController.php Diff File
mod - module/Client/src/Client/Model/ClientModel.php Diff File
mod - module/Client/view/client/client/index.phtml Diff File
mod - module/Job/src/Job/Model/JobModel.php Diff File
mod - module/Job/view/job/job/actions.phtml Diff File
mod - module/Schedule/view/schedule/schedule/index.phtml Diff File

master aa1ce6c6

2016-09-02 13:57

Frank Bergkemper

Ported: N/A

Details Diff
version bump 16.3.3
mod - version.txt Diff File

master 079f1e17

2016-09-01 20:59

mvwieringen

Ported: N/A

Details Diff
stored: Status storage should only show configured devices.

When listing the volumes in status storage we still list all volumes on
all devices while we should only list the volumes on the device the
status is asked about.

This also addresses a TODO to move the status function from vol_mgr.c to
status.c as is expressed in the comment in the code but never
implemented as it seems.
mod - src/stored/protos.h Diff File
mod - src/stored/reserve.c Diff File
mod - src/stored/status.c Diff File
mod - src/stored/vol_mgr.c Diff File

master 5f256956

2016-09-01 20:59

mvwieringen

Ported: N/A

Details Diff
stored: Clone volume list walking for read volumes.

Analog to the way the normal volume list is walked this adds support for
walking the read volume list in a safe way without the need to lock the
list for the whole walk period.
mod - src/stored/protos.h Diff File
mod - src/stored/status.c Diff File
mod - src/stored/vol_mgr.c Diff File
mod - src/stored/vol_mgr.h Diff File

master dcfec264

2016-09-01 20:59

mvwieringen

Ported: N/A

Details Diff
dird: Validate client and storage for native restore.
mod - src/dird/restore.c Diff File

master bbf4d099

2016-09-01 20:59

mvwieringen

Ported: N/A

Details Diff
cats: Retire sql glueing layer.

When I refactored the catalog backends in 2010 I was talked in to use
some glueing layer so the calling functions didn't need to much
changing. That has served it purpose but now after 6 years its time to
take the next step and move B_DB functions into proper class methods.
This patch removes the old glue layer and extends the B_DB class with
all methods needed to be a proper abstraction of the different database
functions needed. Also all old database functions are now promoted to
class methods. As part of the rewrite we also refactored quite a bit of
code and dropped the db_ prefix where it made sense as its now kind of
obvious its a method doing something with the database when its part of
a B_DB class that handles database abstraction.

I also made all the B_DB members now protected which is a lot easier now
most methods handle the inner content of the class and we don't have to
many external functions poking into our internal structures.

All low level methods previously protected via the bdb_priv.h header
are now proper private methods in the B_DB class and are only visible
to methods in source files that set _BDB_PRIV_INTERFACE_. As such we
control the access to these low level methods to either the methods in
the catalog shared libs or to the actual database backend drivers.

Lets call this catalog refactoring phase 3 after phase 1 and 2 which was
done in 2010.
mod - src/cats/Makefile.in Diff File
mod - src/cats/bdb_dbi.h Diff File
mod - src/cats/bdb_ingres.h Diff File
mod - src/cats/bdb_mysql.h Diff File
mod - src/cats/bdb_postgresql.h Diff File
mod - src/cats/bdb_priv.h Diff File
mod - src/cats/bdb_sqlite.h Diff File
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/cats/cats.c Diff File
mod - src/cats/cats.h Diff File
mod - src/cats/cats_backends.c Diff File
mod - src/cats/cats_backends.h Diff File
mod - src/cats/dbi.c Diff File
mod - src/cats/ingres.c Diff File
mod - src/cats/lock_check Diff File
mod - src/cats/mysql.c Diff File
mod - src/cats/postgresql.c Diff File
mod - src/cats/protos.h Diff File
mod - src/cats/sql.c Diff File
mod - src/cats/sql_cmds.c Diff File
mod - src/cats/sql_cmds.h Diff File
mod - src/cats/sql_create.c Diff File
mod - src/cats/sql_delete.c Diff File
mod - src/cats/sql_find.c Diff File
mod - src/cats/sql_get.c Diff File
rm - src/cats/sql_glue.c Diff File
rm - src/cats/sql_glue.h Diff File
mod - src/cats/sql_list.c Diff File
mod - src/cats/sql_pooling.c Diff File
mod - src/cats/sql_update.c Diff File
mod - src/cats/sqlite.c Diff File
mod - src/dird/admin.c Diff File
mod - src/dird/archive.c Diff File
mod - src/dird/autoprune.c Diff File
mod - src/dird/backup.c Diff File
mod - src/dird/bsr.c Diff File
mod - src/dird/catreq.c Diff File
mod - src/dird/consolidate.c Diff File
mod - src/dird/dbcheck.c Diff File
mod - src/dird/dir_plugins.c Diff File
mod - src/dird/dird.c Diff File
mod - src/dird/dird.h Diff File
mod - src/dird/expand.c Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/job.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/msgchan.c Diff File
mod - src/dird/ndmp_dma_backup.c Diff File
mod - src/dird/ndmp_dma_restore.c Diff File
mod - src/dird/ndmp_fhdb_helpers.c Diff File
mod - src/dird/newvol.c Diff File
mod - src/dird/next_vol.c Diff File
mod - src/dird/quota.c Diff File
mod - src/dird/recycle.c Diff File
mod - src/dird/restore.c Diff File
mod - src/dird/stats.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_db.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_label.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/dird/ua_prune.c Diff File
mod - src/dird/ua_purge.c Diff File
mod - src/dird/ua_query.c Diff File
mod - src/dird/ua_restore.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/dird/ua_select.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/dird/ua_tree.c Diff File
mod - src/dird/ua_update.c Diff File
mod - src/dird/vbackup.c Diff File
mod - src/dird/verify.c Diff File
mod - src/stored/bscan.c Diff File
mod - src/tests/bbatch.c Diff File
mod - src/tests/bvfs_test.c Diff File
mod - src/win32/cats/Makefile Diff File

master baaa2363

2016-09-01 20:59

mvwieringen

Ported: N/A

Details Diff
cats: Use JOIN USING() instead of JOIN ON()

Try using as much as possible the JOIN USING() SQL syntax and only the
JOIN ON() SQL syntax when we JOIN tables not on an unique fieldname or
when the query becomes unambiguous.
mod - src/cats/bvfs.c Diff File
mod - src/cats/sql_cmds.c Diff File
mod - src/cats/sql_get.c Diff File
mod - src/cats/sql_list.c Diff File
mod - src/dird/dbcheck.c Diff File
mod - src/dird/ua_prune.c Diff File

master 7cdae0bc

2016-09-01 20:59

mvwieringen

Ported: N/A

Details Diff
cats: Import loadable query table support.
mod - GNUmakefile.in Diff File
mod - Makefile.in Diff File
mod - autoconf/Make.common.in Diff File
mod - autoconf/configure.in Diff File
mod - debian/bareos-database-mysql.install.in Diff File
mod - debian/bareos-database-postgresql.install.in Diff File
mod - debian/bareos-database-sqlite3.install.in Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - src/cats/Makefile.in Diff File
mod - src/cats/cats.c Diff File
mod - src/cats/cats.h Diff File
add - src/cats/dml/Makefile.in Diff File
add - src/cats/dml/README Diff File
add - src/cats/dml/check_queries Diff File
add - src/cats/dml/create_query_table Diff File
add - src/cats/dml/duplicate_queries Diff File
add - src/cats/dml/vim/Align.vba Diff File
add - src/cats/dml/vim/INSTALL Diff File
add - src/cats/dml/vim/sqlutil_400/autoload/SQLUtilities.vim Diff File
add - src/cats/dml/vim/sqlutil_400/plugin/SQLUtilities.vim Diff File
mod - src/cats/mysql.c Diff File
mod - src/cats/postgresql.c Diff File
mod - src/cats/protos.h Diff File
mod - src/cats/sql_list.c Diff File
add - src/cats/sql_query.c Diff File
mod - src/cats/sqlite.c Diff File
mod - src/dird/dbcheck.c Diff File
mod - src/dird/dird.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/stored/bscan.c Diff File
mod - src/win32/cats/Makefile Diff File
mod - src/win32/compat/include/mingwconfig.h Diff File

master 94b845ca

2016-09-01 20:59

mvwieringen

Ported: N/A

Details Diff
build: Rebuild configure.
mod - autoconf/config.h.in Diff File
mod - configure Diff File

master d1982318

2016-09-01 20:59

mvwieringen

Ported: N/A

Details Diff
cats: Replace sql_cmds.c with loadable queries.
mod - src/cats/Makefile.in Diff File
mod - src/cats/bvfs.c Diff File
mod - src/cats/cats.h Diff File
add - src/cats/dml/0001 Diff File
add - src/cats/dml/0002 Diff File
add - src/cats/dml/0003 Diff File
add - src/cats/dml/0004 Diff File
add - src/cats/dml/0005 Diff File
add - src/cats/dml/0006 Diff File
add - src/cats/dml/0007 Diff File
add - src/cats/dml/0008 Diff File
add - src/cats/dml/0009 Diff File
add - src/cats/dml/0010 Diff File
add - src/cats/dml/0011 Diff File
add - src/cats/dml/0012 Diff File
add - src/cats/dml/0012.mysql Diff File
add - src/cats/dml/0012.postgresql Diff File
add - src/cats/dml/0013 Diff File
add - src/cats/dml/0013.ingres Diff File
add - src/cats/dml/0013.mysql Diff File
add - src/cats/dml/0013.postgresql Diff File
add - src/cats/dml/0014 Diff File
add - src/cats/dml/0015 Diff File
add - src/cats/dml/0016 Diff File
add - src/cats/dml/0017 Diff File
add - src/cats/dml/0018 Diff File
add - src/cats/dml/0019 Diff File
add - src/cats/dml/0020 Diff File
add - src/cats/dml/0021 Diff File
add - src/cats/dml/0022 Diff File
add - src/cats/dml/0023 Diff File
add - src/cats/dml/0024 Diff File
add - src/cats/dml/0025 Diff File
add - src/cats/dml/0026 Diff File
add - src/cats/dml/0027 Diff File
add - src/cats/dml/0028 Diff File
add - src/cats/dml/0029 Diff File
add - src/cats/dml/0030 Diff File
add - src/cats/dml/0031 Diff File
add - src/cats/dml/0032 Diff File
add - src/cats/dml/0033 Diff File
add - src/cats/dml/0034 Diff File
add - src/cats/dml/0034.postgresql Diff File
add - src/cats/dml/0035 Diff File
add - src/cats/dml/0035.postgresql Diff File
add - src/cats/dml/0036 Diff File
add - src/cats/dml/0036.postgresql Diff File
add - src/cats/dml/0037 Diff File
add - src/cats/dml/0037.ingres Diff File
add - src/cats/dml/0038 Diff File
add - src/cats/dml/0038.ingres Diff File
add - src/cats/dml/0038.mysql Diff File
add - src/cats/dml/0039 Diff File
add - src/cats/dml/0039.ingres Diff File
add - src/cats/dml/0040 Diff File
add - src/cats/dml/0040.ingres Diff File
add - src/cats/dml/0041 Diff File
add - src/cats/dml/0041.ingres Diff File
add - src/cats/dml/0041.mysql Diff File
add - src/cats/dml/0042 Diff File
add - src/cats/dml/0042.ingres Diff File
add - src/cats/dml/0042.postgresql Diff File
add - src/cats/dml/0043 Diff File
add - src/cats/dml/0043.ingres Diff File
add - src/cats/dml/0043.postgresql Diff File
add - src/cats/dml/0044 Diff File
add - src/cats/dml/0044.ingres Diff File
add - src/cats/dml/0044.postgresql Diff File
add - src/cats/dml/0045 Diff File
add - src/cats/dml/0045.ingres Diff File
add - src/cats/dml/0046 Diff File
add - src/cats/dml/0046.mysql Diff File
add - src/cats/dml/0046.postgresql Diff File
add - src/cats/dml/0047 Diff File
add - src/cats/dml/0047.postgresql Diff File
add - src/cats/dml/0048 Diff File
add - src/cats/dml/0048.postgresql Diff File
add - src/cats/dml/0049 Diff File
add - src/cats/dml/0049.mysql Diff File
add - src/cats/dml/0049.postgresql Diff File
add - src/cats/dml/0050 Diff File
add - src/cats/dml/0050.mysql Diff File
add - src/cats/dml/0050.postgresql Diff File
add - src/cats/dml/0051 Diff File
add - src/cats/dml/0051.mysql Diff File
add - src/cats/dml/0052 Diff File
add - src/cats/dml/0052.ingres Diff File
add - src/cats/dml/0052.mysql Diff File
add - src/cats/dml/0052.postgresql Diff File
add - src/cats/dml/0053 Diff File
add - src/cats/dml/0053.ingres Diff File
add - src/cats/dml/0053.mysql Diff File
add - src/cats/dml/0053.postgresql Diff File
add - src/cats/dml/0054 Diff File
add - src/cats/dml/0054.mysql Diff File
add - src/cats/dml/0054.postgresql Diff File
add - src/cats/dml/0055 Diff File
add - src/cats/dml/0055.mysql Diff File
add - src/cats/dml/0055.postgresql Diff File
add - src/cats/dml/0056 Diff File
add - src/cats/dml/0056.mysql Diff File
add - src/cats/dml/0057 Diff File
add - src/cats/dml/0057.mysql Diff File
add - src/cats/dml/0058 Diff File
add - src/cats/dml/0058.mysql Diff File
add - src/cats/dml/0059 Diff File
add - src/cats/dml/0059.postgresql Diff File
add - src/cats/dml/0060 Diff File
add - src/cats/dml/0060.postgresql Diff File
add - src/cats/dml/0061 Diff File
add - src/cats/dml/0062 Diff File
mod - src/cats/sql.c Diff File
rm - src/cats/sql_cmds.c Diff File
rm - src/cats/sql_cmds.h Diff File
mod - src/cats/sql_create.c Diff File
mod - src/cats/sql_find.c Diff File
mod - src/cats/sql_get.c Diff File
mod - src/cats/sql_list.c Diff File
mod - src/cats/sql_update.c Diff File
mod - src/dird/dird.c Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/dird/ua_prune.c Diff File
mod - src/dird/ua_purge.c Diff File
mod - src/dird/ua_restore.c Diff File
mod - src/dird/ua_update.c Diff File
mod - src/win32/cats/Makefile Diff File

master 533b223f

2016-09-01 19:43

mvwieringen

Ported: N/A

Details Diff
Merge branch 'bareos-16.2'
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - src/cats/bvfs.c Diff File
mod - src/cats/protos.h Diff File
mod - src/cats/sql.c Diff File
mod - src/cats/sql_list.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/ua.h Diff File
mod - src/dird/ua_acl.c Diff File
mod - src/dird/ua_audit.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_configure.c Diff File
mod - src/dird/ua_db.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_label.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/dird/ua_prune.c Diff File
mod - src/dird/ua_restore.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/dird/ua_select.c Diff File
mod - src/dird/ua_server.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/dird/ua_update.c Diff File
mod - src/lib/output_formatter.c Diff File
mod - src/lib/output_formatter.h Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File

master a2e9cfb4

2016-09-01 19:40

mvwieringen

Ported: N/A

Details Diff
Tweaks.
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File

master 08bb7f15

2016-09-01 19:40

mvwieringen

Ported: N/A

Details Diff
bcommand: Filter resources on list/llist.

This patch expands the OUTPUT_FORMATTER with a filtering framework.
On instantiate of the class you specify a callback function which
does the filtering e.g. returns true or false to indicate that the
item should or should not be printed.

The following new methods are added to the OUTPUT_FORMATTER:

- add_limit_filter_tuple(limit)
Sets a new filtering tuple that limits the number of output
lines.
- add_acl_filter_tuple(column, acltype)
Sets a new filtering tuple where column is the column number in
the SQL ROW returned and acltype being the ACL type to check
against using acl_access_ok().
- add_res_filter_tuple(column, restype)
Sets a new filtering tuple where column is the column number in
the SQL ROW returned and restype being the resource type to check
against using GetResWithName().
- add_enabled_filter_tuple(column, restype)
Sets a new filtering tuple where column is the column number in
the SQL ROW returned and restype being the resource type to
retrieve and check the enabled flag of that resource.
- add_disabled_filter_tuple(column, restype)
Sets a new filtering tuple where column is the column number in
the SQL ROW returned and restype being the resource type to
retrieve and check the enabled flag of that resource.
- clear_filters()
Remove all filters currently set e.g. all tuples are removed.
- has_filters()
Returns if there are any filters defined.
This allows you to shurtcut in the processing loop if no
filtering needs to be done. Then there is no need to have the
full overhead of calling the filter_data() methods that then
finds out there is nothing to do.
- has_acl_filters()
Returns if there are any ACL filters defined.
- filter_data(data)
This function invokes the callback filter function with the
data pointer you provide.
- add_hidden_column(column)
Sets the given column to the hidden status and as such it will
not be printed in the output. This allows you to add a column
that is used for filtering but is not printed and thus invisible
for the end-user.
- clear_hidden_columns()
Remove all hidden columns currently set.
- is_hidden_column(column)
Returns if the given column is hidden or not.

On instantiate of the OUTPUT_FORMATTER we set the so called context
to the current UA (UserAgent) for the filter function so that is
also passed to the filter callback function. This is analog to the
send() method which already existed. As acl_access_ok() needs the
UA we need to have it accessable in the filtering function.

When you specify current in the cmdline of a list or llist it will now
set the needed resource filters which will check if the resource is
still in the active config before displaying it.

When you specify enabled in the cmdline of a list or llist it will now
set the needed resource filters which will check if the resource is
enabled or not.

When you specify disabled in the cmdline of a list or llist it will now
set the needed resource filters which will check if the resource is
disabled or not.

We now always call get_jobid_from_cmdline() to get the jobid. This way
we can check in get_jobid_from_cmdline() if the jobid given is allowed
under the current ACL settings for the UA. For this we lookup the job
data and the client data and check against the JobAcl and ClientAcl.

As part of refactoring this code we created some new and moved some
functions to be methods in the UAContext. From now on there is a
GetResByName() method that should be used to get the pointer to a
resource instead of calling the GetResByName() function directly in
src/lib/res.c as this version checks directly if the named console has
access to the wanted resource so we no longer have to code a call to
acl_access_ok(). All the macros for GetXXXResByName now are also methods
of the UAContext and use the new method. We also removed quite some
redundant LockRes() and UnlockRes() calls as at the lowest level when
calling a GetXXXResByName() a GetResByName() is called and that already
does the right locking and unlocking. One of the nicer advantages of
the new approach to check for acl_acces_ok() in the resource lookup is
that the end-user gets back resource unknown instead of access denied
to resource (an audit event is logged however). This is also how things
work in most password authentication lookups in most UNIXes these days
as such you don't leak information about existing but not reachable
resources.

From now on messages will only be shown using the messages and .messages
functions to consoles with a non restrictive Command ACL setting. This
way no information can leak to any named console which doesn't have any
access to certain commands. Those named consoles can still do a list log
and see the data they are supposed to see under the restrictions of the
ACL that apply to those consoles.

Fixes 0000628: output of list command not restricted for own jobs/clients
on restricted consoles with ACLs
Affected Issues
0000628
mod - src/cats/protos.h Diff File
mod - src/cats/sql.c Diff File
mod - src/cats/sql_list.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/ua.h Diff File
mod - src/dird/ua_acl.c Diff File
mod - src/dird/ua_audit.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_configure.c Diff File
mod - src/dird/ua_db.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_label.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/dird/ua_prune.c Diff File
mod - src/dird/ua_restore.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/dird/ua_select.c Diff File
mod - src/dird/ua_server.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/dird/ua_update.c Diff File
mod - src/lib/output_formatter.c Diff File
mod - src/lib/output_formatter.h Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File

master 32dc0a51

2016-09-01 19:40

mvwieringen

Ported: N/A

Details Diff
bcommand: Add tri-state filter support.

This adds so called tri-state support to the filtering which allows to
return a tri-state (e.g. show, suppress, unknown) which fits better then
a boolean that only can have 2 values. When the filter column is not
filled we cannot really check if a resource is enabled/disabled/exists
or passes an ACL so we now return OF_FILTER_STATE_UNKNOWN indicating
this. We now count all OF_FILTER_STATE_SHOW and OF_FILTER_STATE_UNKNOWN
states returned by the different filters set (set in the calling function)
when all filters are applied and there are no filters returning an
explicit OF_FILTER_STATE_SHOW and we do have one or more
OF_FILTER_STATE_UNKNOWN return values we will explicitly suppress this
value as we cannot be sure that we should or should not show the data.
mod - src/dird/protos.h Diff File
mod - src/dird/ua_output.c Diff File
mod - src/lib/output_formatter.c Diff File
mod - src/lib/output_formatter.h Diff File

master 21d49240

2016-09-01 19:40

mvwieringen

Ported: N/A

Details Diff
dird: Add warning message that enable/disable is temporary.
mod - src/dird/ua_cmds.c Diff File

master b35f3717

2016-09-01 19:24

mvwieringen

Ported: N/A

Details Diff
Merge branch 'bareos-15.2' into bareos-16.2
mod - src/cats/bvfs.c Diff File
mod - src/dird/ua_acl.c Diff File
mod - src/dird/ua_dotcmds.c Diff File

bareos-15.2 a7422402

2016-09-01 19:13

mvwieringen

Ported: N/A

Details Diff
bcommand: Fix acl regular expression matching.

We should check for partial matches and disallow those. For that we need
to lose the REG_NOSUB flag and pass a nmatch and pmatch value to
regexec() and check the start and end offset and make sure that its the
full string that matches. We also check if the string has any hints as
to if its a regular expression at all.
mod - src/dird/ua_acl.c Diff File

bareos-15.2 95e12931

2016-09-01 19:06

mvwieringen

Ported: N/A

Details Diff
bcommand: BVFS should check for ACLs.

BVFS has pretty bad ideas on security it allows the end user to specify
any set of JobIds without checking ACLs next to that is allows you to
specify any client without checking access and it also allows filesets
to be browsed that may not be part of your ACLs. This patch tries to
make things more secure by filtering the JobIds you can supply to the
commands and which are returned by making sure that the JobName and
ClientName used by the Job are within your ACLs. User input on clients
and filesets is also validated against the proper ACLs.
mod - src/dird/ua_dotcmds.c Diff File

bareos-16.2 0813dae8

2016-08-31 12:48

pstorz

Ported: N/A

Details Diff
windows installer: added webui

The windows installer now also contains the webui.
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File

master a886f6e5

2016-08-31 12:31

Philipp Storz

Ported: N/A

Details Diff
Explain where the director address is configured
mod - manuals/en/main/client-initiated-connection.tex Diff File

bareos-15.2 f0ea06f2

2016-08-31 12:26

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
bvfs: Do not add an empty path to path table
mod - src/cats/bvfs.c Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 447 448 449 450 451 452 453 ... 480 ... 540 ... 600 ... 610 611 612  Next  Last