Am Mittwoch, 28. September 2016 12:20:18 UTC+2 schrieb Frank Bergkemper:
> Am 28.09.2016 um 12:02 schrieb Jochen Eggemann:
> > Hi everybody,
> >
> > 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
> >
>
> Hi Jochen,
>
> great to hear you enjoyed OSBConf very much.
>
> Did you reload your configuration after installing webui and adding a
> new console by executing the reload command in bconsole?
>
> I think you simply may have forgotten to reload you configuration or
> restarting you director.
>
> Users are not stored in database. But you can check which consoles for
> users are currently configured by executing the ".console" command in
> bconsole.
>
> Regards,
> Frank
>
> --
> Frank Bergkemper [email protected]
> dass IT GmbH Phone: +49.221.3565666-94
> http://www.dass-IT.de/ Fax : +49.221.3565666-10
>
> Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRB52500
> GF: Stephan Dühr, Maik Außendorf, Jörg Steffens, Philipp Storz
Hi Frank,
thanks for the fast response.
I was hit by the mix of the new structured conf directories and an old
bareos-dir.conf. After manually adding the path to bareos-dir.d/[console,
profile]/xxx.conf in bareos-dir.conf everything works.
Regards, Jochen
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.