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

Per-Olof Widström per-olof.widstrom at splendid.se
Thu Aug 27 15:53:48 CEST 2009


Two seconds before I heard my "new mail" sound I had this "YES I solved 
it" feeling.

It was a configuration issue, I overlooked one thing. It is working as 
it should (well, I have just tested it for two seconds, but so far, so 
good). The ldap module is just what we need.

tnx

a.westermann at alkacon.com wrote:
> 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
>>
>>
>>     
>
> _______________________________________________
> 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
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090827/82859bf5/attachment.htm>


More information about the opencms-dev mailing list