Hello,

I'm writting a PHP code to take a user from an AD LDS and insert him into another one. For design reasons this two AD LDS are not replicated.

At this moment I have all the code done but I still have a problem with ObjectSID attribute. Of course it should be the same from the source than on the target but.

anyone knows if this should works?

PHP Code:
$newUser["objectSid"] = $export["objectsid"][0]; 
I don't need to show the data, only to push it. The server is rejecting the import and I think is for this line. With ldifde the same schema runs perfectly.

Thanks,