Adding window AD group in to CMC

Hi All,
I added MAPPED AD GROUP in to CMC  in the authentication.
Can any1 say once I add the group will all the user appear by default in cmc in to the group if its been added in the ACTIVE DIRECTORY.
Thanks,
Pavana

Pavana,
      You have options to schedule the AD sync for Users & Groups, see below.
Ajay

Similar Messages

  • Update Windows AD Group Graph not appear in Administration Tool in CMC

    Hi,
    There are objects in CMC--> Public Folder --> Administration Tools
    In administration tool, there are two objects
    1) Update Windows AD Group Graph
    2) Update Windows AD Group Graph and Aliases
    these are not in Adminstration Tool folder. When I try to import from other environments, got the message the object is read only.
    I also update the object in CCM-->update objects. It does not work.
    Has anyone experience the same problem, and fixed it.
    My envriorment is
    BOE 3.1 SP3
    Windows Server 2008
    Sql Server 2008
    Your help would be much appreciated to solve this issue.
    Regards,
    Tayyab

    I solve this issue by migrating the UpdateADPlugin.en.biar file.
    After that it is appeared.

  • BOXI R2 SP4 (FP 4.1) Windows AD Groups not updating

    I just patched my BO XI R2 server to service pack 4 and applied fix pack 4.1.  I am having an issue where my Windows AD groups are not updating correctly.  When I log into the CMC and go to users, click on an account name and then click on the "Member of" tab, I don't see the Windows AD groups that the user belongs to.  However, when I go to "Groups", click on the group name that the user is supposed to belong to and then click on "Users", I see the user's account name/login.  Has anyone else seen this problem?  I have tried the following:
    - remove the user from the Windows AD group using Active Directory Users & Groups and adding them back in
    - adding the user into a new Windows AD group and import that AD group
    This is currently a pretty big problem for me so if anyone has any insight into how to fix this, I would greatly appreciate it.  Thanks so much.
    David Tjen
    Art.com

    Hi Glen,
    It is expected that if changes are made in AD (that don't remove a user from all groups) will not be instant on the CMS. When you go to a group and click on the members/users tab. You will be prompted that this query may take some time. This action sends a live query to AD and therefore should be up to date. When you click on a user and try to view the groups for which they are a member this is not a live query but rather accesses a graph that the CMS maintains in memory. This graph is set to refresh every 15 minutes by default so there should at least be a 15 minute delay. Then the time to update the graph can vary as well. If you have 1 groups it should take a few seconds, but if you have 1000's of groups or many nested groups it could take much longer. To initiate this process you can hit update in the CMC\auth\AD or restart the CMS. If you find that this is not how the system is working, then it is best to open a message with support. These cases can be quite involved and usually require considerable CMS tracing and maybe packet scanning to resolve.
    Hope this explains things....
    Regards,
    Tim

  • Adding users to groups

    Hi,
    can any one share documents/resources pertaining to how to create sap user groups in BOE.
    how to add groups to users.
    how to import sap users.
    etc

    Hi,
    You can find the product documentation here:
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000713358&_SCENARIO=01100035870000000202&
    Specifically, go to the "Integration for SAP Solutions" section and take a look at the Installation and Administration guide:
    https://websmp210.sap-ag.de/~sapidb/011000358700000559912010E/xi31_sp3_bip_sap_inst_en.pdf
    As far as adding users and groups to the system, this is down through the CMC.  The Business Objects Enterprise Administrators guide should help you with these tasks: 
    http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_bip_admin_en.pdf
    To add users/groups to the BOE system, you have to go into the CMC/Authentication section and click on the SAP tab.  In here, you configure your SAP system information and add the groups that you wish to import into BOE.  Once you add the groups through here, the user accounts and groups will be mapped in to the Users and Groups section of the CMC.  From here, you can treat them like any other group in the system.
    You add users to the SAP groups the same way you would for BW or any other SAP product.  If a new user is added to an SAP group that is imported into BOE, then that user will be able to logon to the BOE system.
    We also have many notes on these subjects. 
    thanks
    Jonathan

  • Windows manager\Window Manager Group

    Hello - Do any one knows what is the purpose of windows manager\Window Manager Group? I cant find it on local windows group nor local accounts.
    Im trying to add windows manager\Window Manager Group to security policy but the account cant be looked up
    Thank you,
    Adnan
    ad

    I guess my real question is where are you coming up with the windows manager account?  There is no account with such a name by default in Windows, so I am guessing it is something that you have added to your environment or something being talked about
    in some third party software install.  As such, it would be pretty hard for us to explain its purpose.
    .:|:.:|:. tim

  • Window Manager\Window Manager Group

    Based on customer requirements we need to set Bypass traverse checking rights for our Server 2012 boxes. In doing so we noticed that there is a user or group named Window Manager\Window Manager Group. I have seen references in other threads to this user
    pointing to the SID (S-1-5-90-0), but this is not documented anywhere on Microsoft website that I can find. I used Powershell to list all of the users, and I do not see a user or group on my Server 2012 box that matches this.
    Given no response from Microsoft and no documentation, I cannot effectively decide what I should do with this.
    It looks kind of shady that we are granting rights to a SID / Account that we cannot see, so I am wondering if this is some remnant for a part of Server 2012 that didn't get deployed when the code was released to manufacturing. Can some please confirm that
    it is OK to drop this user or group (not even sure which one it is) from the Bypass Traverse Checking user right?

    Hi,
    Based on my research,it is not recommended to remove the group ‘Window manager\Windows manager group’ from Bypass traverse checking or Increase a process working set.
    • Both the above user rights are utilized in windows 8/2012 for performance impacts.
    • The above mentioned group cannot be added manually to any other groups or no user can be a part of it as it does not resolve in object picker. We cannot even add ACLs to this group.
    • Due to above reasons, it is not a security breach in your environment.
    This group is a virtual group that is present on every Windows 2012 machine. The DWM.EXE that is used to manage he desktop experience runs under the security context of an account under this group and this is used to provide less privilege to the DWM.EXE.
    As such this is not documented anywhere in any of public documents. This is a design decision made by the product team which is part of the architecture of the OS. As such the practice is not to remove this group from both the user rights assignment mentioned.
    How Bypass traverse checking affects performance:
    When you try to access c:\foo\bar\baz\bletch\george.txt, “the rules” say that you need to confirm that the user has traverse access to:
              C:\foo
              C:\foo\bar
              C:\foo\bar\baz
              C:\foo\bar\baz\bletch
    If you didn’t have the “bypass traverse checking” privilege, the system would have to open each of these directories in turn and do an access check to make sure you had access to all the intermediate nodes in the path to the file.  With bypass traverse
    checking, the filesystems skip all those checks and just check to make sure you have your desired access to the file you’re opening.
    How increase a process working set affects performance:
    This settings controls who can increase the working set of a process when in memory. Working set is the data that is resending in the Ram that is visible to the process. This helps in expanding the memory a process stores in RAM thereby reducing page faults
    (paging out memory to virtual memory which will induce delays of copying the memory back to RAM).
    Given the above reasons, I strongly recommend you not to remove ‘Windows manager\Windows manager group’ from Bypass traverse checking as well as increase a process working set user rights assignment.
    Thanks.

  • Changing from dev to standard edition causes "Could not obtain information about Windows NT group/user error code 0x6e."

    Hello,
    We recently upgrade our SQL Server 2012 SP1 (64bit) dev edition to standard edition, after we purchased the required licence and it was deployed in production.
    Since the edition change, we are now receiving the following error, with some of our jobs, which have an e-mail step in them, which is causing the jobs to fail.
    Msg 14661,Level 16, State 1, Procedure sp_send_dbmail, Line 517
    Query execution failed: Msg 15404, Level 16, State 19, Server BL-SVR15, Line 1
    Could not obtain information about Windows NT group/user 'BLUELIZARD\savaa', error code 0x6e.
    Any ideas how to fix this issue? We were also having a similar error, when executing the jobs, but changing the job owner to SA has fixed this issue.
    Thanks,
    Andy.

    Hi,
    Which user account you used for SQL Server service, domain account or local account?
    If it is domain account, are you able to log in to a machine with it?
    Make sure that the password of account is not expired.
    Also, grant the user Allowed to Authenticate permission and see how it helps.
    Refer to the below article:
    http://geeks.ms/blogs/ozonicco/archive/2013/01/14/208266.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Simple how-to guide to adding windows 7 64-bit to mavericks as a virtual machine (Virtual Box)

    Simple how-to guide to adding windows 7 64-bit to mavericks as a virtual machine (Virtual Box)
    Why use a Virtual Machine: Sometimes you need to run a windows only program.  A VM lets you do that without rebooting your machine. 
    How is it different from Mac Boot Camp: Boot camp allows you to run windows but you must reboot your machine. It is faster and smoother than a VM (and with fullscreen details below), but you have to reboot for each use. 
    Is it possible to have a VM and Boot Camp: Yes, and I do this because sometimes I want to use a VM quickly without shutting down, sometimes I want the advantages of Boot Camp
    How do I get Windows in Boot Camp: how-to here:
    https://discussions.apple.com/thread/6025059
    *Please note I accept no responsibility for issues occurring from the use of this guide, please use at your risk
    **Please note I do not propose or support using illegal copies of Windows software or licenses
    Required technical skill: minimal
    Required time: approx 30 minutes
    Required items: Mac
    Get a version of Windows 7 64-bit:
    http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/canno t-find-digital-river-download-site/66a8439b-0d16-4b70-92f7-1c8486a46ebf
    Windows 7 Downloads are still available.
    Download the appropriate Windows 7 .ISO file which includes Service Pack 1 
(Note: must match what your product key version is for)
    Windows 7 Home Premium 32Bit: http://msft.digitalrivercontent.net/win/X17-58996.iso Windows 7 Home Premium 64Bit: http://msft.digitalrivercontent.net/win/X17-58997.iso
    Windows 7 Professional 32Bit: http://msft.digitalrivercontent.net/win/X17-59183.iso Windows 7 Professional 64Bit: http://msft.digitalrivercontent.net/win/X17-59186.iso
    Windows 7 Ultimate 32Bit: http://msft.digitalrivercontent.net/win/X17-59463.iso Windows 7 Ultimate 64Bit: http://msft.digitalrivercontent.net/win/X17-59465.iso
    Locate your image (iso) file, example: /Users/Christoper/Downloads/X17-58997.iso.download/X17-58997.iso
    Download Virtual Box Virtual Machine Player:
    https://www.virtualbox.org/wiki/Downloads
    Install Win 7 OS:
    Open Virtual Box
    Choose “New” (Note: Once you click new it will require you to complete the process of creation, no option for quit.  If you make a mistake or are not ready, just finish it and then remove it and delete all files)
    Name: “Windows 7 Virtual” or as you choose
    Type: Microsoft Windows
    Version: Windows 7 64-bit
    Memory: I suggest 1GB if you have 4GB available, 512 MB may run slowly.  2GB+ of 4GB may slowdown your MAC OS running while the VM is running. 
    “Create a Virtual Drive Now” option
    File Size: 25 GB should be the minimum selected, I used 25GB because I expect to use the drive to store very little. 
    HD type: VirtualBox Disk Image
    Storage: Dynamically Allocated
    Locate your new VM and click Start (again you will not be able to quit once you start, if you make a mistake continue until the red quit icon appears then remove the VM)
    It will ask you to select the files for the OS.  Select the ISO file, for example: /Users/Christoper/Downloads/X17-58997.iso.download/X17-58997.iso
    Proceed to setup Win with your preferences
    Type product key from your OS purchase or an existing one that you are moving from another machine
    Note: Screen resolution may be very limited on the virtual machine.  I use resolution 800 X 600 so that all of the desktop is visible. 
    I suggest using a windows gadget to view the CPU and Memory usage > On desktop mac-right-click i.e. separate fingers and click both > Gadgets > CPU Meter
    Enjoy having Windows on your Mac!

    I have found a solution to the screen being smaller in the windows 7 virtual machine.  First right-click in the desktop region and select screen resolution.  It is probably set to 800 X 600 by default which is much less than the screensize you are using.  To determine your native screensize, go to your mac and finder > applications > utilities > hardware > graphics displays.  Mine is 1440 X 900 for macbook air.  Then go back into the virtual machine and sceen resolution settings.  Choose a screen resolution which is slightly less in all dimensions so that there is no clipping and you do not have to scroll when viewing.  For me this was 1152 X 864.  Then exit saving changes and with the VM in view press command - F (or at the menu bar View > Switch to full screen), which puts you in full screen mode.  Now you should have a screen with minimal gray empty space filling the majority of your screen

  • Simple how-to guide to adding windows 7 64-bit to mavericks with boot camp

    Simple how-to guide to adding windows 7 64-bit to mavericks with boot camp
    *Please note I accept no responsibility for issues occurring from the use of this guide, please use at your risk
    **Please note I do not propose or support using illegal copies of Windows software or licenses
    Required technical skill: minimal
    Required time: approx 1-2 hours
    Required items: Mac, USB drive or DVD-R
    Get a version of Windows 7 64-bit:
    http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/canno t-find-digital-river-download-site/66a8439b-0d16-4b70-92f7-1c8486a46ebf
    Windows 7 Downloads are still available.
    Download the appropriate Windows 7 .ISO file which includes Service Pack 1
    (Note: must match what your product key version is for)
    Windows 7 Home Premium 32Bit: http://msft.digitalrivercontent.net/win/X17-58996.iso
    Windows 7 Home Premium 64Bit: http://msft.digitalrivercontent.net/win/X17-58997.iso
    Windows 7 Professional 32Bit: http://msft.digitalrivercontent.net/win/X17-59183.iso
    Windows 7 Professional 64Bit: http://msft.digitalrivercontent.net/win/X17-59186.iso
    Windows 7 Ultimate 32Bit: http://msft.digitalrivercontent.net/win/X17-59463.iso
    Windows 7 Ultimate 64Bit: http://msft.digitalrivercontent.net/win/X17-59465.iso
    Burn this image file (.iso) to a USB drive or DVD-R:
    USB drive:
    Get a blank USB drive with 8 GB+ capacity
    Format this drive to Fat32 (Windows and Mac shared format), this will erase the drive!:
    Finder > Applications > Utitilies > Disk Utility > Partition > 1 > Fat32
    Extract the image file to the drive exposing its files:
    Finder > Applications > Utilites > Boot Camp Assistant
    Click both "Create a Win 7 or later version install disk" and "Download the latest windows support software from Apple" and advance
    Locate your image (iso) file, example: /Users/Christoper/Downloads/X17-58997.iso.download/X17-58997.iso
    Destination disk is your USB flash drive that was formatted to fat32, if it does not appear it may be in the wrong format
    Click continue, this process takes a long time (30 mins - 1.5 hour estimated), it may appear that it is freezing because progress bar stops at times, do not stop it, let it keep running.  If you are unsure it is still going, open finder > click the drive > get info, and look at the size of the files.  Then close finder wait a few seconds, get info again and see that file size is slightly larger.  The final file size was 4+ GB for me
    or DVD-R:
    I have not used a DVD-R but this is how I expect it to work:
    Insert black DVD-R
    Finder > Applications > Utitilies > Disk Utility > Burn
    Locate your image (iso) file, example: /Users/Christoper/Downloads/X17-58997.iso.download/X17-58997.iso
    Partition HD for WIndows 7:
    Finder > Applications > Utilites > Boot Camp Assistant
    Choose the 3rd option Install Windows 7
    It will ask you to select a size of your Harddrive space for Windows OS, this will eat up some of the free space on your Mac HD.  How much space is enough for a Windows OS?  Depends on how many programs you plan to install on it.  If you are just using for surfing web and running MS Office, probably 30-40 GB is enough, and this is what I did.  Remember this space will be used up from your existing HD and not usable when you are in Mac OS.  This process takes about 10 mins I think
    Install Win 7 OS:
    With USB drive in port or DVD in drive, restart laptop. 
    It will bring up the Win 7 installer on boot up
    Select the OS type that you have a registered key for
    It will ask you to find a HD to use for Win 7 OS:
    Select the HD you just created, if you try to continue it will complain that HD is wrong format (because MAC formatted it to a MAC compatible HD, we will fix this)
    Select the HD, there is a button to the right for "advanced" I believe is the text of it.  It will allow you to reformat the drive, choose NTFS which it requires.  Then proceed
    Proceed to setup Win with your preferences
    Type product key from your OS purchase or an existing one that you are moving from another machine
    Select Default Boot Drive:
    By default it selects Windows as your default OS to boot at power up, most people want Mac OSX to be the default, so this can be changed:
    Finder > System Preferences > Startup Disk > select Mac
    Enjoy having Windows on your Mac!

    Why use Boot Camp: Sometimes you need to run a windows only program.  Boot Camp lets you do that with the speed and smoothness of a full windows OS. 
    How is it different from Mac Virtual Machine: A VM allows you to run another OS simultaneously while you are running OSX, while in a window similar to any other application.  A VM is not as fast, smooth, and may have limited screensize/view.   
    Is it possible to have a VM and Boot Camp: Yes, and I do this because sometimes I want to use a VM quickly without shutting down, sometimes I want the advantages of Boot Camp
    How do I get Windows in VM: how-to here:
    https://discussions.apple.com/thread/6043251

  • Import Windows XP Group Policy into Windows 7?

    Is it possible to import a Windows XP Group Policy into Windows 7? It seems ZCM will not let you edit the XP policy from Windows 7 even though you can apply the policy to a Windows 7 Workstation and have the policy applied without issue. I'm still researching it, but the search terms return many Active Directory results.
    ZCM 10.3.3 on Linux. and eDirectory only.

    jcsmith1,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Looking for "Window Manager\Window Manager Group" SID

    Hi. I am trying to find the SID for "Windows Manager\Window Manager Group". If anyone has that, I'd appreciate it. I am trying to build my "base build" Security Template for Server 2012, and I need to assign the default User Rights to that group, as it is
    out-of-the-box. Problem is that the GUI does not accept that group name as valid, but I can see that the group is assigned user rights in the Local Security Policy. I typically just use a file ACL to do this (add the ACE and then run
    icacls to get the SID), but that group name is not valid within that tool either. My guess if that this new "Windows Manager\Window Manager Group" group is a well-known SID. Thanks.

    Ironically the SID is not listed on Microsoft's web page for well know
    SIDs. I also noticed that when I dump the local users using powershell, every group and user is listed that I would expect to see, but this one is not in that list. It seems like it should be pretty easy for Microsoft to say what this does and when it can
    be safely removed...
    I figure one of two possibilities. Either this only matters when a specific feature is installed / active, or it is some remnant from development for a feature or implementation that didn't make it into the release to manufacturing. What ever the case it
    would be nice if we could get clarification.

  • Most secure method of adding windows for my limited purposes?

    I only need windows on this particular computer, a Macbook 13 inch 2.1 Ghz with 2 GB RAM ("111.47 GB hard disk space capacity") to run Internet Explorer in those instances where my Mac browsers (Safari, Firefox, Opera thus far) will not work on some part of a website (for instance, try ordering something on equifax.com - a major site that's not fully mac compatible). I have the latest update of Leopard. I bought the computer in the past three weeks and have run software update regularly.
    I did not want to put windows on this computer when I originally bought it. Now it appears from the failure of Mac browsers to work in some situations, I have to put windows on. I'm not even sure I can find XP although I had it on my old HP desktop I'm getting rid of. I might be forced to buy Vista and I don't have probably enough space for it to run well, do I? Do I need to upgrade to 4 gb RAM? Expensive.
    Anyway, for security purposes, I want to be very cautious in how I use windows. I found keyloggers and periodically had files show up on my old windows computer in AVG, Ad-Aware, Spybot and other programs that worried me (most recently "Omniquad" kept showing up even after I deleted it and AVG free has no notes on what this means).
    Is the least vulnerable way as far as internet viruses to run windows on my Mac to just install it in BootCamp assistant and reboot when I need it? Or theoretically is there any more vulnerability if I use VMware Fusion or Parallels with it? Do I first set it up in Bootcamp assistant (what partition size?) before I worry about choosing Vmware Fusion or Parallels? Or do I need to install one of those before I install windows?
    What was it someone was saying in a different thread about needing to edit one's "virtual machine" -- see below:
    +"One other tip, I would recommend editing the virtual machine before activation of windows to use emulate the same MAC address for your virtual ethernet card in parallels as for your real network card. This seems to convince WIN XP at lease that it is the same machine whether you boot it through boot camp or through Parallels. Otherwise, activation quickly becomes a pain."+
    (Where would my virtual machine be?)
    And also, do I need to do some special reconfiguration with my router manufacturer (Linksys) after adding windows through bootcamp and/or Parallels/Vmware in order for the the windows side to connect to the internet as my Mac is doing?
    Also: should I get Windows XP Professional or Vista in this situation with the small Macbook and limited needs? I hope XP will still be used years from now.
    P.S. I wish it weren't so hard to find out how to do all this. It makes me not want to go through this again with another computer and I actually need another.

    VMWare Fusion and Parallels create Virtual Machines. When you are running Windows inside the Mac os
    you are running a Windows Virtual Machine. A Virtual Machine accesses the physical machine differently than a Boot Camp installation, since it is going through Fusion or Parallels, which is why set-up is trickier. See this wiki article: http://en.wikipedia.org/wiki/Virtual_machine
    XP Pro was originally aimed at businesses and power users. It can access 2 physical processors (in contrast to two cores on one processor), so it benchmarks faster on my Mac Pro which has 2 dual core processors. It also has some advanced networking features. I use both XP and XP Pro at home and don't notice much difference in day to day use. You did buy the superior version of XP, and since it is aimed at businesses, Microsoft will continue to provide security updates for it long after they stop providing them for XP. So you will get some value from buying it.
    Its great that you are checking the AV Comparative site for yourself and not just relying on my opinion. The version of Avira they are using in the tests however is the Premium version, not the free version. If you notice on the AV Comparatives site, there are 2 types of tests, on demand and proactive. One reason I prefer paid versions of anti-virus software is that only they provide proactive protection. On demand protection relies on signature files that the AV company provides your copy of the program - when you update an AV program you are updating the signature files. Signature files allow the program to recognize any known virus. They will not catch something new - this is why when a new virus arrives it spreads so quickly - no one has a signature file for it so their AV program doesn't recognize it as a threat. Then your AV program gets a signature file update and you can scan and find the virus. Proactive protection works differently. It looks for certain features in a file that are common to virus files. If the file fits this profile, the program will block it even though it doesn't have a signature file for that particular virus yet. So while everyone else gets the virus maybe you don't (if you notice, the success rate for proactive protection is much lower than on demand). Yet some programs, like NOD32 and (usually) Kaspersky do proactive much better than other programs (don't know why Kaspersky slipped so much this time). I prefer NOD32 because it not only rates advanced plus in both on demand and proactive but also update signature files very quickly, uses few system resources so it doesn't slow you down, and works quietly behind the scenes
    (Kaspersky can bug you to death sometimes).

  • How to get count of group of current login user if AD Group is added in SharePoint Group?

    My Client has 2 SharePoint Application. For the AD Users they have created AD Group and added users in that AD Group as per requirement. Later AD Group is added in SharePoint Group. When I'm trying to fetch Current User Group count, I can able to get the
    count of Groups using below statement.
    int groupCount = SPContext.Current.Web.CurrentUser.Groups.Count;
    Above Statement, returns always 0 value if I tried with User who are added in AD Group and if I add AD User and then it will return the exact count.
    Please suggest solution to get Count of Group of Current User. My Application contains more than 60 SharePoint group.

    Hello,
    I believe your code doesn't count those AD group users until they login at least once. If this is the case then try to use "SPUtility.GetPrincipalsInGroup" as suggested in below post:
    http://stackoverflow.com/questions/4314767/getting-members-of-an-ad-domain-group-using-sharepoint-api
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Validating against a Windows NT Group in SQL Server

    I am trying to access a SQL Server using a trusted Windows NT group that has been established. I have set up the group in the database's security and assigned it to the appropriate prepared statements but I'm not sure how to access it using Java for authentication of the connection. I can access individual logons with passwords, but it escapes me how to access the group so I dont have to use individual passwords to access the prepared procedures.
    I am using JSPs for the front end if that makes a difference in the authentication.

    Yes, I am using JDBC-ODBC.
    I have gotten further in this problem. Here is where I am now.
    I have managed to get the JSP to access the Java application to validate against the SQL Server group, but it is using the login name and password of who signed in to startup Tomcat instead of the person who is accessing the application through the JSP. Therefore, if an autherized person to SQL Server started Tomcat, then everyone can get in otherwise no one can get in.
    I am shooting for not requiring the user to sign in to yet another application as they should be able to be authenticated through the trusted NT Domain group.
    Is there something I should put in the JSP to pick up their user id to pass it along to the Java application? Should I be going down a different line of logic?

  • Adding "window to a container:illegal argument exception".error plz help

    Thanks to Mr.Andrew and sun for developing the following code for a
    mediaplayer which is implemented in jmf.This is working in core java. But
    when i have converted it to Applet it compiles but an error adding "window
    to a container:illegal argument exception".code is given below plz point
    me where is the error;
    import javax.media.*;
    import java.text.DecimalFormat;
    import java.awt.*;
    import java.awt.FileDialog;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    class nwa extends WindowAdapter{
    frameclass frame;
    public nwa(frameclass frame){
    this.frame=frame;
    public void windowClosing (WindowEvent e)
    //User selected close from System menu.
    //Call dispose to invoke windowClosed.
    frame.dispose ();
    public void windowClosed (WindowEvent e)
    //if (player != null)
    //player.close ();
    System.exit (0);
    class frameclass extends JFrame
    frameclass(){
    nwa n=new nwa(this);
    this.addWindowListener(n);                    
    public class PlayerApplet extends JApplet
              implements
    ActionListener,ControllerListener,ItemListener, KeyListener
    frameclass frame=new frameclass();
    Player player;
    Component vc, cc;
    JProgressBar volumeBar;
         JButton fastRewind;
         JButton fastForward;
         JButton play;
    int sizeIncrease = 2;
    boolean invokedStop = false;
         /** Big */
         int progressFontSize=30;
    boolean first = true, loop = false;
    String currentDirectory;
    public void init(){
    JMenu m = new JMenu ("File");
    JMenuItem mi = new JMenuItem ("Open...");
    mi.addActionListener (this);
    m.add (mi);
    m.addSeparator ();
    JCheckBoxMenuItem cbmi = new JCheckBoxMenuItem ("Loop", false);
    cbmi.addItemListener (this);
    m.add (cbmi);
    m.addSeparator ();
    mi = new JMenuItem ("Exit");
    mi.addActionListener (this);
    m.add (mi);
    JMenuBar mb = new JMenuBar ();
    mb.add (m);
    frame.setJMenuBar (mb);
    setSize (200, 200);
         final JPanel p = new JPanel(new GridLayout(1,0,5,5));
              p.setBorder(new EmptyBorder(3,5,5,5) );
              fastRewind = new JButton("<html><body><font size=+"+
    sizeIncrease+ "><<");
              fastRewind.setToolTipText("Fast Rewind");
              fastRewind.addActionListener( new ActionListener(){
                   public void actionPerformed(ActionEvent ae) {
                        if (player!=null) {
                             invokedStop = false;
                             skipBack();
                        } else {
    JOptionPane.showMessageDialog(play,
                             new JLabel("Open a sound file
    first!"));
              fastRewind.addKeyListener(this);
              p.add(fastRewind);
              JButton stop = new JButton("<html><body><font size=+"+
    sizeIncrease+ ">&#9632;");
              stop.setToolTipText("Stop");
              stop.addActionListener( new ActionListener(){
                   public void actionPerformed(ActionEvent ae) {
                        invokedStop = true;
                        //player.stop();
                        sp();
              stop.addKeyListener(this);
              p.add(stop);
              play = new JButton("<html><body><font size=+"+
    sizeIncrease+ ">>");
              play.setToolTipText("Play");
              play.addActionListener( new ActionListener(){
                   public void actionPerformed(ActionEvent ae) {
                        if (player!=null) {
                             invokedStop = false;
                             player.setRate(1);
                             st();
                        } else {
    JOptionPane.showMessageDialog(play,
                             new JLabel("Open a sound file
    first!"));
              play.addKeyListener(this);
              p.add(play);
              fastForward = new JButton("<html><body><font size=+"+
    sizeIncrease+ ">>>");
              fastForward.setToolTipText("Fast Forward");
              fastForward.addActionListener( new ActionListener(){
                   public void actionPerformed(ActionEvent ae) {
                        if (player!=null) {
                             invokedStop = false;
                             skipForward();
                        } else {
    JOptionPane.showMessageDialog(play,
                             new JLabel("Open a sound file
    first!"));
              fastForward.addKeyListener(this);
              p.add(fastForward);
              p.addKeyListener(this);
              frame.add(p,BorderLayout.CENTER);     
              add(frame);
    // pack ();
    setVisible (true);
    public void start(){
    st();
    public void stop(){
    sp();
    public void destroy(){
    player.stop();
    player.deallocate();
    public void actionPerformed (ActionEvent e)
                   if (e.getActionCommand().equals("Exit"))
                   // Call dispose to invoke windowClosed.
                   frame.dispose ();
                        return;
         FileDialog fd = new FileDialog (frame, "Open File",
    FileDialog.LOAD);
         fd.setDirectory (currentDirectory);
         fd.show ();
         // If user cancelled, exit.
              if (fd.getFile() == null)
         return;
    currentDirectory = fd.getDirectory ();
              if (player != null)
         player.close ();
         try
         player = Manager.createPlayer (new MediaLocator
    ("file:" +
    fd.getDirectory() +
    fd.getFile()));
         catch (java.io.IOException e2)
    System.out.println (e2);
    return;
         catch (NoPlayerException e2)
    System.out.println ("Could not find a player.");
    return;
              if (player == null)
         System.out.println ("Trouble creating a player.");
         return;
    first = false;
    frame.setTitle (fd.getFile ().toString());
    player.addControllerListener (this);
    player.prefetch ();
    public void controllerUpdate (ControllerEvent e)
    if (e instanceof ControllerClosedEvent)
    if (vc != null)
    remove (vc);
    vc = null;
    if (cc != null)
    remove (cc);
    cc = null;
    return;
    if (e instanceof EndOfMediaEvent)
    if (loop)
    player.setMediaTime (new Time (0));
    player.start ();
    return;
    if (e instanceof PrefetchCompleteEvent)
    player.start ();
    return;
    if (e instanceof RealizeCompleteEvent)
    vc = player.getVisualComponent ();
    if (vc != null)
    add (vc);
    cc = player.getControlPanelComponent ();
    if (cc != null){
         this.add (cc, BorderLayout.SOUTH);
                        this.show();
    public void keyReleased(KeyEvent ke) {
    int keycode = ke.getKeyCode();
              if (keycode==KeyEvent.VK_LEFT) {
                   skipBack();
              } else if (keycode==KeyEvent.VK_RIGHT) {
                   skipForward();
         public void keyTyped(KeyEvent ke) {
         int keycode = ke.getKeyCode();
              if (keycode==KeyEvent.VK_LEFT) {
                   skipBack();
              } else if (keycode==KeyEvent.VK_RIGHT) {
                   skipForward();
         public void keyPressed(KeyEvent ke) {
              int keycode = ke.getKeyCode();
              if (keycode==KeyEvent.VK_LEFT) {
                   skipBack();
              } else if (keycode==KeyEvent.VK_RIGHT) {
                   skipForward();
              }else if (keycode==KeyEvent.VK_UP) {
                   st();
              }else if (keycode==KeyEvent.VK_DOWN) {
                   sp();
    public void skipForward() {
    double secs=5;
    double playersecs = player.getMediaTime().getSeconds();
    Time settime = new javax.media.Time(playersecs + secs);
    player.setMediaTime(settime);
    public void skipBack() {
              double secs1=5;
    double playersecs1 = player.getMediaTime().getSeconds();
    Time settime1 = new javax.media.Time(playersecs1 - secs1);
    player.setMediaTime(settime1);
         public void st() {
         player.start();
         public void sp() {
         player.stop();
    public void itemStateChanged (ItemEvent e)
    loop = !loop;
    When i comment add(frame) this error goes but i got a null poiter
    exception
    Plz help
    manu

    Hi Andrew,
    Thanks for ur reply.Sorrry that my code not included in the code block.
    My problem have been solved partly.Now playerapplet is working properly.It can play files from local machine(through open menuitem from file menu) as well as local network (through url menuitem from file menu).
    There is no requirement to play file from internet at present.
    I have given arrow keys to forward/backward/open/close.
    I have now completed my first part of project.Now i have to start the second part ie Controlling arrow keys using a joystick like instrument.The instrument and driver will be provided by my co. and the user is using only this device.Plz help me how to do that.
    The code is given below
    import javax.media.*;
    import java.text.DecimalFormat;
    import java.awt.*;
    import java.awt.FileDialog;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    <APPLET CODE=PlayerApplet.class
    WIDTH=320 HEIGHT=300>
    </APPLET>
    class nwa extends WindowAdapter
         frameclass frame;
         Player player;
         public nwa(frameclass frame,Player player)
          this.player=player;
          this.frame=frame;
         public void windowClosing (WindowEvent e)
          //User selected close from System menu.
          //Call dispose to invoke windowClosed.
          frame.dispose ();
          public void windowClosed (WindowEvent e)
              if (player != null)
                   player.stop();
                player.close ();
                   player.deallocate();
          System.exit (0);
    class frameclass extends JFrame
    Player player;
         frameclass(Player player)
         nwa n=new nwa(this,player);
         this.addWindowListener(n);                    
    public class PlayerApplet extends JApplet
               implements ActionListener,ControllerListener,ItemListener, KeyListener
               Player player=null;
               frameclass frame=new frameclass(player);
                 Component vc, cc;
                 Container f;
                 JProgressBar volumeBar;
                 JButton fastRewind;
              JButton fastForward;
              JButton play;
              int sizeIncrease = 2;
              boolean invokedStop = false;
              /** Big */
              int progressFontSize=30;
                 boolean first = true, loop = false;
                 String currentDirectory;
                 public void init()
                          f=frame.getContentPane();
                         JMenu m = new JMenu ("File");
                         JMenuItem mi = new JMenuItem ("Open...");
                         mi.addActionListener (this);
                         m.add (mi);
                         m.addSeparator ();
                         mi = new JMenuItem ("URL");
                         mi.addActionListener (this);
                         m.add (mi);
                         m.addSeparator ();
                         JCheckBoxMenuItem cbmi = new JCheckBoxMenuItem ("Loop", false);
                         cbmi.addItemListener (this);
                         m.add (cbmi);
                         m.addSeparator ();
                         mi = new JMenuItem ("Exit");
                         mi.addActionListener (this);
                         m.add (mi);
                         JMenuBar mb = new JMenuBar ();
                         mb.add (m);
                         frame.setJMenuBar (mb);
                         setSize (500, 500);
                           JPanel p = new JPanel(new GridLayout(1,0,5,5));
                        p.setBorder(new EmptyBorder(3,5,5,5) );
                        fastRewind = new JButton("<html><body><font size=+"+ sizeIncrease+ "><<");
                        fastRewind.setToolTipText("Fast Rewind");
                        fastRewind.addActionListener( new ActionListener(){
                             public void actionPerformed(ActionEvent ae) {
                                  if (player!=null) {
                                       invokedStop = false;
                                       skipBack();
                                  } else {
                                       JOptionPane.showMessageDialog(play,
                                       new JLabel("Open a sound file first!"));
                        fastRewind.addKeyListener(this);
                        p.add(fastRewind);
                        JButton stop = new JButton("<html><body><font size=+"+ sizeIncrease+ ">&#9632;");
                        stop.setToolTipText("Stop");
                        stop.addActionListener( new ActionListener(){
                                  public void actionPerformed(ActionEvent ae) {
                                       invokedStop = true;
                                       sp();
                        stop.addKeyListener(this);
                        p.add(stop);
                        play = new JButton("<html><body><font size=+"+ sizeIncrease+ ">>");
                        play.setToolTipText("Play");
                        play.addActionListener( new ActionListener()
                                  public void actionPerformed(ActionEvent ae) {
                                       if (player!=null) {
                                            invokedStop = false;
                                            player.setRate(1);
                                            st();
                                       } else {
                                            JOptionPane.showMessageDialog(play,
                                            new JLabel("Open a sound file first!"));
              play.addKeyListener(this);
              p.add(play);
              fastForward = new JButton("<html><body><font size=+"+ sizeIncrease+ ">>>");
              fastForward.setToolTipText("Fast Forward");
              fastForward.addActionListener( new ActionListener(){
                   public void actionPerformed(ActionEvent ae) {
                        if (player!=null) {
                             invokedStop = false;
                             skipForward();
                        } else {
                             JOptionPane.showMessageDialog(play,
                             new JLabel("Open a sound file first!"));
              fastForward.addKeyListener(this);
              p.add(fastForward);
              frame.getContentPane().add(p,BorderLayout.CENTER);
              frame.setVisible (true);
              frame.pack();
              frame.setResizable(false);
      public void stop(){
      sp();
      public void destroy(){
       player.stop();
        player.deallocate();
      public void actionPerformed (ActionEvent e)
              if (e.getActionCommand().equals("Exit"))
                             // Call dispose to invoke windowClosed.
                             player.stop();
                             player.close();
                             player.deallocate();
                             frame.dispose ();
                                  return;
              if (e.getActionCommand().equals("Open..."))
                             FileDialog fd = new FileDialog (frame, "Open File",
                                         FileDialog.LOAD);
                              fd.setDirectory (currentDirectory);
                              fd.show ();
                              // If user cancelled, exit.
                              if (fd.getFile() == null)
                             return;
                              currentDirectory = fd.getDirectory ();
                                   if (player != null){
                                       player.close ();
                                       player.deallocate();
                         try
                  player = Manager.createPlayer (new MediaLocator
                                               ("file:" +
                                               fd.getDirectory() +
                                               fd.getFile()));
                              catch (java.io.IOException e2)
                            System.out.println ("file not found :"+e2);
                            return;
                              catch (NoPlayerException e2)
                            System.out.println ("Could not find a player.");
                            return;
                    if (player == null)
                   System.out.println ("Trouble creating a player.");
                   return;
                    first = false;
                    frame.setTitle (fd.getFile ().toString());
                    player.addControllerListener (this);
                    player.prefetch ();
                   return;
              if (e.getActionCommand().equals("URL"))
                             FileDialog fd = new FileDialog (frame, "Open File",
                                         FileDialog.LOAD);
                         fd.setDirectory (currentDirectory);
                         fd.show ();
                         // If user cancelled, exit.
                              if (fd.getFile() == null)
                             return;
                         currentDirectory = fd.getDirectory ();
                              if (player != null){
                                       player.close ();
                                       player.deallocate();
                   try
                        URL url = new URL ("file://"+fd.getDirectory()+fd.getFile());
                    MediaLocator mediaLocator = new MediaLocator (url);
                        player = Manager.createPlayer (mediaLocator);
                   catch (java.io.IOException e2)
                  System.out.println ("file not found :"+e2);
                  return;
                    catch (NoPlayerException e2)
                  System.out.println ("Could not find a player.");
                  return;
                    if (player == null)
                   System.out.println ("Trouble creating a player.");
                   return;
          first = false;
          frame.setTitle (fd.getFile ().toString());
          player.addControllerListener (this);
          player.prefetch ();
              return;
       public void controllerUpdate (ControllerEvent e)
          if (e instanceof ControllerClosedEvent)
              if (vc != null)
                  frame.getContentPane().remove (vc);
                  vc = null;
              if (cc != null)
                  frame.getContentPane().remove (cc);
                  cc = null;
              return;
          if (e instanceof EndOfMediaEvent)
              if (loop)
                  player.setMediaTime (new Time (0));
                  player.start ();
              return;
          if (e instanceof PrefetchCompleteEvent)
              player.start();
              return;
          if (e instanceof RealizeCompleteEvent)
            if (vc != null)
                  remove (vc);
                  vc = null;
              if (cc != null)
                  remove (cc);
                  cc = null;
              vc = player.getVisualComponent ();
              if (vc != null)
                  frame.getContentPane().add(vc,BorderLayout.NORTH);
              cc = player.getControlPanelComponent ();
              if (cc != null){
                       frame.getContentPane().add (cc, BorderLayout.SOUTH);
                     frame.setVisible(true);
                     frame.pack();
    public void keyReleased(KeyEvent ke) {
    int keycode = ke.getKeyCode();
              if (keycode==KeyEvent.VK_LEFT) {
                   skipBack();
              } else if (keycode==KeyEvent.VK_RIGHT) {
                   skipForward();
         public void keyTyped(KeyEvent ke) {
         int keycode = ke.getKeyCode();
              if (keycode==KeyEvent.VK_LEFT) {
                   skipBack();
              } else if (keycode==KeyEvent.VK_RIGHT) {
                   skipForward();
         public void keyPressed(KeyEvent ke) {
              int keycode = ke.getKeyCode();
              if (keycode==KeyEvent.VK_LEFT) {
                   skipBack();
              } else if (keycode==KeyEvent.VK_RIGHT) {
                   skipForward();
              }else if (keycode==KeyEvent.VK_UP) {
                   st();
              }else if (keycode==KeyEvent.VK_DOWN) {
                   sp();
    public void skipForward() {
    Time settime;
    double secs=5;
    double playersecs = player.getMediaTime().getSeconds();
    double duration = player.getDuration().getSeconds();
              if((playersecs+secs) < duration){
                      settime = new javax.media.Time(playersecs + secs);
                      player.setMediaTime(settime);
              }else {
                        player.setMediaTime(new Time(duration));
    public void skipBack() {
              double secs1=5;
              double secs2=0;
              double playersecs1 = player.getMediaTime().getSeconds();
              Time settime1;
              if((playersecs1 - secs1) > secs2){
                      settime1 = new javax.media.Time(playersecs1 - secs1);
                      player.setMediaTime(settime1);
              }else {
                        player.setMediaTime(new Time(0));
         public void st() {
         player.start();
         public void sp() {
         player.stop();
       public void itemStateChanged (ItemEvent e)
          loop = !loop;
    With Thanks
    manuEdited by: mm_mm on Nov 27, 2007 11:09 PM

Maybe you are looking for

  • Flash CS3 hard crash on Debug Movie

    I've logged this bug but wanted to post it to the boards in case anyone else is having this same problem. It's been going on since I purchased Flash CS3 pro and has been really crippling my development workflow because I can only get the debugger to

  • Chat System: ConnectException: Connection timed out: connect

    Hi There, I am developing a chat system as part of a University project. To explain what I have implemented: I have three java classes; 1. Chat Server class which is constantly listening for incoming socket connection on a particular socket: while (t

  • Editable OO ALV Problem

    Hi Everyone, My Problem is when i set the edit option in field catalog  respective field get converted into edit mode but the data of field is get disappear. wa_fcat1-fieldname  = 'TRADESCHM'.   wa_fcat1-coltext    = 'TRADE SCHEME'.   wa_fcat1-col_po

  • Multiple clicks on the same place

    I have this slide When a user clicks on the arrow, I want 1 to show. Next, When the user clicks on the arrow again, number 2 shows. When the user clicks on the arrow again, number 3 shows. How do I do this with advanced actions? Any help  is apprecia

  • When Opening Raw Files small yellow caution triangle appears

    Hello Folks, I am both new here and totally new to PS CS4. I am opening files in ACR and when doing so, I regularly see a small yellow triangle, like caution sign in the upper right. Can anyone tell me is this normal, or do I have a problem within AC