Fan fiction: legitimate publishing material or more copyright violation?

From Forbes: "Once considered the domain of science fiction fans (although much older than that) now spread over non-genre television shows such as Houseand Gilmore Girls, fanfic has long been considered a copyright violation lawsuit in the making. Now Amazon is giving fan fiction the legitimacy it needs..."