Skip to content

Commit

Permalink
Added slapd proxy for COmanage
Browse files Browse the repository at this point in the history
Added Dockerfile and associated files to create image used to create a
container that runs slapd as an LDAP proxy to help support
high availability.
  • Loading branch information
skoranda committed Jun 15, 2018
1 parent 1712552 commit 30b9f79
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
23 changes: 23 additions & 0 deletions comanage-registry-slapd-proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# slapd proxy Dockerfile for use with COmanage Registry
#
# Portions licensed to the University Corporation for Advanced Internet
# Development, Inc. ("UCAID") under one or more contributor license agreements.
# See the NOTICE file distributed with this work for additional information
# regarding copyright ownership.
#
# UCAID licenses this file to you 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.
FROM sphericalcowgroup/comanage-registry-slapd-base

COPY docker-slapd-entrypoint /usr/local/bin/

ENTRYPOINT ["docker-slapd-entrypoint"]
26 changes: 26 additions & 0 deletions comanage-registry-slapd-proxy/docker-slapd-entrypoint
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/bash

# slapd proxy for COmanage Registry Dockerfile entrypoint
#
# Portions licensed to the University Corporation for Advanced Internet
# Development, Inc. ("UCAID") under one or more contributor license agreements.
# See the NOTICE file distributed with this work for additional information
# regarding copyright ownership.
#
# UCAID licenses this file to you 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.

set -e

source /usr/local/lib/comanage_ldap_utils.sh

comanage_ldap_utils::exec_slapd_proxy "$@"

0 comments on commit 30b9f79

Please sign in to comment.