OID external authentication - having trouble excuting oidspadi.sh

Hi all,
I am setting up External Authentication for OID, and have trouble with it. My version is Oracle application server infrastructure 10.1.2 (OID 10.1.2) on windows.
hailie@Server1 /cygdrive/e/oracle/OraInfra/ldap/admin
$ export ORACLE_HOME="E:\oracle\OraInfra"
hailie@Server1 /cygdrive/e/oracle/OraInfra/ldap/admin
$ sh oidspadi.sh
oidspadi.sh: line 28: $'\r': command not found
oidspadi.sh: line 38: $'\r': command not found
oidspadi.sh: line 43: $'\r': command not found
oidspadi.sh: line 47: $'\r': command not found
oidspadi.sh: line 51: $'\r': command not found
oidspadi.sh: line 58: $'\r': command not found
oidspadi.sh: line 59: $'\r': command not found
oidspadi.sh: line 60: $'clear\r': command not found
OID Active Directory Plug-in Configuration
Please make sure Database and OID are up and running.
oidspadi.sh: line 67: $'\r': command not found
oidspadi.sh: line 70: $'\r': command not found
oidspadi.sh: line 103: syntax error near unexpected token `fi'
'idspadi.sh: line 103: ` fi
Edited by: Hailie on Jan 16, 2009 8:05 AM
Edited by: Hailie on Jan 16, 2009 8:45 AM
Edited by: Hailie on Jan 16, 2009 11:32 AM

After I removed all the blank lines in oidspadi.sh:
hailie@Server1 /cygdrive/e/oracle/OraInfra/ldap/admin
$ sh oidspadi.sh
oidspadi.sh: line 53: $'clear\r': command not found
OID Active Directory Plug-in Configuration
Please make sure Database and OID are up and running.
oidspadi.sh: line 91: syntax error near unexpected token `fi'
'idspadi.sh: line 91: `fi
Thank you for your help.
Hailie
Edited by: Hailie on Jan 16, 2009 8:43 AM
Edited by: Hailie on Jan 16, 2009 8:46 AM
Edited by: Hailie on Jan 16, 2009 11:36 AM

Similar Messages

  • OID External Authentication issue

    Hi..
    I have configured synchronization profile to import users from TDS to OID using DIP but it does not work as change log is not enabled on TDS side.
    Now i have configured External Authentication Plugin and i craeted same users in in TDS and also in OID but external authenctication does not work.
    Can you please point out if i missing some point or is synchronization profile is must for External Authentication.
    Find the product version details -
    OID 11.1.1.6
    Tivoli Directory Server 6.1
    Regards
    Santosh
    Edited by: user601746 on Jan 8, 2013 1:02 AM

    Got the solution.
    I used bootstrap loading to create users from TDS to OID then configure external authentication..works fine... :)

  • OID External Authentication Plugin - Conceptual question

    Hi-
    Does anyone know the answer to this: If I enable the External Authentication Plugin for OID (to AD) does that mean that if I have any accounts in OID which do not exist in AD, they won't be able to authenticate?
    Also, if anyone knows of some conceptual documentation on this, please let me know. All I could find was how to install it, but not how it works. (do I need to match users on CN or uid or what?)
    Thanks

    Hi,
    Once you are done with user accounts synchorinzation successfully using dipassistant tool from edirectory to OID. Inorder to update/flush the user accounts password that which are synchronized to OID, in such case OID eDirectory External Authenctiation plugin will be used (oidspediri.sh file) located under <ORACLE_HOME>ldap/admin. Provide th neccessary eDirectory Details.
    Regards,
    ABP

  • OID External Authentication Plug-in and OVD

    Hello, ppl.
    I have success installed AD, OVD(11g), OID(10g), and BI Publisher with SSO (10g).
    When i synchronize AD -> OID, and use External Auth Plug-in, synchronized users can success login to BI Publisher.
    When i synchronize AD -> OID through OVD, and use External Auth Plug-in which look in the AD, synchronized users can success login to BI Publisher.
    But when i synchronize AD -> OID through OVD, and switch External Auth Plug-in from AD to OVD, synchronize users can not login to BI Publisher.
    How can i use External Auth Plug-in with OVD, did any one have solution?
    In the future, OVD can contains multiple forests from AD's, now AD have one forest(dc).
    Help :)
    Thanks.
    Jeff.

    I write custom plug-in for OVD.
    When user bind, then log write...
    OVD bind command's
    1) ldapbind -h <OVD_HOST> -p 6501 -D "[email protected]" -w Oracle10g
    ldap_bind: Invalid credentials
    2) ldapbind -h <OVD_HOST> -p 6501 -D "cn=smith,cn=users,dc=domain,dc=local" -w Oracle10g
    bind successful
    3) ldapbind -h <OVD_HOST> -p 6501 -D "cn=smith,cn=users,dc=domain,dc=local" -w Oracle10g2
    ldap_bind: Invalid credentials
    AD bind command's
    1) ldapbind -h <AD_HOST> -p 389 -D "[email protected]" -w Oracle10g
    bind successful
    2) ldapbind -h <AD_HOST> -p 389 -D "cn=smith,cn=users,dc=domain,dc=local" -w Oracle10g
    bind successful
    In my log file for OVD bind command's, just second and third command written.
    Did any one know, why first command not binded and why not logged?
    public void bind(Chain chain, Credentials creds, DirectoryString dn, BinarySyntax password, Bool result) throws DirectoryException, ChainException {
    //pre bind
    try {
    chain.nextBind(creds, dn, password, result);
    } catch (DirectoryException e) {
    try {
    FileWriter out = new FileWriter("c://mylogs//bind_error.txt");
    out.write("bind: " + dn.toString());
    out.close();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    //post bind
    try {
    FileWriter out = new FileWriter("c://mylogs//bind.txt");
    out.write("bind: " + dn.toString());
    out.close();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    ...

  • OID external authentication plugin for edirectory

    How do I get more info on, or has anyone managed to, add a plugin to OID to enable external authetication to eDirectory?
    Please add insight to this, if you have this experience.
    Thanks

    Hi,
    Once you are done with user accounts synchorinzation successfully using dipassistant tool from edirectory to OID. Inorder to update/flush the user accounts password that which are synchronized to OID, in such case OID eDirectory External Authenctiation plugin will be used (oidspediri.sh file) located under <ORACLE_HOME>ldap/admin. Provide th neccessary eDirectory Details.
    Regards,
    ABP

  • I am having trouble keeping the quality of my video when exporting to my external drive.  I change the kind to "original" but when I view the video from the external drive once exported, the sound and picture are distorted.

    I am having trouble keeping the quality of my video when exporting to my external hard drive.  I have tried to export from iphoto with changing kind to "original" but when I open the video from the external drive the quality is effected.  I have also tried copying the video to my desktop and then dragging and dropping onto the drive...same problem. Any suggestions?  I would like to save everything to my external drive so that I can delete all of iphoto library and then reimport to correct a few things.

    The file sizes are identical.  In the finder I did a search for all .mov files.  Then when they came up, I went through them and named each one so that they would be easier to find.  I am a new mac user and am used to windows.  I realized later that I should not have done this....with a mac files should be named within iphoto app...not finder....When I went to open the videos in iphoto, it wouldn't allow me.  I had to go into finder, copy to desktop and reimport into iphoto.  Then the videos worked again.  However, I had the problem with the poor video quality when copied to external drive before that.  Actually the first problem I had was when I copied to ext drive...videos were copying as an image...so I learned that you have to change "kind" to original before exporting....then that problem was solved...now they are videos, not images but not of a great quality.  Skips, sound and images are not in sync...etc...

  • I am having trouble on transferring photos from iPhoto to my Seagate External Hard Drive

    Im new to Mac and I was doing fine with my new laptop but somewhere along the way I have reach to a point where I cant continue my work. I am having trouble on transferring photos from iPhotos to my Seagate External Hard Drive, even when the hard drive is compatable with my MacBook Air. Some how I have trouble trying to drag my photos to my drive and it is not letting me to do so. Pls. help me in my sistuation or derect me to a website that will answer my questions. I am getting really upset and frustrated; so I'm out of ideas.

    even when the hard drive is compatable with my MacBook Air.
    What is the file system on that drive? Is it formatted MacOS Extended (Journaled)?
    And what is your iPhoto version? iPhoto 9.5.1?
    Some how I have trouble trying to drag my photos to my drive and it is not letting me to do so
    What exactly happens when you try to drag photos to your drive? Are you dragging from iPhoto's window to the drive?
    Can you export your photos, when you select the photos on iPhoto and use the command "File > Export"?

  • I have a macbook and I'm having trouble backing up my pictures on an external hard drive.  The Macbook won't install the backup drive soft ware? It is a new Sea Gate hard rive from costco.

    I have a macbook and I'm having trouble backing up my pictures on an external hard drive.  The Macbook won't install the backup drive soft ware? It is a new Sea Gate hard rive from costco.

    You don't want to install the software that came with the drive, you don't need it and it will be problematic. Connect the new drive, open Disk Utility, select the new drive and partition it using the GUID partition scheme, then format it as Mac OS extended journaled and it will be easy to use with your Mac.

  • I have an IMAc 5 with OS 10.6.8.  I am having trouble doing a iDVD.  Can I remove photos from iphoto to an external device to free up space on my computer?  what do I need and how do I do it?

    I have an IMAc 5 with OS 10.6.8.  I am having trouble doing a iDVD.  Can I move photos in iphoto to an external device to free up space on the computer?  What do I need and how do I do it?

    Hey William Dofflemyer,
    Thanks for the question. I understand you would like to move some photos in your iPhoto library to free up space. The following article may help you with that:
    iPhoto '11: Move your iPhoto library to a new location
    http://support.apple.com/kb/PH2506
    Also, I understand you have some questions about iDVD. The following video may provide more information:
    Apple - Find Out How - Movies - iDVD ’08
    http://www.apple.com/findouthow/movies/idvd.html
    Thanks,
    Matt M.

  • External authentication with OID

    I know that OID 10g is capable of performing external authentication against AD, Sun OneDirectory, Novell eDirectory and openLDAP, but what about something else like Oracle Virtual Directory?
    As I understand, there is an out of the box script that will create and external authentication plugin that calls a few procedures from the auth_external package. The auth_external package also an out-of-the-box package with a few procedures (authenticate_user and change_passwd) I've seen so far. I haven't looked in the ODS schema, but I'm assuming this auth_external package is wrapped and not generally viewable.
    Anyone out there have any ideas, how this auth_external package works, or better yet... does anyone know if the out-of-the-box solution for external authentication will work with any LDAP directory (in this case a virtual one)?
    Thanks.

    Can someone from Oracle please comment on this? is "AUTH_EXTERNAL" package "out of box" or do we have to write it?
    I am following instructions from
    http://download.oracle.com/docs/cd/B14099_19/idmanage.1012/b14082/plugin_cust_ext_auth.htm
    LINE/COL ERROR
    143/9 PL/SQL: Statement ignored
    143/19 PLS-00201: identifier 'AUTH_EXTERNAL.AUTHENTICATE_USER' must be
    declared
    241/11 PL/SQL: Statement ignored
    241/11 PLS-00201: identifier 'AUTH_EXTERNAL.CHANGE_PASSWD' must be
    declared
    251/11 PL/SQL: Statement ignored
    251/11 PLS-00201: identifier 'AUTH_EXTERNAL.RESET_PASSWD' must be
    declared
    LINE/COL ERROR
    -------- -----------------------------------------------------------------

  • OID 10.1.4 and external authentication (AD)

    Has anyone gotten this to work with MS Active Directory? We were able to sync the AD users with OID, but have not be able to authenticate them. As long as they have their passwords stored in OID, it works, but we do not want to maintain the password sync'ing between AD and OID. We want to do external authentication.
    Anyone who has gotten this to work in 10.1.4 (using the java plugins), please respond with any secrets or methods you have used to get this to work.
    Thank you.
    Shirley

    I got the java plugins working here. The configuration is not a big deal. I still not implemented SSL though, so I didnt had to issue certificates.
    Configuration is easier than on version 10.1.2, as all the plugin parameters are available on oidadmin.
    I have two problems that remain unfixed.
    One is on AD. Since we have several domain controllers, when the user changes his password in Windows the change is done on whatever domain controller that the user connected to when logging on windows, and it sometimes takes a long time for this to be replicated to the domain controller that configured on the plugin. So the user cannot use SSO for a few hours. Sometimes he can logon with the old password, sometimes even with both passwords (the old and the new one). I want to make clear that this is a Microsoft AD problem, that reproduces even with simple tools like ldapbind.
    The other is the plugin failover, it is still broken like it was on 10.1.2. Authentication attemps always try it the primary domain controller, and wait for a operating system timeout before trying the secondary. So if the PDC is down, it takes several minutes for the authentication process to complete, which is very annoying, as no user waits on a browser screen for several minutes, and usually keeps trying until all oidldapd backend processes hang. It is a little better than 10.1.2. That version was so dumb that it tried two connections before giving up and going to the secondary, even if you did not setup SSL.
    For this last one the recommendation on metalink is to put a loadbalancer in front of the domain controllers and configure the plugin to connect to it.
    Regards,
    Luis

  • Having trouble exporting photos from iPhoto to external drive.

    I am having trouble copying files to my external drive.  It is a shared external drive connected through my wireless router.  I can copy some photo's to the externaldrive folder and they transfer no problem and some of the photo's from the same folder appear to be transfering but as soon as the copying window goes away so does the photo's from the folder I was putting them to.  New to apple so I am still learning the in's and out's and I am sure it's probably something easy.  Any help would be appreciated.  The external drive I was using on a PC before and the Mac seems to see most everything so not sure if that matters or not.  Pic and video's came from same camera on the same day.

    is there anyway to transfer direct to the hard-drive?
    What does that mean? Do you mean have your Library on an external drive? Yes, that's easy.
    I have a network HDD connected to my router
    Two issues here.
    1. That NAS is not an appropriate disk for an  iPhoto Library -  iPhoto needs to have the Library sitting on disk formatted Mac OS Extended (Journaled). Users with the Library sitting on disks otherwise formatted regularly report issues including, but not limited to, importing, saving edits and sharing the photos. Later versions simply won't allow the Library on such devices.
    2. Router? Wireless connection?  A strong warning: If you're trying to edit the Library (that is, make albums, move photos around, keyword, make books or slideshows etc.) or edit individual photos in it via Wireless be very careful. Dropouts are a common fact of wireless networking, and should one occur while the app is writing to the database then your Library will be damaged. Simply, I would not do this with my Libraries.
    To move an  iPhoto Library:
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • I am having trouble exporting .raw files to an external storage device.  Even though I export "original" they end up as jpeg files.  Any idea what I am doing wrong?

    I am having trouble exporting .raw files from my Mac Book Air to an external storage device.  Even though I am exporting as "original" they are being exported as jpegs.  Anyone have an idea what I am doing wrong?

    Using the "original" setting is the correct way to do it.  Select on of the photos and use the File ➙ Reveal in Finder ➙ Original menu option.  That will take you to the file inside the library via the Finder.  Confirm that what you see if the raw file.
    If it is then try the following:  make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    Click to view full size
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    OT

  • TS1550 What about when using the "Time Capsule" HD as the external disk, especially when it is connected by ethernet cable? I'm having trouble getting it to work at all. Don't need it to work as anything else, other than a ethernet connected Time Machine

    What about when using the "Time Capsule" HD as the external disk, especially when it is connected by ethernet cable? I'm having trouble getting it to work at all. Don't need it to work as anything else, other than a ethernet connected Time Machine backup. Already have a wireless network that works fine so no need to mess with it. We get the internet via cable company and their modem is upstairs and the Time Capsule is downstairs in the basement. The latest error message was about it could not backup as it was already in use (should have written it down before clicking OK and moving on.

    See if this helps...
    http://pondini.org/TM/C12.html

  • Having trouble matching External display's colour to Macbook Pro

    I got myself an external monitor very recently, a Dell Ultrasharp model which I think is a great external. Problem is I'm having trouble getting the colour settings to match. I'll be able to both the Dell and my Macbook screen to match up certain colours perfectly but others will appear grossly inconsistant with each other. For example, if I get blues to match up, browns or reds may be different shades entirely. So I'd like to ask for help tuning it to work on every colour properly. I've tried using calibartion in system preferences but things still look wrong in some places. Is there any way I can apply the "color LCD" setting on the Macbook into the monitor?

    I think your friend is trying to get you to buy him a new TV. The TV going out and the computer being connected to it were likely coincidental. If Macbook Pros were destroying external monitors as your friend suggests then there would be more reports and outraged customers. Yours is the first post I've seen suggesting that a TV was destroyed because of a Macbook Pro.

Maybe you are looking for

  • Mini-DVI to VGA flicker with Snow Leopard and 2nd monitor

    I have a 24" iMac (fall 2007) and recently purchased a 26" Vizio (VMM26F10I) and connected it as a 2bd monitor for my iMac using the Mini-DVI to VGA adapter Apple sells. The new monitor will flicker now and then and some times will go to no signal. I

  • How do I change to color of my calendar

    one of my calendars is yellow. I want to change the color.  How do I do it?

  • Tree Query Problem

    I've problem with tree query where if a level > 3 the result for top level is incorrect.  Here's the query with correct result where level of depth just 3 level : --select *from tblBOMStructed DECLARE @BOMStructure TABLE PartNumber varchar(14)not nul

  • Move-Request

    Hello, Any particular reason why: Get-MoveRequest -movestatus completed | remove-moverequest works  but: Get-MoveRequest -movestatus FailedOther | remove-moverequest Doesn't? Memento Mori

  • Configure security with principals.xml

    Hello! I'm trying to configure security in Oracle IAS 9.0.4. I have two applications into an OC4J instance. I've configured an admin user with RMI connection permission in the intance's principals.xml file. I've configured another admin user with RMI