[opencms-dev] Problem OCEE LDAP - reading Groups and users from Active Directory

martin.rosenthal at oerag.de martin.rosenthal at oerag.de
Tue Aug 16 12:19:05 CEST 2022


Hello everyone,

i've got a problem to read the users and groups via OCEE LDAP from an
Active Directory.

The connection seems to work In the log file there is an entry
"...
bind to ldaps://<ActiveDir-URL>:636
.....
Using provider ldaps://<ActiveDir-URL> for ou ''
..."

But than in the log file i get the error

"......
16 Aug 2022 10:20:07,231 [r:      ] DEBUG
[encms.ocee.ldap.CmsLdapManager:2607] search: searchRoot =
OU=A-Group,DC=domain,DC=domExtension, filter = (&(objectclass=group)(cn=$
{group})), attributes = [cn, name]
16 Aug 2022 10:20:07,271 [r:      ] DEBUG
[encms.ocee.ldap.CmsLdapManager:2619] Fetch page: 1
16 Aug 2022 10:20:07,273 [r:      ]  WARN
[encms.ocee.ldap.CmsLdapManager:1237] Group "${group}" was not found.
16 Aug 2022 10:20:07,275 [r:      ] ERROR
[encms.ocee.ldap.CmsLdapManager:1276] Group "${group}" was not found. {}
16 Aug 2022 10:20:07,277 [r:      ] DEBUG [.ldap.CmsLdapGroupRoleMappings:
248] Group "${group}" was not found.
org.opencms.db.CmsDbEntryNotFoundException: Group "${group}" was not found.
at org.opencms.db.generic.CmsUserDriver.readGroup(CmsUserDriver.java:1279)
~[opencms.jar:13.0]
at
org.opencms.ocee.ldap.CmsLdapGroupRoleMappings.o000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000super
(CmsLdapGroupRoleMappings.java:243) [org.opencms.ocee.base.jar:?]
at org.opencms.ocee.ldap.CmsLdapGroupRoleMappings.initialize
(CmsLdapGroupRoleMappings.java:180) [org.opencms.ocee.base.jar:?]

....."
The objectClass "group" exists in the Active Directory in the objetcs.

I've checked in Apache Directory Studio the distinguished name. It is
correct. As template i've used the the sample for Active Directory from the
Alakcon doumentation
https://ocee.opencms.org/documentation/ocee-11/ldap-connector/setup-configuration/
I've changed only the provider and the context-nodes in the user- and
group-definition.


In the OpenCms workplace i get no result if i'm searching for users or
groups.

Has anyone an idea?

Thanks an regards,

Martin
_________________________________
Entwickler
IT-Anwendungen

Telefon: +49 211 529-5775
Telefax: +49 211 529-59775
E-Mail: Martin.Rosenthal at oerag.de
www.oerag.de

E-Mail-Newsletter "Rund um Rechtsschutz" – jetzt anmelden:
www.oerag.de/newsletter

ÖRAG Rechtsschutzversicherungs-AG
Hansaallee 199, 40549 Düsseldorf
Vorstand: Dragica Mischler (Vorsitzende), Marcus Hansen, Betina Nickel
Aufsichtsratsvorsitzender: Dr. Wolfgang Breuer
Sitz der Gesellschaft: Düsseldorf, Registergericht Düsseldorf HRB 12073

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser E-Mail sind nicht gestattet.


More information about the opencms-dev mailing list