NAC Login Script

Have CAM/CAS in OOB L2 Virtual Gateway working with AD SSO assigning the access VLAN based on group membership in the AD. Need to get the login scripts to run.
The information for adding a delay as per page 9-6 of the CAS manual v4.1.3 doesn't work. The errorlevel returned for successful and unsuccessful ping attempts is the same; errorlevel 0.
Does anyone have a test of network connectivity that will produce a errorlevel of 1 for failure and errorlevel of 0 for success?

Used dir \\servername\share to successfully test the network connectivity. NAC authenticated users now run the login script after the CCA agent changes the IP.

Similar Messages

  • POST request in a login script

    I have a strange problem when the variables that are passed to a PHP script dont get recognized in an equal statement. The java code :
    tring value, value2;
         try {
         BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
         URL url = new URL("................./admin.php");
         URLConnection connection = url.openConnection();
         connection.setDoOutput(true);
         System.out.println("Enter your username");
         value = stdin.readLine();
         value = URLEncoder.encode(value, "UTF-8");
         System.out.println("Enter your password");
         value2 = stdin.readLine();
         value2 = URLEncoder.encode(value2, "UTF-8");
         System.out.println("Acessing the ECHO server script");
         PrintWriter out = new PrintWriter(connection.getOutputStream());
         out.println("username="+ value);
         out.println("&password="+value2);
         out.close();
         BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
         String inputLine;
         System.out.println("Retrieving data");
         System.out.println("");
         while ((inputLine = in.readLine()) != null)
             System.out.println(inputLine);
         System.out.println("");
         in.close();
         catch (Exception e)
         System.out.println("Error: "+e);
         System.out.println("Processing Acomplished");In case somebody wonders, this is part of the php script
    if (isset($_POST['username']) && isset($_POST['password']))
    $username = $_POST['username'];
    $password = $_POST['password'];
    echo $username;
    echo $password;
    if ( $username == "1" && $password == "2" )
    echo "CORRECT";
    else
    echo "INCORRECT";
    }Now, the script successfuly recieved my data, and prints it back. However, whenever i try to check if the value is "1", for example, it always evaluates to FALSE. I am completely lost, because the script print back 1, and then says that 1 != 1
    I know it looks like script problem, but im almost sure that its not.
    Maybe the data that java post's is encoded differently or something, and the script cant really "interpret" it. Did anyone else encounter any problems with login scripts and java ?
    Sorry if this is a lame question, i'm just beginning....

    I know it looks like script problem, but im almost sure that its not.I'm almost sure it is. Check that it's not comparing the string "1" to the integer 1 or something. But the way you present it the problem is almost certainly in the PHP rather than the Java.

  • How do I connect my Centro to the Internet via bluetooth over PC's Internet? Where is Centro's PPP Connection Type? How do I setup Login Script for bluetooth connection?

    I am trying to set up bluetooth on the Centro to connect to the internet via my PC's internet.
    HotSync over bluetooth works successfully.
    Computer specs: Toshiba P205-S6277; Bluetooth Stack v5.10.04 (currently using); Bluetooth Monitor v3.01 (to use Vista's built-in bluetooth)
    I think I have narrowed my problem down to 3 things.
    (1) Finding Network Access properties (to allow connected devices to access the internet)
    (2) Finding Centro's Network Connection Type: PPP
    (3) Finding the correct Login Script to use
    for (1) I think I've looked everywhere; found nothing on Network Access. 
    Checked control panel: only Bluetooth Local COM
    Right-clicked bluetooth icon > Settings: File transfer, PAN Networking, PAN DHCP server, AV controls. Other bluetooth settings are for file transfer or object push. I don't see anything like this.
    I'm stumped on (2). It seems as if palm removed this option under Centro's Advanced network settings .
    Nearly all the forums that I read says to choose Connection Type: PPP.
    (3) Found 2 scripts that seemed would work. I don't know how it exactly works but it sounds workable.
    First script:
    Send: CLIENT
    Send: CLIENT
    Wait for: CLIENTSERVER
    End:
    Script 1 Connect Log:
    =======================================
    Connect Log
    S: client
    S: client
    R:
    Err: 0x121F   <<<netErrUserCancel b/c I canceled it. 
    Not connected
    ========================================
    I canceled it because the process would stay on "Signing In" then it automatically "Canceled" itself.
    Second script:
    Send CR:
    Delay: 1
    Send: CLIENT
    Wait For: CLIENTSERVER
    End
    **UPDATE** I found on this forum (Reply # 3689) that the script is needed only if you are using Palm OS 4 or under. Centro uses Palm OS 5.49121. Can anyone support this?
    Even without the script it has problems "Signing In".
    I'm currently reading this site and trying out its decribed methods. I will update this thread when I get the results.
    I'm using the Centro. And If anyone's been able to successfully connect to the internet on the Centro via a bluetooth connection to the PC WITHOUT 3rd party applications, please share.  If not, please share any ideas.
    Thanks!
    -Eric
    Post relates to: Centro (AT&T)
    Message Edited by naisanza on 01-01-2009 02:26 PM

    I've been going at this for days, and have probably exhausted all the proposed solutions on the first 3 pages of various google searches. I'm getting the feeling that Vista users are pretty much SOL for the time being.
    For the record, I just tried out a few of the solutions (mRouter & SoftickPPP) on XP and they work perfectly.
    Post relates to: Centro (Verizon)
    Message Edited by Cogwheel on 02-13-2009 09:45 AM

  • How to change the Default login script and the USER login script in Netware3.12

    I need to cut down the disk map from Neware 3.12 in Win98 client's PC.
    please tell me
    how to change the Default login script and the USER login script in
    Netware3.12 ?
    Or is there any other ways to do this thing?
    Thanks a lot!

    On 4/6/2006 [email protected] wrote:
    > how to change the Default login script and the USER login script in
    > Netware3.12 ?
    Please repost in the discontinued.forums.
    Edison Ortiz
    Novell Product Support Forum SysOp
    (No Email Support, Thanks !)

  • Is it possible to run an application from a user or container login script?

    Is it possible to run an application from a user login script or a container login script?
    A "Force Run" application object works fine if the user's workstation is setup to auto-load "Application Window" or "Application Explorer" but in this case I'd like to run an application when someone does a manual login (ie. they right-click red "N" and choose "Novell Login...")
    Using a User Package's "Scheduled Action Policy" and the Event=Login also does not work when a user logs in manually. This type of Event seems to only apply when the user first logs into the workstation, not at a manual login.
    Thanks,
    Marc

    > Is it possible to run an application from a user login script or a
    container login script?
    Yes, see the documentation:
    http://www.novell.com/documentation/...a/a7q6999.html
    Regards
    Rolf Lidvall
    Swedish Radio (Ltd)

  • Login scripts not running with AnyConnect NAM and ISE 1.2

    I am using AnyConnect 3.1 NAM as my 802.1x supplicant for ISE 1.2.  When users log in with EAP Chaining (User and Machine Auth), the login script seems hit or miss on if it runs to map their drives.  If I uninstall the NAM client, they map drives every time.  I would think that running a login script to map drives is a common scenario and I was wondering if anyone else using AnyConnect NAM was having similar issues or how they were dealing with it.

    I have the same issue and I solve the issue with change these parameters.
    1.- You must change on configuration profile "before user logon". I have 5 seconds
    2.- You must change on configuration profile  "port authentication Exception policy" and you must enable checkbox "enable port exceptions" and select "allow data traffic before authentication"
    3.- You must enable in the option of interface Ethernet Intel on PC "Wait for link" this option It's in "configured advanced of Intel. You must select "on" in this option.
    4.- (this recommendation it was by Cisco) 
    Active Direct GPO has a setting "Computer Configuration\Administrative
    Templates\System\Logon\ Always wait for the network at computer startup and logon" that
    can be enabled to make the logon scripts wait till 802.1x authentication is completed.
    With those changes the logon script run fine.
    Regards
    David.

  • Creating a new OU and the login scripts don't work

    Goodday,
    We are running DSfW for almost a year and we never had to make a new OU but that time has come.
    When I make a new OU (with iManager or AD tools) the outcome is the same: The login scripts I make for the new OU will not execute within iManager.
    If I make a new (test)user of move an existing user (with or without a GW account) the login script is not executed.
    If I place a login script directly on the user it works.
    I've patched everything and is up-to-date.
    What is different on exisiting OU's and new OU's is that it's missing two attributes:
    ACL 2#entry#ou=...#loginScript
    ACL 2#entry#ou=...#printJobConfiguration
    Maybe this has nothing to do with it but the first one I was thinking maybe this is the problem.

    Originally Posted by preemeyer
    Goodday,
    We are running DSfW for almost a year and we never had to make a new OU but that time has come.
    When I make a new OU (with iManager or AD tools) the outcome is the same: The login scripts I make for the new OU will not execute within iManager.
    Can you please give the details of how you are specifying the login script. Is it using a GPO?
    Originally Posted by preemeyer
    If I make a new (test)user of move an existing user (with or without a GW account) the login script is not executed.
    If I place a login script directly on the user it works.
    Is it by specifying the script path in existing profile tab?
    Originally Posted by preemeyer
    I've patched everything and is up-to-date.
    What is different on exisiting OU's and new OU's is that it's missing two attributes:
    ACL 2#entry#ou=...#loginScript
    ACL 2#entry#ou=...#printJobConfiguration
    Maybe this has nothing to do with it but the first one I was thinking maybe this is the problem.
    Can you check if the container is samified, and samify it if it is not.
    domaincntrl --samify
    May not work, but can be tried.

  • Login Script for HP Thin Clients using Citrix

    Hi
    Could someone please assist me with this.
    I use a login script on my domain but I am now joining the HP Thin Clients onto the domain which will use SSON (Single Sign ON) which will automatically load citrix and use the current username and password to sign into the citrix session
    Is there a command I can use that will "check" the version of windows and if this is Windows 7 embedded Standard edition, then it will bypass all the commands and go to the end of the script.
    I was trying something like this IF "%OS Version%" == "Microsoft Windows 7 Embedded Standard" goto END
    I know you can use this for a "Computer Name" but we have so many terminals and would need to store all the names of them on the servers.
    Please can someone give me some advise on this.
    Thanks
    Martin

    Hi,
    As far as I know, you can user command systeminfo | findstr /B /C:"OS Name" /C:"OS Version"to check current system edition in
    Command Prompt. However, as I'm not fimilar with script, to need more assistance for your problem, it would be better to provide your question at script center.
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?category=scripting
    Roger Lu
    TechNet Community Support

  • MEMBER OF command in login script

    Hello,
    Just wondering if any one else has had trouble getting the MEMBER OF command to work in their login script? I have tried using group names as well as the full context but I can't get it to work and perform the desired actions.
    Thanks.

    On Wed, 12 Jun 2013 14:26:02 +0000, captainjd02006 wrote:
    > Just wondering if any one else has had trouble getting the MEMBER OF
    > command to work in their login script?
    It's worked for me here for 15+ years. Maybe you're doing it wrong? Show
    us a sample of what you're trying to do.
    David Gersic dgersic_@_niu.edu
    Knowledge Partner http://forums.netiq.com
    Please post questions in the forums. No support provided via email.

  • Windows 7 with Login Script from 2008 R2 server Duplicates Drives

    I have a single user that when they login to the domain and their login script runs, it ends up giving them duplicate drives. I can copy the script to another account and not have the issue. I have not tried logging in as the user on another machine yet,
    to see if the error follows the account. Anyone have any thoughts on what might be causing this? I have removed all of the drives from both the command line using
    net use /del *
    An example of the login script is
    net use z: /delete
    net use z: \\servername\sharename
    Its random which drives it will duplicate to.

    Hi Mgibson-TC,
    Can we run this script locally to check what’s the result?
    You can try Ed (DareDevil57)’s suggest first, if this issue persists, we can do some tests to narrow down this root cause.
    Alex Zhao
    TechNet Community Support

  • SIMPLE login script install of zfd4 agent?

    Is there is simpler way of installing the zfd4 agent via a login script when
    I'm not using an intermediate tier or use the application explorer. The
    login script examples I've found onlnie (and information in the Novell docs
    and Novel Press books) seem complex and frought with pitfalls...
    Thanks,
    KB

    > I'm reviewing this TID; I may be able to do this on my own. However, if
    > anyone has an example, working "simple" login script they could post as
    an
    > example, it would be REALLY appreciated....
    >
    > Thanks!
    > KB
    > "KB" <[email protected]> wrote in message
    > news:mHgfg.738$[email protected]..
    > > Forgot to mention - I want to run this in silent mode, and need to
    handle
    > > the issue where someone already has the agent installed...
    > >
    > > Thanks,
    > > KB
    > >
    > > "KB" <[email protected]> wrote in message
    > > news:Dfgfg.703$[email protected]..
    > >> Is there is simpler way of installing the zfd4 agent via a login
    script
    > >> when I'm not using an intermediate tier or use the application
    explorer.
    > >> The login script examples I've found onlnie (and information in the
    > >> Novell docs and Novel Press books) seem complex and frought with
    > >> pitfalls...
    > >>
    > >> Thanks,
    > >> KB
    > >>
    > >
    > >
    >
    >
    Hi,
    your Login Script must be seen like this:
    #z:exist c:\programme\novell\zenworks\nalwin32.exe
    if "%ERRORLEVEL"="0" THEN GOTO NOTHING
    #z:\zfdagent\agent.bat
    NOTHING:
    END
    the agent.bat is a batch File to install the agent in silent mode
    it looks like that:
    msiexec /i z:\zfdagent\zfdagent.msi /qn ADDLOCAL=ALL EDITABLE_MT_ADDRESS=1
    STARTUP_APPWINDOW=1 STARTUP_APPEXPLORER=0 REBOOT=ReallySuppress /l*v %
    WINDIR%\zfdagent.log
    the z:\zfdagent is a subdirectory in the sys:\system\Public where
    zfdagent.msi file exists.
    hier is a link to download exist.exe
    Download: http://www.novell.com/coolsolutions/...oads/exist.zip
    Best regards
    Issam

  • ARD Login Script Problem

    Hey there.
    I have a Mac lab that I am controlling with ARD. I know you can use the following UNIX script to login..
    osascript <<EndOfMyScript
              tell application "System Events"
                        keystroke "USERNAME"
                        keystroke tab
                        delay 0.5
                        keystroke "PASSWORD"
                        delay 0.5
                        keystroke return
              end tell
    EndOfMyScript
    ... However, my problem is that, for various reasons, the logins are set to choose from a list of accounts, not to enter the username. In other words, after the machine boots up, the user chooses the name of the account and then is prompted for the password.
    Can this script be modified to select a user or is there another way to script it?
    Thanks in advance.
    Adam

    > "Andrew Knoke" <[email protected]> wrote in message
    > news:typvh.9628$[email protected]..
    >
    > Also is there a way you can say in a login script to have users in a group
    > NOT get a map drive. In my example users in group would not get the H:
    > drive.
    >
    >
    > map root u:=%HOME_DIRECTORY
    >
    > If member of "small group.home" Then
    > goto five
    > end
    >
    > map root h:=sever\vol1:shared
    >
    > :five
    If not member of ".smallgroup.home" then
    map root h:=sever\vol1:shared
    End
    AZC

  • Hanging Login Script for Unmappable Drives

    I currently have a login script running on laptops at my work. We consist of two sites, each with their own domain. At Site 1 several drives are mapped using GPOs as the laptops are all bound to Site 1. If users head over to Site 2 though, they experience
    hanging times (that I am only able to contribute to the fact that Site 2 can't resolve these aformentioned drives). Login time can be up to about 40 seconds compared to the normal 4 seconds when at Site 1. Is there a way to just tell the PC to skip over these
    drive mapping if they aren't found immediately?

    Hi,
    Have you tried to use Net use command to finish this job?
    Use the Net Use command to map or disconnect a drive
    You can use the net use command for batch files and scripts. To use the net use command to map or disconnect a drive:
    To map a network drive:
    Click Start, and then click Run.
    In the Open box, type cmd.
    Type net use x: \\computer name\share name, where x: is the drive letter you want to assign to the shared resource.
    To disconnect a mapped drive:
    Click Start, and then click Run.
    In the Open box, type cmd.
    Type net use x: /delete, where x: is the drive letter of the shared resource.
    Roger Lu
    TechNet Community Support

  • Using Login Scripts with OD

    Has anyone had success using login scripts from OD? When I try to add a script to the login prefs, i get an error that the script is not executable.
    Alternately, could anyone suggest an effective way to mount volumes based on user group membership? I've tried adding scripts, automator created apps and workflows to the login items without success.
    thanks.

    Hi
    Good question. I don’t really know. What I can say is I once attended a site where two of Apple Euro’s technical consultants implemented both methods. Neither mentioned either as being ‘best practice’. Both methods worked by the way. My gut feeling is the method not involving a login script would probably be what Apple would steer you towards. Although in my opinion whatever method works for you that gives you what you want would be ‘best practice’.
    Try cross posting this in the Terminal Forum. There are some guys there who are pretty handy when it comes to AppleScript.
    Hope this helps – Tony

  • Login Scripts with managed computers

    I'm using workgroup manager with computer groups and I want to have a specific script running everytime people login into the client computers.
    The problem is : When i select the computer group or the computer itself in workgroup manager and then Preferences > Login > Scripts, i can't upload my script 'cause it's marked grey by the browsing window.
    I've checked my script, it's a shell script and it's executable but still...
    I've tried with an AppleScript but same story.
    How can i make a script compatible with workgroup manager ?

    Thanks for the hit, adding .hook extension make the script selectable from WGM, however nothing happens after login with one client computer.
    Is there anybody who actually succeeded to use the script option in WGM ?
    I want to mount a folder automaticaly after login in specific computers :
    So i wrote a shell script :
    makedir /Volumes/Directory
    mount_afp afp://192.168.220.1/Directory /Volumes/Directory
    Saved the script with the .hook extension, made it executable, checked it on the client computer : it works, changed com.apple.loginwindow.plist in the client computer but still nothing !
    I don't know what's wrong ?! I'm tired of trying, it's so difficult with OS X compared to Windows and bash script... I'm kind of giving up...
    OS X 10.5.1

Maybe you are looking for

  • Explain one query in 256M shared pool and ORA-4031 .

    Hi, looks like Oracle 9.2.0.8 got some problems with explaining huge (1000 lines) queries, here goes ORA-4031 dump, shared pool is about 256 M but there are no other sessions in that DB only mine . I can reproduce that in 1GB shared pool as well . **

  • Printer won't connect to wifi, freezes up sporadically

    Hi, I was really excited about the capabilities of this printer for about a day. It worked great on first setup out of the box. Here's what I did. I'm using ubuntu 14.04 LTS and I was excited to be able to use the printer wirelessly without having to

  • What is the max number of bits a boolean array can have?

    Hello,    What is the maximum number of bit that a boolean array can have? Regards,   Kaspar Regards, Kaspar

  • Exchange Server 2013 Licensing

    Greetings all, this is the first time I get into licensing, although it was a long journey with Microsoft Exchange Servers. I need to setup a new messaging environment - with (4) four Exchange Serves 2013 Enterprise  total number of users approximate

  • Alt Key mysteriously changed function

    This morning when I turned on my BB Curve (t-mobile, if it matters), there was a message displayed too quickly for me to read, and then the screen was dark for several minutes and the red LED blinked.  This was before I logged on with my password.  I