Skip to content

GeoServer Ldap Configuration

Marcel Wallschläger edited this page Oct 20, 2023 · 1 revision

/geoserver_data/data/security/auth/ldap2

<ldap>
  <id>7db5e92b:18b477e824b:-7fed</id>
  <name>ldap2</name>
  <className>org.geoserver.security.ldap.LDAPAuthenticationProvider</className>
  <serverURL>ldap://192.168.225.10/DC=ad,DC=bonares,DC=de</serverURL>
  <groupSearchBase>OU=Groups,DC=ad,DC=bonares,DC=de</groupSearchBase>
  <groupSearchFilter>memberof={0}</groupSearchFilter>
  <userFilter>(|(userPrincipalName={0})(sAMAccountName={1}))</userFilter>
  <useTLS>false</useTLS>
  <useNestedParentGroups>true</useNestedParentGroups>
  <maxGroupSearchLevel>10</maxGroupSearchLevel>
  <nestedGroupSearchFilter>(member={0})</nestedGroupSearchFilter>
  <bindBeforeGroupSearch>true</bindBeforeGroupSearch>
  <adminGroup>ms_wp2</adminGroup>
  <rolePrefix>ROLE_</rolePrefix>
  <convertToUpperCase>true</convertToUpperCase>
  <userDnPattern>sAMAccountName={0},OU=owncloud</userDnPattern>
  <userFormat>{0}@ad.bonares.de</userFormat>
</ldap>
Clone this wiki locally