Re: [twsocket] Simple NTLM question

2006-09-13 Thread Fastream Technologies
I also did not understand why you made USE_NTLM_AUTH deifne! I do not like defines much as they decrease the readability of the code! Let's remove it IMO. All the browsers support NTLM now and it should be a property's job to select which AUTH_TYPE to use. Regards, SZ - Original Message

Re: [twsocket] Simple NTLM question

2006-09-13 Thread Fastream Technologies
Where is the domain information in, AuthNtlmSession-OnBeforeValidate = AuthNtlmSessionBeforeValidate; ? Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, September 12, 2006 7:27 PM Subject: Re: [twsocket]

Re: [twsocket] Simple NTLM question

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: Where is the domain information in, AuthNtlmSession-OnBeforeValidate = AuthNtlmSessionBeforeValidate; Property AuthNtlmSession.Domain ? Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing

[twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: It is a bit strange design for me, I would pass the domain as a var const parameter. That's why I hesitated. Because the sole purpose of the event is to pass the domain and wait for input. Sorry I cannot follow, the sole purpose of the event is to be able to

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: It does not ask for domain then! BTW: Not all browsers provide a domain field in their auth-dialog! There's a boolean var Allow, set it to FALSE in order to reject the user. I thought this would look like a NT- log on screen!! How does it understand which

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
- Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, September 13, 2006 11:29 AM Subject: Re: [twsocket] Fw: Urgent (Another simple NTLM question) : Fastream Technologies wrote: : It does not ask for domain then! : :

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, September 13, 2006 11:29 AM Subject: Re: [twsocket] Fw: Urgent (Another simple NTLM question) Fastream Technologies wrote: It does

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Please reply my private messages as well. Thanks, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, September 13, 2006 12:01 PM Subject: Re: [twsocket] Fw: Urgent (Another simple NTLM question) : Fastream

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: Please reply my private messages as well. This is plenty of C code, and I have to do my work as well! I'll take a look at it later. Thanks, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
C and Pascal are close relatives and the code is not complex since you know the Pascal-correspondent. I know you are a busy coder but please give high priority for this. I really do not see where the C++ conversion mistake is. It simply does not ask for NTLM-domain information!! Regards, SZ

[twsocket] Fw: bytes lost with PUT FTP

2006-09-13 Thread Arnold FLUTEAUX
Ok sorry sorry ! I’ve found my error. I’ve put a processmessage in « progress » event. Thanks. _ De : Arnold FLUTEAUX [mailto:[EMAIL PROTECTED] Envoyé : mercredi 13 septembre 2006 11:22 À : 'twsocket@elists.org' Objet : Re: [twsocket] bytes lost with PUT FTP I’ve checked side

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Arno, I just tried with your demo.html and it gives the same problem! Please refine your code under BCB personality (perhaps that's related?). It gives no compile time error--just does not let it authenticate! Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To:

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Ok. Your demo worked fine with the SECURITY_WIN32 trick YET it still does not work under Firefox. Please test it under Firefox as well! Best Regards, SZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday,

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: C and Pascal are close relatives and the code is not complex since you know the Pascal-correspondent. I know you are a busy coder but please give high priority for this. I really do not see where the C++ conversion mistake is. It simply does not ask for NTLM-domain

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: Ok. Your demo worked fine with the SECURITY_WIN32 trick YET it still does not work under Firefox. Please test it under Firefox as well! Works fine with Gecko/20060728 Firefox/1.5.0.6. However their are plenty of different versions available, probably some of them

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Also, in IE, as Francois said, it auto logs in to a domain. Where is the selection? Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, September 13, 2006 1:50 PM Subject: Re: [twsocket] Fw: Urgent (Another

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: Please check my private message. Your EXE works fine using Firefox/1.5.0.6! Rgrds, SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
I also tested with FF/1.5.0.6! Something's wrong somewhere! - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, September 13, 2006 2:15 PM Subject: Re: [twsocket] Fw: Urgent (Another simple NTLM question) : Fastream

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: I also tested with FF/1.5.0.6! Something's wrong somewhere! BTW: In FF you may enter a user name like Host\User, though this is most likely not the problem here. - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing

[twsocket] Documenttation effort

2006-09-13 Thread Francois Piette
Currently we have two new writers for http://wiki.overbyte.be : - Markus Humm - Ken Bradford They are actively enhancing the wiki. Big thank to them and all other writers. Anyone else willing to write into the wiki ? No need to know everything. There is work for all level of knowledge.

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Hello Arno and Everybody, Could you look at this screenshot carefully: http://www.fastream.com/ics/arnoscreenshot.png. This is Arno's demo compiled with BCB2k6 and running on a Windows XP Pro with no domain controller and just a work group. It does not let me authenticate and there is no

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: Hello Arno and Everybody, Could you look at this screenshot carefully: http://www.fastream.com/ics/arnoscreenshot.png. This is Arno's demo compiled with BCB2k6 and running on a Windows XP Pro with no domain controller and just a work group. It does not let

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Did you try a non-80 port? Maybe that requires a domain in the header? - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, September 13, 2006 4:36 PM Subject: Re: [twsocket] Fw: Urgent (Another simple NTLM question) :

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Here is what we are talking about with Arno for others: http://www.fastream.com/ics/OverbyteIcsWebServBCB.zip (includes exe, 412KB) Use the URL: http://localhost/demo.html Best Regards, SZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: Did you try a non-80 port? No I haven't, have you tried the standard port? Maybe that requires a domain in the header? - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, September

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Ok. It is not related with port. One idea: my Windows username includes a space. Could this matter? Should there be made any encoding/decoding? Best Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday,

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: Ok. It is not related with port. One idea: my Windows username includes a space. Could this matter? Why don't you create a new account w/o a space and try that out by yourself? I created one including a space as well as including German spezific characters above

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
I created an admin user with the name a and no password still no luck! :( Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, September 13, 2006 5:10 PM Subject: Re: [twsocket] Fw: Urgent (Another simple

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: I created an admin user with the name a and no password still no luck! :( My test user has just limited privileges (User), it also works fine when I run the server just as User with limited privileges. Regards, SZ - Original Message - From: Arno

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: Hello Arno and Francois, I cannot debug Arno's demo: It stops at breakpoints but does not let me inspect: AFAIK it's not possible to do that, and BTW I don't believe your problem has to do with the ICS server. IE works for you, right? You may try Netscape as

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Hello, In this site: http://www.innovation.ch/personal/ronald/ntlm.html the domain names (both the HTTP and NTLM domains) are said to be transmitted in the base64 encoding msgs. Could you check this out? I do not believe the empty domain implementation is correct!! Regards, SZ -

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: I do not believe the empty domain implementation is correct!! What do you mean by that? A missing Domain HTTP header field? At least in my environment both IE as IIS do not sent any HTTP Domain header. AND M$ invented NTLM, it is undocumented. Regards, SZ

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: as (null). That needs to be fixed. At least localhost or 127.0.0.1 should be displayed there. Ask the FireFox developer to fix it. - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent:

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
I mean the base64 message not the HTTP header. Again, I think there is a misunderstanding. Yes that's what the page says and I mean: the msg contains the domain BUT in your code, the FF displays domain as (null). That needs to be fixed. At least localhost or 127.0.0.1 should be displayed

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Ok, thank you for tolerating my insistence. I am trying to understand. There is just one issue left: under IE6XP, when I log in, I am not asked of any NTLM-domain name! And assuming that it is like IE-FTP client, I cannot find the log in change option in any menu! Does anybody know the logic

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: Ok, thank you for tolerating my insistence. I am trying to understand. There is just one issue left: under IE6XP, when I log in, I am not asked of any NTLM-domain name! Because there's no Domain information anywhere, The server just sends HTTP header

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Ok but let's say the server is running on multiple domains using a domain controller. At simplest, a normal domain and the local domain. How does the client decides which one of them to log on to? And why don't you fill in the domain field in the NTLM msg 1? Regards, SZ - Original

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Stadin, Benjamin
Normally you won't have a reason to use another domain, the server appplication uses the domain of the user account it is running with. Make sure your application is running with the domain account you want to use AND sufficent privileges (needed to query the user database). You have to give a

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Thank you for the explanation Benjamin! I got it now. BTW, one note for others: Opera does not support NTLM. :( - Original Message - From: Stadin, Benjamin [EMAIL PROTECTED] To: twsocket@elists.org Sent: Wednesday, September 13, 2006 7:38 PM Subject: Re: [twsocket] Fw: Urgent (Another

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: Ok but let's say the server is running on multiple domains using a domain controller. Then I guess that the default authenticating authority will be the DC, someone needs to test that, anybody out there with a domain environment? At simplest, a normal domain

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Arno, You have the option to enter the NTLM domain name in msg1 of NTLM (base64 encoded). That's what I mean. Second, I still cannot get the FF to work. I believe this is an issue at least some customers would complain if I deploy now, wrong? Regards, SZ - Original Message - From:

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Maurizio Lotauro
Scrive Fastream Technologies [EMAIL PROTECTED]: I think there is a misundestanding. Yes that's what the page says and I mean: the msg contains the domain BUT in your code, the FF displays domain as (null). That needs to be fixed. At least localhost or 127.0.0.1 should be displayed there.

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Arno Garrels
Fastream Technologies wrote: Arno, You have the option to enter the NTLM domain name in msg1 of NTLM (base64 encoded). That's what I mean. Again: NTLM message 1 is sent by the the client/browser!! Second, I still cannot get the FF to work. I believe this is an issue at least some

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Ok. I am trying to understand why the FF does not work... - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, September 13, 2006 8:05 PM Subject: Re: [twsocket] Fw: Urgent (Another simple NTLM question) : Fastream

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Stadin, Benjamin
Fastream Technologies schrieb: Arno, You have the option to enter the NTLM domain name in msg1 of NTLM (base64 encoded). That's what I mean. I'm not Arno but again, in the browser a domain is only specified in the form domain\user in the user field of the browser's login window *if* the

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Hello, Here is the problematic FF log: 13.09.2006 21:50:09 Connection Opened 13.09.2006 21:50:09 From Local GET / HTTP/1.1..Host: fastream.homeip.net:82..User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6..Accept:

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
To sum up: we have just one bug/problem left. It is the FF compatibility and with IE it works fine now. However, Arno claims the code runs well on his FF1.5.0.6 but the same browser fails here to authenticate. I thought maybe that's because of my Turkish locale but neither my username nor my

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
News! Opera 9.01 available online from www.opera.com supports NTLM! :) Yet the bug also occurs on that software... :( Arno, can you try my exe with Opera? Best Regards, SZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Maurizio Lotauro
Scrive Fastream Technologies [EMAIL PROTECTED]: Hello, Here is the problematic FF log: [...] A file version would be better, and of both browser. The IE6 response has a different WWW-authenticate. If NTLM is like Digest, then they should not be expected to be similar anyway (due to

[twsocket] Interesting connect problem

2006-09-13 Thread Erich Kuba
Hi all, I have recently noticed a couple of interesting entries in one of my system logs from a Mail Relay Agent written using the TSMTPCli component, which raises a few interesting questions. Firstly here is a small extract from the system log 19:26:28 - Connecting to mta1.grp.scd.yahoo.com

Re: [twsocket] Fw: Urgent (Another simple NTLM question)

2006-09-13 Thread Fastream Technologies
Here is the full log: FireFox 1.5.0.6: 13.09.2006 21:50:09 Connection Opened 13.09.2006 21:50:09 From Local GET / HTTP/1.1..Host: fastream.homeip.net:82..User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6..Accept: