I installed Bareos 16.2 RC1 on Ubuntu 16.04.1.
Everything works, bconsole is OK.
But trying to log into the webui gives me following error:
Backup-dir: ERROR in authenticate.c:282 Unable to authenticate console "BckpAdmin" at client:192.168.100.210:9101.
How can I check if that user is still in the database?
Any ideas?
I added the relevant config files (I hope)
baroes/bareos-dir.d/console/admin.conf:
#
# Restricted console used by bareos-webui
#
Console {
Name = BckpAdmin
Password = "XXXXXXXX"
Profile = "webui-admin"
}
bareos/bareos-dir.d/profile/operator.conf:
Profile {
Name = operator
Description = "Profile allowing normal Bareos operations."
Command ACL = !.bvfs_clear_cache, !.exit, !.sql
Command ACL = !configure, !create, !delete, !purge, !sqlquery, !umount, !unmount
Command ACL = *all*
Catalog ACL = *all*
Client ACL = *all*
FileSet ACL = *all*
Job ACL = *all*
Plugin Options ACL = *all*
Pool ACL = *all*
Schedule ACL = *all*
Storage ACL = *all*
Where ACL = *all*
}
bareos/bareos-dir.d/profile/webui-admin.conf
#
# bareos-webui webui-admin profile resource
#
Profile {
Name = webui-admin
Command ACL = !.bvfs_clear_cache, !.exit, !.sql
Command ACL = !configure, !create, !delete, !purge, !sqlquery, !umount, !unmount
Command ACL = *all*
Catalog ACL = *all*
Client ACL = *all*
FileSet ACL = *all*
Job ACL = *all*
Pool ACL = *all*
Schedule ACL = *all*
Storage ACL = *all*
Where ACL = *all*
}
Thanks for the OSB conference I enjoyed it very much.
Jochen
I believe my Bareos director was running 15.2, only the webui was running 16.2. I apologize for not making that clear; thank you for clearing that up.
Now I know the director should be >= than the version of the
bareos-webui. Ideally =, I suppose.
I had never used any kind of a system like this before. I was previously having difficulty understanding which parts were the director, and which were the webui, because I installed them at the same time. I thought the webui would help me understand the system, is why I did that. But, with your explanation, I now understand. The syntax in particular was very strange to me. Thank you very much for helping me understand!!!!
Very much grateful!!!
Kenny