473,398 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 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 3132
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: (PeteCresswell) | last post by:
Got a sample of MS's "Advisor Guide To Microsoft Access" in the mail today - accompanied by a sample "Advisor Guide To Microsoft SharePoint". I skimmed both, but the SharePoint explanation is too...
1
by: curtin | last post by:
anyone have code that allows me to post files direct to sharepoint from python? any pointers, FAQ, etc, appreciated! thanks, craig
3
by: George Vasiliou | last post by:
Hi to all, I have made up a small client / server application with WinSock (port 443) at VB6. I have install server in my Home, and client is running behind a proxy server. Client cannot...
40
by: webrod | last post by:
Dear All, let's say I have a web service. I would like to authenticate users who try to access it. I am on a winnt server so I will have to use NTLM but I don't want to use IIS settings. Is...
8
by: GaryDean | last post by:
I was advised by a Microsoft speaker at a local .Net conference that "SharePoint" had a lot to offer for asp.net developers. I've spent a few hours hunting down links on Sharepoint Services in...
1
by: pycraze | last post by:
Hi , I am working on NTLM (Windows NT Lan Manager )APS (Authentication Proxy Server ) , to port to C language . I am using ethereal to monitor the packets sent between client and server ....
2
by: =?Utf-8?B?TGVuc3Rlcg==?= | last post by:
A C# (.NET 2) application which uses the System.Net.HttpWebRequest object to request a resource over HTTPS is failing following the installation of a new proxy server on our internal network with...
5
by: Joe Strout | last post by:
We've got a client who has been planning to use SharePoint for managing their organization documents, but has recently dropped that idea and is looking for an alternative. Is there any Python...
0
by: ivandatasync | last post by:
I have read about both Plone and Alfresco being considered as alternatives to Sharepoint and unfortunately they may not be enough if you require everything Sharepoint has too offer. Plone and...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.