summaryrefslogtreecommitdiffstats
path: root/eurephiadm/commands
Commit message (Collapse)AuthorAgeFilesLines
...
* certs command: Added help texts for -A and -DDavid Sommerseth2008-12-261-1/+44
|
* 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-222-2/+2
|
* 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-222-11/+18
|
* Moved the certfile parsing out from certificate.c into parse_certificate_files.cDavid Sommerseth2008-12-211-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 Sommerseth2008-12-211-17/+0
|
* Adjusted the usage of xmlPrint_certs to comply with recent API changesDavid Sommerseth2008-12-211-2/+4
|
* certs command: Completed delete certificate functionDavid Sommerseth2008-12-211-6/+152
|
* Moved xmlPrint_certs(...) into certificates.c where it really belongsDavid Sommerseth2008-12-202-68/+72
|
* Moved field_print_* functions into separate filesDavid Sommerseth2008-12-201-7/+1
|
* certs command: Can parse SSL certificate files when registering cert.David Sommerseth2008-12-201-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 functionDavid Sommerseth2008-12-201-1/+153
|
* Added skeleton for certs commandDavid Sommerseth2008-12-201-0/+145
|
* 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
|
* Removed everything which was connected to the eurephiaUSERINFO struct.David Sommerseth2008-12-181-1/+0
|
* users command: updated activation/deactivation of usersDavid Sommerseth2008-12-181-41/+61
| | | | | Changed it to work with the new XML model instead of the eurephiaUSERINFO structure.
* Added missing fieldMapping property (table="users")David Sommerseth2008-12-171-0/+1
|
* users command: show_user(...) now uses eurephiaXML_CreateDoc(...) when ↵David Sommerseth2008-12-171-3/+1
| | | | creating field mapping
* Using the new eurephiaXML_* functions for creating and parsing XMLDavid Sommerseth2008-12-171-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 Sommerseth2008-12-161-2/+1
|
* users command: Rewrote 'list users' to use XMLDavid Sommerseth2008-12-161-14/+15
|
* Fixed some missing info after change to XMLDavid Sommerseth2008-12-151-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 XMLDavid Sommerseth2008-12-151-72/+96
| | | | | In short, completed the work begun in commit 6a8f3b190bfdfa772461a4fc019c11d759916160
* Began porting show_user(...) to the new XML APIDavid Sommerseth2008-12-131-15/+37
|
* Modified flags againDavid Sommerseth2008-12-121-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 > 0David Sommerseth2008-12-111-0/+3
|
* Added logincount and setting user account flagsDavid Sommerseth2008-12-111-0/+27
|
* Added functions for processing eurephiaACCESSINFO/eurephiaACCESSLISTDavid Sommerseth2008-12-111-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 leakDavid Sommerseth2008-12-101-0/+2
|
* Updated eDBadminGetUserInfo(...) to take filtering parameterDavid Sommerseth2008-12-101-16/+18
|
* users command: fixed display when more certificates are listedDavid Sommerseth2008-12-101-0/+3
|
* users cmd: Split useraccount(...) function into show_user(...) and ↵David Sommerseth2008-12-101-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(...) functionDavid Sommerseth2008-12-101-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 Sommerseth2008-12-091-0/+1
|