This is the story from the fairy tales of 1001 nights. Aladdin finds an old lamp and discovers when he cleans it that a ghost was imprisoned inside. Gladly to be free the ghost accepts Aladdin as his master and fulfills all his wishes. Thus Aladdin's lamp attracts not only friends of his.
The DuPont Show of the Month
Cole Porter's version of the story of Aladdin--his only musical written especially for television