Changesets: bareos

bareos-14.2 1013370a

2014-12-29 17:26

Marco van Wieringen


Committer: Joerg Steffens

Ported: N/A

Details Diff
ACL enhancements

- Add support for console profiles

This adds some basic support for defining a profile with some basic ACLS
which can be referenced by any console resource. This way you don't have
to define the same ACLs over and over again for each named console.

The way this works is that the ACL definition in the console resource is
checked first to see if it already allows you to access the wanted
resource. If that is not the case it will check if your named console is
connected to a certain profile and use the ACL setting in that profile
to get access to the resource.

There is one special case and that is the where ACL if you want to use
the where ACL in the profile you should set the where ACL of the named
console to something like *none* as an empty where ACL means allow
restore anywhere.

- Add support for regular expressions in ACLs.

This makes ACLs a lot more universal and usable.

e.g. you can now use a poolAcl which states: .*NDMP.* and get access to
all pools which match that regular expression (Thing are compared case
insensitive).

- Add support for deny ACLs

e.g. a command acl like this will work now: !show, *all*

Which will allow all commands but not show.
mod - src/console/console.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/ua_acl.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_output.c Diff File

master b8bd0940

2014-12-29 17:26

Marco van Wieringen

Ported: N/A

Details Diff
ACL enhancements

- Add support for console profiles

This adds some basic support for defining a profile with some basic ACLS
which can be referenced by any console resource. This way you don't have
to define the same ACLs over and over again for each named console.

The way this works is that the ACL definition in the console resource is
checked first to see if it already allows you to access the wanted
resource. If that is not the case it will check if your named console is
connected to a certain profile and use the ACL setting in that profile
to get access to the resource.

There is one special case and that is the where ACL if you want to use
the where ACL in the profile you should set the where ACL of the named
console to something like *none* as an empty where ACL means allow
restore anywhere.

- Add support for regular expressions in ACLs.

This makes ACLs a lot more universal and usable.

e.g. you can now use a poolAcl which states: .*NDMP.* and get access to
all pools which match that regular expression (Thing are compared case
insensitive).

- Add support for deny ACLs

e.g. a command acl like this will work now: !show, *all*

Which will allow all commands but not show.
mod - src/console/console.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/ua_acl.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_output.c Diff File

master c12d25ff

2014-12-24 14:21

Marco van Wieringen

Ported: N/A

Details Diff
Fix director crash on dir command with long filenames

Fixes 0000383: dir command in bconsole crash bareos-dir
mod - src/dird/ua_tree.c Diff File

master ae9681c8

2014-12-24 13:21

mvwieringen

Ported: N/A

Details Diff
Fix director crash on dir command with long filenames

Fixes 0000383: dir command in bconsole crash bareos-dir
Affected Issues
0000383
mod - src/dird/ua_tree.c Diff File

bareos-14.2 8befea7d

2014-12-24 13:21

mvwieringen

Ported: N/A

Details Diff
Fix director crash on dir command with long filenames

Fixes 0000383: dir command in bconsole crash bareos-dir
Affected Issues
0000383
mod - src/dird/ua_tree.c Diff File

master ac7bd72d

2014-12-24 00:19

Marco van Wieringen

Ported: N/A

Details Diff
Revert supplemental groups scripting.

This might not be fully right but until we have time to fix
the new code this is better then nothing.
mod - scripts/bareos-config-lib.sh.in Diff File

master cbe2e136

2014-12-23 23:19

mvwieringen

Ported: N/A

Details Diff
Revert supplemental groups scripting.

This might not be fully right but until we have time to fix
the new code this is better then nothing.
mod - scripts/bareos-config-lib.sh.in Diff File

master 2d942109

2014-12-23 23:14

Marco van Wieringen

Ported: N/A

Details Diff
Some more fixes to the supplemental groups scripting.
mod - scripts/bareos-config-lib.sh.in Diff File

master e20055db

2014-12-23 22:14

mvwieringen

Ported: N/A

Details Diff
Some more fixes to the supplemental groups scripting.
mod - scripts/bareos-config-lib.sh.in Diff File

master 1ce286e1

2014-12-23 22:01

Marco van Wieringen

Ported: N/A

Details Diff
Work around the fact that the usermod doesn't always have -a

Fixes 0000382: Don't remove supplemental groups on install.
mod - scripts/bareos-config-lib.sh.in Diff File

master 59fa771f

2014-12-23 21:01

mvwieringen

Ported: N/A

Details Diff
Work around the fact that the usermod doesn't always have -a

Fixes 0000382: Don't remove supplemental groups on install.
Affected Issues
0000382
mod - scripts/bareos-config-lib.sh.in Diff File

master f9701752

2014-12-23 20:20

Marco van Wieringen

Ported: N/A

Details Diff
Fix removing of supplemental groups.

When we add bareos to the right supplemental groups we should use
the -a option of usermod so it leaves the other supplemental groups
alone.

Fixes 0000382: Don't remove supplemental groups on install.
mod - scripts/bareos-config-lib.sh.in Diff File

master d8e191bc

2014-12-23 19:20

mvwieringen

Ported: N/A

Details Diff
Fix removing of supplemental groups.

When we add bareos to the right supplemental groups we should use
the -a option of usermod so it leaves the other supplemental groups
alone.

Fixes 0000382: Don't remove supplemental groups on install.
Affected Issues
0000382
mod - scripts/bareos-config-lib.sh.in Diff File

master 217730a9

2014-12-23 15:20

Marco van Wieringen

Ported: N/A

Details Diff
Fix problem with getting symlink data on windows.
mod - src/win32/compat/compat.c Diff File

master dc44f4c2

2014-12-23 14:20

mvwieringen

Ported: N/A

Details Diff
Fix problem with getting symlink data on windows.
mod - src/win32/compat/compat.c Diff File

bareos-14.2 f8477f75

2014-12-23 14:20

mvwieringen

Ported: N/A

Details Diff
Fix problem with getting symlink data on windows.
mod - src/win32/compat/compat.c Diff File

master 0ee66a22

2014-12-23 10:50

Marco van Wieringen

Ported: N/A

Details Diff
Cleanup device backend cache on exit.
mod - src/stored/btape.c Diff File
mod - src/stored/protos.h Diff File
mod - src/stored/stored.c Diff File

Release b3572fdc

2014-12-23 10:36

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix compiler warnings in btape
mod - src/stored/btape.c Diff File

master 4aef19a5

2014-12-23 10:36

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Fix compiler warnings in btape
mod - src/stored/btape.c Diff File

bareos-13.2 54379b30

2014-12-23 10:36

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Fix compiler warnings in btape
mod - src/stored/btape.c Diff File

master a1431d3f

2014-12-23 09:50

mvwieringen

Ported: N/A

Details Diff
Cleanup device backend cache on exit.
mod - src/stored/btape.c Diff File
mod - src/stored/protos.h Diff File
mod - src/stored/stored.c Diff File

bareos-14.2 b516934b

2014-12-23 09:50

mvwieringen

Ported: N/A

Details Diff
Cleanup device backend cache on exit.
mod - src/stored/btape.c Diff File
mod - src/stored/protos.h Diff File
mod - src/stored/stored.c Diff File

master 21a40b4b

2014-12-23 09:36

pstorz

Ported: N/A

Details Diff
Fix compiler warnings in btape
mod - src/stored/btape.c Diff File

bareos-14.2 cdce25e8

2014-12-23 09:36

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix compiler warnings in btape
mod - src/stored/btape.c Diff File

master 65f14358

2014-12-22 18:11

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Add JobACL to monitor console to see jobs

Looks like before the status command did not limit the
view of jobs according to the JobACL.

As the ACLs now have been fixed, we need to allow the
monitor ressource to see all jobs because otherwise
we see nothing.

Fixes 0000378: Bareos tray monitor - not accurate information from
bareos-dir
mod - platforms/univention/conffiles/etc/bareos/bareos-dir.conf Diff File
mod - src/defaultconfigs/diskonly/bareos-dir.conf.in Diff File
mod - src/defaultconfigs/legacy/bareos-dir.conf.in Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 505 506 507 508 509 510 511 ... 540 ... 600 ... 607 608 609  Next  Last