Roland Hedberg wrote:
>
> It seems like Python-ldap does not support modifyDN. That is moving a
> subtree from one place on a server to another place on the same server.
See methods rename() and rename_s() with argument newsuperior. You can
rename a sub-tree with e.g. with OpenLDAP/back-hdb.
> S
Roland Hedberg wrote:
>> I have something slightly more efficient based on evaluating
>> hasSubordinates or similar attributes for sub-tree deletion in web2ldap.
>
> If you are willing to share I'd love to have it :-)
Hmm, look into web2ldap's source (GPL): function DelTree() in
pylib/w2lapp/dele
Torsten Kurbad wrote:
>
> I'm currently involved in a project, using Zope3, there we would need a
> proper python-ldap.egg from the Python Cheeseshop. I realized that
> someone checked in some specs there
> (http://www.python.org/pypi/python-ldap/2.0.11), but there's no .egg
> file attached to thi
Torsten Kurbad wrote:
>
> I just created a first .egg of python-ldap.
Thanks for contributing this.
> Using a standard Linux distribution, like Gentoo,
Hmm, all modifications to setup.py should work on Windows either.
> 1. If not already done so, follow the instructions at
> http://peak.teleco
Hi Torsten,
thanks for improving setup.py.
Torsten Kurbad wrote:
>
> after a few modifications, the patch keeps full backward compatibility
> to distutils and (hopefully at least ;o) works with Python 2.2 and
> Windows.
I've tested it (under openSUSE Linux) without setuptools with 2.2 and
2.5 a
Andreas Hasenack wrote:
> On Thu, May 31, 2007 at 07:23:36PM -0300, Andreas Hasenack wrote:
>> I will still see about the decode part and then post what I have.
>
> Attached is my current patch. Keep in mind I did this basically using
> the current code as a template.
I've committed this patch to
HI!
I'd like to release 2.3.1 soon. There are some interesting improvements
in HEAD but not yet released. Therefore testing of HEAD is needed.
Thanks to the contributors!
Please provide feedback ideally on the mailing list. Thanks.
Ciao, Michael.
Current CHANGES:
Released 2.3.1 2007-07-xx
Cha
Alain Spineux wrote:
> I did this, and it looks to be working.
Ouch! Modules/constants.c was not comitted to CVS.
Thanks.
> Also with my unicode extension :-)
I knew you would ask for it. I will follow-up on this later...
Ciao, Michael.
-
Torsten Kurbad wrote:
>> I'd like to release 2.3.1 soon.
> still one question: Do you plan to upload some .eggs to PyPI then?
> I meanwhile successfully build eggs for i686-linux as well as Mac OS
> X 10.4 PPC (Intel platforms should work the same way) using Py 2.3 +
> 2.4.
>
> Nice to have would
David Leonard wrote:
> Perhaps there might be some interest in people running buildbot slaves?
> (http://buildbot.net/)
> Michael, you could run a trusted buildmaster, and helpers would run
> buildslaves that connect to your master.
Frankly I don't have currently the time for diving into it.
We
Alain Spineux wrote:
> Don't forget your package is already included in some distribution
> and then widely available.
Well, the coordination with distribution maintainers is somewhat
difficult anyway. But the distributor has to take care of dependencies.
> The best effort solution is to publish
Ryan Lovett wrote:
> On Wed, Jul 18, 2007 at 02:00:14PM +0200, Alain Spineux wrote:
>> Don't forget your package is already included in some distribution
>> and then widely available.
>
> Given that python-ldap is packaged by almost everyone, (excluding
> Microsoft, Apple, and Sun) what is there
Hello Andreas,
I've added your demo script to python-ldap's CVS as
Demo/pyasn1/prereadcontrol.py. I'd appreciate if you could implement the
decodeControlValue() method with pyasn1.
Ciao, Michael.
Andreas Hasenack wrote:
> I have been having fun with controls. Today I tried to use the Pre-Read
>
Alain,
Alain Spineux wrote:
>
> When investigating about python and unicode, I read somewhere (in a PEP
> I thing) that python functions should accept and manage unicode string
> as well as normal string.
Without knowing the PEP (reference?) I guess this affects functions
which takes a string as
Andreas Hasenack wrote:
> On Thu, Jul 19, 2007 at 01:21:07PM +0200, Michael Ströder wrote:
>> Hello Andreas,
>>
>> I've added your demo script to python-ldap's CVS as
>> Demo/pyasn1/prereadcontrol.py. I'd appreciate if you could implement the
>>
Andreas Hasenack wrote:
>
> Does web2ldap have any special handling of the back-config entries?
Not up to now. But using the LDIF and HTML templates pre-configured for
cn=config name space is quite handy. You can contact me off-list if you
need further information on that.
You might find some th
Stefan Gohmann wrote:
>
> I've got a problem with ldap.subschema and multiple SUP entries. I'm using
> python-ldap 2.2.0.
Thanks for catching this. Same bug in classes AttributeType and
DITStructureRule. Committed a fix, will be in next release 2.3.1.
Ciao, Michael.
P.S.: Hope you find the tim
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
Andreas Hasenack wrote:
> On Friday 03 August 2007 13:20:50 Andreas Hasenack wrote:
>> On Mon, Jul 16, 2007 at 12:50:30PM +0200, Michael Ströder wrote:
>>> Andreas Hasenack wrote:
>>>> On Thu, May 31, 2007 at 07:23:36PM -0300, Andreas Hasenack wrote:
>>>&g
Markus Zapke-Gründemann wrote:
>
> A few days ago I tried the first time a subtree search starting at
> the root of an Active Directory on a Windows 2003 Server.
This returns no results (if authenticated). So there's no point trying
that. You should rather read namingContexts or defaultNamingCont
Markus Zapke-Gründemann wrote:
> Michael Ströder wrote:
>> Markus Zapke-Gründemann wrote:
>>> Operations error
>>> : LdapErr: DSID-0C090627, comment: In order to perform this
>>> operation a successful bind must be completed on the connection.,
>>&
fintan wrote:
>
> I was wondering is it possible to search by a hex value?
Chapter 3 of RFC 4515 (LDAPv3 filter strings) starts with:
The string representation of an LDAP search filter is a string of
UTF-8 [RFC3629] encoded Unicode characters [Unicode] [..]
So please have a look at RFC 45
Torsten Kurbad wrote:
>
> I had similar problems when building python-ldap on Mac OSX, where
> openldap 2.2.x is installed by default. Simply "stealing" the 2.3
> headers from a Linux system did the trick there.
This workaround is very bad practice. You MUST NOT mix headers and libs
from differen
Eric Carty-Fickes wrote:
> I am trying to build python-ldap (2.3.1) on a RH Linux box. I
> installed openldap (2.3.38) from source with the default settings and
> had no problems. I also have a source install of Python 2.4.4.
>
> In setup.cfg I modified these two lines:
> library_dirs = /usr/loc
Torsten Kurbad wrote:
>
> Anyway, Eric HAS the 2.3.x libs installed and used the 2.2.x headers
> for no good reason. That's what I wanted to point out...
Got your message. But I wanted to make sure that it won't get misunderstood.
Ciao, Michael.
Geert Jansen wrote:
>
> the attached patch allows you to use default values for the
> functions/arguments below. This is helpful in an environment where
> /etc/openldap/ldap.conf is kept up to date with correct information.
Sorry, I won't accept this patch for general use. Note: This behaviour
is
Stefan Gohmann wrote:
>
> where could I find some examples or docs for using ldap controls with
> python-ldap?
Which particular controls are you interested in?
In the source distribution:
Demo/page_control.py
Demo/ldapcontrols.py
Demo/matchedvalues.py
Ciao, Michael.
-
James Andrewartha wrote:
>
> --- cidict.py~ 2003-08-25 00:28:12.0 +0800
> +++ cidict.py 2007-10-22 20:16:54.0 +0800
> @@ -43,6 +43,9 @@
>def has_key(self,key):
> return UserDict.has_key(self,lower(key))
>
> + def __contains__(self,key):
> +return UserDict.has_key(
James Andrewartha wrote:
> On Mon, 2007-10-22 at 15:05 +0200, Michael Ströder wrote:
>
>> If you're using ldap.schema you might want to look into using class
>> ldap.schema.models.Entry instead of simply ldap.cidict.cidict because
>> you don't have to care about
James Andrewartha wrote:
>
> Thanks for the pointer. I've updated the code to map _ in attribute
> names to -. Attributes without a short name are impossible to wrap - I'm
> not expecting clients of this library to know OIDs.
If you don't support schema elements without NAME you're not LDAPv3
com
James,
first of all many thanks for your efforts working on this.
James Andrewartha wrote:
>
> Is there anything else I need to do to get these applied, and the
> version of the docs on the website updated?
I've started reviewing your patches this morning and I have some doubts
about some detai
James Andrewartha wrote:
> I had a quick look at porting the docstrings of dsml, but it refers
> to DSMLv1 when v2 was released in 2002.
python-ldap's module implements DSMLv1, not DSMLv2. Gee, looking at the
module I don't remember what I've implemented there...
You see, DSML is very low on my p
Noah Gift wrote:
>
> I would love to talk to somebody on or offline about documenting
> python-ldap in an upcoming O'Reilly book on "Python for Systems
> Administration".
You're welcome to ask specific questions on this list.
Ciao, Michael.
--
Geert Jansen wrote:
>
> It is definately possibly to create active directory users with
> python-ldap. You just need to take care that you set the minimum amount
> of attributes required, otherwise the addition will fail. I don't have
> any code ready at the moment, but just create a user object w
David Leonard wrote:
>
> As far as I understand it, the unicodePwd attribute is the NT hash of
> the user's password.
I don't think so when setting it. Maybe it contains the NT hash
afterwards, but conversion is probably done internally.
http://support.microsoft.com/kb/269190
It seems you need
David Leonard wrote:
> I hope someone else can
> chime in here with an example of sasl binds with python-ldap.
See: Demo/sasl_bind.py
Ciao, Michael.
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log
Geert Jansen wrote:
>
> Forget about using LDAP to change a user's password. It can be done but
> it requires 128-bit SSL and so you need to set up certificate services
> and distribute the CA certificate to your client. An easier way is to
> use the Kerberos Set Password protocol (RFC3244). MIT K
Mike Matz wrote:
> In the future I plan to try to implement the sasl_bind
> code that Michael mentioned.
In the past after invoking kinit command-line tool for getting a TGT I
was successful sending a SASL bind with mech GSSAPI with python-ldap,
OpenLDAP libs and heimdal. But not sure about whet
Thomas Crawley wrote:
>
> I need to get my hands on an version 2.2.1 of Python-LDAP.
Really 2.2.1? Note that this won't run with Python 2.5 on 64 bit
platforms. Make sure that you fully understand all the issues fixed
since then by examining file CHANGES thoroughly.
CHANGES of CVS HEAD can be fo
Anil Jangity wrote:
> Okay, I was just introduced to "multi-valued RDN", didn't know about that.
Because of this + is also a special char in DNs. Always use
ldap.dn.escape_dn_chars() to escape special chars in attribute values
before forming a DN string.
> So, here's a quick question. Is there a
Roland,
Roland Hedberg wrote:
>
> But when I try to add the samAccountName attribute and thereby the
> object class SecurityPrincipal the server complains.
Could you please post a small test script?
Are you sure the value of the samAccountName does not collide with any
other user entry?
> The
th e.g. inetOrgPerson
class when installing Exchange before W2K3R2 schema etc.
Conclusion: Make your AD-specific scripts simply work even if it looks
not LDAPv3 compliant and leave the schema mess to your AD admins. :-)
Ciao, Michael.
--
Michael Ströder
E-Mail: [EMAIL PROTECTED]
http://www.stro
Roland,
Michael Ströder wrote:
> Roland Hedberg wrote:
>> The error message I get is 'Server is unwilling to perform' which
>> doesn't really tell me a lot :-)
>
> Most times it also returns a numeric error code with that message. You
> could try to s
Geert Jansen wrote:
>
> On a related note, you may be interested in my current project
> Python-AD: http://www.boskant.nl/trac/python-ad/
How are you using Kerberos? Do you expect the user to run MIT's kinit
before sending a SASL/GSSAPI bind request? Does it also work with
heimdal? Do you make us
Chaos Eternal wrote:
> i think, the may be some problem if you set sAMAccountName inconsistent
> with userPrincipalName.
AFAIK sAMAccountName and userPrincipalName are independent can be set
according to completely different naming conventions. You should try out
what is possible using the MMC Use
Geert Jansen wrote:
> Mike Matz wrote:
>> Will this initial release work on Mac OS X? If not, are there any
>> plans in the future for Mac OS X?
>
> At the moment I have not tested Python-AD on OSX, but I would be happy
> to support it in a future version. This requires though that someone
> sends
Craig Balfour wrote:
> I've just noticed, however, that when the old and new entry consist of
> the same characters but in a different order (as occurs when initials
> are swapped around, for example) ldap_compare_s() returns
> COMPARE_FALSE but modifyModlist() returns an empty list - the result
>
Geert Jansen wrote:
> Michael Ströder wrote:
>
>> I saw that kinit is started as a shell sub-process.
>
> Actually Python-AD comes with a C module that wraps the required
> Kerberos functions (see lib/ad/protocol/krb5.c). What you probably saw
> is the use of kinit in the
David Leonard wrote:
>
> I am interested in a better GSSAPI binding for Python.. and have some
> incomplete code locally if anyone else is interested.
Well, how about contributing your code to another project?
Or how about creating a new project?
> To do credential forwarding, the gss is current
Rich Megginson wrote:
> You might be interested in the freeipa.org project which uses python,
> python-ldap, turbogears, PyKerberos, and supports http authentication
> with forwardable tickets. I don't think they support SPNEGO yet but
> patches are welcome :-)
Well, glancing over the code I w
Rich Megginson wrote:
> You might be interested in the freeipa.org project which uses python,
> python-ldap, turbogears, PyKerberos, and supports http authentication
> with forwardable tickets.
> I don't think they support SPNEGO yet but patches are welcome :-)
How does the browser send the tick
Rich Megginson wrote:
> Michael Ströder wrote:
>> Rich Megginson wrote:
>>
>>> You might be interested in the freeipa.org project which uses python,
>>> python-ldap, turbogears, PyKerberos, and supports http authentication
>>> with forwardable tickets.
David Leonard wrote:
> Geert Jansen wrote:
>> Michael Ströder wrote:
>>> Well, setting an env var is not really a good choice when running within
>>> a multi-threaded web application... :-/
>
> yet another reason to avoid threads? :)
The multi-threaded approac
Fernando Ribeiro wrote:
>
> The problem was fixed using ldap.VERSION with ldap.VERSION3:
>
> self.conn.set_option(ldap.VERSION, ldap.VERSION3)
Strange, since ldap.VERSION3 is the default explicitly set when creating
a LDAPObject instance. Unless you formerly set this to ldap.VERS
Robert Escorcio wrote:
> After installing python-ldap 2.3 on Ubuntu (with openldap 2-3.39), I am
> getting the following error when importing ldap from a python program
>
> ImportError: /usr/lib/python2.4/site
> -packages/_ldap.so: undefined symbol: ber_pvt_opt_on
>
> I have seen reports on th
Robert Escorcio wrote:
> Where can I get 2.3.1?
I meant the source distribution of python-ldap 2.3.1:
http://sourceforge.net/project/showfiles.php?group_id=2072
> I'll check 2.3.4 because its the earliest version I can find and 2.3.10
> on the off chance that this is what you meant.
I'm not ta
Robert Escorcio wrote:
>
> I'll try building on a clean install of fedora. Maybe its just my OS
> build that is messed up.
Maybe a library mix?
Do you have several versions of liblber on your system?
Several OpenLDAP lib versions or even Fedora DS LDAP libs?
Ciao, Michael.
---
o.0.0.4
>> -rw-r--r-- 1 root root 126344 Dec 12 17:14
>> /usr/local/lib/liblber-2.3.so.0.0.4
>> -rw-r--r-- 1 root root 125898 Dec 12 11:26
>> /usr/local/lib/liblber-2.3.so.0.2.27
>> -rw-r--r-- 1 root root 169700 Dec 12 17:14 /usr/local/lib/liblber.a
>>
Leons Petrazickis wrote:
> ldap.LOCAL_ERROR: {'desc': 'Local error'}
> [..]
> But OpenLDAP commands work fine from the command prompt:
> [..]
> I am using the python-ldap package on Ubuntu Gutsy.
I have no clue which version of python-ldap Ubuntu is using. Nor do I
know whether they applied any
Ron Teitelbaum wrote:
>
> I'm adding an organization
>
> I get an exception info:'', desc: 'Already Exists' but if I go to gq the
> record actually did get added.
You're trying to re-add an entry with the same RDN. That's what this
message says.
> I have an exception handler that retrys the a
Leons Petrazickis wrote:
>
> I've installed Thorsten Kurbad's python_ldap-2.3.1-py2.4-linux-i686.egg on
> my Python 2.4 install
Which OS? Which Linux distribution? Which OpenLDAP libs?
> And this is the log output:
Cannot see anything obviously wrong.
> ldap.LOCAL_ERROR: {'desc': 'Local error'
Leons Petrazickis wrote:
> Michael Ströder <[EMAIL PROTECTED]> wrote on 18/12/2007 05:05:16 PM:
>
>> Leons Petrazickis wrote:
>>> I've installed Thorsten Kurbad's python_ldap-2.3.1-py2.4-linux-i686.egg
> on
>>> my Python 2.4 install
>>
Leons Petrazickis wrote:
>> _ldap.so
>> ldap/
>> ldif.py*
>> dsml.py*
>> ldapurl.py*
>
> I removed these. I then moved the OpenLDAP libs from /usr/lib to
> /usr/lib-backup, and removed all the extraneous copies lying around.
> [..]
> "/usr/lib/python2.4/site-packages/python_ldap-2.3.1-py2.4-linux-
Leons Petrazickis wrote:
> Michael Ströder <[EMAIL PROTECTED]> wrote on 20/12/2007 06:19:10 AM:
>
>> Ok. Just for the records: What kind of LDAP server product is this? Is
>> LDAPv3 connect definitely not possible?
>
> I was mistaken earlier. LDAPv3 connect i
James,
Michael Ströder wrote:
>
> I've started reviewing your patches this morning and I have some doubts
> about some details which need clarification. This will take a little
> bit. I will follow-up on this when I have some spare time left. Maybe
> tomorrow...
Well, actual
Leons Petrazickis wrote:
>
> I now have a fresh Ubuntu 7.10 install with OpenLDAP 2.1 in /usr/lib and a
> manually compiled OpenLDAP 2.3.39 in /usr/local/lib.
I hope you did not install python-ldap from Ubuntu. Do you have more
than one version of Python on this system?
Did you really
configur
Anil Jangity wrote:
>
> Is there some documentation somewhere that explains the usage of SASL
> bind requests?
No official docs yet. SASL-related patches for the docs are pending...
> How exactly should sasl_interactive_bind_s() be used?
It depends. Have a look at Demo/sasl_bind.py in the sourc
Jonathan Bowman wrote:
> (Static builds fine, but OpenLDAP doesn't seem to want this).
Sorry, don't have a hint for you. But I'd suggest to raise OpenLDAP
builds problems on the openldap-software mailing list. I don't see a
reason why linking a static build (of OpenSSL) shouldn't be supported by
Jonathan Bowman wrote:
> Thanks for the clarity and direction.
>
>> I guess you're on your own here - I simply used the precompiled
>> OpenLDAP Windoze installer, which I found on SF.net. It brought along
>> OpenSSL libs and everything works for me...
>
> I don't think that installer is maintaine
Jonathan Bowman wrote:
> Looks like MinGW and Python may be the wrong way to go; I think
> everything is done in Microsoft Visual C++ now?
IIRC the OpenLDAP developers always recommend to build OpenLDAP with MingW.
> So, until I can get Python compiled in MinGW, I suppose my short
> sojourn with
Jonathan Bowman wrote:
> I have placed instructions here:
>
> http://bowmansolutions.com/mingw-openldap/
Thanks for letting us know. If your instructions stay on this site I'll
link it from python-ldap's web page.
> If you all like it, I would love to know of the best place to post this info.
David S. wrote:
> When I call search_ext_s with sizelimit=n, I expect simply to get n or fewer
> entries in my result, but instead I get a SIZELIMIT_EXCEEDED exception
> {'info':
> '', 'desc': 'Size limit exceeded'}.
Hmm, the argument 'sizelimit' should be rather used with the async
method searc
David S. wrote:
> Michael Ströder <[EMAIL PROTECTED]> writes:
>
>
>> Hmm, the argument 'sizelimit' should be rather used with the async
>> method search_ext(). You can start the search with search_ext() and
>> receive the partial results with result3
Yeargan Yancey wrote:
I am trying to use the asynchronous LDAP polling feature and have a
question about what appears to be a timing issue. When I run the code
below, I find that I must insert a sleep() before entering the while
loop or I get a ValueError exception.
[..]
File "/usr/lib/pyt
Yeargan Yancey wrote:
> Hmm. That only moved the exception.
>
>File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line
> 421, in result3
> rtype, rdata, rmsgid, serverctrls = ldap_result
> ValueError: need more than 3 values to unpack
>
> I put the statement above into a try..
Yeargan, Yancey wrote:
>
> Not from source. This version came
> with SuSE Linux Enterprise Server 10.
What does rpm -q python-ldap say?
Ciao, Michael.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Micr
Yeargan, Yancey wrote:
>
> Can you point me to code for "self._l.result3"?
Grab the source. Best would be from CVS:
http://sourceforge.net/cvs/?group_id=2072
Look at Modules/LDAPObject.c into function l_ldap_result3() (starting at
line 940).
Ciao, Michael.
---
Yeargan Yancey wrote:
> python-ldap-2.0.11-14.2
Sorry, I'm not keen on supporting this ancient version anymore. This has
been released almost two years ago and I'm sure there were bugs in
there. Any chance you can build 2.3.1 from source? You can generate a
RPM with
python setup.py bdist_rpm
James Andrewartha wrote:
>> Hmm, I don't know whether I want to endorse the use of module
>> ldap.cidict. Since Python 2.3 has support for sets now this is somewhat
>> outdated.
>
> The main feature of cidict is that it's case-insensitive - I didn't
> think Python's sets were? cidict is still be
Philippe Bouige wrote:
>
> I work with sun/solaris and I try compute python-ldap with
> open-ldpa and I have this error !!! How to do ?
Sorry, I refuse to answer further direct e-mails not coming from
my customers. Please post further questions on the python-ldap-dev
mailing list (Cc:-e
Roland,
Roland Hedberg wrote:
>
> Is there a simple way to map a dictionary containing a attribute schema
> information for an attribute into a ldap.schema.attributeType instance ?
I'm not sure I fully understand what you want.
But did you already have a closer look at module ldap.schema and
th
Ron Teitelbaum wrote:
>
> I have to commit multiple objects. Can I use the modlist to store and
> commit multiple objects at once.
No. LDAP has no support for transactions over multiple entries.
Only write operations to single entries are guaranteed to be
atomar. Hence python-ldap does not co
Leons Petrazickis wrote:
>
> I just installed Suse Linux Enterprise Desktop 10. It comes with OpenLDAP
> 2.3.19 and Python 2.4. On top of that, I built the latest CVS checkout of
> python-ldap.
Could you please try to install Ralf Haferkamp's recent OpenLDAP
RPMs for SLE 10 from here and rebuild
Leons Petrazickis wrote:
> l = ldap.initialize("ldap://bluepages.ibm.com:636/",trace_level=2);
> [..]
> ldapsearch -h bluepages.ibm.com -x -b "ou=bluepages,o=ibm.com" -s sub
> "(sn=leonsp)" cn tieline -d 1
BTW: The connection parameters are not the same!
You would have to test with
ldapsearch -h
Yang Cheng Fu wrote:
>
> I am trying to access windows Active directory by using python-ldap, but
> I do not know how to write filter argument for search function.
From http://python-ldap.sourceforge.net/doc/python-ldap/ldap-objects.html:
--- snip --
Yang Cheng Fu wrote:
>
> Thanks for your help.
Thanks for finding a bug in the docs.
Ciao, Michael.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/M
HI!
inspired by a presentation the Subversion guys gave (as Google tech talk)
I'd like to remove all person names from the source code files. Instead
authors/contributors are all listed in README.
I already removed *my* name from all the python modules it appeared in. Now
I'd like to ask for t
James Andrewartha wrote:
>
> The cidict class needs the following method for "attr in cidict" to work
> properly:
>
> def __contains__(self,key):
> return self.has_key(key)
>
> Otherwise it defaults to using the UserDict __contains__ which isn't
> case-insensitive.
Thanks for reporting it
Rahul Amaram wrote:
> I was wondering if there is any way I can add binary data (such as
> jpegPhoto and userCertificate) using python-ldap. I've googled but
> coudn't find any solution. If there is no way of doing it, what is the
> best alternative solution?
There's simply no difference. Note
Rahul Amaram wrote:
> Thanks for the response. I think I found the reason for the error. It seems
> to be necessary to append ";binary" to the attribute name while
> adding/modifying binary attributes.
Not for all, better to say for just a few. Sending JPEG picture data for
attribute type 'jpegPh
David Leonard wrote:
> Michael Ströder wrote:
>>
>> inspired by a presentation the Subversion guys gave (as Google tech
>> talk) I'd like to remove all person names from the source code files.
>> Instead authors/contributors are all listed in README.
>>
&
Ron Teitelbaum wrote:
>
> I'm running into a problem with python open ldap connections.
Do you mean python-ldap connections or connections to an OpenLDAP server
from Python?
> It appears that they are not closing properly.
Can you check in th
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,
Ron Teitelbaum wrote:
> Yes python-ldap. I'm using a smalltalk -> python-ldap 2.2.1 -> openLDAP
> 2.3-2.3.30 on Ubuntu 7.04 (GNU/Linux 2.6.20-16-generic)
There has been important fixes for Python 2.5 and also ReconnectLDAPObject
in 2.3.0. So I'd recommend to build python-ldap 2.3.2 (releas
Torsten Kurbad wrote:
> But I ran into a problem while trying to build on my x86_64 Linux box:
>
> Modules/constants.c: In function 'LDAPinit_constants':
> Modules/constants.c:152: error: 'LDAP_OPT_DIAGNOSTIC_MESSAGE'
Sorry for that. This constant is available since OpenLDAP 2.4.x. Thanks for
rep
Noah Gift wrote:
> I was wondering if anyone had a pointer to a virtual machine they
> could recommend that I could download and test some python-ldap code.
How about searching for an openSUSE 10.3 VM and, if python-ldap is not
already installed, just invoke "yast -i python-ldap" as root on the
HI!
Anyone out there with C programming skills willing to look
into issue tracker item #1926507 ?
http://sourceforge.net/tracker/index.php?func=detail&aid=1926507&group_id=2072&atid=102072
Seems to be a long-lasting bug
Ciao, Michael.
---
HI!
please send messages like this to the mailing list
python-ldap-dev@lists.sourceforge.net (Cc:-ed) so others can answer and
learn as well. Thanks.
meldra wrote:
>
> I've been trying the past few days to easy_install
> python-ldap, but found out a few minutes ago that the CVS
> link that pyp
Ron Teitelbaum wrote:
> I have a few questions about leaving a bound connection open for sharing
> (python 2.4.4, python-ldap 2.2.1 - openldap 2.3-2.3.30 on Ubuntu 7.04).
>
> I'm using Async messages is there any benefit to using ReconnectLdapObject?
No. If you're solely using the async methods y
Ron Teitelbaum wrote:
>
> I'm getting
> can't-contact-ldap-server errors that I thought this would help with. Note,
> I believe this is different from the server down error you are mentioning.
Believe me it's not different. ldap.SERVER_DOWN is the exact exception class
which you have to catch
1 - 100 of 370 matches
Mail list logo