Airlines do have interline agreements to apply in such cases, but this should go with the knowledge of the passenger and usually subject to accepting some form of compensation. You have the right to claim such with the airline or thru an intermediary agency who handles such complaints on behalf of the travelers. It makes also sense to share your experience with review sites and rate the airline as such actions make the airlines behave better in the future. You can rate the in
connectionreview.com. Mind you, Lufthansa is among the top notch airlines in Europe.