/[ldap]/find.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /find.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Tue May 2 13:38:40 2000 UTC (23 years, 11 months ago) by dpavlin
Branch point for: DbP, MAIN
File MIME type: text/plain
Initial revision

1 dpavlin 1.1 #!/usr/local/bin/perl -w
2    
3     use Net::LDAP;
4     use Net::LDAP::LDIF;
5    
6     $ldap = Net::LDAP->new('ldap.pliva.hr',port=>389) || die "$@";
7    
8     $ldap->bind; # anonymous
9    
10     $mesg = $ldap->search (
11     base => 'o=pliva.hr',
12     # filter => 'sn=Pavlinusic'
13     filter => 'sn=*'
14     );
15    
16     Net::LDAP::LDIF->new(\*STDOUT,"w")->write($mesg->entries);
17    

  ViewVC Help
Powered by ViewVC 1.1.26