getting the namingContext of openldap server

ldapsearch -x -h localhost -s base -b "" +