Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Net::LDAP q

by fisher (Priest)
on Sep 05, 2011 at 16:05 UTC ( #924269=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
    print "Ok\nFound: ";
    
    print join ", ", map $_->get_value("cn"), $mesg->entries;
    
  2. or download this
    Searching for uids less than 1000 and gt 500... Ok
    Found:
    
  3. or download this
    fisher% ldapsearch -h 192.168.9.111 -D "cn=root,dc=lomonosov,dc=parall
    +el,dc=ru" -w "rootpw" -b "ou=slurm,dc=lomonosov,dc=parallel,dc=ru" "&
    +(cn>600)(cn<1000)" |tail -3
    
    # numResponses: 145
    # numEntries: 144
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://924269]
Approved by ww
Front-paged by chrestomanci
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2022-08-11 17:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?