summaryrefslogtreecommitdiffstats
path: root/eurephiadm
Commit message (Collapse)AuthorAgeFilesLines
* 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-203-1/+153
|
* 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-182-2/+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-152-72/+97
| | | | | In short, completed the work begun in commit 6a8f3b190bfdfa772461a4fc019c11d759916160
* Began porting show_user(...) to the new XML APIDavid Sommerseth2008-12-132-16/+38
|
* Fixed a memory leak on logoutDavid Sommerseth2008-12-121-0/+1
|
* Added username in config fileDavid Sommerseth2008-12-121-5/+10
| | | | | By adding username=<eurephiadm username>, the program will not ask about username when logging in, only password
* 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-112-2/+19
| | | | | | | | | | 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
* BUGFIX: Fixed memset(...) going outside its boundariesDavid Sommerseth2008-12-091-1/+1
|
* users command; Added missing argument to the local help function (-s|--show)David Sommerseth2008-12-091-0/+1
|
* users command: Added showing associated certificates when using --showDavid Sommerseth2008-12-091-2/+22
|
* users command: Implemented activate and deactivate account featureDavid Sommerseth2008-12-081-0/+47
|
* users command: Added --show action, to display user infoDavid Sommerseth2008-12-071-1/+35
|
* users command: Added forgotten mode (show account details)David Sommerseth2008-12-061-5/+24
|
* users command: Added framework for activation and deactivation of an accountDavid Sommerseth2008-12-061-5/+65
|
* More improvements to eurephia_getopt(...)David Sommerseth2008-12-065-13/+12
| | | | | | Sending the argument incrementer as reference instead of as value. This way eurephia_getopt(...) can directly increase the incrementer on arguments with extra options.
* Added missing copyright header, corrected another wrong file headDavid Sommerseth2008-12-061-2/+1
|
* users command: Extended the help sectionDavid Sommerseth2008-12-061-0/+93
|