ANN: python-ldap-2.0.10

2005-09-23 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g.

ANN: python-ldap-2.0.11

2005-11-07 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g.

ANN: python-ldap-2.3.0

2007-03-27 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g.

ANN: python-ldap-2.3.1

2007-07-25 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g.

ANN: python-ldap-2.3.5

2008-07-06 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g.

ANN: python-ldap-2.3.7

2009-04-10 Thread Michael Ströder
. processing LDIF, LDAPURLs and LDAPv3 schema). Note that the download page has changed recently. You can now find the source distribution at PyPI: http://pypi.python.org/pypi/python-ldap/ Ciao, Michael. -- Michael Ströder E-Mail: mich...@stroeder.com http://www.stroeder.com

ANN: python-ldap-2.3.8

2009-04-30 Thread Michael Ströder
. processing LDIF, LDAPURLs and LDAPv3 schema). Ciao, Michael. -- Michael Ströder E-Mail: mich...@stroeder.com http://www.stroeder.com Released 2.3.8 2009-04-30 Changes since 2.3.7: Lib/ * ldap.schema.models: More fault-tolerant parsing

ANN: python-ldap-2.3.10

2009-11-01 Thread Michael Ströder
. processing LDIF, LDAPURLs and LDAPv3 schema). Ciao, Michael. -- Michael Ströder E-Mail: mich...@stroeder.com http://www.stroeder.com -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

ANN: python-ldap-2.3.11

2010-02-26 Thread Michael Ströder
. processing LDIF, LDAPURLs and LDAPv3 schema). Ciao, Michael. -- Michael Ströder E-Mail: mich...@stroeder.com http://www.stroeder.com Released 2.3.11 2010-02-26 Changes since 2.3.10: Lib/ * Fixed LDAP URL parsing with four ? but no real

python-crypto list has a new home

2010-07-21 Thread Michael Ströder
HI! The python-crypto mailing list had to move to a new mailing list service. The natural choice was to move under the umbrella of python.org. The new list address is: python-cry...@python.org My archive of the old postings was imported to the new list service:

ANN: python-ldap-2.3.12

2010-08-09 Thread Michael Ströder
stuff (e.g. processing LDIF, LDAPURLs and LDAPv3 schema). Project's web site: http://www.python-ldap.org/ Ciao, Michael. -- Michael Ströder E-Mail: mich...@stroeder.com http://www.stroeder.com Released 2.3.12 2010-08-05 Changes

ANN: python-ldap-2.3.13

2011-02-19 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.3.13 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related

New mailing list for python-ldap

2011-04-01 Thread Michael Ströder
HI! The old SF mailing list python-ldap-dev was shut down today. I'd be happy to see you on the new mailing list for http://python-ldap.org under the umbrella of python.org. List info here: http://mail.python.org/mailman/listinfo/python-ldap All announcements, discussion and support related to

ANN: python-ldap 2.4.0

2011-06-03 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.0 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related

ANN: python-ldap 2.4.1

2011-07-05 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.1 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related

ANN: python-ldap 2.4.3

2011-07-23 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.3 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related

ANN: python-ldap 2.4.5

2011-11-25 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.4 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related

ANN: python-ldap 2.4.7

2012-01-20 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.4 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related

ANN: python-ldap 2.4.8

2012-02-22 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.8 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related

ANN: python-ldap 2.4.11

2013-05-28 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.11 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related

ANN: python-ldap 2.4.13

2013-06-27 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.11 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related

ANN: python-ldap 2.4.14

2014-02-03 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.14 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related

ANN: python-ldap 2.4.15

2014-03-27 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.15 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related

ANN: python-ldap 2.4.16

2014-09-10 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.16 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related

ANN: python-ldap 2.4.17

2014-09-27 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.17 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related

ANN: python-ldap 2.4.18

2014-10-09 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.18 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related

Re: python connect to db2

2005-01-14 Thread Michael Ströder
yuzx wrote: i try to connect to db2 use python,i find it on python-db2 doc: $ python import DB2 conn = DB2.connect(dsn='sample', uid='db2inst1', pwd='ibmdb2') curs = conn.cursor() but i don't know about dsn, It's the host name. In a former project (using module

Re: User Identification

2005-02-08 Thread Michael Ströder
Gerhard Haering wrote: os.getuid() will give you the user id, but I don't know if Python has methods to look up more information from that from /etc/passwd or whereever from. import pwd,os pwd.getpwuid(os.getuid()) ('michael', 'x', 1234, 100, 'Michael Str\xf6der', '/home/michael', '/bin/bash')

kerberos extension module

2005-02-12 Thread Michael Ströder
John Reuning wrote: I'm interested in updating the very old kerberos extension module. [..] http://www.python.org/ftp/python/contrib-09- Dec-1999/System/krb5module-0.1.tar.gz http://www.python.org/ftp/python/contrib-09- Dec-1999/System/krb5module.README Will it build against heimdal or is this

Re: Documentation for iteration in mappings

2005-10-25 Thread Michael Ströder
Dennis Benzinger wrote: I must be blind because I didn't find anything in the documentation which says iterating over an dictionary iterates over its keys. For example a_dictionary = {0: zero, 1: one} for x in a: print x gives you 0 1 Where is this information hidden? :)

Re: Web based applications are possible with wxPython?

2005-10-25 Thread Michael Ströder
HI! Shameless plug: I'm looking for the opposite way. I'd like to run a web application within a pseudo-browser in wxPython without the need to start a web server. Is that possible with a thin wrapper? Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

ANN: python-ldap-2.0.11

2005-11-07 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g.

Re: SuSe 10.0 missing Idle

2005-11-11 Thread Michael Ströder
Joseph Garvin wrote: SuSE probably has a seperate package, something like python-tk, that will install IDLE. # rpm -qf `which idle` python-idle-2.4.1-3 Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python2.4: building '_socket' extension fails with `INET_ADDRSTRLEN' undeclared

2004-12-04 Thread Michael Ströder
Martin v. Löwis wrote: Michael Ströder wrote: I'm trying to build Python2.4 on a rather old Debian machine. I only have a shell account there. That's why I'm very limited in my actions. Building _socket fails (see below) although I tried to use configure --disable-ipv6 Any clue? Hard to say

Re: Working with flat files [LDIF].

2005-01-06 Thread Michael Ströder
[EMAIL PROTECTED] wrote: Scott A. McIntyre wrote: I looked around but didn't see any LDIF tools for perl or python... Did you ever get this issue resolved? I have a similar need to merge two LDIF files. Use module LDIF which is part of http://python-ldap.sourceforge.net/. You can use it

ANN: python-ldap-2.0.10

2005-09-23 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g.

Re: RE + UTF-8

2005-09-24 Thread Michael Ströder
[EMAIL PROTECTED] wrote: I have tried to test RE and UTF-8 in Python generally and the results are even more confusing (done with locale cs_CZ.UTF-8 in konsole): locale.getpreferredencoding() 'UTF-8' print re.sub((\w*),X,[Chelcický],re.L) You first have to turn the raw strings into

Fixes since 2.4.2c1? (was: RELEASED Python 2.4.2 (final))

2005-09-28 Thread Michael Ströder
Anthony Baxter wrote: On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.4.2 (final). Does that differ from 2.4.2c1? On Monday I noticed a crash in the test suite on a box running Solaris 8. It seems I can build Python 2.4.1 and run

Re: Fixes since 2.4.2c1?

2005-09-30 Thread Michael Ströder
Martin v. Löwis wrote: Michael Ströder wrote: Does that differ from 2.4.2c1? On Monday I noticed a crash in the test suite on a box running Solaris 8. It seems I can build Python 2.4.1 and run make test there without problems. There is also a chance that you found a compiler bug. So

Re: Jargons of Info Tech industry

2005-10-10 Thread Michael Ströder
Rich Teer wrote: On Sun, 9 Oct 2005, Roedy Green wrote: Normally you send photos to grandma with captions under each photo. That is far more convenient for the technopeasant receiver than dealing with multiple attachments. And even more convenient is Hey grandma, check out the latest photos

Re: Send password over TCP connection

2005-10-10 Thread Michael Ströder
Dan Stromberg wrote: On Mon, 10 Oct 2005 15:13:14 -0700, Paul Rubin wrote: Use SRP if you can. Where can I learn more about this? http://www.faqs.org/rfcs/rfc2945.html Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

Re: Send password over TCP connection

2005-10-13 Thread Michael Ströder
dcrespo wrote: Ok, I understand it. What about the MD5? Is it good enough to use when saving a hashed password on the database? For example: user_input = raw_input(Type your password: ) password = md5.md5(user_input).hexdigest() SavePasswordInDatabase(user,password) It would be better

ANN: python-ldap-2.0.8

2005-06-22 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g.

Re: website catcher

2005-07-06 Thread Michael Ströder
jwaixs wrote: I need some kind of database that won't exit if the cgi-bin script has finished. This database need to be open all the time and communicate very easily with the cgi-bin framwork main class. Maybe long-running multi-threaded processes for FastCGI, SCGI or similar is what you're

Re: DNS access

2005-07-13 Thread Michael Ströder
laksh wrote: is it possible to give parameters like the IP of a DNS server and the DNS query to a python program and obtain the response from the DNS server ? http://pydns.sf.net http://www.dnspython.org/ http://www.google.com/search?hl=enq=python+dnsbtnG=Google+Search Ciao, Michael. --

Re: Filtering out non-readable characters

2005-07-18 Thread Michael Ströder
Peter Hansen wrote: ''.join(chr(c) for c in range(65, 91)) 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' Wouldn't this be a candidate for making the Python language stricter? Do you remember old Python versions treating l.append(n1,n2) the same way like l.append((n1,n2)). I'm glad this is forbidden now. Ciao,

Re: Python ldap pointers for a newbie - Actually just trying to decifer the error..

2005-07-18 Thread Michael Ströder
rh0dium wrote: ldap_result_id = cnx.search_s(baseDN, searchScope, searchAttrs, retrieveAttrs) You are already using the synchronous search method which indeed return the search results. So this should read: result_data=cnx.search_s(baseDN,searchScope,searchAttrs,retrieveAttrs) result_type,

Re: What license to choose for Python programs? (PSF License vs. GPL/LGPL)

2005-07-25 Thread Michael Ströder
Volker Grabsch wrote: I noticed that many packages in the PyPI are using the PSF License. Does this have a special reason? Personally I used Python style license to express that you can do with some of my modules exactly what you can do with Python itself. So if it is complicated to include

ANN: python-ldap-2.0.9

2005-07-29 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g.

Re: Secure email

2005-08-04 Thread Michael Ströder
[EMAIL PROTECTED] wrote: I need to write a .cgi that will take the content of an https GET or POST and send it securely as email to an Outlook client. I think that OpenSSL is somewhere in this, but I'm not even sure how to create the right certificate, how to use it to encrypt mail and how

Re: Secure email

2005-08-04 Thread Michael Ströder
Martin P. Hellwig wrote: I think you want this more common approach for mail encryption: server: https CGI form -- mail wrapper -- PGP encryption/signing -- send client: recieve mail -- pgp decryption/verification -- read This would require an additional PGP-plugin for Outlook. Outlook

Re: Secure email

2005-08-04 Thread Michael Ströder
Martin P. Hellwig wrote: Michael Ströder wrote: Martin P. Hellwig wrote: I think you want this more common approach for mail encryption: server: https CGI form -- mail wrapper -- PGP encryption/signing -- send client: recieve mail -- pgp decryption/verification -- read This would

Re: Convert Active Directory Object to string

2006-01-19 Thread Michael Ströder
Dirk Hagemann wrote: What I want to do in the end is the following: I get some data from Active Directory, then I create a SQL-statement including this data and write this into the database. Which API and protocol are you using to access Active Directory? If you access it via LDAP (e.g.

Re: ldap passwd need help

2006-01-19 Thread Michael Ströder
Sells, Fred wrote: I've got the ldap stuff working for groups, but now I'm trying to use it to change a user password. I get a return of 2 and no error messages but it does not change ldap. Could you please post a complete Python traceback? If you mean 2 being the LDAP error code this is

Re: Suggestions for workaround in CSV bug

2006-01-24 Thread Michael Ströder
Simmons, Stephen wrote: I've come across a bug in CSV where the csv.reader() raises an exception if the input line contains '\r'. Example code and output below shows a test case where csv.reader() cannot read an array written by csv.writer(). Error: newline inside string WARNING:

Re: Authenticating to Kerberos

2006-01-30 Thread Michael Ströder
the same password as the Kerberos Domain Controller (e.g. MS AD or heimdal KDC with OpenLDAP backend). Ciao, Michael. -- Michael Ströder E-Mail: [EMAIL PROTECTED] http://www.stroeder.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Webmail with Python

2006-02-06 Thread Michael Ströder
Paul Rubin wrote: Thomas Guettler [EMAIL PROTECTED] writes: Yes, Zope or Plone are to heavyweight for this. I will use squirrelmail, I think it stable. I hope that I don't need to touch the PHP code. Be careful, Squirrelmail had some annoying privacy bugs which the maintainers (as of the

Re: Embedding an Application in a Web browser

2006-02-14 Thread Michael Ströder
bruno at modulix wrote: rodmc wrote: Is it possible to embed a Python application within Internet explorer? No. Nor in any other browser (except from Grail, but I think this doesn't count). I remember there was a project for running CGI-BIN-like programs directly in Mozilla without a web

undefined symbol: PyUnicodeUCS4_AsUTF8String

2005-04-29 Thread Michael Ströder
HI! I have the following problem after system upgrade to SuSE Linux 9.3: $ python -c import cPickle Traceback (most recent call last): File string, line 1, in ? ImportError: /usr/lib/python2.4/lib-dynload/cPickle.so: undefined symbol: PyUnicodeUCS4_AsUTF8String The Python 2.4.1 installation

ANN: python-ldap-2.0.7

2005-04-29 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g.

Re: Active Directory Modules?

2005-05-08 Thread Michael Ströder
Harlin Seritt wrote: Does anyone know if there are any Python Active Directory Modules out there? You could use ADSI with python-win32. I looked at LDAP module but there is no version for Python 2.4 Off course python-ldap works with Python 2.4. There are even Win32 binaries for Python 2.4:

Re: Access lotus notes using Python

2005-05-23 Thread Michael Ströder
Kartic wrote: The Great 'Sateesh' uttered these words on 5/23/2005 7:14 AM: Is it possible to access Lotus notes using Python? Can anyone provide me some pointers? Yes, you can... You need the win32all distribution installed and you can access Notes using the COM interface

Re: python-ldap for plone 3 (python 2.4.4)

2008-02-19 Thread Michael Ströder
Erol Robaina Cepero wrote: I need download python-ldap for my plone 3.0.5 that use python 2.4.4. Do you know where I can find it? http://python-ldap.sourceforge.net/download.shtml Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

Re: python-ldap for plone 3 (python 2.4.4)

2008-02-21 Thread Michael Ströder
Erol Robaina Cepero wrote: On 19/02/2008 at 07:12 p.m. Michael Ströder wrote: Erol Robaina Cepero wrote: I need download python-ldap for my plone 3.0.5 that use python 2.4.4. Do you know where I can find it? http://python-ldap.sourceforge.net/download.shtml There I found the version

ANN: python-ldap-2.3.2

2008-03-26 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g.

Re: Some notes on a high-performance Python application.

2008-03-26 Thread Michael Ströder
Heiko Wundram wrote: Am Mittwoch, 26. März 2008 17:33:43 schrieb John Nagle: ... Using MySQL as a queueing engine across multiple servers is unusual, but it works well. It has the nice feature that the queue ordering can be anything you can write in a SELECT statement. So we put fair

How to convert latex-based docs written with Python 2.5 to 2.6 framework

2008-03-26 Thread Michael Ströder
HI! I had a look on how Doc/ is organized with Python 2.6. There are files with suffix .rst. Hmm... I'm maintaing existing docs for python-ldap which I might have to convert to the new concept in the long run. What's the recommended procedure for doing so? Any pointer? Ciao, Michael. --

ANN: python-ldap-2.3.4

2008-03-29 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g.

Re: object-relational mappers

2008-04-04 Thread Michael Ströder
M.-A. Lemburg wrote: On 2008-04-01 22:40, Aaron Watters wrote: I've been poking around the world of object-relational mappers and it inspired me to coin a corellary to the the famous quote on regular expressions: You have objects and a database: that's 2 problems. So: get an

Re: ldap

2008-04-07 Thread Michael Ströder
[EMAIL PROTECTED] wrote: Searching on the web I know that exists PythonLdap, but I dont'know if this is best choise or not. http://python-ldap.sf.net is the most complete implementation I know of. (Being the maintainer I might be biased.) It has the caveat of depending on the OpenLDAP client

Re: Remote mac address

2008-04-14 Thread Michael Ströder
Matias Surdi wrote: Anyone knows how having the IP address of a host on the lan could I get the mac address of that hosr? p/d: Parsing the output of arp -a is not an option. But the ARP table is exactly what you need to access. This is probably system-specific. You could also try to

Re: python-ldap: searching without specifying an OU?

2008-04-22 Thread Michael Ströder
hotani wrote: I am attempting to pull info from an LDAP server (Active Directory), but cannot specify an OU. In other words, I need to search users in all OU's, not a specific one. If the user you're binding with has the right in AD to search the whole subtree you can start searching at the

Re: python-ldap: searching without specifying an OU?

2008-04-23 Thread Michael Ströder
hotani wrote: Thanks for the response. The user I'm connecting as should have full access but I'll double check tomorrow. This is the LDAP error that is returned when I leave out the OU: {'info': ': LdapErr: DSID-0C090627, comment: In order to perform this operation a successful bind

Re: python-ldap: searching without specifying an OU?

2008-04-23 Thread Michael Ströder
hotani wrote: This fixed it! http://peeved.org/blog/2007/11/20/ By adding this line after 'import ldap', I was able to search from the root level: ldap.set_option(ldap.OPT_REFERRALS, 0) Uumh, yes. I'm always switching off OpenLDAP client lib's internal referral chasing. But be prepared to

Re: python-ldap: searching without specifying an OU?

2008-04-23 Thread Michael Ströder
hotani wrote: It seems the only way I can bind is by using this format: simple_bind_s('[EMAIL PROTECTED]','password') Believe me: This is not true. If I try using a DN, it fails every time. This will not work: simple_bind_s('cn=user,dc=server,dc=local', 'password') Check the DN you're

Re: python-ldap - Operations Error

2008-04-24 Thread Michael Ströder
Jason Scheirer wrote: On Apr 23, 5:16 pm, [EMAIL PROTECTED] wrote: Hello all, I am trying to integrate TurboGears with our Active Directory here at the office. TurboGears aside, i cannot get this to work. Seems more promising: http://tgolden.sc.sabren.com/python/active_directory.html This

Re: python-ldap - Operations Error

2008-04-24 Thread Michael Ströder
[EMAIL PROTECTED] wrote: import ldap l = ldap.initialize(ldap://server.net;) l.simple_bind(DN, secret) 1 ^^^ You probably want to use the synchronous method simple_bind_s() since you want to impersonate on this LDAP connection immediately before doing anything else on that

Re: python-ldap: searching without specifying an OU?

2008-04-24 Thread Michael Ströder
hotani wrote: http://peeved.org/blog/2007/11/20/ BTW: This blog entry claims that LDAP_SERVER_DOMAIN_SCOPE_OID control cannot be used with python-ldap. But support for such simple LDAPv3 extended controls was added to python-ldap way back in 2005. Actually it's easy (relevant code

Re: python-ldap - Operations Error

2008-04-25 Thread Michael Ströder
[EMAIL PROTECTED] wrote: Thanks for the help guys, it works! I used the ldap.set_option(ldap.OPT_REFERRALS, 0) from http://peeved.org/blog/2007/11/20/ Hmm, maybe I should generally switch off referral chasing in python-ldap forcing applications to enable it if needed overriding libldap's

Re: config files in python

2008-05-05 Thread Michael Ströder
sandipm wrote: In my application, I have some configurable information which is used by different processes. currently I have stored configration in a conf.py file as name=value pairs, and I am importing conf.py file to use this variable. it works well import conf print conf.SomeVariable but

Re: ldap package question

2009-03-17 Thread Michael Ströder
John Gordon wrote: I'm using the ldap package to connect to an ldap server and run a query. Very simple code, along these lines: con = ldap.initialize(uri) con.simple_bind_s(user, password) results = con.search_s(group, ldap.SCOPE_SUBTREE, filter, attrs) for r in results: #

Re: Read a content file from a P7M

2009-03-20 Thread Michael Ströder
Emanuele Rocca wrote: On 11/03/09 - 05:05, Luca wrote: There is standard or sugested way in python to read the content of a P7M file? I don't need no feature like verify sign, or sign using a certificate. I only need to extract the content file of the p7m (a doc, a pdf, ...) For PDF

Re: Read a content file from a P7M

2009-03-20 Thread Michael Ströder
Luca wrote: On Wed, Mar 11, 2009 at 5:05 PM, Luca luca...@gmail.com wrote: There is standard or sugested way in python to read the content of a P7M file? I don't need no feature like verify sign, or sign using a certificate. I only need to extract the content file of the p7m (a doc, a pdf,

ANN: python-ldap-2.3.7

2009-04-10 Thread Michael Ströder
. processing LDIF, LDAPURLs and LDAPv3 schema). Note that the download page has changed recently. You can now find the source distribution at PyPI: http://pypi.python.org/pypi/python-ldap/ Ciao, Michael. -- Michael Ströder E-Mail: mich...@stroeder.com http://www.stroeder.com

Lotus Domino and Python via DIIOP or similar?

2008-09-25 Thread Michael Ströder
HI! Anybody here with experience in accessing Lotus Domino with Python via DIIOP? In particular I'd like to be able to register Notes users with a Python script. Preferrably without having to use Win32 COM although it would be better than nothing. Adding address Notes book entries via LDAP is

Re: generate random digits with length of 5

2008-09-28 Thread Michael Ströder
Gary M. Josack wrote: Aaron Castironpi Brady wrote: On Sep 28, 2:59 pm, sotirac [EMAIL PROTECTED] wrote: Wondering if there is a better way to generate string of numbers with a length of 5 which also can have a 0 in the front of the number. pre random_number =

Re: Python 2.5.3: call for patches

2008-10-10 Thread Michael Ströder
[EMAIL PROTECTED] wrote: On Oct 7, 9:27 am, Martin v. Löwis [EMAIL PROTECTED] wrote: In principle, the release will include all changes that are already on the release25-maint branch in subversion [1]. If you think that specific changes should be considered, please create an issue in the bug

Re: Split entries from LDAP

2008-10-13 Thread Michael Ströder
Lars wrote: I'm trying to create a script that creates a variable list (just a txt file to be included in bash scripts) with hosts from LDAP. What exactly do you want to do? I'd recommend against passing a custom text format around. Use either LDIF or CSV with decent modules. The file will

Re: python-ldap reading an OU with more than 1000 objects

2008-10-18 Thread Michael Ströder
Erick Perez - Quadrian Enterprises, S.A. wrote: I have a MS Windows AD domain, and have one OU with more tan 1000 users objects. When I try to read it, I hit the 1000 limit of AD while returning objects, so I'm asking for advice as to how to read them. IIRC with MS AD you can circumvent this

Re: python openssl x509 CA

2008-10-31 Thread Michael Ströder
Paul Rubin wrote: Marcin Jurczuk [EMAIL PROTECTED] writes: I want to create pure python implementation without use of openssl wrapped with python code. There was a CA written in Python quite a while back, http://pyca.de . That was the usual approach with invoking the openssl command-line

Re: ThreadPoolingMixIn

2008-06-02 Thread Michael Ströder
[EMAIL PROTECTED] wrote: To benchmark this I used a simple tcp server which writes a small (16k) string to the client and closes the connection. Just a general note: When benchmarking such a network service it would be valuable to see benchmark results for several data sizes. I'd expect

Register codec dynamically without copying module to lib/python/encodings/

2008-06-05 Thread Michael Ströder
HI! I have a simple codec module for T.61 which principally works. I'd like to use this codec without having to copy the module to lib/python/encodings/. Is that possible? Can I can extend the encodings search path or register the module by calling a function? Ciao, Michael. --

Re: investigate python auth problem

2008-06-09 Thread Michael Ströder
David Hláčik wrote: I have reproduced steps, to show you sample on another module and its results in INN (becouse i really like to solve this :) Since I don't see anything related to python-ldap please don't follow-up on python-ldap-dev mailing list (removed it from Cc:). Thank you. If

Who is using python-ldap with Python 1.5.x and 2.0-2.2?

2008-06-16 Thread Michael Ströder
HI! I'd like to hear from the Python community whether support for Python version prior to 2.3 is still needed in python-ldap. Please tell me which Python version you're using and why it'd be important for you to have python-ldap updates still supporting it. BTW: Actually older Python

Re: images on the web

2008-06-20 Thread Michael Ströder
Matt Nordhoff wrote: Matt Nordhoff wrote: You could use data: URIs [1]. For example, a 43-byte single pixel GIF becomes this URI: data:image/gif;base64,R0lGODlhAQABAIAAAP%2F%2F%2F%2F%2F%2F%2FyH5BAEAAAEALAABAAEAAAICTAEAOw%3D%3D They don't have universal browser support, but that might not

Re: images on the web

2008-06-20 Thread Michael Ströder
chris wrote: I'm creating a data plot and need to display the image to a web page. What's the best way of doing this without having to save the image to disk? I already have a mod_python script that outputs the data in tabular format, but I haven't been able to find anything on adding a

Re: imap4_SSL from behind a proxy server

2008-07-04 Thread Michael Ströder
Diez B. Roggisch wrote: Dave schrieb: I'm trying write some Python code to connect to Gmail from work, where I need to direct all non-HTTP traffic through a proxy server. AFAIK that's simply not possible. It's possible. Proxying that is not transparent is only (for practical matters,

Re: Parsing MIME-encoded data in an HTTP request

2008-07-04 Thread Michael Ströder
Ron Garret wrote: I'm writing a little HTTP server and need to parse request content that is mime-encoded. All the MIME routines in the Python standard library seem to have been subsumed into the email package, which makes this operation a little awkward. How about using

Re: Parsing MIME-encoded data in an HTTP request

2008-07-05 Thread Michael Ströder
Ron Garret wrote: In article [EMAIL PROTECTED], Ron Garret [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Michael Ströder [EMAIL PROTECTED] wrote: Ron Garret wrote: I'm writing a little HTTP server and need to parse request content that is mime-encoded. All the MIME routines

ANN: python-ldap-2.3.5

2008-07-06 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g.

  1   2   3   >