I am trying to remove duplicate pwdHistory from a file but need to keep one some of them for each uid, how could i do that.
example file:
dn: uid=uu0001,ou=people,