C
C
Cyril2015-10-05 19:01:03
linux
Cyril, 2015-10-05 19:01:03

How to access AD in Bash?

1. How can I use a Bash script to access ActiveDirectory and query all users?
2. Is it possible to output the received users to a file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor, 2015-10-05
@belyaevcyrill

1.Command ldapsearch - search and output, options see man ldapsearch
2.To file: ldapsearch [your options] > output.txt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question