I figured out the problem.
In customed ON-INSERT trigger of Oracle Forms, you can add your business logics and then call INSERT_RECORD to excute the default function of ON-INSERT trigger. But, in OID plugin customed when_add_replace procedure, if you add your business logics and call DBMS_LDAP.add_s to try to execute the default function of ldapadd, DBMS_LDAP.add_s actually calls your own customed when_add_replace procedure again instead of just simply adds an entry to OID. That created the infinite loop.
I used to the code given to create a User in the AD and was successful.
but the user that is getting created in the Active Directory is disabled. Is there any mechanism that i can get this user enabled by using the following packages?
Or is there any other mechanism that we can use to get this done?
Thanks in advance.
Edited by: Indika Sampath Ranaweera on Nov 2, 2010 9:43 AM
Got it sorted out.
There is an attribute attached to a user in the Active Directory (userAccountControl), which i was able to update using the DBMS_LDAP_UTL Package.
The Procedure used is "set_user_properties".
Yes, You will be able to do that, but you have easier methods as you can use OID provided features like bootstap to sync all the users.
when using that first you have to configure all the directories that consist of users to synchronize with OID.
Edited by: Indika Sampath Ranaweera on Jul 20, 2012 9:05 AM