Example of Account Login on ISG in CoA mode

We are developing an ISG Radius CoA client.
Our settings are:
* Cisco IOS Software, 7200 Software (C7200-K91P-M), Version 12.2(31)SB6, RELEASE SOFTWARE (fc1)
* Here is a snippet of our configuration for CoA:
aaa server radius dynamic-author
client 192.168.1.223 server-key xxx
server-key xxx
auth-type all
ignore session-key
The issue is that we are not able to implement the "Account Logon" procedure based on the Cisco documentation ( ISG Radius Interface http://www.cisco.com/univercd/cc/td/doc/product/software/ios122sb/cg/isg_lib/isg_ig/isgcoa3.htm#wp1100384 ). We are not clear about the section below from this document:
"Since a CoA Account Logon request usually requires the inclusion of an encrypted password attribute, this password must be sent as Cisco VSA 249, which contains a separate authenticator for the user password (called initiator vector) followed by the encrypted user password, as detailed in Figure 6.
The initiator vector is a 16-octet pseudo-random number uniquely generated for each attribute. The encrypted value field is 16 or more octets containing data that is length-prefixed and zero padded to an even multiple of 16 octets."
We do not understand what procedure should be used for creating the encrypted password/value.
Can someone provide us more information on this with details on how to fill out subscriber-password field? An example would be especially helpful.
Thanks
Steve

We are using Java and we patched JRadius for supporting Cisco ISG CoA.
Below is the main code for the creation of the cisco subscriber value for the Cisco VSA Radius attribute.
Attached is another file with some Java classes that may help.
Steve
public class CiscoUtils {
public static byte[] makeCiscoSubscriberPasswordValue(RadiusClient rc, String password){
byte len = (byte) (password.length()&0xff);
// Encode the length into a first byte of the password (required by util)
byte[] lenPassword = new byte[1 + len];
lenPassword[0] = (byte) (len);
System.arraycopy(password.getBytes(), 0, lenPassword, 1, password.length());
byte[] authenticator = RadiusUtils.makeRFC2865RequestAuthenticator(rc.getMD(), rc.getSharedSecret());
byte[] encryptedValue = RadiusUtils.encodePapPassword(rc.getMD(), lenPassword, authenticator, rc.getSharedSecret());
byte[] result = new byte[authenticator.length + encryptedValue.length ];
System.arraycopy(authenticator, 0, result, 0, authenticator.length);
System.arraycopy(encryptedValue, 0, result, authenticator.length, encryptedValue.length);
return result;

Similar Messages

  • Why is my google accounts login in page not working?

    If I try to access any webpage with a Google accounts login on, for example Youtube Login Page, Google Docs, Google Calendar, Google Mail... etc... Firefox freezes and I lose all control of the program and have to abort with Task Manager. This is only a problem on beta, as it worked fine in previous versions, and other browsers.

    I think that you might be using a serial number that is not legitimate. Only blacklisted serial numbers will give such message or prompt you to activate the software each time you launch. Please check with Adobe customer support chat to confirm that you're using a valid serial numbers.
    What happens is, when the software is returned for a refund that are purchased from Adobe.com store some people sell it online in auctions site like eBay along with the complete package. You can report this issue at [email protected] and action will be taken accordingly. Please check the reseller list in adobe.com website

  • 2nd Step Verification for Skype account login?

    Hi 
    I am just wondering if there is any way you can enable 2nd Step verification on Skype? 
    There is many websites like Facebook which enable you to have a 2nd step verification on your account when you login with your password, for example you would be asked to enter a code which is usually sent to your mobile phone or a phone call with the code for you to be able to login with your account, I can see this is possible with a Microsoft account but I can find no way to do this with just using a Skype username. 
    Maybe Skype should give there users the option to do this so it will make accounts more secure and will enable less chances for a person to compromise  a Skype account.
    I can see you can link your Microsoft account to your Skype username 
    does anyone know if this will somehow enable 2nd Step Verification for a Skype username login NOT a microsoft account login. 

    Hi and welcome to the Skype Community,
    Skype accounts do not offer 2 factor authentication. Also linking to a Microsoft account doesn't inherit that functionality from the Microsoft one to the Skype one.
    If you are planning to create a new Skype account in the near future we strongly recommend going for a Microsoft account based on because of that.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Making user account logins case sensitive?

    Hi, just a quick question. Is it possible to make a user account login name case sensitive? Currently I can log on using upper or lower case for the login name however I would rather only the exact login name could be used.
    Thanks

    I had already answered with example.
    Re: Making user account logins/passwords case sensitive?

  • Flash Player Plugin tries to access the internet upon arriving at account login pages

    Firefox 24.0
    Adobe Flash Player Plugin 11.8 r800
    Firewall software: ZoneAlarm
    My firewall is set to "Manual Control" and I get warnings for all Internet access attempts.
    Firefox is already granted outgoing access to the Internet, so I surf without additional warnings. So if I go to YouTube, I can watch the videos without receiving a prompt from my Firewall.
    However when I visit a secure account login page (where I have to enter my user ID and PW) the Firewall warns me that "Firefox is trying to use Adobe Flash Player 11.8 r800 to access the Internet".
    A prompt like this is provided by the Firewall when one program uses another to access the Internet. If for example I click on a link in MS Excel, the firewall will tell me that Excel is trying to use Firefox to access the Internet.
    What makes me concerned is:
    1) Firefox already has access privileges. It should not need to "use Flash to access the internet"
    2) This occurs when I'm about to use the keyboard to enter sensitive data into a secure page
    3) There are no [apparent] Flash elements on the login pages.
    Could I have acquired a malicious Flash software that tries to collect keystrokes and transmit them somewhere? Is there a way to show (in Firefox) which Flash file is working at any given time? (This would let me identify what's making the attempt to access)
    I am fully protected with Antivirus, Antispam, and breach prevention software. I also ran Norton Power Eraser to see if there was anything at Root level. Nothing found.
    Thank you, in advance for your feedback.

    Pages can use Flash even when there is no video displayed. For example some sites use Flash for menus, some for audio, and some may load Flash in their Google Analytics scripts so they know as much as possible about your system.
    In most cases, the Flash player will be trying to load a .SWF file, although that may not always be obvious. You could look for it in Firefox's Web Console.
    While viewing the page, press Ctrl+Shift+k, the reload the page. If there is a request for Flash media from the page, it should appear in the console (if the request is held up by your firewall, it nevertheless should appear as a pending request). There is a search/filter box where you could try entering .swf to reduce the time needed to scan through the list. Can you find the URL of the requested file? That might or might not make you comfortable about the request.

  • I created a new Apple ID for iCloud on my iPhone, but I can't seem to find a way to "sign out" or "log out" of that Apple ID (for iCloud) to sign in with another Apple ID. The only account login I could change was the Store. How do I "log out"

    I created a new Apple ID for iCloud on my iPhone, but I can't seem to find a way to "sign out" or "log out" of that Apple ID (for iCloud) to sign in with another Apple ID. The only account login I could change was the Store.
    How do I "log out" or "sign out" of iCloud on my iPhone? There is an option to delete the account, but I just want to log off. I want to keep the account name for future use.

    @fernandamagalhaes
    It looks like the article below has the information you are looking for.
    iCloud: Change iCloud feature settings
    http://support.apple.com/kb/PH2613
    Turn off iCloud completely
    Depending on whether you want to stop using iCloud on all or only some devices, do one or more of the following:
    On your iOS device’s Home screen, go to Settings > iCloud, then at the bottom of the screen, tap Delete Account.
    Note:   If you delete your iCloud account, iCloud will no longer back up your iOS data. You can still back up your device in iTunes (for more information, open iTunes and choose iTunes > Help). 
    On your Mac, open iCloud preferences, then click Sign Out.
    If your Mac has OS X v10.7.5 and you turn off iCloud, your calendar information and reminders aren’t stored locally in iCal. If you want to retain your calendar and reminder information, you need to back it up before turning off iCloud. For more information, see the Apple Support article iCloud: Calendar & reminder data removed from Calendar and Reminders or iCal when disabling iCloud Calendar.
    On your Windows computer, open the iCloud Control Panel, then click Sign Out.
    Note:   If you turned on automatic download of music, app, or book purchases (in iTunes preferences or in Settings on your iOS device), your iTunes purchases are still downloaded to your devices.
    Set up iCloud on your devices

  • What is the default admin user account login id and password in Windows 8?

    Hi all,
    The current admin acccount in Windows 8 system are changed to Standard and no other Admin account is available in the system.
    What is the default admin user account login id and password in Windows 8?
    Or 
    Is there way to change the User role for the account?
    Please use Marked as Answer if my post solved your problem and use
    Vote As Helpful if a post was useful.

    I am able to login as a Normal user, can not login as administrator.Hence can not install any software or change my user settings or create a new user.
    What is the default admin password. How can i reset it form my user account
    C:\Users\Amit>net user Administrator
    User name                    Administrator
    Full Name
    Comment                      Built-in account for administering the computer/domain
    User's comment
    Country/region code          000 (System Default)
    Account active               No
    Account expires              Never
    Password last set            7/26/2012 12:57:03 PM
    Password expires             Never
    Password changeable          7/26/2012 12:57:03 PM
    Password required            Yes
    User may change password     Yes
    Workstations allowed         All
    Logon script
    User profile
    Home directory
    Last logon                   9/16/2013 1:16:30 PM
    Logon hours allowed          All
    Local Group Memberships      *Administrators
    Global Group memberships     *None
    The command completed successfully.

  • How do I stop Google Account login from opening every time I open a new window?

    Upon start up of Fire Fox or any time I click a link to open a new window or if I am in an application that opens a new window, the Google Account login screen keeps opening in a new tab. How do i stop this?

    Hello,
    This thread is currently unresolved but addresses an identical issue:
    * https://support.mozilla.org/en-US/questions/1030143
    Thank you for using the Troubleshooter extension. Can you try disabling ''FromDocToPDF'', and restarting Firefox to see if that solves it? If it does not, try disabling ''Apollo Sync for Firefox''. Please let us know if one of these extensions is causing the problem so that users experiencing the same issue can quickly resolve theirs.
    EDIT: Looking into ''Apollo Sync'', it seems to use Google Drive so is likely your culprit. You can try disabling this extension, or maintain your cookies for this site so that it keeps you signed in and hopefully then it will stop loading the page.

  • I have iMac osx  version 10.8.5 and i forgot my account login password. i can't change it using my apple ID nor i remember my password.also my fire vault is not on and my keychain won't help. PS i can't also use the terminal idea it always not found.help

    have iMac osx  version 10.8.5 and i forgot my account login password. i can't change it using my apple ID nor i remember my password.also my fire vault is not on and my keychain won't help. PS i can't also use the terminal idea it always not found please help !!

    You need to restart the iMac and hold down the Command and R keys immediately.
    You will then have the utilities drop down and you choose Terminal
    When Terminal opens, type exactly:
    resetpassword
    and press Return.
    When the Reset Password window opens, select the user for which you want to change the password.
    Enter the new password twice, and then click Save.
    Accept the next dialog window,
    And then Apply
    When finished click the apple at the left side of the menu bar, and the Restart.

  • Account login

    On my account login in page, upon turning on the computer, there is an account labeled "other" that I cannot find in accounts under system preferences.  I would like to delete this account, because I'm not sure where it came from, but cannot figure out how to do so.  Any thoughts?

    That's usually the Root account. But it's not easy to enable that without knowing about it.
    There was a thread a little while ago though, where it transpired that the Other account had been added by a third-party application.
    Have you recently installed anything?
    You can check the root account -
    How to disable the root user:
    Mac OS X v10.6 and later
        1.    From the Apple menu choose System Preferences....
        2.    From the View menu choose Accounts.
        3.    Click on the lock and authenticate with an administrator account.
        4.    Click Login Options....
        5.    Click the "Edit..." or "Join..." button at the bottom right
        6.    Click the "Open Directory Utility..." button.
        7.    Click the lock in the Directory Utility window.
        8.    Enter an administrator account name and password, then click OK.
        9.    Choose Disable Root User from the Edit menu.
    I'll see if I can find the thread I mentioned, but don't hold your breath!

  • "account login failed" message when trying to login to SL Server

    Hello,
    I have tried to search the forum, but can't find anything that addresses my problem directly, and hope you might be able to help.
    I work in a school with a mixture of Macs and Windows systems.
    I had a 10.4 server working (on a G5) with Windows only machines (before we got the macs), and have recently updated to an xserve running 10.6. I left the users home folders on the 10.4 server, and demoted it to a Standalone server. I am using the Xserve as an OD Master and Primary Domain Controller. I have created a fresh set of users on the the Xserve using Passenger (using the same short name as previously) and have directed them to their home folder on the 10.4 server. All windows machines can login fine and have access to the to their home folders, but when logging into a Mac they get the "account login failed" message. If I create a home folder for them on the xserve they can log in without problems.
    How can I get the users (when they use the Macs) to get access to their home folder? The client macs are bound to the xserve directory and when I log on as Administer I can connect to the 10.4 server and gain access to the home folders.
    I would be grateful for any ideas, many thanks in advance.

    Hello,
    I have tried to search the forum, but can't find anything that addresses my problem directly, and hope you might be able to help.
    I work in a school with a mixture of Macs and Windows systems.
    I had a 10.4 server working (on a G5) with Windows only machines (before we got the macs), and have recently updated to an xserve running 10.6. I left the users home folders on the 10.4 server, and demoted it to a Standalone server. I am using the Xserve as an OD Master and Primary Domain Controller. I have created a fresh set of users on the the Xserve using Passenger (using the same short name as previously) and have directed them to their home folder on the 10.4 server. All windows machines can login fine and have access to the to their home folders, but when logging into a Mac they get the "account login failed" message. If I create a home folder for them on the xserve they can log in without problems.
    How can I get the users (when they use the Macs) to get access to their home folder? The client macs are bound to the xserve directory and when I log on as Administer I can connect to the 10.4 server and gain access to the home folders.
    I would be grateful for any ideas, many thanks in advance.

  • Future of o2 e-addresses and about o2 account login

    Questions on my mind for quite a while.Would be grateful if someone could throw some light on these: Have Sky Broadband since o2 changed us over. But still use 2 of my old o2 email addresses.....QUESTION 1 - can I keep those forever? if not, will o2 inform us well in advance of them being discontinued?I have the o2 e-addresses set up in Windows Live client (ex Outlook Express), but still login to my o2 account at the o2 website partly because of o2 mobile phone. My o2 account login/username is my old main o2 email address.QUESTION 2 - can that continue as my o2 account login username or will this have to be changed to my sky email address at some stage? and If so - when? and how? I tried the "live chat" route with these queries a while back, but they did not seem to understand, and just kept telling me to contact Sky - which was no help whatsoever. Really hoping my concerns make sense to someone in this community who understands it all and can answer my queries.

    Found this on Sky forum:If you joined Sky from O2 on or before 21 November, you can keep using your existing O2 mailbox for the time being (as well as your new Sky email) but as you have moved to Sky, your O2 inbox storage will be limited to 20MB. If your O2 inbox exceeds this, you will need to remove some emails and stay under this limit to continue to send and receive emails. Transferring contacts and redirecting emails to your other accounts takes no time at all. By following some simple steps Yahoo!, Gmail and Hotmail can be set up to automatically import all of your emails and contacts from your O2 email account and forward any new emails sent to your O2 email account too.If you are joining Sky from O2 on or after 22 November - great news, you are still able to use your O2 email address with a inbox storage size of 1GB (the same as what you had when with O2). When are you active with your Sky services you are also able to set up your own Sky Yahoo! Mail Mailbox with unlimited storage. You'll first need a My Sky account, which you can set up at sky.com/myskyhttp://helpforum.sky.com/t5/Archived-Discussions/Is-Sky-planning-to-shut-down-o2-email-addresses/td-p/1771337

  • I have a macbook pro 15" and my i forgot my account login password

    I forgot my account login password

    Resolution
    Start up from your Mac OS X 10.5 Leopard Install DVD.
    From the Utilities menu, choose Reset Password....
    Reset the password for the affected account(s).
    Mac OS X 10.6- If you forget your administrator password

  • Sign onto two accounts/logins simultaneously?

    Is it possible to sign onto two accounts simultaneously? My need is to be signed onto one computer and be able to simultaneously access my personal account/login, and my business account/login.

    That is fantastic! Thank you. I see that in order to switch from one account to the other a password needs to be entered; obviously because each account requires a password to logon.
    Does a step exists that would allow me to switch between the accounts without entering the password each time?
    Thank you,
    Hugh

  • Suddenly user account login requested, but was newer created (OS X 10.5.6), how to get access again

    suddenly user account login requested, but was newer created (OS X 10.5.6), how to get access again?

    No account ever created, or what?
    If not 1.6 Server, then...
    Reset OS X Password Without an OS X CD...
    http://theappleblog.com/2008/06/22/reset-os-x-password-without-an-os-x-cd/
    Admin Hack...
    http://www.hackmac.org/?q=node/4
    Starts up like the first time you buy a new Mac, but after filling in all that info again, you should have access to the computer and the other Users & files will still be there... give the new User a different name than an existing one.
    http://www.macyourself.com/2009/08/03/how-to-reset-your-mac-os-x-password-withou t-an-installer-disc/

Maybe you are looking for

  • Is this a bug? Document Library view has the wrong 'Show in Folders' option when created from custom site template.

    I have a site with the default document library. I add views to the library, some ask for the items to be shown in folders, some not. I create a site template via the SharePoint UI. I create a new site. In the new site, the library exists, the views

  • Can't airplay movies - icon disappears when movie starts in iTunes

    Hi guys. Had this problem for a little while now. I'm running iTunes 11.4 on Windows 8.1 and an Apple TV in another room. I've had no problems until recently. Anything but movies will play perfectly to the Apple TV. But the second I start a movie, th

  • Create and Remove Enhancement Implementation in WD ABAP!!!

    Hi Experts, I have Created an Enhancement implementation in a standard Web Dynpro ABAP component and added a new view in the component. Now I need to remove this enhancement implementation. Can anybody please suggest how to do it. In normal ABAP code

  • Unicode value of invisibles

    Hi, I have an XML file that contains an invisible, which when imported to Indesign CS turns into a Soft Return. How can I determine the Unicode value of that character in the XML file? Problem being, if I create a new XML file and use "\n" as my Soft

  • Key code valid more then once

    I am wanting to buy the photoshop cs6 and am currently running Microsoft but want to upgrade my laptop by the end of the year to a Mac... Can you only use the keycode once when you purchase it? Should I go and get the new computer now? On that note d