number of output show in a search

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The Directory Server by default allow make consults anonymous with
ldapsearch, this is ok, nevertheless, exists the way of limit the
number of attributes/lines/output show with anonymous user?, also to
implement rules in where the user and administrator's users only can
see a max of N atributes in a search for example, of the attribute
'mail'.
ej. $ ldapsearch -x mail
1.- # Afrodita Alvarez, joe, People, example.com
dn: cn=Afrodita Alvarez,uid=wilmer,ou=People,dc=example,dc=com
mail: aalvarez at example.com
2.- # aperez, juancarlos, People, example.com
dn: uid=aperez,uid=juancarlos,ou=People,dc=example,dc=com
mail: aperez at example.com
...
N.- ...Full Users Output.

I want:
$ ldapsearch -x mail
1.- # Afrodita Alvarez, joe, People, example.com
dn: cn=Afrodita Alvarez,uid=wilmer,ou=People,dc=example,dc=com
mail: aalvarez at example.com
2.- # aperez, juancarlos, People, example.com
dn: uid=aperez,uid=juancarlos,ou=People,dc=example,dc=com
mail: jcarlos at example.com
...
25.- .... only max. 25 users.

thanks.
-- 
Wilmer Jaramillo M.
TALUG - http://www.linuxtachira.org
GPG Key Fingerprint = 0666 D0D3 24CE 8935 9C24 BBF1 87DD BEA2 A4B2 1E8A




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux