Can I list all users defined in LDAP (on RHEL6 or Fedora) ?

Peter Larsen plarsen at famlarsen.homelinux.com
Tue Jan 3 20:51:49 UTC 2012


Pavel,
Are you sure the LDAP server allows listing all users? It's quite normal
to turn that off.

On Tue, 2012-01-03 at 13:00 +0100, Pavel Lisy wrote: 
> Hello
> 
> in newest version of getent (on RHEL6 or Fedora) 
> 
> $ getent passwd 
> returns only local users not users defined in LDAP. 
> 
> When I run
> $ getent passwd login_in_ldap
> it works the same like before.
> 
> But I have many scripts where I get list of all users by this command
> $ getent passwd 
> 
> Can I list all users defined in LDAP?
> 
> -- 
> Pavel Lisy <pali at tmapy.cz>
> T-MAPY spol. s r.o.
> 


-- 
Best Regards
  Peter Larsen

Wise words of the day:
Netscape is not a newsreader, and probably never shall be.
	-- Tom Christiansen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120103/5a33fd64/attachment.sig>


More information about the users mailing list