summaryrefslogtreecommitdiffstats
path: root/eurephiadm
Commit message (Collapse)AuthorAgeFilesLines
* Fixed several memleaks in the eurephiadm related code pathsDavid Sommerseth2011-01-104-6/+16
| | | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 44bcb3e74a85b4a53a0dc626db13c3d03d925538)
* Do not link in libdl explicitlyDavid Sommerseth2010-12-311-1/+1
| | | | | | | | | | The functions related to dynamic loading of shared objects are a part of the standard libc library on FreeBSD, while in Linux it is in libdl. However, the linker on Linux seems to add the libdl linking automatically when needed, so no need to explicitly link this library. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 1b333949479e504017c7dffb6d70eecb53adb34a)
* eurephiadm adminaccess: Corrected wrong error messageDavid Sommerseth2010-12-311-1/+1
| | | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 64318873ac1aa92e6377a1a4a53932bcce78d187)
* eurephiadm users: Revoke all admin access privileges when deleting a user ↵David Sommerseth2010-12-311-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> (cherry picked from commit e4ea19989e97fbecd1b22997cadb8fc5f54ade4a)
* Quick fix for Lintian 'manpage-has-bad-whatis-entry' warningDario Minnucci2010-12-019-13/+10
| | | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 05b5459c5b4451a457920449b6d1756adf6ca4dc)
* Fixed compiler warning: loop could be used uninitialisedDavid Sommerseth2010-08-271-1/+1
| | | | | | (cherry picked from commit 38df03d8ec77cb26ac22d73787fe9fee88dd6280) Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Do check the result of fgets()David Sommerseth2010-08-271-2/+6
| | | | | | | If fgets() returns NULL, clear the buffer allocated for the console data. (cherry picked from commit 961b3a85ca6d2ca65360034f5c2b34d276507d6a) Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Fixed an overflow issue with memset() in eurephiadmDavid Sommerseth2010-08-271-1/+1
| | | | | | (cherry picked from commit 7ae14aca46d6299d2ed49640e5eb942a207b3a68) Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Added install rules for man pagesv1.0.0David Sommerseth2010-07-061-0/+16
|
* Added man page for eurephiadm usercertDavid Sommerseth2010-07-061-0/+90
|
* Added man page for eurephiadm certsDavid Sommerseth2010-07-061-0/+108
|
* Added man page to eurephiadm adminaccessDavid Sommerseth2010-07-061-0/+84
|
* eurephiadm, adminaccess: Minor updates to the help screensDavid Sommerseth2010-07-061-7/+7
|
* Added man page for the eurephiadm blacklist commandDavid Sommerseth2010-07-051-0/+70
|
* eurephiadm, blacklist: Minor updates to the help screenDavid Sommerseth2010-07-051-6/+6
|
* Added man page for eurephiadm attemptsDavid Sommerseth2010-07-051-0/+74
|
* Moved all man pages from section 8 to the more proper section 7.David Sommerseth2010-07-055-24/+24
|
* Updated eurephiadm.8 to conver the configuration file as well.David Sommerseth2010-07-051-9/+35
|
* Added man page for eurephiadm lastlogDavid Sommerseth2010-07-021-0/+80
|
* eurephiadm, lastlog: Corrected help screenDavid Sommerseth2010-07-021-2/+3
|
* Added man page for eurephiadm fwprofilesDavid Sommerseth2010-07-011-0/+73
|
* Added man pages for eurephiadm users and configDavid Sommerseth2010-07-012-0/+119
|
* Added main man page for the eurephiadm utilityDavid Sommerseth2010-07-011-0/+75
|
* Updated Copyright dates to include 2010David Sommerseth2010-05-2526-27/+27
|
* BUGFIX: eurephiadm session key was truncatedDavid Sommerseth2009-11-121-1/+1
| | | | | The session key was only 65 bytes, instead of 128 bytes due to wrong pointer calculation.
* 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
|
* Merge branch 'syslog'David Sommerseth2009-09-283-47/+17
|\
| * Added extra parameter to eurephia_log_init() to set log ident for syslogDavid Sommerseth2009-09-243-5/+8
| |
| * Rewritten the eurephia_log() to support syslog logging as wellDavid Sommerseth2009-09-243-46/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also simplified the initialisation of the logging module. By calling the eurephia_log_init(eurephiaCTX *, char *dest, int loglevel) function, a log context will be setup inside the eurephiaCTX. To close the log file, eurephia_log_close(eurephiaCTX *) must be called. The destination string to eurephia_log_init() can be: - stdout: Log everything to stdout - stderr: Log everything to stderr - none: Do no logging at all - syslog:<facility> Log via syslog. <facility> can be: user, local[0-7], daemon or authpriv. - Filename All logging goes to the given filename. If the filename string is not recognised by any of the reserved words above, it will be handled as a filename.
* | Reworked and unified admin authentication and registration functions to ↵David Sommerseth2009-09-281-20/+127
| | | | | | | | | | | | | | | | eDBadminAuthenticate() eDBadminAuth(), eDBadminValidateSession(), eDBadminRegisterLogin() and eDBadminLogout() are now unfied into one admin function, eDBadminAuthenticate(). This function receives all input as eurephia XML documents.
* | 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-0711-43/+43
|
* Moved all malloc() operations over to a calloc wrapper, malloc_nullsafe()David Sommerseth2009-09-076-28/+15
| | | | 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-059-65/+0
|