mirror of
https://github.com/rroemhild/docker-test-openldap.git
synced 2026-04-25 15:15:53 +03:00
[GH-ISSUE #5] ldapsearch 32 no such object #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-test-openldap#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ettoregia on GitHub (Oct 2, 2018).
Original GitHub issue: https://github.com/rroemhild/docker-test-openldap/issues/5
Hi there, thanks for this repo.
I'm trying to execute the below ldapsearch but I always get 32 No such Result, any help would be really appreciated.
ldapsearch -x -h localhost -p 389 -D "cn=Hubert J. Farnsworth,ou=people,dc=planetexpress,dc=com" -w "professor" -b "dc=example,dc=com" -s sub '(objectClass=*)' 'givenName=*'
LDAPv3
base <dc=example,dc=com> with scope subtree
filter: (objectClass=)
requesting: givenName=
search result
search: 2
result: 32 No such object
@rroemhild commented on GitHub (Oct 2, 2018):
The last argument is for the attribute you wan't get back from the search result, so it should be only
givenNameand the search base isdc=planetexpress,dc=comor for only peopleou=people,dc=planetexpress,dc=com.ldapsearch -x -h localhost -p 389 -D "cn=Hubert J. Farnsworth,ou=people,dc=planetexpress,dc=com" -w "professor" -b "dc=planetexpress,dc=com" -s sub '(objectClass=*)' givenName@ettoregia commented on GitHub (Oct 3, 2018):
Ok many thanks
@rroemhild commented on GitHub (Oct 4, 2018):
Your welcome