Logging in with LDAP->PAM email

31 views
Skip to first unread message

Leon Bartle

unread,
Aug 21, 2024, 9:01:03 AM8/21/24
to bareos-users
I want my users to be able to log into the webui (and probably the bconsole at some point) using their email address.

I have successfully set up LDAP login into the webui using the GID. Now mapping the email to the linux username, I can change it to require an email. 
Running pamtester bareos leon.l...@domain.com authenticate
is successful and authenticates properly. 

But as a user resource in the director is required, I am stuck. The "Name" in User is of datatype "NAME", which implicitly prohibits the "@" character. Because of this, I cannot create a user resource, with the following error:
ERROR in lib/res.cc:413 Config error: Illegal character "@" in name.

Any ideas from here how to get this done? (Or if it is even possible?)
Have a nice day!
Reply all
Reply to author
Forward
0 new messages