Now is as good a time as any to tell you a bit more about Doramin, so Marlow gives us the scoop about this guy, and his son Dain Waris.
Doramin is the leader of a group called the Bugis, merchants who emigrated to Patusan from Celebes. He's also an enemy of Doramin, which might explain why Jim felt safe taking refuge at his house.
Doramin and his people consider teaming up against the Rajah with a fanatic named Sherif Ali. By the way, that's also the name of Omar Sharif's character in Lawrence of Arabia. Coincidence?
But clever Jim has an even better idea. Doramin and his followers should attack Sherif Ali and eliminate the threat he poses.