. 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-list
HI!
Well, maybe I'm completely blind but I can't find a way to add a new release
to PyPI index for python-ldap, not just a new file to an existing release
version. I'm the project owner and I did it several times in the past. But I
simply can't find the button where to add another release. Was
HI!
I'm on a openSUSE system where Python 2.6 is installed from RPMs.
I'm trying to build Python from source separately. This used to work in former
versions but fails now (see build traceback below).
Anyone having a clue what's going on here? Is there a possible work-around? A
possible conflict
Christian Heimes wrote:
Michael Ströder wrote:
- snip -
/usr/src/Python-2.6.4rc2 make
'import site' failed; use -v for traceback
Traceback (most recent call last):
File ./setup.py, line 15, in module
from
Hendrik van Rooyen wrote:
In the past, on this group, I have made statements that said that on Linux,
the serial port handling somehow does not allow transmitting and receiving at
the same time, and nobody contradicted me.
Despite all the good comments here by other skilled people I'd
Thorsten Kampe wrote:
* Steven D'Aprano (08 Aug 2009 03:29:43 GMT)
But why assume that the program takes 8 minutes to run? Perhaps it takes
8 seconds to run, and 6 seconds of that is the decoding. Then halving
that reduces the total runtime from 8 seconds to 5, which is a noticeable
speed
Thorsten Kampe wrote:
* Michael Ströder (Wed, 05 Aug 2009 16:43:09 +0200)
These both expressions are equivalent but which is faster or should be
used for any reason?
u = unicode(s,'utf-8')
u = s.decode('utf-8') # looks nicer
decode was added in Python 2.2 for the sake of symmetry
Thorsten Kampe wrote:
* Michael Ströder (Thu, 06 Aug 2009 18:26:09 +0200)
timeit.Timer(unicode('äöüÄÖÜß','utf-8')).timeit(1000)
17.23644495010376
timeit.Timer('äöüÄÖÜß'.decode('utf8')).timeit(1000)
72.087096929550171
That is significant! So the winner is:
unicode('äöüÄÖÜß','utf-8
HI!
These both expressions are equivalent but which is faster or should be used
for any reason?
u = unicode(s,'utf-8')
u = s.decode('utf-8') # looks nicer
Ciao, Michael.
--
http://mail.python.org/mailman/listinfo/python-list
HI!
Are there any known issues with dictionaries in Python 2.6 (not 2.6.2)
when running on a 64-bit platform?
A friend of mine experiences various strange problems with my web2ldap
running with Python 2.6 shipped with openSUSE 11.1 x64. For me it seems
some dictionary-based internal registries
. processing LDIF, LDAPURLs and LDAPv3 schema).
Ciao, Michael.
--
Michael Ströder
E-Mail: mich...@stroeder.com
http://www.stroeder.com
Released 2.3.9 2009-07-26
Changes since 2.3.8:
Lib/
* All modules (ldap, ldif, dsml and ldapurl) have
on the
download page above).
Ciao, Michael.
--
Michael Ströder
E-Mail: mich...@stroeder.com
http://www.stroeder.com
--
http://mail.python.org/mailman/listinfo/python-list
project I'd rather recommend that
you contribute to projects you're using for your own daily work. Why?
Because you simply know what's really needed if you deploy a software
yourself.
Ciao, Michael.
--
Michael Ströder
E-Mail: mich...@stroeder.com
http://www.stroeder.com
--
http://mail.python.org
. 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
. 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
. 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
. 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
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
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,
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:
#
Benny Fallica wrote:
Hello there,
what would be the python implementation for this line in Java:
java.util.Hashtable environment = LdapHelper.getEnvironment(url, true);
LdapContext ldapContext = new InitialLdapContext(environment, null);
Response resp = (Response)
[EMAIL PROTECTED] wrote:
On Dec 4, 4:45 pm, Michael Ströder [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
I'm having a problem trying to use the codecs package to aid me in
converting some bytes from EBCDIC into ASCII.
Which EBCDIC variant?
sEBCDIC = unicode(sSource, 'cp500', 'ignore
[EMAIL PROTECTED] wrote:
I'm having a problem trying to use the codecs package to aid me in
converting some bytes from EBCDIC into ASCII.
Which EBCDIC variant?
sEBCDIC = unicode(sSource, 'cp500', 'ignore')
Are you sure CP500 is the EBCDIC variant for the language you want?
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
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
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
[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
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 =
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
Fett wrote:
On Sep 4, 2:23 pm, Mike Driscoll [EMAIL PROTECTED] wrote:
How about M2Crypto:http://chandlerproject.org/Projects/MeTooCrypto#Downloads
Seems that this is intended more for webapps or something,
Why do you think so? It's a C wrapper module around the
OpenSSL crypto libs.
Ciao,
HI!
Is there a function in the standard lib which can be used to split a
string containg 'host:port' into a tuple (host,port) and also does this
reliably for IPv6 addresses?
Ciao, Michael.
--
http://mail.python.org/mailman/listinfo/python-list
Juan wrote:
self.conn = ldap.initialize(self.host, self.port)
[..]
LDAPError: (2, 'No such file or directory')
You have to pass in a LDAP URI as documented here:
http://python-ldap.sourceforge.net/doc/html/ldap.html#ldap.initialize
Use of compability function ldap.open() is deprecated
Larry Bates wrote:
While you are correct, that is not what the OP asked. There is no
reference to processing data prior to insertion into MySQL database.
Also the OP said they had a 1 day deadline.
Larry, having a bad day?
I'm confident that the OP is able to sort out *himself* what he
Larry Bates wrote:
[EMAIL PROTECTED] wrote:
I have a machine (PLC) that is dumping its test results into a fixed-
length text file. I need to pull this data into a database (MySQL
most likely) so that I can access it with Crystal Reports to create
daily reports for my engineers.
[..]
I need to
John Gordon wrote:
I'm developing a web application that needs a semi-persistent way to
store information.
I've looked at some options such as writing entries to a database table
or creating small textfiles, but I'm not thrilled with anything I've come
up with so far.
What's the problem?
Tim Golden wrote:
Sells, Fred wrote:
I'm running python 2.5 (or 2.4) in an XP environment.
I downloaded and installed the .dll's from
OpenLDAP-2.4.8+OpenSSL-0.9.8g-Win32.zip and copied the .dll's in
c:/windows/system32 as instructed
now I get this error. Is there anyway to avoid building the
jo3c wrote:
Im trying to get some information out of a windows sever 2003 chinese
active directory system
so let's say encoding is probably big5 or utf-8
The Unicode encoding of LDAP attributes with syntax Directory String is
always UTF-8 (e.g. attributes 'cn', 'sn', 'givenName' or
Michael Ströder wrote:
jo3c wrote:
Im trying to get some information out of a windows sever 2003 chinese
active directory system
so let's say encoding is probably big5 or utf-8
The Unicode encoding of LDAP attributes with syntax Directory String is
always UTF-8 (e.g. attributes 'cn', 'sn
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.
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.
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
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,
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
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
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
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
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
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.
--
[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
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
[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
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
[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
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
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
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
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
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
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
[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
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
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.
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.
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
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.
--
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
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
Diez B. Roggisch wrote:
[EMAIL PROTECTED] wrote:
I'm still using Python 2.4. In my code, I want to encrypt a password
and at another point decrypt it. What is the standard way of doing
encryption in python? Is it the Pycrypto module?
Usually, one doesn't store clear-text passwords.
[EMAIL PROTECTED] wrote:
Is there a string function to trim all non-ascii characters out of a
string?
Let say I have a string in python (which is utf8 encoded), is there a
python function which I can convert that to a string which composed of
only ascii characters?
I'd recommend to rethink
Adam Lanier wrote:
Brian Munroe schrieb am 12/15/2007 07:10 PM:
If you really need to do it from Linux and are lucky enough to be
running the IIOP task on your Domino server, then you could possibly
use CORBA.
You could always enable the IMAP interface on the Domino machine and use
Jeffrey Froman wrote:
I'd still be interested in a mod_wsgi wrapper for 3rd-party CGI scripts.
I doubt that this is possible, not because of the interface. But
conventional CGI scripts are implemented with the assumption of being
stateless. You would have to completely reinitialize them for
Paul Rubin wrote:
from SimpleHTTPServer import SimpleRequestHandler
handler = HTTPServer (('', 8000), SimpleRequestHandler)
I think you mean SimpleHTTPRequestHandler. Note that actually reads
the url path and looks in the file system to get the file of that
name, which isn't what the OP
[EMAIL PROTECTED] wrote:
I'm running code via the exec in context statement within a much
larger program. What I would like to do is capture any possible
errors and show a pretty traceback just like the Python interactive
interpreter does, but only show the part of the traceback relating to
John Nagle wrote:
Tried putting this in the .htaccess file:
Files *.fcgi
SetHandler fcgid-script
Options ExecCGI
allow from all
/Files
Files *.foo
ErrorDocument 403 File type not supported.
/Files
Even with that, a .foo file gets executed as a CGI script,
and so does a
John Nagle wrote:
This is running on a dedicated server at APlus.net,
running Red Hat Fedora Core 6, Python 2.5, and managed with Plesk 8.2.
I just turned on fcgid from the Plesk control panel (Physical hosting
setup page for domain, checked FastCGI), and enabled the standard
FCGI
John Nagle wrote:
What's actually happening is that FCGI isn't running at all.
My .fcgi file is being executed by Apache's CGI handler, and
fcgi.py recognizes this, then reads the parameters as if
a CGI program. So it works just like a CGI program: one
load per request. Not sure why
Chris Shenton wrote:
I'm building python-ldap and need to change values of library and
include paths that are in the setup.cfg file. This is an automated
build (using buildit) so I'd prefer not to have edit the .cfg by hand,
with sed, or even with buildit's Substitute().
Almost everything in
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.
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.
Waldemar Osuch wrote:
On Jun 8, 6:36 am, Benedict Verheyen [EMAIL PROTECTED]
wrote:
Hi,
i found python-ldap for version Python 2.4.
Is there i place i can find a version for 2.5?
If not, how can i build it myself for Windows?
I have managed to build it for myself using MinGW:
Benedict Verheyen wrote:
i found python-ldap for version Python 2.4.
Is there i place i can find a version for 2.5?
If not, how can i build it myself for Windows?
Depending on what you need you might want to dive into OpenLDAP's FAQ:
http://www.openldap.org/faq/data/cache/300.html
There
John Nagle wrote:
Sure they do. I have a complex web site, http://www.downside.com;,
that's implemented with Perl, Apache, and MySQL. It automatically reads
SEC
filings and parses them to produce financial analyses. It's been
running for seven years, and hasn't been modified in five,
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.
David Bear wrote:
Is it possible to use python to make calls agains microsoft active
directory?
What do you mean with calls agains microsoft active directory?
Querying user and computer entries etc.?
python-ldap might be an option for you.
Ciao, Michael.
--
Bruno Desthuilliers wrote:
If you know which attributes are supposed to be multivalued in your
specific application, then it's time to write a more serious,
application-specific wrapper.
ldap.schema can be used to find that out.
Ciao, Michael.
--
Cruelemort wrote:
I was wondering the best way to do this? I have installed and used the
python-ldap libraries and these allow me to access and search the
server, but the searches always return a horrible nesting of lists,
tuples and dictionaries, below is an example of returning just one
Laszlo Nagy wrote:
l = ldap.initialize(ldaps://neptunus.msnet:636)
[..]
ldap.SERVER_DOWN: {'info': 'error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed', 'desc':
Can't contact LDAP server}
I think that I need to specify to the openldap client to trust the
Nico Grubert wrote:
on a linux machine I am running this ldapsearch from the command line:
ldapsearch -x -h myldaphost.mydomain.com \
-D CN=ldapuser,CN=Users,DC=mydomain,DC=com -w secret \
-b CN=ANYCOMPUTER,CN=Computers,DC=mydomain,DC=com
How can I do this with python-ldap?
walterbyrd wrote:
I think I have read somewhere that using Python to develop
web-applications requires some restarting of the Apache server, whereas
PHP does not.
Using Python to develop web-applications is a very broad topic.
E.g. you don't have to restart Apache if you develop simple
Michael Ströder wrote:
But this seems to help (tested on my local system):
http://sourceforge.net/tracker/index.php?func=detailaid=1575329group_id=2072atid=102072
Released python-ldap 2.2.1 yesterday which contains this fix.
Ciao, Michael.
--
http://mail.python.org/mailman/listinfo/python
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.
Martin v. Löwis wrote:
Melissa Evans schrieb:
I've modified grappy.py,
http://www.stacken.kth.se/~mattiasa/projects/grappy/, a postfix policy
daemon for greylisting. to use LDAP as a backend instead of SQL (with
python-ldap.) The daemon runs fine when testing but when I put it under
load it
rcmn wrote:
i'm running around in circle trying to to use python/ldap/ on
win32(WinXP).
Maybe this message sent to the python-ldap-dev mailing list helps.
You're welcome to follow up on this list.
Ciao, Michael.
Original Message
Subject: Experimental 2.2.0 Windows Build
John Nagle wrote:
The Python SSL object offers two methods from obtaining
the info from an SSL certificate, server() and issuer().
The actual values in the certificate are a series of name/value
pairs in ASN.1 binary format. But what server() and issuer()
return are strings, with the
Donn Cave wrote:
In article [EMAIL PROTECTED],
John Nagle [EMAIL PROTECTED] wrote:
Note that
OU=Terms of use at www.verisign.com/rpa (c)00
with a / in the middle of the value field.
...
Is there a workaround for this? Without rebuilding Python
and becoming incompatible?
As a
Paul Rubin wrote:
To dump out the certificate? Try:
openssl x509 -text -in filename.crt
if the cert is in a file. Omit that -in parameter if you want openssl
to read from stdin. Of course now you get this other text format
thing to parse, but it's not so bad.
I wouldn't recommend
[EMAIL PROTECTED] wrote:
print 'K\xc3\xb6ni'.decode('utf-8')
and this line raised a UnicodeDecode exception.
Works for me.
Note that 'K\xc3\xb6ni'.decode('utf-8') returns a Unicode object. With
print this is implicitly converted to string. The char set used depends
on your console
Check
[EMAIL PROTECTED] wrote:
Fredrik you need tools to help you track the bugs and their status, but
Fredrik you can handle issue registration, discussion, and most
Fredrik maintenance stuff using good old mail just fine.
Which is something SourceForge has yet to learn. At work we
Paul Rubin wrote:
[EMAIL PROTECTED] writes:
Which is something SourceForge has yet to learn. At work we use a system
called RT (http://www.bestpractical.com/rt/). While it's not perfect, it
does allow submissions and responses via email. That feature alone puts it
miles ahead of SF in my
Ilias Lazaridis wrote:
You need just 2 active contributors - and the python community, not
more
Hmm, this number does not say much. It really depends on the required
service level and how much time these two people can spend for
maintaining the tracker service.
Ciao, Michael.
--
101 - 200 of 247 matches
Mail list logo