Sun Microsystems said it will buy Austin-based Neogent for an undisclosed amount. Neogent provides enterprise content management, secure identity management and other services to businesses.