Kinematic dynamo problem in a linear velocity field