Thanks for your well formed request, here are some hints that may help:

1. Did you configure pam on your operating system properly according this small example: https://docs.bareos.org/bareos-18.2.html#id61?

2. The user "bareos" including password (and all other users you want to authenticate using PAM) has to be a valid user on your CentOS.

3. bareos-dir has to run with increased rights because it will access the pam module on your operating system.

4. Additional error messages could be found using the log output from your bareos-director with a debug level >= 200


Am 20.02.2019 um 10:10 schrieb Tam Angustia:
Hi all,


I have successfully installed and configured bareos 18.2.5 (patched the php as 
well from 18.2.6)
I am now in the process of configuring pam authentication through the bareos 
webui. However, after reading and following the guide on 
https://docs.bareos.org/bareos-18.2.html#pam-configuration, I believe that the 
directors.ini under bareos-webui needs editing as well.

Installed bareos on centos 7.6

I am getting an error message from mail

20-Feb 16:28 bareos_ngdc-dir: ERROR in dird/authenticate_console.cc:339 Unable to 
authenticate console "admin" at client:192.168.X.X:9101.

I have supplied the necessary configuration both on the console resource and 
the directors.ini

Webui access without pam works fine.

here are my configs

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

pam-console.conf
Console {
    Name = "admin"
    Password = "pass"
    UsePamAuthentication = yes
    TLS Enable = No
}

pam-user.conf
User {
    Name = "bareos"
    Password = ""
    Profile = "webui-admin"
    TLS Enable = No
}

Thanks in advance. I hope this will guide others as well

PS. I have setup a local user "bareos" on my instance

source docs: https://docs.bareos.org/bareos-18.2.html#pam-configuration


--
Mit freundlichen Grüßen

 Frank Ueberschar                          [email protected]
 Bareos GmbH & Co. KG                      Phone: +49 221 63 06 93-88
 http://www.bareos.com                     Fax:   +49 221 63 06 93-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens, P. Storz

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