Fix problem with character buffer popup when adding samples. Fix LDAP fullname unique constraint problem.