Re: [Freeipa-users] how to list only enabled users using ipa user-find
On Thu, Jan 14, 2016 at 3:12 PM, Rob Crittenden wrote: > '(nsAccountLock=TRUE)' dn thanks -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project
Re: [Freeipa-users] how to list only enabled users using ipa user-find
Karl Forner wrote: > Hello, > > I just realized that "ipa user-find" would list all matching users, > disregarding their status, i.e. if they are enabled or disabled. > I could not find a suitable option in "ipa help user-find". > Is there a way ? > I don't recall a way to search for this using IPA tools. You can use ldapsearch though: $ ldapsearch -LLL -Y GSSAPI -b cn=users,cn=accounts,dc=example,dc=com '(nsAccountLock=TRUE)' dn rob -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project
[Freeipa-users] how to list only enabled users using ipa user-find
Hello, I just realized that "ipa user-find" would list all matching users, disregarding their status, i.e. if they are enabled or disabled. I could not find a suitable option in "ipa help user-find". Is there a way ? Thanks Karl -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project