Setting set-search-data-hiding-rule-prop target-dn-regular-expressions

Hi. I'm trying to set up a data hiding rule in DPS 6.3. I want to have the data hiding rule apply to any DN that ends with o=ny,c=us. I tried setting the target-dn-regular-expressions to 'o=ny,c=us$'. I figured if DPS used regular expression matching, the $ at the end should be used as an anchor for that string. But the rule is not firing. I proved it by setting the regular expression to none and then setting the target-dns to match exactly the dn I'm returning. Anyone know what I would need to put in for the expression to match what I want? Thanks

Hi,
Regular expressions must comply with the Java regular expression specificationa, available at [http://download.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html ]
For instance, the regular expression (.*)o=ny,c=us filters out the whole o=ny,c=us tree.
Hope this helps
Sylvain

Similar Messages

  • DPS 6.x data hiding rules

    Is it possible to use regular expressions and ranges for target-attr-value-assertions?
    I'd like to filter all Objects of posixaccount within a specific uidNumber range. (like 0-2000)

    No it is not. Current release accepts plain values, not regular expressions. Interesting RFE to be considered.
    Thanks
    -Sylvain

  • Date Validation (yyyy/MM/dd) Using Regular Expression

    Hi Friends,
    I want to validate date entered by user in yyyy/MM/dd format and for this I want to use Regular Expressions only. Also is there any tool that can be used to generate Regular Expression (for Win2000, Win NT)?
    Regards,
    Himanshu Rathore

    try this
    public class Test
         public static void main(String [] args)
              String regex = "\\d{4}/[01]\\d/[0-3]\\d";
              System.out.println("2003/12/11".matches(regex));
              System.out.println("2djd/kj3".matches(regex));
              System.out.println("22/12/12".matches(regex));
              System.out.println("2003/23/05".matches(regex));
              System.out.println("1999/12/51".matches(regex));
              System.out.println("2007/05/07".matches(regex));
    }i'm not able to try on it because i only have jdk1.3.1 installed on my computer and these codes
    required j2sdk1.4

  • Search  application that can handle regular expressions

    I am desperately seeking for my PhD an OSX 10.6 application that can search through all my data. That application need to have *efficient search algorithms* for complex pattern searching.
    For example I want to search all my documents having the word cancer inside the file.
    Not only search for the filename cancer BUT search inside the documents with all the extensions (pdf, rtf, doc, etc.)
    In Windows I use +Filelocator Pro+.
    Is there a Mac OSX application like +Filelocator Pro+ for search?
    An application that can handle regular expression support, with any of the following options:
    +Export results to Text, command line options, Network drive searching, Boolean searches (e.g. AND, OR, and NOT), Perl compatible regexp option, Built in file viewer, Word, Excel and PDF searching, Open Office, Word Perfect option using IFilters, Unicode support, support for: ZIP, RAR, CAB, 7-Zip, ARJ, Bzip, CHM, CPIO, DEB, DMG, GZIP, HFS, ISO, LZH, MSI, NSIS, RPM, TAR, UDF, WIM, XAR, Z formats, Active Scripting support, Export as Text, CSV, XML, HTML, or XSLT custom format, File attribute searching , Relative date/time searches, Repositionable contents pane, Search within search, Exclude folders list,+ etc

    You might try the freeware EasyFind. It allows boolean and wildcard searches. How many of the other features in your "wish list" it offers I haven't checked. If EasyFind doesn't offer sufficient power, take a look at FoxTrot Personal Search or FoxTrot Professional Search.
    And of course there's always grep which can be incredibly powerful once you learn all its ins and outs.
    Regards.

  • Key rule 2 (target field: M1_SUN): Initial update set

    HI
    friends,
    while creating transformations for my character i gave initial
    i am getting this message
    Key rule 2 (target field: M1_SUN): Initial update set
    initial means blank, so my output values should be blank for material, ple let me know.
    regards
    suneel.

    Hi Suneel,
    Normally you would want to load data for an InfoObject, so if you are not, the system just warns you. Like you also get warning when adding or removing nav attr from an InfoObject. Even if you are doing that for a reason, the system will prompt with warnings before activating the object.
    Hope this helps...

  • What is this message: Base Line Date for rule 11 not set ?

    Hello all,
    I am doing some test.
    Cenario:
    I need to create a Scheduling Agreement in transaction: VA41
    The material I am using to create the VA41, I have just created.
    I created in MM01 the views: Basic Datas 1 and 2, Sales View 1,2 and 3 and Account View 1.
    Issue:
    When I am creating the VA41 and I enter the material, the system shows the messages:
    1) Dates from:: Base line date for rule 11 not set
    2) Dates from:: Base line date for rule 9 not set
    *obs: the messages dos not block the creation of VA41. It is a information message.
    Question:
    What that means? What will happen if I do not fix that? What should I do in order to not have more these messages?
    Tks & Rgds,
    Barbara
    Message was edited by:
            Barbara Barbos

    Hi
    Please check whether you have assigned - payment terms both at company code and sales area level
    VVR

  • No system manager locations set, search application might not be ready yet

    Hi,
    I am just setting up a new SharePoint 2013 environment (Windows server 2008 R2 + SQL Server 2008 R2) and I am getting this error message in powershell when I try to save my new search topology: No system manager locations set, search application might
    not be ready yet. The installation script used to install and create the search service originates from this link: http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=378 and I receive the error message after running $clone.Activate().
    ULS is writing this:
    05-29-2013 14:57:00.94 mssearch.exe (0x19C0) 0x1A68 SharePoint Server Search Crawler:Content Plugin cd11 Critical Content Plugin can not be initialized - list of CSS addresses is not set.
    05-29-2013 14:56:08.27 OWSTIMER.EXE (0x09B0) 0x1304 SharePoint Server Search Administration dkd5 High synchronizing search service instance 8f28209c-5d35-a0cc-7fad-bd7b088335ee
    05-29-2013 14:56:08.27 OWSTIMER.EXE (0x09B0) 0x1304 SharePoint Server Search Administration eff0 High synchronizing search data access service instance 8f28209c-5d35-a0cc-7fad-bd7b088335ee
    05-29-2013 14:56:09.38 OWSTIMER.EXE (0x09B0) 0x1304 SharePoint Server Search Administration ajzc7 Medium Cleanup of Orphan Systems in server SR00667 8f28209c-5d35-a0cc-7fad-bd7b088335ee
    05-29-2013 14:56:09.46 OWSTIMER.EXE (0x09B0) 0x1304 SharePoint Server Search Administration agwve Medium Synchronizing legacy admin 8f28209c-5d35-a0cc-7fad-bd7b088335ee
    05-29-2013 14:56:09.46 OWSTIMER.EXE (0x09B0) 0x1304 SharePoint Server Search Administration ai4f1 High Unable to get systemmanagerlocation from db 8f28209c-5d35-a0cc-7fad-bd7b088335ee
    05-29-2013 14:56:09.46 OWSTIMER.EXE (0x09B0) 0x1304 SharePoint Server Search Administration ai84s Medium Skipping legacy admin sync as there is no system manager location set 8f28209c-5d35-a0cc-7fad-bd7b088335ee
    05-29-2013 14:56:09.46 OWSTIMER.EXE (0x09B0) 0x1304 SharePoint Server Search Administration agwvc Medium Skipping Topology Synchronize.The active topology does not have any Components. 8f28209c-5d35-a0cc-7fad-bd7b088335ee
    05-29-2013 14:56:09.46 OWSTIMER.EXE (0x09B0) 0x1304 SharePoint Server Search Administration ajnco Medium Cleaning up Orphan nodes in system : 7B4831 8f28209c-5d35-a0cc-7fad-bd7b088335ee
    So basically all else is going fine before saving the clone. Application pool is created, search service and it´s proxy is created (the databases are also created in SQL). The clone is after this created and then the components are added.
    I have tested with both March and April CU. I use separate accouns for search service, installation and so on. I have tested giving the search application pool account local admin right but didnt make any difference.
    Some posts in Internet around this matter is pointing towards there might be 4 missing patches like here: http://blog.steigis.ch/sharepoint/sps2013/search-in-starting-state/  They are all installed on my server.
    Search host controller service and SharePoint Server Search are started.
    Before creating the service I ran this. I have done this on all my other installations of search to solve the problem with the host service is in "starting" state. Info taken from here: http://mmman.itgroove.net/2012/12/search-host-controller-service-in-starting-state-sharepoint-2013-8/
    $acl = Get-Acl HKLM:\System\CurrentControlSet\Control\ComputerName
    $person = [System.Security.Principal.NTAccount] "Users"
    $access = [System.Security.AccessControl.RegistryRights]::FullControl
    $inheritance = [System.Security.AccessControl.InheritanceFlags] "ContainerInherit, ObjectInherit"
    $propagation = [System.Security.AccessControl.PropagationFlags]::None
    $type = [System.Security.AccessControl.AccessControlType]::Allow
    $rule = New-Object System.Security.AccessControl.RegistryAccessRule($person, $access, $inheritance, $propagation, $type)
    $acl.AddAccessRule($rule)
    Set-Acl HKLM:\System\CurrentControlSet\Control\ComputerName $acl
    $sh = Get-SPServiceInstance | ? {$_.TypeName -eq "Search Host Controller Service"}
    After this I do a server restart and continue with creating the search service and its components.
    Any ideas?

    I had exactly the same issue when setting up a new SharePoint 2013 environment (Windows Server 2012, SP2013 with PU March 2013 and CU April 2013, .NET 4.5). I have tried almost everything during the last weeks to configure the Search Service Applicatione,
    e.g. create the service from GUI, create it from PowerShell, verify my search account had enough permissions, check for missing updates etc. etc. Same error no matter what I tried.
    Using another SharePoint farm I went through a similar configuration of the Search Service Application. I used exactly the same script as I did on the first server and the setup completed without any issues. So why did the same features fail during the setup?
    To find an answer I compared the two farms and the only thing I noticed that were different was the lack of .NET 3.5 on the application and WFE server in the first farm. I then enabled .NET 3.5 features and now the Search Service Application works as expected
    I had no idea enabling .NET 3.5 features would solve the issue - I thought .NET 4.5 was backward compatible and SharePoint only requires .NET 4.5 according the
    requirements?

  • How to set system date as a default value in UIX/XML page?

    Example: We set default values using following statements:
    <set property="inputValue" target="${bindings.PoNumber}" value="${'1234'}"/>
    <set property="inputValue" target="${bindings.UserName}" value="${param.MyParam1}"/>
    In JDeveloper Help, we cannot find a way to set a Date attribute's default value to today's (system) date. Any suggestions?
    Also, does anyone have a reccomendation on a good book for uix/xml?
    Thanks, Ali.

    bump

  • On the initial set up for apple tv it just sits there trying to set the date and time . it is a wireless setup and the ipaddress and router address is correct . I can't get by this screen

    On the initial set up for apple tv it just sits there trying to set the date and time . it is a wireless setup and the ipaddress and router address is correct . I can't get by this screen. The setting is on automatic and I have picked a city in my time zone yet it still tries to set a time and date but fails.
    thanks

    Make sure router is up to date. Try ethernet to rule out any wifi issues. Reboot ATV and router.

  • HT1551 Can't seem to set te date and time...?

    We are setting up our Apple TV...we can't seem to set the date and time....it just keeps searching?

    All good....the wifi wasn't turned on.....!

  • Set default dates for custom infotypes

    Hi .
    can anyone suggest me to how to set default dates endda and begda  to an custom infotypes.
    early rsponses heghly appreciate.
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Aug 23, 2011 1:33 PM

    If you want the default dates to show when creating or Copying a record, use Customer Exit ZXPADU01

  • Date bug in import process: 2 sets of dates from same-day shots

    I took some photos the other day using my Canon 400D. Some were taken around 1:00 pm, and another series of them were taken around 4:00 pm. I then went to import them into Lightroom from a CompactFlash card, using a cardreader, by using the organize by date option with the format 2005\2005-12-17. When Lightroom's import process gathered the file data for the images, I discovered that there were two sets of dates, viz. 2007\2007-02-24 and 2007\2007-02-25. Considering that I was doing the import on 2007-02-24, the second date was quite in error.
    I checked the EXIF data and the files seemed OK. The timestamps on the files on the card were also as expected.
    I then manually copied the image files to a temporary folder on my PC. When I pointed Lightroom's import function to that folder, lo and behold, the files were picked up and the correct single date for the target folder was set up for me.
    Has anyone else come across this problem? Any suggestions how to work around it from WITHIN Lightroom if it occurs again?
    Witold

    Are you by chance using Vista? That would be a "Known issue", the workaround being copying the images to the hard drive and importing from there instead of importing directly from the card/camera.
    Alexander.
    Canon EOS 400D (aka. XTi) • 20" iMac Intel • 12" PowerBook G4 • OS X 10.4 • LR 1 • PSE 4

  • How to split out a set of data????

    package mitsim_converter;
    import java.io.*;                            // For input & output classes
    import java.util.*;                          // For the Date class
    public class testgod {
    public static void ReadCoFile(String Co_inputFile, String Co_dirName, String Co_outputName)
        throws IOException {
        File aFile = new File(Co_dirName, Co_outputName); // Output Directory location and name
         aFile.createNewFile();         // Now create a new file if necessary
         if(!aFile.isFile())             // Verify we have a file
           System.out.println("Creating " + aFile.getPath() + " failed.");
           return;
    BufferedReader in = new BufferedReader(new FileReader(Co_inputFile));
    BufferedWriter out = new BufferedWriter(new FileWriter(aFile.getPath(), true));
    //Variable declarations
         int a = 0;
         int b = 0;
         int c = 0;
         String text;
       while ((text = in.readLine()) != null)  //multiple line reading
          for(int i = 0; i < text.length(); i++)
              char word = text.charAt(i);
                  if ( word == '{')     //search for the ' { ' charecter
                      a++;              //counting ' { '  unit
          for(int i = 0; i < text.length(); i++)
              char word = text.charAt(i);
                  if ( word == '}')     //search for the ' } ' charecter  
                      b++;              //counting ' } '  unit
          if(a == 1)      //print out the 1st line of a set of data
              String[] sentance = text.split(" ");
              System.out.println(sentance[1]+sentance[3]); 
      if(a == b)        // 1 set of data is counted
          a = 0;        //count the next set of data
          b = 0;
          out.write(System.getProperty("line.separator")); //separate a new set of data
        public testgod() {
        public static void main(String[] args)
      throws IOException
    // Coordinate Table     
           String tra_inputFile = "C:/Documents and Settings/seng/Desktop/testfile/trajectory.txt";     
           String tra_dirName = "C:/Documents and Settings/seng/Desktop/testfile";
           String tra_outputName = "trajectory_output.txt";
           ReadCoFile(tra_inputFile, tra_dirName, tra_outputName);
    } currently i have a set of data as below:
    1 {
    6 0 2 1037.9 24.4187 -5.4961e-05 1
    2 {
    1 0 2 1013.5 24.4187 4.99431e-05 1
    4 0 1 1057.5 24.4187 -2.63508e-05 0
    3 130 264 115.7 14.2425 1.48289e-05 0
    2 136 276 464.7 11.6186 -3.46263e-06 1
    3 {
    1 0 2 989.1 24.4187 -5.4961e-05 1
    4 0 1 1033.1 24.4187 2.13329e-05 0
    5 126 256 1241.4 22.7881 0 0
    3 130 264 101.5 14.2426 5.23758e-07 0
    2 136 276 453.1 11.6186 -3.46263e-06 1
    }i wish to split them and take out the 1st column and 3rd column data, but the my coding fail to do it. may i know how do i can solve for this problem?
    PS: the expected output
    6 2
    1 2
    4 1
    3 264
    2 276
    1 2
    4 1
    5 256
    3 264
    2 276

    import java.util.regex.*;
    public class TestParse {
      public static void main(String[] argv) {
        String testInput = "1 {\n" +
          " 6 0 2 1037.9 24.4187 -5.4961e-05 1\n" +
          "}\n" +
          "2 {\n" +
          " 1 0 2 1013.5 24.4187 4.99431e-05 1\n" +
          " 4 0 1 1057.5 24.4187 -2.63508e-05 0\n" +
          " 3 130 264 115.7 14.2425 1.48289e-05 0\n" +
          " 2 136 276 464.7 11.6186 -3.46263e-06 1\n" +
          "}\n" +
          "3 {\n" +
          " 1 0 2 989.1 24.4187 -5.4961e-05 1\n" +
          " 4 0 1 1033.1 24.4187 2.13329e-05 0\n" +
          " 5 126 256 1241.4 22.7881 0 0\n" +
          " 3 130 264 101.5 14.2426 5.23758e-07 0\n" +
          " 2 136 276 453.1 11.6186 -3.46263e-06 1\n" +
          "}\n";
        Pattern outer =
          Pattern.compile("\\s*(\\d+)\\s*\\{([\\s\\d\\.\\-\\+e]+)\\}");
        Pattern inner = Pattern.compile("LEFT AS EXERCISE");
        Matcher m = outer.matcher(testInput);
        while(m.find()) {
          if (m.groupCount() != 2) {
            System.err.println("Error: found wrong number of groups: " + m.groupCount());
          } else {
            System.out.print("Time: " + m.group(1) + " " + m.group(2));
            Matcher m2 = inner.matcher(m.group(2));
            while(m2.find()) {
              if (m2.groupCount() != 7) {
                System.err.println("Error: found wrong number of groups: " + m2.groupCount());
              } else {
                int i = 0;
                String iDString = m2.group(++i);
                String segmentString = m2.group(++i);
                String laneString = m2.group(++i);
                String positionString = m2.group(++i);
                String speedString = m2.group(++i);
                String accelerationString = m2.group(++i);
                String vehicleTypeString = m2.group(++i);
                System.out.println(
                  "ID: " + iDString + "\n" +
                  "Segment: " + segmentString + "\n" +
                  "Lane: " + laneString + "\n" +
                  "Position: " + positionString + "\n" +
                  "Speed: " + speedString + "\n" +
                  "Acceleration: " + accelerationString + "\n" +
                  "VehicleType: " + vehicleTypeString);
    }

  • Setting new Date() in a JPQL field

    I have written a system where dynamic query is created on-the-fly using a query criteria builder class. Now when a date is passed in.
         * set the value to be used as an equal to search for createDate
         * @param Date - createDate
        public void setCreateDate(Date createDate)
            setParameter(CREATE_DATE, new Date());
        }Now, the problem is the query created is something like
    p.createDate = Fri Dec 21 00:00:00 PST 2007and this stuff throws an IllegalArgumetException while creating the query because of the Fri token.
    My question is how else do I set a date object into JPQL without causing this exception.
    Michael

    I have discovered my first mistake. I was using my criteria class to build a JPQL. using a StringBuffer to concatenate the fields and their values. The problem with dates is that on appending the a toString() is generated for the date object and that String is the cause of the IllegalArgumentException when the query is created.
    So, I am looking for a way get the Date object in place instead of its toString()
    Thanks

  • Sorting Collection Sets by Date

    Searched around for this first and now I'm asking the experts:
    I recently started using LR and have followed some workflow recommendations by Scott Kelby to set up my images in collection sets with collections within each set as follows:
    Collection Set Name
      - Full Shoot (collection)
      - Picks (collection)
      - Selects (collection)
    I want each collection set to be ordered by date (e.g. date of most recent image in set or date of import into LR).  The only 2 ways I've found to sort these are by Name or Kind.
    Any way to sort by date?
    I suppose I can rename each collection set so that it starts with the date, but that seems silly when the photos all have dates already assigned automatically.
    Thanks all.

    Well what I was looking for was to order the collection sets as opposed to the collections within them.  But based on your response, it looks like I do need to use a numerical prefix to do this.  (Thanks for the link to your workflow recommendations, I will spend more time checking them out.)
    So for example if my collections are currently sorted by name like this:
    Bangkok - Thailand
    - Full Shoot
    - Picks
    - Selects
    Hoi An - Vietnam
    - Full Shoot
    - Picks
    - Selects
    I'll add a date prefix so that the set is sorted like this:
    2009 1012  Hoi An - Vietnam
    - Full Shoot
    - Picks
    - Selects
    2009 1203 Bangkok - Thailand
    - Full Shoot
    - Picks
    - Selects
    This will sort the collections by date, but must check if it is possible to reverse the sort so that most recent shows first.
    dj paige:  Yes, I was looking to order the collection names, not the individual photos.
    Collections can be sorted by clicking on the + icon in the Collections panel and choosing either Sort by Name or
    Sort by Kind.  The only elaboration Adobe provides for Sort by Kind is to also call it "Sort by Type".
    Regards.

Maybe you are looking for