Eh, that should go in ber_flatten, not ber_flatten2. It's not just OpenLDAP which can't be trusted with ber at the moment, I seem to be poor at multi-tasking:) -- Hallvard