Ticket 47950 - Bind DN tracking unable to write to internalModifiersName without special permissions
Bug Description: When a non-rootDN entry makes an update when plugin bind dn tracking
is enabled, it is incorrectly rejected with an error 50.
Fix Description: Create a function to check if an attribute is one of last mod attributes,
including the internalModfieresname/internalModifytimestamp. Use this
new function wherever we are checking for last mod attributes.
https://fedorahosted.org/389/ticket/47950
Reviewed by: rmeggins(Thanks!)
(cherry picked from commit c973e7150cf1e7fb3f61a76cf1baf3c0fa91f756)