-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a compare-ldap-schemas command-line tool that can be used to identify differences between the schemas of two LDAP servers.
- Loading branch information
Showing
9 changed files
with
11,854 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#!/bin/sh | ||
|
||
# Copyright 2008-2024 Ping Identity Corporation | ||
# All Rights Reserved. | ||
# | ||
# ----- | ||
# | ||
# Copyright 2008-2024 Ping Identity Corporation | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# ----- | ||
# | ||
# Copyright (C) 2008-2024 Ping Identity Corporation | ||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License (GPLv2 only) | ||
# as published by the Free Software Foundation. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
|
||
|
||
# Get the current working directory and the tools directory. | ||
CURRENT_DIR=`pwd` | ||
cd "`dirname "${0}"`" | ||
TOOLS_DIR=`pwd` | ||
cd ${CURRENT_DIR} | ||
|
||
|
||
# Invoke a number of common script utility functions. | ||
. "${TOOLS_DIR}/.script-util.sh" | ||
|
||
|
||
# Invoke the tool with the provided command-line arguments. | ||
"${JAVA_CMD}" ${JAVA_ARGS} \ | ||
-cp "${TOOLS_DIR}/../unboundid-ldapsdk.jar:${CLASSPATH}" \ | ||
com.unboundid.ldap.sdk.unboundidds.tools.CompareLDAPSchemas "${@}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@echo off | ||
|
||
rem Copyright 2008-2024 Ping Identity Corporation | ||
rem All Rights Reserved. | ||
rem | ||
rem ----- | ||
rem | ||
rem Copyright 2008-2024 Ping Identity Corporation | ||
rem | ||
rem Licensed under the Apache License, Version 2.0 (the "License"); | ||
rem you may not use this file except in compliance with the License. | ||
rem You may obtain a copy of the License at | ||
rem | ||
rem http://www.apache.org/licenses/LICENSE-2.0 | ||
rem | ||
rem Unless required by applicable law or agreed to in writing, software | ||
rem distributed under the License is distributed on an "AS IS" BASIS, | ||
rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
rem See the License for the specific language governing permissions and | ||
rem limitations under the License. | ||
rem | ||
rem ----- | ||
rem | ||
rem Copyright (C) 2008-2024 Ping Identity Corporation | ||
rem This program is free software; you can redistribute it and/or modify | ||
rem it under the terms of the GNU General Public License (GPLv2 only) | ||
rem or the terms of the GNU Lesser General Public License (LGPLv2.1 only) | ||
rem as published by the Free Software Foundation. | ||
rem | ||
rem This program is distributed in the hope that it will be useful, | ||
rem but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
rem GNU General Public License for more details. | ||
rem | ||
rem You should have received a copy of the GNU General Public License | ||
|
||
|
||
rem Get the directory containing this batch file. | ||
set BATDIR=%~dp0 | ||
|
||
rem Invoke a number of common script utility functions. | ||
call "%BATDIR%\.script-util.bat" | ||
|
||
rem Invoke the tool with the provided command-line arguments. | ||
"%JAVA_CMD%" %JAVA_ARGS% -cp "%BATDIR%\..\unboundid-ldapsdk.jar;%CLASSPATH%" com.unboundid.ldap.sdk.unboundidds.tools.CompareLDAPSchemas %* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.