OVD plugin to correct malformed bindDN

My customer is dealing with a badly behaving off-the-self LDAP client that only accepts the a search base as a parameter. You can't specify a bindDN. So when this client tries to authenticate a user it takes the supplied credential (i.e. samaccountname) and prepends it to the search base. The whole step of searching the directory for the user and retrieving the DN for authentication is skipped. So the "search base" is not really a search base and is used to hard code the right hand portion of the DN and just adding the samaccountname as the RDN. This might work if the users where all in one location...but they're not.
So the customer is looking at using their OVD service to translate this. OVD would have to take the DN supplied, grab the RDN from it, search the backend AD then then do a bind with the returned DN from the search.
They don't want to spend too much time developing a custom plug-in to do this is this temporary measure during an AD migration.
1) Is there an out-of-the-box plugin that can be used? I don't think so from looking through the documents, but I'd like to make sure.
2) Would this be a difficult plug-in to write and would anyone have something I can start with?
Regards,
Chris

Hi Chris,
It might be simplest to configure an adapter with a base DN specific to this client application, separate from your normal tree. For example, the base DN of the adapter with the FlatTree plugin could be "DC=flattened,DC=company,DC=com", while your other adapters are under "DC=company,DC=com". That way the other applications would not be affected by the plugin configuration needed for this specific client.
Thanks,
Matt

Similar Messages

  • Tuner plugin not correct

    Here my reply to question regarding an incorrect Tuner in MS
    TinMassOct 7, 2014 1:07 PM Re: MainStage flat a whole step ???
    Re: MainStage flat a whole step ???in response to pdelanghe
    I just had the same problem .
    The real strange thing is ... When I used the the "Tuner" in Logic Pro X
    my guitar / tuner plugin worked correctly. ( I tuned the guitar concert/440)
    Tuner said said , yep 440
    But when I switched over to MainStage 3 Tuner read as flat about a 1/2 step.
    Did a restart opened only MS, Still same 1/2 off. Went to Audio preferences
    changed couple things and hit "Apply button" Then set them back again to my setting
    and again hit apply. Tuner now works correctly. 
    BTW dhjdhj the sample rate was the same in both apps (MS & Logic) MS just didn't get it together till the "Apply".....
      Bug ???
    In the "For What It's Worth" category... Logic Pro X (and 9) run much faster and I feel more efficiently
    and responsive than MS.  MS works my MacBook Pro/CPU harder than a 24 track "Backing Track"
    file in Logic (never turns on the fan)  Hhhmmmm.....
    MacBook Pro,  Logic 10.0.7 , MS 3..0.4   &  Behringer X32 I/O

    Aha... might be onto something.
    It doesn't work in slot 2 if there is a Ren Comp (WAVES) after it. Weird!!!

  • OVD plugin to copy data on an ldapmodify command

    I've got a requirement to copy data from one OID attribute to another when the first attribute is modified (it gets modified when a user logs into an application with ldap authentication). An Oracle consultant has suggested an OVD plugin as we are using OVD 11g and OID 11g.
    Has anybody got an example of a similar OVD plugin?
    Thanks for any help

    The version of OVD/OID or the fact that you're using all Oracle products does not matter. There's a detailed example of a custom plugin in OVD 11g doc, also see http://www.oracle.com/technology/sample_code/products/oid/index.html . You can write a similar plugin for OID but I agree that OVD is a better place for this type of customization

  • Custom OVD Plugin 11g

    I have created a plugin according the the notes in metalink and the pdf file attached to the metalink note. The problem I'm having is that after upload of my jar the plugin shows up in the libraries correctly as a plugin but when I go to an adapter and assign the plugin to my db adapter it shows up in the list. Then I click Apply so that it will save the change and I get a java.lang.reflect.InvocationTargetException. I have checked the logs and the only thing I can see is after a reboot the logs show that the import statements I used in my jar file are showing up as unresolved compilation errors for all of the imports and the imports are just the com.octetstring and com.asn1c which already exist in the OVD classpath correct? I have tried to include those jar files into my plugin jar at the root of my jar as well as by putting them in a lib folder. I don't know if I'm missing something with regards to my manifest.mf file but it includes the basics from the vde-properties file referenced in the pdf file explaining how to create the plugin. Can anyone help?

    Here is the code. I'm not actually doing anything in the code yet I was just trying to get it loaded to prove that I had the jar setup correctly. So I have a series of system.out.s to check values.
    package com.octetstring.vde.chain.plugins;
    import com.asn1c.core.Bool;
    import com.octetstring.vde.Credentials;
    import com.octetstring.vde.chain.Chain;
    import com.octetstring.vde.chain.ChainException;
    import com.octetstring.vde.chain.PluginInit;
    import com.octetstring.vde.syntax.BinarySyntax;
    import com.octetstring.vde.syntax.DirectoryString;
    import com.octetstring.vde.util.DirectoryException;
    public class PRCNGAuthenticate extends com.octetstring.vde.chain.BasePlugin{
         * Passes initialization information to the Plug-in
         * @param initParams
         * Hashmap of key/value pairs specified in initial config
         * @param name
         * The name specified in the config for this Plug-in
         public PRCNGAuthenticate() {
              super();
         * Passes initialization information to the Plug-in
         * @param initParams
         * Hashmap of key/value pairs specified in initial config
         * @param name
         * The name specified in the config for this Plug-in
         @Override
         public void init(PluginInit initParams, String name) throws ChainException {
              //the jURL parameter is required
    //     if (!initParams.containsKey(PRCNGAuthenticate.CONFIG_JDBC_URL)) {
    //     throw new ChainException(name + ": The "
    //     + PRCNGAuthenticate.CONFIG_JDBC_URL
    //     + " attribute is required");
    //     if (!initParams.containsKey(PRCNGAuthenticate.CONFIG_JDBC_USER)) {
    //     throw new ChainException(name + ": The "
    //     + PRCNGAuthenticate.CONFIG_JDBC_USER
    //     + " attribute is required");
    //     if (!initParams.containsKey(PRCNGAuthenticate.CONFIG_JDBC_PWD)) {
    //     throw new ChainException(name + ": The "
    //     + PRCNGAuthenticate.CONFIG_JDBC_PWD
    //     + " attribute is required");
    //     this.jURL = new DirectoryString(initParams
    //     .get(PRCNGAuthenticate.CONFIG_JDBC_URL));
    //     this.jUID = new DirectoryString(initParams
    //     .get(PRCNGAuthenticate.CONFIG_JDBC_USER));
    //     this.jPWD = new DirectoryString(initParams
    //     .get(PRCNGAuthenticate.CONFIG_JDBC_PWD));
    //     System.out.println("jURL"+this.jURL);
         }//end of init method
         * Determines if a plugin is available for the current chain
         * @param chain
         * @param base
         * @return True or False if available for a particular chain & base
         public boolean available(Chain chain, DirectoryString base) {
         return true;
         }//end of available method
         * Moves through the "bind" operation's chain
         * @param chain
         * The current chain
         * @param dn
         * The DN for the user
         * @param password
         * The user's password
         * @param result
         * The result of the bind
         @Override
         public void bind(Chain chain, Credentials creds, DirectoryString dn,
         BinarySyntax password, Bool result) throws DirectoryException,
         ChainException {
         System.out.println("CHAIN GETOPTYPE"+chain.getOperationType());
              System.out.println("CREDS GETUSER"+creds.getUser().toString());
              System.out.println("DN"+dn.toString());
              System.out.println("password"+password.toString());
              result.setValue(true);
              chain.nextBind(creds, dn, password, result);
         }//end of bind method
    }

  • Active Directory plugin not correctly creating users home directories

    Is there a trick to getting the Active Directory plugin in 10.4.7 to correctly create home directories for AD users? It is creating them with the root owning everything in it, and this is unacceptable.
    Our setup: We have a Active Directory network (Windows Server 2003 SP1 as DCs), and are trying to integrate some of our Mac clients to user AD single-sign logins. We are not using OS X Server at all.
    We do not user any sort of network home directories, as our users always use the same computers.
    We just want a user to have a local home directory created when they log on for the first time. Unfortunately, the directories are being created with the wrong permissions.
    One thing that may be the problem: the UID that are assigned to the AD users on the Mac clients are very high (> 60000000000). There is an error in the log that a UID that high cannot be added to the lastlog db, so that may be another symptom of the problem.
    Is there a way to fix this wihout changing anything on the domain?

    Is there a trick to getting the Active Directory plugin in 10.4.7 to correctly create home directories for AD users? It is creating them with the root owning everything in it, and this is unacceptable.
    Our setup: We have a Active Directory network (Windows Server 2003 SP1 as DCs), and are trying to integrate some of our Mac clients to user AD single-sign logins. We are not using OS X Server at all.
    We do not user any sort of network home directories, as our users always use the same computers.
    We just want a user to have a local home directory created when they log on for the first time. Unfortunately, the directories are being created with the wrong permissions.
    One thing that may be the problem: the UID that are assigned to the AD users on the Mac clients are very high (> 60000000000). There is an error in the log that a UID that high cannot be added to the lastlog db, so that may be another symptom of the problem.
    Is there a way to fix this wihout changing anything on the domain?

  • OVD plugin returning "Virtual" entry when entry not yet available in OID

    Hi,
    We've been working on a solution in which a new user has to get immediate access to a website and we, because the provisioning is taking some time, we have implemented a plugin for OVD which basically looks in the OID and if the user exists in OID it will return that entry and otherwise will create an virtual entry (it is not stored in OID) and return this entry to the requestor.
    Now this al looks like it is working fine but the requester, OAM in this case, reacts different on a "virtual" entry then a non virtual entry. When it is a "virtual" entry not al headers are filled by OAM. So my question is if there is someone out there who has done something simliar and/or knows why this is happening, because we tried everything and still face this problem. Any help would be appreciated!
    Br,
    Sarris

    Hi Flanjman,
    Additional this article may give you more tips.
    https://connect.microsoft.com/SQLServer/feedback/details/674454/name-resolution-not-yet-available
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Flickr plugin issue corrected in LR 5.2 RC

    I just installed Lightroom 5.2 RC, and confirmed that the bug related to video upload limits has been corrected.  I've reported this issue in several forums.  The issue occurred because the Flickr  plugin enforced a 2 movie per month upload limit.  However, Flickr lifted that limitation back in May.  The current video limits are less than 3 minutes in length, and no greater than 1 GB in size.  I just uploaded an event which contained 5 videos.  Fantastic!
    Thank you for fixing this Adobe!

    It doesn't appear that either of the two profiles you listed are specifically for the newer Nikkor 18-35mm 'G' lens. You can use the Adobe Lens Profile Downloader to install the available 1.0 crop factor profiles. One is listed as a 'D' lens, which is clearly not what you want. The other two don't specify which  lens was used. Try the two below and see if the Vignetting and Distortion corrections appear correct with one of them. Since this lens was introduced a little over six months ago my guess is that none of the Adobe or Download lens profiles are for the 'G' lens, which is substantially improved over the 'D' lens. You may be able to use them by reducing the "default" Distortion and Vignetteing settings from 100. You'll need to check the results over the zoom range for distortion and aperature range for vignetting. Keep in mind that full 100% correction of vignetting and distortion is usually not desireable with a super wideangle zoom, which can make the image look "unnatural."

  • The flash player plugin is correct installed, but firefox keeps asking to install it and then says not possible

    I have installed flash player.
    The test site of Adobe says it is correct. When I switch it off and do the test the test says "flash player is switched off, press to switch it on" when I dos so the test says that is corectly installed.
    When I open the plug-in screen there is no adobe flash player, but only shockwabe flash player, but switching this one on and off had the above mentioned effect.
    I have checked the registry (since I could not find anything about flash player in the program list, software in configuration, nor in program files and found that in the windows/system32/macromed/flash directory are the files flashutil9b.exe and flashutil_10uPlugin.exe and some other files, which gives me the idea that flash player is in effect installed.
    Nevertheless a flash file in my website keeps asking for the plugin and tells than that it cannot be found.

    An example of my website is http://www.vangelder.nl/example
    My real website is protected, but the example shows the problem.
    I hope you can give the solution.
    The big problem is, that since I have these problems (on several computers, working on XP and Vista) I suppose that the visitors on my site wil have the same problem.
    I heve been working hours to find out what the problem is, installed different players, used different formats, searched the internet for a solution and I don't want to export this problem to the visitors of my website.

  • Firefox / flash playback problem related to the trackpad or mouse. On flash sites, e.g. YouTube, video is halting while audio is continuous; influenced by moving touchpad on MacOSX. FF only problem as plugin works correctly on Opera and other browsers.

    Shockwave 10.3.183.10

    Try to disable the hardware acceleration in the Flash Player.
    See:
    * https://support.mozilla.com/kb/Cannot+view+full+screen+Flash+videos
    * http://www.youtube.com/swf_test.html (right-click the player: Settings)
    Flash "Display settings" window:
    * http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html

  • Need to create OVD 11g java plugin to process data inside DB Adapter

    Hi All,
    I have OVD 11g setup and I have created one Database Adapter which retrives the database(sybase) values. The values present in DB contains white spaces at the end. So when this DB adapter displays the search result, it contains the white space as some special characters ,E.g(India_/_/_/). I cant do any modification in the DB. So I have to write a plugin which I need to add to the existing DB Adapter. The plugin should trim the white space in the value that we received from DB before it is displayed in the client. Even I am new to OVD plugin creation. help me with some sample code of this kind. I have code through API guide and plugin developer guide which confuses a lot saying lot of chain concepts and etc. So help me with basic implementation points where I can intercept the data received thro DB adapter and I can trim the white space and I can pass to the client.

    Thank you, that's very helpful.
    Creating an virtualattribute plugin with
    ContainerDN = "ou=orgTree,dc=org"
    ReplaceAttribute = supervisor = { cn=%supervisor%, ou=orgTree, dc=org }
    now populates a supervisor entry with supervisor being the RCU_OIM:ACT.PARENT_KEY value.
    However, that value is an integer, pointing the the key of the parent. Can I resolve the key to be SELECT RCU_OIM:ACT.ACT_NAME from RCU_OIM:ACT where RCU_OIM:ACT.ACT_KEY = %supervisor% ?
    Do I need to create another adapter, and perform a join? If so, can I use the same adapter? ie: the data that I need is all in the ACT table, so creating another seems a bit excessive.
    Thank you.

  • CS6 Plugin works on windows but not mac

    Hi,
    We have been developing a plugin for InDesign since CS3 and have recently ported it to CS6 (it was ported to all previous versions too, as they came out).
    I followed the porting guide etc. and on windows it compiles and runs just ok - the plugin works correctly.
    But when i compiled the same files on our mac machine and put the .indesignPlugin file in th plugins directory i can't see our plugin's context menu.
    I can see that it is in fact loaded on startup (when i remove it ID loads 325 extensions, when i put it back - 326), but still it dosen't seem to work...
    I initially thought that the versioning was off but our PluginVersion resource relies solemnly on SDKDef.h , i also tried putiing the file in CS5's plugin directory and got an error message that CS6 is required - so the version info is fine i guess.
    We are using xCode 3.2.5 (because we have to support Mac OS 10.5 and 10.4) to build on mac and i've never had problems before - it worked on CS4, CS5 and CS5.5.
    The changes i made when porting were minor and only in the code - so what has changed? and how come it works on windows but not on mac?
    Any input is greatly appreciated, i've already spent days trying to understand this.
    Thanks,
    Dan.

    Hi and thank you for replying.
    The resources do get compiled correctly (i assume this because we do get a .indesign file at the end - which means the ODFRC ran ok). they are linked correctly in the mac project (i saw a file that determines the version - it's linked the same way against my win and mac projects and the win version works fine so i guess that's ok too).
    the context menu is just another menu on the "menu bar" (don't know how to call it?) - i.e where the "file" and "edit" etc. menus are.
    I can't seem to understand how come this works fine under windows but not under mac - they are essentially the same projects linked against the same resources (the difference being iCode vs VC10 projects).
    can this be related to the fact we're using xCode 3.2.5?
    Thank you.

  • Oracle virtual directory plugin

    Hi,
    I've developed an OVD plugin which does a call to a webservice, this webservice is protected by basic authentication and thus I need to supply credentials to the OVD plugin to be able to successful connect and make use of the webservice. Now my question is if it is possible to use a masked input field for the plugin attributes. When configuring the plugin in OVD you will now see the password as plain text and I want it either by showed as ***** or maybe encrypted. I read somewhere something about using OrclOVDEncrypted in the parameter name (vde-package-param-OrclOVDEncryptedPassword-description) but when I try this the plugin fails to deploy (or to be more specific, OVD won't start).
    An other thing which came to mind was the use of wallets, but I am not sure if this is even possible from plugin perspective.
    So the refrase my question: Is it possible to have a masked value or should I revert to using a property file or wallet?

    Hi Matt,
    I've tried it for some time but I couldn't get it to work, also there where no messages logged in the diagnostic logfile so that log file was of no help either. So I reverted to using the CSF API framework, the downside of this approach in my opinion is that you now have to do some configuration stuff in different places to make the plugin work (when I write this I still not fully have it working though, but I think I only have to add the credentials to the right credential store and then it should be working)
    Br,
    Sarris

  • FileFormat-Plugin: Writing multi layer image

    Hi,
    I've another problem with a FileFormat-Plugin.
    I want to write multiple layers to a file.
    The plugin is correctly supporting format layers and is receiving the "writeLayerStart" event.
    There I can see the that PS is giving me the background layer and I'm writing it to the file.
    But after that I receive the "writeFinish" event.
    All other layers are ignored.
    Is there anything I should set in the FormatRecord so PS will give me the next layer?
    Thanks in advance,
    Christian

    thank you for answering...
    LayerFormat Example?!
    I have only 3dformat, simpleformat and textformat in the format folder of the sdk sample code.
    I have taken the simpleformat sample as a start.
    Added  FormatLayerSupport { doesSupportFormatLayers }, to the PiPL resource,
    added functions for the additional events (layerWriteStart, ...Continue, etc.) and put my write code into the
    writeLayerStart function.
    It is the code from the simpleformat writeStart function.
    So an error is not returned.

  • CS4: conflict with third-party plugin

    Hi
    We face the issue that our plugin conflicts with an existing closed-source plugin. We use a unique developer ID and I believe that all declarations in our plugin are correct. My question; how can I get indesign to yield more informative error messages, than just the usual conflict dialog upon startup?
    -and can the conflict be caused by other issues than misdefined pmid's?
    Thanks!
    Kind regards Toke

    I never encountered conflicts other than the ID clash. You can verify if the culprit is your plugin iD or not by trying the plugin ID of some other plugin you had developed in this plugin just for a test to see if it resolves the problem.
    You could also try and comment out declerations from your plugin to zero down on the decleration that is causing the issues.
    Manan Joshi
      - Efficient InDesign Solutions -
    MetaDesign Solutions
    http://metadesignsolutions.com/services/indesign-development.php

  • BEA 10.2 proxy plugin

    Dear all,
    i don't know that i am a correct place, but i have a question about a bea weblogic proxy plugin.
    The situation is, that we have a BEA 10.2 32 bit application server in use, and want to use 64 bit iPlanet webserver. I have an error message when i try to start the 64 bit webserver with a 32bit proxy plugin, and think that i must use an 64Bit wl-proxy plugin. But i think so to, that the question is that would this work correctly?
    thanks for any help (link to a correct forum - maybe iplanet webserver?)
    regards,
    Ferenc Junkert

    This one has given me the run around for several days now. I
    had exactly the same condition. The fix, in my case, was as
    follows.
    Uninstall Shockwave Player. I used the 'sw_uninstaller.exe'
    file from the Adobe website as I had already downloaded it, but it
    should do just as well to run C:\
    Windows\System32\Macromed\Shockwave10\UNWISE.EXE or 'Adobe
    Shockwave Player' in 'Add/Remove Programs'.
    Once Shockwave Player is uninstalled run the latest Mozilla
    Firefox installation file over the top of the existing program even
    if you are running the latest version. Currently this is 'Firefox
    Setup 2.0.0.9.exe'.
    Once that is done I found that the Shockwave plugin installed
    correctly. It appears, if you need to reinstall Firefox for any
    reason, you also need to uninstall Shockwave (and probably Flash
    Player too) before the Adobe plugin(s) are reinstalled.

Maybe you are looking for

  • I can't save my open documents in Pages.

    I have 2 untitled documents in pages open. I have the animated progress bar spinning and spinning. - I have tried to reinstall Pages but that dosn't cut it. What to do ?? Please help.

  • XML file not updating

    The imsmanifest.xml doesn't seem to be updated after I have completed the test in the presentation. I have tried all the settings in quiz manager. I am suppose to see the test results in the imsmanifest.xml file, right?

  • Stacked Column linking question

    APEX 4.0 Anychart 5 SQL formatting for a Stacked Column or Bar chart is pretty simple. SELECT link, label, value1, [value2,] [value3,]... FROM ... This will allow your entire bar/column to become a link. Is there a way to allow each value in a column

  • Cant find messages app on macbook air.

    I have version "Mac OS X Lion 10.7.5" and want to iMessage with it. I've looked in applications and spotlight search for message app and nothing has come up. Please help!

  • Procedure Hanging in the DB

    Hi, I have a procedure executed from a Java server. The procedure hangs, and the server keeps waiting. When I query V$SESSION, V$PROCESS and the V$SQLAREA all I can see is the procedure name with bind variables. I need to find where exactly in the pr