---
name: "polygraph-pgl2ldif"
section: "1"
platform: "linux"
package: "polygraph"
version: "4.3.2-5"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/polygraph-pgl2ldif"
---

# polygraph-pgl2ldif(1)

LDIF (and other text-based) configuration generator

## NAME

polygraph-pgl2ldif - LDIF (and other text-based) configuration generator

## SYNOPSIS

**pgl2ldif** \[*--option* ...\]

## DESCRIPTION

Generates LDIF (and other text-based) configuration files from PGL code. LDIF is the configuration format used by LDAP servers. To generate a configuration file, one needs to create a template. Polygraph substitutes well-known keywords in the template file with credentials and other authentication-related information.

## OPTIONS

- **--help**

  list of options

- **--version**

  package version info

- **--template** \<filename\>

  LDIF template

- **--config** \<filename\>

  PGL configuration

- **--cfg\_dirs** \<dirs\>

  directories for PGL #includes

- **--avoid\_duplicates** \<yes\|no\>

  \[slowly\] avoid duplicate LDIF records

- **--global\_rng\_seed** \<int\>

  per-test r.n.g. seed

## COPYRIGHT

Copyright © 2003-2006 The Measurement Factory, Inc.

## SEE ALSO

[**polygraph**(7)](/polygraph/7.md) - general information and a list of programs

**http://www.web-polygraph.org/** - project web site
