* @throws InvalidNameException
*/
private AddRequestDsml convertToAddRequestDsml( SearchResult searchResult )
throws InvalidAttributeIdentifierException, InvalidNameException
{
AddRequestDsml ar = new AddRequestDsml();
Entry entry = AttributeUtils.toClientEntry( searchResult.getAttributes(), new LdapDN( searchResult
.getNameInNamespace() ) );
ar.setEntry( entry );
return ar;
}