[opencms-dev] Unable to fetch groups from ldap with ocee-ldap

a.westermann at alkacon.com a.westermann at alkacon.com
Thu Aug 27 15:43:18 CEST 2009


Hi Per-Olof,

I think you should send this ocee specific problem to the support list: 
  opencms-support at alkacon.com

Kind Regards,
Achim.

-------------------
Achim Westermann

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org



Per-Olof Widström wrote:
> Hi,
> 
> someone already asked kindly, in a nice way, I presume, so we have a 
> second trail period (tnx).
> 
> I changed the xml so it has the "by-member" tag, and now I don't get any 
> exceptions complaining  about that it is missing. nice.
> 
> I looked in the docs, and in ou-definitions the by-member tag is 
> missing, and I'm pretty sure I didn't get them in the xml-file that was 
> provided in the installation. It wouldn't hurt if someone changed the 
> ldap-package so it included the "by-member" tag for ou-definitions.
> 
> Copied from ocee-ldap.xml:
> <ou-definitions>
>   <ou-definition>
>     <ou-name>/test/</ou-name>
>     <group-definitions>
>       <group-definition membersformat="mburl">
>         <group-access>
>           <group-filters>
>             <all>(objectclass=groupofurls)</all>
>             <by-name>(&(objectclass=groupofurls)(cn=?))</by-name>
>           </group-filters>
> 
> 
> My problem is still there, unfortunately,  I get no groups to sync. Is 
> there some way I can troubleshot this, like turning up log levels in 
> log4j.properties, or something else?
> 
> My ldap xml now looks like this:
>         <group-definitions>
>           <group-definition membersformat="fulldn">
>             <group-access>
>               <group-filters>
>                 <all>(objectclass=groupofuniquenames)</all>
>                 
> <by-name>(&(objectclass=groupofuniquenames)(cn=?))</by-name>
>                 
> <by-member>(&(objectclass=groupofuniquenames)(uniquemember=?))</by-member>
>               </group-filters>
>               <contexts>
>                     
> <context>ou=Groups,o=org1,o=comms,dc=domain,dc=com</context>
>               </contexts>
>             </group-access>
>             <group-mappings>
>               <groupid>cn</groupid>
>               <groupname>cn</groupname>
>               <member>uniquemember</member>
>             </group-mappings>
>             <editable>false</editable>
>           </group-definition>
> 
> 
> Regards
> Per-Olof
> 
> 



More information about the opencms-dev mailing list