Need help in ACS group design

I have 3 NDG's and 3 user groups. The NDG's are core devies, edge devices and AccessPoints. The user groups are End users, Guest users, Lan users and core users.
I want to give the core users access to all network devices and access to wireless via eap based protocols.
The lan users, I would like to give the same wireless access, but only have access to edge devices ndg.
The end and guest users just need access to wireless.
I am using an LDAP database. I am trying to figure out how to configure the wanted results.
Any Help wouuld be appreciated.

The document has configuration of group in Cisco Secure ACS.
http://www.cisco.com/univercd/cc/td/doc/product/access/acs_soft/csacs4nt/csnt26/usergd26/interfac.pdf

Similar Messages

  • Need help to proposed solution design

    Dear Gurus,
    Following question is more towards designing model structure
    My comapny (Group of legal comapnies) corporate structure is as follows
    Corporate Group
         Comapany A
               Division A1
                   Subdivision A1-1
                         Division A2
         Comapany B
               Division B1
                     Division B2
                   Subdivision B2-1
                   Subdivision B2-2
    Each lowest level (divisoon and subdivison ) dealing in different business line and has its own score card which will be casecaded up for division , companies and then group score card,
    Division are holding subdivision , smilarly Comapnies are the holding corsponding divisions and group holding compnies.
    Query 1 :
    If I decided to develop seprate PAS model for each lowest level( subdivision and division) , as well as context then How I will consolidate them to next level , examp. divisional level for Division B2.
    Query 2 :
    If I decided to develop one single PAs model for whole group having one dimension "corporate structure", How can I keep different score card for each lowest level.
    Note : Here I have one more challenge that we have to perform implementation project in blaock-by-block fashion for example , implemenation for only "Subdivision B2-1" and casecade upto group level then include "Subdivision B2-2" and so on.
    Please suggest.
    regards
    Arif

    Arif ,
    Looking at the requirements , I feel that it is better to create all the divisions in one PAS model itself. Creating a single model would help you in the roll up of the data up the dimensional hierarchy . Creating different PAS models would necessitate loading data at various levels and divisions.
    Since you need a scorecard at each level , I suggest you to have a different context for each division/comapany. The overall corporate group can have a separate scorecard. I know that this design is a bit cumbersome , but , the advantage of splitting the scorecard across various contexts, is that , the authorisations can be set at the context level and the users at the bottom levels cannot view the performance of the Corporate.
    Hope this helps ,
    Vijay

  • Need help in bex query designer

    hi experts ,
    Actually we had a ODS where the KPI's values  for all weeks are present and also the module.
    in the query designer we need to show the targets for respective KPI's modulewise.
    the requirement is
    module-selections
    week no-selection
    targetweek1week2---week3
    KPI1--10090---90--
    90
    KPI2--95-7885-----90
    based on the module selection the targets values should change and also there should not be any restriction on weeks.
    and also exceptions needs to be done for color coding.
    we actually implemented cell defination for getting the above requirement , but here the problem is that we need to fix the  targets and there is arestriction on the weeks . but the requirement should be dynamic i.e, the targets should be configurable and the weeks should not be restricted.
    in the backend ODS all weeks data is present. we just need an idea how to fix these targets and also color coding for the respective KPI's without using cell defination.
    Kindly throw some pointers how to acheive this..
    thanks in advance,
    Madhu

    Hi Madhuri,
      Ur requirement can be done by using a customer exit variable,keeping any sap stand. time characteristics value.
    If u want to define the any selection dynamically,make a new selection with the text variable and call the customer exit variable into it and assaign the corresponding KPI into it and there by u can define the offset value as well.
      for writting the customer exit,u need to contact ur ABAP'er and say the requirement.
    Hope this helps!!

  • Need help with installing CS6 Design Standard

    Hi all,
    Bought CS6 Design standard as a download from Currys the other day. I have a list of 4 files to download.
    First one is a PDF to tell me how to activate my student software.
    Second is a download .exe file for design standard
    Third is another .exe for illistrator content installer
    Fourth is another .exe for indesign and incopy content installer.
    I've donwloaded all 4 files and once i've clicked on the two content installers i then click on the design standard .exe file and up comes this error message "the file archive part of adobe cs6 design standard is missing. you need all parts in the same folder in order to extract adobe cs6 design standard. please download all parts."
    As google automatically places all the download items into the downloads folder, I'm assuming I've done the correct thing and placed them all in the same folder.
    I have read that you need to extract a .72 folder or something. however i cannot see that on my downloads list.
    Please could someone help, or is this a case of taking my laptop into currys and demanding someone to help me??

    you should contact your vendor to see where that 7z file is.
    btw, it should not be manually extracted.  the exe will extract the 7z file's contents.
    or you may be able to download from here, http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html

  • Need help in SQL Group By

    Hi all,
    I Hope anybody can help to provide the select statement that i need in my sitiuation.
    I have one table name EVENTS. I want to make a select statement that can be produced the min(TIME) and max(TIME) time for one USERID.
    This is my sql.
    Select MIN (events.TIME1),
    MAX (events.TIME1),
    USERID
    FROM events
    Where date1=to_date('01/09/2006' , 'dd/mm/yyyy'')
    Group by userid
    This is the example value for TIME1 = '5/9/2005 10:38:57 AM'
    This is the invalid sql, I dont know how to modify it, I dont want to group the address and reader. I only want to output the value. Can Anybody help me???
    Select MIN (events.TIME1),address,reader
    MAX (events.TIME1),
    USERID
    FROM events
    Where date1=to_date('01/09/2006' , 'dd/mm/yyyy'')
    Group by userid
    CREATE TABLE EVENTS
    ID NUMBER(10),
    DATE1 DATE,
    TIME1 DATE,
    ADDRESS VARCHAR2(15 BYTE),
    USERID VARCHAR2(50 BYTE),
    READER VARCHAR2(20 BYTE)
    )

    There may be more efficient ways to do it, but this works:
    SQL> SELECT * FROM t;
            ID DATE1                TIME1                ADDRE USERID         READER
             6 08-sep-2006 00:00:00 08-sep-2006 13:10:57 0001  N0001               1
             5 07-sep-2006 00:00:00 07-sep-2006 13:10:57 0001  N0002               1
             4 07-sep-2006 00:00:00 07-sep-2006 23:10:57 0005  N0001               2
             3 07-sep-2006 00:00:00 07-sep-2006 22:30:57 0003  N0001               1
             2 07-sep-2006 00:00:00 07-sep-2006 10:30:57 0002  N0001               2
             1 07-sep-2006 00:00:00 07-sep-2006 10:38:57 0001  N0001               1
    SQL> SELECT m.userid, minaddress, minreader, mintime,
      2         maxaddress, maxreader, maxtime
      3  FROM (SELECT date1, userid, minaddress, minreader, mintime
      4        FROM (SELECT date1, userid, address minaddress, reader minreader,
      5                     time1 mintime,
      6                     ROW_NUMBER() OVER (PARTITION BY userid, date1
      7                                        ORDER BY time1) rn
      8              FROM t)
      9        WHERE rn = 1) m,
    10       (SELECT date1, userid, maxaddress, maxreader, maxtime
    11        FROM (SELECT date1, userid, address maxaddress, reader maxreader,
    12                     time1 maxtime,
    13                     ROW_NUMBER() OVER (PARTITION BY userid, date1
    14                                        ORDER BY time1 DESC) rn
    15              FROM t)
    16        WHERE rn = 1) x
    17  WHERE m.userid = x.userid and
    18        m.date1 = x.date1 and
    19        m.userid = 'N0001' and
    20        m.date1 = TO_DATE('07-sep-2006', 'dd-mon-yyyy');
    USERID     MINAD  MINREADER MINTIME              MAXAD  MAXREADER MAXTIME
    N0001      0002           2 07-sep-2006 10:30:57 0005           2 07-sep-2006 23:10:57John

  • Need Help With SQL GROUP BY and DISTINCT

    I am working on a project and need to display the total of each order based on the order id. For instance I want to display the order id, customer id, order date, and then the extension price (ol_quantity * inv_price).
    I would then like a total displayed for order # 1 and then move on to order #2.
    Here is my SQL code :
    SELECT DISTINCT orders.o_id, customer.c_id, inv_price * ol_quantity
    FROM orders, customer, inventory, order_line
    GROUP BY orders.o_id, customer.c_id, inv_price, ol_quantity
    ORDER BY orders.o_id;
    When my code is run it displays the order id, customer id and inv_price * quantity (extension price) but no order total for the order number and a new group is not started when a new order number is started....they are all clumped together.
    Any help is greatly appreciated!!

    Hi,
    user12036843 wrote:
    I am working on a project and need to display the total of each order based on the order id. For instance I want to display the order id, customer id, order date, and then the extension price (ol_quantity * inv_price).
    I would then like a total displayed for order # 1 and then move on to order #2.
    Here is my SQL code :
    SELECT DISTINCT orders.o_id, customer.c_id, inv_price * ol_quantity
    FROM orders, customer, inventory, order_line
    GROUP BY orders.o_id, customer.c_id, inv_price, ol_quantity
    ORDER BY orders.o_id;
    When my code is run it displays the order id, customer id and inv_price * quantity (extension price) but no order total for the order number and a new group is not started when a new order number is started....they are all clumped together.
    Any help is greatly appreciated!!Sorry, it's unclear what you want.
    Whenever you post a question, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using.
    Do you want the output to contain one row for each row in the table, plus an extra row for each distinct order, showing something about the order as a whole (e.g., total inv_price or average extension_price)? If so, you need GROUP BY ROLLUP or GROUP BY GROUPING SETS .
    If you want one row of output for each row of the table, but you want to include something that reflects the group as a whole (again, e.g, total inv_prive or average extension_pcie), then you can us analytic functions. (Most of the aggregate functions, such as SUM and AVG have analytic counterparts that can get the same results without collapsing the result set down to one row per group.)
    Here's an example of how to use GROUP BY GROUPING SETS.
    Way we're interested in employees' salary and commission from the scott.emp table:
    SELECT       deptno
    ,       ename
    ,       sal
    ,       comm
    FROM       scott.emp
    ORDER BY  deptno
    ,            ename
    ;Output:
    `   DEPTNO ENAME             SAL       COMM
            10 CLARK            2450
            10 KING             5000
            10 MILLER           1300
            20 ADAMS            1100
            20 FORD             3000
            20 JONES            2975
            20 SCOTT            3000
            20 SMITH             800
            30 ALLEN            1600        300
            30 BLAKE            2850
            30 JAMES             950
            30 MARTIN           1250       1400
            30 TURNER           1500          0
            30 WARD             1250        500Now say we want to add the total income (sal + comm, or just sal if there is no comm) to each row, and also to add a row for each department showing the total sal, comm and income in that department, like this:
    `   DEPTNO ENAME             SAL       COMM     INCOME
            10 CLARK            2450                  2450
            10 KING             5000                  5000
            10 MILLER           1300                  1300
            10                  8750                  8750
            20 ADAMS            1100                  1100
            20 FORD             3000                  3000
            20 JONES            2975                  2975
            20 SCOTT            3000                  3000
            20 SMITH             800                   800
            20                 10875                 10875
            30 ALLEN            1600        300       1900
            30 BLAKE            2850                  2850
            30 JAMES             950                   950
            30 MARTIN           1250       1400       2650
            30 TURNER           1500          0       1500
            30 WARD             1250        500       1750
            30                  9400       2200      11600(This relies on the fact that ename is unique.) Getting those results is pretty easy, using GROUPING SETS:
    SELECT       deptno
    ,       ename
    ,       SUM (sal)          AS sal
    ,       SUM (comm)          AS comm
    ,       SUM ( sal
               + NVL (comm, 0)
               )               AS income
    FROM       scott.emp
    GROUP BY  GROUPING SETS ( (deptno)
                             , (deptno, ename)
    ORDER BY  deptno
    ,            ename
    ;Notice that we're displaying SUM (sal) on each row. Most of the rows in the output are "groups" consisting of only one row from the table, so the SUM (sa) for that goup will be the sal for the one row in the group.
    Edited by: Frank Kulash on Nov 23, 2011 2:03 PM
    Added GROUPING SET example

  • Need Help With ACS LDAP setup to Query AD

    I have 2 Win 2003 ADs, one of them is configured and working under Windows Database (using remote agent) configuration. I am trying to setup the second AD with Generic LDAP setup. I want to know what exactly I should use in the fields UserObjectType and Class, and GroupObjectType and Class for Windows 2003 AD. All Cisco documents give example of Netscape LDAP syntax. I was told by our server admin. what to put under Admin DN, CN=myid,OU=mygroup,OU=myorg,DC=mydomain,DC=com
    I have both user & group directory subtree fields filled with DC=mydomain,DC=com.
    I am using the ip address for Primary LDAP server, and port is 389, LDAP version 3 is checked.
    Is any of these DC, OU, etc. case sensitive?
    With all entries that I have tried, when I go to map a group, I am getting error "LDAP server NOT reachable. Please check the configuration". My ACS can ping the domain controller's IP address fine.
    Please help. Thank you in advance,
    Murali

    Murali,
    These references may help...
    http://download.microsoft.com/download/3/d/3/3d32b0cd-581c-4574-8a27-67e89c206a54/uldap.doc
    http://www.microsoft.com/technet/archive/winntas/plan/dda/ddach02.mspx?mfr=true
    http://technet.microsoft.com/en-us/library/aa996205.aspx
    Regards,
    Richard

  • Need Help AM Transmitte​r Design in Multisim

    I have diode ring mixer to get a frequency of 27MHz after it has gone through the filter. It is  followed by a common emitter transistor amplifier to amplify the signal out of the mixer and then filtered.
    I was getting more gain by putting the amplifier at the end  of the filter but I was told that is not good practice becuase of issues with noise.
    I'm not sure  if it has to due with impedance matching or the poorly design amplifier or I might need another amplifier. 
    I need to get this done for a class project but im having no luck and I still have to make the receiver . If I can't get enough gain I dont know if i'll still be able to demodulate the signal.
    I hope someone can help. I would greatly appreciate it. 
    Attachments:
    Transmitter.ms11 ‏132 KB

    I have diode ring mixer to get a frequency of 27MHz after it has gone through the filter. It is  followed by a common emitter transistor amplifier to amplify the signal out of the mixer and then filtered.
    I was getting more gain by putting the amplifier at the end  of the filter but I was told that is not good practice becuase of issues with noise.
    I'm not sure  if it has to due with impedance matching or the poorly design amplifier or I might need another amplifier. 
    I need to get this done for a class project but im having no luck and I still have to make the receiver . If I can't get enough gain I dont know if i'll still be able to demodulate the signal.
    I hope someone can help. I would greatly appreciate it. 
    Attachments:
    Transmitter.ms11 ‏132 KB

  • Need Help Building a Graphic Design/Video Editing PC

    Greetings everybody, my name is David, and I'm hoping to get a little assistance building a computer system either from scratch or from a couple of computers I have picked out.
    I hope this that doesn't sound unrealistic but I only have around $600 in my budget to build a Graphic Designer machine. My intentions are to get a subscription to Adobe cloud so I would have access to all of Adobe CS6 products. (I won’t be using any of the Touch or Game developers applications.)
    I would like to post two links to two machines that I picked out that are in my price range and would like some advice as to whether or not either one of these machines have enough processing power to be able to handle all Adobe CS 6 products.
    I am aware that neither one of these machines have a Graphics Processing Unit (GPU) and that I would have to purchase one and add it. Which leads me to my first question; are the processors on either one of these machines capable of handling a GPU that is on the Adobe recommended list for processors?
    And secondly, if I were to build a machine from scratch, is $600 enough to build a machine that is capable of handling Adobe CS6  products? When building a machine from scratch can you tell me what the minimum requirements are for a motherboard? Or are there any sites that offer specific advise for building PC's for graphic design?
    I noticed after looking through the list of recommended graphics processing units that the majority of those are very expensive, in the $500-$3000 range. Can you please recommend a graphics processing unit that is in the $200-$300 range that would be fully adequate to handle Adobe products? Also what things do I need to take into consideration when building the machine from scratch to ensure that all my hardware is capable of handling Adobe CS6 products.
    What do I need to add to either one of these prebuilt computers to make them Adobe-ready, If they are in fact worthy at all?
    Here are the links for two machines that I have picked out:
    http://www.costco.com/HP-Pavilion-p6t-Desktop%2c-Intel%C2%AE-Core%E2%8 4%A2-i3-2130-3.4GHz.product.100010197.html
    http://www.costco.com/ZT-Desktop%2c-Intel%C2%AE-Core%E2%84%A2-i5-3470- 3.2GHz.product.100027436.html
    I do realize that neither one of these machines have a graphics card in them. Can you tell by looking at the specifications on either one of these machines, whether or not your typical graphics card would fit inside the case If they are indeed worthy in all other respects?
    And I realize that I mentioned that I only had $600 to spend, however if either one of these prebuilt machines are powerful enough in all other respects, I don't have an issue waiting a month or two before buying the graphics card and installing a little bit later.
    Thank you in advance for your input.
    Sincerely,
    David

    Your HP Costco link results in an out of stock message
    Your ZT Costco link is very likely NOT expandable due to the VERY small power supply... so you will likely NOT be able to add a video card later
    For PPro video editing you want an nVidia graphics adapter http://www.pacifier.com/~jtsmith/GPU.HTM and even the low power nVidia may be too much for that computer
    Also, for video editing, you need a MINIMUM of 2 hard drives... and trying to edit HiDef video with an i5 will be a study of waiting for things to happen
    As Harm said... a $600 computer will work for everything EXCEPT video editing
    This DIY list is just about twice your budget, but it will work for video editing
    Intel i7 3770 CPU
    http://www.newegg.com/Product/Product.aspx?Item=N82E16819116502
    Motherboard
    http://www.newegg.com/Product/Product.aspx?Item=N82E16813121599
    16Gig Ram
    http://www.newegg.com/Product/Product.aspx?Item=N82E16820148600
    Mid-Tower Case
    http://www.newegg.com/Product/Product.aspx?Item=N82E16811129042
    750w Power Supply
    http://www.newegg.com/Product/Product.aspx?Item=N82E16817171053
    500Gig Drive
    http://www.newegg.com/Product/Product.aspx?Item=N82E16822136769
    500Gig Drive
    http://www.newegg.com/Product/Product.aspx?Item=N82E16822136769
    1Terabyte Drive
    http://www.newegg.com/Product/Product.aspx?Item=N82E16822236339
    GTX 660 Ti 2Gig
    http://www.newegg.com/Product/Product.aspx?Item=N82E16814130809
    120mm x2 Case Fan
    http://www.newegg.com/Product/Product.aspx?Item=N82E16835103060
    Keyboard & Mouse
    http://www.newegg.com/Product/Product.aspx?Item=N82E16823109232
    Sata DVD Writer
    http://www.newegg.com/Product/Product.aspx?Item=N82E16827135204
    http://www.newegg.com/Product/Product.aspx?Item=N82E16832116986
    Use Win7 64bit Home if you will NEVER go over 16gig ram
    http://www.newegg.com/Product/Product.aspx?Item=N82E16832116992
    Use Win7 64bit Pro to use more than 16gig ram
    BluRay writer if you want to write BluRay discs
    http://www.newegg.com/Product/Product.aspx?Item=N82E16827106369
    2 hard drive MINimum, I use 3 (as listed above)
    My 3 hard drives for video editing are configured as...
    1 - 320Gig Boot for Win7 64bit Pro and ALL program installs
    2 - 320Gig data for video project files, and temporary files
    When I create a project on #2 drive, the various work files follow,
    so my boot drive is not used for the media cache folders and files
    3 - 1Terabyte data for all video files... input source & output export files

  • Need help in Complex report Design

    Hi All
    we got one requirement where the user wants to the see the report in a format  showm below .
    the relation is in a hireachy   Oppourtunity ==> Cases==> Order items
    They want a format shown below so that   under Oppourtunity 1    it contains its corresponding cases and under each Case it shoul conatin its Order item .  Each level will more details with them and they want diffrent format
    in differnt level on a hole the format repeats for each Oppourtunity . How can we achieve this
    Oppourtunity 1 
    CaseID 1
    Details ……
    Order item 1
    Details …
    Order Item n
    Details …
    CaseID n
    Details ……
    Order item 1
    Details …
    Order Item n
    Details …
    Oppourtunity n 
    CaseID 1
    Details ……
    Order item 1
    Details …
    Order Item n
    Details …
    CaseID n
    Details ……
    Order item 1
    Details …
    Order Item n
    Details …
    Surendra Thota

    Hi Surendra_Thota,
    According to your description, you want to create a report to display the records in a specific hierarchy (Opportunity->Case->Order). And you want to set format for different level group. Right?
    In Reporting Service, we can use a group to organizes a view of a report dataset. All groups in a data region specify different views of the same report dataset. Groups are internally organized as members of one or more hierarchies for each data
    region. So in this scenario, we just need to add a parent group for OrderItems (group on Case), then add a parent group for Case (group on Opportunity). And we can set different style and format for the textbox/column of different groups. We have tested
    in our local environment with sample data. Here are some screenshots for your reference:
    In this sample, we set different color and font size for each group.
    The result looks like below:
    Reference:
    Understanding Groups (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Need help putting a menu designed in Dreamweaver in an external WYSIWYG Editor

    I put together a menu that contains spry widgets in Dreamweaver. I need to get what I made into a website hosted by another company. The site allows you to create your own pages through a wysiwyg editor. I'm having trouble figuring out how to attach the .js and .css files. I tried copying the source code into the HTML source editor but it ignored the script and css. I then tried putting the code from the .js and .css file into the source editor but I'm doing something wrong. I'm new to HTML and Javascipt and I have a feeling it is a pretty obvious mistake. I would really appreciate some instruction or advice on how to properly put all of the components into the editor.

    Open those individual files to see the code.
    <html>
    <head>
    Copy and paste script code between <script type="text/javascript"> and </script> tags.
    Copy and paste CSS styles between <style type="text/css"> and </style> tags.
    Insert conditional comments (if any) below the scripts and CSS styles.
    </head>
    <body>
    This is where your page content goes
    </body>
    </html>
    Best of luck!
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Need Help with Photomerge Group Shot

    I'm trying to photomerge a group shot and having trouble with it.  The person I'm trying to cut out of the source photo gets plopped into the middle of the final photo and I can't line her up with in final shot.  Is there a way I can relocate the section that gets pasted into the final photo?   I'm also have trouble with aligning the photo--how do you know what points to select in the fist and second photo?  I've been playing with it, but the photos get terribly distorted.
    Appreciate any help.  I was expecting Photoshop Elements 10 to make this easy, and so far, it hasn't impressed me.
    Thanks,
       Terri

    OK, here we go:
    Make a selection (in the main image) of the area you want to be replaced:
    Open your other image, select the head to use, and copy it to the Clipboard.  (I simply used another one of the heads in this photo.)
    Back in the main image, use Edit...Paste into Selection:
    Change to the Move Tool and move the pasted-in image to where it looks best:
    You already know what to do next with the Clone Tool.   (Probably have to use Layer...Flatten Image to get rid of all the selections and layers so the Clone Tool can do its work....)
    Ken
    P.S.,  Looks like you did a real good job with the girl on the left.
    P.P.S.,  The image is a bit too small for us to do precision work (but it's OK for this example).  Next time you can try something about 2 or 3 times larger and see if the forum software accepts it.

  • Need help in a game design.Cirles,lines intersections

    Hello,
    Im trying to create a board game (the go game) but i have problems with the design. Till now i have design a 19 * 19 table and what i want is when i click with the mouse on this table to display circles, but i want them exactly on the intersection. With my program i get circles everywhere i click and not on the intersection of the line.
    So if anyone can help me,i would like to tell me, how can i place the circle exactly on the intersection? Also i would like to eliminate the clicks just on the table and not outside of it.
    Please help if anyone knows, im not that expert in java
    My code is this till now.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class goGame extends JFrame {
    private int x1Value , y1Value ;
    boolean isWhitesTurn = true,first = true;
    public goGame()
    super( "Go game" );
    Color redbrown = new Color (75,17,17);
    setBackground(redbrown);
    addMouseListener(
    // anonymous inner class
    new MouseAdapter() {
    // store drag coordinates and repaint
    public void mouseClicked( MouseEvent event )
    x1Value = event.getX();
    y1Value = event.getY();
    repaint();
    } // end anonymous inner class
    ); // end call to addMouseMotionListener
    setSize( 700,550 );
    setVisible(true);
    public void paint( Graphics g )
    Graphics2D graphics2D = (Graphics2D ) g;
    Color redbrown = new Color (75,17,17);
    g.setColor(redbrown);
    Color lightbrown = new Color (192,148,119);
    g.setColor(lightbrown);
    if (first) {
    //paint yellow the big rectangle
    graphics2D.setPaint(new GradientPaint (600,100, Color.yellow,100, 10,Color.red,true));
    graphics2D.fillRect(60,60,450,450);
    graphics2D.setPaint(Color.black);
    graphics2D.setStroke(new BasicStroke(3.0f));
    //draw rows
    int y=60;
    for (int n=0; n<=18 ; n++)
    g.drawLine(60,y,510,y );
    y= y + 25;
    //draw columns
    int x = 60;
    for (int n=0; n<=18 ; n++)
    g.drawLine(x,510,x,60);
    x = x + 25;
    g.setColor(Color.green) ;
    //draw the 1st 3 vertical dots
    int z = 133;
    for (int n=0; n<=2; n++)
    g.fillOval(133,z,5,5);
    z = z + 150;
    //draw the 2 vertical dots of the 1st row-dot , the 1 already exists
    int w = 283;
    for (int n =0; n<=1; n++)
    g.fillOval(w,133,5,5);
    w = w + 150;
    //draw the 2 vertical dots of the 2nd row-dot
    int t = 283;
    for (int n=0; n<=2; n++)
    g.fillOval(283,t,5,5);
    t = t + 150;
    //draw the last dots
    g.fillOval(433,283,5,5);
    g.fillOval(433,433,5,5);
    first = false;
    if (isWhitesTurn) g.setColor(Color.white);
    else g.setColor(Color.black);
    g.fillOval( x1Value, y1Value,20,20 );
    isWhitesTurn = !isWhitesTurn ;
    // execute application
    public static void main( String args[] )
    goGame application = new goGame();
    application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }

    This will capture vertical and horizontal
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    public class GoGame extends JFrame
    public GoGame()
         getContentPane().setLayout(null);
         setBounds(10,10,510,520);
         getContentPane().add(new TheTable());
         setVisible(true);
    public class TheTable extends JPanel
         int[][]points  = new int[19][19];
         boolean black  = true;
    public TheTable()
         setBounds(20,20,453,453);
         addMouseListener(new MouseAdapter()
              public void mouseReleased(MouseEvent m)
                   Point p = clickOnIntersection(m.getPoint());
                   if (p != null && points[p.x/25][p.y/25] == 0)
                        int x = p.x/25;
                        int y = p.y/25;
                        if (black)
                             points[x][y] = 1;
                             black = false;
                        else
                             points[x][y] = 2;
                             black = true;
                        capture(x,y);
                        repaint();
    private Point clickOnIntersection(Point p)
         Rectangle rh = new Rectangle(0,0,getWidth(),4);
         Rectangle rv = new Rectangle(0,0,4,getHeight());
         for (int h=0; h < 19; h++)
              rh.setLocation(0,h*25-1);
              if (rh.contains(p))
                   for (int v=0; v < 19; v++)
                        rv.setLocation(v*25-1,0);
                        if (rv.contains(p)) return(new Point(v*25+1,h*25+1));
         return(null);
    private void capture(int x, int y)
         onTheY(x,y,points[x][y]);
         onTheX(x,y,points[x][y]);
    private void onTheY(int x, int y, int col)
         for (int j=x-1; j > -1; j--)
              if (points[j][y] == 0) break;
              if (points[j][y] == col)
                   outOnY(j,x,y);
                   break;
         for (int j=x+1; j < 19; j++)
              if (points[j][y] == 0) break;
              if (points[j][y] == col)
                   outOnY(x,j,y);
                   break;
    private void onTheX(int x, int y, int col)
         for (int j=y-1; j > -1; j--)
              if (points[x][j] == 0) break;
              if (points[x][j] == col)
                   outOnX(j,y,x);
                   break;
         for (int j=y+1; j < 19; j++)
              if (points[x][j] == 0) break;
              if (points[x][j] == col)
                   outOnX(y,j,x);
                    break;
    private void outOnY(int f, int t, int y)
         for (f=f+1; f < t; f++) points[f][y] = 0;
    private void outOnX(int f, int t, int x)
         for (f=f+1; f < t; f++) points[x][f] = 0;
    public void paintComponent(Graphics g)
         super.paintComponent(g);
         Graphics2D g2 = (Graphics2D)g;
         g2.setPaint(new GradientPaint(getWidth(),getHeight(),Color.yellow,0,0,Color.red,true));
         g2.fillRect(0,0,getWidth(),getHeight());
         g2.setColor(Color.black);
         for (int n=0; n < 19; n++)
              g2.fillRect(0,n*25,getWidth(),3);
              g2.fillRect(n*25,0,3,getHeight());
         g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);          
         g2.setColor(Color.green) ;
         for (int n=0; n < 3; n++)
              g2.fillOval(25*3-1,n*150+74,5,5);
              g2.fillOval(25*9-1,n*150+74,5,5);
              g2.fillOval(25*15-1,n*150+74,5,5);
         for (int x=0; x < 19; x++)
              for (int y=0; y < 19; y++)
                   if (points[x][y] != 0)
                        if (points[x][y] == 1) g.setColor(Color.black);     
                        if (points[x][y] == 2) g.setColor(Color.white);     
                        g2.fillOval(x*25-9,y*25-9,20,20);
    public static void main(String[] args)
         GoGame game = new GoGame();
         game.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }Noah

  • Need help with a report design- 11.1.1.5(11g)

    Hello Experts
    I have a report with Category(Electronics, Home App..), Brand(Philips, samsung,..), products(TV, Laptop, Lamps..), % Expenses, % Profit and now the users want this report in such a way that Category, Brand and Products has to come under one column not a traditional way as above.
    In the subject area i have column variables Category, brand, Products and division is a custom name the users given to us in a design document. Any ideas how i can get this from presentation layer. please let me know if i am not clear.
    Division % Expenses % profit
    Electronics 20% 40%
    Home APP 15% 29%
    Philips 23% 31%
    Samsung 19% 54%
    TV 33% 48%
    Laptop 12% 26%
    Lamps 41% 62%
    Thanks,
    RC
    Edited by: user1146711 on May 30, 2012 1:31 PM
    Edited by: user1146711 on May 30, 2012 1:39 PM
    Edited by: user1146711 on May 30, 2012 1:44 PM
    Edited by: user1146711 on May 30, 2012 1:46 PM

    user1146711 wrote:
    Hello Experts
    I have a report with Category(Electronics, Home App..), Brand(Philips, samsung,..), products(TV, Laptop, Lamps..), % Expenses, % Profit and now the users want this report in such a way that Category, Brand and Products has to come under one column not a traditional way as above.
    In the subject area i have column variables Category, brand, Products and division is a custom name the users given to us in a design document. Any ideas how i can get this from presentation layer. please let me know if i am not clear.
    Division % Expenses % profit
    Electronics 20% 40%
    Home APP 15% 29%
    Philips 23% 31%
    Samsung 19% 54%
    TV 33% 48%
    Laptop 12% 26%
    Lamps 41% 62%
    Thanks,
    RC
    What you are trying to achieve is determined by how the data are set up in the repository. In order to get all the values under one heading called "division," it needs to be in the hierarchy that would than allow you to choose "division" and then the corresponding expenses and profits, regardless of the category, brand or porduct. If the category, brand and products columns don't have a corresponding "division" entry in the table, you will not be able to achieve what you desire.

  • Need help with copying group policy links to a new OU

    Good Morning everyone. I hope you can help (pretty sure you can). I am working on a powershell script to copy the OU structure from an existing OU and create a new one and then apply the same group policies to the newly created OU. I have the creation portion
    working fine.  The script creates the OU and all sub OU's however I have not been able to figure out how to get the GP links to copy from anything other than the root OU.  I found this snippet online but I can only get it to work on the root of the
    OU.  The full script is at the bottom.  Right now I am just manually applying the links but I would like to not have to edit this script every time a new GPO is created so I want it to read all of the GP links from the whole OU structure like the
    first part of the full script does.  Thanks in advance for any and all help!
    Roger
    import-module GroupPolicy
    $SourceOU = "Computers"
    $DestinationOU = "OU=computers,OU=MSP,OU=NA,DC=testeucs,DC=local"
    [xml]$gpos = Get-GPOReport -all -ReportType xml
    foreach ($gpo in $gpos.gpos.gpo) {
    if ($gpo.LinksTo.SOMName -eq $SourceOU) {
    New-GPLink -Name $gpo.name -Target $DestinationOU
    #--------Config
    $RegionOU = Read-Host "Enter Region: NA, ASIA, or EULA"
    $NewSiteOU = Read-Host "Enter name of new site"
    $sourceOU = "OU=NBKWin7,OU=NA,DC=testeucs,DC=local"
    $destinationOU = "OU=$NewSiteOU,OU=$RegionOU,DC=testeucs,DC=local"
    $DestCompOU = "ou=Computers,$destinationOU"
    $DestUserOU = "OU=Users,$destinationOU"
    #--------Main
    $adPath= "LDAP://" + $destinationOU
    import-module activedirectory
    Import-Module GroupPolicy
    #Create OUs
    $objDomain=New-Object System.DirectoryServices.DirectoryEntry($adPath)
    $ObjSearch=New-Object System.DirectoryServices.DirectorySearcher($ObjDomain)
    [array] $OUs = @()
    $OUs = dsquery * $sourceOU -Filter "(objectCategory=organizationalUnit)" -limit 0
    $OUsorted = $OUs | sort-object { $_.Length}
    for ($k=0; $k -le $OUsorted.Count -1; $k++)
    $OUtoCreate = ($OUsorted[$k] -replace $sourceOU,$destinationOU).ToString()
    $OUSearch = ($OUtoCreate -replace '"',"").ToString()
    $ObjSearch.Filter = "(&(objectCategory=organizationalUnit)(distinguishedName="+ $OUSearch + "))"
    $allSearchResult = $ObjSearch.FindAll()
    if ($allSearchResult.Count -eq 1)
    "No changes were done on = " + $OUtoCreate
    else
    dsadd ou $OUtoCreate
    "OU Creation = " + $OUtoCreate
    New-GPLink -Name KerberosDESEncryption -Target $destinationOU -Domain testeucs.local -LinkEnabled Yes -Order 1
    New-GPLink -Name WIN8_InternetExplorer -Target $destinationOU -Domain testeucs.local -LinkEnabled Yes -Order 2
    New-GPLink -Name WIN7_DCMSENABLE -Target $DestCompOU -Domain testeucs.local -LinkEnabled Yes -Order 1
    New-GPLink -Name DNS_Suffix -Target $DestCompOU -Domain testeucs.local -LinkEnabled Yes -Order 2

    Here is how to get the current GPO links so you can copy them:
    http://gallery.technet.microsoft.com/scriptcenter/Get-GPlink-Function-V13-b31253b4
    ¯\_(ツ)_/¯

Maybe you are looking for

  • Motion quiting unexpectedly? Help

    Hello everyone, Ok, I just bought a new Mac pro desktop. I just installed my FCP suite. I updated everything and ran permissions on the drive. Now when I use motion it quites on me out of no where. What should I do at this point to fix this problem?

  • Update blob column

    dear all I am new to oracle database... and i create one BLOB column to insert the images.. i can insert and retrieve the image data... but i cant update this column... can any one guide me to do this. i tried to empty the column and update but still

  • Load XML Data into relational Table

    Hi All, I have a requirement to load data in an XML file into columns in an oracle table. This has to be done on the command line from a unix box which connects to a remote oracle DB. Can some one give me a step by step procedure to do this (preferab

  • OSD: unattend.xml in capture conflicts with unattend in deploy?

    Hi, We need to remove some Windows components in our capture, so we created a small unattend.xml for it. Now we deploy this capture and apply an xml which contains totally other settings but it fails. Please advise what best practises is: only 1 unat

  • Subject of the Email (CHARM/ServiceDesk)

    Hi, from what I have seen, the subject of the mail sent from my smartform is taken from the Description field of the smartform. Is there a way to do something like a dynamic subject ? Like prio or subject of the message. Kind Regards Dirk