https://fedorahosted.org/389/ticket/47677
https://fedorahosted.org/389/attachment/ticket/47677/0001-Ticket-47677-Si...
1) slapi_dn_size implemented as a static function in entry.c is obsolete.
It can be replaced with a slapi api slapi_sdn_get_size.
2) size of e_virtual_lock could be added to the size.