Talk to Kazzan in Darashia (in the castle, one floor up) and ask about a mission. He will tell you to offer an appeasement treaty to the Djinn races.
Before you go do your mission, you need to talk to Melchior a wandering NPC that lives in Ankrahmun. Ask him about "greeting" and you will be ready to go offer the peace treaty to the djinn.
It may take a while to find Melchior but he cannot walk outside the shaded area and may not be too far from where he starts.
You may talk to the djinns in any order, none of them will accept.
player: Hi Kazzan: Feel welcome in the lands of the children of the enlightened Daraman, Player. player: Mission Kazzan: Do you know the location of the djinn fortresses in the mountains south of here? player: Yes Kazzan: Alright. The problem is that I want to know at least one of them on my side. You never know. I don't mind if it's the evil Efreet or the Marid. ... Kazzan: Your mission will be to visit one kind of the djinns and bring them a peace-offering. Are you interested in that mission? player: Yes Kazzan: Very good. I hope you are able to convince one of the fractions to stand on our side. If you haven't done yet, you should first go and look for old Melchior in Ankrahmun. ... Kazzan: He knows many things about the djinn race and he may have some hints for you.
player: Hi Melchior: Greetings, Player. I do not see your face, but I can read a thousand things in your voice! player: Greeting Melchior: The djinns have an ancient code of honour. This code includes a special concept of hospitality. Anybody who utters the word of greeting must not be attacked even if he is an enemy. Well, at least that is what the code says. ... Melchior: I have found out, though, that this does not work at all times. There is no point to say the word of greeting to an enraged djinn. ... Melchior: I can tell you the word of greeting if you're interested. It is DJANNI'HAH. Remember this word well, stranger. It might save your life one day. ... Melchior: And keep in mind that you must choose sides in this conflict. You can only follow the Efreet or the Marid - once you have made your choice there is no way back. I know from experience that djinn do not tolerate double-crossing.
player: DJANNI'HAH Umar: Whoa? You know the word! Amazing, Player! ... player: Mission Umar: I should go and tell Fa'hradin. ... Umar: I am impressed you know our address of welcome! I honour that. So tell me who sent you on a mission to our fortress? player: Kazzan Umar: He is a good man regarding to what I heard about him. What does he want from us Marid? player: Appeasement Umar: I can't imagine he really asked you to offer us something like that. The Marid will not accept that. Still, if YOU like to join our fight against the Efreet, just let me know. player: peace (alternative, instead of appeasement)
Umar: A wise move from him pulling us on his side. Tell him that the Marid accept his offer and look forward to this partnership with great expectations. ... Umar: Before you leave.....think about joining our fight against those evil Efreet! Just tell me if you want to.
player: DJANNI'HAH Ubaid: What? You know the word, Player? All right then - I won't kill you. At least, not now. player: Mission Ubaid: You have the smell of the Marid on you. Tell me who sent you? player: Kazzan Ubaid: And he is sending a worm like you to us!?! The mighty Efreet!! Tell him that we won't be part in his 'great' plans and now LEAVE!! ... Ubaid: ...or do you want to join us and fight those stinking Marid who claim themselves to be noble and righteous?!? Just let me know.
player: Hi Kazzan: Feel welcome in the lands of the children of the enlightened Daraman, Player. player: Mission (if you said appeasement earlier) Kazzan: Well, I don't blame you for that. I am sure you did your best. Now we can just hope that peace remains. Here, take this small gratification for your effort to help and Daraman may bless you! player: mission (if you said peace earlier) Kazzan: These are great news. With the mighty Marid being loyal to us, our enemies won't dare to attack us again. Please take this gratification for your help and Daraman may bless you!