Thread: AD-OID Synchronization Not Executed Yet


Permlink Replies: 17 - Pages: 2 [ 1 2 | Next ] - Last Post: Sep 12, 2008 10:42 AM Last Post By: user650447
janet.darnell@g...

Posts: 4
Registered: 03/16/04
AD-OID Synchronization Not Executed Yet
Posted: Aug 31, 2004 9:04 AM
Click to report abuse...   Click to reply to this thread Reply
Have configured and uploaded mapping file for import from AD to OID. Have successfully bootstrapped - AD users now appear in OID. However, Synchronization is still not yet executing successfully.

Have followed the training material steps - need help to correct and start synchronization. Any suggestions - please send to Janet.Darnell@gdc4s.com.
jtomlins

Posts: 58
Registered: 01/10/01
Re: AD-OID Synchronization Not Executed Yet
Posted: Aug 31, 2004 12:58 PM   in response to: janet.darnell@g... in response to: janet.darnell@g...
Click to report abuse...   Click to reply to this thread Reply
Hi Janet

Take a look at the trace files. They are located in your $ORACLE_HOME/ldap/odi/log

You should see a file that contains the name of your agent profile with a .trc extention.

Example:

ActiveChgImp.trc

Do a tail on this log to see if there are any error messages.

Typically when I see the problem you are having its usually that the DIP server is unable to connect to the AD server.

Things to look for:

Verify you are using the correct port number for AD
Verify you have the correct FQDN or IP address for the AD server
Verify the Connected Directory Account and password are correct.
Verify you have enabled the Agent profile
Verify there are changes in AD that need to be synced. It is possible that after you bootstrapped AD to OID that there have been no changes yet made.
Verify you have started the odisrv server process for configset1

Jay
heinrich.geiger...

Posts: 13
Registered: 07/12/04
Re: AD-OID Synchronization Not Executed Yet
Posted: Sep 8, 2004 12:32 AM   in response to: jtomlins in response to: jtomlins
Click to report abuse...   Click to reply to this thread Reply
Hi John,

I have the same problem. I could bootstrap all the users from AD to OID. But in status of my "ActiveChgImport" profile stand "Not executed yet".

So. How can I verify the status of "odisrv"? Or what can I do, which it is running.

Thanks and regards.

Heinrich
jtomlins

Posts: 58
Registered: 01/10/01
Re: AD-OID Synchronization Not Executed Yet
Posted: Sep 8, 2004 8:36 AM   in response to: heinrich.geiger... in response to: heinrich.geiger...
Click to report abuse...   Click to reply to this thread Reply
Hi Geiger

First lets check a few obvious things. If you are checking the status of your Agent by using the Oracle Directory Manager (ODM), remember that this is a Java tool that takes a snapshot of your status. Each time you want to check the status you need to click the refresh button while you have your agent profile highlighted.

Another thing you can check would be to perform a simple ldapbind test. Assuming that the user you are using to connect to AD has the proper permissions to read the AD changelogs, try this ldapbind command:

ldapbind -p <AD_port_num> -h <AD_FQDN> -D "administrator@acme.com" -w admin_password

Substitute that name of the admin user for the "-D" option. If you are able to connect successfully you will get a message back that reads "bind successful".

The way you start your odisrv server process is as follows:

oidctl connect=iasdb serevr=odisrv instance=1 configset=1 flags="port=3130 debug=63" start

Notice that I used the "debug" flag. Also, substitute your own DB conncet string for the "connect parameter. This will record any error messages in the trace files that will help you troubleshoot any problems with your agent profile. While your agent profile is running, monitor the "ActiveChgImp.trc" trace file that should be in your $ORACLE_HOME/ldap/odi/log directory. If your odisrv server process for configset=1 is running and you started it with the debug flag of 63 you should see all of the details in the trace file concerning why your agent profile has not started to sync.

Have you seen this training collateral?

http://www.oracle.com/technology/products/oid/oidhtml/sec_idm_training/html_masters/basics01.htm

Jay
heinrich.geiger...

Posts: 13
Registered: 07/12/04
Re: AD-OID Synchronization Not Executed Yet
Posted: Sep 13, 2004 12:37 AM   in response to: jtomlins in response to: jtomlins
Click to report abuse...   Click to reply to this thread Reply
Hi John,

thank you for the help. Now it is running, but I get dubious in the trace-log, like this:

[quote]
Exception Modifying Entry : javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights]; remaining name 'CN=Bopp\, Andr?,OU=ADP1,OU=ADP,ou=administration,ou=stuttgart,dc=vi,dc=vector,dc=int'
[LDAP: error code 50 - Insufficient Access Rights]
Exception creating Entry : javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights]; remaining name 'CN=Bopp\, Andr?,OU=ADP1,OU=ADP,ou=administration,ou=stuttgart,dc=vi,dc=vector,dc=int'
[LDAP: error code 50 - Insufficient Access Rights]
ActiveChgImp:Error in Mapping EngineODIException: DIP_OIDWRITER_ERROR_CREATE
ODIException: DIP_OIDWRITER_ERROR_CREATE
[/quote]

What is a meaning of them? Have I not enought rights in AD or in OID. Bootstrapping is runnnig perfectly.

Regards Heinrich
jtomlins

Posts: 58
Registered: 01/10/01
Re: AD-OID Synchronization Not Executed Yet
Posted: Sep 13, 2004 8:16 AM   in response to: heinrich.geiger... in response to: heinrich.geiger...
Click to report abuse...   Click to reply to this thread Reply
Hi Geiger

The error message you are getting indicates that there is an access control policy preventing you from making a modification.

Have you applied the new access control policy as mentioned in the OID admin guide in chapter 43? You can also see a sample of this new policy at the following URL:

http://www.oracle.com/technology/products/oid/oidhtml/sec_idm_training/html_masters/basics02.htm#Grant

Jay
tbokman

Posts: 40
Registered: 02/10/00
Re: AD-OID Synchronization Not Executed Yet
Posted: Sep 13, 2004 8:28 AM   in response to: jtomlins in response to: jtomlins
Click to report abuse...   Click to reply to this thread Reply
I'm trying to do the step "Grant access permission for AD Group synchronization" I ran the prior step "dipassistant" with no problems but when I run "ldapmodify -p 389 -h oracleas.norris.intra -D "cn=orcladmin" -w ias_password -f d:\grantrole.ldif" I get error:

modifying entry cn=Users,dc=norris,dc=intra
ldap_modify: Insufficient access

How do I fix this? Thanks.
heinrich.geiger...

Posts: 13
Registered: 07/12/04
Re: AD-OID Synchronization Not Executed Yet
Posted: Sep 14, 2004 12:05 AM   in response to: tbokman in response to: tbokman
Click to report abuse...   Click to reply to this thread Reply
Thanks.

I tried to modify the grandrole.ldif, but by uploading the file I get the following error message:

modifying entry cn=Users,dc=vi,dc=vector,dc=int
ldap_modify: Undefined attribute type
ldap_modify: additional info: Attribute dn is not supported in schema.

What is this?

And a small question: I have under dc=vi,dc=vector,dc=int a couple of directories, for example ou=Stuttgart, ou=Paris, ou=Sweden and so on. How can I grand the access to this directories for cn=orcladmin?

Thanks and regards

Heinrich.
jtomlins

Posts: 58
Registered: 01/10/01
Re: AD-OID Synchronization Not Executed Yet
Posted: Sep 15, 2004 1:53 PM   in response to: tbokman in response to: tbokman
Click to report abuse...   Click to reply to this thread Reply
Hi Thomas

When I ran this command on Solaris against the grantrole.ldif file that is located on the online tutorial it ran ok.

When I ran the same command using the same file on a Linux machine I was getting all kinds of errors.

It turns out there was a hidden character in the file that did not effect Solaris but caused all kinds of problems in Linux. I created a new file that works in both Solaris and Linux.

To access the file download the "samplefiles.zip" file located here:

http://www.oracle.com/technology/products/oid/oidhtml/sec_idm_training/html_masters/basics02.htm#Grant

Try it and let me know if it works.

Jay
jtomlins

Posts: 58
Registered: 01/10/01
Re: AD-OID Synchronization Not Executed Yet
Posted: Sep 15, 2004 1:54 PM   in response to: heinrich.geiger... in response to: heinrich.geiger...
Click to report abuse...   Click to reply to this thread Reply
Hi Geiger

When I ran this command on Solaris against the grantrole.ldif file that is located in the online tutorial it ran ok.

When I ran the same command using the same file on a Linux machine I was getting all kinds of errors.

It turns out there was a hidden character in the file that did not effect Solaris but caused all kinds of problems in Linux. I created a new file that works in both Solaris and Linux.

To access the file download the "samplefiles.zip" file located here:

http://www.oracle.com/technology/products/oid/oidhtml/sec_idm_training/html_masters/basics02.htm#Grant

Try it and let me know if it works.

Jay
tbokman

Posts: 40
Registered: 02/10/00
Re: AD-OID Synchronization Not Executed Yet
Posted: Sep 16, 2004 5:15 AM   in response to: jtomlins in response to: jtomlins
Click to report abuse...   Click to reply to this thread Reply
It works now. Thanks for your help!
heinrich.geiger...

Posts: 13
Registered: 07/12/04
Re: AD-OID Synchronization Not Executed Yet
Posted: Sep 20, 2004 4:32 AM   in response to: tbokman in response to: tbokman
Click to report abuse...   Click to reply to this thread Reply
Hello John,

thanks for your help. I wrote a new grantrole.ldif and I could upload this without any errors.

But I have still the same problem. So I deleted all the entries in OID, applied the grantrole.ldif, and bootstraped the entries. I don't get any error messages. My groups and users are under cn=Users,dc=vi,dc=vector,dc=int. If I change an attribute in AD, and try to synchronise it with OID, I have a lots of errors.

Here is the text of error message:

Performing createEntry..
Exception creating Entry : javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights]; remaining name 'CN=Geiger\, Heinrich,OU=ADP1,OU=ADP,ou=vi,cn=users,dc=vi,dc=vector,dc=int'
[LDAP: error code 50 - Insufficient Access Rights]
Error in Mapping
ActiveChgImp:Error in Mapping EngineODIException: DIP_OIDWRITER_ERROR_CREATE
ODIException: DIP_OIDWRITER_ERROR_CREATE
at oracle.ldap.odip.gsi.LDAPWriter.createEntry(LDAPWriter.java:951)
at oracle.ldap.odip.gsi.LDAPWriter.insert(LDAPWriter.java:321)
at oracle.ldap.odip.gsi.LDAPWriter.modifyRadd(LDAPWriter.java:609)
at oracle.ldap.odip.gsi.LDAPWriter.writeChanges(LDAPWriter.java:252)
at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:398)
at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:254)
at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:149)
ActiveChgImp:about to Update exec status
Updated Attributes
orclodipLastExecutionTime: 20040920132907
orclOdipSynchronizationStatus: Mapping Failure, Agent Execution Not Attempted
orclOdipSynchronizationErrors: Error Creating Entry in OID
null
Error in proxy connection : ODIException: DIP_GEN_AUTHENTICATION_FAILURE
ODIException: DIP_GEN_AUTHENTICATION_FAILURE
at oracle.ldap.odip.gsi.LDAPConnector.proxyConnectAs(LDAPConnector.java:291)
at oracle.ldap.odip.engine.AgentThread.updateExecStatus(AgentThread.java:487)
at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:192)
Updated Attributes
orclodipLastExecutionTime: 20040920132907
orclOdipSynchronizationStatus: Agent Execution Successful, Mapping/IMPORT operation Failure
orclOdipSynchronizationErrors: Agent Execution Successful, Mapping/IMPORT operation Failure

Thank you very much.

Regards Heinrich.

jtomlins

Posts: 58
Registered: 01/10/01
Re: AD-OID Synchronization Not Executed Yet
Posted: Sep 20, 2004 8:50 AM   in response to: heinrich.geiger... in response to: heinrich.geiger...
Click to report abuse...   Click to reply to this thread Reply
Hello Heinrich

What is the account you are using in your profile to connect with AD? Is it the administrator account or another account? If it is not the administrator account, does that user have permission to read the changelogs and deleted users log?

Jay
heinrich.geiger...

Posts: 13
Registered: 07/12/04
Re: AD-OID Synchronization Not Executed Yet
Posted: Sep 20, 2004 2:21 PM   in response to: jtomlins in response to: jtomlins
Click to report abuse...   Click to reply to this thread Reply
Hello John,

it is a normal domain user account. Without admin rights and so on. It don't know about the abbility to read the changelog or delete the users log.

I will try it with a domain admin account.

Thanks and regards

Heinrich.
heinrich.geiger...

Posts: 13
Registered: 07/12/04
Re: AD-OID Synchronization Not Executed Yet
Posted: Sep 28, 2004 12:24 AM   in response to: heinrich.geiger... in response to: heinrich.geiger...
Click to report abuse...   Click to reply to this thread Reply
Hello John,

thank you very much for your help.

The problem by the synchronization was the right violance on the OID-containers. So I had to aplly the grandrole.ldif at all containers which I have in my OID and start the odisrv. So it's running without any problems.

Thank you, regards

Heinrich
Legend
Guru Guru : 2500 - 1000000 pts
Expert Expert : 1000 - 2499 pts
Pro Pro : 500 - 999 pts
Journeyman Journeyman : 200 - 499 pts
Newbie Newbie : 0 - 199 pts
Oracle ACE Director
Oracle ACE Member
Oracle Employee ACE
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums