GithubHelp home page GithubHelp logo

tacacsgui / tacacsgui Goto Github PK

View Code? Open in Web Editor NEW
173.0 15.0 38.0 50.29 MB

TACACSGUI is a system of centralised network devices authentication

Home Page: https://tacacsgui.com/

License: GNU General Public License v3.0

Shell 1.05% PHP 16.30% JavaScript 22.96% CSS 58.63% HTML 0.02% Python 0.81% Hack 0.22%

tacacsgui's Introduction

TacacsGUI

Free Access Control Server for Your Network Devices. GUI for powerful tacacs daemon by Marc Huber

How to install

Please use Installation Script. Only Ubuntu 18.04.x supported.

What it can

AAA - Authentication Authorization Accounting

AAA User by Local Database, LDAP Server or One-Time Password

  1. Local Database. All password stored as a hash, the main advantage of this type is a user can change his/her password via gui or via device cli (not all devices supported).
  2. LDAP Server. Based on Adldap2. Work with Windows AD and OpenLDAP.
  3. One-Time Password (OTP). Based on Spomky-Labs/otphp. Authentication with OTP by using Google Authenticator, for example.

High Availability and Configuration Manager(alpha version)

  • High Availability based on MySQL Replication. All changes on Master will be available on Slave. In that case Slave also can be as a working auth-server, all full log will be stored on Master.
  • Configuration Manager alpha version, but it is already have many advantages. It is works under Python and main library here's pexpect. All configuration files stored in git repository on server, it means that you won't have many files with different version you will have only one file with story of changes.

Hope you will enjoy it!

If you want to help, you are welcome! Also you can be my Patron on Patreon, you can stimulate me to do updates more often.

Main site is https://tacacsgui.com/. There you can find more info about that project.

See you and have a nice day!

Best Regards, Aleksey

tacacsgui's People

Contributors

gurkin33 avatar rajjaisur avatar tacacsgui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tacacsgui's Issues

Unable to complete install due to network interface not being found

Describe the system
Ubuntu version:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial

PHP version:
PHP 7.2.15-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Feb 8 2019 15:37:29) ( NTS )

TacacsGUI API version: N/A, not installed yet

Describe the bug
Unable to complete install documentations because the network interfaces listed in the script are found, but when the script tries to edit/view configuration an error occurs.

To Reproduce
Steps to reproduce the behavior:

  1. Launch the tacacsgui.sh with root perms
  2. Try to install, install fails - see network section
  3. See network section, attempt to configure
  4. Error occurs

Screenshots
###############################################################
############## TACACSGUI Network Settings Script #########
###############################################################

ver. 1.0.0

############## List of available options ##############

  1. Show Interface List 4) Clear and Refresh Menu
  2. Show Interface Settings 5) Back to Main Menu
  3. Configure interface

Please enter your choice (4 to clear output): 1

Show Interface List

lo
enp1s0

Please enter your choice (4 to clear output): 2

Show Interface Settings

Type the name of interface: enp1s0
########### Error! ###########
Unrecognized Interface
####################################

Please enter your choice (4 to clear output): 3

Type the name of interface: enp1s0
########### Error! ###########
Unrecognized Interface enp1s0
####################################

Please enter your choice (4 to clear output):

Additional context
Add any other context about the problem here.

TAC GUI Stuck on updating page

Describe the system
Ubuntu version: 16.04.4
PHP version: 7.3
TacacsGUI API version: 0.9.63
Browser: chrome

Describe the bug
Whever i try to open TACGUI it stucks at updating page
image

i've tried to reinstall but every time it gets stuck on same page.

Tacgui 0.9.53 Installation Issue

Hi Tacgui developer!

I'm trying manual installation tacgui 0.9.53. I'm already following the installation guides in https://tacacsgui.com/documentation_old/install-tacacsgui/ ,but failed composer section. there is the log:

`###############################################################
############## TACACSGUI Installation #########
###############################################################

ver. 1.0.0

Start Installation
Check database...
Try to get root password to MySQL...Not Found
Enter root password to mysql:
Done. Correct password
Remember root password? (y/n): n
Test existence of tgui database...Already created
Test existence of tgui_log database...Already created

Check existence of tgui_user.
Already created
It seems like you already have installed version. Do you want to continue? [y/n]: y
Old configuration saved (/tmp/config.php)
Database user password was saved
Check User Grants...Done
Check main directory /opt/tacacsgui ... Already Created
Directory /opt/tacacsgui doesn't empty. Delete all files? (if no, script exit) [y/n]: y
Old configuration saved! (tac_plus.cfg)
Download latest version...
Cloning into '/opt/tacacsgui'...
Cannot create cache directory /home/satrio/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/satrio/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- adldap2/adldap2 v9.1.4 requires ext-ldap * -> the requested PHP extension ldap is missing from your system.
- adldap2/adldap2 v9.1.3 requires ext-ldap * -> the requested PHP extension ldap is missing from your system.
- adldap2/adldap2 v9.1.2 requires ext-ldap * -> the requested PHP extension ldap is missing from your system.
- adldap2/adldap2 v9.1.1 requires ext-ldap * -> the requested PHP extension ldap is missing from your system.
- adldap2/adldap2 v9.1.0 requires ext-ldap * -> the requested PHP extension ldap is missing from your system.
- Installation request for adldap2/adldap2 ^9.1 -> satisfiable by adldap2/adldap2[v9.1.0, v9.1.1, v9.1.2, v9.1.3, v9.1.4].

To enable extensions, verify that they are enabled in those .ini files:
- /etc/php/7.2/cli/php.ini
- /etc/php/7.2/cli/conf.d/10-mysqlnd.ini
- /etc/php/7.2/cli/conf.d/10-opcache.ini
- /etc/php/7.2/cli/conf.d/10-pdo.ini
- /etc/php/7.2/cli/conf.d/15-xml.ini
- /etc/php/7.2/cli/conf.d/20-calendar.ini
- /etc/php/7.2/cli/conf.d/20-ctype.ini
- /etc/php/7.2/cli/conf.d/20-curl.ini
- /etc/php/7.2/cli/conf.d/20-dom.ini
- /etc/php/7.2/cli/conf.d/20-exif.ini
- /etc/php/7.2/cli/conf.d/20-fileinfo.ini
- /etc/php/7.2/cli/conf.d/20-ftp.ini
- /etc/php/7.2/cli/conf.d/20-gd.ini
- /etc/php/7.2/cli/conf.d/20-gettext.ini
- /etc/php/7.2/cli/conf.d/20-iconv.ini
- /etc/php/7.2/cli/conf.d/20-json.ini
- /etc/php/7.2/cli/conf.d/20-mbstring.ini
- /etc/php/7.2/cli/conf.d/20-mysqli.ini
- /etc/php/7.2/cli/conf.d/20-pdo_mysql.ini
- /etc/php/7.2/cli/conf.d/20-phar.ini
- /etc/php/7.2/cli/conf.d/20-posix.ini
- /etc/php/7.2/cli/conf.d/20-readline.ini
- /etc/php/7.2/cli/conf.d/20-shmop.ini
- /etc/php/7.2/cli/conf.d/20-simplexml.ini
- /etc/php/7.2/cli/conf.d/20-sockets.ini
- /etc/php/7.2/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.2/cli/conf.d/20-sysvsem.ini
- /etc/php/7.2/cli/conf.d/20-sysvshm.ini
- /etc/php/7.2/cli/conf.d/20-tokenizer.ini
- /etc/php/7.2/cli/conf.d/20-wddx.ini
- /etc/php/7.2/cli/conf.d/20-xmlreader.ini
- /etc/php/7.2/cli/conf.d/20-xmlrpc.ini
- /etc/php/7.2/cli/conf.d/20-xmlwriter.ini
- /etc/php/7.2/cli/conf.d/20-xsl.ini
- /etc/php/7.2/cli/conf.d/20-zip.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.
Cannot create cache directory /home/satrio/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/satrio/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- adldap2/adldap2 v9.1.4 requires ext-ldap * -> the requested PHP extension ldap is missing from your system.
- adldap2/adldap2 v9.1.3 requires ext-ldap * -> the requested PHP extension ldap is missing from your system.
- adldap2/adldap2 v9.1.2 requires ext-ldap * -> the requested PHP extension ldap is missing from your system.
- adldap2/adldap2 v9.1.1 requires ext-ldap * -> the requested PHP extension ldap is missing from your system.
- adldap2/adldap2 v9.1.0 requires ext-ldap * -> the requested PHP extension ldap is missing from your system.
- Installation request for adldap2/adldap2 ^9.1 -> satisfiable by adldap2/adldap2[v9.1.0, v9.1.1, v9.1.2, v9.1.3, v9.1.4].

To enable extensions, verify that they are enabled in those .ini files:
- /etc/php/7.2/cli/php.ini
- /etc/php/7.2/cli/conf.d/10-mysqlnd.ini
- /etc/php/7.2/cli/conf.d/10-opcache.ini
- /etc/php/7.2/cli/conf.d/10-pdo.ini
- /etc/php/7.2/cli/conf.d/15-xml.ini
- /etc/php/7.2/cli/conf.d/20-calendar.ini
- /etc/php/7.2/cli/conf.d/20-ctype.ini
- /etc/php/7.2/cli/conf.d/20-curl.ini
- /etc/php/7.2/cli/conf.d/20-dom.ini
- /etc/php/7.2/cli/conf.d/20-exif.ini
- /etc/php/7.2/cli/conf.d/20-fileinfo.ini
- /etc/php/7.2/cli/conf.d/20-ftp.ini
- /etc/php/7.2/cli/conf.d/20-gd.ini
- /etc/php/7.2/cli/conf.d/20-gettext.ini
- /etc/php/7.2/cli/conf.d/20-iconv.ini
- /etc/php/7.2/cli/conf.d/20-json.ini
- /etc/php/7.2/cli/conf.d/20-mbstring.ini
- /etc/php/7.2/cli/conf.d/20-mysqli.ini
- /etc/php/7.2/cli/conf.d/20-pdo_mysql.ini
- /etc/php/7.2/cli/conf.d/20-phar.ini
- /etc/php/7.2/cli/conf.d/20-posix.ini
- /etc/php/7.2/cli/conf.d/20-readline.ini
- /etc/php/7.2/cli/conf.d/20-shmop.ini
- /etc/php/7.2/cli/conf.d/20-simplexml.ini
- /etc/php/7.2/cli/conf.d/20-sockets.ini
- /etc/php/7.2/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.2/cli/conf.d/20-sysvsem.ini
- /etc/php/7.2/cli/conf.d/20-sysvshm.ini
- /etc/php/7.2/cli/conf.d/20-tokenizer.ini
- /etc/php/7.2/cli/conf.d/20-wddx.ini
- /etc/php/7.2/cli/conf.d/20-xmlreader.ini
- /etc/php/7.2/cli/conf.d/20-xmlrpc.ini
- /etc/php/7.2/cli/conf.d/20-xmlwriter.ini
- /etc/php/7.2/cli/conf.d/20-xsl.ini
- /etc/php/7.2/cli/conf.d/20-zip.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.
Time to create certificate for https support...
Already created.Generate config.php
Restoring old config.php
Preparing apache configuration
Module rewrite already enabled
Considering dependency setenvif for ssl:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Module socache_shmcb already enabled
Module ssl already enabled
Module xsendfile already enabled
Site tacacsgui.local already enabled
Site tacacsgui.local-ssl already enabled
Tacacs Daemon setup...
Test Daemon work...Old configuration repaired
Done
Final Check...Check main libraries...
########### Error! ###########
Slim Framework not installed!!!
####################################
Press any key to exit...
`

Cannot connect to ldap

Describe the system
Ubuntu version: 18.04
(use next command: lsb_release -a )
PHP version: 7.3
(use next command: php -v )
TacacsGUI API version: 0.9.63
(use next command: php -r 'include "/opt/tacacsgui/web/api/constants.php"; echo APIVER . "\n";' )
Browser: chrome

I have tacacsgui and openldap installed on the same server. I configured Mavis LDAP following the tutorial and when I run Test connection it's successful and Check LDAP for any user gives me NAK result. However when I try to add LDAP user to a group in tacacs and go to LDAP tab it just tells me No results found and I'm stuck there. Is there something else I need to configure or am I doing something wrong?

System Info time bug

Describe the system
Ubuntu version: Ubuntu 18.04.2 LTS
(use next command: lsb_release -a )
PHP version: PHP 7.3.6-1
(use next command: php -v )
TacacsGUI API version: 0.9.72
(use next command: php -r 'include "/opt/tacacsgui/web/api/constants.php"; echo APIVER . "\n";' )
Browser: [e.g. chrome, safari] chrome, firefox

Describe the bug
Month data is displaying 61 instead of 7

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. See error

Screenshots
If you have screenshots to help explain your problem, feel free and attach them.
image

Additional context
Add any other context about the problem here.

Command-sets

Hello Aleksey

I'm sorry to bother you again, but I'm having issues creating command-sets for specific users.

First of all, if I set a priv-lvl for a specific service, it seems like it isn't enforced.. (for example, if I choose priv-lvl 15, I'm not automatically in enable mode on a cisco switch). Could be that I'm missing configuration on the switch though.

When that didn't work, I decided to do command sets and let everybody be priv-lvl 15. however, whenever I set a command, it seems like the "second word" of the command is cleared. (also, if I change action from permit/deny and want to save, the page responds with "no changes detected".

Hope you can help once again :)

Martin

Сервис по-умолчанию в генерируемом конфиге

По-дефолту пользователи в генерируемом конфиге создаются с сервисом shell
С таким сервисом tac_plus на все запросы от Cisco возвращает authorization deny, даже если privilege level стоит 15
Для себя решил добавлением service exec:
service = exec { set priv-lvl = 15 }

Наверное надо заменить в генераторе конфига сервис для которого задаются настройки

LDAP Issue after update

Hello,
After the update yesterday, the current LDAP configuration didn't work anymore (just info).

After I made the necessary adjustments, it can now look up AD users again. It doesn't limit access based on our tacacs group anymore though (anyone with correct credentials get ACK). I'm not sure if I'm missing something with group configuration? Should I set this with ACL's now?

Also, when the default user is present in the "users" tab, I get the follwoing error (can be solved by deleting default user, though):

DataTables warning: table id=usersDataTable - Requested unknown parameter 'priv-lvl' for row 0, column 5. For more information about this error, please see http://datatables.net/tn/4

Thanks for a great product, will throw a donation your way when I got up and running 👍

mysql root password on slave server

Добрый день!

При добавлении slave-сервера запрашивает пароль root mysql, но не принимает его. С консоли с тем же паролем пускает.

Add support to export configuration tree

Describe the system
Ubuntu version: 18.04
(use next command: lsb_release -a )
PHP version: 7.3.6-1
(use next command: php -v )
TacacsGUI API version: 0.9.72
(use next command: php -r 'include "/opt/tacacsgui/web/api/constants.php"; echo APIVER . "\n";' )
Browser: Firefox

Add functional
Add support to export configuration tree. Add possibility to download tree, with folders and configs (multiple versions) in archive.
изображение

Dashboard Taking Too Much time to load

Hello Devloper,
Well Dashboard is still taking too much time(around 1 min).

Here is my Debug info:
PHP version: 7.2.13-1
API version: 0.9.58
tac_plus version: 201712190728

mysql query log while loading dashboard

To enable this log I have added below line mysql.cnf

general_log_file        = /var/log/mysql/mysql.log
general_log             = 1
root@TACACS:/home/tacacs# tailf /var/log/mysql/mysql.log | grep -e "select.*tac_log_authorization" -e "select.*tac_log_authentication"
2019-01-04T06:52:14.117167Z	702650 Execute	select * from information_schema.tables where table_schema = 'tgui_log' and table_name = 'tac_log_authentication'
2019-01-04T06:52:14.118941Z	702650 Execute	select column_name as `column_name` from information_schema.columns where table_schema = 'tgui_log' and table_name = 'tac_log_authentication'
2019-01-04T06:52:14.120104Z	702650 Execute	select * from information_schema.tables where table_schema = 'tgui_log' and table_name = 'tac_log_authorization'
2019-01-04T06:52:14.121422Z	702650 Execute	select column_name as `column_name` from information_schema.columns where table_schema = 'tgui_log' and table_name = 'tac_log_authorization'
2019-01-04T06:52:14.359883Z	702653 Prepare	select * from `tac_log_authentication` where `date` between ? and ? and (`action` LIKE ?)
2019-01-04T06:52:14.360148Z	702653 Execute	select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:13' and '2019-01-04 12:22:14' and (`action` LIKE '%fail%')
2019-01-04T06:52:17.527692Z	702655 Prepare	select count(*) as aggregate from `tac_log_authentication` where `action` LIKE ? and `date` between ? and ?
2019-01-04T06:52:17.527822Z	702655 Execute	select count(*) as aggregate from `tac_log_authentication` where `action` LIKE '%succe%' and `date` between '2019-01-04 00:00:00' and '2019-01-04 23:59:59'
2019-01-04T06:52:18.882803Z	702655 Prepare	select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE ? or `action` LIKE ?) and `date` between ? and ?
2019-01-04T06:52:18.882913Z	702655 Execute	select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE '%fail%' or `action` LIKE '%denied%') and `date` between '2019-01-04 00:00:00' and '2019-01-04 23:59:59'
2019-01-04T06:52:19.773117Z	702655 Prepare	select * from `tac_log_authorization` where `action` = ? and `date` between ? and ?
2019-01-04T06:52:19.773247Z	702655 Execute	select * from `tac_log_authorization` where `action` = 'permit' and `date` between '2019-01-04 00:00:00' and '2019-01-04 23:59:59'
2019-01-04T06:52:20.548415Z	702655 Prepare	select * from `tac_log_authorization` where `date` between ? and ? and `action` = ?
2019-01-04T06:52:20.548574Z	702655 Execute	select * from `tac_log_authorization` where `date` between '2019-01-04 00:00:00' and '2019-01-04 23:59:59' and `action` = 'deny'
2019-01-04T06:52:21.176400Z	702655 Prepare	select count(*) as aggregate from `tac_log_authentication` where `action` LIKE ? and `date` between ? and ?
2019-01-04T06:52:21.176551Z	702655 Execute	select count(*) as aggregate from `tac_log_authentication` where `action` LIKE '%succe%' and `date` between '2019-01-03 00:00:00' and '2019-01-03 23:59:59'
2019-01-04T06:52:22.504300Z	702655 Prepare	select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE ? or `action` LIKE ?) and `date` between ? and ?
2019-01-04T06:52:22.504436Z	702655 Execute	select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE '%fail%' or `action` LIKE '%denied%') and `date` between '2019-01-03 00:00:00' and '2019-01-03 23:59:59'
2019-01-04T06:52:23.278694Z	702655 Prepare	select * from `tac_log_authorization` where `action` = ? and `date` between ? and ?
2019-01-04T06:52:23.278812Z	702655 Execute	select * from `tac_log_authorization` where `action` = 'permit' and `date` between '2019-01-03 00:00:00' and '2019-01-03 23:59:59'
2019-01-04T06:52:24.041241Z	702655 Prepare	select * from `tac_log_authorization` where `date` between ? and ? and `action` = ?
2019-01-04T06:52:24.041451Z	702655 Execute	select * from `tac_log_authorization` where `date` between '2019-01-03 00:00:00' and '2019-01-03 23:59:59' and `action` = 'deny'
2019-01-04T06:52:24.701582Z	702655 Prepare	select count(*) as aggregate from `tac_log_authentication` where `action` LIKE ? and `date` between ? and ?
2019-01-04T06:52:24.701724Z	702655 Execute	select count(*) as aggregate from `tac_log_authentication` where `action` LIKE '%succe%' and `date` between '2019-01-02 00:00:00' and '2019-01-02 23:59:59'
2019-01-04T06:52:25.903571Z	702655 Prepare	select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE ? or `action` LIKE ?) and `date` between ? and ?
2019-01-04T06:52:25.903719Z	702655 Execute	select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE '%fail%' or `action` LIKE '%denied%') and `date` between '2019-01-02 00:00:00' and '2019-01-02 23:59:59'
2019-01-04T06:52:26.698288Z	702655 Prepare	select * from `tac_log_authorization` where `action` = ? and `date` between ? and ?
2019-01-04T06:52:26.698455Z	702655 Execute	select * from `tac_log_authorization` where `action` = 'permit' and `date` between '2019-01-02 00:00:00' and '2019-01-02 23:59:59'
2019-01-04T06:52:27.452000Z	702655 Prepare	select * from `tac_log_authorization` where `date` between ? and ? and `action` = ?
2019-01-04T06:52:27.452141Z	702655 Execute	select * from `tac_log_authorization` where `date` between '2019-01-02 00:00:00' and '2019-01-02 23:59:59' and `action` = 'deny'
2019-01-04T06:52:28.111186Z	702655 Prepare	select count(*) as aggregate from `tac_log_authentication` where `action` LIKE ? and `date` between ? and ?
2019-01-04T06:52:28.111317Z	702655 Execute	select count(*) as aggregate from `tac_log_authentication` where `action` LIKE '%succe%' and `date` between '2019-01-01 00:00:00' and '2019-01-01 23:59:59'
2019-01-04T06:52:29.329717Z	702655 Prepare	select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE ? or `action` LIKE ?) and `date` between ? and ?
2019-01-04T06:52:29.329890Z	702655 Execute	select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE '%fail%' or `action` LIKE '%denied%') and `date` between '2019-01-01 00:00:00' and '2019-01-01 23:59:59'
2019-01-04T06:52:30.117055Z	702655 Prepare	select * from `tac_log_authorization` where `action` = ? and `date` between ? and ?
2019-01-04T06:52:30.117276Z	702655 Execute	select * from `tac_log_authorization` where `action` = 'permit' and `date` between '2019-01-01 00:00:00' and '2019-01-01 23:59:59'
2019-01-04T06:52:31.016644Z	702655 Prepare	select * from `tac_log_authorization` where `date` between ? and ? and `action` = ?
2019-01-04T06:52:31.016807Z	702655 Execute	select * from `tac_log_authorization` where `date` between '2019-01-01 00:00:00' and '2019-01-01 23:59:59' and `action` = 'deny'
2019-01-04T06:52:31.729093Z	702655 Prepare	select count(*) as aggregate from `tac_log_authentication` where `action` LIKE ? and `date` between ? and ?
2019-01-04T06:52:31.729241Z	702655 Execute	select count(*) as aggregate from `tac_log_authentication` where `action` LIKE '%succe%' and `date` between '2018-12-31 00:00:00' and '2018-12-31 23:59:59'
2019-01-04T06:52:32.940349Z	702655 Prepare	select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE ? or `action` LIKE ?) and `date` between ? and ?
2019-01-04T06:52:32.940492Z	702655 Execute	select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE '%fail%' or `action` LIKE '%denied%') and `date` between '2018-12-31 00:00:00' and '2018-12-31 23:59:59'
2019-01-04T06:52:33.697130Z	702655 Prepare	select * from `tac_log_authorization` where `action` = ? and `date` between ? and ?
2019-01-04T06:52:33.697283Z	702655 Execute	select * from `tac_log_authorization` where `action` = 'permit' and `date` between '2018-12-31 00:00:00' and '2018-12-31 23:59:59'
2019-01-04T06:52:34.423297Z	702655 Prepare	select * from `tac_log_authorization` where `date` between ? and ? and `action` = ?
2019-01-04T06:52:34.423459Z	702655 Execute	select * from `tac_log_authorization` where `date` between '2018-12-31 00:00:00' and '2018-12-31 23:59:59' and `action` = 'deny'
2019-01-04T06:52:35.044791Z	702655 Prepare	select count(*) as aggregate from `tac_log_authentication` where `action` LIKE ? and `date` between ? and ?
2019-01-04T06:52:35.044915Z	702655 Execute	select count(*) as aggregate from `tac_log_authentication` where `action` LIKE '%succe%' and `date` between '2018-12-30 00:00:00' and '2018-12-30 23:59:59'
2019-01-04T06:52:36.233470Z	702655 Prepare	select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE ? or `action` LIKE ?) and `date` between ? and ?
2019-01-04T06:52:36.233612Z	702655 Execute	select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE '%fail%' or `action` LIKE '%denied%') and `date` between '2018-12-30 00:00:00' and '2018-12-30 23:59:59'
2019-01-04T06:52:36.997027Z	702655 Prepare	select * from `tac_log_authorization` where `action` = ? and `date` between ? and ?
2019-01-04T06:52:36.997155Z	702655 Execute	select * from `tac_log_authorization` where `action` = 'permit' and `date` between '2018-12-30 00:00:00' and '2018-12-30 23:59:59'
2019-01-04T06:52:37.716404Z	702655 Prepare	select * from `tac_log_authorization` where `date` between ? and ? and `action` = ?
2019-01-04T06:52:37.716506Z	702655 Execute	select * from `tac_log_authorization` where `date` between '2018-12-30 00:00:00' and '2018-12-30 23:59:59' and `action` = 'deny'
2019-01-04T06:52:38.340770Z	702655 Prepare	select count(*) as aggregate from `tac_log_authentication` where `action` LIKE ? and `date` between ? and ?
2019-01-04T06:52:38.340867Z	702655 Execute	select count(*) as aggregate from `tac_log_authentication` where `action` LIKE '%succe%' and `date` between '2018-12-29 00:00:00' and '2018-12-29 23:59:59'
2019-01-04T06:52:39.521468Z	702655 Prepare	select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE ? or `action` LIKE ?) and `date` between ? and ?
2019-01-04T06:52:39.521607Z	702655 Execute	select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE '%fail%' or `action` LIKE '%denied%') and `date` between '2018-12-29 00:00:00' and '2018-12-29 23:59:59'
2019-01-04T06:52:40.288943Z	702655 Prepare	select * from `tac_log_authorization` where `action` = ? and `date` between ? and ?
2019-01-04T06:52:40.289066Z	702655 Execute	select * from `tac_log_authorization` where `action` = 'permit' and `date` between '2018-12-29 00:00:00' and '2018-12-29 23:59:59'
2019-01-04T06:52:41.043603Z	702655 Prepare	select * from `tac_log_authorization` where `date` between ? and ? and `action` = ?
2019-01-04T06:52:41.043780Z	702655 Execute	select * from `tac_log_authorization` where `date` between '2018-12-29 00:00:00' and '2018-12-29 23:59:59' and `action` = 'deny'
2019-01-04T06:52:41.721942Z	702674 Prepare	select distinct `username` from `tac_log_authentication` where `action` NOT LIKE ? and `date` between ? and ? limit 5
2019-01-04T06:52:41.722322Z	702674 Execute	select distinct `username` from `tac_log_authentication` where `action` NOT LIKE '%fail%' and `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' limit 5
2019-01-04T06:52:43.115328Z	702674 Prepare	select * from `tac_log_authentication` where `date` between ? and ? and (`username` = ?)
2019-01-04T06:52:43.115445Z	702674 Execute	select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`username` = 'nokiabackup')
2019-01-04T06:52:44.720664Z	702674 Prepare	select * from `tac_log_authentication` where `date` between ? and ? and (`username` = ?)
2019-01-04T06:52:44.720788Z	702674 Execute	select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`username` = 'dharati')
2019-01-04T06:52:46.198573Z	702674 Prepare	select * from `tac_log_authentication` where `date` between ? and ? and (`username` = ?)
2019-01-04T06:52:46.198701Z	702674 Execute	select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`username` = 'arjun')
2019-01-04T06:52:47.633044Z	702674 Prepare	select * from `tac_log_authentication` where `date` between ? and ? and (`username` = ?)
2019-01-04T06:52:47.633170Z	702674 Execute	select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`username` = 'bhavesh')
2019-01-04T06:52:48.909044Z	702674 Prepare	select * from `tac_log_authentication` where `date` between ? and ? and (`username` = ?)
2019-01-04T06:52:48.909158Z	702674 Execute	select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`username` = 'neel')
2019-01-04T06:52:50.207985Z	702674 Prepare	select distinct `NAS` from `tac_log_authentication` where `date` between ? and ? limit 5
2019-01-04T06:52:50.208020Z	702674 Execute	select distinct `NAS` from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' limit 5
2019-01-04T06:52:51.009952Z	702674 Prepare	select * from `tac_log_authentication` where `date` between ? and ? and (`NAS` = ?)
2019-01-04T06:52:51.009990Z	702674 Execute	select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`NAS` = '10.111.111.13')
2019-01-04T06:52:52.335489Z	702674 Prepare	select * from `tac_log_authentication` where `date` between ? and ? and (`NAS` = ?)
2019-01-04T06:52:52.335568Z	702674 Execute	select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`NAS` = '172.23.102.86')
2019-01-04T06:52:53.873259Z	702674 Prepare	select * from `tac_log_authentication` where `date` between ? and ? and (`NAS` = ?)
2019-01-04T06:52:53.873440Z	702674 Execute	select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`NAS` = '10.111.111.4')
2019-01-04T06:52:55.234833Z	702674 Prepare	select * from `tac_log_authentication` where `date` between ? and ? and (`NAS` = ?)
2019-01-04T06:52:55.235037Z	702674 Execute	select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`NAS` = '10.111.111.3')
2019-01-04T06:52:56.666036Z	702674 Prepare	select * from `tac_log_authentication` where `date` between ? and ? and (`NAS` = ?)
2019-01-04T06:52:56.666238Z	702674 Execute	select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`NAS` = '10.111.111.11')

Some of my observation

1. For Top 5 Active Users and Top 5,10,15 Used Device Pie Chart
TacacsGUI is executing below query to get idea about top 5,10,15 users and NAS. and then it is executing separate query for each user and NAS.

-- Current Query
select distinct `NAS` from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' limit 5
select distinct `username` from `tac_log_authentication` where `action` NOT LIKE '%fail%' and `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' limit 5

select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`username` = 'nokiabackup')
select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`username` = 'dharati')
select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`username` = 'arjun')
select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`username` = 'bhavesh')
select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`username` = 'neel')
select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`NAS` = '10.111.111.13')
select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`NAS` = '172.23.102.86')
select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`NAS` = '10.111.111.4')
select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`NAS` = '10.111.111.3')
select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41' and (`NAS` = '10.111.111.11')

My knowledge of SQL says that query is not getting top 5 users or NAS. its just getting unique 5 Users and NAS.
instead of this you can execute below query to get it in 2 query only.

-- My Suggestion
-- Top 15 Active Users
select username, count(*) c from tgui_log.tac_log_authentication where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41'   group by username order by c desc limit 15 ;
-- Top 15 Used Device
select NAS, count(*) c from tgui_log.tac_log_authentication where `date` between '2018-12-28 12:22:40' and '2019-01-04 12:22:41'  group by NAS order by c desc limit 15 ;

2. For Authentication And Authorization, Fail and Success Timeline Chart
TacacsGUI is executing below query to get fail and success Authentication And Authorization.
For this it is executing 7 days*2 fail & success = total 28 query for individually.

-- current query
select * from `tac_log_authorization` where `action` = 'permit' and `date` between '2018-12-29 00:00:00' and '2018-12-29 23:59:59'
select * from `tac_log_authorization` where `action` = 'permit' and `date` between '2018-12-30 00:00:00' and '2018-12-30 23:59:59'
select * from `tac_log_authorization` where `action` = 'permit' and `date` between '2018-12-31 00:00:00' and '2018-12-31 23:59:59'
select * from `tac_log_authorization` where `action` = 'permit' and `date` between '2019-01-01 00:00:00' and '2019-01-01 23:59:59'
select * from `tac_log_authorization` where `action` = 'permit' and `date` between '2019-01-02 00:00:00' and '2019-01-02 23:59:59'
select * from `tac_log_authorization` where `action` = 'permit' and `date` between '2019-01-03 00:00:00' and '2019-01-03 23:59:59'
select * from `tac_log_authorization` where `action` = 'permit' and `date` between '2019-01-04 00:00:00' and '2019-01-04 23:59:59'
select * from `tac_log_authorization` where `date` between '2018-12-29 00:00:00' and '2018-12-29 23:59:59' and `action` = 'deny'
select * from `tac_log_authorization` where `date` between '2018-12-30 00:00:00' and '2018-12-30 23:59:59' and `action` = 'deny'
select * from `tac_log_authorization` where `date` between '2018-12-31 00:00:00' and '2018-12-31 23:59:59' and `action` = 'deny'
select * from `tac_log_authorization` where `date` between '2019-01-01 00:00:00' and '2019-01-01 23:59:59' and `action` = 'deny'
select * from `tac_log_authorization` where `date` between '2019-01-02 00:00:00' and '2019-01-02 23:59:59' and `action` = 'deny'
select * from `tac_log_authorization` where `date` between '2019-01-03 00:00:00' and '2019-01-03 23:59:59' and `action` = 'deny'
select * from `tac_log_authorization` where `date` between '2019-01-04 00:00:00' and '2019-01-04 23:59:59' and `action` = 'deny'
select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE '%fail%' or `action` LIKE '%denied%') and `date` between '2018-12-29 00:00:00' and '2018-12-29 23:59:59'
select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE '%fail%' or `action` LIKE '%denied%') and `date` between '2018-12-30 00:00:00' and '2018-12-30 23:59:59'
select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE '%fail%' or `action` LIKE '%denied%') and `date` between '2018-12-31 00:00:00' and '2018-12-31 23:59:59'
select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE '%fail%' or `action` LIKE '%denied%') and `date` between '2019-01-01 00:00:00' and '2019-01-01 23:59:59'
select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE '%fail%' or `action` LIKE '%denied%') and `date` between '2019-01-02 00:00:00' and '2019-01-02 23:59:59'
select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE '%fail%' or `action` LIKE '%denied%') and `date` between '2019-01-03 00:00:00' and '2019-01-03 23:59:59'
select count(*) as aggregate from `tac_log_authentication` where (`action` LIKE '%fail%' or `action` LIKE '%denied%') and `date` between '2019-01-04 00:00:00' and '2019-01-04 23:59:59'
select count(*) as aggregate from `tac_log_authentication` where `action` LIKE '%succe%' and `date` between '2018-12-29 00:00:00' and '2018-12-29 23:59:59'
select count(*) as aggregate from `tac_log_authentication` where `action` LIKE '%succe%' and `date` between '2018-12-30 00:00:00' and '2018-12-30 23:59:59'
select count(*) as aggregate from `tac_log_authentication` where `action` LIKE '%succe%' and `date` between '2018-12-31 00:00:00' and '2018-12-31 23:59:59'
select count(*) as aggregate from `tac_log_authentication` where `action` LIKE '%succe%' and `date` between '2019-01-01 00:00:00' and '2019-01-01 23:59:59'
select count(*) as aggregate from `tac_log_authentication` where `action` LIKE '%succe%' and `date` between '2019-01-02 00:00:00' and '2019-01-02 23:59:59'
select count(*) as aggregate from `tac_log_authentication` where `action` LIKE '%succe%' and `date` between '2019-01-03 00:00:00' and '2019-01-03 23:59:59'
select count(*) as aggregate from `tac_log_authentication` where `action` LIKE '%succe%' and `date` between '2019-01-04 00:00:00' and '2019-01-04 23:59:59'

My Suggestion is that it should execute just 2 query for this.

-- My Suggestion
-- Authorization Timeline Chart
select date_format(date,'%Y-%m-%d') date_,action, count(*) from tgui_log.tac_log_authorization group by date_,action ;
-- Authentication Timeline Chart
select date_format(date,'%Y-%m-%d') date_,if(action like "%succeeded","permit","deny")action_, count(*) from tgui_log.tac_log_authentication group by date_,action_ ;

3. For Total User, Total Device and Fail Authentication During Last Week

-- current query
select * from `tac_users`
select * from `tac_devices`
select * from `tac_log_authentication` where `date` between '2018-12-28 12:22:13' and '2019-01-04 12:22:14' and (`action` LIKE '%fail%')
-- My Suggestion
select count(*) from `tac_users`
select count(*) from `tac_devices`
select count(*) from `tac_log_authentication` where `date` between '2018-12-28 12:22:13' and '2019-01-04 12:22:14' and (`action` LIKE '%fail%')

Dashboard is also executing below query but i don't know where you use it because dashboard only showing total number of user and device whether it is enable or disable.

select * from `tac_devices` where (`disabled` = '1')
select * from `tac_users` where (`disabled` = '1')

Apart from Dashboard
There is also some query which executing too frequently(5 Query per Second). Help me to understand what is use for it.

select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
set names 'utf8' collate 'utf8_unicode_ci
select count(*) as aggregate from `mavis_ldap` where `enabled` = 1
select count(*) as aggregate from `mavis_sms` where `enabled` = 1
select count(*) as aggregate from `mavis_otp` where `enabled` = 1
select count(*) as aggregate from `tac_users` where (`username` = 'root' and `login_flag` = 3 and `mavi_otp_enabled` = 0 and `mavis_sms_enabled` = 0)

This is my suggestion as per my knowledge if you feel it right then please do needful.

Thanks

Originally posted by @rajjaisur in https://github.com/tacacsgui/tacacsgui/issue_comments#issuecomment-451404003

config error

Describe the system
Ubuntu version: Ubuntu 18.04.2 LTS
(use next command: lsb_release -a )
PHP version: PHP 7.3.7-1+ubuntu18.04.1+deb.sury.org+1
TacacsGUI API version: 0.9.74

Browser: Chrome

Describe the bug
Can't test and apply config after setting up LDAP

To Reproduce
I took a fresh install, configured Mavis Ldap for Openldap

When I click on Test it works. Save is ok.
The LDAP Grops lists my groups as well.
No problems.

Under Tacacs Configuration -> Test and Apply
I uncheck "Make backup after applying"
and click on Test I get the following error:
"11150: /opt/tacacsgui/tac_plus.cfg_test:33: Expected 'same', 'user', 'group-membership', 'hide-version', 'checksum', 'set', 'event' or '||', but got 'exec' 11150: Detected fatal configuration error. Exiting."
Line 33 is the mavis exec, here is the configuration sniplet:

28 ####MAVIS GENERAL SETTINGS####
29 user backend = mavis
30 login backend = mavis chpass
31 pap backend = mavis
32 mavis module = external {
33 exec = /opt/tacacsgui/mavis/app.php
34 } #END OF MAVIS GLOBAL SETTINGS

Additional context
Add any other context about the problem here.

I resinstalled everything fresh and from default. I will got the same error.

Проблема с паролями со спецсимволами

Пароли со спецсимволами вызывают проблемы при использовании GUI

  1. Пароли не проходят через хешфункцию, соотвтетственно в конфиге поле с паролем оказывается пустым
  2. Пароли с некоторыми другими символами хешируются, но эти символы теряются

Очевидно проблема с экранированием спецсимволов, что вызывает проблемы при использовании сложных паролей, и является потенциальной дырой в безопасности

Проблема после установки

[Wed Jun 20 16:45:57.986932 2018] [:error] [pid 47548] [client 172.хх.2.хх:57994] PHP Warning:require(/opt/tacacsgui/web/api/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /opt/tacacsgui/web/api/bootstrap/app.php on line 20

[Wed Jun 20 16:45:57.986965 2018] [:error] [pid 47548] [client 172.хх.2.хх:57994] PHP Fatal error: require(): Failed opening required '/opt/tacacsgui/web/api/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/php') in /opt/tacacsgui/web/api/bootstrap/app.php on line 20

файла с именем autoload.php нет.

select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1 query frequency is too high

Hello Aleksey,
Dashboard look good now in my environment it is taking 10 sec load completely.
Apart from dashboard please check below sql log.
frequency of query is very high.
Please do needful.
And it will be great if you give some brief that what is it use for.

root@TACACS:/home/tacacs# tailf /var/log/mysql/mysql.log | grep "Execute.*select"
2019-01-12T06:34:32.965199Z	2762837 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:38.099140Z	2762839 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:38.232926Z	2762841 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:38.362719Z	2762843 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:38.494259Z	2762845 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:41.724929Z	2762847 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:41.859266Z	2762849 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:41.980305Z	2762851 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:42.106106Z	2762853 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:51.259917Z	2762856 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:51.392988Z	2762858 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:51.526592Z	2762860 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:51.656704Z	2762862 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:52.087916Z	2762864 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:52.224537Z	2762866 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:52.358610Z	2762868 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:52.489363Z	2762870 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:52.893360Z	2762873 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:53.022038Z	2762875 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:53.154204Z	2762877 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:53.302819Z	2762879 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:53.831388Z	2762881 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:53.962032Z	2762883 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:54.090811Z	2762885 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:54.221552Z	2762887 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:55.818967Z	2762889 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:55.946360Z	2762891 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:56.077647Z	2762893 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:56.205735Z	2762895 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:56.933776Z	2762897 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:57.119688Z	2762899 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:57.252052Z	2762901 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:34:57.382295Z	2762903 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:02.664330Z	2762911 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:02.807050Z	2762913 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:02.957627Z	2762916 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:03.087947Z	2762918 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:08.868044Z	2762926 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:08.997396Z	2762930 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:09.126752Z	2762932 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:09.260141Z	2762934 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:09.397167Z	2762936 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:09.525495Z	2762938 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:09.658242Z	2762940 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:09.794799Z	2762943 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:09.882906Z	2762945 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:10.007533Z	2762947 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:10.137661Z	2762949 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:10.268754Z	2762951 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:10.399039Z	2762953 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:10.529401Z	2762955 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:10.659315Z	2762957 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:10.782384Z	2762959 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:10.910167Z	2762961 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:11.035119Z	2762963 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:11.171053Z	2762965 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:11.281027Z	2762967 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:12.175698Z	2762969 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:12.319949Z	2762971 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:12.458562Z	2762973 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:12.588901Z	2762975 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:12.970567Z	2762977 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:13.102240Z	2762979 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:13.228712Z	2762981 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:13.358321Z	2762983 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:13.771098Z	2762985 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:13.912205Z	2762987 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:14.038009Z	2762989 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:14.161707Z	2762991 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:14.367852Z	2762993 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:14.491533Z	2762995 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:14.633255Z	2762997 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:14.757043Z	2762999 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:14.897378Z	2763001 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:15.028776Z	2763003 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:15.156880Z	2763005 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:15.283548Z	2763007 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:15.410554Z	2763009 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:15.546267Z	2763011 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:15.675577Z	2763013 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:15.814404Z	2763015 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:15.944227Z	2763017 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:16.080593Z	2763019 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:16.215536Z	2763021 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:16.348203Z	2763023 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:16.477588Z	2763025 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:16.612780Z	2763027 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:16.763243Z	2763029 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:16.898283Z	2763031 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:17.026428Z	2763033 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:17.156988Z	2763035 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:17.279744Z	2763037 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:17.410332Z	2763039 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:20.748877Z	2763041 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:20.880421Z	2763043 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:21.012467Z	2763045 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:21.138489Z	2763047 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:22.138338Z	2763049 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:22.263523Z	2763051 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:22.391298Z	2763053 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:22.521493Z	2763055 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:23.827970Z	2763057 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:23.955007Z	2763059 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:24.084600Z	2763061 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:24.214220Z	2763063 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:24.443130Z	2763065 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:24.571655Z	2763067 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:24.699631Z	2763069 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:24.826573Z	2763071 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:25.402617Z	2763073 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:25.542496Z	2763075 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:25.670631Z	2763077 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1
2019-01-12T06:35:25.793508Z	2763079 Execute	select `bad_authentication_enable`, `bad_authorization_enable` from `api_notification` limit 1

Originally posted by @rajjaisur in #9 (comment)

Enable password

Hi;

After update my tacacsgui from 0.9.42 to 0.9.63 all may devices start ask for enable password, even for users with privileges 15.

I try configure a service with priv 15 but always ask for enable password.

imagem

Is there a way to skip the request?

Ubuntu version: 18.04.2 LTS
PHP version: HP 7.3.3
TacacsGUI API version: 0.9.63

Feature Request: Page for users to change password

Feature Request

It would be nice if there was a page for the TACACS users to use to change their passwords from.

Not the API users, but the TACACS users.

I think this may require a modification to the way the configuration is managed, splitting the users off into a separate file or files.

Workflow:

  1. TACACS user goes to a webpage http://:8008/chpass/
  2. Logs in using their current TACACS username and password
  3. Given a dialog to change the password (double entry like always)
  4. Password is hashed and the configuration is tested then updated automatically (this is why it may be better to split the users off into separate files)

Cheers!

Love the project

Little Web-framework bug

image

При нажатии кнопки "Check Update" внизу в списке "List of Slaves" дублируется отображение ведомых серверов

Can't export/import devices

SYSTEM DESCRIPTION:

Originally deployed from OVA

tacgui@tacgui:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic
tacgui@tacgui:~$ 
tacgui@tacgui:~$ php -v
PHP 7.3.6-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: May 31 2019 11:06:48) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.6, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.6-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
tacgui@tacgui:~$ 
tacgui@tacgui:~$ php -r 'include "/opt/tacacsgui/web/api/constants.php"; echo APIVER . "\n";'
0.9.72
tacgui@tacgui:~$ 

Browser: Chrome v75.0.3770.100 & Firefox v67.0.4 (both browsers 64-bit)

BUG DESCRIPTION:
I'm unable to export or import devices to/from CSV file. Selecting 'Export Selected' from the Actions menu button results in no visible action. This appears to be the case in your demo site as well (https://demo.tacacsgui.com:4443/auth/login)

To Reproduce

  1. Clear cache and restart browser
  2. Log in as administrative user
  3. Click Tacacs Devices > Devices in the left column menu
  4. Click on a device in the list of devices to highlight it
  5. Click on the Actions button to expose the menu
  6. Click on Export Selected

Screenshots
TACACS Export Bug

Additional context
Add any other context about the problem here.

Authentication / Database issue

Describe the system
Ubuntu version: 16.04
PHP version: 7.3
TacacsGUI API version: 0.0.61
Browser: chrome

Describe the bug
Authentication not working from cisco router after update to 0.9.61, looks like it is database related

Screenshots

Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27165: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27165: Stack trace:
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27165: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27165: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27165: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27165: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27165: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27165: terminated before finishing first request
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27167: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27167: Stack trace:
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27167: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27167: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27167: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27167: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27167: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27167: terminated before finishing first request
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27169: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27169: Stack trace:
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27169: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27169: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27169: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27169: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27169: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27169: terminated before finishing first request
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27171: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27171: Stack trace:
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27171: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27171: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27171: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27171: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27171: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27171: terminated before finishing first request
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27173: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27173: Stack trace:
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27173: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27173: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27173: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27173: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27173: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27173: terminated before finishing first request
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27175: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27175: Stack trace:
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27175: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27175: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27175: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27175: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27175: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27175: terminated before finishing first request
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27177: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27177: Stack trace:
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27177: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27177: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27177: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27177: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27177: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27177: terminated before finishing first request
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27179: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27179: Stack trace:
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27179: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27179: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27179: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27179: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27179: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27179: terminated before finishing first request
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27181: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27181: Stack trace:
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27181: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27181: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27181: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27181: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27181: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27181: terminated before finishing first request
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27183: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27183: Stack trace:
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27183: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27183: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27183: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27183: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27183: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27183: terminated before finishing first request
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27185: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27185: Stack trace:
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27185: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27185: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27185: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27185: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27185: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:33 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27185: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27187: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27187: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27187: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27187: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27187: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27187: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27187: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27187: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27189: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27189: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27189: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27189: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27189: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27189: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27189: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27189: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27191: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27191: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27191: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27191: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27191: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27191: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27191: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27191: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27193: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27193: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27193: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27193: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27193: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27193: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27193: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27193: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27195: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27195: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27195: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27195: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27195: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27195: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27195: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27195: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27197: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27197: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27197: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27197: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27197: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27197: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27197: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27197: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27199: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27199: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27199: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27199: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27199: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27199: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27199: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27199: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27201: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27201: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27201: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27201: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27201: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27201: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27201: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27201: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27203: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27203: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27203: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27203: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27203: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27203: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27203: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27203: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27205: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27205: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27205: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27205: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27205: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27205: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27205: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27205: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27207: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27207: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27207: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27207: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27207: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27207: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27207: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27207: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27209: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27209: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27209: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27209: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27209: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27209: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27209: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27209: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27211: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27211: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27211: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27211: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27211: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27211: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27211: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27211: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27213: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27213: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27213: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27213: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27213: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27213: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27213: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27213: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27215: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27215: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27215: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27215: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27215: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27215: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27215: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27215: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27217: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27217: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27217: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27217: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27217: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27217: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27217: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27217: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27219: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27219: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27219: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27219: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27219: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27219: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27219: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27219: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27221: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27221: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27221: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27221: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27221: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27221: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27221: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27221: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27223: PHP Fatal error: Uncaught PDOException: could not find driver in /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27223: Stack trace:
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27223: #0 /opt/tacacsgui/web/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27223: #1 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27223: #2 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'tgui_user', 'PASSWORD', Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27223: #3 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27223: #4 /opt/tacacsgui/web/api/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect in /opt/tacacsgui/web/api/vendor/illuminate/database/Connection.php on line 664
Mar 13 21:50:34 SERVERtac_plus[26394]: /opt/tacacsgui/mavis/app.php: 27223: terminated before finishing first request
Mar 13 21:50:34 SERVERtac_plus[26394]: external: /opt/tacacsgui/mavis/app.php respawning too fast; throttling for 29 seconds.

I can't install.

Hi.
I just installed tacacsgui according to the following manual: https://tacacsgui.com/docs.php

But I could not make it work.

  1. After finishing the execution of the installation script ("Done. Congratulation!")
    I see that you have created the database, but without structure.
  2. When I try to start a session, it does not enter and the following error appears: (500 Interval Server error). But I suppose it must be because of the empty database error.

I have tried to search the database structure on your github to try to create it manually, but I have not found it.

In advance, thanks for your feedback.

Very good project.

IPv6 maximum prefix length too short

Describe the system
Ubuntu version: ...
tacgui@zuul:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic

PHP version: ...
tacgui@zuul:~$ php -v
PHP 7.3.4-1+ubuntu18.04.1+deb.sury.org+3 (cli) (built: Apr 10 2019 10:51:11) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.4, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.4-1+ubuntu18.04.1+deb.sury.org+3, Copyright (c) 1999-2018, by Zend Technologies

TacacsGUI API version: IMPORTANT
tacgui@zuul:~$ php -r 'include "/opt/tacacsgui/web/api/constants.php"; echo APIVER . "\n";'
0.9.63

Browser: [e.g. chrome, safari]
Chrome - Version 74.0.3729.131 (Official Build) (64-bit)

Describe the bug
When adding a device with an IPv6 address, the maximum prefix length is /32. The appropriate maximum should be /128.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'TACACS Devices - Devices'.
  2. Click on '+Add Device'.
  3. Enter IPv6 address in the "Device's IP Address" field.
  4. Prefix slider maximum /32.

Screenshots
Screenshot attached.

Additional context
Prefix slider should extend to /128 when IPv6 address is entered or could simply be a text input box.
IPv6 short prefix

Migrate Logs to new server

I would like in the Ubuntu server migration from 16.04 to 18.04 not to lose the history of the logs, these logs is very important. Is it possible for me to move the logs from one server to another?

Thank you very much.

Configuration Manager dont start

Describe the system
Ubuntu version: 18.04
PHP version: 7.3
TacacsGUI API version: 0.9.73
Browser: Firefox

Describe the bug
Configuration manager dont star

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Configuration manager, Setting, Settings'
  2. Click on 'Star Configuration Manager '
  3. Configuration manager show loding, if I clic on button status get this:

imagen

Screenshots
Image
imagen

Additional context
In the last GUI version i have this error whem clic on star button:

Server Error Appeared!
Description:

Type: undefined: undefined

Status: 704

Status Text: Internal Server Error

Response Text: { "message": "Slim Application Error", "exception": [ { "type": "Exception", "code": 0, "message": "Traceback (most recent call last):\n File "/opt/tacacsgui/plugins/ConfigManager/cm.py", line 47, in \n hours, minutes = cm.get('time', '00:00').split(':')\nValueError: not enough values to unpack (expected 2, got 1)", "file": "/opt/tacacsgui/web/api/app/Services/CMDRun/CMDRun.php", "line": 80, "trace": [ "#0 /opt/tacacsgui/web/api/app/Controllers/ConfManager/ConfManager.php(1113): tgui\Services\CMDRun\CMDRun->get()", "#1 /opt/tacacsgui/web/api/app/Controllers/ConfManager/ConfManager.php(716): tgui\Controllers\ConfManager\ConfManager->startCron(Array)", "#2 [internal function]: tgui\Controllers\ConfManager\ConfManager->postCron(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)", "#3 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)", "#4 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/Route.php(356): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)", "#5 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))", "#6 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/Route.php(334): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))", "#7 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/App.php(516): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))", "#8 /opt/tacacsgui/web/api/app/Middleware/ChangeHeaderMiddleware.php(14): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))", "#9 [internal function]: tgui\Middleware\ChangeHeaderMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))", "#10 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(tgui\Middleware\ChangeHeaderMiddleware), Array)", "#11 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))", "#12 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))", "#13 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))", "#14 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/App.php(407): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))", "#15 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/App.php(315): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))", "#16 /opt/tacacsgui/web/api/index.php(5): Slim\App->run()", "#17 {main}" ] } ] }

message: ===>Slim Application Error<===(string)

exception: '0' : 'type' => "Exception" 'code' => "0" 'message' => "Traceback (most recent call last): File "/opt/tacacsgui/plugins/ConfigManager/cm.py", line 47, in hours, minutes = cm.get('time', '00:00').split(':') ValueError: not enough values to unpack (expected 2, got 1)" 'file' => "/opt/tacacsgui/web/api/app/Services/CMDRun/CMDRun.php" 'line' => "80" 'trace' : '0' => "#0 /opt/tacacsgui/web/api/app/Controllers/ConfManager/ConfManager.php(1113): tgui\Services\CMDRun\CMDRun->get()" '1' => "#1 /opt/tacacsgui/web/api/app/Controllers/ConfManager/ConfManager.php(716): tgui\Controllers\ConfManager\ConfManager->startCron(Array)" '2' => "#2 [internal function]: tgui\Controllers\ConfManager\ConfManager->postCron(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)" '3' => "#3 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)" '4' => "#4 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/Route.php(356): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)" '5' => "#5 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))" '6' => "#6 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/Route.php(334): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))" '7' => "#7 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/App.php(516): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))" '8' => "#8 /opt/tacacsgui/web/api/app/Middleware/ChangeHeaderMiddleware.php(14): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))" '9' => "#9 [internal function]: tgui\Middleware\ChangeHeaderMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))" '10' => "#10 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(tgui\Middleware\ChangeHeaderMiddleware), Array)" '11' => "#11 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))" '12' => "#12 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))" '13' => "#13 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))" '14' => "#14 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/App.php(407): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))" '15' => "#15 /opt/tacacsgui/web/api/vendor/slim/slim/Slim/App.php(315): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))" '16' => "#16 /opt/tacacsgui/web/api/index.php(5): Slim\App->run()" '17' => "#17 {main}"

url: ===>/api/confmanager/settings/cron/<===(string)

data: 'cm' : 'period' => "day" 'time' => "" 'week' => "1" 'git' : 'period' => "60"

Debug info:

PHP version: 7.3.3-1
API version: 0.9.63
tac_plus version: 201903091339/PCRE/LWRES 

Applied User and Device Groups limit = 1

Version 0.9.73

Describe the bug
0.9.73 only allows one user group or device group to be applied.

Previous version would allow multiple user groups and device groups (under access control) to a user's profile.

Previously the UI would allow this:
user = user1 {
login = mavis # Local Database
member = usergroup1/usergroup2/usergroup3
default service = permit
} #END OF user1

Now only one group may be applied:
user = user2 {
login = mavis # Local Database
member = usergroup1
default service = permit
} #END OF user1

TACMEMBER Not Filled

Hi,

I'm giving a try to tacacsgui, which looks pretty cool :-)

I've currently one issue with group membership inside my OpenLDAP backend.
Authentication against LDAP works, but I never see the the group the user belongs to.
Below is my configuration:
MAVIS LDAP Module: Enabled
LDAP Type: OpenLDAP
User will manually select tacacs group: No
TLS Support: Use TLS
LDAP Hosts: 10.0.0.100
Port: 389
LDAP User: cn=Manager,dc=lab,dc=org
LDAP Password: **********
LDAP Base: dc=lab,dc=org
LDAP Search Attribute: uid

In OpenLDAP, my user is configured as follow:
ldapsearch -b "dc=lab,dc=org" -D "cn=Manager,dc=lab,dc=org" -W -ZZ -LLL "(uid=jean-christophe)":
dn: uid=jean-christophe,ou=People,dc=lab,dc=org
objectClass: posixAccount
objectClass: top
objectClass: inetOrgPerson
objectClass: radiusprofile
dialupAccess: YES
givenName: Jean-Christophe
initials: JCV
sn: Valiere
displayName: J.-Christophe
homeDirectory: /home/jean-christophe
loginShell: /bin/bash
cn: Jean-Christophe
uidNumber: 65212
uid: jean-christophe
userPassword:: **********
gidNumber: 60669

ldapsearch -b "dc=lab,dc=org" -D "cn=Manager,dc=lab,dc=org" -W -ZZ -LLL "(gidNumber=60669)":
dn: cn=NetworkAdmin,ou=Group,dc=lab,dc=org
objectClass: posixGroup
objectClass: top
memberUid: jean-christophe
gidNumber: 60669
cn: NetworkAdmin
description: Network Administrator

dn: uid=jean-christophe,ou=People,dc=lab,dc=org
objectClass: posixAccount
objectClass: top
objectClass: inetOrgPerson
objectClass: radiusprofile
dialupAccess: YES
givenName: Jean-Christophe
initials: JCV
sn: Valiere
displayName: Jean-Christophe
homeDirectory: /home/jean-christophe
loginShell: /bin/bash
cn: Jean-Christophe
uidNumber: 65212
uid: jean-christophe
userPassword:: ********
gidNumber: 60669

Below is the result, when I Check LDAP authentication from tacacsgui:
Input attribute-value-pairs:
TYPE TACPLUS
TIMESTAMP mavistest-22447-1554734085-0
USER jean-christophe
PASSWORD ******
TACTYPE AUTH

Output attribute-value-pairs:
TYPE TACPLUS
TIMESTAMP mavistest-22447-1554734085-0
USER jean-christophe
RESULT ACK
PASSWORD ******
SERIAL Gtol4gi8rkL1xDNeqH+r4g=
TACTYPE AUTH

Any idea where I should look to have the group membership working ?

Thanks,
Jean-Christophe

Future Request : Make One Back end Script to check all configured device is accessible using tacacs

Make one back end script which check in every frequency(frequency will be configurable in GUI)

  1. which check device is ping able or not
  2. if it is then it will check login using tacacs user
  3. if it not able to login then it make entry in dashboard( or any other suitable menu/submenu)
  4. if device is not ping able don't do any thing

if you need any help. please ping me on [email protected]

Thanks
Raj Jaisur

using ova file . the tacgui web not working

hello
all tacgui script checks passed ok. the server is answering on port 80 but no answer on port 8080 or 4443. also find out that tacacs service not started and gives this error
3223: /opt/tacacsgui/tac_plus.cfg:1: FATAL: No configuration for id 'spawnd' found.
can you help?

Enable HTTP(s) Tacacs Auth

Ubuntu version: 16.04.5
PHP version: PHP 7.3.3-1
TacacsGUI API version: 0.9.63
Browser: All

I would like to pass http(s) auth through TacacsGUI.

I am trying to http(s) login to a UniFi ToughSwitch. SSH works but http(s) fails.

I can attach a packet capture if needed.

CSV Export only exports device list

When exporting from the Users or User Groups pages using the "Save as CSV" button; the file generated is the device list.

File name is tac_devices_{unique_id}.csv

This happens no matter where you run the "Save as CSV" from aside from the "Device Groups" page. See table:

Page CSV Output Status
Devices tac_devices.csv
Device Groups tac_device_groups.csv
Users tac_devices.csv 🔴
User Groups tac_devices.csv 🔴
ACLs tac_devices.csv 🔴
Services tac_devices.csv 🔴

Anonymous searches on LDAP config

Describe the system
Ubuntu version: Ubuntu 18.04.2 LTS
TacacsGUI API version: 0.9.73
Browser: [Mozilla Firefox]

Describe the bug
I can't do anonymous searches when I configure MAVIS LDAP

Context
I had configured my MAVIS LDAP with a Username and Password, everything works.
My LDAP is configured to support anonymous searches.
But when I want to do anonymous searches, I let the username and password forms empty. And when I do the test, I have the following message : Invalid credentials.

Unrecognized token '0'

Describe the system
Ubuntu version: Ubuntu 18.04.3 LTS
PHP version: PHP 7.3.8-1+ubuntu18.04.1+deb.sury.org+1
TacacsGUI API version: 0.9.76
Browser: Chrome

When I try to save the config I get the following:

1620: /opt/tacacsgui/tac_plus.cfg_test:28: Unrecognized token '0' 1620: Detected fatal configuration error. Exiting.

I can see the following in the config:

  ###MANUAL CONFIGURATION END###
  accounting log = accounting_log
  authentication log = authentication_log
  authorization log = authorization_log
  connection timeout = 600
  context timeout = 3600
  password max-attempts = 1
  password backoff = 1
  separation tag = "*"
  skip conflicting groups = yes
  skip missing groups = yes
0
  ####LIST OF ACL####

The "0" on it's own causes the problem.
Screenshot 2019-08-20 at 12 36 44

Configuration manager with AD doesn't work properly

Describe the system
Ubuntu version: Ubuntu 18.04.2 LTS
(use next command: lsb_release -a )
PHP version: PHP 7.3.6-1
(use next command: php -v )
TacacsGUI API version: 0.9.72
(use next command: php -r 'include "/opt/tacacsgui/web/api/constants.php"; echo APIVER . "\n";' )
Browser: [e.g. chrome, safari] Chrome

Describe the bug
Configuration manager is working but there is no output when run 'show run' command.
the buffer is empty after run 'show run' command.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. See error

Screenshots
image

Models
image

Additional context
Add any other context about the problem here.

unable to delete user group

Describe the system
Description: Fedora release 30 (Thirty)
(use next command: lsb_release -a )
PHP version: PHP 7.3.6
(use next command: php -v )
TacacsGUI API version: 0.9.72
(use next command: php -r 'include "/opt/tacacsgui/web/api/constants.php"; echo APIVER . "\n";' )
Browser: firefox

Describe the bug
I'm trying to delete a user group, but the group is not deleted.
I only get a "Server Error" message.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Tacacs User Group'
  2. Click on the trash icon
  3. See error

Server Error

Hi,

After upgrading to the latest 0.9.7 i am getting some database timeout especially when I click ACL.

I tried to look in all available logs but I just couldn't find anything obvious.

I deleted the database and recreated the schema using the installation script but i am getting the same issue.

Any Idea ?

A

Slow Loading Time

Hi,

i had an issue with very long loading times on an client browser with no internet.
When i opened the GUI, it takes about 2 Minutes to load or change a page.

I out Commented the Google Apis font line in:

/web/templates/body_start.php

Now, the GUI is loading nice and fast.

Plz be aware, if u use or test tacacsgui in capsualted environments, like tech-labs.

Have a nice day.

Возможность управления правами пользователя для систем на базе IOS XR

Для IOS XR сейчас в ручном режиме приходится заносить настройки в конфигурацию:
service = exec { optional task = "#root-system" }
или
service = exec { task = "rwx:bgp,#operator" }

Параметр rwx:bgp означает доступ соответствующему пользователю на read/write/execute по сервису (в терминологии Cisco - task) BGP, а с решетки начинаются названия taskgroup которые настраиваются на роутере и пользователь назначается в соответствующую группу где уже прописаны права по всем таскам (rwx).

Ключевое слово "optional" требуется для работы такакса с легаси Cisco IOS устройствами, без него пользователь не может авторизоваться на IOS устройстве, тк роутер не понимает нового атрибута

Суть реквеста в просьбе реализовать возможность управления правами пользователей на IOS XR

Centralized Management | Централизованное управление

Hello

Is it possible to realize the centralized management feature in the future updates? For example, if I had 2 or more servers with TACACS+ service on the different servers, it would be much more convenient to manage them centrally.


Добрый день.

Возможно ли реализовать функционал централизованного управления для будущих обновлений? Например, если у меня есть 2 или больше сервисов TACACS+ на разных серверах, было бы гораздо удобнее управлять ими централизованно.

Authorization issue with LDAP authentication

I'm using tacacsgui ver. 0.9.58 with LDAP authentication (Microsoft AD) to access Cisco devices.
After logging on with privilege 15 on the device the authorization process works fine for a time period varing from one minute to 3/4 minutes, then it stops working andissuing a command like "sh run" returns an "Command authorization failed"
Here the debug output on the device

debug

The process starts working again after a succesful authentication process for the same user even on another device, then stops again after the same period of time. It looks as if the tacacs process on the server for some reason forgets the privilege associated with the user after some time.
Using a user stored on the tacacs server the authorization process works fine.
Thanks.

Console authentication

Describe the system
Ubuntu version: 16.04.5 LTS
(use next command: lsb_release -a )
PHP version: 7.3.3
(use next command: php -v )
TacacsGUI API version: 0.9.61
Browser: Chrome

Describe the bug
SSH authentication works fine, when I try to authenticate through the console port, I get the following error from tac_plus:
shell login for 'myusername' from async on tty0 denied by ACL

the "tacacs reports -> authentication" writes:
localhost | 10.1.20.244 | myusername | async | shell login denied by ACL

I don't have any ACL's configured, I'm wondering if it could be because the NAC IP is listed as 'async'?

When I debug on the switch, I'm not getting the usual FAIL, it returns with GET_PASS:

When console prompt is opened:
1d06h: AAA: parse name=tty0 idb type=-1 tty=-1
1d06h: AAA: name=tty0 flags=0x11 type=4 shelf=0 slot=0 adapter=0 port=0 channel=0
1d06h: AAA/MEMORY: create_user (0x80D7F8C4) user='' ruser='' port='tty0' rem_addr='async' authen_type=ASCII service=LOGIN priv=1
1d06h: AAA/AUTHEN/START (266336179): port='tty0' list='TACACS_LOGIN' action=LOGIN service=LOGIN
1d06h: AAA/AUTHEN/START (266336179): found list TACACS_LOGIN
1d06h: AAA/AUTHEN/START (266336179): Method=tacacs+ (tacacs+)
1d06h: TAC+: send AUTHEN/START packet ver=192 id=266336179
1d06h: TAC+: ver=192 id=266336179 received AUTHEN status = GETUSER
1d06h: AAA/AUTHEN (266336179): status = GETUSER

When username is entered:
1d06h: AAA/AUTHEN/CONT (266336179): continue_login (user='')
1d06h: AAA/AUTHEN (266336179): status = GETUSER
1d06h: AAA/AUTHEN (266336179): Method=tacacs+ (tacacs+)
1d06h: TAC+: send AUTHEN/CONT packet id=266336179
1d06h: TAC+: ver=192 id=266336179 received AUTHEN status = GETPASS
1d06h: AAA/AUTHEN (266336179): status = GETPASS

When password is entered:
1d06h: AAA/AUTHEN/CONT (266336179): continue_login (user='myusername')
1d06h: AAA/AUTHEN (266336179): status = GETPASS
1d06h: AAA/AUTHEN (266336179): Method=tacacs+ (tacacs+)
1d06h: TAC+: send AUTHEN/CONT packet id=266336179
1d06h: TAC+: ver=192 id=266336179 received AUTHEN status = GETPASS
1d06h: AAA/AUTHEN (266336179): status = GETPASS

I hope it's a mistake that I made, but I've checked the switch configuration several times.

I've tested this with 2 different Cisco switches.

Possible escaping issue in install script

Today I installed TacacsGUI on a new system running Ubuntu Server 16.04.5 LTS.
I followed all the instructions from the documentation on the website.

During the TacacsGUI installation script, there is point where the script will ask you wether you want to use the root password or a custom password for the tgui_user.

I found out that when the password contains certain characters they won't be escaped correctly.
In the config.php file located in /opt/tacacsgui/web/api you will see that the DB_PASSWORD string will contain the text <datatabase_passwd_here> and a part of the password.

The password I tried to use: a5!Ak4-i8&Uk2:

user can login without a password

Describe the system
Ubuntu version: 18.04 ISO image that was downloaded from tacacsgui.com
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
PHP version:
PHP 7.3.7-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Jul 10 2019 06:54:46) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.7-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies

TacacsGUI API version:0.9.73
Describe the bug

Users that are known by tacacsgui (created localy or from LDAP group) can login on Cisco router with just hitting Enter. If user is not known by tacacsgui it cant login.

To Reproduce
Steps to reproduce the behavior:

Create a user, login with username, instead of entering password just hit Enter.
EDIT:
Option Change Password via NAS CLI in MAVIS Settings must be disabled

It maybe my configuration problem, but I can't imaging how this is can happen even with not correct config.

Slim Framework not installed!!!

Hi,

I tried to install the new update but as at the end of the script I got :

Final Check...Check main libraries...
########### Error! ###########
Slim Framework not installed!!!
####################################

now the interface is not loading.

any idea ?

thanks,

A

Could we install TacacsGUI on CentOS 7?

Dear sir/madam,

I am really appreciate for your project which could help network administrator's task more efficiency. Anyway I would like ask/request if we could Install TacacasGUI with CentOS/RedHat 7 or not?

Best regards,
Sam KUON

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.