Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | certs command: Added help texts for -A and -D | David Sommerseth | 2008-12-26 | 1 | -1/+44 | |
| | ||||||
* | users command: Added registering and deregistering certificates when ↵ | David Sommerseth | 2008-12-25 | 1 | -2/+37 | |
| | | | | adding/deleting users | |||||
* | Fixed spelling mistake in XML attribute for certificates | David Sommerseth | 2008-12-22 | 2 | -2/+2 | |
| | ||||||
* | users command: Added certificate look-up and certificate registration (via ↵ | David Sommerseth | 2008-12-22 | 1 | -6/+91 | |
| | | | | file) in add_user(...) | |||||
* | sqlite3 - Return uid or certid of newly registered users or certificates | David Sommerseth | 2008-12-22 | 2 | -11/+18 | |
| | ||||||
* | Moved the certfile parsing out from certificate.c into parse_certificate_files.c | David Sommerseth | 2008-12-21 | 1 | -149/+15 | |
| | | | | | Changed certinfo.[ch] to add cert.digest as well, and using this modified struct to handle the parse result after parsing the certfile. | |||||
* | Moved all replace_char(...) calls into SQLite3 driver as xmlReplaceChars(...) | David Sommerseth | 2008-12-21 | 1 | -17/+0 | |
| | ||||||
* | Adjusted the usage of xmlPrint_certs to comply with recent API changes | David Sommerseth | 2008-12-21 | 1 | -2/+4 | |
| | ||||||
* | certs command: Completed delete certificate function | David Sommerseth | 2008-12-21 | 1 | -6/+152 | |
| | ||||||
* | Moved xmlPrint_certs(...) into certificates.c where it really belongs | David Sommerseth | 2008-12-20 | 2 | -68/+72 | |
| | ||||||
* | Moved field_print_* functions into separate files | David Sommerseth | 2008-12-20 | 1 | -7/+1 | |
| | ||||||
* | certs command: Can parse SSL certificate files when registering cert. | David Sommerseth | 2008-12-20 | 1 | -19/+196 | |
| | | | | | | | | | | Instead of giving digest, common name, organisation and email address as parameters when registering a new certificate, the function can now take both PEM formated and PKCS12 formated certificate files and extract the needed information automatically. This functionality will only be enabled if OpenSSL v0.9.8 or newer is found. | |||||
* | certs command: Added a simple add certificate function | David Sommerseth | 2008-12-20 | 1 | -1/+153 | |
| | ||||||
* | Added skeleton for certs command | David Sommerseth | 2008-12-20 | 1 | -0/+145 | |
| | ||||||
* | users command: Added FIXME reminder - add certificate info in add_user(...) | David Sommerseth | 2008-12-19 | 1 | -0/+2 | |
| | ||||||
* | users command: Updated help texts | David Sommerseth | 2008-12-19 | 1 | -6/+15 | |
| | ||||||
* | users command: Fixed a memory leak in add user function | David Sommerseth | 2008-12-19 | 1 | -0/+1 | |
| | ||||||
* | users command: Added support for --password, to change a users password | David Sommerseth | 2008-12-19 | 1 | -1/+54 | |
| | ||||||
* | users command: cosmetic patch for users --show --lastlog | David Sommerseth | 2008-12-19 | 1 | -3/+5 | |
| | ||||||
* | users command: Made a simpler lastlog view as well | David Sommerseth | 2008-12-19 | 1 | -32/+39 | |
| | ||||||
* | users command: Added showing a users lastlog | David Sommerseth | 2008-12-19 | 1 | -1/+83 | |
| | ||||||
* | users command: Added viewing login attempts and blacklist info for a ↵ | David Sommerseth | 2008-12-19 | 1 | -1/+31 | |
| | | | | specified user account | |||||
* | Fixed more memory leaks and missing memory initialisation. | David Sommerseth | 2008-12-19 | 1 | -0/+2 | |
| | ||||||
* | users command: Added delete user function | David Sommerseth | 2008-12-18 | 1 | -7/+25 | |
| | | | | | Readjusted account_activation(...) function to support also deletion of user accounts | |||||
* | users command: Added help text for add user | David Sommerseth | 2008-12-18 | 1 | -1/+10 | |
| | ||||||
* | users command: Removed XML debug dump, reduced pwd length req. via -P | David Sommerseth | 2008-12-18 | 1 | -3/+1 | |
| | ||||||
* | users command: Added first attempt for add user | David Sommerseth | 2008-12-18 | 1 | -0/+157 | |
| | ||||||
* | users command: BUGFIX: Tried to deactivated never activated account | David Sommerseth | 2008-12-18 | 1 | -0/+1 | |
| | ||||||
* | Cleaned up the code and added a lot of comments. Fixed minor display things. | David Sommerseth | 2008-12-18 | 1 | -24/+42 | |
| | ||||||
* | users command: Fixed a memory leak | David Sommerseth | 2008-12-18 | 1 | -0/+1 | |
| | ||||||
* | Removed everything which was connected to the eurephiaUSERINFO struct. | David Sommerseth | 2008-12-18 | 1 | -1/+0 | |
| | ||||||
* | users command: updated activation/deactivation of users | David Sommerseth | 2008-12-18 | 1 | -41/+61 | |
| | | | | | Changed it to work with the new XML model instead of the eurephiaUSERINFO structure. | |||||
* | Added missing fieldMapping property (table="users") | David Sommerseth | 2008-12-17 | 1 | -0/+1 | |
| | ||||||
* | users command: show_user(...) now uses eurephiaXML_CreateDoc(...) when ↵ | David Sommerseth | 2008-12-17 | 1 | -3/+1 | |
| | | | | creating field mapping | |||||
* | Using the new eurephiaXML_* functions for creating and parsing XML | David Sommerseth | 2008-12-17 | 1 | -6/+17 | |
| | | | | | | | | | | | Also rebased the XML file to always have a document root which is <eurephia/>. This tag must contain a "format" attribute, which should be 1 for the moment. When parsing the XML, the eurephiaXML_getRoot(...) function will return a pointer to the requested XML node inside the <eurephia/> document root. The format version in the root element will also be checked automatically. | |||||
* | Corrected field names mentioned as sort keys for users --list -S <sortkey> | David Sommerseth | 2008-12-16 | 1 | -2/+1 | |
| | ||||||
* | users command: Rewrote 'list users' to use XML | David Sommerseth | 2008-12-16 | 1 | -14/+15 | |
| | ||||||
* | Fixed some missing info after change to XML | David Sommerseth | 2008-12-15 | 1 | -3/+12 | |
| | | | | | | Added again the "Associated certificates" info (int value) and will now also show a default value ("not set"/"-") if firewall access profile is not set. | |||||
* | Completed rewriting show_users(...) function for XML | David Sommerseth | 2008-12-15 | 1 | -72/+96 | |
| | | | | | In short, completed the work begun in commit 6a8f3b190bfdfa772461a4fc019c11d759916160 | |||||
* | Began porting show_user(...) to the new XML API | David Sommerseth | 2008-12-13 | 1 | -15/+37 | |
| | ||||||
* | Modified flags again | David Sommerseth | 2008-12-12 | 1 | -0/+6 | |
| | | | | | | Added RSETLASTUSED (last_accessed is set to NULL) and RSETLOGINCNT (lastlog table has been modified). NEVERUSED flag will only be set if last_accessed is NULL and login count == 0. | |||||
* | Added ACCFLAG_ERRATTEMPT for flagging if the attempt counter > 0 | David Sommerseth | 2008-12-11 | 1 | -0/+3 | |
| | ||||||
* | Added logincount and setting user account flags | David Sommerseth | 2008-12-11 | 1 | -0/+27 | |
| | ||||||
* | Added functions for processing eurephiaACCESSINFO/eurephiaACCESSLIST | David Sommerseth | 2008-12-11 | 1 | -2/+14 | |
| | | | | | | | | | | Implemented saving VPN access profile to the eurephiaCERTINFO struct and filling the eurephiaACCESSINFO with the proper information needed in the eDBadminGetUserInfo(...) function. The special thing about eurephiaACCESSINFO, is that it will not register duplicate records. And when the eurephiaCERTINFO is free'd, the eurephiaACCESSLIST will automatically be free'd as well. | |||||
* | users command: Fixed memory leak | David Sommerseth | 2008-12-10 | 1 | -0/+2 | |
| | ||||||
* | Updated eDBadminGetUserInfo(...) to take filtering parameter | David Sommerseth | 2008-12-10 | 1 | -16/+18 | |
| | ||||||
* | users command: fixed display when more certificates are listed | David Sommerseth | 2008-12-10 | 1 | -0/+3 | |
| | ||||||
* | users cmd: Split useraccount(...) function into show_user(...) and ↵ | David Sommerseth | 2008-12-10 | 1 | -37/+119 | |
| | | | | | | | | | | | | | | | | | | | account_activation(...) The users --show command began to evolve into a more advanced show feature than initially planned, and needed more parameters to be more user friendly. These parameters on the other hand would not be needed for the activation and deactivation of an account. So the split became reasonable. Planned features for the show command is to show associated certificates as default. But you can then choose to show the lastlog of the log entries or the failed loggin attempts and blacklisted info for this user. These new features needs the database driver to be extended with a new argument to give a hint of which information we want to be extracted from the database. In addition, the eurephiaUSERINFO struct needs to be extended to embrace this information as well. | |||||
* | users command: Simplified the useraccount(...) function | David Sommerseth | 2008-12-10 | 1 | -70/+64 | |
| | | | | | Avoided duplicated code lines. Changed -n parameter to -u for the --username option | |||||
* | users command; Added missing argument to the local help function (-s|--show) | David Sommerseth | 2008-12-09 | 1 | -0/+1 | |
| |