FUSIONDI...RT-SCHEMA(1)

πŸ“¦ version 1.3, in ubuntu jammy

✨ 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 restarting slapd, 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 as ldapmodify. ⚠️ 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


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