Hello!

I have pretty much configured bareos 18.2.5. All that is left now is 
configuring pam authentication to the bareos-webui service.

First of all, the documentation was a great help for starters, however my 
problem starts after the documentation 
https://docs.bareos.org/bareos-18.2.html#pam-configuration.

I believe after setting the pam module plus editing the console under 
bareos/bareos-dir.d/console/pam-console.conf I would need a pam user (which has 
been locally configured).

The documentation did not however specify that I would need to edit 
bareos-webui/directors.ini. I did that after a day of troubleshooting. Now, 
after changing the values under directors.ini to match those under 
bareos/bareos-dir.d/console/pam-console.conf, I am now stuck at a message from 
mail saying "ERROR in dird/authenticate_console.cc:339 Unable to authenticate 
console "admin" at client:192.168.2.40:9101."

console name: admin, with unique password
console user: bareos, with local user configured

I am using centos 7.6 as the operating system. How would I troubleshoot a pam 
authentication?

Console {
   Name = "admin"
   Password = "pass" 
   UsePamAuthentication = yes
   Profile = "webui-admin"
   TLS Enable = No
}

User {
   Name = "bareos"
   Password = ""
   Profile = "webui-admin"
   TLS Enable = No 
}

directors.ini
...
; Set the console name and password for a dedicated pam console;
; the counterpart console-config in the director must have set
UsePamAuthentication = yes
pam_console_name = "admin"
pam_console_password = "pass
...

-- 
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.

Reply via email to