Problem OCEE LDAP - reading Groups and users from Active Directory

"martin.rosenthal--- via opencms-dev" <[email protected]>
Newsgroups gmane.comp.cms.opencms.devel
Message-ID <OF8EA18D1F.576D7827-ONC12588A0.0035E004-C12588A0.0038ADED@oerag.de>
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: [email protected]
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.
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
https://lists.opencms.org/mailman/listinfo/opencms-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.