Changed license headers.

git-svn-id: svn://10.0.0.236/branches/devel-branch-1_9@46303 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
leif%netscape.com
1999-09-08 05:21:03 +00:00
parent b47c270da9
commit 5c99ff0c50
19 changed files with 107 additions and 96 deletions

View File

@@ -4,20 +4,16 @@ this project.
* Leif Hedstrom <leif@perldap.org>
- Project lead.
- Project lead, v1.0 and v2.0.
- Wrote some of the API code, and most of OO layers (Conn.pm,
Entry.pm etc.)
- Unix portability test.
Entry.pm, Utils.pm, ACL.pm etc.)
- Unix portability tests, and releases.
- Port to Windows/NT and ActivePerl.
* Clayton Donley
- Wrote a lot of the initial API code (API.xs and API.pm).
* Kevin McCarthy <kmccarth@perldap.org>
- New maintainer of API.xs and API.pm
- Bug fixes, tons of contribution, particularly to the API.xs file.
@@ -29,7 +25,13 @@ this project.
* John Kristian <kristian@netscape.com>
- Rewrote the entire LDIF module, great stuff!
- Rewrote the entire LDIF.pm module, which is a standalone LDIF
module, which also integrates tightly with PerLDAP if desired.
* Clayton Donley
- Wrote a lot of the initial API code (API.xs and API.pm).
* Netscape Netcenter team (Kevin Burns, Max Block, Mark Takacs etc.)

View File

@@ -4,7 +4,6 @@ API.xs
MANIFEST
Makefile.PL
constant.h
oldtest.pl
typemap
Entry.pm
Conn.pm

View File

@@ -1,5 +1,5 @@
#############################################################################
# $Id: Makefile.PL,v 1.15 1999-08-24 22:30:46 leif%netscape.com Exp $
# $Id: Makefile.PL,v 1.15.2.1 1999-09-08 05:21:02 leif%netscape.com Exp $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.0 (the "License"); you may not use this file except in
@@ -17,10 +17,10 @@
# Corp., portions created by Clayton Donley are Copyright (C) Clayton
# Donley. All Rights Reserved.
#
# Contributor(s):
# Contributor(s): Leif Hedstrom <leif@perldap.org>
#
# DESCRIPTION
# The Makefile "source".
# The Makefile "source", this is mostly rewritten by Leif.
#
#############################################################################
@@ -156,8 +156,8 @@ push(@extras,
and $Config{archname} =~ /-object\b/i);
push(@extras,
ABSTRACT => 'Perl methods for LDAP C API calls',
AUTHOR => 'Netscape Communications Corp., Inc. and Clayton Donley')
ABSTRACT => 'Perl methods for LDAP C API calls, and OO layers',
AUTHOR => 'Netscape Communications Corp., Inc. and Leif Hedstrom')
if ($] >= 5.005);
#

View File

@@ -116,7 +116,9 @@ License/Copyright
=================
Portions by Netscape (c) Copyright 1998 Netscape Communications Corp, Inc.
Portions by Clayton Donley (c) Copyright 1998 Clayton Donley
Portions by Clayton Donley (c) Copyright 1998 Clayton Donley.
Portions by Leif Hedstrom (c) Copyright 1998 Leif Hedstrom.
Please read the MPL-1.0.txt file included for information on the Mozilla
Public License, which covers all files in this distribution.

View File

@@ -1,5 +1,5 @@
#############################################################################
# $Id: Utils.pm,v 1.13.2.1 1999-08-26 15:43:27 leif%netscape.com Exp $
# $Id: Utils.pm,v 1.13.2.2 1999-09-08 05:21:01 leif%netscape.com Exp $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.0 (the "License"); you may not use this file except in
@@ -12,12 +12,12 @@
# under the License.
#
# The Original Code is PerLDAP. The Initial Developer of the Original
# Code is Netscape Communications Corp. and Clayton Donley. Portions
# created by Netscape are Copyright (C) Netscape Communications
# Corp., portions created by Clayton Donley are Copyright (C) Clayton
# Donley. All Rights Reserved.
# Code is Leif Hedstrom and Netscape Communications. Portions created
# by Leif are Copyright (C) Leif Hedstrom, portions created by Netscape
# are Copyright (C) Netscape Communications Corp. All Rights Reserved.
#
# Contributor(s):
# Contributor(s): Leif Hedstrom
# Michelle Wyner
#
# DESCRIPTION
# Lots of Useful Little Utilities, for LDAP related operations.

View File

@@ -1,6 +1,6 @@
/*
*******************************************************************************
* $Id: constant.h,v 1.7 1998-08-13 09:14:14 leif Exp $
* $Id: constant.h,v 1.7.6.1 1999-09-08 05:21:00 leif%netscape.com Exp $
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
@@ -18,8 +18,8 @@
* Corp., portions created by Clayton Donley are Copyright (C) Clayton
* Donley. All Rights Reserved.
*
* Contributor(s):
*
* Contributor(s): Leif Hedstrom <leif@perldap.org>
* Kevin McCarthy <kevin@perldap.org>
* DESCRIPTION
* Constants.
*

View File

@@ -1,3 +1,12 @@
1999-09-05 Leif Hedstrom <leif@perldap.org>
* changes2ldif.pl, modattr.pl, qsearch.pl, rmentry.pl,
ldappasswd.pl, monitor.pl, rand_mods.pl, tabdump.pl, lfinger.pl,
psoftsync.pl, rename.pl: Changed headers.
* qsearch.pl: Added support for the "-v" flag, and changed all the
calls to search() reflect new argument passing syntax.
1999-06-30 Leif Hedstrom <leif@netscape.com>
* rmentry.pl: Added support for "-p".

View File

@@ -1,6 +1,6 @@
#!/usr/bin/perl5
#############################################################################
# $Id: changes2ldif.pl,v 1.2 1999-01-21 23:52:46 leif%netscape.com Exp $
# $Id: changes2ldif.pl,v 1.2.4.1 1999-09-08 05:17:15 leif%netscape.com Exp $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.0 (the "License"); you may not use this file except in
@@ -13,10 +13,9 @@
# under the License.
#
# The Original Code is PerLDAP. The Initial Developer of the Original
# Code is Netscape Communications Corp. and Clayton Donley. Portions
# created by Netscape are Copyright (C) Netscape Communications
# Corp., portions created by Clayton Donley are Copyright (C) Clayton
# Donley. All Rights Reserved.
# Code is Leif Hedstrom and Netscape Communications. Portions created
# by Leif are Copyright (C) Leif Hedstrom, portions created by Netscape
# are Copyright (C) Netscape Communications Corp. All Rights Reserved.
#
# Contributor(s):
#

View File

@@ -1,6 +1,6 @@
#!/usr/bin/perl5
#############################################################################
# $Id: ldappasswd.pl,v 1.6 1998-08-13 09:13:23 leif Exp $
# $Id: ldappasswd.pl,v 1.6.6.1 1999-09-08 05:17:16 leif%netscape.com Exp $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.0 (the "License"); you may not use this file except in
@@ -13,10 +13,9 @@
# under the License.
#
# The Original Code is PerLDAP. The Initial Developer of the Original
# Code is Netscape Communications Corp. and Clayton Donley. Portions
# created by Netscape are Copyright (C) Netscape Communications
# Corp., portions created by Clayton Donley are Copyright (C) Clayton
# Donley. All Rights Reserved.
# Code is Leif Hedstrom and Netscape Communications. Portions created
# by Leif are Copyright (C) Leif Hedstrom, portions created by Netscape
# are Copyright (C) Netscape Communications Corp. All Rights Reserved.
#
# Contributor(s):
#

View File

@@ -1,6 +1,6 @@
#!/usr/bin/perl5
#############################################################################
# $Id: lfinger.pl,v 1.10 1998-08-13 09:13:08 leif Exp $
# $Id: lfinger.pl,v 1.10.6.1 1999-09-08 05:17:16 leif%netscape.com Exp $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.0 (the "License"); you may not use this file except in
@@ -13,10 +13,9 @@
# under the License.
#
# The Original Code is PerLDAP. The Initial Developer of the Original
# Code is Netscape Communications Corp. and Clayton Donley. Portions
# created by Netscape are Copyright (C) Netscape Communications
# Corp., portions created by Clayton Donley are Copyright (C) Clayton
# Donley. All Rights Reserved.
# Code is Leif Hedstrom and Netscape Communications. Portions created
# by Leif are Copyright (C) Leif Hedstrom, portions created by Netscape
# are Copyright (C) Netscape Communications Corp. All Rights Reserved.
#
# Contributor(s):
#

View File

@@ -1,6 +1,6 @@
#!/usr/bin/perl5
#############################################################################
# $Id: modattr.pl,v 1.8 1999-01-21 23:52:46 leif%netscape.com Exp $
# $Id: modattr.pl,v 1.8.4.1 1999-09-08 05:17:16 leif%netscape.com Exp $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.0 (the "License"); you may not use this file except in
@@ -13,10 +13,9 @@
# under the License.
#
# The Original Code is PerLDAP. The Initial Developer of the Original
# Code is Netscape Communications Corp. and Clayton Donley. Portions
# created by Netscape are Copyright (C) Netscape Communications
# Corp., portions created by Clayton Donley are Copyright (C) Clayton
# Donley. All Rights Reserved.
# Code is Leif Hedstrom and Netscape Communications. Portions created
# by Leif are Copyright (C) Leif Hedstrom, portions created by Netscape
# are Copyright (C) Netscape Communications Corp. All Rights Reserved.
#
# Contributor(s):
#

View File

@@ -1,6 +1,6 @@
#!/usr/bin/perl5
#############################################################################
# $Id: monitor.pl,v 1.2 1998-08-13 09:12:05 leif Exp $
# $Id: monitor.pl,v 1.2.6.1 1999-09-08 05:17:16 leif%netscape.com Exp $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.0 (the "License"); you may not use this file except in
@@ -13,10 +13,9 @@
# under the License.
#
# The Original Code is PerLDAP. The Initial Developer of the Original
# Code is Netscape Communications Corp. and Clayton Donley. Portions
# created by Netscape are Copyright (C) Netscape Communications
# Corp., portions created by Clayton Donley are Copyright (C) Clayton
# Donley. All Rights Reserved.
# Code is Leif Hedstrom and Netscape Communications. Portions created
# by Leif are Copyright (C) Leif Hedstrom, portions created by Netscape
# are Copyright (C) Netscape Communications Corp. All Rights Reserved.
#
# Contributor(s):
#

View File

@@ -1,6 +1,6 @@
#!/usr/bin/perl5
#############################################################################
# $Id: psoftsync.pl,v 1.5 1999-01-21 23:52:47 leif%netscape.com Exp $
# $Id: psoftsync.pl,v 1.5.4.1 1999-09-08 05:17:16 leif%netscape.com Exp $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.0 (the "License"); you may not use this file except in
@@ -13,10 +13,9 @@
# under the License.
#
# The Original Code is PerLDAP. The Initial Developer of the Original
# Code is Netscape Communications Corp. and Clayton Donley. Portions
# created by Netscape are Copyright (C) Netscape Communications
# Corp., portions created by Clayton Donley are Copyright (C) Clayton
# Donley. All Rights Reserved.
# Code is Leif Hedstrom and Netscape Communications. Portions created
# by Leif are Copyright (C) Leif Hedstrom, portions created by Netscape
# are Copyright (C) Netscape Communications Corp. All Rights Reserved.
#
# Contributor(s):
#

View File

@@ -1,6 +1,6 @@
#!/usr/bin/perl5
#############################################################################
# $Id: qsearch.pl,v 1.8.4.1 1999-08-26 15:43:29 leif%netscape.com Exp $
# $Id: qsearch.pl,v 1.8.4.2 1999-09-08 05:17:17 leif%netscape.com Exp $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.0 (the "License"); you may not use this file except in
@@ -13,10 +13,9 @@
# under the License.
#
# The Original Code is PerLDAP. The Initial Developer of the Original
# Code is Netscape Communications Corp. and Clayton Donley. Portions
# created by Netscape are Copyright (C) Netscape Communications
# Corp., portions created by Clayton Donley are Copyright (C) Clayton
# Donley. All Rights Reserved.
# Code is Leif Hedstrom and Netscape Communications. Portions created
# by Leif are Copyright (C) Leif Hedstrom, portions created by Netscape
# are Copyright (C) Netscape Communications Corp. All Rights Reserved.
#
# Contributor(s):
#
@@ -43,7 +42,7 @@ $USAGE = "$APPNAM -b base -h host -D bind -w pswd -P cert filter [attr...]";
#################################################################################
# Check arguments, and configure some parameters accordingly..
#
if (!getopts('b:h:D:p:s:w:P:'))
if (!getopts('b:h:D:p:s:vw:P:'))
{
print "usage: $APPNAM $USAGE\n";
exit;
@@ -73,11 +72,18 @@ foreach $search (@srch)
{
if ($#attr >= $[)
{
$entry = $conn->search($ld{root}, $ld{scope}, $search, 0, @attr);
$entry = $conn->search(basedn => $ld{base},
scope => $ld{scope},
filter => $search,
attributes => [ @attr ],
verbose => $opt_v);
}
else
{
$entry = $conn->search($ld{root}, $ld{scope}, "$search");
$entry = $conn->search(basedn => $ld{base},
scope => $ld{scope},
filter => $search,
verbose => $opt_v);
}
print "Searched for `$search':\n\n";

View File

@@ -1,6 +1,6 @@
#!/usr/bin/perl5
#################################################################################
# $Id: rand_mods.pl,v 1.2 1999-08-24 22:30:51 leif%netscape.com Exp $
#############################################################################
# $Id: rand_mods.pl,v 1.2.2.1 1999-09-08 05:17:17 leif%netscape.com Exp $
#
# The contents of this file are subject to the Netscape Public License Version
# 1.0 (the "License"); you may not use this file except in compliance with the
@@ -10,21 +10,24 @@
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
# the specific language governing rights and limitations under the License.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are Copyright (C) 1998 Netscape
# Communications Corporation. All Rights Reserved.
# The Original Code is PerLDAP. The Initial Developer of the Original
# Code is Leif Hedstrom and Netscape Communications. Portions created
# by Leif are Copyright (C) Leif Hedstrom, portions created by Netscape
# are Copyright (C) Netscape Communications Corp. All Rights Reserved.
#
# Contributor(s):
#
# SYNOPSIS:
# Modify an attribute for one or more entries, or possibly delete it.
#
# USAGE:
# rand_mods [-adnvW] -b base -h host -D bind DN -w pwd -P cert filter loops
# attribute ...
# rand_mods [-adnvW] -b base -h host -D bind DN -w pwd -P cert filter
# loops attribute ...
#
#################################################################################
#############################################################################
#################################################################################
#############################################################################
# Modules we need. Note that we depend heavily on the Ldapp module,
# which needs to be built from the C code. It also requires an LDAP SDK.
#
@@ -37,15 +40,14 @@ use strict;
no strict "vars";
#################################################################################
#############################################################################
# Constants, shouldn't have to edit these...
#
$APPNAM = "rand_mods";
$USAGE = "$APPNAM [-dnvW] -b base -h host -D bind -w pswd filter loops attr ...";
$AUTHOR = "Leif Hedstrom <leif\@netscape.com>";
#################################################################################
#############################################################################
# Check arguments, and configure some parameters accordingly..
#
if (!getopts('adnvWb:h:D:p:s:w:P:'))
@@ -56,7 +58,7 @@ if (!getopts('adnvWb:h:D:p:s:w:P:'))
%ld = Mozilla::LDAP::Utils::ldapArgs();
#################################################################################
#############################################################################
# Instantiate an LDAP object, which also binds to the LDAP server.
#
if (!getopts('b:h:D:p:s:w:P:'))
@@ -69,7 +71,7 @@ $conn = new Mozilla::LDAP::Conn(\%ld);
croak "Could't connect to LDAP server $ld{host}" unless $conn;
#################################################################################
#############################################################################
# Parse some extra argumens
#
my $srch, $loop;
@@ -92,7 +94,7 @@ if (! ($loops = shift(@ARGV)))
$num_attrs = $#attrs;
#################################################################################
#############################################################################
# Find all the argument
#
my $num = 0;

View File

@@ -1,6 +1,6 @@
#!/usr/bin/perl5
#############################################################################
# $Id: rename.pl,v 1.4 1999-01-21 23:52:47 leif%netscape.com Exp $
# $Id: rename.pl,v 1.4.4.1 1999-09-08 05:17:18 leif%netscape.com Exp $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.0 (the "License"); you may not use this file except in
@@ -13,10 +13,9 @@
# under the License.
#
# The Original Code is PerLDAP. The Initial Developer of the Original
# Code is Netscape Communications Corp. and Clayton Donley. Portions
# created by Netscape are Copyright (C) Netscape Communications
# Corp., portions created by Clayton Donley are Copyright (C) Clayton
# Donley. All Rights Reserved.
# Code is Leif Hedstrom and Netscape Communications. Portions created
# by Leif are Copyright (C) Leif Hedstrom, portions created by Netscape
# are Copyright (C) Netscape Communications Corp. All Rights Reserved.
#
# Contributor(s):
#

View File

@@ -1,6 +1,6 @@
#!/usr/bin/perl5
#############################################################################
# $Id: rmentry.pl,v 1.5 1999-08-24 22:30:51 leif%netscape.com Exp $
# $Id: rmentry.pl,v 1.5.2.1 1999-09-08 05:17:18 leif%netscape.com Exp $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.0 (the "License"); you may not use this file except in
@@ -13,10 +13,9 @@
# under the License.
#
# The Original Code is PerLDAP. The Initial Developer of the Original
# Code is Netscape Communications Corp. and Clayton Donley. Portions
# created by Netscape are Copyright (C) Netscape Communications
# Corp., portions created by Clayton Donley are Copyright (C) Clayton
# Donley. All Rights Reserved.
# Code is Leif Hedstrom and Netscape Communications. Portions created
# by Leif are Copyright (C) Leif Hedstrom, portions created by Netscape
# are Copyright (C) Netscape Communications Corp. All Rights Reserved.
#
# Contributor(s):
#

View File

@@ -1,6 +1,6 @@
#!/usr/bin/perl5
#############################################################################
# $Id: tabdump.pl,v 1.3 1998-08-13 09:11:10 leif Exp $
# $Id: tabdump.pl,v 1.3.6.1 1999-09-08 05:17:18 leif%netscape.com Exp $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.0 (the "License"); you may not use this file except in
@@ -13,10 +13,9 @@
# under the License.
#
# The Original Code is PerLDAP. The Initial Developer of the Original
# Code is Netscape Communications Corp. and Clayton Donley. Portions
# created by Netscape are Copyright (C) Netscape Communications
# Corp., portions created by Clayton Donley are Copyright (C) Clayton
# Donley. All Rights Reserved.
# Code is Leif Hedstrom and Netscape Communications. Portions created
# by Leif are Copyright (C) Leif Hedstrom, portions created by Netscape
# are Copyright (C) Netscape Communications Corp. All Rights Reserved.
#
# Contributor(s):
#

View File

@@ -1,5 +1,5 @@
#############################################################################
# $Id: typemap,v 1.4 1998-08-13 09:15:00 leif Exp $
# $Id: typemap,v 1.4.6.1 1999-09-08 05:21:00 leif%netscape.com Exp $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.0 (the "License"); you may not use this file except in
@@ -17,8 +17,8 @@
# Corp., portions created by Clayton Donley are Copyright (C) Clayton
# Donley. All Rights Reserved.
#
# Contributor(s):
#
# Contributor(s): Leif Hedstrom <leif@perldap.org>
# Kevin McCarthy <kevin@perldap.org>
# DESCRIPTION
# Typemap to declare XSUB data types.
#