Comments (2)
Hi @vandivia,
I retested the ldapsearch
command you pasted using the default tree created at container startup. With it, I was able to write the output of ldapsearch
to a local file:
[sbesson@idr2-slot3 ~]$ docker run --rm --name issue_90 -d openmicroscopy/apacheds
d8691a4fec481fc23febfdc38fe94f76ab44a5c31b19339c9a20a6ff7a49daf2
[sbesson@idr2-slot3 ~]$ docker exec -it issue_90 ldapsearch -V
ldapsearch: @(#) $OpenLDAP: ldapsearch (Ubuntu) (Oct 23 2018 12:47:19) $
buildd@lgw01-amd64-005:/build/openldap-rkQ3K8/openldap-2.4.42+dfsg/debian/build/clients/tools
(LDAP library: OpenLDAP 20442)
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
[sbesson@idr2-slot3 ~]$ docker exec -it issue_90 ldapsearch -v -h localhost -p 10389 -w secret -x -D uid=admin,ou=system -b dc=openmicroscopy,dc=org * + > backup.ldif
[sbesson@idr2-slot3 ~]$ cat backup.ldif
ldap_initialize( ldap://localhost:10389 )
filter: (objectclass=*)
requesting: aspera-client-docker bio-formats-octave-docker config devspace idr0066 octave-docker omero-server-docker omero-web-docker out +
# extended LDIF
#
# LDAPv3
# base <dc=openmicroscopy,dc=org> with scope subtree
# filter: (objectclass=*)
# requesting: aspera-client-docker bio-formats-octave-docker config devspace idr0066 octave-docker omero-server-docker omero-web-docker out +
#
# openmicroscopy.org
dn: dc=openmicroscopy,dc=org
entryCSN: 20190906100237.046000Z#000000#000#000000
nbSubordinates: 0
nbChildren: 0
subschemaSubentry: cn=schema
entryDN: dc=openmicroscopy,dc=org
entryUUID: 0f2e8b2f-dbe1-48ba-88fc-c61ef7849194
contextCSN: 20190906100237.046000Z#000000#000#000000
entryParentId: 00000000-0000-0000-0000-000000000000
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
[sbesson@idr2-slot3 ~]$ docker stop issue_90
issue_90
Can you give us more details about the way you execute the command and the error that it gives?
from apacheds-docker.
Closing, no response
from apacheds-docker.
Related Issues (15)
- Drop version from data directory
- Set password on startup
- ERR_250_ENTRY_ALREADY_EXISTS ou=system already exists HOT 18
- kubernetes customization HOT 4
- K8s Volume and initialization of /var/lib/apache HOT 6
- Latest update (AM26) to docker registry HOT 1
- How to enable schemas on 0.8.0 version? HOT 1
- Custom dc not working HOT 6
- Adding custom interceptor HOT 1
- Move to Ubuntu 18.04 HOT 3
- Database breaks the more users are stored HOT 6
- Can't run image HOT 9
- Mount data/configuration directory HOT 1
- How to build apacheds:2.0.0-M23?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apacheds-docker.