Monday, April 16, 2018

[389-users] Re: Help with ldapsearch query

No error per se. I'm just not getting the results I'm expecting. It's not including some hosts that have ipaSshPubKey set. 

On Apr 16, 2018, at 12:34 PM, Leo Pleiman <lpleiman@salsalabs.com> wrote:

What error are you getting if you run this from the command line?

Leo Pleiman
Senior System Engineer
Direct 202-787-3622
Cell 410-688-3873


On Mon, Apr 16, 2018 at 1:25 PM, Sergei Gerasenko <gerases@gmail.com> wrote:
Hi,

I need to get a list of hosts from 389-ds that have ipaSshPubKey set and I'm having trouble contructing that. I've tried this:

ldapsearch -h HOST -b cn=computers,cn=accounts,dc=cnvr,dc=net 'ipaSshPubKey=*'

… but that doesn't seem to work.

Am I missing something simple?

Thanks,
Sergei

_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org


_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org

No comments:

Post a Comment