ARGONAUT-DEBCONF2LDIF(1)

πŸ“¦ version 1.3, in ubuntu jammy

πŸ’– ARGONAUT-DEBCONF2LDIF πŸ’–

okay bestie, so you know argonaut-debconf2ldif? it's the little icon from the Argonaut Documentation collection (section 1 of the manual, iykyk) and it literally reads your debconf preseed files and ✨*creates an ldif file*✨ that you can import straight into an ldap server. no cap. let's get into it 🫢


✨ SYNOPSIS ✨

argonaut-debconf2ldif [-h] [--diff | --nodiff] [-f flag] [-b base] [-t
templates-tree] [-q questions-tree] [--templates-file file]
[--questions-file file] [-k keys-file] [-p | --noprefer-preseed] [-d |
-c]

πŸŽ€ OPTIONS πŸŽ€

  • -h β€” prints out this help message, bestie. like, the little "what am i even doing" moment. πŸ™ˆ
  • -b β€” the LDAP base, usually ou=templatename,<ldap_base>. yes, with the angle brackets and everything, that's a placeholder, don't come for me. πŸ’…
  • -c β€” overrides the flag and the templates/questions paths so it uses /var/log/installer/cdebconf. it's giving installer energy.
  • -d β€” overrides the flag and the templates/questions paths so it uses /var/cache/debconf/. cache girlie behavior. πŸ“
  • -f β€” the flag. default is preseed. iconic default, honestly.
  • -k β€” preseed keys file path. this one is optional, so no pressure. 🌸
  • -p β€” allows type/value specs from the preseed file to have precedence over values from the templates/questions files. yes queen, let the preseed speak first. πŸ‘‘
  • -q β€” the questions branch. default: ou=questions. so many questions, so little time. 😭
  • -t β€” the templates branch. default: ou=templates. slay. ✨
  • --diff β€” to see the diff between templates and questions. gossip, but for config files. πŸ”₯
  • --templates-file β€” templates file path. default: /var/log/installer/cdebconf/templates.dat. πŸ“
  • --questions-file β€” questions file path. default: /var/log/installer/cdebconf/questions.dat. πŸ“

πŸ’œ DESCRIPTION πŸ’œ

so basically, this script looks up the specified Debconf or CDebconf database and converts the specified questions/templates from Debconf format "822" into LDIF. that's the whole vibe. it's a translator, but make it ldap. 🌈


πŸ¦‹ BUGS πŸ¦‹

found a bug? post a suggestion? pls don't suffer in silence bestie 😭 report it to the fusiondirectory mailing list fusiondirectory-users, or open an issue at:

https://gitlab.fusiondirectory.org/argonaut/argonaut/issues/new

this code is part of the Argonaut Project β€” go check it out at:

https://www.argonaut-project.org/

Copyright (C) 2011, Davor Ocelic <docelic@spinlocksolutions.com>

Copyright (C) 2011-2019 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. fr fr, that's the legal tea and it's important. πŸ«–

and that's the whole page, bestie πŸ’– no notes, we ate. this was Argonaut 1.3, dated 2019-04-03 β€” mwah, talk later, bye! πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from