Operating System - HP-UX
1834497 Members
2626 Online
110067 Solutions
New Discussion

How to list all users in LDAP frtom hp machine

 
SOLVED
Go to solution
Prasanth Vattoly
Frequent Advisor

How to list all users in LDAP frtom hp machine

Hi all,

We have hpux clients for LDAP
How i can view all users, Uids , groups and Gids which is configured in LDAP from hpux client machine.

THanks in advance..
Prasanth
prasanth.v.a
2 REPLIES 2
Sameer_Nirmal
Honored Contributor

Re: How to list all users in LDAP frtom hp machine

You can try ldapsearch command
# ldapsearch -h -b o= |grep uid
Wim Rombauts
Honored Contributor
Solution

Re: How to list all users in LDAP frtom hp machine

The commands "pwget" and "grget" will show all users (from any source, including LDAP) and groups (from any source, including LDAP) known by your system. The output looks like the contents of /etc/passwd or /etc/group