[rsbac] ACL menu and RSBAC_EINVALIDTARGET

Amon Ott ao at rsbac.org
Fri Sep 12 11:34:05 MEST 2003


On Friday 12 September 2003 05:39, Samuli Kärkkäinen wrote:
> When using the ACL management menu and choosing a new target, it sometimes
> happens that the user interface doesn't list any entries, and in the syslog
> appears one or two lines like
> 
> rsbac_acl_sys_get_mask(): rsbac_acl_get_mask() returned error 
RSBAC_EINVALIDTARGET!
> 
> This is apparently when the target dependent specifier field (first/second
> field from the top) isn't given. Perhaps the contents of that field is kept
> the same as with previously used target, which makes the field content
> invalid. I haven't managed to figure out exactly when this happens.
> 
> This is not actually harmful, but quite confusing. Getting such messages
> into the syslog makes one think something is broken. The UI should probably
> make it more obvious that the user needs to enter something sensible into
> the field in question when its contents aren't valid.

You are right, and I will try to fix this. I hardly ever change the target 
type inside the menu, so I never noticed.

Amon.
-- 
http://www.rsbac.org - GnuPG: 2048g/5DEAAA30 2002-10-22


More information about the rsbac mailing list