Under Indonesian law, adoption before the age of six by an Indonesian male qualified a child for citizenship. According to Dreams from My Father, Obama was four when he met Lolo Soetoro; his mother married Soetoro shortly thereafter; and Obama was already registered for school when he and his mother relocated to Jakarta, where Soetoro was an oil-company executive and liaison to the Suharto government. That was in 1966, when Obama was five. Obama attended Indonesian elementary schools, which, in Suharto’s police state, were generally reserved for citizens (and students were required to carry identity cards that matched student registration information). The records of the Catholic school Obama/Soetoro attended for three years identify him as a citizen of Indonesia. Thus Obama probably obtained Indonesian citizenship through his adoption by Soetoro in Hawaii. That inference is bolstered by the 1980 divorce submission of Ann Dunham and Lolo Soetoro, filed in Hawaii state court. It said “the parties” (Ann and Lolo) had a child (name not given) who was no longer a minor (Obama was 19 at the time). If Soetoro had not adopted Obama, there would have been no basis for the couple to refer to Obama as their child — he’d have been only Ann Dunham’s child.
The question of where Obama was born has had many different takes, but one thing is consistent and that is what was stated above by McCarthy. Obama's childhood in Indonesia.
That was an issue that has been looked at here.
Some key points..
Indonesian regulations recognize neither apatride nor bipatride citizenship.In an attempt to prevent dual citizenship, the draft revision includes new regulations.It states that an infant whose father is a foreign citizen and mother is an Indonesian can obtain Indonesian citizenship if it is the wish of their parents.
This citizenship, however, must not cause dual citizenship.A child born overseas to an Indonesian couple can be an Indonesian citizen at the request of their parents. A request for citizenship must be submitted to the Indonesian embassy no later than three months after the child's birth, the draft revision says.
A foreign child aged below 21 and unmarried, who is adopted by an Indonesian, will be eligible for Indonesian citizenship if the process does not cause dual citizenship. Foreigners who contribute to Indonesia -- or for a specific reason -- can be granted Indonesian citizenship by the President with the consent of the House of Representatives.
Indonesian citizens can lose their nationality on certain conditions, including if they join the military service of another country, or live overseas for a consecutive
period of five years without declaring their will to remain an Indonesian national.
In countries that enforce single citizenship, voluntary naturalization in another country will lead to an automatic loss of the original citizenship; the language of the law often refers to such cases as "giving up one's citizenship" or (implicit) renunciation of citizenship.
If his mother gave up her US Citizenship, and if he was Adopted by her Second Husband, and if Indonesia does not Recognize the Concept of Dual Nationality, Senator Obama is an Indonesian.
In neither case does his Place of Birth or his mothers Nationality have any legal Consequence whatsoever because the USA accepts the existence of Dual Nationality only if the other country does.
Hague Conventions are applied by the USA and this has been US Law since before 1930 (see:Memorandum on Nationality, including Statelessness: Document A/CN.4/67, Prepared by Ivan S Kerno, International Law Commission, United Nations General Assembly, 6th April 1953.)
To be continued......................................................
In other words, Obama had to become an Indoneasian citizen to live in Indoneasia and attend the Indonesian schools.
The question should have been, how did this affect Obama's citizenship as an adult.