LDAP NS - Erpnext - Wordpress with SSO

Good morning.
in my company adopt Erpnext for HQS, issue, maintenance and Wordpress with coursepress for elearning.
obviously Nethserver!

users have 1 password for each service,
and I elapse days resetting passwords of 60 users.

But I now have samba DC as Active Directory, and I’m trying to configure eprnext and wordpress to access LDAP.

Error is the same
Invalid service account credentials. Make sure you have entered correct Service Account DN and password.

I’m trying with the “admin” user and her password, but nothing

https://frappe.github.io/erpnext/user/manual/en/setting-up/integrations/ldap-integration

what am I doing wrong?

ok. i find the correct parameters
A couple of cafes have facilitated the process

wordpress
miniOrange LDAP/Active Directory Login for Intranet Sites

LDAP SERVER: ldap://192.168.1.2:389
Service Account DN: CN=admin,CN=Users,DC=xxxxx,DC=it
Search base: CN=Users,DC=xxxxx,DC=it

erpnext
LDAP Server Url: ldap://192.168.1.2:389
Organizational Unit: CN=Users,DC=xxxxx,DC=it
Base Distinguished Name (DN): CN=admin,CN=Users,DC=xxxxx,DC=it
Password for Base DN: •••••••••
LDAP Search String: cn=*{0}
LDAP First Name Field: displayName
LDAP Email Field: userPrincipalName
LDAP Username Field: name

3 Likes

Thanks Sharpec - your erpnext ldap settings works with microsoft active directory.

Here’s my wiki guide if anyone needs it.

1 Like