added $useldap