NTLM authentication

View: New views
6 Messages — Rating Filter:   Alert me  

NTLM authentication

by Aloysius Jegan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

If any one know how to do NTLM authentication from IronPython, please send me the procedure or share the code if you have it.

Thanks.

Regards,
Aloysius Jegan E.A.

_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: NTLM authentication

by Seo Sanghyeon-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/6 Aloysius Jegan <Aloysius.Jegan@...>:
> If any one know how to do NTLM authentication from IronPython, please send
> me the procedure or share the code if you have it.

In IronPython you have a choice of doing it like Python or like .NET.
For Python,
this library provides NTLM authentication for urllib2.

http://code.google.com/p/python-ntlm/

--
Seo Sanghyeon
_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: NTLM authentication

by Aloysius Jegan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks for the info

-Aloysius Jegan



Seo Sanghyeon <sanxiyn@...>
Sent by: users-bounces@...

10/07/2009 04:12 AM
Please respond to
Discussion of IronPython <users@...>

To
Discussion of IronPython <users@...>
cc
Subject
Re: [IronPython] NTLM authentication





2009/10/6 Aloysius Jegan <Aloysius.Jegan@...>:
> If any one know how to do NTLM authentication from IronPython, please send
> me the procedure or share the code if you have it.

In IronPython you have a choice of doing it like Python or like .NET.
For Python,
this library provides NTLM authentication for urllib2.

http://code.google.com/p/python-ntlm/

--
Seo Sanghyeon
_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Ctrl + A

by Aloysius Jegan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

How to give Ctrl+A as a start of string in Ironpython?

My requirement is like this,

I have to send one command to my device assume the command is "SWITCH ON 01 02 03"
before sending this command through serial port, I have to press Ctrl+A as start of command. I don't know how to add Ctrl+A along with the command string.


-Regards
Aloysius Jegan

_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: Ctrl + A

by David Escobar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The ASCII code for the Ctrl+A character is 01, so I would try something like this:

cmd = chr(01) + " SWITCH ON 01 02"

Then send the cmd string. If you need to convert a single-character string back to an ASCII code, you would use the ord function.


On Tue, Oct 6, 2009 at 11:12 PM, Aloysius Jegan <Aloysius.Jegan@...> wrote:

Hi,

How to give Ctrl+A as a start of string in Ironpython?

My requirement is like this,

I have to send one command to my device assume the command is "SWITCH ON 01 02 03"
before sending this command through serial port, I have to press Ctrl+A as start of command. I don't know how to add Ctrl+A along with the command string.


-Regards
Aloysius Jegan

_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: Ctrl + A

by Aloysius Jegan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks david.... It is working




David Escobar <davidescobar1976@...>
Sent by: users-bounces@...

10/07/2009 12:24 PM
Please respond to
Discussion of IronPython <users@...>

To
Discussion of IronPython <users@...>
cc
users-bounces@...
Subject
Re: [IronPython] Ctrl + A





The ASCII code for the Ctrl+A character is 01, so I would try something like this:

cmd = chr(01) + " SWITCH ON 01 02"


Then send the
cmd string. If you need to convert a single-character string back to an ASCII code, you would use the ord function.


On Tue, Oct 6, 2009 at 11:12 PM, Aloysius Jegan <Aloysius.Jegan@...> wrote:

Hi,


How to give Ctrl+A as a start of string in Ironpython?


My requirement is like this,


I have to send one command to my device assume the command is "SWITCH ON 01 02 03"

before sending this command through serial port, I have to press Ctrl+A as start of command. I don't know how to add Ctrl+A along with the command string.



-Regards

Aloysius Jegan


_______________________________________________
Users mailing list

Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com