On Tue, Oct 06, 2020 at 01:59:52PM +0200, Ronald Wimmer via FreeIPA-users wrote:
On 06.10.20 13:57, Dominik Vogt via FreeIPA-users wrote:
> To get a list of Ipa users one can type something like
>
> $ ipa user-find | grep "User login:" | sed -e "/.* //"
>
> This works on any ipa client, but can take a couple of seconds.
> This is a bit clumsy when scripting because scripts are slow to
> respond. Is there a quicker way to get that list?
Yes. Query LDAP. You could use ldapsearch in your bash script.
Okay, thanks; ldapsearch does what we need.
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt