LDAP: fix settings output thus make settings work again

got broke when the switch from echo to p / print_unescaped was made.

please review @LukasReschke @MTGap @Raydiation or others