FUSIONDI...RT-SCHEMA(1)
β¨ FUSIONDIRECTORY-INSERT-SCHEMA β¨
okay bestie, buckle up π this one is fusiondirectory-insert-schema(1) from the FusionDirectory Documentation β it's the little helper that yeets schemas into your LDAP server. let's go π¦
πΈ NAME πΈ
fusiondirectory-insert-schema β insert schema needed by FusionDirectory into the ldap server π
π SYNOPSIS π
fusiondirectory-insert-schema [-y] [-n] [-c] [-o options] [path]
[-h|-l|-i schema1 schema2|-m schema1 schema2|-e schema1 schema2]
π DESCRIPTION π
This program will insert the schema needed by FusionDirectory into the ldap server, or the specified schemas β like, it's the schema-delivery service, no cap π«Ά
π§ Options
-iβ inserts the list of schemas you hand it, instead of the default list. your picks, your rules β¨-mβ inserts the list of schemas you give it, but it replaces any already-inserted versions of those schemas. out with the old, in with the new π-eβ empties the given list of schemas, stripping the attributes and objectClasses out of them. why would you want this? bc you literally cannot delete a schema without restartingslapd, and that's the whole vibe π-lβ lists the schemas that are already inserted. window shopping π-nβ makes the generated ldifs file not get deleted after execution. super useful if you're trying to understand errors, fr fr π-cβ makes the program keep going even if an error occurs. resilient queen π-yβ answers yes to all questions. the only question right now is the confirmation one when you ask to empty a schema. consent, but automated π-oβ lets you specify specific options to pass to ldap commands such asldapmodify. β οΈ but beware: you will not be able to see things like password prompts, because the output of these commands is piped. so, like, it's giving blindfolded π
π EXAMPLES π
okay these are the receipts, bestie, watch and learn π¦
fusion@catbert$ fusiondirectory-insert-schema
Insert the core schemas in your LDAP directory
no args? it just drops the core schemas into your LDAP directory. iconic default behaviour β
fusion@catbert$ fusiondirectory-insert-schema -i /etc/ldap/otherschema/myschema.ldif
Insert the schema /etc/ldap/otherschema/myschema.ldif
straight up inserting that ldif, no thoughts, head empty, slay β¨
fusion@catbert$ fusiondirectory-insert-schema -i /etc/ldap/otherschema/myschema.schema
Convert /etc/ldap/otherschema/myschema.schema to ldif and insert it
it converts /etc/ldap/otherschema/myschema.schema to ldif and then inserts it β glow up transformation π
fusion@catbert$ fusiondirectory-insert-schema -i myschema
Insert the schema myschema.ldif from working directory
just a bare name? it grabs myschema.ldif from the working directory. lowkey convenient π«Ά
fusion@catbert$ fusiondirectory-insert-schema -m /etc/ldap/otherschema/myschema.schema
Convert /etc/ldap/otherschema/myschema.schema to ldif and replace the existing schema by this one
convert to ldif, then replace the existing schema with this one. main character energy, the old schema is not coming back π
fusion@catbert$ fusiondirectory-insert-schema -e myschema
Empty the schema myschema
bye bye myschema contents πΈ
fusion@catbert$ fusiondirectory-insert-schema -o "-H ldap://my.ldap.com -ZZ -D 'cn=admin,cn=config' -w password -x"
Connect to another ldap server to insert the schema
look at her, connecting to a whole other ldap server to insert the schema. networking queen π
π BUGS π
Please report any bugs, or post any suggestions, to the fusiondirectory mailing list fusiondirectory-users or to <https://gitlab.fusiondirectory.org/fusiondirectory/fd/issues/new> β don't suffer in silence bestie, tell the devs π«Ά
π AUTHOR π
Come Bernigaud
π LICENCE AND COPYRIGHT π
This code is part of FusionDirectory <http://www.fusiondirectory.org>
Copyright (C) 2011-2018 FusionDirectory Project
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
ok so that all-caps bit is not me being dramatic for fun, it's literally the legal disclaimer. it means no promises, no guarantees, no take-backs π«
and that's the whole page, bestie!! this was FusionDirectory 1.3, dated 2019-01-22, and yes the manual name at the top really does get squished down to FUSIONDI...RT-SCHEMA(1) in the header because terminals are haters π
mwah, go insert some schemas πβ¨
π¦ where this page comes from
- ubuntu jammy: fusiondirectory-schema 1.3-4build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms