Result: 32 No Such Object

Result: 32 No Such Object

When I try to run

ldapsearch -x

I get an error

result: 32 No such object

I am using Ubuntu 14.04

2 Answers

  • You have specified no host so it assumes localhost.
  • You have specified no port, so it assumes 389.
  • You have specified no bind DN so it assumes anonymous bind.
  • You have specified no filter so it assumes objectclass=* (I think).

Any of those being bad assumptions could cause it to fail. Generally this should return at least the RootDSE of the local LDAP instance on 389.

2

It worked after specifying the base DN of my Server. My LDAP Server has multiple schemas. So need to specify the Base DN from where it has to check from.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Robert Thorne
Author

Robert Thorne

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.