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 Outl

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 h

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. p

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 incl

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_typ

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. C

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=en&q=python+dns&btnG=Google+Search Ciao, Michael.

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'r

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. p

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 (win32c

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:

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. p

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 "", line 1, in ? ImportError: /usr/lib/python2.4/lib-dynload/cPickle.so: undefined symbol: PyUnicodeUCS4_AsUTF8String The Python 2.4.1 installation was

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 modu

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/ba

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

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 stand-alo

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 cl

ANN: python-ldap-2.0.6

2004-12-03 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. pro

ANN: python-ldap-2.0.6

2004-12-03 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. pro

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

2004-12-02 Thread Michael Ströder
HI! 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? Ciao, Michael. -- snip

<    1   2   3