GithubHelp home page GithubHelp logo

Comments (1)

jsumners avatar jsumners commented on June 22, 2024

The following script shows the error with the standard CLI tools:

#!/usr/bin/env bash

set -e

function cleanup() {
  echo "Stopping server..."
  docker stop ldap-test 2>&1 1>/dev/null
}
trap cleanup EXIT

echo "Starting server..."
docker run --rm -d \
  -p 1389:389 -p 1636:636 \
  --name ldap-test \
  ghcr.io/ldapjs/docker-test-openldap/openldap:2023-07-25 2>&1 1>/dev/null

echo "Waiting for server to start..."
sleep 3

echo "Renaming entry..."
docker exec ldap-test \
  ldapmodrdn -x -H ldapi:/// \
    -D 'cn=admin,dc=planetexpress,dc=com' \
    -w 'GoodNewsEveryone' \
    -v -d 2 \
    'cn=Turanga Leela,ou=people,dc=planetexpress,dc=com' \
    'cn=a292979f2c86d513d48bbb9786b564b3c5228146e5ba46f404724e322544a7304a2b1049168803a5485e2d57a544c6a0d860af91330acb77e5907a9e601ad1227e80e0dc50abe963b47a004f2c90f570450d0e920d15436fdc771e3bdac0487a9735473ed3a79361d1778d7e53a7fb0e5f01f97a75ef05837d1d5496fc86968ff47fcb64'

from node-ldapjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.