Question Oracle Internet Directory and ODBC...
Hello worldI had leaned on enforcement OID to use as a name server to eliminate the need to have a file tnsnames.ora on each client computer, the potential problem that I may have is that one of our applications requires an ODBC system DNS connection is configured on each windows client.
My question is will I be able to create an ODBC connection to "seek" the TNS service on the server of the OID name and if so how, or will it means I have to keep the tnsnames.ora file on clients with just one entry?
All the tips are greatly appreciated.
Thank you very much
Phil
P.S. apologies if I posted this in the wrong section, I wasn't really sure where this should go...
Edited by: Gricey on October 6, 2008 11:00
ODBC does not work, it uses sqlnet in the background to connect to the database. There is no difference between an ODBC connection or a native connection via sqlplus. Configure your connection to LDAP as described here:
http://download.Oracle.com/docs/CD/B19306_01/network.102/b14212/naming.htm#sthref732
Werner
Tags: Database
Similar Questions
-
Microsoft and Oracle Internet directory to Active Directory
Hi all
We have an in-house application that is running on the Oracle 10 g application server. We have a requirement where we want that the user windows authenticated and approved as the user connection for our application.
(1) it is possible to map users to login windows for Oracle Internet Directory?
(2) if so, how copy/create windows in Oracle Internet Directory users?
(3) Microsoft Active Directory plays a role in the present?
(4) what will be the overall throughput if we fix all this?
(5) is there any place where I can find simple but complete documentation on this?
Pls help.
Kind regards
SamuelHi Samuel,.
to do this, you will need to integrate the OID/SSO with Active Directory, as shown:
Oracle® Identity Management Integration Guide
10g (10.1.4.0.1)
B15995-01 part number
19 integration with Microsoft Active Directory
http://download-UK.Oracle.com/docs/CD/B28196_01/idmanage.1014/b15995/odip_actdir.htm#OIMIG026(1) it is possible to map users to login windows for Oracle Internet Directory?
If windows users are domain users, then Yes, trough Kerberos and Native of Windows authentication.(2) if so, how copy/create windows in Oracle Internet Directory users?
This task will be done by the ODI (Oracle Directory Integration) server. This will make a sync LDAP based between OID and AD.(3) Microsoft Active Directory plays a role in the present?
Yes, he plays :)(4) what will be the overall throughput if we fix all this?
-Users are synchronized by DIP of AD to OID.
-User opens the application in the browser
-The browser sends the kerberos session on the SSO Server ticket
-SSO server validates the ticket against the KDC
-SSO logs the user in the application based on the kerberos (windows logon) ticket(5) is there any place where I can find simple but complete documentation on this?
Click on the link I gave you. There are also a lot of notes about this integration metalink. Is a common integration.ARO
Octavian -
Beginning Oracle Internet Directory failure... server context is null
I try to install Oracle Internet Directory on RHEL5 64 bit for the first time.
The database (11.2.0.3), Weblogic (10.3.6) and OID (11.1.1.6) have everything installed OK, and I run the config.sh script.
I said 'Create the schema' and enter SYS credentials. The installation is fine, but fails to "Start Oracle Internet Directory" at the stage of the component to configure.
I see in the oraInventory/log/install-xxxxx.log
and in the oraInventory/log/install-xxxxx... file,...[2013-01-04T14:15:54.362+13:00] [as] [WARNING] [] [oracle.as.config] [tid: 12] [ecid: 0000Jk314pw3n3kxOw7ECd1GtYLj000003,0] Failed to start component oid1[[ oracle.as.config.ProvisionException: HTTP status code = 400 : The request parameters did not match any components at oracle.as.config.impl.OracleASComponentBaseImpl.manageProcess(OracleASComponentBaseImpl.java:943) at oracle.as.config.impl.OracleASComponentBaseImpl.start(OracleASComponentBaseImpl.java:1062) at oracle.as.provisioning.fmwadmin.ASComponentProv.createComponent(ASComponentProv.java:153) at oracle.as.provisioning.fmwadmin.ASComponentProv.createComponent(ASComponentProv.java:73) at oracle.as.provisioning.fmwadmin.ASInstanceProv._createComponent(ASInstanceProv.java:401) at oracle.as.provisioning.fmwadmin.ASInstanceProv.createComponent(ASInstanceProv.java:364) at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:136) at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:523) at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:439) at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866) at oracle.as.idm.install.config.IdMDirectoryServicesManager.doExecute(IdMDirectoryServicesManager.java:951) at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371) at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88) at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105) at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15) at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64) at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160) at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81) at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86) at java.lang.Thread.run(Thread.java:662)
Is anyone able to point me in the right direction as to the cause of this?... ... ... Repository Creation Utility - Creating Tablespaces Validating and Creating Tablespaces Repository Creation Utility - Create Repository Create in progress. Percent Complete: 0 Percent Complete: 35 Percent Complete: 29 Percent Complete: 91 Repository Creation Utility: Create - Completion Summary Database details: Host Name : localhost Port : 1521 Service Name : OID.CTRU.AUCKLAND.AC.NZ Connected As : sys Prefix for (non-prefixable) Schema Owners : DEFAULT_PREFIX RCU Logfile : /u04/app/oracle/Middleware/Oracle_IDM1/rcu/log/rcu.log Component schemas created: Component Status Logfile Oracle Internet Directory Success /u04/app/oracle/Middleware/Oracle_IDM1/rcu/log/oid.log Repository Creation Utility - Create : Operation Completed ------------------------------------------------- RCUUtil createOIDRepository status = 0------------------------------------------------- progress in calculate progress25 AdminServer port is 7001 trying to connect to oracleidir.ctru.auckland.ac.nz 7001 Successful getDomainRuntimeMBeanServerConnection ... Connecting to Domain runtime ... trying to connect to oracleidir.ctru.auckland.ac.nz 7001 Successfully connected to the Domain Runtime ... trying to connect to oracleidir.ctru.auckland.ac.nz 7001 Successful MBean Server Connection is :javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection@1dd9505 oracleidir.ctru.auckland.ac.nz 7001 Instance asinst_1 already exists, continuing with component creation /u04/app/oracle/Middleware/Oracle_IDM1 /u04/app/oracle/Middleware/asinst_1 asinst_1 oracle.as.config.ProvisionException: Error Starting OID at oracle.iam.management.oid.install.wls.OIDComponentHelper.temp_startOID(OIDComponentHelper.java:1980) at oracle.iam.management.oid.install.wls.OIDComponent.postCreateConfig(OIDComponent.java:325) at oracle.as.provisioning.fmwadmin.ASComponentProv.createComponent(ASComponentProv.java:145) at oracle.as.provisioning.fmwadmin.ASComponentProv.createComponent(ASComponentProv.java:73) at oracle.as.provisioning.fmwadmin.ASInstanceProv._createComponent(ASInstanceProv.java:401) at oracle.as.provisioning.fmwadmin.ASInstanceProv.createComponent(ASInstanceProv.java:358) at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:136) at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:523) at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:439) at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866) at oracle.as.idm.install.config.IdMDirectoryServicesManager.doExecute(IdMDirectoryServicesManager.java:874) at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371) at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88) at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105) at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15) at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64) at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160) at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81) at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86) at java.lang.Thread.run(Thread.java:662) Caused by: oracle.as.config.ProvisionException: OID server context is null at oracle.iam.management.oid.install.wls.OIDComponentHelper._isOIDSrvUp(OIDComponentHelper.java:2050) at oracle.iam.management.oid.install.wls.OIDComponentHelper.temp_startOID(OIDComponentHelper.java:1970) ... 19 more
I notice that Metalink ID: "FMW 11g Oracle Internet Directory Configuration process Fail: Error Creating Ascomponent Oid1 [1289015.1 ID]" refers to IPV6. " I only have IPV4 enabled. For OID is mandatory IPV6?
Thanks in advance.Hello
I recommend you to run RCU (11.1.1.6) and to create the schema and configure.
Kind regards
Raghav. -
Oracle Internet Directory Config error Linux x 64 java.lang.NoClassDefFoundE
Hello
I'm configuration (v11.1.1.2) identity management product, the installation was very well made. I started to configure it using the config.sh script. I chose to create a new weblogic domain and selected to configure OID and OVD.
I am running Red hat linux 5.4 x 64 bit OS.
I gave all the parameters configuration, such as requested and if failure at the stage where it creates the Oracle Internet Directory store with the error in the log below:
[2011-02 - 02T 18: 20:29.969 + 00:00] [as] [TRACE] [] [oracle.as.provisioning] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] [SRC_CLASS: oracle.as.idm.install.config.event.IdMProvisionEventListener] [SRC_METHOD: onConfigurationStatus] [OOB IDM EVENT CONFIG] onConfigurationStatus-> ab274dda-a540-4666-bc1b-9d367b26b3b9 StatusMsg: {0} creation ASComponent.
[2011-02 - 02T 18: 20:29.969 + 00:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] reportStartConfigAction: EXIT...
[2011-02 - 02T 18: 20:29.969 + 00:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] beginning to create the component
[2011-02 - 02T 18: 20:30.057 + 00:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] Action for the oid1 is to CREATE
[2011-02 - 02T 18: 20:30.057 + 00:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] trying to create the oid1 component
[2011-02 - 02T 18: 20:30.447 + 00:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] OID onCreate... [[
]]
[2011-02 - 02T 18: 20:30.466 + 00:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] not a DB CARS: 10.23.74.119:1521:RMG
[2011-02 - 02T 18: 20:30.467 + 00:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] DB connection string: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=10.23.74.119) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = RMG)))
[2011-02 - 02T 18: 20:30.885 + 00:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] SCHEMA_VERSION_REGISTRY Control Panel...
[2011-02 - 02T 18: 20:30.894 + 00:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] Version of the schema OID: 11.1.1.3.0
[2011-02 - 02T 18: 20:30.911 + 00:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] Num of OIDs: 1
[2011-02 - 02T 18: 20:31.029 + 00:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] TO validate input parameters
[2011-02 - 02T 18: 20:31.097 + 00:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] Ports: nonssl = 3060 ssl = 3131
[2011-02 - 02T 18: 20:31.097 + 00:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] directory specific OID creating
[2011-02 - 02T 18: 20:31.098 + 00:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] JPS Files already exist: oracle.as.config.ProvisionException: Dest file (/ opt/oracle/middleware/asinst_1/config/JPS/jps-config-jse.xml) already exists.
[2011-02 - 02T 18: 20:31.098 + 00:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] files already exist: oracle.as.config.ProvisionException: Dest file (/ opt/oracle/middleware/asinst_1/config/JPS/system-jazn-data.xml) already exists.
[2011-02 - 02T 18: 20:31.674 + 00:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 13] [ecid: 0000Irb_0ZpFw000jzwkno1DIOnZ000003, 0] []
java.lang.NoClassDefFoundError: oracle/security/xmlsec/util/Base64
to oracle.security.jps.internal.common.util.JpsCommonUtil. < clinit > (JpsCommonUtil.java:212)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:155)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:166)
to oracle.iam.management.oid.install.wls.OIDComponentHelper$ 1.run(OIDComponentHelper.java:396)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.iam.management.oid.install.wls.OIDComponentHelper.setCredInCSF(OIDComponentHelper.java:389)
at oracle.iam.management.oid.install.wls.OIDComponentHelper.setPasswdsInCSF(OIDComponentHelper.java:361)
at oracle.iam.management.oid.install.wls.OIDComponent.onCreate(OIDComponent.java:177)
at oracle.as.config.impl.OracleASComponentBaseImpl.createComponent(OracleASComponentBaseImpl.java:596)
at oracle.as.config.impl.OracleASComponentBaseImpl.create(OracleASComponentBaseImpl.java:105)
at oracle.as.provisioning.fmwadmin.ASComponentProv.createComponent(ASComponentProv.java:144)
at oracle.as.provisioning.fmwadmin.ASComponentProv.createComponent(ASComponentProv.java:73)
at oracle.as.provisioning.fmwadmin.ASInstanceProv._createComponent(ASInstanceProv.java:401)
at oracle.as.provisioning.fmwadmin.ASInstanceProv.createComponent(ASInstanceProv.java:358)
at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:136)
at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:525)
at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:441)
at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
at oracle.as.idm.install.config.IdMDirectoryServicesManager.doExecute(IdMDirectoryServicesManager.java:861)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: oracle.security.xmlsec.util.Base64
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionClassLoader.loadClass(StandardConfigActionClassLoader.java:75)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Help, please.
If necessary, I can post the full log... but his very large... So just post newspapers around the error message...
Published by: 833360 on February 2, 2011 10:59Hello
Few things to check.
What is the JDK/JRE Version.
What is the version of WLS?
From the error lines, I can see THAT RCU Version is 11.1.1.3.If the WLS version is 10.3.3, so it is not supported with IDM 11.1.1.2.
Suggestions: update IDM to 11.1.1.3 and configure it. Here are the steps.
-Cancel the Configuration Wizard, delete the directories of domain Instance ACE and WebLogic OR if it's on the virtual machine, you can return to the previous snapshot.
-Update IDM in 11.1.1.3
-Execute config.cmd or confg.shLet me know the result.
Thank you
GK -
Cataloguing of the Oracle Internet Directory attributes
Hi all
I'm new to OID, when I set up a production env, a doc connected with OID said like this:
An Oracle Internet Directory attribute used in a search filter should be indexed. The ldapmodify command whose syntax is shown below, also allows you to index the attributes specified in an LDIF file
OIDHOST1 > host ORACLE_HOME/bin/ldapmodify - h Pei port d bindDN w bindPassword - v f catalogue-change-ldif-filename
For example, the above command can be used with the following example LDIF file to catalog the attributes createtimestamp and modifytimestamp:
DN: cn = catalogues
ChangeType: modify
Add: orclindexedattribute
orclindexedattribute: modifytimestamp
orclindexedattribute: createtimestamp
Although, so far, the well-executed ldapmodify.
After that, other comments said:
Each of the following Oracle Internet Directory attributes must be indexed:
orclrolescope
orclassignedroles
orclApplicationCommonName
orclAppFullName
orclCSFAlias
orclCSFKey
orclCSFName
orclCSFDBUrl
orclCSFDBPort
orclCSFCredentialType
orclCSFExpiryTime
modifytimestamp
createTimeStamp
orcljpsassignee
I added a file named Catalog-change-ldif-File2, content is:
DN: cn = catalogues
ChangeType: modify
Add: orclindexedattribute
orclindexedattribute: orclrolescope
After exec the same ldapmodify command, I got the following error msg:
Add orclindexedattribute:
orclrolescope
change the entry cn = catalogues
ldap_modify operation: Type or value exists
the operation ldap_modify: more info: orclindexedattribute attribute has a duplicate value. VALUE: orclrolescope
Where I'm wrong pls.
Best regardsHello
I think you get such an error it is because this attribute orclrolescope is already index-ed.To check all the attributes that are indexed, try to run the following command:
ldapsearch h port of p - oidhost - d binddn w Password x - base - sagna "cn = catalogs" "objectclass = *".
This will give you a great performance and 'orclindexedattribute' contains the attributes that are indexed. I believe you will find orclrolescope in there too.
I hope this helps. Let us know.
-
Install the new Oracle Internet Directory on the existing repository
Hi people,
We currently have a less-than-ideal situation by which Oracle Internet Directory services are installed on the same host (well under a separate House) in the database that contains the repository of metadata. We want to fix this in a future close by effectively moving services OID to a separate host computer. Is this possible? I couldn't do anything useful by googling and some tests I did with trying to install a second instance of OID against the existing repository, turned up the following error:
Setup has detected that you already have Oracle Internet Directory configured for the database located in < host >: < port >: < database >. Directory Internet Oracle can be installed once per database.
Looks pretty final that I suppose. Was wondering if anyone had had success trying to make something similar?
See you soon,.
IMThe desired sequence is documented in 9.6.1 - 9.6.4 to http://download.oracle.com/docs/cd/B28196_01/install.1014/b28192/ha_multibox.htm#BABGFICJ measures
-
Client Oracle Internet Directory installation
How to install Oracle Internet Directory Client ONLY? Im trying to install it on Windows with Oracle Identity Federation Suite and Oracle Identity Management Infrastructure. Its asking me to provide the details of the DB. I want to install just the client and nothing else. How can I do?
Thank you"Oracle Database 10g Release 2 (10.2.0.1.0) Client. I guess the client 11g is available also...
-
Oracle Internet Directory self-service console
Hello
I would like to download Oracle Internet Directory self-service Console could you tell me the file in the downloads/identity/OTN management, I lost :) :)
As far as I know oiddas is the 10g version?
Thank you very muchHere is link (Oracle Identity Manager (9.1.0.1))
http://www.Oracle.com/technetwork/middleware/IAS/downloads/101401-099957.html
This is version 10g IOM
You can download windows or a linux based on your operating system
-
Where to find Oracle Internet Directory
Hello
I have a copy of Oracle Express 10 g. I want to install Oracle Internet Directory, but I can't seem to find where I can download it. Anyone know how to get this?
Thank youIO is a component of identity management, here is a link to a how-to OTN, it's a decent start... http://www.oracle.com/technology/pub/articles/chan-oid.html
-
Test Oracle Internet Directory Connector for IOM
Hello
I'm testing the running test cases available in the Oracle Internet Directory Connector for IOM, but I'm not because it seems that the current version of this connector does not have the java class tcUtilTestOID as described in the documentation. This class should be at the level of the test\troubleshoot\scripts directory, but there are only files of orders with test cases.
Can anyone confirm this or give me this class file?
Thanks in advance.This is the code. Include in your jar file personalized with the same name. You will be done I guess:
import com.thortech.util.logging.Logger;
import com.thortech.xl.integration.OID.util.tcUtilLDAPOperations;
import java. IO;
import java.util.Properties;
Import javax.naming.directory.BasicAttribute;
Import javax.naming.directory.BasicAttributes;public class tcUtilTestOID
{private static String CONFIG_FILEPATH = "global.properties."
public tcUtilTestOID()
{
}Public Shared Sub main (string args [])
{
tcUtilLDAPOperations ldapOp = null;
Logger logger = Logger.getLogger ("TEST_USER_PROVISION");
logger.info("**********************************");
Logger.info ("*" + args [0]);
Try
{
FileInputStream file = null;
Try
{
ConfigFile = new FileInputStream (CONFIG_FILEPATH);
}
catch (FileNotFoundException fe)
{
Logger.Error ("could not find the configuration file (" + CONFIG_FILEPATH + "" ")" ");
fe.printStackTrace ();
}
Prp properties = new Properties ();
Try
{
PRP. Load ("ConfigFile");
}
catch (IOException IE)
{
Logger.Error ("unable to load the configuration file (" + CONFIG_FILEPATH + "" ")" ");
ie.printStackTrace ();
}
String serverName = prp.getProperty ("serverName");
String portNo = prp.getProperty ("portNo");
String rootContext = prp.getProperty ("rootContext");
String principalDN = prp.getProperty ("principalDN");
String principalPass = prp.getProperty ("principalPassword");
Boolean sslFlag = "true".equalsIgnoreCase (prp.getProperty ("sslFlag"));
Logger.info ("the server name =" + serverName);
Logger.info ("portNo =" + portNo);
Logger.info ("rootContext =" + rootContext);
Logger.info ("principalDN =" + principalDN);
Logger.info ("sslFlag =" + sslFlag);
Logger.info("===\n");
ldapOp = new tcUtilLDAPOperations (serverName portNo, rootContext, principalDN, principalPass, sslFlag);
String ldapUserDNPrefix = "cn".
String ldapObjectClass = "objectclass";
String ldapUserObjectClass = "inetOrgPerson";
String ldapFirstName = "givenName";
String ldapLastName = "sn."
String ldapCommonName = "cn".
String ldapPassword = 'userPassword ';
String containerDN = prp.getProperty ("containerDN");
Logger.info ("containerDN =" + containerDN);
Logger.info ("UserOperation selected =" + args [0]);
If (args [0] .equalsIgnoreCase ("createUser"))
{
Logger.info ("CREATE USER CALLED");
String createUserFName = prp.getProperty ("createUser.firstName");
String createUserLName = prp.getProperty ("createUser.lastName");
String createUserUserDN = prp.getProperty ("createUser.userDN");
String createUserUserPass = prp.getProperty ("createUser.userPassword");
Logger.info ("createUser.firstName =" + createUserFName);
Logger.info ("createUser.lastName =" + createUserLName);
Logger.info ("createUser.userDN =" + createUserUserDN);
Logger.info ("createUser.userPassword =" + createUserUserPass + "\n\n");
BasicAttributes basicattributes = new BasicAttributes (true);
BasicAttributes.put (new BasicAttribute (ldapObjectClass, ldapUserObjectClass));
BasicAttributes.put (new BasicAttribute (ldapFirstName, createUserFName));
BasicAttributes.put (new BasicAttribute (ldapLastName, createUserLName));
BasicAttributes.put (new BasicAttribute (ldapCommonName, createUserFName + "" + createUserLName));
BasicAttributes.put (new BasicAttribute (ldapPassword, createUserUserPass));
ldapOp.connectToLDAP ();
userCreated Boolean = ldapOp.createObject (ldapUserDNPrefix + "=" + createUserUserDN + "," + containerDN, basicattributes);
ldapOp.disconnectFromLDAP ();
If (userCreated)
{
Logger.info ("\t >" + createUserUserDN + "-USER_CREATION_SUCCESSFUL");
} else
{
Logger.info ("\t >" + createUserUserDN + "-USER_CREATION_FAILED");
}
} else
if(args[0].) Equals ("ModifyUser"))
{
Logger.info ("EDIT USER CALLED");
String modifyUserUserDN = prp.getProperty ("modifyUser.userDN");
String modifyUserParamName = prp.getProperty ("modifyUser.paramName");
String modifyUserParamValue = prp.getProperty ("modifyUser.paramValue");
Logger.info ("modifyUser.userDN =" + modifyUserUserDN);
Logger.info ("modifyUser.paramName =" + modifyUserParamName);
Logger.info ("modifyUser.paramValue =" + modifyUserParamValue);
ldapOp.connectToLDAP ();
BasicAttributes basicattributes = new BasicAttributes (true);
BasicAttributes.put (new BasicAttribute (modifyUserParamName, modifyUserParamValue));
Boolean isUserModified = ldapOp.modifyAttributesReplace (ldapUserDNPrefix + "=" + modifyUserUserDN + "," + containerDN, basicattributes);
ldapOp.disconnectFromLDAP ();
If (isUserModified)
{
Logger.info ("\t >" + modifyUserUserDN + "-USER_UPDATE_SUCCESSFUL");
} else
{
Logger.info ("\t >" + modifyUserUserDN + "-USER_UPDATE_FAILED");
}
} else
if(args[0].) Equals ("deleteUser"))
{
Logger.info ("DELETE USER CALLED");
String deleteUserUserDN = prp.getProperty ("deleteUser.userDN");
Logger.info ("deleteUser.userDN =" + deleteUserUserDN);
ldapOp.connectToLDAP ();
Boolean isUserDeleted = ldapOp.deleteObject (ldapUserDNPrefix + "=" + deleteUserUserDN + "," + containerDN);
ldapOp.disconnectFromLDAP ();
If (isUserDeleted)
{
Logger.info ("\t >" + deleteUserUserDN + "-USER_DELETION_SUCCESSFUL");
} else
{
Logger.info ("\t >" + deleteUserUserDN + "-USER_DELETION_FAILED");
}
}
}
catch (Exception e1)
{
E1. PrintStackTrace();
return;
}
}}
Thank you
Sunny
-
I will buy a PC soon and I should install Adobe CC 2015. However, by economic measure and time, I wish not to have internet at home. I was wondering, if I take a subscription to Adobe CC, doi - I absolutely have internet at home pour have access to the software? In the sense, if I connect to the internet to install all the software, what important pour the rest of the things that I am connected to the internet all the time? I wonder this because I have another laptop and often being in l 'outside the House, I don't see l' use an internet capacity.
I will buy a PC soon and I should install Adobe CC 2015. However, as a measure of economy and time, I would have no internet at home. I was wondering if I take a subscription to Adobe CC, do I have to have Internet at home to access the software? In this sense, if I connect to the internet to install all the software, is it important for the rest of the things that I'm connected to the internet all the time? I wonder this because I have another laptop and often being outside the House, I don't see the point of having internet.
Please visit CC help | Creative cloud / common Questions for more information.
Hope this will help you.
Kind regards
Hervé Khare
-
Install Oracle Internet DIrectory
Hello
We have installed Oracle AS infrastructure with the metadata repository and Identitiy Management.
To install and configure the OID, should I install sameORACLE_HOme as the Infrastructure of the OAS _ linking runInstaller Disk1
Thanx
KedarOnce you have installed the infrastructure, you have OID. (No need to buy extra books). So it's just a mater of turning on / off power (opmnctl)
Additional configuration, if necessary, described in http://download-east.oracle.com/docs/cd/B14099_19/idmanage.htm - config most would be using the application server console.
-
The Oracle Internet Directory Jive Forums Moderators
Hello Experts.
I try to incorporate some Jive Forums with OID.
I know how to do in fact (I need to edit jive_startup.xml and run the install web host: port/owc_discussions/admin/setup).
BUT I have a specific requirement: I need to create a group of users in the OID which should be moderators of Forums of Jive. And I do not want to grant privileges of moderator for each user manually in the console of administration of Forums of Jive.
I need according to the scenario:
(1) I add a user in "Moderators" OID group
(2) this user automatically becomes a moderator in the Jive Forums
=======================================
Is this possible? (And if it is, how to achieve this?)Yes. In the console OWC admin-> settings-> Admins & moderators - you can assign permissions to a specific user or specific groups. If you have a configured OID, the groups are configured in OID.
-
Where to get the Oracle Internet Directory Installation?
Hi Experts,
I need to install the OID, but I can't find it on OTN. Should what middleware component I install to only have the OID?
Thank you!http://www.Oracle.com/technetwork/middleware/downloads/OID-11g-161194.html
It is under the Identity Management (11.1.1.3.0).
-Kevin
-
Client Oracle installed but not ODBC
Hello
I have the oracle client 11.2.0.1.0 installed on a 64-bit windows computer 7. I need to connect to my MS Visio oracle database. Previously, I had installed Visio 32-bit, but have since uninstalled and reinstalled 64 bit. I can't see my database or create an ODBC to it. I do not have the driver oracle in "ODBC Data Source Administrator" option.
I downloaded instantclient-odbc-win-x86-64-11.2.0.1.0.zip of oracle, but it says I have to unzip it in the same directory as my instant client. This is the path where the instant client is but there are a lot of records and I don't know where I have to unpack it?
C:\oracle\11gR2Client\product\11.2.0\client_1\
Thanks for any help you can give me.
Oracle ODBC in package ODBC Client now need some files Oracle Instant Client base or beginner. I hope that you have downloaded the x 64 version of Instant customer base or Basic as well. Download and unzip it in the same folder where you have unpacked x 64 Instant Client ODBC if you don't have yet done. Instant Client downloads for Microsoft Windows (x 64)
You should not unpack 11.2.0.1.0 Instant Client existing Client host (i.e. C:\oracle\11gR2Client\product\11.2.0\client_1\).
Maybe you uncompress Oracle Instant Client base and ODBC packages in the C:\oracle\11gR2Client\product\11.2.0\ directory.
After having unpacked the files, make sure, start the command with administrator privileges prompt and run odbc_install.exe in C:\oracle\11gR2Client\product\11.2.0\instantclient_11_2\ to save the driver ODBC Oracle Instant Client at (instantclient_11_2). Later, you will need to create a DSN for the newly installed Oracle 11.2.0.1 x 64 tip in the console of administration ODBC data source (odbcad32).
Maybe you are looking for
-
Every time I open Thunderbird, two same Windows Thunderbird appears at the same time.
I have this problem 4 days ago. Everytime I open my Thunderbird program, 2 windows appears. I'd appreciate your help. Thank you!
-
Scroll in the pane view of Mail goes directly at the bottom of the Page
I use the current version of Mail.app (9.3) in OS X 10.11.5 (El Capitan). In previous versions of Mail.app, I could place my mouse in the e-mail display pane and use my mouse on how intent settings and the same with all other applications. With the n
-
Satellite A100 - 847 PSAA9E - 4 GB of ram, but it reads only 3 GB Win 64 bit
I have the laptop A100-847-PSAA9E-0R101QAR and I have 4 GB of ram installed on it.Yesterday, I installed Win7 64-bit system but when I check the properties of the computer, I see only: Installed memory (Ram): 4 GB (3.00 GB usable)System type: 64-bit
-
Trouble connecting Netgear XS748T to Ubiquiti UniFi US-48-750W via Port SFP +.
We bought a new switch Netgear XS748T and try connecting to our existing network which consists of several switches of Ubiquiti UniFi US-48-750W, and we try to connect using the SFP + 10 GB ports on the two switches. We have a Direct Link SFP + SFP +
-
Need help finding a specific part for the predator
I am looking for the metal clip that holds the 2280 m2 card into the top slot (for the 22110 m.2). There must be somewhere, I don't know where. Its killing me.