---
name: "argonaut-debconf2ldif"
section: "1"
platform: "linux"
package: "argonaut-debconf"
version: "1.3-2"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/argonaut-debconf2ldif"
---

# argonaut-debconf2ldif(1)

read debconf preseed files and create an ldif file to be imported into an ldap server

## NAME

argonaut-debconf2ldif - read debconf preseed files and create an ldif file to be imported into an ldap server

## 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**\
     print out this help message

**-b**\
     LDAP base, usually ou=templatename,\<ldap\_base\>

**-c**\
     overrides flag and templates/questions paths to use /var/log/installer/cdebconf

**-d**\
     overrides flag and templates/questions paths to use /var/cache/debconf/

**-f**\
     flag (default: preseed)

**-k**\
     preseed keys file path (optional)

**-p**\
     allow type/value specs from preseed file to have precedence over values from templates/questions files

**-q**\
     questions branch (default: ou=questions)

**-t**\
     templates branch (default: ou=templates)

**--diff**\
     to see diff between templates and questions

**--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

Script that looks up the specified Debconf or CDebconf database and converts the specified questions/templates from Debconf format "822" to LDIF.

## BUGS

Please report any bugs, or post any suggestions, to the fusiondirectory mailing list fusiondirectory-users or to \<https://gitlab.fusiondirectory.org/argonaut/argonaut/issues/new\>

## LICENCE AND COPYRIGHT

This code is part of Argonaut Project \<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.
