By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,034 Members | 2,000 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,034 IT Pros & Developers. It's quick & easy.

Python, Sharepoint, .NET, NTLM

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.