I want to do (what I thought) would be quite a simple thing. I have an LDAP
entry that looks like this(in LDIF format):
dn: cn=myorg,ou=teams,ou=groups,o=company,c=us
cn: myorg
objectClass: top
objectClass: CompanyTeams
objectClass: groupOfUniqueNames
owner: cn=john,ou=people,o=company,c=us
Find a new release of python-ldap:
https://pypi.python.org/pypi/python-ldap/2.4.25
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
Find a new release of python-ldap:
https://pypi.python.org/pypi/python-ldap/2.4.23
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
Find a new release of python-ldap:
https://pypi.python.org/pypi/python-ldap/2.4.22
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.21
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.21
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.20
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.20
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.19
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.19
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.18
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.18
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.17
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.17
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.16
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.16
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.15
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.15
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.14
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.14
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.11
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.11
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.11
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.11
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
2, you use normally the type str
for text. str means no unicode but encoded text.
When the Java-LDAP bridge passes text to the LDAP server, it must
encode the text - and maybe, it uses the correct encoding
(the one the LDAP server expects). The Python-LDAP bridge, on the other
hand, does not get
avazqu...@grm.uci.cu writes:
import ldap
conn = ldap.initialize(ldap://ldap.uci.cu;)
conn.protocol_version = ldap.VERSION3
conn.simple_bind_s( uid=xxx,dc=uci,dc=cu, xxx )
Result:
Traceback (most recent call last):
File console, line 1, in module
File
I have been doing the same thing and I tried to use java for testing the
credentials and they are correct. It works perfectly with java.
I really don´t know what we´re doing wrong.
You are accessing a protected operation of the LDAP server
and it (the server) rejects it due to invalid
I have been doing the same thing and I tried to use java for testing the
credentials and they are correct. It works perfectly with java.
I really don´t know what we´re doing wrong.
You are accessing a protected operation of the LDAP server
and it (the server) rejects it due to invalid
import ldap
conn = ldap.initialize(ldap://ldap.uci.cu;)
conn.protocol_version = ldap.VERSION3
conn.simple_bind_s( uid=xxx,dc=uci,dc=cu, xxx )
Result:
Traceback (most recent call last):
File console, line 1, in module
File /usr/lib/python2.7/dist-packages/ldap/ldapobject.py, line
207, in
Jorge Alberto Diaz Orozco wrote:
hi there.
I'm working with python ldap and I need to authenticate my user.
this is the code I'm using.
import ldap
ldap.set_option(ldap.OPT_REFERRALS,0)
ldap.protocol_version = 3
conn = ldap.initialize(ldap://ldap.domain.cu;)
conn.simple_bind_s(u
hi there.
I'm working with python ldap and I need to authenticate my user.
this is the code I'm using.
import ldap
ldap.set_option(ldap.OPT_REFERRALS,0)
ldap.protocol_version = 3
conn = ldap.initialize(ldap://ldap.domain.cu;)
conn.simple_bind_s(u...@domain.cu,password)
every time I do
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.8
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.8
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.8
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.4
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.4
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.4
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.4
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.4
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
/20081101060042/http://www.agescibs.org/mauro/
http://old.zope.org/Members/volkerw/LdapWin32/
Puh, this is really ancient stuff...
For Python historians:
http://python-ldap.cvs.sourceforge.net/python-ldap/python-ldap/CHANGES?view=markup
Ciao, Michael.
--
http://mail.python.org/mailman/listinfo
Hi,
I have spent a couple of hours asking google, browsing Pypi, SF, and of course
the official www.python-ldap.org site searching for a python-ldap installer for
Python 2.3 on Windows 32 bits. Unsuccessfully :(
As I need to add this to an ooold Plone site, it is not easy to upgrade
Gilles Lenfant wrote:
I have spent a couple of hours asking google, browsing Pypi, SF, and of
course the official www.python-ldap.org site searching for a python-ldap
installer for Python 2.3 on Windows 32 bits. Unsuccessfully :(
In theory even recent python-ldap 2.4.3 should still work
I did try to build it using my current setup but it failed with some linking
errors.
Oh well.
Google gods were nicer to me. Here is a couple alternative links.
Maybe they will work for you.
http://web.archive.org/web/20081101060042/http://www.agescibs.org/mauro/
So many thanks for your valuable help Waldemar, this is exactly what I needed.
I have no Windows machine to compile with the source bundle all this, and must
install this directly in a production server.
I'll keep these precious links and files in a trunk.
Many thanks again
--
Gilles Lenfant
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.3
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.3
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.1
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.1
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
Hi Everyone,
I am having an issue with getting python-ldap to compile in my RHEL
enviroment. I am running python 2.7.2 from source, and I have the
openldap-devel package installed but still can not get this to work.
Here is the output:
extra_compile_args: -g
extra_objects:
include_dirs: /opt
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.0
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.0
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
Nello wrote:
I need to create an Active Directory user using python-ldap library. So, I
authenticate with an admin account and I use add_s to create the user.
This is possible. Which version of AD are you working with.
Anyway, by default users are disabled on creation,
That's the correct way
I need to create an Active Directory user using python-ldap library.
So, I authenticate with an admin account and I use add_s to create
the user.
Anyway, by default users are disabled on creation, and I can not set
userAccountControl to swith off the flag ACCOUNTDISABLE, i.e. setting
HI!
The old SF mailing list python-ldap-dev was shut down today.
I'd be happy to see you on the new mailing list for
http://python-ldap.org under the umbrella of python.org.
List info here:
http://mail.python.org/mailman/listinfo/python-ldap
All announcements, discussion and support related
HI!
The old SF mailing list python-ldap-dev was shut down today.
I'd be happy to see you on the new mailing list for
http://python-ldap.org under the umbrella of python.org.
List info here:
http://mail.python.org/mailman/listinfo/python-ldap
All announcements, discussion and support related
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.3.13
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.3.13
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.3.12
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
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.3.12
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
tekion wrote:
I know perl Net::LDAP could do a recursive search call to LDAP.
I don't know perl's Net::LDAP and therefore I'm not sure what you mean with
recursive search call. Personally I'd associate that with recursively
processing LDAP tree structure.
What I am running into with Python
Hi,
I know perl Net::LDAP could do a recursive search call to LDAP. What
I am running into with Python LDAP on the search call is that I would
l have to wait for the search to complete to get the result. Where as
with Perl recursive search call, I would get the result (not the
completed result
On Tue, 13 Jul 2010 18:15:58 -0700, tekion wrote:
Hi,
I know perl Net::LDAP could do a recursive search call to LDAP. What I
am running into with Python LDAP on the search call is that I would l
have to wait for the search to complete to get the result. Where as
with Perl recursive search
Find a new release of python-ldap:
http://www.python-ldap.org/
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://www.python-ldap.org/
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://www.python-ldap.org/
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://www.python-ldap.org/
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'm using python-ldap to create some entries on my openldap server.
The problem is that some of those entries have accented characters and
unicode text in general.
I'm wondering if there is any example or documentation on how to add
or modify ldap objects whose values contains non-ascii
Matias wrote:
Hi!
I'm using python-ldap to create some entries on my openldap server.
The problem is that some of those entries have accented characters and
unicode text in general.
I'm wondering if there is any example or documentation on how to add
or modify ldap objects whose values
Find a new release of python-ldap:
http://www.python-ldap.org/
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 need a PYTHON-LDAP package.
I'm trying to install ploneldap and it tells me I need python-ldap
package first .. but I can't find one to match my versions.
I'm using plone 3.2.2, Python 2.4.4 and Zope 2.10.7 on a Win32 environment.
Preferable I'd like an EXE as not too familiar
Larry kavanagh wrote:
I need a PYTHON-LDAP package.
I'm trying to install ploneldap and it tells me I need python-ldap
package first .. but I can't find one to match my versions.
I'm using plone 3.2.2, Python 2.4.4 and Zope 2.10.7 on a Win32 environment.
Did you check all the links
Find a new release of python-ldap:
http://www.python-ldap.org/
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://www.python-ldap.org/
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
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
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
Hi,
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.
Here is my actual code, it is not the cleanest as I am learning python.
Suggestions are
Hi
I am trying to make a simple Python script using LDAP. The module is
imported OK, but when I call the function open or initialize, I get
this error:
Traceback (most recent call last):
File /home/juan/workspace/amquare/src/nutum/amquare/amquare.py,
line 122, in module
conn.connect()
and might vanish
in future versions of python-ldap.
See also Demo/initialize.py in python-ldap's source distribution.
Ciao, Michael.
--
http://mail.python.org/mailman/listinfo/python-list
#ldap.initialize
Use of compability function ldap.open() is deprecated and might vanish
in future versions of python-ldap.
See also Demo/initialize.py in python-ldap's source distribution.
Ciao, Michael.
Perfect! Thank you very much.
--
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
Michael Ströder wrote:
Please tell me
which Python version you're using
We do have one venerable machine here at work using python2.2 with
python-ldap2.0.0pre04. As you can see, we haven't bothered to update either
in quite a while ;-)
and why it'd be important for you to
have python-ldap
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
-On [20080616 15:55], Michael Ströder ([EMAIL PROTECTED]) wrote:
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
[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
Michael Ströder wrote:
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:
, right?
Don't know. Since I don't know your DN and AD domain configuation.
I've added a new example script ms_ad_bind.py to python-ldap's Demo/
directory illustrating all the possible bind methods:
http://python-ldap.cvs.sourceforge.net/*checkout*/python-ldap/python-ldap/Demo/ms_ad_bind.py
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
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/
immedialtey after import, then did the initialize trace_level=2 and
did the simple_bind_s. I was able to search and get the results.
That trace_level thing is nice, i'm
, and DomainDNSZones partitions of the
directory when we were doing SCOPE_SUBTREE scoped searches from the
root DN of an AD domain. When python-ldap tried to chase those
referrals it did so with an anonymous bind, hence the error.
Once we turned off the OPT_REFERRALS option, our only other
consideration
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
It seems the only way I can bind is by using this format:
simple_bind_s('[EMAIL PROTECTED]','password')
If I try using a DN, it fails every time. This will not work:
simple_bind_s('cn=user,dc=server,dc=local', 'password')
Errors out with invalid credentials: ldap.INVALID_CREDENTIALS:
{'info':
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)
--
http://mail.python.org/mailman/listinfo/python-list
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
Hello all, I am trying to integrate TurboGears with our Active
Directory here at the office. TurboGears aside, i cannot get this to
work. The simplest thing i can do to test this is:
import ldap
l = ldap.initialize(ldap://server.net;)
l.simple_bind(DN, secret)
1
l.result(1)
(97, [])
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. The simplest thing i can do to test this is:
import ldap
l = ldap.initialize(ldap://server.net;)
Thanks for that last link, i'll try that tomorrow :) As for the
tgolden modules, i will use that in a pinch, but it means our server
has to be a windows box. just trying to keep this as open as
possible :)
Thanks again
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 154 matches
Mail list logo