Directory 6 Proxy and Virtual Data view transformations

Hello,
Could anyone guide me (or have an example) on how to correctly construct macro (substring(), split()) in view transformations:
dpconf add-virtual-transformation MYVIEW mapping attr-value-mapping dn internal-value:uid=\${uid} view-value:uid=\${uid},ou=.......
for example - I'd like to set (transform dn) a view value dn as uid=(uid from internal value), but ou=(as a substring of ou from internal value) ?
Any example would be helpful.
Thanks,
/Mareks

Hello again,
I'm still struggling with this - if I use this syntax:
view-value:uid=\${uid},ou=substring(\${ou}, 0, 6),dc=example,dc=com
first - I get "syntax error near unexpected token `('" which says that I need to escape ();
If I use then:
view-value:uid=\${uid},ou=substring\(\${ou}, 0, 6\),dc=example,dc=com
no transformation is done (simple ldapsearch) and if I use:
view-value:uid=\${uid},ou=substring\(\${ou}, 0, 6\)
ldapsearch returns uid=..., ou=substring(....... - so no macro processing.
What then would be correct way to escape macro command itself ?
Thanks,
Mareks

Similar Messages

  • AMSerchControl and Virtual List View

    Hi, the "identity server developer's guide" states that the class com.iplanet.am.sdk.AMSearchControl can be used to customized search behoviour with "time limit and virtual list view".
    How can use virtual list view ? The javadoc doesn't contains any methods to do virtual list view.
    Thanx!

    The class is described here: http://docs.sun.com/source/817-7651/com/iplanet/am/sdk/AMSearchControl.html.
    You are right, there is nothing there to control VLV searches. That's a bug in the documentation. There is some code in Access Manager that does do VLV searches, but it isn't exposed through this interface.

  • Lock monitor, top sql and trace data viewer

    can any one please tell me how can i access lock monitor, top sql and trace data viewer
    i am also not sure whether these tools are installed on my machine or not, if they are please tell me how can i access them, if not please tell me how can i install them
    thanks a lot

    Hey,
    You can launch OEM from a client machine and then:
    - Log in as system for example;
    - go to tools,
    - then - Diagnostics Packs, then you will have:
    a) Lock Monitor
    b) Perfomance Manager
    c) Performance Overview
    d) Top Sessions
    e) Top SQL.
    I hope this can help you a little.
    Regards,
    Marcello

  • Attribute handling in Sun Java Directory Proxy Server join data views

    Hi all,
    I've configured a join data view and want to get rid of the duplicated attributes that show up in the search results since they are present in the primary and the secondary data view. The documentation says that this behaviour is configurable to return only the values of the primary data view but I can't find any information how to do it.
    Can anybody shed some light on this?
    Thanks and regards
    Geli

    Hi,
    If an attribute is present on both sides and if you want to consider the value(s) from one side only, use the viewable-attr or non-viewable-attr property at the data view level. You can specify which attribute(s) are /are not exposed by that data view (policy for read and write may differ).
    For more details, have a look at [http://docs.sun.com/app/docs/doc/819-0986/non-viewable-attr-5dpconf?l=ko&a=view|http://docs.sun.com/app/docs/doc/819-0986/non-viewable-attr-5dpconf?l=ko&a=view]

  • Order changes in Monthly and Weekly Data View

    Hi,
        I need some of your suggestions for my problem below:
    I have a planning book with two data views (1 with monthly bucket and other with weekly bucket).Now I create three forecast orders in the weekly data view as below:
    Quantity     Date
    10         05.11.2007
    20         12.11.2007
    30         19.11.2007
    So I can see the sum as 60 in the monthly data view. Now I try to modify (deduct by 5) the forecast order from the monthly data view. So the sum 60 changes to 55 but when I see the details of the order it looks strange to me.
    11 26.11.2007
    13 19.11.2007
    13 12.11.2007
    13 05.11.2007
    5   01.11.2007
    Please let me know what is the logic behind this?
    But if I perform the above calculation for the category 'HG' as above I get the result like this.
    Weekly Buckets
    10 05.11.2007
    20 12.11.2007
    30 19.11.2007
    Monthly Buckets
    55 01.11.2007
    Thanks,
    Siva.
    Message was edited by:
            sivaprakash pandian

    Hi siva
    This is possibly because of the settings in the planning area for the time disaggregation of the Key figure
    Can you go Planning area administration and see what the setting is in the key figure disaggregation tab?
    I think it needs to be P for proportional distribution and will use previously existing proportions for new quantities.
    instead in your case it is ignoring previously exsisting proportions and distributing afresh. Am not sure what type that is (K?)
    the F1 on the time based disaggregation field will give you a better idea.
    if you want to know why the 11 and 5 are there at the ends and 13 is in the middle buckets, it is because the storage buckets for the weeks have 6, 7,7,7 and 2 days and 55/30 multiplied by these days is how the number are calculated.
    there is also some help here
    http://help.sap.com/saphelp_scm50/helpdata/en/73/3e1167347111d398290000e8a49608/frameset.htm

  • Reverse proxy and virtual servers

    Is it possible to have different reverse proxy setting for each virtual server.
    i.e.
    www.server1.com/app1 will reverse proxy to an app server
    www.server2.com/app1 will be a 404
    both server1 and server2 is the same webserver, but using different virtual servers.
    I sought of need like in the virtual manager how you can deploy a webapp under one virtual server, but not another one.
    I've read the reverse proxy documentation, but its quite skimpy on this subject.

    Yes, it is possible. You have two options:
    1. Use the same virtual server class for both virtual servers and use the <Client> tag to specify urlhost-specific configuration.
    2. Use a separate virtual server class (with a separate obj.conf file) for each virtual server.
    With option 1, part of your obj.conf file might look like the following:<Client urlhost="www.server1.com">
    NameTrans fn="assign-name" from="/app1(|*)" name="passthrough"
    </Client>With option 2, you would configure the Reverse Proxy Plugin in only one of the two obj.conf files.

  • Code example for virtual list view control

    I'm writing a client (C++) application to access an LDAP directory (that supports virtual lists), and I'm trying to make use of the virtual list view control to "page" my results. However, I'm having trouble getting the code to work correctly. Can anyone provide a C++ code example?
    Thanks in advance.

    I think I've found my problem with writing this code.
    Unless I'm mistaken, the Netscape SDK for C appears to be incomplete. After an LDAP search operation, I believe there should be a way to parse the virtual list response control for a context id. Then, I would return this context id to the directory server in subsequent Virtual List View controls (which I'd send via LDAP search calls). However, the concept of context id in VLV search controls doesn't appear to exist in the Netscape SDK for C.

  • Attribute based data view?

    Is it possible to build a data view or virtual data view from an attribute value?
    For example we have a LDAP server which currently has a 'flat' DIT structure with everyone under ou=people.
    Lets say application A wants to use the LDAP for user authentication and authorizations, but they only want to 'see' accounts that have access to application A. There is an attribute in each user entry that could be used to determine if the user is in fact associated with application A, but is it possible to build a data view from it? Changing the client side application is not an option in this scenario.
    After reading the DS/DPS documentation I don't see how this would be possible, but maybe I'm missing something (I hope).
    Thanks.
    Edited by: rrumbaugh on May 20, 2009 1:51 PM

    From what I can see, this is not currently possible. It would be nice if we could change the filter before it goes to the DS, that way we could say this app's username gets this filter component added.
    eg: App A binding with uid=A has (allowedapp=A) added to every filter before it reaches the DS. Or something like that. If you have a support contact, you could put in a word officially for an RFE to be included in the next version of DSEE (7.0, whenever it comes out)

  • DPS 6 data view for base dn

    My ldap client is showing my base dn twice through the dps which is odd. Anybody see that before? Is it because I have the root data view enabled and another data view enabled with the base dn stated? The root data view is showing the directory suffix setting right? Maybe I just need the root data view enabled.

    if you have more than one data view on the same backend, then you will "view" the data more than once. So yes, stick to one one data view.
    More generally, you can use more than one data view on the same backend if you want some kind of separation, say per client applcation, per ip, per bind dn, etc ...
    that would be handled by the connection handlers.

  • Am I charged for storage and virtual networks?

    I just finished this hands on lab:
    http://blogs.technet.com/b/keithmayer/archive/2013/01/07/step-by-step-build-a-free-sharepoint-2013-lab-in-the-cloud-with-windows-azure-31-days-of-servers-in-the-cloud-part-7-of-31.aspx#.Uv82evldVS4
    I already stopped all the virtual machines.
    However I see online, Default Directory, Storage Account and Virtual Network.
    Will I be charged for those?
    Follow me on Twitter <<<
    levalencia Blog <<<

    Hi
    Storage account is free, Azure charge for storage, if you never store any thing associated to the storage account, that's free.
    So does Vitual network
    Please refer to this:
    Storage
    www.windowsazure.com/en-us/pricing/details/storage/
    Vitrual Network
    http://www.windowsazure.com/en-us/pricing/details/virtual-network/
    The Default Directory is the Azure Active Directory tied to your Azure account It's free 
    Please mark post as answered if it helped!

  • Transformation of transactional and master data (in BW/BI or PI/XI?)

    Dear all,
    I have the following requirement:
    I frequently transfer transactional as well as master data between various systems. From what I heard, SAP XI/PI is a plattform to handle the transformation and distribution of such transactional and master data. Unfortunately, the data quality is often not sufficient.
    As a consequence, some records need to be manually modified/completed. Let's assume order data needs to be exchanged and an order is characterized by a customer. When the order record contains a faulty CustomerID that does not exist, the CustomerID in the order has to be manually adjusted by a person. And this would require some user interface.
    Could I implement something like this in SAP XI/PI? Or would I require another SAP solution?
    Some of my relevant applications are in SAP BI/BW. There, I could implement something like this using an ODS for the "problematic" records and some maintenance views. Would you rather suggestion such a solution in BI/BW. But what would I do with the transformation between non-SAP systems?
    Best regards, Daniel

    Hi Daniel,
    I prefer JAVA mapping.
    There is lot you can do with message mapping (the graphical mapping editor):
    http://help.sap.com/saphelp_nw04/helpdata/en/49/1ebc6111ea2f45a9946c702b685299/frameset.htm
    with the predefined standard functions:
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm
    If this is not enough you can write your own so called user defined functions in JAVA:
    http://help.sap.com/saphelp_nw04/helpdata/en/22/e127f28b572243b4324879c6bf05a0/frameset.htm
    Also helpful:
    Message Mapping Simplified - Part I & II
    /people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    Mapping Functionality in XI:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
    Regards
    Patrick

  • Data View Web Part - List of Subsites and Document Libraries under Current Site - Must be able to Package as Site Template in SPDesigner

    Hi Guys,
    On the home page of each sub site I would like to be able to show a list of subsites and Document libraries that are under the current subsite.
    I started investigating a solution using Datasources with SOAP requests sent to the server but it is very difficult to understand how to surface it on the Data View WebPart.
    I have tried with the search results webpart but the problem is that it does not work well when packaged in a Site Template.
    Please advise.
    Thanks and Regards,
    Rhyan

    Ok,
    Here is the problem:
    When creating a mysite from powershell or script, apparently you can ONLY do this from a wfe (or a server running Microsoft SharePoint Foundation Web Application in services on server).
    You CANNOT create mysites from script on your appserver if it is not also a Web Application Server. I confirmed the same is true in my test farm. I guess I was always running most of these scripts on the webserver.
    I searched all over and cannot find this documented anywhere.
    Who do I contact to have Microsoft document this?
    It's Thursday morning, I've been working non stop since Saturday morning so you don't have to :)

  • History and Future Bucket of the Data View

    Hi Experts
    As per my Client Requirement Planning for the Next year Jan 2010 u2013 Dec 2010 which Starts in the second Quarter of the Year 2009.
    They need historical data (Historical Time Bucket) of Last 3 years in the monthly bucket and Future bucket for Jan 2010- Dec 2010.
    My query in this regard to design Data view which  need to Show Historical periods of Last 3 yrs from current month and Future Bucket as Jan 2010-Dec 2010 to input the Forecast.
    The next planning Cycle would start in the second Quarter of the 2010 to forecast for the Jan 2011 to Dec 2011. When they plan for the Year Jan 2011 u2013 Dec 2011 the data views should be automatically roll or update with future bucket Jan 2011-Dec2011 and History Bucket with three years in the monthly bucket from the Current Month.
    Please give your Valuable Suggestions with regard to above requirement.
    I tried by Giving Planning Start Date as 01.01.2010 , but it is not fulfilling the above requirement.

    Hi Anuradha
    Thanks for you quick reply.
    Assume that we are in the Month of June 2009, My planners start the planning process  for the Jan 2010 - Dec 2010.
    If i take 1 year it wont help me , Future Buckets will be till May 2010.
    If i take 17 Months as the Future Buckets , Future buckets are displayed till Dec 2010.
    Till June 2010 In between Planners can have Revision , and may again change the Forecast.
    Suppose Assume that we have revision in the month of March 2010 , Here Future Buckets are displayed till October 2011.
    How to make my data view time bucket in the synchronized with future Periods.
    Thanks in Advance
    Mani

  • Merging Basic data View and Classification View in Material Master

    Hi,
    There is a requirement to append Classification View under Basic Data View and then finally to delete Classification View.
    As per my understanding, it is not possible. Please let me know if it is possible, if so, please let me know how is it possible.
    A quick response is appreciated.
    Thanks & Regards
    Bhaskar Baddela

    Hi,
       Refer the thread: Problem creating Material Master sales view with LSMW which discuss the same issue. You may check and revert back.
    Regards,
    AKPT

  • Imported ical from outlook and the date across the top of the weekly view all show the date i imported..

    imported ical from outlook and the date across the top of the weekly view all show the date i imported..

    I'm confused, what does iCal have to do with this, it seems as though you went from Outlook to Entourage, is that correct?

Maybe you are looking for

  • Linux on Oracle: Installation Problem..Odd!!

    I am trying to install oracle 8.0.5 DB server on my RedHat5.2 box with all the necessary rpm install like gcc, cc,lib etc. I am running the orainst from the har disk, I answer all questions and then I see the graph bar appearing and oracle getting in

  • How do i setup multiple icloud accounts for find my iphone

    Have kids i want them to have there own icloud account so they can back up to but i want them to all be on one find my iphone account so i can see all my family from one screen.

  • Searching for the fields of a table

    Hi all, for a material in mara, i am serching for the fields like   1) date of manufacture of that material   2)country where that material is manufactured.     i.e country of origin. plz suggest me. ur  advice is higly appreaciated. Regards pabitra

  • Hierarchy Viewer CSS issue

    Hi, I have a Fusion Web Application in Jdeveloper 12C that gets the colors and skinning from a CSS file. When i add: af|dvt-hierarchyViewer     background-image: -webkit-linear-gradient(bottom, #FFFFFF 0%, #000000 300%);     background-color: current

  • "Please Wait For The User Profile Service" message when logging on to TS 2008

    I have a Windows 2008 AD Domain with 2 Windows 2008 Terminal Servers.  Both are configured identically.  I have the TS Roaming profiles stored on a 3rd server and a GPO pointing all users to the roaming profiles.  On one of the servers everything wor