/[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

Contents of /find.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Tue May 2 13:38:40 2000 UTC (23 years, 11 months ago) by dpavlin
Branch: DbP, MAIN
CVS Tags: r0, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
početni import

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