From 9ccf93425b724a452239385b50f95073e62e00d9 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Mon, 4 Apr 2016 17:54:07 -0700 Subject: [PATCH] add ldapadd Signed-off-by: Jess Frazelle --- slapd/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/slapd/Dockerfile b/slapd/Dockerfile index 3cb4e8d..dd0d5c9 100644 --- a/slapd/Dockerfile +++ b/slapd/Dockerfile @@ -17,7 +17,8 @@ # # You can load an LDIF file (to set up your directory) like so: # -# ldapadd -h localhost -p -c -x \ +# docker exec -it your_container ldapadd \ +# -h localhost -p -c -x \ # -D cn=admin,dc=mycorp,dc=com -W -f data.ldif # # Be aware that by default the LDAP port is accessible from anywhere if the \ @@ -28,6 +29,7 @@ MAINTAINER Jessica Frazelle RUN apt-get update && LC_ALL=C DEBIAN_FRONTEND=noninteractive \ apt-get install -y \ + ldap-utils \ slapd \ --no-install-recommends \ && rm -rf /var/lib/apt/lists/*