r158: cope with or without LDAP in samba build of ldb