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 wil
[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
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.
>>>
>>>
>>> random_number = random
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 pos
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.
Ci
Manuel Ebert wrote:
On Aug 26, 2008, at 1:31 PM, Michael Ströder wrote:
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?
>
AFAIK port names cannot contain a
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
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
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 need
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?
The
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
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
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 'displayNam
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
i
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 cgi.parse_multipart(
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, there
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
generated
Matt Nordhoff wrote:
Matt Nordhoff wrote:
You could use data: URIs [1].
For example, a 43-byte single pixel GIF becomes this URI:
They don't have universal browser support, but that might not be a
problem in this case.
As for generating them with Python, I'm not sure... I just used Hixie's
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 versio
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 the
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.
--
http://mail.p
[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
bette
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 i
[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
def
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 excerpt):
[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 th
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 i
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 using
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 a
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 mu
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 do
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 ob
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.
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.
--
http
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 p
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.
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-lda
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 passw
[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 re
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
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 e
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
[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
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:
>
>Tried putting this in the .htaccess file:
>
>
> SetHandler fcgid-script
> Options ExecCGI
> allow from all
>
>
>
> ErrorDocument 403 "File type not supported."
>
>
> Even with that, a ".foo" file gets executed as a CGI script,
> and so does a ".fcgi" file. It's
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 sur
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 everythi
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
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 usi
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
Th
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 f
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.
--
http://mail.python.org/mailman/
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.
--
http://mail.python.org/mailman/listinfo/
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 t
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-l
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
shor
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
Michael Ströder wrote:
>
> But this seems to help (tested on my local system):
> http://sourceforge.net/tracker/index.php?func=detail&aid=1575329&group_id=2072&atid=102072
Released python-ldap 2.2.1 yesterday which contains this fix.
Ciao, Michael.
--
http://mail.python
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
>
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
Dat
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 re
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 becomi
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,
[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
Chec
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
[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 wo
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.
--
http://ma
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 reduce
[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 hav
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:
>>
>> http://www.peej.co.uk/articles/ht
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,
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
Jed Parsons wrote:
>
>> Which LDAP server are you using? You can switch off this behaviour
>> with OpenLDAP. See man 5 slapd.conf, allow .
>
> 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 good
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
> tantamoun
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.LDAP
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
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
P server checks 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
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
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.
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. p
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
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 info
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
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
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 late
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
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 r
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
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
101 - 200 of 221 matches
Mail list logo