<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Thank you. It works (of course).</p>
    <p>/Regards Mats<br>
    </p>
    <div class="moz-cite-prefix">On 2024-10-30 16:52, Philip Smart
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:AEB091A8-F564-4E8B-AE19-7CE8E8AC7B96@jisc.ac.uk">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      There is a table on the page that Scott referenced (<a
href="https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3200516116/DataConnectorConfiguration#Reference"
        moz-do-not-send="true" class="moz-txt-link-freetext">https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3200516116/DataConnectorConfiguration#Reference</a>)
      which describes the ‘exportAttributes’ XML attribute. You would
      need to add that to your DataConnector. Something like:
      <div><br>
      </div>
      <div><DataConnector id=“id”...
        exportAttributes="irfAuthorizedService”></div>
      <div><br>
      </div>
      <div>…</div>
      <div><br>
      </div>
      <div></DataConnector><br id="lineBreakAtBeginningOfMessage">
        <div><br>
          <blockquote type="cite">
            <div>On 30 Oct 2024, at 13:39, Mats Luspa via dev
              <a class="moz-txt-link-rfc2396E" href="mailto:dev@shibboleth.net"><dev@shibboleth.net></a> wrote:</div>
            <br class="Apple-interchange-newline">
            <div>
              <div>Ok, I'm not familiar wit the terminology. But I have
                this in attribute-resolver.xml:<br>
                <br>
                <DataConnector id="myLDAP" xsi:type="LDAPDirectory"
                xmlns="urn:mace:shibboleth:2.0:resolver"
                ldapURL="%{idp.attribute.resolver.LDAP.ldapURL}"<br>
                        baseDN="%{idp.attribute.resolver.LDAP.baseDN}"<br>
                       
                principal="%{idp.attribute.resolver.LDAP.bindDN}"<br>
principalCredential="%{idp.attribute.resolver.LDAP.bindDNCredential}"<br>
useStartTLS="%{idp.attribute.resolver.LDAP.useStartTLS:false}"<br>
trustFile="%{idp.attribute.resolver.LDAP.trustCertificates}"<br>
                       
                authKey="%{idp.attribute.resolver.LDAP.authenticationKey}"<br>
authCert="%{idp.attribute.resolver.LDAP.authenticationCertificate}"><br>
                        <FilterTemplate><br>
                            <![CDATA[<br>
                               
                %{idp.attribute.resolver.LDAP.searchFilter}<br>
                            ]]><br>
                        </FilterTemplate><br>
<ReturnAttributes>%{idp.attribute.resolver.LDAP.returnAttributes}</ReturnAttributes><br>
                <br>
                </DataConnector><br>
                <br>
                and this in ldap.properties:<br>
                <br>
                idp.attribute.resolver.LDAP.returnAttributes    =
uid,cn,homephone,mail,idControll,ou,swamiGmaiAssertion,description,title,sn,givenName,o,mobile,mailAcceptingGeneralID,irfAuthorizedService,totpSecret<br>
                <br>
                But it didn't work with only that. Is it something wrong
                in this configuration?<br>
                <br>
                /Regards Mats<br>
                <br>
                On 2024-10-30 14:31, Cantor, Scott wrote:<br>
                <blockquote type="cite">
                  <blockquote type="cite">How is an export made?<br>
                  </blockquote>
<a class="moz-txt-link-freetext" href="https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3200516116/DataConnectorConfiguration">https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3200516116/DataConnectorConfiguration</a><br>
                  <br>
                  -> Common XML Attributes<br>
                  -> exportAttributes<br>
                  <br>
                  -- Scott<br>
                  <br>
                  <br>
                  <br>
                  <br>
                </blockquote>
                -- <br>
                --<br>
                Mats Luspa<br>
                Phone: +46 (0)980 79 022<br>
                Cellular phone: +46 (0)725813330<br>
                Institutet för rymdfysik               Fax: +46 (0)980
                79 050<br>
                Swedish Institute of Space Physics      email:
                <a class="moz-txt-link-abbreviated" href="mailto:matsl@irf.se">matsl@irf.se</a><br>
                Visiting/Delivery address: Bengt Hultqvists väg 1,
                SE-981 92 Kiruna<br>
                Postal address: Box 812, SE-981 28 Kiruna<br>
                --<br>
                PGP Public Key: <a class="moz-txt-link-freetext" href="https://www.irf.se/pgp/matsl">https://www.irf.se/pgp/matsl</a><br>
                Digital vcard: <a class="moz-txt-link-freetext" href="https://www.irf.se/vcard/mats.luspa">https://www.irf.se/vcard/mats.luspa</a><br>
                <br>
                -- <br>
                To unsubscribe from this list send an email to
                <a class="moz-txt-link-abbreviated" href="mailto:dev-unsubscribe@shibboleth.net">dev-unsubscribe@shibboleth.net</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <mc type="body"><font size="1"><font face="Corbel"><br>
            <p>Jisc is a registered charity (number 1149740) and a
              company limited by guarantee which is registered in
              England under company number. 05747339, VAT number GB 197
              0632 86. Jisc’s registered office is: 4 Portwall Lane,
              Bristol, BS1 6NB. T 0203 697 5800.<br>
              <br>
            </p>
            <p>Jisc Services Limited is a wholly owned Jisc subsidiary
              and a company limited by guarantee which is registered in
              England under company number 02881024, VAT number GB 197
              0632 86. The registered office is: 4 Portwall Lane,
              Bristol, BS1 6NB. T 0203 697 5800.<br>
              <br>
            </p>
            <p>Jisc Commercial Limited is a wholly owned Jisc subsidiary
              and a company limited by shares which is registered in
              England under company number 09316933, VAT number GB 197
              0632 86. The registered office is: 4 Portwall Lane,
              Bristol, BS1 6NB. T 0203 697 5800.<br>
              <br>
            </p>
            <p>For more details on how Jisc handles your data see our
              privacy notice here:
              <a class="moz-txt-link-freetext" href="https://www.jisc.ac.uk/website/privacy-notice">https://www.jisc.ac.uk/website/privacy-notice</a></p>
          </font></font>
      </mc></blockquote>
    <pre class="moz-signature" cols="72">-- 
--
Mats Luspa
Phone: +46 (0)980 79 022
Cellular phone: +46 (0)725813330
Institutet för rymdfysik               Fax: +46 (0)980 79 050
Swedish Institute of Space Physics      email: <a class="moz-txt-link-abbreviated" href="mailto:matsl@irf.se">matsl@irf.se</a>
Visiting/Delivery address: Bengt Hultqvists väg 1, SE-981 92 Kiruna
Postal address: Box 812, SE-981 28 Kiruna
--
PGP Public Key: <a class="moz-txt-link-freetext" href="https://www.irf.se/pgp/matsl">https://www.irf.se/pgp/matsl</a>
Digital vcard: <a class="moz-txt-link-freetext" href="https://www.irf.se/vcard/mats.luspa">https://www.irf.se/vcard/mats.luspa</a></pre>
  </body>
</html>