Numerical solution of a drift-diffusion problem with special boundary conditions by integral equations