Hey,
I'm trying to use python-ldap to do something that works with the
ldapsearch command line tool. I've posted code samples, can someone
point out why the python-ldap fails? What is different about what
python-ldap is doing. It seems that it forgets that it just _did_ bind
successfully...
thanks
] http://trs80.ucc.asn.au/ldaporm.py
James Andrewartha
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser
On Mon, 2007-10-22 at 15:05 +0200, Michael Ströder wrote:
> 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):
> >
pposed to be interpreted by the webserver. Try
http://trs80.ucc.asn.au/ldaporm.pys instead.
James Andrewartha
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search
On Mon, 2007-10-22 at 16:13 +0200, Michael Ströder wrote:
> 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 s
Hi,
The first patch removes an invalid LDAP option. The second updates the
LDAPObject documentation, and the third updates LDAPObject docstrings.
Hopefully I'll have time to look at updating the rest of the docs soon.
James Andrewartha
Index: Modules/consta
On Tue, 2007-10-23 at 09:15 +0800, James Andrewartha wrote:
> Hi,
>
> The first patch removes an invalid LDAP option. The second updates the
> LDAPObject documentation, and the third updates LDAPObject docstrings.
> Hopefully I'll have time to look at updating the rest of th
On Tue, 2007-10-23 at 17:27 +0800, James Andrewartha wrote:
> On Tue, 2007-10-23 at 09:15 +0800, James Andrewartha wrote:
> > Hi,
> >
> > The first patch removes an invalid LDAP option. The second updates the
> > LDAPObject documentation, and the third updates LDAPObjec
On Mon, 2007-10-22 at 19:22 +0200, Michael Ströder wrote:
> 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
binding to the server? Simple bind or SASL?
Unencrypted or SSL/TLS? Also, which LDAP server is it? OpenLDAP can be
configured to require stronger authentication for modifications - search
for ssf (Security Strength Factor) in the slapd.access(5) and
slap.conf(5) man pages.
Jam
g used in this example
written at the end of last year:
http://www.packtpub.com/article/python-ldap-applications-ldap-opearations
James Andrewartha
-
This SF.net email is sponsored by: Microsoft
Defy all challenges.
Hi,
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,
Ja
- my library wasn't meant to be
general purpose, it was for scenarios where you have control of the LDAP
server and can make these things can't happen. In fact my ultimate idea was
to upload user-defined model schema to the LDAP server via cn=config.
--
James Andrewartha
--
d libldap is linked into many GPL applications. So
the solutions are fix the OpenSSL licensing or make GnuTLS not suck; I
have no hope of either occurring.
James Andrewartha
--
The modern datacenter depends on network co
14 matches
Mail list logo