*** Dacosta has quit (Quit: Page closed) | 01:00 | |
*** Dacosta (750352da@gateway/web/freenode/ip.117.3.82.218) has joined #wikid | 01:01 | |
Dacosta | Hi Joe and Vladdy | 01:01 |
---|---|---|
joevano | nhi | 01:11 |
joevano | was waiting for you.. bed time here | 01:11 |
joevano | nick gets here about 2 hours after you sign off for the night | 01:12 |
joevano | here is the url than may help you http://www.wikidsystems.com/downloads/network-clients | 01:12 |
joevano | specifically the section labeled ASP/VB/.net/C# | 01:13 |
joevano | Dacosta: ^^^ | 01:13 |
Dacosta | hi again | 02:35 |
Dacosta | in the WiKIDClient.cs | 02:35 |
Dacosta | private string certificateFileName = "C:\\Path\\To\\Certs\\My Cert.p12"; // Change to your real certificate | 02:36 |
Dacosta | can anyone help me, I don't understand clearly about this Certificate | 02:37 |
Dacosta | Where the certificate come from? | 02:37 |
Dacosta | line 33 | 03:54 |
*** dystie (4a60b03b@gateway/web/freenode/ip.74.96.176.59) has joined #wikid | 04:28 | |
dystie | anyone seen nick lately? his mail is showing delayed. | 04:29 |
dystie | and i'm having issuez. | 04:29 |
*** dystie has quit (Client Quit) | 04:30 | |
Dacosta | it comes from /opt/WiKID/private/localhost.p12 or /opt/WiKID/private/WiKIDCA.cer? | 04:31 |
joevano | not sure... I will find out | 07:23 |
joevano | it may be better to do this through the contact us page of the website | 07:25 |
joevano | you are on the otherside of the world and we are sleeping when you are awake | 07:26 |
joevano | http://www.wikidsystems.com/support/company/contact-us | 07:26 |
joevano | or give us your email address | 07:26 |
Dacosta | Hi joe | 07:45 |
Dacosta | my email is matrixqn@yahoo.com | 07:46 |
Dacosta | thank you very much for your support | 07:46 |
Dacosta | I have downloaded the http://www.wikidsystems.com/webdemo/wClient_windows.3.1.0.zip but cannot find any document | 07:48 |
Dacosta | I would like to integrate with C# web-based application | 07:48 |
Dacosta | hi again | 11:38 |
joevano | Dacosta: hi, just got to work... i will take a look at it and will make sure nick reads up on what I have told you to look at | 12:00 |
joevano | i am sure we will be in contact with you soon | 12:01 |
Dacosta | many many many thanks Joe. | 12:23 |
*** vladdy has quit (Read error: Connection reset by peer) | 12:38 | |
*** vladdy (~vladdy@194.242.5.47) has joined #wikid | 12:43 | |
*** nowen (~nowen@67.211.17.2) has joined #wikid | 12:49 | |
*** vladdy has quit (Ping timeout: 245 seconds) | 12:57 | |
*** vladdy (~vladdy@194.242.5.47) has joined #wikid | 13:01 | |
*** nowen has quit (Quit: Leaving.) | 13:38 | |
Dacosta | good morning | 15:28 |
joevano | morning... nick (nowen) is having network issues at the moment | 15:29 |
joevano | but I will help as much as I can... I am another end user | 15:30 |
joevano | try this one... http://www.wikidsystems.com/webdemo/WiKID-ASP%20page%20examples.zip | 15:32 |
*** nowen (~nowen@67.211.17.2) has joined #wikid | 15:32 | |
joevano | nick... just in time | 15:33 |
joevano | Dacosta just joined the chat about 4 min ago | 15:33 |
joevano | been looking for some help on integrating with a C# app | 15:34 |
nowen | nhmm | 15:34 |
Dacosta | Thank Joe, I have try all but no luck | 15:36 |
Dacosta | :( | 15:36 |
Dacosta | @nowen is Mr. Nick? | 15:37 |
nowen | yes. did you create a network client for your app? | 15:37 |
Dacosta | yes | 15:37 |
Dacosta | IP Address of the network client is the IP of C# web server? | 15:39 |
nowen | then your cert is in /opt/WiKID/private | 15:39 |
nowen | yes | 15:39 |
Dacosta | so I will copy it to windows C# server | 15:41 |
Dacosta | localhost.p12 | 15:42 |
Dacosta | copy file localhost.p12 from WiKID server to windows C# server | 15:42 |
nowen | no, it should be named whatever you named your network client | 15:42 |
Dacosta | oh, I will test now | 15:44 |
Dacosta | what do you recommend protocal for C# authentication? | 15:45 |
Dacosta | WiKID Auth or TACACS+ | 15:45 |
nowen | probably wAuth. | 15:46 |
nowen | that c# package might need some updating though | 15:48 |
Dacosta | System.IO.FileNotFoundException was unhandled by user code Message=Certificate file not found Source=wClient StackTrace: at WiKIDclient.WiKIDSingleton.init(String serverAddress, Int32 serverPort, String certificateFileName, String certPassPhrase) in C:\WiKIDAuth\wClient\wClient\WiKIDClient.cs:line 87 at WiKIDclient.WiKIDSingleton..ctor() in C:\WiKIDAuth\wClient\wClient\WiKIDClient.cs:line 81 at WiKIDclient.Wi | 15:55 |
Dacosta | when I run WiKIDAuthWS.sln | 15:55 |
Dacosta | I get that error | 15:55 |
Dacosta | I run from Visual studio 2010 on Windows 7 | 15:56 |
nowen | I don't know any c#, but it seems like it can't find the file | 15:56 |
Dacosta | I download the Certificate from Network Client | 15:57 |
nowen | yes, but where did you put it and can your code find it? | 15:58 |
Dacosta | and copy to C:\WiKIDAuth\test.p12 | 15:58 |
*** dystie (c7ff5332@gateway/web/freenode/ip.199.255.83.50) has joined #wikid | 16:04 | |
dystie | hey nick | 16:04 |
dystie | around? | 16:04 |
nowen | yes | 16:05 |
dystie | cool | 16:05 |
dystie | so. prereg. :) | 16:05 |
dystie | files are mostly loading ok - although the person helping me had weird yesturday. | 16:06 |
dystie | however i need to know - if I clear the prereg table, does it break tokens provisioned by preregistration? | 16:06 |
dystie | i have situations where people bork their tokens and I have to recreate, and I have to remove them from the prereg table + the registered token table to be able to reprovision them with preregistration | 16:06 |
dystie | does that break everyone who is flagged as *registered* in the prereg table. | 16:06 |
nowen | it shouldn't | 16:07 |
nowen | once someone is registered, they should be fine | 16:07 |
dystie | k. wanted to check since i had someone we'd just done have issues yesturday. | 16:08 |
dystie | i had someone with a weird error I wasn't able ot backtrack (wouldn't complete) - i think that was a prereg code issue, but we sorted him out a different way (submitted code) so I"m not sure what was actually wrong w/ him | 16:08 |
dystie | are there any common issues that it'd be helpful for me to know about? | 16:09 |
nowen | not that I am aware of | 16:09 |
dystie | heh. k. :) | 16:09 |
dystie | alright. thanks for getting back to me; i got 'louder' when your mail bounced. | 16:10 |
nowen | yeah, AT&T is sticking it to us | 16:10 |
dystie | wtf is their issue? | 16:10 |
nowen | third tech will be out today | 16:10 |
nowen | don't know. I can't see how they make any money | 16:10 |
dystie | i'm sure there's some selective monopoly in play here. | 16:11 |
dystie | i would be happy if i could suck at life like that. | 16:11 |
dystie | (well, not really. but i definitely wouldn't *have* to try so hard. | 16:11 |
dystie | hopefully they'll get you back up again soon | 16:12 |
nowen | next appt is at 1 pm, so I have hopes | 16:13 |
nowen | that they can dash | 16:13 |
dystie | awww. :( | 16:13 |
dystie | you could use a 3rd party host. i'm assuming you're doing home-hosting if you're having issues like this. | 16:13 |
dystie | or a lowertier datacenter. or a low commit. | 16:13 |
dystie | hb gary ruined googleapps for me. :( | 16:14 |
nowen | yeah, we haven't put our mail server in the cloud. but this is really making the case | 16:14 |
dystie | i get the itchyness. i hate hosted virtualization a lot. | 16:14 |
nowen | yeah, me too | 16:17 |
Dacosta | I always get the error: Certificate file not found | 16:41 |
Dacosta | :(( | 16:41 |
Dacosta | To use the .NET code (the dll and the webservice asmx), you'll need Visual Studio 2010 (the Express editions of Visual C# and Visual Web Developer will work just fine). Open up the wClient project, change the hardcoded variables to suit your environment, and build the dll. Then open up the WiKIDAuthWS project, remove the existing reference to the wClient dll, add the newly built dll as a reference, rebuild the project, and you shou | 16:41 |
Dacosta | I follow this instruction | 16:42 |
nowen | is it something with file permissions? | 16:42 |
Dacosta | i set full permission for everyone one the WiKIDAuth folder and all sub-folder and files | 16:45 |
Dacosta | I download from the url http://www.wikidsystems.com/webdemo/wClient_windows.3.1.0.zip | 16:45 |
nowen | I mean the files permissions on the cert | 16:46 |
joevano | if it is running under IIS I don't believe IUSR_<machinename> has access to anything other than the application folders | 16:46 |
joevano | i could be wrong though | 16:46 |
Dacosta | I dont run from IIS, I just test and run directly from Visual studio 2010 | 16:47 |
nowen | does visual studio have permissions? | 16:47 |
Dacosta | after unzip file file from my windows 7 32 bit | 16:48 |
Dacosta | i run from an administrator account | 16:48 |
Dacosta | I open the C:\WiKIDAuth\wClient\wClient.sln on Visual | 16:49 |
joevano | ok... here is something to try (look at the answer from SQLSott about halfway down the page) http://bytes.com/topic/net/answers/426145-webservice-permissions | 16:49 |
joevano | SQLScott* | 16:50 |
Dacosta | here is my test with demo code step by step | 16:52 |
Dacosta | First, I download http://www.wikidsystems.com/webdemo/wClient_windows.3.1.0.zip | 16:52 |
Dacosta | unzip, i get the folder named WiKIDAuth | 16:53 |
Dacosta | with three folders named Classic ASP, wClient, WiKIDAuthWS, and a README.TXT | 16:53 |
nowen | ok | 16:54 |
Dacosta | I copy WiKIDAuth folder to C:\ | 16:54 |
Dacosta | Then I open C:\WiKIDAuth\wClient\wClient.sln | 16:55 |
Dacosta | with Visual | 16:55 |
Dacosta | var certificate = "C:\WiKIDAuth\WebServer.p12"; var passphrase = "test123"; | 16:56 |
Dacosta | with the WebServer.p12 is downloaded from Network Client | 16:56 |
Dacosta | change var wc = Server.CreateObject("WiKID.wClient"); var ret = wc.Init(certificate, passphrase, "192.168.1.11", 8388); | 16:57 |
Dacosta | var wc = Server.CreateObject("WiKID.wClient"); var ret = wc.Init("C:\WiKIDAuth\WebServer.p12", "test123", "192.168.1.11", 8388); | 16:57 |
Dacosta | then I Build Solution | 16:58 |
Dacosta | Next, I open C:\WiKIDAuth\WiKIDAuthWS\WiKIDAuthWS.sln | 16:58 |
Dacosta | with Visual Studio 2010 | 16:59 |
nowen | C:\WiKIDAuth\test.p12 or C:\WiKIDAuth\WebServer.p12 ? | 16:59 |
Dacosta | C:\WiKIDAuth\WebServer.p12 | 17:00 |
Dacosta | I have deleted all privious, then create WebServer.p12 for re-test | 17:00 |
nowen | can you post the entire error to pastebin.org for me? | 17:01 |
Dacosta | In the file WebService1.asmx, I change to Return wc.CheckCredentials(User, Pass, "192168001011") | 17:03 |
Dacosta | then Build | 17:03 |
Dacosta | then start debuging | 17:03 |
Dacosta | it opens http://localhost:1243/WebService1.asmx | 17:04 |
Dacosta | I click Hello world link | 17:04 |
Dacosta | then click Invoke | 17:04 |
Dacosta | I got the error at line: X509Certificate2 certificate = new X509Certificate2(certificateFileName, certPassPhrase, X509KeyStorageFlags.MachineKeySet); | 17:05 |
Dacosta | http://pastebin.com/YYQXk8mk | 17:06 |
Dacosta | here is the error | 17:06 |
Dacosta | Can you check what I am wrong | 17:07 |
nowen | can you also post your WiKIDClient.cs? | 17:09 |
nowen | did you edit that file? | 17:10 |
Dacosta | I will post now | 17:10 |
Dacosta | http://pastebin.com/HB7BEiU3 | 17:14 |
Dacosta | here is the WiKIDClient.cs | 17:14 |
Dacosta | I just change: #region local variables private string serverAddress = "192.168.1.11"; // Change to the real address of your WiKID Server private int serverPort = 8388; // 8388 is the default port number private string certificateFileName = "C:\\WiKID\\WebServer.p12"; // Change to your real certificate private string certPassPhrase = "test123"; // You did write it down, didn't you? | 17:15 |
Dacosta | 192.168.1.11 is the WiKID server | 17:15 |
nowen | did you update the reference to the dll? | 17:16 |
nowen | brb - at&t guy is here | 17:16 |
Dacosta | how can i update the reference to the dll? | 17:18 |
Dacosta | the same error | 17:25 |
Dacosta | from the Solution Explorer, right-click on WiKIDAuthWS => Properties | 17:26 |
Dacosta | References and remove the wClient.dll, then add again | 17:27 |
Dacosta | still get the same problem | 17:27 |
Dacosta | :(( | 17:27 |
Dacosta | I have public my WiKID Server at 117.3.86.241 | 17:32 |
Dacosta | username: WiKIDAdmin | 17:33 |
Dacosta | Pass: 2Factor | 17:33 |
Dacosta | Can you check with the demo code http://www.wikidsystems.com/webdemo/wClient_windows.3.1.0.zip | 17:34 |
Dacosta | check from your PC, Mr. Nick? | 17:34 |
Dacosta | https://117.3.86.241/WiKIDAdmin/ | 17:34 |
Dacosta | WiKIDAdmin/2Factor | 17:35 |
Dacosta | Can you help me, please Mr. Nick? | 17:36 |
nowen | Dacosta: the readme text says to remove the reference to the dll and then re-register it | 17:47 |
nowen | this code was not written by us, it was contributed under an open source license | 17:47 |
nowen | we don | 17:47 |
nowen | we don't have anyone here that knows c# | 17:48 |
Dacosta | Hixhi, I will try and try until success | 17:51 |
nowen | do you know java? | 17:52 |
Dacosta | Hixhix, I dont know java | 18:00 |
nowen | python? | 18:03 |
Dacosta | Hixhix, I only know C# because my specialist is network, server, and security | 18:08 |
Dacosta | network, system, and security | 18:09 |
Dacosta | I will continute tomorrow | 18:10 |
Dacosta | Thank you very much, Mr. Nick | 18:10 |
Dacosta | you are very nice guy | 18:10 |
*** Dacosta has quit (Quit: Page closed) | 18:12 | |
*** dystie has quit (Quit: Page closed) | 18:26 | |
*** a10warty (4442acaf@gateway/web/freenode/ip.68.66.172.175) has joined #wikid | 20:56 | |
a10warty | Has anyone had any issues or success with using WiKID/2008 R2 Active Directory | 20:57 |
a10warty | I am getting the error "ldap_simple_bind" failure, and am wondering if anyone knows the location of some good documentation? | 20:58 |
nowen | what are you trying to do? | 20:59 |
a10warty | Have the client 'Red Hat' use two factor with Microsoft Active Directory | 20:59 |
nowen | what's the Red Hat client? ssh? | 21:00 |
a10warty | nvm...looks like I broke the domain controller...I will need to fix that, and then I will be back on. | 21:01 |
a10warty | thx | 21:01 |
nowen | ok - this is the place for questions. ;) | 21:02 |
*** a10warty has quit (Ping timeout: 245 seconds) | 21:05 | |
joevano | hehe | 21:57 |
nowen | ;-) | 22:07 |
nowen | ok - I am out of here. at&t still isn't giving me any love. | 22:18 |
nowen | I should be full-time again tomorrow. thanks for your help joevano | 22:19 |
*** nowen has parted #wikid (None) | 22:19 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!