summaryrefslogtreecommitdiffstats
path: root/eurephiadm/commands
Commit message (Collapse)AuthorAgeFilesLines
* Removed some stray left-over variables no longer in useDavid Sommerseth2013-06-283-11/+3
| | | | | | | These variables where used before the XML based response in the admin API was implemented. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm: Added needed include files to be buildableDavid Sommerseth2013-06-072-0/+2
| | | | | | | This is related to that certinfo has been extended and now need to pull in the openssl/x509.h to compile properly. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm: Removed inclusion of certinfo.h where not neededDavid Sommerseth2013-06-073-3/+0
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm/usercerts: Add support for setting up auth-pluginsDavid Sommerseth2013-05-291-33/+72
| | | | | | | This enables setting authentication plug-in and the alternative authentication username for user-certificate links. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm: Add support for managing plug-insDavid Sommerseth2013-05-281-0/+462
| | | | | | | This adds the 'plugins' command, which is used to register, remove or modify plug-in parameters. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm/usercerts: Added support for username instead of uid on ↵David Sommerseth2012-11-021-20/+67
| | | | | | | | | | add/delete operations Instead of having to look up the UID manually when adding a user-cert link, it is now possible to user --username | -u instead of --uid | -i and provide a username directly. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Updated copyright datesDavid Sommerseth2012-10-083-3/+3
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm: Removed several memleaks in error situations or when --help was usedDavid Sommerseth2012-10-087-25/+62
| | | | | | | Most of the eurephiadm commands leaked some memory if an error occured or the --help screen was requested. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Fixed several memleaks in the eurephiadm related code pathsDavid Sommerseth2011-01-104-6/+16
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Added ./configure information to eurephiadm buildinfoDavid Sommerseth2010-12-211-1/+3
| | | | | | | This is to help debugging even further, to be able to reproduce as similar builds as possible. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm users: Revoke all admin access privileges when deleting a user ↵David Sommerseth2010-12-141-1/+29
| | | | | | | | | | account Matthew Gyurgyik noticed that when deleting a user account, the users granted access levels was still present. This resulted in a rather odd looking list when showing granted access levels. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm adminaccess: Corrected wrong error messageDavid Sommerseth2010-12-141-1/+1
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm config: Inform if the requested config variable is not foundDavid Sommerseth2010-12-051-1/+5
| | | | | | | This warning is written to stderr, to avoid breaking scripts which might depend on eurephiadm config's behaviour. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Fixed a simple spelling typoDavid Sommerseth2010-11-101-1/+1
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Fixed git tree status check once againDavid Sommerseth2010-11-101-4/+4
| | | | | | | It turned out the previous git tree state check misinterpretted the tree state on a clean git repository. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Further updates to the buildinfoDavid Sommerseth2010-11-091-9/+14
| | | | | | | | | - Reorganised the layout a bit - Added a path to the local git repository - Added '(origin)' identificator to the remote git repo string - Do the 'git status' call from the root of the source tree Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Improved buildinfo, adding some kind of git tree state informationDavid Sommerseth2010-11-091-1/+6
| | | | | | This patch adds a list over uncommitted files. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm: Added a buildinfo commandDavid Sommerseth2010-11-091-0/+87
| | | | | | | This just adds some gathered information about the build, useful for debugging later on. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm/adminaccess: Check granted accesses before modifying themDavid Sommerseth2010-10-221-2/+42
| | | | | | | | | | It was reported that it was possible to grant the same access level several times using the eurephiadm adminaccess command. This is now fixed by quering the access levels for the user before executing the grant or revoke operation. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> Report-URL: https://sourceforge.net/tracker/index.php?func=detail&aid=3092583&group_id=236344&atid=1099760
* eurephiadm, adminaccess: Minor updates to the help screensDavid Sommerseth2010-07-301-7/+7
|
* eurephiadm, blacklist: Minor updates to the help screenDavid Sommerseth2010-07-301-6/+6
|
* eurephiadm, lastlog: Corrected help screenDavid Sommerseth2010-07-301-2/+3
|
* Updated Copyright dates to include 2010David Sommerseth2010-07-309-9/+9
|
* Removed not needed variableDavid Sommerseth2009-11-031-1/+1
|
* Make use of eurephiaXML_ParseResultMsg() in usercerts commandDavid Sommerseth2009-10-191-9/+9
|
* Fixed a few misbehaviours in eurephiadm users commandDavid Sommerseth2009-10-021-4/+0
|
* Rewrote eurephiadm users --delete mode to work with the new ↵David Sommerseth2009-09-271-18/+21
| | | | eDBadminUserAccount() API
* Made eurephiadm users --show, --activate, --deactivate and --password modes ↵David Sommerseth2009-09-261-39/+87
| | | | | | working again Rewritten to use the new eDBadminUserAccount() API.
* Rewrote eurephiadm usres --add to work with the new eDBadminUserAccount() APIDavid Sommerseth2009-09-251-13/+36
|
* Made eurephiadm users --list work with the new eDBadminUserAccess() APIDavid Sommerseth2009-09-251-5/+46
|
* Removed debug infoDavid Sommerseth2009-09-221-3/+0
|
* Unified eDBadminGetCertificateInfo(), eDBadminAddCertificate() and ↵David Sommerseth2009-09-222-33/+84
| | | | | | eDBadminDeleteCertificate() into eDBadminCertificate() Updated eurephiadm utility to make use of this new unified API
* Rewritten eurephiadm users command to use eurephiaXML_ParseResultMsg()David Sommerseth2009-09-211-9/+21
|
* Rewritten most of the eurephiadm commands to use eurephiaXML_ParseResultMsg()David Sommerseth2009-09-216-90/+110
| | | | Commands not covered yet are users and certs commands
* Modified eurephiadm and eurephia_init programs to use the new ↵David Sommerseth2009-09-211-10/+35
| | | | eDBadminAccessLevel() function
* Corrected wrong argument in eurephiadm users --add mode.David Sommerseth2009-09-191-1/+1
|
* Removed not valid argument for eurephiadm adminaccess commandDavid Sommerseth2009-09-141-1/+0
|
* Adopted eurephiadm config command to use the new unified db function, ↵David Sommerseth2009-09-141-8/+36
| | | | eDBadminConfiguration()
* Corrected some doxygen issues after rearranging the sqlite3 db driver codeDavid Sommerseth2009-09-132-2/+2
|
* Corrected some wrong arguments and help screens for eurephiadm blacklist and ↵David Sommerseth2009-09-132-3/+3
| | | | attempts commands
* Added more of the file path to some file names with name conflicts in DoxygenDavid Sommerseth2009-09-113-3/+3
|
* Added debug logging of free_nullsafe() calls as wellDavid Sommerseth2009-09-077-27/+27
|
* Moved all malloc() operations over to a calloc wrapper, malloc_nullsafe()David Sommerseth2009-09-071-9/+4
| | | | This also improves debugging as well, if debug logging is enabled and log level is >= 40.
* Removed more code which is not needed any moreDavid Sommerseth2009-09-058-8/+0
|
* Removed header file which is no longer neededDavid Sommerseth2009-09-055-5/+0
|
* Removed some code which was not needed any more.David Sommerseth2009-09-051-38/+0
|
* Even more commenting. Now the complete eurephiadm should be documented.David Sommerseth2009-09-059-41/+598
|
* Added --set-fwprofile mode to the eurephiadm usercerts commandDavid Sommerseth2009-09-011-6/+123
| | | | This mode updates the firewall access profile for at user-certs link
* Modified eurephiadm users and usercerts commands to use the new db APIDavid Sommerseth2009-09-012-69/+100
| | | | | In regards to modifying usercerts links, make use of the new unified eDBadminUserCertsLink(...) function.
* Added simple help screen for usercerts --listDavid Sommerseth2009-05-101-0/+10
|