Skip to content

NYCU-SDC/ldif-generator

Repository files navigation

Usage

  1. Move the CSV file into here. groups.csv and people.csv.
  2. Python code
python3 generate_ldif.py
  1. ldapadd
ldapadd -x -D "<admin-dn>" -W -f people.ldif
ldapadd -x -D "<admin-dn>" -W -f groups.ldif

Note

ldapdelete -x -D "<admin-dn>" -W "<dn-you-want-to-delete>"
ldapadd -x -D "<admin-dn>" -W -f <ldif file>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages