Skip to content

Set of Python tools for easy interaction with Active Directory servers.

License

Notifications You must be signed in to change notification settings

jia3ep/domain_tools

 
 

Repository files navigation

Tools to parse and import domain structure

https://travis-ci.org/Infotecs/domain_tools.svg?branch=master https://ci.appveyor.com/api/projects/status/github/Infotecs/domain_tools?branch=master&svg=true&passingText=Windows%20build%20passing&failingText=Windows%20build%20failing https://img.shields.io/github/release/Infotecs/domain_tools.svg?style=flat

Here's a utility to import users from the specified LDAP server. The usage is a pretty simple:

$ get_ldap_users import settings.json output.csv

Use the following command for more info:

$ get_ldap_users -h

All settings and domain fields' bindings could be customized using settings file which should be in a JSON format. Run the following to save defaults to the settings.json file:

$ get_ldap_users gen-defaults settings.json

Parameter field_bindings should contain values in the following format:

{field_internal_name}: [ {field-order}, {domain-field-name} ]

Note, that you can override username/password from the command line. If the password is * (whether in the settings file or in command line parameter) it will be requested interactively.

About

Set of Python tools for easy interaction with Active Directory servers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.9%
  • Makefile 2.1%