summaryrefslogtreecommitdiffstats
path: root/eurephiadm/commands/users.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed some stray left-over variables no longer in useDavid Sommerseth2013-06-281-5/+1
| | | | | | | 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-071-0/+1
| | | | | | | 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 several memleaks in error situations or when --help was usedDavid Sommerseth2012-10-081-1/+5
| | | | | | | 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-101-0/+1
| | | | 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>
* Updated Copyright dates to include 2010David Sommerseth2010-07-301-1/+1
|
* 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
|
* Unified eDBadminGetCertificateInfo(), eDBadminAddCertificate() and ↵David Sommerseth2009-09-221-16/+21
| | | | | | 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
|
* Corrected wrong argument in eurephiadm users --add mode.David Sommerseth2009-09-191-1/+1
|
* Added debug logging of free_nullsafe() calls as wellDavid Sommerseth2009-09-071-13/+13
|
* 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-051-1/+0
|
* Removed header file which is no longer neededDavid Sommerseth2009-09-051-1/+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-051-11/+109
|
* Modified eurephiadm users and usercerts commands to use the new db APIDavid Sommerseth2009-09-011-14/+30
| | | | | In regards to modifying usercerts links, make use of the new unified eDBadminUserCertsLink(...) function.
* Rewrote eurephiadm/users command to user XSLT wherever possibleDavid Sommerseth2009-03-311-89/+28
|
* Rewrote places using xmlPrint_certs(...) to use the XSLTDavid Sommerseth2009-03-311-2/+2
| | | | Added XSLT template for displaying certificate info.
* Rewrote lastlog and users command to use XSLT for viewing lastlogDavid Sommerseth2009-03-291-2/+11
|
* Made the licence explicit GPLv2 onlyDavid Sommerseth2009-03-261-1/+1
|
* Cleaned up the code a little bitDavid Sommerseth2009-03-261-6/+2
| | | | | Made sure we only include needed include files and checked that the copyright headers are equal and correct
* eurephiadm - Implemented lastlog commandDavid Sommerseth2009-03-241-86/+1
| | | | | | This lastlog command will list all entries of eurephia sessions. This list can also be filtered by giving proper arguments.
* users command: Added registering and deregistering certificates when ↵David Sommerseth2008-12-251-2/+37
| | | | adding/deleting users
* Fixed spelling mistake in XML attribute for certificatesDavid Sommerseth2008-12-221-1/+1
|
* users command: Added certificate look-up and certificate registration (via ↵David Sommerseth2008-12-221-6/+91
| | | | file) in add_user(...)
* sqlite3 - Return uid or certid of newly registered users or certificatesDavid Sommerseth2008-12-221-5/+8
|
* Adjusted the usage of xmlPrint_certs to comply with recent API changesDavid Sommerseth2008-12-211-2/+4
|
* Moved xmlPrint_certs(...) into certificates.c where it really belongsDavid Sommerseth2008-12-201-68/+3
|
* Moved field_print_* functions into separate filesDavid Sommerseth2008-12-201-7/+1
|
* users command: Added FIXME reminder - add certificate info in add_user(...)David Sommerseth2008-12-191-0/+2
|
* users command: Updated help textsDavid Sommerseth2008-12-191-6/+15
|
* users command: Fixed a memory leak in add user functionDavid Sommerseth2008-12-191-0/+1
|
* users command: Added support for --password, to change a users passwordDavid Sommerseth2008-12-191-1/+54
|
* users command: cosmetic patch for users --show --lastlogDavid Sommerseth2008-12-191-3/+5
|
* users command: Made a simpler lastlog view as wellDavid Sommerseth2008-12-191-32/+39
|
* users command: Added showing a users lastlogDavid Sommerseth2008-12-191-1/+83
|
* users command: Added viewing login attempts and blacklist info for a ↵David Sommerseth2008-12-191-1/+31
| | | | specified user account
* Fixed more memory leaks and missing memory initialisation.David Sommerseth2008-12-191-0/+2
|
* users command: Added delete user functionDavid Sommerseth2008-12-181-7/+25
| | | | | Readjusted account_activation(...) function to support also deletion of user accounts
* users command: Added help text for add userDavid Sommerseth2008-12-181-1/+10
|
* users command: Removed XML debug dump, reduced pwd length req. via -PDavid Sommerseth2008-12-181-3/+1
|
* users command: Added first attempt for add userDavid Sommerseth2008-12-181-0/+157
|
* users command: BUGFIX: Tried to deactivated never activated accountDavid Sommerseth2008-12-181-0/+1
|
* Cleaned up the code and added a lot of comments. Fixed minor display things.David Sommerseth2008-12-181-24/+42
|
* users command: Fixed a memory leakDavid Sommerseth2008-12-181-0/+1
|