Basic support to make a contact out of a directory entry.