You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by GitBox <gi...@apache.org> on 2019/08/13 17:18:19 UTC

[GitHub] [guacamole-manual] mike-jumper commented on a change in pull request #122: GUACAMOLE-524: Document LDAP parameter tokens with other parameter tokens

mike-jumper commented on a change in pull request #122: GUACAMOLE-524: Document LDAP parameter tokens with other parameter tokens
URL: https://github.com/apache/guacamole-manual/pull/122#discussion_r313514370
 
 

 ##########
 File path: src/chapters/configuring.xml
 ##########
 @@ -5307,6 +5307,50 @@ guaclog: INFO: All files interpreted successfully.</computeroutput>
                         </listitem>
                     </itemizedlist>
                 </section>
+                <section xml:id="ldap-tokens">
+                    <title>LDAP Extension Tokens</title>
+                    <indexterm>
+                        <primary>tokens</primary>
+                        <secondary>ldap</secondary>
+                    </indexterm>
+                    <para>The LDAP extension will read user attributes provided by the LDAP
+                        server and specified in the <filename>guacamole.properties</filename>
+                        file.  The attributes retrieved for a user are configured using the
+                        <param>ldap-user-attributes</param> parameter.  The user must be able
+                        to read the attribute values from their own LDAP object.  The token
+                        name will be prepended with the <constant>LDAP_</constant> prefix.  As
+                        an example, configuring the following line in
+                        <filename>guacamole.properties</filename> file will produce the
+                        below tokens that can be used in connection configurations:</para>
+                    <programlisting>ldap-user-attributes: cn, givenName, sn, mobile, mail</programlisting>
+                    <itemizedlist>
+                        <listitem>
+                            <para>
+                                <varname>${LDAP_CN}</varname>
+                            </para>
+                        </listitem>
+                        <listitem>
+                            <para>
+                                <varname>${CAS_GIVENNAME}</varname>
 
 Review comment:
   Copypasta - this and a few others have a `CAS_` prefix.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services