IMPORTMETADATA(1)
π IMPORTMETADATA(1) β the importMetadata glow-up π
okay bestie, gather round, because this is the importMetadata page from the User Contributed Perl Documentation section, and it's literally the script that slurps SAML federation metadata straight into your LL::NG config. no cap. π¦
β¨ NAME β¨
importMetadata β a script to import SAML federation metadata into LL::NG configuration. that's it, that's the vibe. π
πΈ SYNOPSIS πΈ
importMetadata -m <metadata URL> [options]
Options:
-m, --metadata URL of metadata document
-i, --idpconfprefix Prefix used to set IDP configuration key
-s, --spconfprefix Prefix used to set SP configuration key
--ignore-sp ignore SP matching this entityID (can be specified multiple times)
--ignore-idp ignore IdP matching this entityID (can be specified multiple times)
-a, --nagios output statistics in Nagios format
-r, --remove remove provider from LemonLDAP::NG if it does not appear in metadata
-n, --dry-run print statistics but do not apply changes
-c, --config-file use provided configuration file
-v, --verbose increase verbosity of output
-h, --help print full documentation
π OPTIONS π
every single flag, no skips, we're thorough in this house π«Ά
-m URL,--metadata=URLβ tells the script which<URL>holds the metadata document you wanna import. the main character of this whole operation, honestly.-i PREFIX,--idpconfprefix=PREFIXβ sticks<PREFIX>on the front of every IDP it finds in the metadata document when it registers them into LemonLDAP::NG. yes, every single one. π-s PREFIX,--spconfprefix=PREFIXβ same energy, but for SPs: it prefixes each SP found in the metadata document with<PREFIX>when registering them into LemonLDAP::NG.--ignore-sp=ENTITYIDβ ignore this specific Service Provider<ENTITYID>. it will not be added, updated or deleted from your LemonLDAP::NG configuration. it's in its ignore era, leave it alone π--ignore-idp=ENTITYIDβ ignore this specific Identity Provider<ENTITYID>. also not added, updated, or deleted from LemonLDAP::NG configuration. iconic boundary-setting fr fr.-a,--nagiosβ after every run, it prints the stats about added/modified/deleted items in Nagios format. monitoring besties, this one's for you π-r,--removeβ if you use this, then after a successful import, any existing SP/IDPs that match the configuration prefix get removed from LemonLDAP::NG if they weren't present in the imported metadata. it's giving spring cleaning, so be sure you mean it π§Ή-n,--dry-runβ this stops the modified configuration from being saved. perfect for testing, zero commitment, we love a trial run. π-c,--config-fileβ using a config file lets you do advanced configuration on a global per-provider basis. the config file lives in.iniformat. here's an example file, verbatim, don't touch the punctuation:
# main script options, these will be overriden by the CLI options
[main]
dry-run=1
verbose=1
metadata=http://url/to/metadata.xml
; Multi-value options
ignore-idp=entity-id-to-ignore-1
ignore-idp=entity-id-to-ignore-2
# Default exported attributes for IDPs
[exportedAttributes]
cn=0;cn
eduPersonPrincipalName=0;eduPersonPrincipalName
...
# options that apply to all providers
[ALL]
; Disable signature requirement on requests
samlSPMetaDataOptionsCheckSSOMessageSignature=0
samlSPMetaDataOptionsCheckSLOMessageSignature=0
; Store SAML assertions in session
samlIDPMetaDataOptionsStoreSAMLToken=1
; Mark ePPN as always required
attribute_required_eduPersonPrincipalName=1
...
# Specific provider configurations
[https://test-sp.federation.renater.fr]
; All attributes are optional for this provider
attribute_required=0
; Override some options
samlSPMetaDataOptionsNameIDFormat=persistent
[https://idp.renater.fr/idp/shibboleth]
; declare an extra attribute from this provider
exported_attribute_eduPersonAffiliation=1;uid
-v,--verboseβ cranks up the verbosity while the script is running. more words, more insight, more β¨loreβ¨-h,--helpβ shows you the script's documentation. hi bestie, you're already here tho π
π SEE ALSO π
π«Ά AUTHORS π«Ά
Clement Oudot, <clement@oodo.net>
π BUG REPORT π
use the OW2 system to report a bug or ask for features: <https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues>
π DOWNLOAD π
Lemonldap::NG is available at <https://lemonldap-ng.org/download>
and that's the whole page, bestie. every flag, every prefix, every ENTITYID, exactly where it belongs. no details lost, only vibes added. π
this has been IMPORTMETADATA(1) from perl v5.42.3, dated 2026-09-24 β thanks for scrolling with me, mwah π
π¦ where this page comes from
- fedora 43: lemonldap-ng-manager 2.23.4-1.fc43 Β· GPL-2.0-or-later AND MIT AND GPL-3.0-or-later AND OFL-1.1-RFN
- fedora 44: lemonldap-ng-manager 2.23.4-1.fc44 Β· GPL-2.0-or-later AND MIT AND GPL-3.0-or-later AND OFL-1.1-RFN
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms