<div dir="ltr">Thanks for your reply!<div><br>I Install ldapBundle, configure security and parameters but now I see the error </div><br>The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 13 (near "- @ldapClient").<br><br>Could you gime som clue about fixing that?<div><br></div><div>Thanks in advance!<br><br>PD: Sorry for my english<br><br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El jue, 22 abr 2021 a las 6:03, Philipp van Biesbrock (<<a href="mailto:philipp.vanbiesbrock@wheregroup.com">philipp.vanbiesbrock@wheregroup.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<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 href="https://github.com/mapbender/ldapBundle" target="_blank">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: <a href="http://example.com" target="_blank">example.com</a><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>
<a href="http://ldap.group.id" target="_blank">ldap.group.id</a>: 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>Am 22.04.21 um 06:12 schrieb Adrián
Ariza:<br>
</div>
<blockquote type="cite">
<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></fieldset>
<pre>_______________________________________________
Mapbender_users mailing list
<a href="mailto:Mapbender_users@lists.osgeo.org" target="_blank">Mapbender_users@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/mapbender_users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapbender_users</a>
</pre>
</blockquote>
<pre cols="72">--
Mit freundlichen Grüßen
Philipp van Biesbrock
----------------------------------------------------
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei der <a href="http://www.foss-academy.com" target="_blank">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 href="mailto:info@wheregroup.com" target="_blank">info@wheregroup.com</a>
<a href="http://www.wheregroup.com" target="_blank">www.wheregroup.com</a>
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------------------------</pre>
</div>
_______________________________________________<br>
Mapbender_users mailing list<br>
<a href="mailto:Mapbender_users@lists.osgeo.org" target="_blank">Mapbender_users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapbender_users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapbender_users</a><br>
</blockquote></div>