LDAP authentication help

Moderator: crythias

Post Reply
murugan36
Znuny newbie
Posts: 3
Joined: 02 Mar 2019, 13:08
Znuny Version: 6.0.5
Real Name: Murugan
Company: SPS

LDAP authentication help

Post by murugan36 »

Hi,
I am getting this error for agent login via index.pl and even the root@localhost cannot login if i enable LDAP authentication for Agents.

(Authentication succeeded, but no user data record is found in the database. Please contact the administrator.

However the same users can login via Customer interface. Anything wrong in configuration or i missing something??

Can the customers can be also agents?

Regards
Murugan
otrs-send.txt
You do not have the required permissions to view the files attached to this post.
netjess
Znuny expert
Posts: 172
Joined: 16 Nov 2011, 23:35
Znuny Version: 6.0.16
Real Name: Jesse
Company: Mercer Valve Company
Location: Oklahoma USA
Contact:

Re: LDAP authentication help

Post by netjess »

In the GUI go to Admin > Agents
This will show a list. It may have user names that you recognize if they have attempted a login.
If it is someone that is already listed, check if it is set to 'valid'. If not then click on name and change to valid.
Also see that they are added to appropriate Roles/groups.

I do not add agents directly to groups (although you can). I like to associate roles to groups and agents to roles. it gives a greater flexibility of management.

You can also manually add an agent in the same place and leave password blank. Then have them log into the agent portal (index.pl).

See my attached LDAP config.
You do not have the required permissions to view the files attached to this post.
Powered by OTRS 6
Active Directory LDAP Integration.
Ubuntu 18 LTS, Apache2, PostgreSQL.
murugan36
Znuny newbie
Posts: 3
Joined: 02 Mar 2019, 13:08
Znuny Version: 6.0.5
Real Name: Murugan
Company: SPS

Re: LDAP authentication help

Post by murugan36 »

No agents are shown who attempted to login.I hope there is no need to add agent manually, when using AD for authentication?
Murugan
root
Administrator
Posts: 3961
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: LDAP authentication help

Post by root »

Hi,

With a working AuthSync configuration there is no need to add agents manually.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
murugan36
Znuny newbie
Posts: 3
Joined: 02 Mar 2019, 13:08
Znuny Version: 6.0.5
Real Name: Murugan
Company: SPS

Re: LDAP authentication help

Post by murugan36 »

Hi,

Added this lines
cn=Admins,ou=Group,dc=contoso,dc=com' => {
# # otrs group
'agents' => {
# # permission
rw => 1,
ro => 1,
},

And added agents manually, and they are now they are authenticated against AD. dont know whether this is right?
Post Reply