Giovanni Bajo wrote:
Martin, I am by no means understimating Daniel's work. I am just noting that
the spare-time work he did is, by definition, much much lower than the 6-10
people that the PSF infrastructure committee is calling for. I would like
this
statement to be officially reduced to
[EMAIL PROTECTED] wrote:
That's why I have started a collaborative project to make a user
contributed Python documentation. The wiki is online here:
http://www.pythondocs.info
Frankly I'm tired of these yet-another-wiki announcements!
Who is supposed to fill them with content?
If you have
flit wrote:
I am struggling with some ldap files.
More general you are struggling with multiple attribute values of DN
syntax stored in a single field of a CSV file.
I am using the csv module to work with this files (I exported the ldap
to a csv file).
I guess you have MS AD and used MS
Steve Holden wrote:
[EMAIL PROTECTED] wrote:
It is not impossible though and in cases where you don't have a choice
but to use a HTTP authentication scheme, use of AJAX may be the
answer to still allowing use of a form based login scheme. See:
Stephan Diehl wrote:
On Fri, 05 May 2006 05:39:08 -0700, D wrote:
Is it possible to have Python authenticate with Active Directory?
Specifically what I'd like to do is have a user enter a
username/password, then have Python check the credentials with AD - if
what they entered is valid, for
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.
Jed Parsons wrote:
Which LDAP server are you using? You can switch off this behaviour
with OpenLDAP. See man 5 slapd.conf, allow features.
I don't have anything other than user access. Good to know about this
feature, though.
In case you're programming for different LDAP servers it's
Jed Parsons wrote:
As an addendum, I discovered one little gotcha, namely that this:
l.bind_s(username, password, ldap.AUTH_SIMPLE)
throws an ldap.INVALID_CREDENTIALS error if the password contains the
wrong text, but works if the password is empty. I guess this is
tantamount to
Jed Parsons wrote:
import ldap
l = ldap.open('our.ldap.server')
try:
l.bind_s(username, password, ldap.AUTH_SIMPLE)
authenticated = True
except:
authenticated = False
^^^
Identiation is wrong here.
Also I'd recommend to catch the ldap.LDAPError
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
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
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
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:
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.
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
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
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.
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? :)
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
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
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
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
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
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
[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
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.
[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
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
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
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.
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
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,
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,
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.
--
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
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.
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
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:
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
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.
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
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')
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
[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
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
201 - 247 of 247 matches
Mail list logo