Tuesday, 2012-10-16

*** Dacosta has quit (Quit: Page closed)01:00
*** Dacosta (750352da@gateway/web/freenode/ip.117.3.82.218) has joined #wikid01:01
DacostaHi Joe and Vladdy01:01
joevanonhi01:11
joevanowas waiting for you.. bed time here01:11
joevanonick gets here about 2 hours after you sign off for the night01:12
joevanohere is the url than may help you  http://www.wikidsystems.com/downloads/network-clients01:12
joevano specifically the section labeled ASP/VB/.net/C#01:13
joevanoDacosta: ^^^01:13
Dacostahi again02:35
Dacostain the WiKIDClient.cs02:35
Dacostaprivate string certificateFileName = "C:\\Path\\To\\Certs\\My Cert.p12"; // Change to your real certificate02:36
Dacostacan anyone help me, I don't understand clearly about this Certificate02:37
DacostaWhere the certificate come from?02:37
Dacostaline 3303:54
*** dystie (4a60b03b@gateway/web/freenode/ip.74.96.176.59) has joined #wikid04:28
dystieanyone seen nick lately?  his mail is showing delayed.04:29
dystieand i'm having issuez.04:29
*** dystie has quit (Client Quit)04:30
Dacostait comes from /opt/WiKID/private/localhost.p12 or /opt/WiKID/private/WiKIDCA.cer?04:31
joevanonot sure... I will find out07:23
joevanoit may be better to do this through the contact us page of the website07:25
joevanoyou are on the otherside of the world and we are sleeping when you are awake07:26
joevanohttp://www.wikidsystems.com/support/company/contact-us07:26
joevanoor give us your email address07:26
DacostaHi joe07:45
Dacostamy email is matrixqn@yahoo.com07:46
Dacostathank you very much for your support07:46
DacostaI have downloaded the http://www.wikidsystems.com/webdemo/wClient_windows.3.1.0.zip but cannot find any document07:48
DacostaI would like to integrate with C# web-based application07:48
Dacostahi again11:38
joevanoDacosta: 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 at12:00
joevanoi am sure we will be in contact with you soon12:01
Dacostamany 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 #wikid12:43
*** nowen (~nowen@67.211.17.2) has joined #wikid12:49
*** vladdy has quit (Ping timeout: 245 seconds)12:57
*** vladdy (~vladdy@194.242.5.47) has joined #wikid13:01
*** nowen has quit (Quit: Leaving.)13:38
Dacostagood morning15:28
joevanomorning... nick (nowen) is having network issues at the moment15:29
joevanobut I will help as much as I can... I am another end user15:30
joevanotry this one... http://www.wikidsystems.com/webdemo/WiKID-ASP%20page%20examples.zip15:32
*** nowen (~nowen@67.211.17.2) has joined #wikid15:32
joevanonick... just in time15:33
joevanoDacosta just joined the chat about 4 min ago15:33
joevanobeen looking for some help on integrating with a C# app15:34
nowennhmm15:34
DacostaThank Joe, I have try all but no luck15:36
Dacosta:(15:36
Dacosta@nowen is Mr. Nick?15:37
nowenyes.  did you create a network client for your app?15:37
Dacostayes15:37
DacostaIP Address of the network client is the IP of C# web server?15:39
nowenthen your cert is in /opt/WiKID/private15:39
nowenyes15:39
Dacostaso I will copy it to windows C# server15:41
Dacostalocalhost.p1215:42
Dacostacopy file localhost.p12 from WiKID server to windows C# server15:42
nowenno, it should be named whatever you named your network client15:42
Dacostaoh, I will test now15:44
Dacostawhat do you recommend protocal for C# authentication?15:45
DacostaWiKID Auth or TACACS+15:45
nowenprobably wAuth.15:46
nowenthat c# package might need some updating though15:48
DacostaSystem.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.Wi15:55
Dacostawhen I run WiKIDAuthWS.sln15:55
DacostaI get that error15:55
DacostaI run from Visual studio 2010 on Windows 715:56
nowenI don't know any c#,  but it seems like it can't find the file15:56
DacostaI download the Certificate from Network Client15:57
nowenyes, but where did you put it and can your code find it?15:58
Dacostaand copy to C:\WiKIDAuth\test.p1215:58
*** dystie (c7ff5332@gateway/web/freenode/ip.199.255.83.50) has joined #wikid16:04
dystiehey nick16:04
dystiearound?16:04
nowenyes16:05
dystiecool16:05
dystieso.  prereg.  :)16:05
dystiefiles are mostly loading ok - although the person helping me had weird yesturday.16:06
dystiehowever i need to know - if I clear the prereg table, does it break tokens provisioned by preregistration?16:06
dystiei 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 preregistration16:06
dystiedoes that break everyone who is flagged as *registered* in the prereg table.16:06
nowenit shouldn't16:07
nowenonce someone is registered, they should be fine16:07
dystiek.  wanted to check since i had someone we'd just done have issues yesturday.16:08
dystiei 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/ him16:08
dystieare there any common issues that it'd be helpful for me to know about?16:09
nowennot that I am aware of16:09
dystieheh. k.  :)16:09
dystiealright.  thanks for getting back to me;  i got 'louder' when your mail bounced.16:10
nowenyeah, AT&T is sticking it to us16:10
dystiewtf is their issue?16:10
nowenthird tech will be out today16:10
nowendon't know.  I can't see how they make any money16:10
dystiei'm sure there's some selective monopoly in play here.16:11
dystiei 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
dystiehopefully they'll get you back up again soon16:12
nowennext appt is at 1 pm, so I have hopes16:13
nowenthat they can dash16:13
dystieawww.  :(16:13
dystieyou could use a 3rd party host. i'm assuming you're doing home-hosting if you're having issues like this.16:13
dystieor a lowertier datacenter. or a low commit.16:13
dystiehb gary ruined googleapps for me.  :(16:14
nowenyeah, we haven't put our mail server in the cloud. but this is really making the case16:14
dystiei get the itchyness.  i hate hosted virtualization a lot.16:14
nowenyeah, me too16:17
DacostaI always get the error: Certificate file not found16:41
Dacosta:((16:41
DacostaTo 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 shou16:41
DacostaI follow this instruction16:42
nowenis it something with file permissions?16:42
Dacostai set full permission for everyone one the WiKIDAuth folder and all sub-folder and files16:45
DacostaI download from the url http://www.wikidsystems.com/webdemo/wClient_windows.3.1.0.zip16:45
nowenI mean the files permissions on the cert16:46
joevanoif it is running under IIS I don't believe IUSR_<machinename> has access to anything other than the application folders16:46
joevanoi could be wrong though16:46
DacostaI dont run from IIS, I just test and run directly from Visual studio 201016:47
nowendoes visual studio have permissions?16:47
Dacostaafter unzip file file from my windows 7 32 bit16:48
Dacostai run from an administrator account16:48
DacostaI open the C:\WiKIDAuth\wClient\wClient.sln on Visual16:49
joevanook... here is something to try (look at the answer from SQLSott about halfway down the page) http://bytes.com/topic/net/answers/426145-webservice-permissions16:49
joevanoSQLScott*16:50
Dacostahere is my test with demo code step by step16:52
DacostaFirst, I download http://www.wikidsystems.com/webdemo/wClient_windows.3.1.0.zip16:52
Dacostaunzip, i get the folder named WiKIDAuth16:53
Dacostawith three folders named Classic ASP, wClient, WiKIDAuthWS, and a README.TXT16:53
nowenok16:54
DacostaI copy WiKIDAuth folder to C:\16:54
DacostaThen I open C:\WiKIDAuth\wClient\wClient.sln16:55
Dacostawith Visual16:55
Dacostavar certificate = "C:\WiKIDAuth\WebServer.p12";     var passphrase = "test123";16:56
Dacostawith the WebServer.p12 is downloaded from Network Client16:56
Dacostachange var wc = Server.CreateObject("WiKID.wClient"); var ret = wc.Init(certificate, passphrase, "192.168.1.11", 8388);16:57
Dacostavar wc = Server.CreateObject("WiKID.wClient"); var ret = wc.Init("C:\WiKIDAuth\WebServer.p12", "test123", "192.168.1.11", 8388);16:57
Dacostathen I Build Solution16:58
DacostaNext, I open C:\WiKIDAuth\WiKIDAuthWS\WiKIDAuthWS.sln16:58
Dacostawith Visual Studio 201016:59
nowen C:\WiKIDAuth\test.p12 or C:\WiKIDAuth\WebServer.p12 ?16:59
DacostaC:\WiKIDAuth\WebServer.p1217:00
DacostaI have deleted all privious, then create WebServer.p12 for re-test17:00
nowencan you post the entire error to pastebin.org for me?17:01
DacostaIn the file WebService1.asmx, I change to Return wc.CheckCredentials(User, Pass, "192168001011")17:03
Dacostathen Build17:03
Dacostathen start debuging17:03
Dacostait opens http://localhost:1243/WebService1.asmx17:04
DacostaI click Hello world link17:04
Dacostathen click Invoke17:04
DacostaI got the error at line: X509Certificate2 certificate = new X509Certificate2(certificateFileName, certPassPhrase, X509KeyStorageFlags.MachineKeySet);17:05
Dacostahttp://pastebin.com/YYQXk8mk17:06
Dacostahere is the error17:06
DacostaCan you check what I am wrong17:07
nowencan you also post your WiKIDClient.cs?17:09
nowendid you edit that file?17:10
DacostaI will post now17:10
Dacostahttp://pastebin.com/HB7BEiU317:14
Dacostahere is the WiKIDClient.cs17:14
DacostaI 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
Dacosta192.168.1.11 is the WiKID server17:15
nowendid you update the reference to the dll?17:16
nowenbrb - at&t guy is here17:16
Dacostahow can i update the reference to the dll?17:18
Dacostathe same error17:25
Dacostafrom the Solution Explorer, right-click on WiKIDAuthWS => Properties17:26
DacostaReferences and remove the wClient.dll, then add again17:27
Dacostastill get the same problem17:27
Dacosta:((17:27
DacostaI have public my WiKID Server at 117.3.86.24117:32
Dacostausername: WiKIDAdmin17:33
DacostaPass: 2Factor17:33
DacostaCan you check with the demo code http://www.wikidsystems.com/webdemo/wClient_windows.3.1.0.zip17:34
Dacostacheck from your PC, Mr. Nick?17:34
Dacostahttps://117.3.86.241/WiKIDAdmin/17:34
DacostaWiKIDAdmin/2Factor17:35
DacostaCan you help me, please Mr. Nick?17:36
nowenDacosta: the readme text says to remove the reference to the dll and then re-register it17:47
nowenthis code was not written by us, it was contributed under an open source license17:47
nowenwe don17:47
nowenwe don't have anyone here that knows c#17:48
DacostaHixhi, I will try and try until success17:51
nowendo you know java?17:52
DacostaHixhix, I dont know java18:00
nowenpython?18:03
DacostaHixhix, I only know C# because my specialist is network, server, and security18:08
Dacostanetwork, system, and security18:09
DacostaI will continute tomorrow18:10
DacostaThank you very much, Mr. Nick18:10
Dacostayou are very nice guy18: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 #wikid20:56
a10wartyHas anyone had any issues or success with using WiKID/2008 R2 Active Directory20:57
a10wartyI am getting the error "ldap_simple_bind" failure, and am wondering if anyone knows the location of some good documentation?20:58
nowenwhat are you trying to do?20:59
a10wartyHave the client 'Red Hat' use two factor with Microsoft Active Directory20:59
nowenwhat's the Red Hat client?  ssh?21:00
a10wartynvm...looks like I broke the domain controller...I will need to fix that, and then I will be back on.21:01
a10wartythx21:01
nowenok - this is the place for questions. ;)21:02
*** a10warty has quit (Ping timeout: 245 seconds)21:05
joevanohehe21:57
nowen;-)22:07
nowenok - I am out of here. at&t still isn't giving me any love.22:18
nowenI should be full-time again tomorrow. thanks for your help joevano22:19
*** nowen has parted #wikid (None)22:19

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!