Public bug reported:

Binary package hint: slapd

1) Take a working Ubuntu LDAP server using the pre-8.10 configuration
file : /etc/ldap/slapd.conf

2) Run the following python script :

#!/usr/bin/python
import ldap.schema
ssse, schema = ldap.schema.urlfetch("ldap://127.0.0.1";)
print ssse, schema


it will return something like : 
cn=Subschema <ldap.schema.subentry.SubSchema instance at 0xf79c85ac>


3) Upgrade to the /etc/ldap/slapd.d/* configuration. Make sure that it works 
correctly (in my case it was postfix, dovecot, ejabberd, apache and some 
webapps. Everything is working fine with ldap)

4) Run the above python script :
it returns : " None, None".


This makes it impossible to run certain applications like Mandriva Directory 
Server or custom python scripts.

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: python-ldap (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: python-ldap (Ubuntu)
   Importance: Undecided
       Status: New

-- 
ldap.schema.urlfetch doesn't work anymore since slapd.d migration
https://bugs.launchpad.net/bugs/506317
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to