Looking at Net::LDAP::Entry try $entry->dn()
In reply to Re: can't access dn within ldif file by poj in thread can't access dn within ldif file by 3dbc