<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>looks like you need to wrap an entry in parameters.yml in single
quotes:<br>
Something like this, I guess:<br>
ldap.user.dn: '<a class="moz-txt-link-abbreviated" href="mailto:user@example.com">user@example.com</a>'<br>
</p>
<br>
<div class="moz-cite-prefix">Am 23.04.21 um 01:22 schrieb Adrián
Ariza:<br>
</div>
<blockquote type="cite"
cite="mid:CAL4-Z8d_dH6fPn7dL51CS1PFU4xOkJQV=jNHEqB01nUeGUAD-Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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"
moz-do-not-send="true">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" moz-do-not-send="true">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"
moz-do-not-send="true">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"
moz-do-not-send="true">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" moz-do-not-send="true">Mapbender_users@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/mapbender_users" target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">info@wheregroup.com</a>
<a href="http://www.wheregroup.com" target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">Mapbender_users@lists.osgeo.org</a><br>
<a
href="https://lists.osgeo.org/mailman/listinfo/mapbender_users"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/mapbender_users</a><br>
</blockquote>
</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>