Fixed trailing slash issue on ldaconf