Skip to content
Snippets Groups Projects
syncFromRBAC.sys 3.02 KiB
progname = "syncFromRBAC"

version = 0.2

date = "2010-12-06"
<author>
   name  = "Martin Haase" 
   org= "DAASI International GmbH"
   mail = "martin.haase@daasi.de"
</author>

<copyright>
text1 = Copyright (c) 2010 DAASI International GmbH
text2 = This library is free software; you can redistribute it and/or \
modify it under the same terms as Perl itself.
</copyright>

progshortdescr = "Synchronize RBAC rules into POSIX ACLs"

<progdescription>
text01 = Syncs an external PDP's policy into extendeded Access Control entries
text02 = in the resource's file system. The PDP for this proof-of-concept system 
text03 = is an RBAC implementation (openRBAC), which is part of TextGrid's 
text04 = TG-auth* infrastructure.
</progdescription>
 
<bugs>
text = Please report bugs to martin.haase@daasi.de
</bugs>

<additions example>
text1 = "For getting this manpage: "
text2 = "   syncFromRBAC.pl  -h"
</additions>

<additions requirements>
text1 = "Following modules are required: "
text2 = Data::Dump 
text3 = Net::LDAP
text4 = Set::Scalar
text5 = DAASIlib::CONF
text5 = DAASIlib::DATA
</additions>

<options loglevel>
        key = "l"
        must = 0
        description = "Loglevel for controlling logmessages. Currently unused, use -d."
        arg = 1
        argtype = "skalar"
	values = "debug, info" 
        default = "info"
</options>

<options logfile>
        key = "f"
        must = 0
        description = "Name of the logfile with absolute or relative path. "
        arg = 1
	argtype = "filename_add_subdir_log"
        default = "./log/syncFromRBAC.log"
</options>

<options debugmode>
        key = "d"
        must = 0
        description = "sets debug mode to on"
        arg = 0
	default = 0
</options>

<options write_to_system>
        key = "w"
        must = 0
        description = "does not make a dry run. Unless -w is specified, nothing is really written into the system"
        arg = 0
	default = 0
</options>

<options printhelp>
        key = "h"
        must = 0
        description = "prints out the manpage"
        arg = 0
</options>

<options helpfeature>
        key = "H"
        must = 0
        description = "prints out description of the feature referenced by \
        commandline flag or config file token. "
        arg = 1
</options>

<options alternative_last_modify_timestamp>
	key = "t"
	must = 0
	description = "Instead of reading from a file (see option -m), use this option to specify a timestamp directly on the command line in the same format."
	arg = 1
</options>

<options last_modifyTimestamp_path>
	key = "m"
	must = 0
	description = "File to read timestamp from when to start synchronizing. Format: YYYYMMDDhhmmssZ on first line of file. Needs to be Z time, aka GMT."
	arg = 1
	argtype = "filename_exist_subdir_etc"
	default = "./last_LDAP_sync_timestamp.txt"
</options>

<options configfile>
        key = "c"
        must = 0
        description = Name of the user config file with absolute or relative path.
        arg = 1
        argtype = "filename_exist_subdir_etc"
        default = "./etc/syncFromRBAC.conf"
</options>