472,103 Members | 1,067 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,103 software developers and data experts.

Python, Sharepoint, .NET, NTLM

Hey everyone,
I need to authenticate with a Sharepoint server. It looks to be
using 'NTLM' authentication. I've looked on the newsgroup and it
looks like there has been talk of using python and NTLM but no
definite solutions are apparent.

Can anyone provide me with any kind of help on this issue? URLLIB2
keeps getting a 401 error when I try any kind of authentication.

I am trying to use python here in my company (for obvious reasons -
python is awesome!) and this is the first major project that would use
it. Unfortunately if I cannot talk to Sharepoint (I am just trying to
get a list of .xml files and data from a form library) I cannot use
python.
The other solution would be: Does anyone know how to get xml files
from a sharepoint library in python? The worst case would be using
another language to compile just the xml file downloader. This is not
the optimal solution.

Thank you,
Blaine

Aug 15 '07 #1
1 3036
On Aug 15, 10:11 am, frikk <frik...@gmail.comwrote:
Hey everyone,
I need to authenticate with a Sharepoint server. It looks to be
using 'NTLM' authentication. I've looked on the newsgroup and it
looks like there has been talk of using python and NTLM but no
definite solutions are apparent.

Can anyone provide me with any kind of help on this issue? URLLIB2
keeps getting a 401 error when I try any kind of authentication.

I am trying to use python here in my company (for obvious reasons -
python is awesome!) and this is the first major project that would use
it. Unfortunately if I cannot talk to Sharepoint (I am just trying to
get a list of .xml files and data from a form library) I cannot use
python.

The other solution would be: Does anyone know how to get xml files
from a sharepoint library in python? The worst case would be using
another language to compile just the xml file downloader. This is not
the optimal solution.

Thank you,
Blaine
NTLM is mentioned here: http://ntlmaps.sourceforge.net/

Others have pointed to Iron Python for this sort of thing. I would
think that you could use COM.

Here's a link that uses Iron Python: http://blog.glenc.net/2007/08/12/sha...t-meet-python/

Finally, it looks like someone wrote some kind interface:
http://sourceforge.net/projects/pysharepoint

Hope that helps!

Mike

Aug 15 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

15 posts views Thread by (PeteCresswell) | last post: by
1 post views Thread by curtin | last post: by
3 posts views Thread by George Vasiliou | last post: by
40 posts views Thread by webrod | last post: by
8 posts views Thread by GaryDean | last post: by
1 post views Thread by pycraze | last post: by
2 posts views Thread by =?Utf-8?B?TGVuc3Rlcg==?= | last post: by
5 posts views Thread by Joe Strout | last post: by
reply views Thread by ivandatasync | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.