On 04/16/2018 01:25 PM, Sergei Gerasenko 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=*’
It could be an access control issue,  You should specify a bind DN and
password, and maybe change the search base:

ldapsearch -D "cn=directory manager" -W -h HOST -p PORT -b
"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-le...@lists.fedoraproject.org

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

Reply via email to