Create users in OID or update FND_USER to do the local authentication
Hi,
We have changed the OID sever for an 11i instance
Hence I think some users who were in the old OID server are not present in the new one
And the FND users of 11i are not able to get authenticated
Shall I
- Create the user in new OID server - Configuration tab of http://server/oiddas doesnt allow me to do that
How ?
Any API ?
- Export / import from the old OID server to new one ?
If yes, which tables
- Can I update FND_USER to do the local authentication and not go thru OID/ SSO ?
Thanks
- Pooja
I have posted the question in Application Server - General forum also
Metalink note 233436.1 and 186981.1 should be of some help.
You can change to local authentication by setting two profile options
Applications SSO Login Types set to Local
and Applications SSO Type to SSWA
You may have to reset the users password if it has been set to EXTERNAL
Similar Messages
-
Hi,
We have changed the OID sever for an 11i instance
Hence I think some users who were in the old OID server are not present in the new one
And the FND users of 11i are not able to get authenticated
Shall I
- Create the user in new OID server - Configuration tab of http://server/oiddas doesnt allow me to do that
How ?
Any API ?
- Export / import from the old OID server to new one ?
If yes, which tables
- Can I update FND_USER to do the local authentication and not go thru OID/ SSO ?
Thanks
- PoojaLogged in as orcladmin and was able to create the user
Any other steps for mapping it with FND_USER ?
Still authentication is not working
fnd_web_sec.validate_login function returns 'N' in the Apps database -
I am doing exactly same thing for Create User in OID. Following is my code.
String adminDN = "cn=orcladmin";
String adminPWD = "oracle10g";
boolean isSSL = false;
InitialLdapContext ctx = null;
System.out.println(adminDN);
System.out.println(adminPWD);
try {
String url = "";
if (isSSL){
url = "ldaps://";
else{
url = "ldap://";
url += hostname+":"+port;
Hashtable env = new Hashtable();
// env.put("java.naming.ldap.attributes.binary","objectGUID");
//Specify which class to use for our JNDI provider
env.put(Context.INITIAL_CONTEXT_FACTORY, INITCTX);
// Specify host and port to use for directory service
env.put(Context.PROVIDER_URL, url);
env.put(Context.SECURITY_PRINCIPAL,adminDN);
env.put(Context.SECURITY_CREDENTIALS,adminPWD);
env.put(Context.SECURITY_AUTHENTICATION, "simple");
ctx = new InitialLdapContext(env,null);
System.out.println("It is in the create employee method ca;ll "+ctx);
catch (NamingException e) {
System.out.println("createEmployee method in Create class throw exception "+e.getMessage());
Map attrs = new HashMap();
// Replace address and mail with the new values
attrs.put("cn",inputText1.getValue().toString());
//attrs.put("uid","cn="+inputText1.getValue().toString()+",cn=users,dc=fjcs,dc=net");
attrs.put("uid", inputText1.getValue().toString());
attrs.put("userpassword","welcome1");
attrs.put("givenname",inputText3.getValue().toString());
attrs.put("displayName","mydisplayname");
attrs.put("sn",inputText4.getValue().toString());
attrs.put("mail",inputText5.getValue().toString());
attrs.put("telephonenumber",inputText6.getValue().toString());
public oracle.ldap.util.User createLdapUser(Map userLdapProperties, InitialLdapContext ctx) throws NamingException,
UtilException {
System.out.println("Inside createLdapUser ");
Subscriber mysub = null;
Iterator oidUserProperties = userLdapProperties.keySet().iterator();
Iterator oidUserPropertyValues =
userLdapProperties.values().iterator();
System.out.println("The oidUserProperties "+oidUserProperties);
System.out.println("The oidUserProperties "+oidUserPropertyValues);
//ldapSubscriberPath = this.getLdapSubscriberPath();
//RootOracleContext roc = new RootOracleContext(ctx);
//mysub = roc.getSubscriber(ctx, Util.IDTYPE_DN, "o=dec", mystr);
Subscriber subscriber = new Subscriber(ctx, Util.IDTYPE_DN,
null , false);
ModPropertySet userProperties = new ModPropertySet();
while (oidUserProperties.hasNext() &&
oidUserPropertyValues.hasNext()) {
System.out.println("Inside the while loop ");
String propertyName = (String)oidUserProperties.next();
System.out.println( propertyName);
String propertyValue = (String)oidUserPropertyValues.next();
System.out.println( propertyValue);
userProperties.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_REPLACE,
propertyName, propertyValue);
System.out.println( userProperties);
System.out.println("Outside the while loop");
oracle.ldap.util.User usr = subscriber.createUser(ctx, userProperties, false);
System.out.println("Heelo "+ usr);
System.out.println("The guid isn "+usr.getGUID(ctx));
return usr;
It does print the System.out "Outside the while loop" but not creating the User in OID. It does not even print the last two System.outs.........
System.out.println("Heelo "+ usr);
System.out.println("The guid isn "+usr.getGUID(ctx));
What is wrong ?
thanks,
ppI did put try catch around the User object. Yet same thing.
System.out.println("Outside the while loop");
ModPropertySet mps = new ModPropertySet();
mps.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_ADD,"cn", "John");
mps.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_ADD,"sn", "John");
mps.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_ADD,"uid", "John");
// Create the user
User newUser = subscriber.createUser( ctx, mps, false );
System.out.println("New User DN: " + newUser.getDN( ctx ) );
oracle.ldap.util.User usr = null;
try{
usr = subscriber.createUser(ctx, userProperties, false);
System.out.println("New User DN: " + usr.getDN( ctx ));
System.out.println("The guid isn "+usr.getGUID(ctx));
catch (Exception e) {
System.out.println("The message is "+e.getMessage());
Outside the while loop is the last System.out that gets printed on the console. I am using embedded oc4j. Why is the User not getting created ?
thanks,
pp -
Creating users in oid from forms
Hello,
how can i create or update an user and its corresponding rad in oid directly from forms 10.1.2. ?
thanks
Jean-YvesHi François,
in the past I used Forms9i OID integration demo
like i asked in this post
and i wonder if it still can be used inn 10.1.2.
But I wil take a deeper look to your blog (always useful ;-) ) and I think I will use it instead of the 9i version with java importer.
We have to migrate à 6i version to 10g and sso and so we have to move "n" oracle users into oid. it will be useful to use this package.
ps : I was not a lot active in this forum since i changed my job and also my login and lost my previous post count, but congratulations for your 5000 and more post and your a Ace !
Thanks
Jean-Yves
Message was edited by:
JeanYves -
Provision Users (create users) in OID at a specific DIT location
I have the current schema in place right now - (from top to bottom)
dc=***
dc=**
cn=Users
cn=**********
I have installed the OID connector and I am able to provision the users successfully in cn=*********,cn=Users,dc=**,dc=***
Now I want to provision (create users) in cn=*********,ou=people,dc=**,dc=***.
dc=***
dc=**
ou=people
cn=123456789
How can I do that?
These are the Resource Object details:
Admin Password *********
Recon Attribute Lookup Code AttrName.Recon.Map.OID
SSL false
Port 389
Root DN dc=**,dc=***
CustomizedReconQuery
Admin Id cn=orcladmin,cn=Users,dc=**,dc=***
Last Target Delete Recon TimeStamp -
Last Target Recon TimeStamp -
Last Trusted Delete Recon TimeStamp -
Server Address 123.456.78.9
Last Trusted Recon TimeStamp -
Prov Attribute Lookup Code AttrName.Prov.Map.OID
Use XL Org Structure false
I have tried changes in this but was still not able to provision.
Any clues/ideas? Didn't find anything in documentation.
Thanks in advance!
- oidm.Thanks for the reply!
Nopes I have just used normal OID connector provided by Oracle.
I figured it out.
You just need to add a lookup value in Organization DN in Resource Object form like Code as "ou=people" and Decode as "people". And you need to pull these values into process form by prepopulate adapter or just put it manually.
- oidm. -
Not able to create users in OID through OIM
HI,
I am creating users in OIM and provisioning them to OID. The create user is working fine but provisioning is not working.
The create user task is getting rejected with error message as :
Response: Target Unavailable Error
Response Description: Target server not available
In the weblogic console its showing error as:
INFO,24 Feb 2010 18:42:13,140,[XL_INTG.OID], Parameter Variables passed into co
m.thortech.xl.integration.OID.tcUtilOIDUserOperations:createUser(S,S,S,S,S): are
sContainerDN = ou=AGI(ENI UK Ltd),o=Shippers,dc=xoserve-apps,dc=com, sFirstName
= testuser17, sLastName = testuser17, sUserDNParam = TESTUSER17,
INFO,24 Feb 2010 18:42:13,156,[XL_INTG.OID],com.thortech.xl.integration.OID.uti
l.tcUtilLDAPOperations : connectToAvailableOID() : SSL option is not selected in
ITResource
ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID],===================================
=================
ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID], ERROR in OID:connectToAvailableOID
() CommunicationExceptionUnable to create Initial LDAP Context
ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID],===================================
=================
ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID],===================================
=================
ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID],10.224.29.51:389
ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID],===================================
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],com.thortech.xl.integration.OID.uti
l.tcUtilLDAPOperations : disconnectFromLDAP() : : Unable to close LDAP Context.
The context was probably not created, since it is null
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],===================================
=================
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],===================================
=================
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID], ERROR in com.thortech.xl.integrati
on.OID.tcUtilOIDUserOperations:createUser(S,S,S,S,S) NoInitialContextExceptionEr
ror while connecting to target
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],===================================
=================
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],===================================
=================
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],com.thortech.xl.integration.OID.uti
l.tcUtilLDAPOperations: Unable to close LDAP Context. The context was probably n
ot created, since it is null
ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],===================================
=================
Please help.
Thanks in advance.Thank a zillion to both of you...
It was connection problem. Somebody changed my OID's IP address.
Now my users are getting provisioned.
One more doubt how to give points to both of you. I dont know how to give points in this forum. -
EBS is creating users in OID, when it shouldn't. Wrong profiles?
I'm integrating EBS 12.1.6 with OAM 11g and OID11g. I've got Single Sign On working fine, but I noticed that when a user is created in EBS, it automatically gets created in OID too.
My users will be manually created in both OID and EBS through other processes so I really just need them to be linked. I registered the instance and oid with provisionType=4 (bidirectional sync no create).
I have these profile options set:
Applications SSO Auto Link User: Enabled
Applications SSO Login Types: Both
Application SSO LDAP Synchronization: Enabled
Applications SSO Enable OID Identity Add Event: Disabled
Link Applications user with OID user with same username: has no value
But I can't find documentation on what these various options do.
Anyone have any experience with this?
Thanks very much
AlexI'm integrating EBS 12.1.6 with OAM 11g and OID11g. I've got Single Sign On working fine, but I noticed that when a user is created in EBS, it automatically gets created in OID too.12.1.6?
But I can't find documentation on what these various options do.Integrating Oracle E-Business Suite Release 12 with Oracle Internet Directory and Oracle Single Sign-On [ID 376811.1]
Using the Latest Oracle Internet Directory 11gR1 Patchset with Single Sign-on and Oracle E-Business Suite [ID 876539.1]
Troubleshooting Oracle Access Manager and Oracle E-Business Suite AccessGate [ID 1077460.1]
Which Attributes Get Propagated From EBS to OID When One Is Implementing SSO With Applications [ID 1267512.1]
Oracle Application Server 10g with Oracle E-Business Suite Release 12 Troubleshooting [ID 380487.1]
"Applications SSO Auto Link User" (APPS_SSO_AUTO_LINK_USER) Profile option doesn't work and still ask to manually link the user [ID 399117.1]
Thanks,
Hussein -
Create User in OID using Java API
I read the documentation, read javadoc for Java API for OID, but still am not clear "how can I create a user in OID using Java API for OID."
It tells us how to create a java object User, but then how do we write this object to OID ?
I searched every where, metalink, forums, google...and am still looking for answere...
Thanks in Advance
Cheers
PuneetI did it using the Novell LDAP java api:
import com.novell.ldap.*;
public class LdapAdmin {
public static final String ldap_base = "dc=your,dc=company,dc=com";
public static final String ldap_user_base = "cn=Users," + ldap_base;
public static final String ldap_portal_base = "cn=PORTAL_GROUPS,cn=Groups," + ldap_base;
public static final String ldap_extended_base = "cn=Extended Properties,cn=OracleContext," + ldap_base;
public static final String ldap_dbdomain_base = "cn=OracleDefaultDomain,cn=OracleDBSecurity,cn=Products,cn=OracleContext," + ldap_base;
public static final String ldap_context_base = "cn=COMMON,cn=OracleDBAppContext," + ldap_dbdomain_base;
private static final String default_ldap_host = "infrastructure.your.company.com";
private static final int default_ldap_port = 4032;
private static final String default_ldap_login = "cn=orcladmin," + ldap_user_base;
private static final String default_ldap_pwd = "welcome1";
private static final String default_user_pwd = "secret";
private static final String[] personclass_values = { "top", "person", "organizationalPerson", "inetOrgPerson", "orcluser", "orcluserv2" };
public static LDAPConnection getConnection (String host, int port, String user, String pwd) {
LDAPConnection lc = new LDAPConnection();
try {
lc.connect(host,port);
lc.bind(user,pwd);
} catch (LDAPException lex) {
System.out.println("LDAP Error in getConnection: "+lex.getResultCode()+"-"+lex.getLDAPErrorMessage());
return lc;
public static LDAPConnection getConnection (String host, int port) {
LDAPConnection lc = new LDAPConnection();
try {
lc.connect(host,port);
} catch (LDAPException lex) {
System.out.println("LDAP Error in getConnection: "+lex.getResultCode()+"-"+lex.getLDAPErrorMessage());
return lc;
public static LDAPConnection getConnection (String user, String pwd) {
LDAPConnection lc = new LDAPConnection();
try {
lc.connect(default_ldap_host,default_ldap_port);
lc.bind(user,pwd);
} catch (LDAPException lex) {
System.out.println("LDAP Error in getConnection: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
lex.printStackTrace();
return lc;
public static LDAPConnection getConnection () {
return getConnection(default_ldap_host,default_ldap_port);
public static void bind (LDAPConnection conn, String user, String pwd) {
try {
conn.bind(user,pwd);
} catch (LDAPException lex) {
System.out.println("LDAP Error in bind: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
lex.printStackTrace();
private static void bind (LDAPConnection conn) {
bind(conn,default_ldap_login,default_user_pwd);
public static void modifyAttribute (LDAPConnection conn, String dn, String attr, String val, int mod) {
LDAPAttribute attribute = new LDAPAttribute(attr,val);
LDAPModification[] modification = new LDAPModification[] { new LDAPModification(mod,attribute) };
try {
conn.modify(dn,modification);
} catch (LDAPException lex) {
System.out.println("LDAP Error in modifyAttribute: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
public static void modifyAttribute (LDAPConnection conn, String dn, String attr, String val) {
modifyAttribute(conn,dn,attr,val,LDAPModification.REPLACE);
public static void addAttribute (LDAPConnection conn, String dn, String attr, String val) {
modifyAttribute(conn,dn,attr,val,LDAPModification.ADD);
public static void deleteAttribute (LDAPConnection conn, String dn, String attr, String val) {
modifyAttribute(conn,dn,attr,val,LDAPModification.DELETE);
public static void deleteEntry (LDAPConnection conn, String dn) {
try {
conn.delete(dn);
} catch (LDAPException lex) {
System.out.println("LDAP Error in deleteEntry: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
public static boolean isValidDn(LDAPConnection conn, String dn) {
try {
LDAPSearchResults res = conn.search(dn);
} catch (LDAPException lex) {
System.out.println("LDAP Error in deleteEntry: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
return false;
public static void createPerson (LDAPConnection conn, String net_id, String lname, String fname, String office, String email, String id, String fullname) {
LDAPAttributeSet attributeSet = new LDAPAttributeSet();
attributeSet.add(new LDAPAttribute("cn", net_id));
attributeSet.add(new LDAPAttribute("sn", lname));
attributeSet.add(new LDAPAttribute("objectclass", personclass_values));
attributeSet.add(new LDAPAttribute("l", office));
attributeSet.add(new LDAPAttribute("mail", email));
attributeSet.add(new LDAPAttribute("employeeNumber", id));
attributeSet.add(new LDAPAttribute("givenName", fname));
attributeSet.add(new LDAPAttribute("uid", net_id));
// attributeSet.add(new LDAPAttribute("fullName", fullname));
attributeSet.add(new LDAPAttribute("orclpkcs12hint", default_user_pwd));
attributeSet.add(new LDAPAttribute("orclpassword", VerifyPassword.getHash(net_id,default_user_pwd)));
attributeSet.add(new LDAPAttribute("userpassword", default_user_pwd));
attributeSet.add(new LDAPAttribute("orcldefaultprofilegroup", "cn=DEFAULT,"+ldap_portal_base));
LDAPEntry entry = new LDAPEntry("cn="+net_id+","+ldap_user_base,attributeSet);
try {
conn.add(entry);
} catch (LDAPException lex) {
System.out.println("LDAP Error in createPerson: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
public static void updatePerson (LDAPConnection conn, String net_id, String lname, String fname, String office, String email, String id, String fullname) {
LDAPModification[] mod = new LDAPModification[8];
mod[0] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("cn", net_id));
mod[1] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("sn", lname));
mod[2] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("l", office));
mod[3] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("mail", email));
mod[4] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("employeeNumber", id));
mod[5] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("givenname", fname));
mod[6] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("fullName", fullname));
mod[7] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("uid", net_id));
try {
conn.modify("cn="+net_id+","+ldap_user_base,mod);
} catch (LDAPException lex) {
System.out.println("LDAP Error in updatePerson: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
public static void main (String[] args) {
try {
LDAPConnection conn = getConnection(default_ldap_login,default_ldap_pwd);
// updatePerson(conn,"ID1","Somebody","Joe","CLE","[email protected]","1","Joe Somebody 2");
// modifyAttribute(conn,"cn=ID1,"+ldap_user_base,"fullName","Joe Somebody",LDAPModification.REPLACE);
// modifyAttribute(conn,"cn=ID1,"+ldap_user_base,"displayName","Joe Somebody");
createPerson(conn,"ID1","Somebody","Joe","CLE","[email protected]","1","Joe Somebody");
// deleteEntry(conn,"cn=ID1,"+ldap_user_base);
conn.disconnect();
} catch (LDAPException lex) {
System.out.println("LDAP Error in main: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
} -
Creating user accounts with OIDDAS and use them from the OS
Hi,
I have a customer that is experiencing an error creating user accounts from OIDDAS, and use that user accounts from the operating system.
My customer is using OID/OAS4OS 10.1.4.2.0, and that version is not longer available to download, then, I will try in my own environment
with OID/OAS4OS 10.1.4.3.0.
And the question is the following: is supported to create user accounts with OIDDAS and expect that users can work with OAS4OS and be
able to authenticate in the operating system?
For the reference, SR# 7222351.993:
Thanks,
Luis Vivero.
Edited by: LV in ORCL on Dec 11, 2008 6:47 AMHi Jacco,
I didn't see your post before.
Nop, unfortulately I don't have a document with that. I just received that answer
from development (related to the plugin for AD that is not certified, and DAS is
not intended to work with OAS4OS).
Anyway, about the plugin to work with AD, this is working for me; at least I tested
it by configuring the plugin, I configured synchronization, the mapping file, I did
the bootstrap, and the accounts that were bootstraped now shows the OS attributes
on DAS.
Regards,
Luis Vivero. -
How to create User Portal in OID programmatically in JSP
Hi.
I want to create User Portal programmatically in JSP (if posible) or have to use procedure.
I check with package wwsec_api, it just have 'function
add_portal_user', but it say we must have "the user must already exist in OID before this function is called."
So, i checked for 'how to create User in OID'. What i got (in metalink)just methods that 'Create manually Portal Users in to OID' by LDAP or PL/SQL coding (with list of user in flat files).
What i want to do is, How to create User POrtal in OID by JSP? What are the procedure/table/method involved?
Do anybody have any samples?..
Thanks.I had to write my own because I could not find one anywhere. Here is an addUser() method that seems to work pretty well.
import oracle.ldap.util.jndi.ConnectionUtil;
import javax.naming.directory.*;
import javax.naming.*;
public class LdapUser
public LdapUser(){}
public void addUser(String pUsername, String pPassword, String pFirstName, String pLastName, String pEmail)
try
InitialDirContext ctx = ConnectionUtil.getDefaultDirCtx("host", "port", "orcladmin", "pwd");
BasicAttributes attrs = new BasicAttributes();
BasicAttribute oc = new BasicAttribute("objectclass");
oc.add("top");
oc.add("person");
oc.add("inetOrgPerson");
oc.add("organizationalPerson");
oc.add("orclUser");
oc.add("orclUserV2");
attrs.put(oc);
BasicAttribute gn = new BasicAttribute("givenName", pFirstName);
attrs.put(gn);
BasicAttribute sn = new BasicAttribute("sn", pLastName);
attrs.put(sn);
BasicAttribute cn = new BasicAttribute("mail", pEmail);
attrs.put(cn);
BasicAttribute pwd = new BasicAttribute("userpassword", pPassword);
attrs.put(pwd);
// Etcetera, etcetera...
ctx.createSubcontext("cn="+pUsername+",cn=users,dc=whatever,dc=com", attrs);
ctx.close();
System.out.println("Success!!");
catch (NameAlreadyBoundException nabe)
System.out.println("Username is already in use. Please choose another.");
catch (NamingException ne)
System.out.println("NamingException: " + ne);
catch (Exception e)
System.out.println("User account was not created.");
} -
Gaps appear in IE 6 browser window for hidden fields in Create User form
Hi,
I need an urgent input on this one.
I hid an OIM default attribute for users in the 'Create User' form by modifying clear_all_fields.js
The field is hidden from the 'Create User' page fine!
But if I open the page from Internet Explorer 6 it shows a gap in the place of the hidden field.
For Mozilla 3.0.5 the gaps are not appearing.
I tried removing these gaps by deleting the tags and the field in the clear_all_fields.js
or, by reducing the dimension of the spacer.gif in GenerateCreateUserForm.jsp.
But it reflected no change in the form look n feel.
The requirement is to hide the fields and not remove them.
Any suggestion as to what may be the way out?Thanks for the update Leonard. This would be an extremely useful plugin. I've been looking for it on http://labs.adobe.com/technologies/ under the plug-ins tab but have been unable to find it. It wasn't even there in the Pre-Release Programs. Is it located somewhere else or with a different name? Please let me know.
Meanwhile, I've been trying to write my own VB script to get the button clicked. Here's what I've come up till now-
FindText
HiliteList.Add->CreateWordHilite->SetTextSelect->GetBoundingRect->PointToDevice
The last function seems to be deprecated. Also there's nothing to connect the text highlighted by findtext with HiLiteList.Add. I guess
I may have to use the JSO word search method.
Any advice, as always, would be much appreciated. -
Updating data in User Event doesn't propogate to uses of the User Event type
So I have a user event which is seeded with a cluster in which there are a few typedefs. Now, as you might expect, I have to pass the user event to different VIs so that they can trigger the events which are interpretted by a main vi. Pretty simple and all is happy. There's one rub though: one of my vis which is passed the user event is called by reference. The call by reference vi requires a certain vi pattern when you create the reference for the vi (namely, a strictly typed vi reference), which includes the user event type. Now, sometimes, I update the typedefs in the data type of the user event. This means that user event type changes. Now, what's maybe not too surprising, is that either the user event type doesn't update with the type def or that the type specifier vi constant doesn't update with the change in user event type. This means that every time I have to go back and create a type specifier based on the updated pattern for the vi which takes the user event as an input.
Is there a way for labview to automatically do this? One way to fix it, I'm sure, is to change the user event input into the vi I call by reference to a variant. Then inside the vi I call, to type cast the variant with the output of a Create User Event vi that has been seeded with the appropriate cluster of typdefs. But that seems pretty silly (like, why not just make EVERYTHING a variant). Any ideas?
- ChrisTake a static VI reference (from the app control palette), drag your subVI into it, right click it and make it strict and wire it into the type input for the Open VI Reference primitive. Now it should always update.
Two more advantages you get from this is that now the VI is in memory, so it will automatically be included in your build and that you can use the VI Name (or VI Path) property from the static reference to get the name for the Open VI Reference primitive and it will always work correctly.
Try to take over the world! -
Hi,
I am getting some problems with the Lotus Notes Connector. The resource is provisioned but the Create User task is rejected. In the Lotus Notes server log, there is no problem and the account was created successfully.
Below is the response OIM has set to the task:
Respuesta: ERROR_UNID_SET
Descripción de Respuesta: User created successfully. Error while updating user unique attribute in the process form.
Notas:
As you can see below, there was no error when the adapter was executed:
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvisionsetPropertyEntered method
INFO [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::loadAttributeMapping: START
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision: :loadAttributeMapping : Attribute Mapping file : C:\oracle\oim9101\xellerate/XLIntegrations/LotusNotes/config/attributemapping_prov.properties
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvisiongetParsedPropertiesEntered method
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvisiongetParsedProperties---- END
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : CreateMailDb true
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : ShortName
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : SecurityType 1
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : MailSystem 0
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : Storeaddbook true
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : SynchInternetPwd true
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : InternetAddress
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : CertifierIDFile C:\Lotus\Domino\Data\cert.id
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : Registrationlog
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : MailOwnerAccess 0
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : MinPwdlen 8
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : Addbook true
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : RegistrationServer win2k3base/oimdev
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : OrgUnit during create -- oimdev
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : OrgUnit oimdev
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : MailQuotaWarning 40
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : Received null values for ExpirationDate:
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::getDefaultDate : Setting Default date
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : IdType 173
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : MailTemplateName
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : MailQuotaLimit 50
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : LastName : Gerente
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : IdFilePath : C:\Lotus\Domino\id
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : MailServer : win2k3base/oimdev
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : FirstName : Teste
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : Comment :
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : MiddleName :
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : Location :
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : MailDBPath : mail\
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : ForwardDomain : oimdev
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvisioncheckUserExistsEntered method
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::getUserName: Org Unit: oimdev
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::getUserName: Final UserName --- CN=Teste Gerente/OU=oimdev/oimdev
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvisioncheckUserExistsExiting method
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::getUserName: Org Unit: oimdev
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::getUserName: Final UserName --- CN=Teste Gerente/OU=oimdev/oimdev
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : User Name: CN=Teste Gerente/OU=oimdev/oimdev
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : Full Name: CN=Teste Gerente/O=oimdev
INFO [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::createUser : User Created Successfully
INFO [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::triggerAdminP : Invoking trigger AdminP
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::triggerAdminP : MailServer : win2k3base/oimdev
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::loadAdminpProperties : AdminP properties file : C:\oracle\oim9101\xellerate/XLIntegrations/LotusNotes/config/adminP.properties
DEBUG [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ADAPTER.LOTUSNOTES - LotusNotesProvision::triggerAdminP : AdminPCommand : tell adminp process all
I've retried the Create User task and got the Lotus Console messages below. There is no error:
10/20/2009 02:02:56 AM Admin Process: Checking for all requests to perform
10/20/2009 02:03:30 AM DIIOP Server: 192.168.200.6 connected
10/20/2009 02:03:36 AM Opened session for win2k3base/oimdev (Release 6.5.6)
10/20/2009 02:03:36 AM Closed session for win2k3base/oimdev Databases accessed: 2 Documents read: 0 Documents written: 0
10/20/2009 02:03:37 AM Certifying Teste Gerente/oimdev
10/20/2009 02:03:48 AM Opened session for win2k3base/oimdev (Release 6.5.6)
tell adminp process all >C:\DOCUME~1\ADMINI~1.WIN\LOCALS~1\Temp\rem22706.con
10/20/2009 02:03:49 AM Admin Process: Checking for all requests to perform
10/20/2009 02:03:49 AM Remote console command issued by win2k3base/oimdev: tell adminp process all
10/20/2009 02:03:49 AM Closed session for win2k3base/oimdev Databases accessed: 0 Documents read: 0 Documents written: 0
10/20/2009 02:03:49 AM DIIOP Server: 192.168.200.6 disconnected
Any suggestion?
Edited by: Renato.Guimaraes on 19/10/2009 21:04Sunny,
I figured out the problem... Wrong configurations. See what I did:
a) Reviewed the explanation below about the paramater certifierOU of Lotus Notes ITRes, so I set it to empty.
certifierOU Specifies the OU of the certifier to be used when creating user accounts If you use a certifier on the target system, then you must specify the certifier OU value. If
you do not have a certifier on the target system, then leave this parameter field empty.
If there are multiple certifiers on the target system, then you must create one IT resource (of the Lotus Notes IT resource type) for each certifier. Refer to Oracle Identity Manager
Design Console Guide for information about creating IT resources. If you specify a value for the certifierOU parameter, then the user OU value that you specify on the process form is ignored during the creation of a DN for a new user account.
If you do not specify a value for the certifierOU parameter, then the user OU value that you specify on the process form is used in the DN. This feature ensures that only one OU value
is included in the DN.
If you specify a value for the certifierOU IT resource parameter, then user records for which the certifier OU value in the DN does not match the certifierOU parameter value are not
reconciled. This is because the user DN is used to match records in the target system and Oracle Identity Manager, and a difference in the certifier OU value would lead to a
mismatch in DN values. The following example illustrates this type of scenario:
Suppose a user account on Lotus Notes has the following DN:
CN=John Doe/OU=testcertou/O=test/C=US
If testcertou has not been assigned as the value of the certifierOU parameter for any of the IT resources created on this Oracle Identity Manager installation, then the records of this
user cannot be reconciled into Oracle Identity Manager.
Sample value: NY
b) The MailServer paramater was win2k3base/oimdev and I've changed it to CN=win2k3base/O=oimdev.
c) As the certifierOU is clear now, so I have to inform the Orgnation Unit field in the process form.
Thanks.
Edited by: Renato.Guimaraes on 24/10/2009 23:19
Edited by: Renato.Guimaraes on 24/10/2009 23:27 -
OIM 11g error while creating users on screen
Hi All,
while creating the users in OIM on screen following error is thrown in the web console.
An error occurred while performing create user operation. An error occurred while executing the kernel event handler.
please find the OIM server logs below.
<Connection for pool "oimOperationsDB" closed.>
####<Sep 5, 2012 11:22:30 AM IST> <Info> <Health> <blr-idm-app01.wipro.com> <oim_server1> <weblogic.GCMonitor> <<anonymous>> <> <4c00c82b0a97856d:-1e040449:1399130671f:-8000-000000000000008f> <1346824350538> <BEA-310002> <16% of the total memory in the server is free>
<Connection for pool "mds-oim" closed.>
<Connection for pool "mds-owsm" closed.>
<Connection for pool "oimJMSStoreDS" closed.>
<Created "1" resources for pool "mds-owsm", out of which "1" are available and "0" are unavailable.>
<Created "1" resources for pool "mds-oim", out of which "1" are available and "0" are unavailable.>
Thanks,
Power.You can increase the connection pool size for data source "oimOperationsDB" through Web-logic Admin console.
See if you still get error then the issue is not with connection pool . -
Want to add a prepopulated User defined field in create user form
Hi,
I have an entity adapter which will perform a pre-insert check on the user group of the user logged in to the oim.
If the logged in user belongs to a group say "IT ADMIN", another validation check will be imposed on the create user action performed by him.
If not from "IT ADMIN" group then create user action will be handled normally.
Now the catch is, how would I determine the group name of the user logged in from the adapter code I have written?
I decided to keep an User defined field "Created by" in the create user form which will be non-editable and auto-prepopulated with the group name of the logged in user. This way I will be able to map the variable field from the User definition drop down list while mapping the adapter variables.
May you please guide me how I can achieve this?
Would highly appreciate suggestion/inputs.Thanks for all your replies!
However I am still in dark.
I tried to retrieve the groupname using tcUSerOperationsIntf. But iit tries to retrieve the group name of the user getting created.
Please note, the group name I want is not of the user yet to get created, but that of the user creating it i.e., the logged in user.
My requirement is to have this created_by field in the create user form already prepopulated with the group name of the logged in user.
So that I can put a check based on this field value in the netity adapter.
If the group is IT ADMIN then proceed with the validation.
Else no validation required.
In short, I want to know,how can I auto-prepopulate a UDF in Create USer form?
Maybe you are looking for
-
Hr-abap,regarding finding mangers for an employee for the particular period
hi, i am new to hr-abap. my requriement is i have to fetch the managers of an employee for a particular peroid of time.Can any one provide me this coding?
-
Workflow and problems with labels
Hello! I've been testing out some things in Edge and I've noticed a few things that I've been trying to find some documentation and information about, I would greatly appreciate any enlightenment on the following observations: Frame labels do not wor
-
Hello: I upgraded my current-gen Mac-Mini to 10.9 yesterday, and I'm having difficulty with iBooks. When I initially launched it, it asked for my AppleID, and I provided it... then the screen flashed to what looked like the PDF section of my iBook-s
-
Response Groups - Duplicate "Built In" Services - Multiple Default Routing Endpoints
Hello, I have a Lync 2013 deployment that has been migrated from OCS 2007, to OCS 2007 R2, to Lync 2010, and now to Lync 2013. I am including that information as that may be important for the following discussion. When the Response Group Service star
-
What is the max number of recipients in an email list
Mail is rejecting my email because of too many recipients. What is the limit??