[opencms-dev] Cannot delete OU with OCEE-LDAP
Rainer Reichel
rainer.reichel at rus.uni-stuttgart.de
Wed May 13 12:27:51 CEST 2009
Hi Tobias,
here is the complete ocee-ldap.xml. With these settings the Ldap Group
is still existing, although we said enabled="false".
I checked your manual for OU mappings but couldn't find any
hints. I'm not sure what you meant?
To get rid of OUs we found out that we can delete them if we
deactivate ocee ldap in opencms.properties.
Regards,
Rainer
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE opencms SYSTEM "http://www.alkacon.com/dtd/6.0/ocee-ldap.dtd">
<opencms>
<ldap class="org.opencms.ocee.ldap.CmsLdapUserDriver">
<ldap-group enabled="false">LDAP Group</ldap-group>
<password>
<digest-encoding>UTF-8</digest-encoding>
<digest-type>SHA</digest-type>
<editable>false</editable>
<pwd-mapping>userPassword</pwd-mapping>
</password>
<enabled-cmsusers>true</enabled-cmsusers>
<lookup-defaultusers>true</lookup-defaultusers>
<update-storage>false</update-storage>
<group-consistency>all</group-consistency>
<sync-interval>180000</sync-interval>
<cache-live>300000</cache-live>
<page-size>-1</page-size>
<providers>
<provider url="ldap://xxxx.uni-stuttgart.de:389"
default="true">
<param
name="com.sun.jndi.ldap.connect.pool">true</param>
<param
name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</param>
<param name="java.naming.referral">follow</param>
<param
name="java.naming.security.authentication">simple</param>
<param
name="java.naming.security.credentials">xxxx</param>
<param
name="java.naming.security.principal">xxxx</param>
</provider>
</providers>
<group-definitions>
<group-definition membersformat="fulldn">
<group-access>
<group-filters>
<all>(objectclass=group)</all>
<by-name>(&(objectclass=group)(cn=?))</by-name>
<by-member>(&(objectclass=group)(member=?))</by-member>
</group-filters>
<contexts>
<context>dc=rus,dc=uni-stuttgart,dc=de</context>
</contexts>
</group-access>
<group-mappings>
<groupid>cn</groupid>
<groupname>description</groupname>
<member>member</member>
</group-mappings>
<editable>false</editable>
</group-definition>
</group-definitions>
<user-definitions>
<user-definition>
<user-access>
<user-filters>
<all>(objectclass=organizationalPerson)</all>
<by-name>(&(objectclass=organizationalPerson)(sAMAccountName=?))</by-name>
</user-filters>
<contexts>
<context>OU=DIM,DC=rus,DC=uni-stuttgart,DC=de</context>
..
<context>OU=PKB,OU=BelWü,DC=rus,DC=uni-stuttgart,DC=de</context>
</contexts>
</user-access>
<user-mappings>
<userid>saMAccountName</userid>
<firstname>givenName</firstname>
<lastname>sn</lastname>
<mail
default="defaultuser at rus.uni-stuttgart.de">mail</mail>
<description>description</description>
<address></address>
<additional-mappings/>
</user-mappings>
<editable>false</editable>
</user-definition>
</user-definitions>
</ldap>
</opencms>
>Dear Rainer,
>
>how is your occe ldap module configured? Do you have any OU-mappings
in
>your ocee-ldap.xml?
>
>Regards
>
>Tobias
>
>--
>Tobias Herrmann
>
>-------------------
>
>Alkacon Software GmbH - The OpenCms Experts
>Tobias Herrmann
>
>
>
>http://www.alkacon.com
>http://www.opencms.org
>
>Visit OpenCms Days 2009 Conference and Expo
>June 15 to June 16 2009 in Cologne, Germany
>http://www.opencms-days.org
**********************************************************************
OpenCms, das Enterprise Content Management System an der Universität
Stuttgart.
Mehr Infos unter http://opencms.uni-stuttgart.de/opencms/opencms/info/
**********************************************************************
Dipl.-Inf. Rainer Reichel
Rechenzentrum Universität Stuttgart
Neue Medien in Forschung und Lehre
E-Mail: rainer.reichel at rus.uni-stuttgart.de
Tel: +49-711-685-65579
Fax: +49-711-685-55579
Zimmer 0.74
Allmandring 3a
D-70550 Stuttgart
www.rus.uni-stuttgart.de
More information about the opencms-dev
mailing list