mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Sync with HEAD
This commit is contained in:
parent
e930650fd3
commit
593ce2def4
593 changed files with 11750 additions and 4800 deletions
24
COPYRIGHT
24
COPYRIGHT
|
|
@ -3,9 +3,11 @@ All rights reserved.
|
|||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted only as authorized by the OpenLDAP
|
||||
Public License. A copy of this license is available at
|
||||
http://www.OpenLDAP.org/license.html or in the file LICENSE in the
|
||||
top-level directory of the distribution.
|
||||
Public License.
|
||||
|
||||
A copy of this license is available in the file LICENSE in the
|
||||
top-level directory of the distribution or, alternatively, at
|
||||
<http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
OpenLDAP is a registered trademark of the OpenLDAP Foundation.
|
||||
|
||||
|
|
@ -14,20 +16,28 @@ other parties and subject to additional restrictions.
|
|||
|
||||
This work is derived from the University of Michigan LDAP v3.3
|
||||
distribution. Information concerning this software is available
|
||||
at: http://www.umich.edu/~dirsvcs/ldap/
|
||||
at <http://www.umich.edu/~dirsvcs/ldap/>.
|
||||
|
||||
This work also contains materials derived from public sources.
|
||||
|
||||
Additional information about OpenLDAP can be obtained at:
|
||||
http://www.openldap.org/
|
||||
Additional information about OpenLDAP can be obtained at
|
||||
<http://www.openldap.org/>.
|
||||
|
||||
---
|
||||
|
||||
Portions Copyright 1998-2003 Kurt D. Zeilenga.
|
||||
Portions Copyright 1998-2003 Net Boolean Incorporated.
|
||||
Portions Copyright 2001-2003 IBM Corporation.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted only as authorized by the OpenLDAP
|
||||
Public License.
|
||||
|
||||
---
|
||||
|
||||
Portions Copyright 1999-2003 Howard Y.H. Chu.
|
||||
Portions Copyright 1999-2003 Symas Corporation.
|
||||
Portions Copyright 2001-2003 IBM Corporation.
|
||||
Portions Copyright 1998-2003 Hallvard B. Furuseth.
|
||||
All rights reserved.
|
||||
|
||||
|
|
|
|||
17
INSTALL
17
INSTALL
|
|
@ -94,8 +94,21 @@ configuration directory (normally /usr/local/etc/openldap).
|
|||
slapd.conf Standalone LDAP daemon
|
||||
schema/*.schema Schema Definitions
|
||||
|
||||
End of OpenLDAP INSTALL file.
|
||||
|
||||
---
|
||||
$OpenLDAP: pkg/openldap-guide/release/install.sdf,v 1.16 2002/02/18
|
||||
17:09:26 kurt Exp $
|
||||
|
||||
This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
|
||||
Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted only as authorized by the OpenLDAP
|
||||
Public License.
|
||||
|
||||
A copy of this license is available in the file LICENSE in the
|
||||
top-level directory of the distribution or, alternatively, at
|
||||
<http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
OpenLDAP is a registered trademark of the OpenLDAP Foundation.
|
||||
|
|
|
|||
10
LICENSE
10
LICENSE
|
|
@ -1,11 +1,11 @@
|
|||
The OpenLDAP Public License
|
||||
Version 2.7, 7 September 2001
|
||||
Version 2.8, 17 August 2003
|
||||
|
||||
Redistribution and use of this software and associated documentation
|
||||
("Software"), with or without modification, are permitted provided
|
||||
that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain copyright statements
|
||||
1. Redistributions in source form must retain copyright statements
|
||||
and notices,
|
||||
|
||||
2. Redistributions in binary form must reproduce applicable copyright
|
||||
|
|
@ -37,11 +37,11 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
The names of the authors and copyright holders must not be used in
|
||||
advertising or otherwise to promote the sale, use or other dealing
|
||||
in this Software without specific, written prior permission. Title
|
||||
to copyright in this Software shall at all times remain with
|
||||
copyright holders.
|
||||
to copyright in this Software shall at all times remain with copyright
|
||||
holders.
|
||||
|
||||
OpenLDAP is a registered trademark of the OpenLDAP Foundation.
|
||||
|
||||
Copyright 1999-2001 The OpenLDAP Foundation, Redwood City,
|
||||
Copyright 1999-2003 The OpenLDAP Foundation, Redwood City,
|
||||
California, USA. All Rights Reserved. Permission to copy and
|
||||
distribute verbatim copies of this document is granted.
|
||||
|
|
|
|||
15
Makefile.in
15
Makefile.in
|
|
@ -1,14 +1,17 @@
|
|||
# $OpenLDAP$
|
||||
# Master Makefile for OpenLDAP
|
||||
# $OpenLDAP$
|
||||
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
##
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms are permitted only
|
||||
## as authorized by the OpenLDAP Public License. A copy of this
|
||||
## license is available at http://www.OpenLDAP.org/license.html or
|
||||
## in file LICENSE in the top-level directory of the distribution.
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
SUBDIRS= include libraries clients servers tests doc
|
||||
CLEANDIRS=
|
||||
|
|
|
|||
15
README
15
README
|
|
@ -81,3 +81,18 @@ CONTRIBUTING
|
|||
|
||||
---
|
||||
$OpenLDAP$
|
||||
|
||||
This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
|
||||
Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted only as authorized by the OpenLDAP
|
||||
Public License.
|
||||
|
||||
A copy of this license is available in the file LICENSE in the
|
||||
top-level directory of the distribution or, alternatively, at
|
||||
<http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
OpenLDAP is a registered trademark of the OpenLDAP Foundation.
|
||||
|
|
|
|||
13
acconfig.h
13
acconfig.h
|
|
@ -1,12 +1,15 @@
|
|||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
#ifndef _LDAP_PORTABLE_H
|
||||
|
|
|
|||
16
acinclude.m4
16
acinclude.m4
|
|
@ -1,14 +1,16 @@
|
|||
dnl OpenLDAP Autoconf Macros
|
||||
dnl $OpenLDAP$
|
||||
dnl This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
dnl
|
||||
dnl Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
dnl Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
dnl All rights reserved.
|
||||
dnl
|
||||
dnl
|
||||
dnl Redistribution and use in source and binary forms, with or without
|
||||
dnl modification, are permitted only as authorized by the OpenLDAP
|
||||
dnl Public License. A copy of this license is available at
|
||||
dnl http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
dnl top-level directory of the distribution.
|
||||
dnl
|
||||
dnl OpenLDAP Autoconf Macros
|
||||
dnl Public License.
|
||||
dnl
|
||||
dnl A copy of this license is available in the file LICENSE in the
|
||||
dnl top-level directory of the distribution or, alternatively, at
|
||||
dnl <http://www.OpenLDAP.org/license.html>.
|
||||
divert(-1)
|
||||
builtin(include, build/openldap.m4)dnl
|
||||
|
|
|
|||
14
aclocal.m4
vendored
14
aclocal.m4
vendored
|
|
@ -10,18 +10,16 @@ dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|||
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
dnl PARTICULAR PURPOSE.
|
||||
|
||||
dnl
|
||||
dnl Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
dnl Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
dnl All rights reserved.
|
||||
dnl
|
||||
dnl
|
||||
dnl Redistribution and use in source and binary forms, with or without
|
||||
dnl modification, are permitted only as authorized by the OpenLDAP
|
||||
dnl Public License. A copy of this license is available at
|
||||
dnl http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
dnl top-level directory of the distribution.
|
||||
dnl
|
||||
dnl OpenLDAP Autoconf Macros
|
||||
dnl Public License.
|
||||
dnl
|
||||
dnl A copy of this license is available in the file LICENSE in the
|
||||
dnl top-level directory of the distribution or, alternatively, at
|
||||
dnl <http://www.OpenLDAP.org/license.html>.
|
||||
divert(-1)
|
||||
builtin(include, build/openldap.m4)dnl
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,17 @@
|
|||
# build.mak: nmake for MSVC builds
|
||||
# $OpenLDAP$
|
||||
#
|
||||
# Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
# COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
#
|
||||
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
##
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
all: build.txt
|
||||
|
||||
|
|
|
|||
16
build/config.guess
vendored
16
build/config.guess
vendored
|
|
@ -1,10 +1,11 @@
|
|||
#! /bin/sh
|
||||
# Attempt to guess a canonical system name.
|
||||
# Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
# 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||
# Portions Copyright 1998-2002 OpenLDAP Foundation.
|
||||
|
||||
timestamp='2002-10-21-OpenLDAP'
|
||||
# $OpenLDAP$
|
||||
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
|
|
@ -28,8 +29,17 @@ timestamp='2002-10-21-OpenLDAP'
|
|||
# This file is distributed with OpenLDAP Software, which contains a
|
||||
# configuration script generated by Autoconf, and is distributable
|
||||
# under the same distributions terms as OpenLDAP inself.
|
||||
# See the OpenLDAP COPYRIGHT and LICENSE file for details.
|
||||
# $OpenLDAP$
|
||||
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
# Originally written by Per Bothner <per@bothner.com>.
|
||||
# Please send patches to <config-patches@gnu.org>. Submit a context
|
||||
|
|
|
|||
16
build/config.sub
vendored
16
build/config.sub
vendored
|
|
@ -1,10 +1,11 @@
|
|||
#! /bin/sh
|
||||
# Configuration validation subroutine script.
|
||||
# Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
# 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||
# Portions Copyright 1998-2002 OpenLDAP Foundation.
|
||||
|
||||
timestamp='2002-09-05 (OpenLDAP)'
|
||||
# $OpenLDAP$
|
||||
|
||||
# This file is (in principle) common to ALL GNU software.
|
||||
# The presence of a machine in this file suggests that SOME GNU software
|
||||
|
|
@ -33,8 +34,17 @@ timestamp='2002-09-05 (OpenLDAP)'
|
|||
# This file is distributed with OpenLDAP Software, which contains a
|
||||
# configuration script generated by Autoconf, and is distributable
|
||||
# under the same distributions terms as OpenLDAP inself.
|
||||
# See the OpenLDAP COPYRIGHT and LICENSE file for details.
|
||||
# $OpenLDAP$
|
||||
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
# Please send patches to <config-patches@gnu.org>. Submit a context
|
||||
# diff and a properly formatted ChangeLog entry.
|
||||
|
|
|
|||
|
|
@ -1,8 +1,17 @@
|
|||
#! /bin/sh
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
##
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
#
|
||||
# Update copyright statements
|
||||
#
|
||||
|
|
|
|||
19
build/dir.mk
19
build/dir.mk
|
|
@ -1,11 +1,18 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makes subdirectories
|
||||
##
|
||||
#
|
||||
# Makes subdirectories
|
||||
#
|
||||
|
||||
|
||||
all-common: FORCE
|
||||
|
|
|
|||
|
|
@ -1,10 +1,17 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makefile Template for Non-Source Directories
|
||||
##
|
||||
#
|
||||
# Makefile Template for Non-Source Directories
|
||||
#
|
||||
|
||||
Makefile: $(top_srcdir)/build/info.mk
|
||||
|
|
|
|||
|
|
@ -1,11 +1,18 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makefile Template for Shared Libraries
|
||||
##
|
||||
#
|
||||
# Makefile Template for Shared Libraries
|
||||
#
|
||||
|
||||
MKDEPFLAG = -l
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,18 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makefile Template for Static Libraries
|
||||
##
|
||||
#
|
||||
# Makefile Template for Static Libraries
|
||||
#
|
||||
|
||||
$(LIBRARY): version.o
|
||||
$(AR) ru $@ $(OBJS) version.o
|
||||
|
|
|
|||
19
build/lib.mk
19
build/lib.mk
|
|
@ -1,11 +1,18 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makefile Template for Libraries
|
||||
##
|
||||
#
|
||||
# Makefile Template for Libraries
|
||||
#
|
||||
|
||||
all-common: $(LIBRARY) $(PROGRAMS)
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,17 @@
|
|||
# This file is distributed with OpenLDAP Software, which contains a
|
||||
# configuration script generated by Autoconf, and is distributable
|
||||
# under the same distributions terms as OpenLDAP inself.
|
||||
# See the OpenLDAP COPYRIGHT and LICENSE file for details.
|
||||
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
# Check that we have a working $echo.
|
||||
if test "X$1" = X--no-reexec; then
|
||||
|
|
|
|||
19
build/man.mk
19
build/man.mk
|
|
@ -1,11 +1,18 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makefile Template for Manual Pages
|
||||
##
|
||||
#
|
||||
# Makefile Template for Manual Pages
|
||||
#
|
||||
|
||||
MANDIR=$(mandir)/man$(MANSECT)
|
||||
TMP_SUFFIX=tmp
|
||||
|
|
|
|||
|
|
@ -1,14 +1,5 @@
|
|||
#! /bin/sh
|
||||
# $OpenLDAP$
|
||||
## Portions Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License. A copy of this license is available at
|
||||
## http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
## top-level directory of the distribution.
|
||||
|
||||
# This file is distributed with OpenLDAP Software but is an an
|
||||
# independently licensed program.
|
||||
|
||||
|
|
|
|||
44
build/mkdep
44
build/mkdep
|
|
@ -1,24 +1,32 @@
|
|||
#! /bin/sh -
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
##
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
#
|
||||
# Portions
|
||||
# Copyright (c) 1987 Regents of the University of California.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms are permitted
|
||||
# provided that the above copyright notice and this paragraph are
|
||||
# duplicated in all such forms and that any documentation,
|
||||
# advertising materials, and other materials related to such
|
||||
# distribution and use acknowledge that the software was developed
|
||||
# by the University of California, Berkeley. The name of the
|
||||
# University may not be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
## Portions Copyright (c) 1987 Regents of the University of California.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms are permitted
|
||||
## provided that the above copyright notice and this paragraph are
|
||||
## duplicated in all such forms and that any documentation,
|
||||
## advertising materials, and other materials related to such
|
||||
## distribution and use acknowledge that the software was developed
|
||||
## by the University of California, Berkeley. The name of the
|
||||
## University may not be used to endorse or promote products derived
|
||||
## from this software without specific prior written permission.
|
||||
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
||||
## IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
## WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
#
|
||||
# @(#)mkdep.sh 5.12 (Berkeley) 6/30/88
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,7 +1,17 @@
|
|||
#! /bin/sh
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
##
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
cc_r -ME $* > /dev/null
|
||||
cat *.u
|
||||
rm *.u
|
||||
|
|
|
|||
|
|
@ -1,8 +1,17 @@
|
|||
#! /bin/sh
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
##
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
#
|
||||
# Make a release
|
||||
# mkrelease RELNAME CVSTAG CVSMODULES
|
||||
|
|
|
|||
|
|
@ -1,7 +1,17 @@
|
|||
:: $OpenLDAP$
|
||||
:: Copyright 1998-2003 The OpenLDAP Foundation
|
||||
:: COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
:: of this package for details.
|
||||
:: This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
::
|
||||
:: Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without
|
||||
:: modification, are permitted only as authorized by the OpenLDAP
|
||||
:: Public License.
|
||||
::
|
||||
:: A copy of this license is available in the file LICENSE in the
|
||||
:: top-level directory of the distribution or, alternatively, at
|
||||
:: <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
::
|
||||
:: Create a version.c file from build/version.h
|
||||
::
|
||||
|
|
|
|||
|
|
@ -1,11 +1,19 @@
|
|||
#! /bin/sh
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
#
|
||||
# Create a version.c file
|
||||
#
|
||||
# $OpenLDAP$
|
||||
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
##
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
PACKAGE=OpenLDAP
|
||||
VERSION=unknown
|
||||
SYMBOL=__Version
|
||||
|
|
@ -45,16 +53,26 @@ APPLICATION=$1
|
|||
WHOWHERE="$USER@`uname -n`:`pwd`"
|
||||
|
||||
cat << __EOF__
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation
|
||||
* COPYING RESTRICTIONS APPLY. See COPYRIGHT file in top level directory
|
||||
* of this package for details.
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
static const char copyright[] =
|
||||
"Copyright 1998-2003 The OpenLDAP Foundation\n"
|
||||
"Copyright 1998-2003 The OpenLDAP Foundation. All rights reserved.\n"
|
||||
"COPYING RESTRICTIONS APPLY\n";
|
||||
|
||||
$static $const char $SYMBOL[] =
|
||||
"@(#) \$$PACKAGE: $APPLICATION $VERSION (" __DATE__ " " __TIME__ ") \$\n\t$WHOWHERE\n";
|
||||
"@(#) \$$PACKAGE: $APPLICATION $VERSION (" __DATE__ " " __TIME__ ") \$\n"
|
||||
"\t$WHOWHERE\n";
|
||||
|
||||
__EOF__
|
||||
|
|
|
|||
19
build/mod.mk
19
build/mod.mk
|
|
@ -1,11 +1,18 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makefile Template for Server Modules
|
||||
##
|
||||
#
|
||||
# Makefile Template for Server Modules
|
||||
#
|
||||
|
||||
LIBRARY = $(LIBBASE).la
|
||||
LIBSTAT = lib$(LIBBASE).a
|
||||
|
|
|
|||
|
|
@ -1,15 +1,17 @@
|
|||
dnl OpenLDAP Autoconf Macros
|
||||
dnl $OpenLDAP$
|
||||
dnl This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
dnl
|
||||
dnl Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
dnl Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
dnl All rights reserved.
|
||||
dnl
|
||||
dnl
|
||||
dnl Redistribution and use in source and binary forms, with or without
|
||||
dnl modification, are permitted only as authorized by the OpenLDAP
|
||||
dnl Public License. A copy of this license is available at
|
||||
dnl http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
dnl top-level directory of the distribution.
|
||||
dnl Public License.
|
||||
dnl
|
||||
dnl OpenLDAP Autoconf Macros
|
||||
dnl A copy of this license is available in the file LICENSE in the
|
||||
dnl top-level directory of the distribution or, alternatively, at
|
||||
dnl <http://www.OpenLDAP.org/license.html>.
|
||||
dnl
|
||||
dnl --------------------------------------------------------------------
|
||||
dnl Restricted form of AC_ARG_ENABLE that limits user options
|
||||
|
|
@ -312,12 +314,17 @@ dnl Try to locate appropriate library
|
|||
AC_DEFUN([OL_BERKELEY_DB_LINK],
|
||||
[ol_cv_lib_db=no
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_none)
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_db42,[-ldb42])
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_db_42,[-ldb-42])
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_db_4_dot_2,[-ldb-4.2])
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_db_4_2,[-ldb-4-2])
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_db_4,[-ldb-4])
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_db4,[-ldb4])
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_db41,[-ldb41])
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_db_41,[-ldb-41])
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_db_4_dot_1,[-ldb-4.1])
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_db_4_1,[-ldb-4-1])
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_db_4,[-ldb-4])
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_db4,[-ldb4])
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_db,[-ldb])
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_db3,[-ldb3])
|
||||
OL_BERKELEY_DB_TRY(ol_cv_db_db_3,[-ldb-3])
|
||||
|
|
@ -442,8 +449,8 @@ AC_DEFUN([OL_BDB_COMPAT],
|
|||
# define DB_VERSION_MINOR 0
|
||||
#endif
|
||||
|
||||
/* require 4.1 or later */
|
||||
#if (DB_VERSION_MAJOR >= 4) && (DB_VERSION_MINOR >= 1)
|
||||
/* require 4.2 or later */
|
||||
#if (DB_VERSION_MAJOR >= 4) && (DB_VERSION_MINOR >= 2)
|
||||
__db_version_compat
|
||||
#endif
|
||||
], [ol_cv_bdb_compat=yes], [ol_cv_bdb_compat=no])])
|
||||
|
|
|
|||
|
|
@ -1,11 +1,18 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makefile Template for Programs
|
||||
##
|
||||
#
|
||||
# Makefile Template for Programs
|
||||
#
|
||||
|
||||
all-common: $(PROGRAMS) FORCE
|
||||
|
||||
|
|
|
|||
19
build/srv.mk
19
build/srv.mk
|
|
@ -1,11 +1,18 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makefile Template for Servers
|
||||
##
|
||||
#
|
||||
# Makefile Template for Servers
|
||||
#
|
||||
|
||||
all-common: all-$(BUILD_SRV)
|
||||
all-no lint-no 5lint-no depend-no install-no:
|
||||
|
|
|
|||
22
build/top.mk
22
build/top.mk
|
|
@ -1,13 +1,18 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License. A copy of this license is available at
|
||||
## http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
## top-level directory of the distribution.
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
##---------------------------------------------------------------------------
|
||||
#
|
||||
# Top-level Makefile template
|
||||
#
|
||||
|
||||
PACKAGE= @PACKAGE@
|
||||
VERSION= @VERSION@
|
||||
RELEASEDATE= @OPENLDAP_RELEASE_DATE@
|
||||
|
|
@ -140,7 +145,6 @@ LDAP_INCPATH= -I$(LDAP_INCDIR) -I$(INCLUDEDIR)
|
|||
LDAP_LIBDIR= $(top_builddir)/libraries
|
||||
|
||||
LUTIL_LIBS = @LUTIL_LIBS@
|
||||
LDIF_LIBS = @LDIF_LIBS@
|
||||
LDBM_LIBS = @LDBM_LIBS@
|
||||
LTHREAD_LIBS = @LTHREAD_LIBS@
|
||||
|
||||
|
|
@ -151,18 +155,16 @@ LDAP_LIBLDAP_R_LA = $(LDAP_LIBDIR)/libldap_r/libldap_r.la
|
|||
LDAP_LIBLDBM_A_no =
|
||||
LDAP_LIBLDBM_A_yes = $(LDAP_LIBDIR)/libldbm/libldbm.a
|
||||
|
||||
LDAP_LIBAVL_A = $(LDAP_LIBDIR)/libavl/libavl.a
|
||||
LDAP_LIBLDBM_A = $(LDAP_LIBLDBM_A_@BUILD_LDBM@)
|
||||
LDAP_LIBLDIF_A = $(LDAP_LIBDIR)/libldif/libldif.a
|
||||
LDAP_LIBREWRITE_A = $(LDAP_LIBDIR)/librewrite/librewrite.a
|
||||
LDAP_LIBLUNICODE_A = $(LDAP_LIBDIR)/liblunicode/liblunicode.a
|
||||
LDAP_LIBLUTIL_A = $(LDAP_LIBDIR)/liblutil/liblutil.a
|
||||
|
||||
LDAP_L = $(LDAP_LIBLUTIL_A) $(LDAP_LIBLDIF_A) \
|
||||
LDAP_L = $(LDAP_LIBLUTIL_A) \
|
||||
$(LDAP_LIBLDAP_LA) $(LDAP_LIBLBER_LA)
|
||||
SLURPD_L = $(LDAP_LIBLDIF_A) $(LDAP_LIBLUTIL_A) \
|
||||
SLURPD_L = $(LDAP_LIBLUTIL_A) \
|
||||
$(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
||||
SLAPD_L = $(LDAP_LIBAVL_A) $(LDAP_LIBLDBM_A) \
|
||||
SLAPD_L = $(LDAP_LIBLDBM_A) \
|
||||
$(LDAP_LIBLUNICODE_A) $(LDAP_LIBREWRITE_A) \
|
||||
$(SLURPD_L)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,18 @@
|
|||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation
|
||||
* COPYING RESTRICTIONS APPLY. See COPYRIGHT file in top level directory
|
||||
* of this package for details.
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
static const char copyright[] =
|
||||
"Copyright 1998-2003 The OpenLDAP Foundation\n"
|
||||
"COPYING RESTRICTIONS APPLY\n";
|
||||
"Copyright 1998-2003 The OpenLDAP Foundation. All rights reserved.\n"
|
||||
"COPYING RESTRICTIONS APPLY.\n";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,18 @@
|
|||
#! /bin/sh
|
||||
# $OpenLDAP$
|
||||
## Copyright 2000-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
#
|
||||
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
##
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
DIR=`dirname $0`
|
||||
. $DIR/version.var
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,21 @@
|
|||
#! /bin/sh
|
||||
# $OpenLDAP$
|
||||
## Copyright 2000-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
#
|
||||
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
##
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
ol_package=OpenLDAP
|
||||
ol_major=2
|
||||
ol_minor=2
|
||||
ol_patch=2beta
|
||||
ol_patch=X
|
||||
ol_api_inc=20202
|
||||
ol_api_lib=2:202:0
|
||||
ol_release_date="2003/10/12"
|
||||
ol_release_date="2003/11/30"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,15 @@
|
|||
# Clients Makefile.in for OpenLDAP
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Clients Makefile.in for OpenLDAP
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
SUBDIRS = tools
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,16 @@
|
|||
# Makefile for LDAP tools
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Makefile for LDAP tools
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
SRCS = ldapsearch.c ldapmodify.c ldapdelete.c ldapmodrdn.c \
|
||||
ldappasswd.c ldapwhoami.c ldapcompare.c common.c
|
||||
OBJS = ldapsearch.o ldapmodify.o ldapdelete.o ldapmodrdn.o \
|
||||
|
|
@ -12,8 +21,8 @@ LDAP_LIBDIR= ../../libraries
|
|||
|
||||
MKVOPTS = -s
|
||||
|
||||
XLIBS = $(LDAP_LIBLDIF_A) $(LDAP_L)
|
||||
XXLIBS = $(SECURITY_LIBS) $(LDIF_LIBS) $(LUTIL_LIBS)
|
||||
XLIBS = $(LDAP_L)
|
||||
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
|
||||
|
||||
XSRCS = ldsversion.c ldmversion.c lddversion.c ldrversion.c \
|
||||
ldpversion.c ldwversion.c ldcversion.c
|
||||
|
|
|
|||
|
|
@ -1,9 +1,26 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/* common.c - common routines for the ldap client tools */
|
||||
/* $OpenLDAP$ */
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* Portions Copyright 2003 Kurt D. Zeilenga.
|
||||
* Portions Copyright 2003 IBM Corporation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* ACKNOWLEDGEMENTS:
|
||||
* This file was initially created by Hallvard B. Furuseth based (in
|
||||
* part) upon argument parsing code for individual tools located in
|
||||
* this directory. Additional contributors include:
|
||||
* Kurt D. Zeilenga (additional common argument and control support)
|
||||
*/
|
||||
|
||||
#include "portable.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,26 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 2002-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/* common.h - common definitions for the ldap client tools */
|
||||
/* $OpenLDAP$ */
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* ACKNOWLEDGEMENTS:
|
||||
* This file was initially created by Hallvard B. Furuseth based (in
|
||||
* part) upon argument parsing code for individual tools located in
|
||||
* this directory.
|
||||
*/
|
||||
|
||||
#ifndef _COMMON_H_
|
||||
#define _COMMON_H_
|
||||
#ifndef _CLIENT_TOOLS_COMMON_H_
|
||||
#define _CLIENT_TOOLS_COMMON_H_
|
||||
|
||||
LDAP_BEGIN_DECL
|
||||
|
||||
|
|
@ -63,4 +77,4 @@ void tool_server_controls LDAP_P(( LDAP *, LDAPControl *, int ));
|
|||
|
||||
LDAP_END_DECL
|
||||
|
||||
#endif /* _COMMON_H_ */
|
||||
#endif /* _CLIENT_TOOLS_COMMON_H_ */
|
||||
|
|
|
|||
|
|
@ -1,8 +1,40 @@
|
|||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/* ldapcompare.c -- LDAP compare tool */
|
||||
/* $OpenLDAP$ */
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* Portions Copyright 1998-2003 Kurt D. Zeilenga.
|
||||
* Portions Copyright 1998-2001 Net Boolean Incorporated.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions Copyright (c) 1992-1996 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
* provided that this notice is preserved and that due credit is given
|
||||
* to the University of Michigan at Ann Arbor. The name of the
|
||||
* University may not be used to endorse or promote products derived
|
||||
* from this software without specific prior written permission. This
|
||||
* software is provided ``as is'' without express or implied warranty.
|
||||
*/
|
||||
/* Portions Copyright 2002, F5 Networks, Inc, All rights reserved.
|
||||
* This software is not subject to any license of F5 Networks.
|
||||
* This is free software; you can redistribute and use it
|
||||
* under the same terms as OpenLDAP itself.
|
||||
*/
|
||||
/* ACKNOWLEDGEMENTS:
|
||||
* This work was originally developed by Jeff Costlow (F5 Networks)
|
||||
* based, in part, on existing LDAP tools and adapted for inclusion
|
||||
* into OpenLDAP Software by Kurt D. Zeilenga.
|
||||
*/
|
||||
|
||||
#include "portable.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,34 @@
|
|||
/* ldapdelete.c - simple program to delete an entry using LDAP */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* Portions Copyright 1998-2003 Kurt D. Zeilenga.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions Copyright (c) 1992-1996 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
* provided that this notice is preserved and that due credit is given
|
||||
* to the University of Michigan at Ann Arbor. The name of the
|
||||
* University may not be used to endorse or promote products derived
|
||||
* from this software without specific prior written permission. This
|
||||
* software is provided ``as is'' without express or implied warranty.
|
||||
*/
|
||||
/* ACKNOWLEDGEMENTS:
|
||||
* This work was originally developed by the University of Michigan
|
||||
* (as part of U-MICH LDAP). Additional significant contributors
|
||||
* include:
|
||||
* Kurt D. Zeilenga
|
||||
*/
|
||||
|
||||
#include "portable.h"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,38 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/* ldapmodify.c - generic program to modify or add entries using LDAP */
|
||||
/* $OpenLDAP$ */
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* Portions Copyright 1998-2003 Kurt D. Zeilenga.
|
||||
* Portions Copyright 1998-2001 Net Boolean Incorporated.
|
||||
* Portions Copyright 2001-2003 IBM Corporation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions Copyright (c) 1992-1996 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
* provided that this notice is preserved and that due credit is given
|
||||
* to the University of Michigan at Ann Arbor. The name of the
|
||||
* University may not be used to endorse or promote products derived
|
||||
* from this software without specific prior written permission. This
|
||||
* software is provided ``as is'' without express or implied warranty.
|
||||
*/
|
||||
/* ACKNOWLEDGEMENTS:
|
||||
* This work was originally developed by the University of Michigan
|
||||
* (as part of U-MICH LDAP). Additional significant contributors
|
||||
* include:
|
||||
* Kurt D. Zeilenga
|
||||
* Norbert Klasen
|
||||
*/
|
||||
|
||||
#include "portable.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,21 +1,47 @@
|
|||
/* ldapmodrdn.c - generic program to modify an entry's RDN using LDAP */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/* ldapmodrdn.c - generic program to modify an entry's RDN using LDAP.
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Support for MODIFYDN REQUEST V3 (newSuperior) by:
|
||||
*
|
||||
* Copyright 1999, Juan C. Gomez, All rights reserved.
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* Portions Copyright 1998-2003 Kurt D. Zeilenga.
|
||||
* Portions Copyright 1998-2001 Net Boolean Incorporated.
|
||||
* Portions Copyright 2001-2003 IBM Corporation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions Copyright 1999, Juan C. Gomez, All rights reserved.
|
||||
* This software is not subject to any license of Silicon Graphics
|
||||
* Inc. or Purdue University.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
* without restriction or fee of any kind as long as this notice
|
||||
* is preserved.
|
||||
*
|
||||
*/
|
||||
/* Portions Copyright (c) 1992-1996 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
* provided that this notice is preserved and that due credit is given
|
||||
* to the University of Michigan at Ann Arbor. The name of the
|
||||
* University may not be used to endorse or promote products derived
|
||||
* from this software without specific prior written permission. This
|
||||
* software is provided ``as is'' without express or implied warranty.
|
||||
*/
|
||||
/* ACKNOWLEDGEMENTS:
|
||||
* This work was originally developed by the University of Michigan
|
||||
* (as part of U-MICH LDAP). Additional significant contributors
|
||||
* include:
|
||||
* Kurt D. Zeilenga
|
||||
* Juan C Gomez
|
||||
*/
|
||||
|
||||
|
||||
#include "portable.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,36 @@
|
|||
/* ldappasswd -- a tool for change LDAP passwords */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* Portions Copyright 1998-2003 Kurt D. Zeilenga.
|
||||
* Portions Copyright 1998-2001 Net Boolean Incorporated.
|
||||
* Portions Copyright 2001-2003 IBM Corporation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions Copyright (c) 1992-1996 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
* provided that this notice is preserved and that due credit is given
|
||||
* to the University of Michigan at Ann Arbor. The name of the
|
||||
* University may not be used to endorse or promote products derived
|
||||
* from this software without specific prior written permission. This
|
||||
* software is provided ``as is'' without express or implied warranty.
|
||||
*/
|
||||
/* ACKNOWLEDGEMENTS:
|
||||
* The original ldappasswd(1) tool was developed by Dave Storey (F5
|
||||
* Network), based on other OpenLDAP client tools (which are, of
|
||||
* course, based on U-MICH LDAP). This version was rewritten
|
||||
* by Kurt D. Zeilenga (based on other OpenLDAP client tools).
|
||||
*/
|
||||
|
||||
#include "portable.h"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,39 @@
|
|||
/* ldapsearch -- a tool for searching LDAP directories */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* Portions Copyright 1998-2003 Kurt D. Zeilenga.
|
||||
* Portions Copyright 1998-2001 Net Boolean Incorporated.
|
||||
* Portions Copyright 2001-2003 IBM Corporation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions Copyright (c) 1992-1996 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
* provided that this notice is preserved and that due credit is given
|
||||
* to the University of Michigan at Ann Arbor. The name of the
|
||||
* University may not be used to endorse or promote products derived
|
||||
* from this software without specific prior written permission. This
|
||||
* software is provided ``as is'' without express or implied warranty.
|
||||
*/
|
||||
/* ACKNOWLEDGEMENTS:
|
||||
* This work was originally developed by the University of Michigan
|
||||
* (as part of U-MICH LDAP). Additional significant contributors
|
||||
* include:
|
||||
* Jong Hyuk Choi
|
||||
* Lynn Moss
|
||||
* Mikhail Sahalaev
|
||||
* Kurt D. Zeilenga
|
||||
*/
|
||||
|
||||
#include "portable.h"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,34 @@
|
|||
/* ldapwhoami.c -- a tool for asking the directory "Who Am I?" */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* Portions Copyright 1998-2003 Kurt D. Zeilenga.
|
||||
* Portions Copyright 1998-2001 Net Boolean Incorporated.
|
||||
* Portions Copyright 2001-2003 IBM Corporation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions Copyright (c) 1992-1996 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
* provided that this notice is preserved and that due credit is given
|
||||
* to the University of Michigan at Ann Arbor. The name of the
|
||||
* University may not be used to endorse or promote products derived
|
||||
* from this software without specific prior written permission. This
|
||||
* software is provided ``as is'' without express or implied warranty.
|
||||
*/
|
||||
/* ACKNOWLEDGEMENTS:
|
||||
* This work was originally developed by Kurt D. Zeilenga for inclusion
|
||||
* in OpenLDAP Software based, in part, on other client tools.
|
||||
*/
|
||||
|
||||
#include "portable.h"
|
||||
|
|
|
|||
38
configure.in
38
configure.in
|
|
@ -1,14 +1,19 @@
|
|||
dnl $OpenLDAP$
|
||||
dnl This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
dnl
|
||||
dnl Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
dnl All rights reserved.
|
||||
dnl
|
||||
dnl Copyright 1998-2003 The OpenLDAP Foundation. All Rights Reserved.
|
||||
dnl
|
||||
dnl Redistribution and use in source and binary forms, with or without
|
||||
dnl modification, are permitted only as authorized by the OpenLDAP
|
||||
dnl Public License. A copy of this license is available at
|
||||
dnl http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
dnl top-level directory of the distribution.
|
||||
dnl Public License.
|
||||
dnl
|
||||
dnl A copy of this license is available in the file LICENSE in the
|
||||
dnl top-level directory of the distribution or, alternatively, at
|
||||
dnl <http://www.OpenLDAP.org/license.html>.
|
||||
dnl
|
||||
dnl ----------------------------------------------------------------
|
||||
dnl
|
||||
dnl Redefine AC_INIT_BINSH to provide RCS IDs and copyright notice
|
||||
dnl at top of generated configure script. Prints simple copyright.
|
||||
define([AC_INIT_BINSH],
|
||||
|
|
@ -16,15 +21,20 @@ define([AC_INIT_BINSH],
|
|||
# $]OpenLDAP[$
|
||||
# from] translit([$OpenLDAP$], $")] [
|
||||
|
||||
# Copyright 1998-2003 The OpenLDAP Foundation. All Rights Reserved.
|
||||
#
|
||||
# This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
#
|
||||
# Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted only as authorized by the OpenLDAP
|
||||
# Public License. A copy of this license is available at
|
||||
# http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
# top-level directory of the distribution.
|
||||
# Public License.
|
||||
#
|
||||
# A copy of this license is available in the file LICENSE in the
|
||||
# top-level directory of the distribution or, alternatively, at
|
||||
# <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
echo "Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved."
|
||||
echo "Copyright 1998-2003 The OpenLDAP Foundation. All rights reserved."
|
||||
echo " Restrictions apply, see COPYRIGHT and LICENSE files."
|
||||
])dnl
|
||||
dnl ----------------------------------------------------------------
|
||||
|
|
@ -508,7 +518,6 @@ AC_MSG_RESULT(done)
|
|||
dnl ----------------------------------------------------------------
|
||||
dnl Initialize vars
|
||||
LDAP_LIBS=
|
||||
LDIF_LIBS=
|
||||
LDBM_LIBS=
|
||||
LTHREAD_LIBS=
|
||||
LUTIL_LIBS=
|
||||
|
|
@ -2232,7 +2241,7 @@ if test $ol_with_fetch != no ; then
|
|||
OL_LIB_FETCH
|
||||
|
||||
if test $ol_cv_lib_fetch != no ; then
|
||||
LDIF_LIBS="$LDIF_LIBS $ol_link_fetch"
|
||||
LUTIL_LIBS="$LUTIL_LIBS $ol_link_fetch"
|
||||
ol_link_fetch=freebsd
|
||||
|
||||
elif test $ol_with_fetch != auto ; then
|
||||
|
|
@ -2808,7 +2817,6 @@ AC_SUBST(BUILD_SLAPD)
|
|||
AC_SUBST(BUILD_SLURPD)
|
||||
|
||||
AC_SUBST(LDAP_LIBS)
|
||||
AC_SUBST(LDIF_LIBS)
|
||||
AC_SUBST(SLAPD_LIBS)
|
||||
AC_SUBST(SLURPD_LIBS)
|
||||
AC_SUBST(LDBM_LIBS)
|
||||
|
|
@ -2865,12 +2873,10 @@ clients/Makefile:build/top.mk:clients/Makefile.in:build/dir.mk \
|
|||
clients/tools/Makefile:build/top.mk:clients/tools/Makefile.in:build/rules.mk \
|
||||
include/Makefile:build/top.mk:include/Makefile.in \
|
||||
libraries/Makefile:build/top.mk:libraries/Makefile.in:build/dir.mk \
|
||||
libraries/libavl/Makefile:build/top.mk:libraries/libavl/Makefile.in:build/lib.mk:build/lib-static.mk \
|
||||
libraries/liblber/Makefile:build/top.mk:libraries/liblber/Makefile.in:build/lib.mk:build/lib-shared.mk \
|
||||
libraries/libldap/Makefile:build/top.mk:libraries/libldap/Makefile.in:build/lib.mk:build/lib-shared.mk \
|
||||
libraries/libldap_r/Makefile:build/top.mk:libraries/libldap_r/Makefile.in:build/lib.mk:build/lib-shared.mk \
|
||||
libraries/libldbm/Makefile:build/top.mk:libraries/libldbm/Makefile.in:build/lib.mk:build/lib-static.mk \
|
||||
libraries/libldif/Makefile:build/top.mk:libraries/libldif/Makefile.in:build/lib.mk:build/lib-static.mk \
|
||||
libraries/liblunicode/Makefile:build/top.mk:libraries/liblunicode/Makefile.in:build/lib.mk:build/lib-static.mk \
|
||||
libraries/liblutil/Makefile:build/top.mk:libraries/liblutil/Makefile.in:build/lib.mk:build/lib-static.mk \
|
||||
libraries/librewrite/Makefile:build/top.mk:libraries/librewrite/Makefile.in:build/lib.mk:build/lib-static.mk \
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
OpenLDAP Contributed Software README
|
||||
|
||||
OpenLDAP provides a number of freely-distributable LDAP software
|
||||
packages. Though distributed with OpenLDAP, they are not part of
|
||||
OpenLDAP. Some packages may be out of date. Each package in
|
||||
this directory has it's own use and redistribution restrictions
|
||||
as documented within the package.
|
||||
OpenLDAP Project provides a number of freely-distributable LDAP
|
||||
software packages. Though distributed with OpenLDAP Software, they
|
||||
are not part of OpenLDAP Software. Some packages may be out of
|
||||
date. Each package in this directory has it's own use and
|
||||
redistribution restrictions as documented within the package.
|
||||
|
||||
Current contributions:
|
||||
ldapc++
|
||||
|
|
|
|||
|
|
@ -1,10 +1,17 @@
|
|||
LDAP auxprop plugin for SASL-enabled servers.
|
||||
Copyright (C) 2002 by Howard Chu, hyc@symas.com
|
||||
Copyright (C) 2002,2003 by Howard Chu, hyc@symas.com
|
||||
|
||||
This software is an experimental proof-of-concept and is not intended for
|
||||
general use. It is licensed under the terms ofthe OpenLDAP license.
|
||||
This software is licensed under the terms of the OpenLDAP license.
|
||||
|
||||
The file ldapdb.c was written for Cyrus SASL 2.1.3 and OpenLDAP 2.1.3.
|
||||
Due to various bugs in the Cyrus source you should use Cyrus SASL 2.1.15
|
||||
or newer. You need at least Cyrus SASL 2.1.16 to use the auxprop-store
|
||||
functionality.
|
||||
|
||||
The version of ldapdb bundled with OpenLDAP 2.1.22 and older will work
|
||||
with all OpenLDAP releases 2.1.3 and up. The ldapdb in OpenLDAP 2.1.23
|
||||
uses a different LDAP request and requires the server to be 2.1.23 or newer.
|
||||
|
||||
It can be compiled by copying into the Cyrus SASL source tree, in the
|
||||
plugins subdirectory. No configuration or build script is provided.
|
||||
|
||||
|
|
@ -12,21 +19,21 @@ To compile, type "make ldapdb.lo". To link, you'll have to copy the
|
|||
link rule for one of the other plugins. Below is a sample on my Linux
|
||||
system:
|
||||
|
||||
/bin/sh ./libtool --mode=link gcc -Wall -W -g -O2 -L/usr/local/lib -Wl,-rpath,/usr/local/lib -module -export-dynamic -rpath /usr/lib/sasl2 -o libldapdb.la -version-info 2:4:0 ldapdb.lo -lldap -llber -lssl -lcrypto
|
||||
/bin/sh ../libtool --mode=link gcc -Wall -W -g -O2 -L/usr/local/lib -Wl,-rpath,/usr/local/lib -module -export-dynamic -rpath /usr/lib/sasl2 -o libldapdb.la -version-info 2:4:0 ldapdb.lo -lldap -llber -lssl -lcrypto
|
||||
|
||||
Once installed, you need to add some config items to the SASL server's
|
||||
config file in /usr/lib/sasl2. For example:
|
||||
|
||||
ldapdb_uri: ldapi://
|
||||
ldapdb_uri: ldap://ldap.example.com
|
||||
ldapdb_id: root
|
||||
ldapdb_pw: secret
|
||||
ldapdb_mech: PLAIN
|
||||
ldapdb_mech: DIGEST-MD5
|
||||
|
||||
This config assumes an LDAP server on the same machine as the server
|
||||
that is using SASL. The LDAP server must be configured to map the SASL
|
||||
authcId "root" into a DN that has proxy authorization privileges to
|
||||
every account that is allowed to login to this server. (See the OpenLDAP
|
||||
Admin Guide for details.)
|
||||
Admin Guide section 10 for details.)
|
||||
|
||||
Unlike other LDAP-enabled plugins for other services that are common
|
||||
on the web, this plugin does not require you to configure DN search
|
||||
|
|
@ -35,7 +42,7 @@ mapping to be configured on the target slapd. This approach keeps the
|
|||
LDAP-specific configuration details in one place, the slapd.conf, and
|
||||
makes the configuration of remote services much simpler.
|
||||
|
||||
One additional keyword "ldapdb_rc" may be specified in the config file.
|
||||
An additional keyword "ldapdb_rc" may be specified in the config file.
|
||||
The filename specified here will be put into the server's LDAPRC
|
||||
environment variable, and libldap-specific config options may be set
|
||||
in that ldaprc file. The main purpose behind this option is to allow
|
||||
|
|
@ -43,11 +50,22 @@ a client TLS certificate to be configured, so that SASL/EXTERNAL may
|
|||
be used between the SASL server and the LDAP server. This is the most
|
||||
optimal way to use this plugin when the servers are on separate machines.
|
||||
|
||||
This plugin likely has very poor performance. You'll need something
|
||||
better for a real production environment. Please send feedback via the
|
||||
openldap-software mailing list for now.
|
||||
Note: this plugin is not for use with slapd itself. When OpenLDAP is
|
||||
built with SASL support, slapd uses its own internal auxprop module.
|
||||
By default, without configuring anything else, slapd will fail to load
|
||||
the ldapdb module when it's present. This is as it should be. If you
|
||||
don't like the "auxpropfunc: error -7" message that is sent to syslog
|
||||
by slapd, you can stop it by creating /usr/lib/sasl2/slapd.conf with:
|
||||
|
||||
-- Howard Chu, 2002-07-12
|
||||
auxprop_plugin: slapd
|
||||
|
||||
which will force the SASL library to ignore all other auxprop modules.
|
||||
|
||||
This plugin has been in use for over a year at many sites with good
|
||||
results. If you have questions or problems, please send feedback via
|
||||
the openldap-software mailing list.
|
||||
|
||||
-- Howard Chu
|
||||
|
||||
Update... With OpenLDAP 2.1.13 you can use SASL/EXTERNAL on ldapi://.
|
||||
This is fast and secure, and needs no username or password to be stored.
|
||||
|
|
@ -64,9 +82,9 @@ sasl-regexp uidNumber=(.*)\\+gidNumber=(.*),cn=peercred,cn=external,cn=auth
|
|||
sasl-regexp uid=(.*),cn=external,cn=auth
|
||||
ldap:///dc=example,dc=com??sub?(uid=$1)
|
||||
|
||||
One more update: you can use the ldapdb_starttls keyword to use the
|
||||
StartTLS extended operation on an LDAP session. This item may be set
|
||||
to either "try" or "demand", e.g.:
|
||||
Update... With OpenLDAP 2.1.23 you can use the ldapdb_starttls keyword
|
||||
to use the StartTLS extended operation on an LDAP session. This item
|
||||
may be set to either "try" or "demand", e.g.:
|
||||
|
||||
ldapdb_uri: ldap://ldap.example.com
|
||||
ldapdb_starttls: try
|
||||
|
|
|
|||
|
|
@ -1,22 +1,14 @@
|
|||
/* $OpenLDAP$ */
|
||||
/* SASL LDAP auxprop implementation
|
||||
* Copyright (C) 2002,2003 Howard Chu, All rights reserved. <hyc@symas.com>
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose
|
||||
* on any computer system, and to alter it and redistribute it, subject
|
||||
* to the following restrictions:
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* 1. The author is not responsible for the consequences of use of this
|
||||
* software, no matter how awful, even if they arise from flaws in it.
|
||||
*
|
||||
* 2. The origin of this software must not be misrepresented, either by
|
||||
* explicit claim or by omission. Since few users ever read sources,
|
||||
* credits should appear in the documentation.
|
||||
*
|
||||
* 3. Altered versions must be plainly marked as such, and must not be
|
||||
* misrepresented as being the original software. Since few users
|
||||
* ever read sources, credits should appear in the documentation.
|
||||
*
|
||||
* 4. This notice may not be removed or altered.
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
@ -27,6 +19,9 @@
|
|||
#include "saslutil.h"
|
||||
#include "saslplug.h"
|
||||
|
||||
#define SASL_VERSION_FULL ((SASL_VERSION_MAJOR << 16) |\
|
||||
(SASL_VERSION_MINOR << 8) |SASL_VERSION_STEP)
|
||||
|
||||
#include "plugin_common.h"
|
||||
|
||||
#include <ldap.h>
|
||||
|
|
@ -41,16 +36,11 @@ typedef struct ldapctx {
|
|||
int use_tls; /* Issue StartTLS request? */
|
||||
} ldapctx;
|
||||
|
||||
typedef struct gluectx {
|
||||
ldapctx *lc;
|
||||
sasl_server_params_t *lp;
|
||||
} gluectx;
|
||||
|
||||
static int ldapdb_interact(LDAP *ld, unsigned flags __attribute__((unused)),
|
||||
void *def, void *inter)
|
||||
{
|
||||
sasl_interact_t *in = inter;
|
||||
gluectx *gc = def;
|
||||
ldapctx *ctx = def;
|
||||
struct berval p;
|
||||
|
||||
for (;in->id != SASL_CB_LIST_END;in++)
|
||||
|
|
@ -63,10 +53,10 @@ static int ldapdb_interact(LDAP *ld, unsigned flags __attribute__((unused)),
|
|||
if (p.bv_val) p.bv_len = strlen(p.bv_val);
|
||||
break;
|
||||
case SASL_CB_AUTHNAME:
|
||||
p = gc->lc->id;
|
||||
p = ctx->id;
|
||||
break;
|
||||
case SASL_CB_PASS:
|
||||
p = gc->lc->pw;
|
||||
p = ctx->pw;
|
||||
break;
|
||||
}
|
||||
if (p.bv_val)
|
||||
|
|
@ -78,6 +68,67 @@ static int ldapdb_interact(LDAP *ld, unsigned flags __attribute__((unused)),
|
|||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
||||
typedef struct connparm {
|
||||
LDAP *ld;
|
||||
LDAPControl c;
|
||||
LDAPControl *ctrl[2];
|
||||
struct berval *dn;
|
||||
} connparm;
|
||||
|
||||
static int ldapdb_connect(ldapctx *ctx, sasl_server_params_t *sparams,
|
||||
const char *user, unsigned ulen, connparm *cp)
|
||||
{
|
||||
int i;
|
||||
char *authzid;
|
||||
|
||||
if((i=ldap_initialize(&cp->ld, ctx->uri))) {
|
||||
return i;
|
||||
}
|
||||
|
||||
authzid = sparams->utils->malloc(ulen + sizeof("u:"));
|
||||
if (!authzid) {
|
||||
return LDAP_NO_MEMORY;
|
||||
}
|
||||
strcpy(authzid, "u:");
|
||||
strcpy(authzid+2, user);
|
||||
cp->c.ldctl_oid = LDAP_CONTROL_PROXY_AUTHZ;
|
||||
cp->c.ldctl_value.bv_val = authzid;
|
||||
cp->c.ldctl_value.bv_len = ulen + 2;
|
||||
cp->c.ldctl_iscritical = 1;
|
||||
|
||||
i = LDAP_VERSION3;
|
||||
ldap_set_option(cp->ld, LDAP_OPT_PROTOCOL_VERSION, &i);
|
||||
|
||||
/* If TLS is set and it fails, continue or bail out as requested */
|
||||
if (ctx->use_tls && (i=ldap_start_tls_s(cp->ld, NULL, NULL)) != LDAP_SUCCESS
|
||||
&& ctx->use_tls > 1) {
|
||||
sparams->utils->free(authzid);
|
||||
return i;
|
||||
}
|
||||
|
||||
i = ldap_sasl_interactive_bind_s(cp->ld, NULL, ctx->mech.bv_val, NULL,
|
||||
NULL, LDAP_SASL_QUIET, ldapdb_interact, ctx);
|
||||
if (i != LDAP_SUCCESS) {
|
||||
sparams->utils->free(authzid);
|
||||
return i;
|
||||
}
|
||||
|
||||
cp->ctrl[0] = &cp->c;
|
||||
cp->ctrl[1] = NULL;
|
||||
i = ldap_whoami_s(cp->ld, &cp->dn, cp->ctrl, NULL);
|
||||
if (i == LDAP_SUCCESS && cp->dn) {
|
||||
if (!cp->dn->bv_val || strncmp(cp->dn->bv_val, "dn:", 3)) {
|
||||
ber_bvfree(cp->dn);
|
||||
cp->dn = NULL;
|
||||
i = LDAP_INVALID_SYNTAX;
|
||||
} else {
|
||||
cp->c.ldctl_value = *(cp->dn);
|
||||
}
|
||||
}
|
||||
sparams->utils->free(authzid);
|
||||
return i;
|
||||
}
|
||||
|
||||
static void ldapdb_auxprop_lookup(void *glob_context,
|
||||
sasl_server_params_t *sparams,
|
||||
unsigned flags,
|
||||
|
|
@ -85,14 +136,12 @@ static void ldapdb_auxprop_lookup(void *glob_context,
|
|||
unsigned ulen)
|
||||
{
|
||||
ldapctx *ctx = glob_context;
|
||||
connparm cp;
|
||||
int ret, i, n, *aindx;
|
||||
const struct propval *pr;
|
||||
LDAP *ld = NULL;
|
||||
gluectx gc;
|
||||
struct berval *dn = NULL, **bvals;
|
||||
struct berval **bvals;
|
||||
LDAPMessage *msg, *res;
|
||||
char **attrs = NULL, *authzid = NULL;
|
||||
LDAPControl c, *ctrl[2];
|
||||
char **attrs = NULL;
|
||||
|
||||
if(!ctx || !sparams || !user) return;
|
||||
|
||||
|
|
@ -128,56 +177,23 @@ static void ldapdb_auxprop_lookup(void *glob_context,
|
|||
n++;
|
||||
}
|
||||
attrs[n] = NULL;
|
||||
|
||||
if(ldap_initialize(&ld, ctx->uri)) {
|
||||
sparams->utils->free(attrs);
|
||||
return;
|
||||
|
||||
if(ldapdb_connect(ctx, sparams, user, ulen, &cp)) {
|
||||
goto done;
|
||||
}
|
||||
|
||||
authzid = sparams->utils->malloc(ulen + sizeof("u:"));
|
||||
if (!authzid) goto done;
|
||||
strcpy(authzid, "u:");
|
||||
strcpy(authzid+2, user);
|
||||
c.ldctl_oid = LDAP_CONTROL_PROXY_AUTHZ;
|
||||
c.ldctl_value.bv_val = authzid;
|
||||
c.ldctl_value.bv_len = ulen + 2;
|
||||
c.ldctl_iscritical = 1;
|
||||
|
||||
i = LDAP_VERSION3;
|
||||
ret = ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, &i);
|
||||
|
||||
/* If TLS is set and it fails, continue or bail out as requested */
|
||||
if (ctx->use_tls && ldap_start_tls_s(ld, NULL, NULL) != LDAP_SUCCESS) {
|
||||
if (ctx->use_tls > 1) goto done;
|
||||
}
|
||||
|
||||
gc.lc = ctx;
|
||||
gc.lp = sparams;
|
||||
ret = ldap_sasl_interactive_bind_s(ld, NULL, ctx->mech.bv_val, NULL, NULL,
|
||||
LDAP_SASL_QUIET, ldapdb_interact, &gc);
|
||||
if (ret != LDAP_SUCCESS) goto done;
|
||||
|
||||
ctrl[0] = &c;
|
||||
ctrl[1] = NULL;
|
||||
ret = ldap_whoami_s(ld, &dn, ctrl, NULL);
|
||||
if (ret != LDAP_SUCCESS || !dn) goto done;
|
||||
|
||||
if (!dn->bv_val || strncmp(dn->bv_val, "dn:", 3)) {
|
||||
ber_bvfree(dn);
|
||||
goto done;
|
||||
}
|
||||
ret = ldap_search_s(ld, dn->bv_val+3, LDAP_SCOPE_BASE, "(objectclass=*)",
|
||||
attrs, 0, &res);
|
||||
ber_bvfree(dn);
|
||||
ret = ldap_search_ext_s(cp.ld, cp.dn->bv_val+3, LDAP_SCOPE_BASE,
|
||||
"(objectclass=*)", attrs, 0, cp.ctrl, NULL, NULL, 1, &res);
|
||||
ber_bvfree(cp.dn);
|
||||
|
||||
if (ret != LDAP_SUCCESS) goto done;
|
||||
|
||||
for(msg=ldap_first_message(ld, res); msg; msg=ldap_next_message(ld, msg))
|
||||
for(msg=ldap_first_message(cp.ld, res); msg; msg=ldap_next_message(cp.ld, msg))
|
||||
{
|
||||
if (ldap_msgtype(msg) != LDAP_RES_SEARCH_ENTRY) continue;
|
||||
for (i=0; i<n; i++)
|
||||
{
|
||||
bvals = ldap_get_values_len(ld, msg, attrs[i]);
|
||||
bvals = ldap_get_values_len(cp.ld, msg, attrs[i]);
|
||||
if (!bvals) continue;
|
||||
if (pr[aindx[i]].values)
|
||||
sparams->utils->prop_erase(sparams->propctx, pr[aindx[i]].name);
|
||||
|
|
@ -189,11 +205,64 @@ static void ldapdb_auxprop_lookup(void *glob_context,
|
|||
ldap_msgfree(res);
|
||||
|
||||
done:
|
||||
if(authzid) sparams->utils->free(authzid);
|
||||
if(attrs) sparams->utils->free(attrs);
|
||||
if(ld) ldap_unbind(ld);
|
||||
if(cp.ld) ldap_unbind(cp.ld);
|
||||
}
|
||||
|
||||
#if SASL_VERSION_FULL >= 0x020110
|
||||
static int ldapdb_auxprop_store(void *glob_context,
|
||||
sasl_server_params_t *sparams,
|
||||
struct propctx *prctx,
|
||||
const char *user,
|
||||
unsigned ulen)
|
||||
{
|
||||
ldapctx *ctx = glob_context;
|
||||
connparm cp;
|
||||
const struct propval *pr;
|
||||
int i, n;
|
||||
LDAPMod **mods;
|
||||
|
||||
/* just checking if we are enabled */
|
||||
if (!prctx) return SASL_OK;
|
||||
|
||||
if (!sparams || !user) return SASL_BADPARAM;
|
||||
|
||||
pr = sparams->utils->prop_get(prctx);
|
||||
if (!pr) return SASL_BADPARAM;
|
||||
|
||||
for (n=0; pr[n].name; n++);
|
||||
if (!n) return SASL_BADPARAM;
|
||||
|
||||
mods = sparams->utils->malloc((n+1) * sizeof(LDAPMod*) + n * sizeof(LDAPMod));
|
||||
if (!mods) return SASL_NOMEM;
|
||||
|
||||
if((i=ldapdb_connect(ctx, sparams, user, ulen, &cp)) == 0) {
|
||||
|
||||
for (i=0; i<n; i++) {
|
||||
mods[i] = (LDAPMod *)((char *)(mods+n+1) + i * sizeof(LDAPMod));
|
||||
mods[i]->mod_op = LDAP_MOD_REPLACE;
|
||||
mods[i]->mod_type = (char *)pr[i].name;
|
||||
mods[i]->mod_values = (char **)pr[i].values;
|
||||
}
|
||||
mods[i] = NULL;
|
||||
|
||||
i = ldap_modify_ext_s(cp.ld, cp.dn->bv_val+3, mods, cp.ctrl, NULL);
|
||||
ber_bvfree(cp.dn);
|
||||
}
|
||||
|
||||
sparams->utils->free(mods);
|
||||
|
||||
if (i) {
|
||||
sparams->utils->seterror(sparams->utils->conn, 0,
|
||||
ldap_err2string(i));
|
||||
if (i == LDAP_NO_MEMORY) i = SASL_NOMEM;
|
||||
else i = SASL_FAIL;
|
||||
}
|
||||
if (cp.ld) ldap_unbind(cp.ld);
|
||||
return i;
|
||||
}
|
||||
#endif /* SASL_VERSION_FULL >= 2.1.16 */
|
||||
|
||||
static void ldapdb_auxprop_free(void *glob_ctx, const sasl_utils_t *utils)
|
||||
{
|
||||
utils->free(glob_ctx);
|
||||
|
|
@ -204,9 +273,13 @@ static sasl_auxprop_plug_t ldapdb_auxprop_plugin = {
|
|||
0, /* spare */
|
||||
NULL, /* glob_context */
|
||||
ldapdb_auxprop_free, /* auxprop_free */
|
||||
ldapdb_auxprop_lookup, /* auxprop_lookup */
|
||||
ldapdb_auxprop_lookup, /* auxprop_lookup */
|
||||
ldapdb, /* name */
|
||||
NULL /* spare */
|
||||
#if SASL_VERSION_FULL >=0x020110
|
||||
ldapdb_auxprop_store /* spare if <2.1.16*/
|
||||
#else
|
||||
NULL
|
||||
#endif
|
||||
};
|
||||
|
||||
static int ldapdb_auxprop_plug_init(const sasl_utils_t *utils,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,14 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||
##
|
||||
## doc Makefile.in for OpenLDAP
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
SUBDIRS= man
|
||||
|
|
|
|||
26
doc/devel/template.c
Normal file
26
doc/devel/template.c
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/* template.c -- example OpenLDAP source file */
|
||||
/* $OpenLDAP$ */
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright YEAR The OpenLDAP Foundation.
|
||||
* Portions Copyright YEAR Secondary Rights Holder.
|
||||
* Portions Copyright YEAR Another Rights Holder.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Additional (custom) notices (where necessary).
|
||||
* Please consult Kurt Zeilenga <kurt@openldap.org> before adding
|
||||
* additional notices.
|
||||
*/
|
||||
/* ACKNOWLEDGEMENTS:
|
||||
* This work was initially developed by John Doe (of FOO Corporation).
|
||||
* Additional significant contributors include:
|
||||
* Jane Doe of BAR, Inc. (added this and that)
|
||||
*/
|
||||
|
|
@ -1,7 +1,14 @@
|
|||
# man Makefile.in for OpenLDAP
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## man Makefile.in for OpenLDAP
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
SUBDIRS= man1 man3 man5 man8
|
||||
|
|
|
|||
|
|
@ -1,7 +1,14 @@
|
|||
# man1 Makefile.in for OpenLDAP
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## man1 Makefile.in for OpenLDAP
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
MANSECT=1
|
||||
|
|
|
|||
|
|
@ -1,7 +1,14 @@
|
|||
# man3 Makefile.in for OpenLDAP
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## man3 Makefile.in for OpenLDAP
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
MANSECT=3
|
||||
|
|
|
|||
|
|
@ -1,7 +1,14 @@
|
|||
# man5 Makefile.in for OpenLDAP
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## man5 Makefile.in for OpenLDAP
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
MANSECT=5
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ The default is 0600.
|
|||
.TP
|
||||
.B searchstack <depth>
|
||||
Specify the depth of the stack used for search filter evaluation.
|
||||
Search filters are evaluated on a stack to accomodate nested AND / OR
|
||||
Search filters are evaluated on a stack to accommodate nested AND / OR
|
||||
clauses. An individual stack is assigned to each server thread.
|
||||
The depth of the stack determines how complex a filter can be
|
||||
evaluated without requiring any additional memory allocation. Filters that
|
||||
|
|
@ -130,6 +130,19 @@ Specify a key for a shared memory BDB environment. By default the
|
|||
BDB environment uses memory mapped files. If a non-zero value is
|
||||
specified, it will be used as the key to identify a shared memory
|
||||
region that will house the environment.
|
||||
.TP
|
||||
.B sessionlog <sid> <limit>
|
||||
Specify a session log store for the syncrepl replication provider
|
||||
site which contains information on the entries that have been scoped
|
||||
out of the content of the replication session identified by {{EX:<sid>}}.
|
||||
The number of entries in the session log store is limited
|
||||
by {{EX:<limit>}}. Excessive entries are removed from the store
|
||||
in the FIFO order. Both {{EX:<sid>}} and {{EX:<limit>}} are
|
||||
non-negative integers. {{EX:<sid>}} has no more than three digits.
|
||||
Refer to the "OpenLDAP Administrator's Guide" for detailed information
|
||||
on setting up a replicated slapd directory service using the syncrepl
|
||||
replication engine and the session log store.
|
||||
.B
|
||||
.SH FILES
|
||||
.TP
|
||||
ETCDIR/slapd.conf
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ allow (default none).
|
|||
.B bind_v2
|
||||
allows acceptance of LDAPv2 bind requests. Note that
|
||||
.BR slapd (8)
|
||||
does not truely implement LDAPv2 (RFC 1777), now Historic (RFC 3494).
|
||||
does not truly implement LDAPv2 (RFC 1777), now Historic (RFC 3494).
|
||||
.B bind_anon_cred
|
||||
allows anonymous bind when credentials are not empty (e.g.
|
||||
when DN is empty).
|
||||
|
|
@ -316,7 +316,7 @@ with
|
|||
.B exact
|
||||
or
|
||||
.B base
|
||||
(which are synonims), to require an exact match; with
|
||||
(which are synonyms), to require an exact match; with
|
||||
.BR one,
|
||||
to require exactly one level of depth match; with
|
||||
.BR subtree,
|
||||
|
|
@ -350,7 +350,7 @@ where
|
|||
is the number of seconds slapd will spend answering a search request.
|
||||
If no time limit is explicitly requested by the client, the
|
||||
.BR soft
|
||||
limit is used; if the requested time limit exceedes the
|
||||
limit is used; if the requested time limit exceeds the
|
||||
.BR hard
|
||||
limit, an "Administrative limit exceeded" is returned.
|
||||
If the
|
||||
|
|
@ -375,7 +375,7 @@ is the maximum number of entries slapd will return answering a search
|
|||
request.
|
||||
If no size limit is explicitly requested by the client, the
|
||||
.BR soft
|
||||
limit is used; if the requested size limit exceedes the
|
||||
limit is used; if the requested size limit exceeds the
|
||||
.BR hard
|
||||
limit, an "Administrative limit exceeded" is returned.
|
||||
If the
|
||||
|
|
@ -729,7 +729,7 @@ appear in the file, stopping at the first successful match.
|
|||
Used to specify Cyrus SASL security properties.
|
||||
The
|
||||
.B none
|
||||
flag (without any other properities) causes the flag properites
|
||||
flag (without any other properties) causes the flag properties
|
||||
default, "noanonymous,noplain", to be cleared.
|
||||
The
|
||||
.B noplain
|
||||
|
|
@ -999,7 +999,7 @@ createTimestamp attributes for entries. By default, lastmod is on.
|
|||
.TP
|
||||
.B maxderefdepth <depth>
|
||||
Specifies the maximum number of aliases to dereference when trying to
|
||||
resolve an entry, used to avoid inifinite alias loops. The default is 1.
|
||||
resolve an entry, used to avoid infinite alias loops. The default is 1.
|
||||
.TP
|
||||
.B readonly on | off
|
||||
This option puts the database into "read-only" mode. Any attempts to
|
||||
|
|
@ -1098,7 +1098,7 @@ password can only be set if the rootdn is within the namingContext
|
|||
This option accepts all RFC 2307 userPassword formats known to
|
||||
the server (see
|
||||
.B password-hash
|
||||
desription) as well as cleartext.
|
||||
description) as well as cleartext.
|
||||
.BR slappasswd (8)
|
||||
may be used to generate a hash of a password. Cleartext
|
||||
and \fB{CRYPT}\fP passwords are not recommended. If empty
|
||||
|
|
@ -1123,6 +1123,123 @@ associated with a single namingContext should have identical rootdns.
|
|||
Behavior of other LDAP operations is unaffected by this setting. In
|
||||
particular, it is not possible to use moddn to move an entry from
|
||||
one subordinate to another subordinate within the namingContext.
|
||||
.HP
|
||||
.hy 0
|
||||
.B syncrepl rid=<replica ID>
|
||||
.B provider=ldap[s]://<hostname>[:port]
|
||||
.B [type=refreshOnly|refreshAndPersist]
|
||||
.B [interval=dd:hh:mm:ss]
|
||||
.B [searchbase=<base DN>]
|
||||
.B [filter=<filter str>]
|
||||
.B [scope=sub|one|base]
|
||||
.B [attrs=<attr list>]
|
||||
.B [attrsonly]
|
||||
.B [sizelimit=<limit>]
|
||||
.B [timelimit=<limit>]
|
||||
.B [schemachecking=on|off]
|
||||
.B [updatedn=<dn>]
|
||||
.B [bindmethod=simple|sasl]
|
||||
.B [binddn=<dn>]
|
||||
.B [saslmech=<mech>]
|
||||
.B [authcid=<identity>]
|
||||
.B [authzid=<identity>]
|
||||
.B [credentials=<passwd>]
|
||||
.B [realm=<realm>]
|
||||
.B [secprops=<properties>]
|
||||
.RS
|
||||
Specify the current database as a replica which is kept up-to-date with the
|
||||
master content by establishing the current
|
||||
.BR slapd (8)
|
||||
as a replication consumer site running a
|
||||
.B syncrepl
|
||||
replication engine.
|
||||
The replica content is kept synchronized to the master content using
|
||||
the LDAP Content Synchronization protocol. Refer to the
|
||||
"OpenLDAP Administrator's Guide" for detailed information on
|
||||
setting up a replicated
|
||||
.B slapd
|
||||
directory service using the
|
||||
.B syncrepl
|
||||
replication engine.
|
||||
.B rid
|
||||
identifies the current
|
||||
.B syncrepl
|
||||
directive within the replication consumer site.
|
||||
It is a non-negative integer having no more than three digits.
|
||||
.B provider
|
||||
specifies the replication provider site containing the master content
|
||||
as an LDAP URI. If <port> is not given, the standard LDAP port number
|
||||
(389 or 636) is used. The content of the
|
||||
.B syncrepl
|
||||
replica is defined using a search
|
||||
specification as its result set. The consumer
|
||||
.B slapd
|
||||
will send search requests to the provider
|
||||
.B slapd
|
||||
according to the search specification. The search specification includes
|
||||
.B searchbase, scope, filter, attrs, attrsonly, sizelimit,
|
||||
and
|
||||
.B timelimit
|
||||
parameters as in the normal search specification.
|
||||
The search specification for the LDAP Content Synchronization operation
|
||||
has the same value syntax and the same default values as in the
|
||||
.BR ldapsearch (1)
|
||||
client search tool.
|
||||
The LDAP Content Synchronization protocol has two operation types.
|
||||
In the
|
||||
.B refreshOnly
|
||||
operation, the next synchronization search operation
|
||||
is periodically rescheduled at an interval time (specified by
|
||||
.B interval
|
||||
parameter; 1 day by default)
|
||||
after each synchronization operation finishes.
|
||||
In the
|
||||
.B refreshAndPersist
|
||||
operation, a synchronization search remains persistent in the provider slapd.
|
||||
Further updates to the master replica will generate
|
||||
.B searchResultEntry
|
||||
to the consumer slapd as the search responses to the persistent
|
||||
synchronization search. The schema checking can be enforced at the LDAP Sync
|
||||
consumer site by turning on the
|
||||
.B schemachecking
|
||||
parameter. The default is off.
|
||||
The
|
||||
.B updatedn
|
||||
parameter specifies the DN in the consumer site
|
||||
which is allowed to make changes to the replica.
|
||||
The DN should have read/write access to the replica database.
|
||||
A
|
||||
.B bindmethod
|
||||
of
|
||||
.B simple
|
||||
requires the options
|
||||
.B binddn
|
||||
and
|
||||
.B credentials
|
||||
and should only be used when adequate security services
|
||||
(e.g. TLS or IPSEC) are in place.
|
||||
A
|
||||
.B bindmethod
|
||||
of
|
||||
.B sasl
|
||||
requires the option
|
||||
.B saslmech.
|
||||
Depending on the mechanism, an authentication identity and/or
|
||||
credentials can be specified using
|
||||
.B authcid
|
||||
and
|
||||
.B credentials.
|
||||
The
|
||||
.B authzid
|
||||
parameter may be used to specify an authorization identity.
|
||||
Specific security properties (as with the
|
||||
.B sasl-secprops
|
||||
keyword above) for a SASL bind can be set with the
|
||||
.B secprops
|
||||
option. A non default SASL realm can be set with the
|
||||
.B realm
|
||||
option.
|
||||
.RE
|
||||
.TP
|
||||
.B updatedn <dn>
|
||||
This option is only applicable in a slave
|
||||
|
|
@ -1137,104 +1254,7 @@ Specify the referral to pass back when
|
|||
.BR slapd (8)
|
||||
is asked to modify a replicated local database.
|
||||
If specified multiple times, each url is provided.
|
||||
.HP
|
||||
.hy 0
|
||||
.B syncrepl id=<replica ID>
|
||||
.B provider=ldap[s]://<hostname>[:port]
|
||||
.B [updatedn=<dn>]
|
||||
.B [binddn=<dn>]
|
||||
.B [bindmethod=simple|sasl] [binddn=<simple DN>] [credentials=<simple passwd>]
|
||||
.B [saslmech=<SASL mech>] [secprops=<properties>] [realm=<realm>]
|
||||
.B [authcId=<authentication ID>] [authzId=<authorization ID>]
|
||||
.B [searchbase=<base DN>]
|
||||
.B [filter=<filter str>]
|
||||
.B [attrs=<attr list>]
|
||||
.B [schemachecking=on|off]
|
||||
.B [scope=sub|one|base]
|
||||
.B [type=refreshOnly|refreshAndPersist]
|
||||
.B [interval=dd:hh:mm]
|
||||
.RS
|
||||
Specify an LDAP Sync replication session between the specified replication provider
|
||||
site and this database (a replication consumer).
|
||||
The replication consumer communicates with the replication provider to perform
|
||||
an initial population and the following periodic or persistent synchronizations.
|
||||
The LDAP Sync replication engine is based on the LDAP Content Sync protocol :
|
||||
a stateful, pull, incremental, and partial synchronization protocol which
|
||||
supports both polling and listening modes of operations.
|
||||
It currently supports entry-level synchronization.
|
||||
A directory server wide
|
||||
.B id
|
||||
uniquely identifies this LDAP Sync replication specification
|
||||
in the directory server instance. The specification of an LDAP Sync replication
|
||||
session is based on the search specification which defines the replica content.
|
||||
The replicated entries are those directory entries of the subtree under the
|
||||
.B searchbase
|
||||
with the
|
||||
.B scope
|
||||
that match the
|
||||
.B filter.
|
||||
Only the attributes specified in the
|
||||
.B attrs
|
||||
are included in the replica content.
|
||||
There are two synchronization modes depending on the incremental
|
||||
synchronization semantics after the intial content population.
|
||||
The incremental synchronization is performed periodically with
|
||||
the
|
||||
.B interval
|
||||
when the sync
|
||||
.B type
|
||||
is
|
||||
.B refreshOnly.
|
||||
Alternatively, the provider sends synchronization messages to the consumer
|
||||
upon updates to the replicated contents when the sync
|
||||
.B type
|
||||
is
|
||||
.B refreshAndPersist.
|
||||
The replication provider site is specified by
|
||||
.B provider
|
||||
as an LDAP URI.
|
||||
If
|
||||
.B schemachecking
|
||||
is
|
||||
.B on,
|
||||
every replicated entry will be checked for its schema
|
||||
when it is stored in the consumer replica.
|
||||
The consumer slapd should retrieve attributes of an entry
|
||||
that are required by the schema definition.
|
||||
If
|
||||
.B schemachecking
|
||||
is
|
||||
.B off,
|
||||
entries will be stored without checking the schema conformance.
|
||||
A
|
||||
.B bindmethod
|
||||
of
|
||||
.B simple
|
||||
requires the options
|
||||
.B binddn
|
||||
and
|
||||
.B credentials
|
||||
and should only be used when adequate security services (e.g. TLS or IPSEC) are in place.
|
||||
A
|
||||
.B bindmethod
|
||||
of
|
||||
.B sasl
|
||||
requires the option
|
||||
.B saslmech.
|
||||
Specific security properties (as with the
|
||||
.B sasl secprops
|
||||
keyword above) for a SASL bind can be set with the
|
||||
.B secprops
|
||||
option. A non default SASL realm can be set with the
|
||||
.B realm
|
||||
option.
|
||||
If the
|
||||
.B mechanism
|
||||
will use Kerberos, a kerberos instance should be given in
|
||||
.B authcId.
|
||||
.B updatedn
|
||||
specifies the DN used to update (subject to access controls) the
|
||||
replica at the consumer replica.
|
||||
|
||||
.SH DATABASE-SPECIFIC OPTIONS
|
||||
Each database may allow specific configuration options; they are
|
||||
documented separately in the backends' manual pages.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,14 @@
|
|||
# man8 Makefile.in for OpenLDAP
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## man8 Makefile.in for OpenLDAP
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
MANSECT=8
|
||||
|
|
|
|||
|
|
@ -170,6 +170,30 @@ any shell back-ends will run as the specified non-privileged user.
|
|||
will read the configuration file (the default if none is given with the
|
||||
\fI\-f\fP switch) and check its syntax, without opening any listener
|
||||
or database.
|
||||
.TP
|
||||
.BI \-c " cookie"
|
||||
This option provides a cookie for a syncrepl replication consumer.
|
||||
The cookie is a comma separated list of name=value pairs.
|
||||
Currently supported syncrepl cookie fields are
|
||||
.B csn,
|
||||
.B sid,
|
||||
and
|
||||
.B rid.
|
||||
.B csn
|
||||
is the commit sequence number of the master content at the provider site
|
||||
and represents the state of the content to which the replica content
|
||||
was synchronized most recently.
|
||||
.B sid
|
||||
is the identity of the session which this replication thread belongs to.
|
||||
The replication provider site may maintain a session history store
|
||||
for each replication session to reduce synchronization traffic.
|
||||
.B rid
|
||||
identifies a replication thread within a replication consumer site
|
||||
and is used to find the replication thread specification of
|
||||
.BR slapd.conf (5)
|
||||
having the same
|
||||
.B rid
|
||||
value as the cookie.
|
||||
.SH EXAMPLES
|
||||
To start
|
||||
.I slapd
|
||||
|
|
|
|||
|
|
@ -1,8 +1,17 @@
|
|||
# include Makefile.in for OpenLDAP
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
##
|
||||
## include Makefile.in for OpenLDAP
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
all-local: ldap_config.h FORCE
|
||||
|
||||
|
|
|
|||
|
|
@ -1,16 +1,19 @@
|
|||
/* avl.h - avl tree definitions */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions
|
||||
* Copyright (c) 1993 Regents of the University of Michigan.
|
||||
/* Portions Copyright (c) 1993 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
|
|
@ -20,7 +23,6 @@
|
|||
* software without specific prior written permission. This software
|
||||
* is provided ``as is'' without express or implied warranty.
|
||||
*/
|
||||
/* avl.h - avl tree definitions */
|
||||
|
||||
|
||||
#ifndef _AVL
|
||||
|
|
|
|||
|
|
@ -1,14 +1,19 @@
|
|||
/* getopt-compat.h -- getopt(3) compatibility header */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
/*
|
||||
* getopt(3) declarations
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,16 +1,18 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions
|
||||
* Copyright (c) 1990 Regents of the University of Michigan.
|
||||
/* Portions Copyright (c) 1990 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
|
|
|
|||
|
|
@ -1,17 +1,21 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
/*
|
||||
* lber_pvt.h - Header for ber_pvt_ functions. These are meant to be used
|
||||
* by the OpenLDAP distribution only.
|
||||
* lber_pvt.h - Header for ber_pvt_ functions.
|
||||
* These are meant to be internal to OpenLDAP Software.
|
||||
*/
|
||||
|
||||
#ifndef _LBER_PVT_H
|
||||
|
|
|
|||
|
|
@ -1,13 +1,16 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1,16 +1,18 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions
|
||||
* Copyright (c) 1990 Regents of the University of Michigan.
|
||||
/* Portions Copyright (c) 1990 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
|
|
|
|||
|
|
@ -1,13 +1,16 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* LDAP C Defines */
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,16 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1,16 +1,18 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions
|
||||
* Copyright (c) 1994 Regents of the University of Michigan.
|
||||
/* Portions Copyright (c) 1994 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
|
|
|
|||
|
|
@ -1,13 +1,16 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1,15 +1,18 @@
|
|||
/* ldap_int_thread.h - ldap internal thread wrappers header file */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* ldap_int_thread.h - ldap internal thread wrappers header file */
|
||||
|
||||
#ifndef _LDAP_INT_THREAD_H
|
||||
#define _LDAP_INT_THREAD_H
|
||||
|
|
|
|||
|
|
@ -1,16 +1,18 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions
|
||||
* Copyright (c) 1990 Regents of the University of Michigan.
|
||||
/* Portions Copyright (c) 1990 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
|
|
|
|||
|
|
@ -1,17 +1,20 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/*
|
||||
* ldap-pvt.h - Header for ldap_pvt_ functions. These are meant to be used
|
||||
* by the OpenLDAP distribution only.
|
||||
|
||||
/* ldap-pvt.h - Header for ldap_pvt_ functions.
|
||||
* These are meant to be internal to OpenLDAP Software.
|
||||
*/
|
||||
|
||||
#ifndef _LDAP_PVT_H
|
||||
|
|
|
|||
|
|
@ -1,15 +1,18 @@
|
|||
/* ldap_pvt_thread.h - ldap threads header file */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* ldap_pvt_thread.h - ldap threads header file NG */
|
||||
|
||||
#ifndef _LDAP_PVT_THREAD_H
|
||||
#define _LDAP_PVT_THREAD_H
|
||||
|
|
|
|||
|
|
@ -1,14 +1,18 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
/*
|
||||
* ldap_pvt_uc.h - Header for Unicode functions.
|
||||
* These are meant to be used by the OpenLDAP distribution only.
|
||||
|
|
|
|||
|
|
@ -1,17 +1,19 @@
|
|||
/*
|
||||
* Copyright 2001-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* ldap_queue.h -- queue macros */
|
||||
/* $OpenLDAP$ */
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 2001-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* stolen from FreeBSD for use in OpenLDAP */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright (c) 1991, 1993
|
||||
/* Copyright (c) 1991, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
@ -44,8 +46,13 @@
|
|||
*
|
||||
* @(#)queue.h 8.5 (Berkeley) 8/20/94
|
||||
* $FreeBSD: src/sys/sys/queue.h,v 1.32.2.5 2001/09/30 21:12:54 luigi Exp $
|
||||
*
|
||||
* See also: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
|
||||
*/
|
||||
/* ACKNOWLEDGEMENTS:
|
||||
* This work is derived from FreeBSD queue.h work. Adapted for use in
|
||||
* OpenLDAP Software by Kurt D. Zeilenga.
|
||||
*/
|
||||
/* See also: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change */
|
||||
|
||||
#ifndef _LDAP_QUEUE_H_
|
||||
#define _LDAP_QUEUE_H_
|
||||
|
|
|
|||
|
|
@ -1,13 +1,16 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
#ifndef LDAP_RQ_H
|
||||
|
|
|
|||
|
|
@ -1,16 +1,19 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/*
|
||||
* ldap-schema.h - Header for basic schema handling functions that can be
|
||||
|
||||
/* ldap-schema.h - Header for basic schema handling functions that can be
|
||||
* used by both clients and servers.
|
||||
* these routines should be renamed ldap_x_...
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,17 +1,18 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* $Novell: /ldap/src/cldap/include/ldap_utf8.h,v 1.3 2000/12/04 20:23:20 dsteck Exp $ */
|
||||
/******************************************************************************
|
||||
* This notice applies to changes, created by or for Novell, Inc.,
|
||||
/* This notice applies to changes, created by or for Novell, Inc.,
|
||||
* to preexisting works for which notices appear elsewhere in this file.
|
||||
*
|
||||
* Copyright (C) 2000 Novell, Inc. All Rights Reserved.
|
||||
|
|
@ -24,7 +25,11 @@
|
|||
* WORK OTHER THAN AS AUTHORIZED IN VERSION 2.0.1 OF THE OPENLDAP PUBLIC
|
||||
* LICENSE, OR OTHER PRIOR WRITTEN CONSENT FROM NOVELL, COULD SUBJECT THE
|
||||
* PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY.
|
||||
******************************************************************************/
|
||||
*/
|
||||
/* Note: A verbatim copy of version 2.0.1 of the OpenLDAP Public License
|
||||
* can be found in the file "build/LICENSE-2.0.1" in this distribution
|
||||
* of OpenLDAP Software.
|
||||
*/
|
||||
|
||||
#ifndef _LDAP_UTF8_H
|
||||
#define _LDAP_UTF8_H
|
||||
|
|
|
|||
|
|
@ -1,15 +1,19 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* ldbm.h - ldap dbm compatibility routine header file */
|
||||
/* $OpenLDAP$ */
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* ldbm.h - ldap dbm compatibility routine header file */
|
||||
|
||||
#ifndef _LDBM_H_
|
||||
#define _LDBM_H_
|
||||
|
|
|
|||
|
|
@ -1,16 +1,18 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions
|
||||
* Copyright (c) 1996 Regents of the University of Michigan.
|
||||
/* Portions Copyright (c) 1996 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
|
|
|
|||
|
|
@ -1,13 +1,16 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
#ifndef _LUTIL_H
|
||||
|
|
|
|||
|
|
@ -1,17 +1,18 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
/* See hash.c for explanation and copyright information. */
|
||||
|
||||
#ifndef _LUTIL_HASH_H_
|
||||
#define _LUTIL_HASH_H_
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,16 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
#ifndef _LUTIL_LDAP_H
|
||||
|
|
|
|||
|
|
@ -1,13 +1,17 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* $OpenLDAP$ */
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
/* File locking methods
|
||||
|
|
|
|||
|
|
@ -1,17 +1,18 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
/* See md5.c for explanation and copyright information. */
|
||||
|
||||
#ifndef _LUTIL_MD5_H_
|
||||
#define _LUTIL_MD5_H_
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,16 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
/* This version is based on:
|
||||
|
|
|
|||
|
|
@ -1,13 +1,16 @@
|
|||
/* include/portable.h.in. Generated automatically from configure.in by autoheader. */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
#ifndef _LDAP_PORTABLE_H
|
||||
|
|
|
|||
|
|
@ -1,12 +1,17 @@
|
|||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/*
|
||||
* Copyright IBM Corp. 1997,2002,2003
|
||||
/* $OpenLDAP$ */
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* Portions Copyright 1997,2002,2003 IBM Corporation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
#ifndef _SLAPI_PLUGIN_H
|
||||
|
|
|
|||
|
|
@ -1,16 +1,18 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions
|
||||
* Copyright (c) 1987 Regents of the University of California.
|
||||
/* Portions Copyright (c) 1987 Regents of the University of California.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
|
|
|
|||
|
|
@ -1,11 +1,23 @@
|
|||
# Libraries Makefile for OpenLDAP
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
##
|
||||
## Libraries Makefile for OpenLDAP
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
SUBDIRS= liblutil liblber \
|
||||
liblunicode libldif \
|
||||
SUBDIRS= \
|
||||
liblutil \
|
||||
liblber \
|
||||
liblunicode \
|
||||
libldap libldap_r \
|
||||
libavl libldbm librewrite
|
||||
libldbm \
|
||||
librewrite
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +0,0 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
##
|
||||
## LIBAVL
|
||||
##
|
||||
|
||||
SRCS = avl.c testavl.c
|
||||
XSRCS = version.c
|
||||
OBJS = avl.o
|
||||
|
||||
LDAP_INCDIR= ../../include
|
||||
LDAP_LIBDIR= ../../libraries
|
||||
|
||||
LIBRARY = libavl.a
|
||||
PROGRAMS = testavl
|
||||
XLIBS = $(LIBRARY) $(LDAP_LIBLBER_LA) $(LDAP_LIBLUTIL_A)
|
||||
|
||||
testavl: $(XLIBS) testavl.o
|
||||
$(LTLINK) -o $@ testavl.o $(LIBS)
|
||||
|
|
@ -1,137 +0,0 @@
|
|||
# Microsoft Developer Studio Project File - Name="libavl" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 5.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Static Library" 0x0104
|
||||
|
||||
CFG=libavl - Win32 Single Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "libavl.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "libavl.mak" CFG="libavl - Win32 Single Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "libavl - Win32 Release" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE "libavl - Win32 Debug" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE "libavl - Win32 Single Debug" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE "libavl - Win32 Single Release" (based on\
|
||||
"Win32 (x86) Static Library")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
|
||||
!IF "$(CFG)" == "libavl - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "Release"
|
||||
# PROP BASE Intermediate_Dir "Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "..\..\Release"
|
||||
# PROP Intermediate_Dir "..\..\Release\libavl"
|
||||
# PROP Target_Dir ""
|
||||
RSC=rc.exe
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||
# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo
|
||||
|
||||
!ELSEIF "$(CFG)" == "libavl - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "Debug"
|
||||
# PROP BASE Intermediate_Dir "Debug"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "..\..\Debug"
|
||||
# PROP Intermediate_Dir "..\..\Debug\libavl"
|
||||
# PROP Target_Dir ""
|
||||
RSC=rc.exe
|
||||
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||
# ADD CPP /nologo /MTd /W3 /GX /Z7 /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /c
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo
|
||||
|
||||
!ELSEIF "$(CFG)" == "libavl - Win32 Single Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "libavl__"
|
||||
# PROP BASE Intermediate_Dir "libavl__"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "..\..\SDebug"
|
||||
# PROP Intermediate_Dir "..\..\SDebug\libavl"
|
||||
# PROP Target_Dir ""
|
||||
RSC=rc.exe
|
||||
# ADD BASE CPP /nologo /MTd /W3 /GX /Z7 /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||
# ADD CPP /nologo /W3 /GX /Z7 /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /c
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo
|
||||
|
||||
!ELSEIF "$(CFG)" == "libavl - Win32 Single Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "libavl_0"
|
||||
# PROP BASE Intermediate_Dir "libavl_0"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "..\..\SRelease"
|
||||
# PROP Intermediate_Dir "..\..\SRelease\libavl"
|
||||
# PROP Target_Dir ""
|
||||
RSC=rc.exe
|
||||
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||
# ADD CPP /nologo /W3 /GX /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "libavl - Win32 Release"
|
||||
# Name "libavl - Win32 Debug"
|
||||
# Name "libavl - Win32 Single Debug"
|
||||
# Name "libavl - Win32 Single Release"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\avl.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\include\avl.h
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
||||
|
|
@ -1,143 +0,0 @@
|
|||
# Microsoft Developer Studio Project File - Name="testavl" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 5.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||
|
||||
CFG=testavl - Win32 Single Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "testavl.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "testavl.mak" CFG="testavl - Win32 Single Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "testavl - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE "testavl - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE "testavl - Win32 Single Debug" (based on\
|
||||
"Win32 (x86) Console Application")
|
||||
!MESSAGE "testavl - Win32 Single Release" (based on\
|
||||
"Win32 (x86) Console Application")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "testavl - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "Release"
|
||||
# PROP BASE Intermediate_Dir "Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "..\..\Release"
|
||||
# PROP Intermediate_Dir "..\..\Release\testavl"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||
# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||
# ADD BASE RSC /l 0x409 /d "NDEBUG"
|
||||
# ADD RSC /l 0x409 /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||
# ADD LINK32 /nologo /subsystem:console /machine:I386 /libpath:"..\..\Release"
|
||||
|
||||
!ELSEIF "$(CFG)" == "testavl - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "testavl_"
|
||||
# PROP BASE Intermediate_Dir "testavl_"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "..\..\Debug"
|
||||
# PROP Intermediate_Dir "..\..\Debug\testavl"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||
# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /YX /FD /c
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
||||
# ADD RSC /l 0x409 /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||
# ADD LINK32 /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\Debug"
|
||||
|
||||
!ELSEIF "$(CFG)" == "testavl - Win32 Single Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "testavl_"
|
||||
# PROP BASE Intermediate_Dir "testavl_"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "..\..\SDebug"
|
||||
# PROP Intermediate_Dir "..\..\SDebug\testavl"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||
# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /YX /FD /c
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
||||
# ADD RSC /l 0x409 /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||
# ADD LINK32 /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\SDebug"
|
||||
|
||||
!ELSEIF "$(CFG)" == "testavl - Win32 Single Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "testavl0"
|
||||
# PROP BASE Intermediate_Dir "testavl0"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "..\..\SRelease"
|
||||
# PROP Intermediate_Dir "..\..\SRelease\testavl"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||
# ADD CPP /nologo /W3 /GX /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||
# ADD BASE RSC /l 0x409 /d "NDEBUG"
|
||||
# ADD RSC /l 0x409 /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||
# ADD LINK32 /nologo /subsystem:console /machine:I386 /libpath:"..\..\SRelease"
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "testavl - Win32 Release"
|
||||
# Name "testavl - Win32 Debug"
|
||||
# Name "testavl - Win32 Single Debug"
|
||||
# Name "testavl - Win32 Single Release"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\testavl.c
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
||||
|
|
@ -1,9 +1,17 @@
|
|||
# LIBLBER
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
##
|
||||
## LIBLBER
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms, with or without
|
||||
## modification, are permitted only as authorized by the OpenLDAP
|
||||
## Public License.
|
||||
##
|
||||
## A copy of this license is available in the file LICENSE in the
|
||||
## top-level directory of the distribution or, alternatively, at
|
||||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
LIBRARY = liblber.la
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,16 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1999-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted only
|
||||
* as authorized by the OpenLDAP Public License. A copy of this
|
||||
* license is available at http://www.OpenLDAP.org/license.html or
|
||||
* in file LICENSE in the top-level directory of the distribution.
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
#include "portable.h"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,31 @@
|
|||
/* $OpenLDAP$ */
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
* Copyright (c) 1991 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
* provided that this notice is preserved and that due credit is given
|
||||
* to the University of Michigan at Ann Arbor. The name of the University
|
||||
* may not be used to endorse or promote products derived from this
|
||||
* software without specific prior written permission. This software
|
||||
* is provided ``as is'' without express or implied warranty.
|
||||
*/
|
||||
/* ACKNOWLEDGEMENTS:
|
||||
* This work was originally developed by the University of Michigan
|
||||
* (as part of U-MICH LDAP).
|
||||
*/
|
||||
|
||||
#include "portable.h"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,16 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
#include "portable.h"
|
||||
|
|
|
|||
|
|
@ -1,11 +1,19 @@
|
|||
/* decode.c - ber input decoding routines */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions
|
||||
* Copyright (c) 1990 Regents of the University of Michigan.
|
||||
/* Portions Copyright (c) 1990 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
|
|
@ -15,6 +23,10 @@
|
|||
* software without specific prior written permission. This software
|
||||
* is provided ``as is'' without express or implied warranty.
|
||||
*/
|
||||
/* ACKNOWLEDGEMENTS:
|
||||
* This work was originally developed by the University of Michigan
|
||||
* (as part of U-MICH LDAP).
|
||||
*/
|
||||
|
||||
#include "portable.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,19 @@
|
|||
/* dtest.c - lber decoding test program */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License.
|
||||
*
|
||||
* A copy of this license is available in the file LICENSE in the
|
||||
* top-level directory of the distribution or, alternatively, at
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
/* Portions
|
||||
* Copyright (c) 1990 Regents of the University of Michigan.
|
||||
/* Portions Copyright (c) 1990 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
|
|
@ -15,6 +23,10 @@
|
|||
* software without specific prior written permission. This software
|
||||
* is provided ``as is'' without express or implied warranty.
|
||||
*/
|
||||
/* ACKNOWLEDGEMENTS:
|
||||
* This work was originally developed by the University of Michigan
|
||||
* (as part of U-MICH LDAP).
|
||||
*/
|
||||
|
||||
#include "portable.h"
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue