<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Adrián,<br>
<br>
<br>
Unfortunately we currently don't have any documentation. We're
working on it though.<br>
Here's a quick tutorial for you:<br>
<br>
To use Mapbender with LDAP you can add this Symfony-bundle to your
Mapbender:<br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/mapbender/ldapBundle">https://github.com/mapbender/ldapBundle</a><br>
<br>
This can be done manually or via composer: composer require
mapbender/ldapbundle<br>
<br>
Don't forget to register in AppKernel.php<br>
<br>
Configuration isn't too easy. Basically you need to configure
security.yml and parameters.yml.<br>
<br>
Security.yml needs the ldapProvider and some firewall
configuration:<br>
<br>
providers:<br>
ldapProvider:<br>
id: LDAPUserProvider<br>
main:<br>
entity:<br>
class: FOM\UserBundle\Entity\User<br>
property: username<br>
chain_provider:<br>
chain:<br>
providers: ["ldapProvider","main"]<br>
<br>
firewalls:<br>
...<br>
secured_area:<br>
pattern: ^/<br>
anonymous: ~<br>
provider: chain_provider<br>
mapbender_ldap:<br>
login_path: /user/login<br>
check_path: /user/login/check<br>
service: ldapClient<br>
form_login:<br>
check_path: /user/login/check<br>
login_path: /user/login<br>
provider: main<br>
logout:<br>
path: /user/logout<br>
target: /<br>
<br>
<br>
Add this to parameters.yml fitting your ldap server configuration:</p>
<p>ldap.host: example.com<br>
ldap.port: 389<br>
ldap.version: 3<br>
ldap.useTLS: false<br>
ldap.useSSL: false<br>
ldap.bind.dn: cn=admin,dc=example,dc=com<br>
ldap.bind.pwd: *********<br>
<br>
ldap.user.nameAttribute: cn<br>
ldap.user.baseDn: ou=user,dc=example,dc=com<br>
ldap.user.adminFilter: (objectClass=*)<br>
ldap.user.query: (&(cn={username})(objectclass=top))<br>
ldap.user.dn: cn={username},ou=user,dc=example,dc=com<br>
ldap.user.password: unicodePwd={password}</p>
<p>ldap.group.nameAttribute:~ <br>
ldap.group.baseDn: ou=groups,dc=example,dc=com<br>
ldap.group.adminFilter: (objectClass=*)<br>
ldap.group.id: cn<br>
ldap.group.query: member=cn={username},ou=user,dc=example,dc=com<br>
<br>
<br>
Now this probably won't work right away. Depending on your Ldap
server settings it can be quite a hassle to get this running.<br>
<br>
Hope this helps.</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 22.04.21 um 06:12 schrieb Adrián
Ariza:<br>
</div>
<blockquote type="cite"
cite="mid:CAL4-Z8cEWnGi43ZdUKDSQ9OWQqXhS_xjXeb2oc8zHvDscxbCvQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi! Are there any tutorial to configure LDA FOM?
How to activate, configure and debug.
<div>Thanks in advance!</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Mapbender_users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mapbender_users@lists.osgeo.org">Mapbender_users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/mapbender_users">https://lists.osgeo.org/mailman/listinfo/mapbender_users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Mit freundlichen Grüßen
Philipp van Biesbrock
----------------------------------------------------
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei der <a class="moz-txt-link-abbreviated" href="http://www.foss-academy.com">www.foss-academy.com</a>
----------------------------------------------------
-------------------------------
WhereGroup GmbH
Eifelstraße 7
53119 Bonn
Germany
Fon: +49 (0)228 / 90 90 38 - **
Fax: +49 (0)228 / 90 90 38 - 11
<a class="moz-txt-link-abbreviated" href="mailto:info@wheregroup.com">info@wheregroup.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com">www.wheregroup.com</a>
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------------------------</pre>
</body>
</html>