[Chicago] pysimplesoap and windows sql server

Jeremy McMillan jeremy.mcmillan at gmail.com
Sat Jun 6 03:09:23 CEST 2015


I don't see your python code attempting to md5 the string.

Maybe you should try using hashlib?

https://docs.python.org/2/library/hashlib.html

On Fri, Jun 5, 2015 at 10:27 AM, brian herman <bherman at uniqueinsuranceco.com
> wrote:

>  I have a python application that uses pysimplesoap to send a soap request
> to windows.
> The problem is the password field is not encoded in UTF-8 it may use
> Windows-1252?
> Python Code
> https://gist.github.com/brianherman/209af7751444ec308e1b
> Visual Basic Sample code (how to encode the password field in visual basic)
> https://gist.github.com/brianherman/b4174b99be9000fcc4f8
> They use visual basic to encode the password which works. The problem is
> reproducing this in python
> This is the encoded password in the database (microsoft sql server):
>
> I have tried using the md5 package in python but I can't seem to get the
> encoding right.
>
> --
>
>  Brian Herman
> IT Department
> O: (773)299-7557
>
>  [image: Unique Insurance Company] <https://www.uniqueinsuranceco.com>
>
> We value your input, please click here to provide feedback on Unique
> Insurance. <http://www.reputation.com/kiosk?key=d41c9b57f18>
>
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> https://mail.python.org/mailman/listinfo/chicago
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20150605/57ecd113/attachment.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20150605/57ecd113/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: becefjde.
Type: image/png
Size: 1312 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/chicago/attachments/20150605/57ecd113/attachment.png>


More information about the Chicago mailing list