DAP LUA match ipad device unique id to cert
Hi,
I am trying to configure a DAP policy using LUA to perform a check that a cert has not been moved. I cert has been configured to store the ipads device unique id in the subject cn field, which i have verified on the device. I have configured the following LUA statement but i am not getting a match:
EVAL(endpoint.anyconnect.deviceuniqueid, "NE", endpoint.certificate.user[“0”].subject_cn, "caseless")
Is this check posssible with ipads?
Thank you.
So in the end I had the same problem with this script. Never really fixed it but did workaround with that script by making local match_valueX for X number of certs you think folks will have in the their store. So most people won't have 64....but really you could cut and paste to any number you like.
assert(function()
local match_pattern = endpoint.device.hostname..".domain.com"
local match_value0 = endpoint.certificate.user["0"].subject_cn
local match_value1 = endpoint.certificate.user["1"].subject_cn
local match_value2 = endpoint.certificate.user["2"].subject_cn
if match_pattern==match_value0 then
return true
elseif match_pattern==match_value1 then
return true
elseif match_pattern==match_value2 then
return true
else
return false
end
end ) ()
Another option is to do a username to mapping from certificate script that simply
returns cert.subject.cn "/" cert.subject.ou (where the UDID was populated)
And the use a DAP to parse to verify anyconnect deviceuniqueid and aaa.cisco.username match (ie the UDID from anyconnect and what is in the cert)
assert function ()
local match_pattern = endpoint.anyconnect.deviceuniqueid
local match_value = aaa.cisco.username
if (type(match_value) == "string") then
if (string.find(match_value, match_pattern) ~= nil) then
return false
end
elseif (type(match_value) == "table") then
local k,v
for k,v in pairs(match_value) do
if (string.find(v, match_pattern) ~= nil) then
return false
end
end
end
return true
end) ()
Similar Messages
-
I am having trouble synching all 1700 songs that I just put into iTunes Music Match onto my iPod Classic device. It worked on my iTouch and iPad devices but not the Classic. How do I transfer the music successfully
It should sync the same if the songs are the same. You can try:
- Unsyncing all music and resysncing
- Restoring the iPod
BTW, yo posted in the iPod touch forum -
I have one apple ID for both my Iphone 4S and Ipad. My Ipad was stolen from me and when I checked the iCloud, it can only locate the Iphone 4S. How can I locate the Ipad device?
Welcome to the Apple Community.
You can only locate your device when it is logged into iCloud and 'Find My Phone' is enabled, additionally the device will need to be switched on and connected to a wifi or cellular network.
Unfortunately, you cannot activate iCloud or 'Find My Phone' remotely. -
My passcode does not work on my ipad device. what are my options?
How do I reset my passcode on my iPad device?
Hello eleemichel,
If you cannot access your iPad because the passcode is not being accepted, then what you would have to do is restore your iPad. To do that, take a look at the article below to walk you through it. It may come down to putting your iPad into recovery mode and then you should be able to use iTunes to restore it. If you have a back up in iTunes or iCloud, then you can put that data back on after the restore is complete and it will not bring back the passcode unless the back up was encrypted in iTunes.
iOS: Forgot passcode or device disabled
http://support.apple.com/kb/ht1212
Regards,
-Norm G. -
If I download a song, album or playlist from iCloud to an iTunes Match enable device, can I delete the download at a later date if I need to free up memory on the device?
Hi,
Yes.
JIm -
How can I delete a song from my itunes library which I downloaded to my Ipad device?
I accidentally downloaded a song to the Ipad device from the cloud (from my Itunes library). Can I delete this one song?
I do have a very a very same question:
I attach my iPad to my computer and open iTunes. Then I click on "iPad" (right upper corner).
When I click on Music on the top line I don't see my music titles but only the list of iTunes albums I may want to synchronize.
When I click on "On this iPad", I'm getting all music titles on the iPad. When I right-click on an item I'm getting "Play this music / Information / Wertung / show in iTunes store / show in playlist" (or so. I'm using a German version of iTunes). However nowhere do I get the option of Delete this music title. Please, how can I delete titles or albums from the iPad? Thanks in advance! -
Mac pro does not recognize ipad device when connected via usb port, suggestions?
mac pro running os 10.6.8 does not recognize ipad device when connected via usb port, suggestions? itunes 10.7
Here's a troubleshooting assistant: http://www.apple.com/support/ipad/assistant/itunes/
The most likely issue: Have you plugged your iPad into a USB port that is not directly part of your MacBook Pro? -
How do I send am iMessage to a friend that has an iPad device? She is in my contacts but when I enter her name it won't work. (*note she has no other apple devices.)
Has she registered her e-mail address and/or phone number with iMessage? Are you using the same one that she registered?
She should open Settings > iMessage and make sure that it's set up. -
I can browse the web but when I go to play video or you tube it will start stop over and over almost like it is buffering could this be the router all other non iPad devices work
How are you trying to play them, in the iTunes store or the Music and Videos apps ? Downloaded and synced music and videos should be in the Music and Videos apps, and you can stop content that is only in the cloud from showing in them via Settings > iTunes & App Store > Music and Videos 'off' (under the 'show all' heading).
If you don't have your music and films/TV shows in those two apps then you should be able to download them into those apps via the Purchased tab in the iTunes store app. -
I have only 1 ipad device, can I create 2 icloud accounts for the same ipad?
I have only 1 ipad device, can I create 2 icloud accounts for the same ipad?
Of course.
To create the first iCloud account, open Settings > iCloud, type your Apple ID and follow the steps to set up iCloud.
Then, to add a second iCloud account, open Settings > Mail, Contacts & Calendars > Add Account > iCloud, type the second Apple ID and set up iCloud for this Apple ID.
Note that one iCloud account will work as the primary account and the other one as the secondary account. See > http://support.apple.com/kb/TS4020 -
i developed app in mac 10.6.8 with xcode 3.2.6.how can i run this app in ipad device
actually i planned to get provisioning profiles from apple by paying 99$ in following website
https://developer.apple.com/programs/start/ios/ and followed by
https://developer.apple.com/programs/start/standard/.
but in last link,following thing were mentioned at bottom -
Technical Requirements
You must have an Intel-based Mac running OS X 10.8 Mountain Lion or later to develop and distribute iOS apps and Mac apps.
but i\m using mac running OS X 10.6.8 snow leopard.
Doubt:can't i run my app in ipad device?\
Thank's in advance.. -
What is the ipad device id?
If this is a developer questoin, you need to go here... http://developer.apple.com/
If not, it's likely the name you give the iPad in iTunes. -
If I make update to my apps, it needs a password for another Apple ID. I want to delete all another IDs except my ID in my iPad device, how?
Tap Settings > General > Reset > Reset All Settings
Same reset helped here > https://discussions.apple.com/message/20016074#20016074
Hopefully it will work for you. -
I'm on the Edge program with the iPhone 5s, and my original contract states that after half of the phone is paid off I can "edge" up. It's half paid off, but when I try to upgrade (to iPhone 6+), I get this message: "This device does not match the device ID on your original Edge Agreement.Please activate the original device". This is the original device. I've never had a replacement, and I originally purchased this phone (the 5s) and a verizon corporate store. Help?
Kphilbrick9,
That's very strange to hear! I've seen similar error messages in the past when a device was replaced or swapped out for some reason. Has your iPhone 5s been replaced or swapped since you originally got it via an Edge Agreement?
SarahO_VZW
Follow us on Twitter @VZWSupport -
So only a few bucks left for the edge upgrade, decided to edge up since it gave me the option to do so, I figure why not?
Process seems to go fine until i'm in the checkout for a new device.
Tosses 'This device does not match the device ID on your original Edge Agreement. ' at me, but it's really strange because I'm using the phone I got direct from Verizon, haven't switched phones or anything.
Has anyone had this issue before?Toxicle,
I can understand how something like this can be concerning. Let's work to get to the bottom of this for you. What kind of phone were you Edging up from? Has the phone ever been replaced or removed temporarily? Just want to make sure we are getting all the facts to help with this issue.
CandiceH_VZW
Follow us on Twitter at @VZWSupport
Maybe you are looking for
-
Update PS CC stalling at "99% complete"
After trying to update PS CC, the computer is stalling at "99% complete" with the message "Update Progress - Currently Updating Adobe CSXS Infrastructure 4..." My system is Windows 7 Soren
-
HI i am planning to upgrade oracle RAC DB and clusterware from 11.2.0.1 to 11.2.0.3 a little about my existing architecture EBS 12.1.3 on 2 node application tier and 2 node RAC DB OS RHEL 5 64-bit please help me on its documentation as i am not able
-
External Hard Disk not showing up on Finder
Hi My HP Pocket Media Drive (USB), when plugged into my MacBook, does not show up on the Finder, even though it shows up on System Profiler. It only shows up on Disk Utility in certain occasions (such as after shutting down and starting up again). I
-
Can't Find File/Dir info Error 3 :: 30 and (-43)
Please help me with this issue. There's very little previous mention anywhere about this sort of problem. I'm trying to open an After Effects file that I haven't opened in a while, and the footage I used in the project has since been deleted. When I
-
How to unlock a carrier locked iPad 1?
I have a iPad that was bought on contract on Orange. I have a 3 sim and when I try it, I get a message in iTunes "The Sim card inserted in this iPad does not appear to be supported" I am guessing it is carrier locked, I have found a few people on the