Barnacle Bill (1957)
Barnacle Bill (released in the US as All at Sea) is a 1957 Ealing Studios comedy film, starring Alec Guinness. He plays an unsuccessful Royal Navy officer, and six of his maritime ancestors. This was the last film Guinness made for Ealing Studios. By coincidence, his first Ealing success was Kind Hearts and Coronets (1949), in which he also played multiple roles. The film was written by T. E. B. Clarke, the screenwriter of Kind Hearts and Coronets.
More at Wikipedia.