[Setup] Plone-LDAP authentication

Martin M Mugo mmugo at openworld.co.ke
Wed Aug 6 15:50:26 UTC 2008


Hi people,
This is my first post ever since taking up interest in plone and your
stuff has been very helpful.

Would to kindly ask someone to give ne some guidance on using plone for
authentication.
I have installed zope, plone and python-ldap + the Plone-LDAP bundle.
I cansuccessfully bind to LDAP with these settings:-

Title: Example staff
LDAP server: letter.example.org:389
use ssl: ldap     readonly: checked
Login Name Attribute: cn
User ID Attribute: uid
RDN Attribute: cn
users base dn: cn=people,dc=letter.example.org   Scope: subtree
groups base dn: cn=groups,dc=letter.example.org   Scope: subtree
manager dn: cn=config    password: 123456
user password encryption: clear
Default User Roles: anonymous, member

but dont seem to be able to authenticate any users against the credentials
I already have in the database.

I am a bit mixed up on the part of adding an object in the user folder.
And do I need to install some other product on plone apart from the
ploneLDAP-bundle??
This is part of my ldap (zimbra openLDAP) logs after attemting
authentication.

Aug  6 03:43:18 letter slapd[3873]: conn=990 op=1 SEARCH RESULT tag=101
err=0 nentries=1 text=
Aug  6 03:43:19 letter slapd[3873]: conn=990 fd=27 closed (connection lost)
Aug  6 03:43:19 letter slapd[3873]: conn=991 fd=27 ACCEPT from
IP=127.0.0.1:46589 (IP=127.0.0.1:389)
Aug  6 03:43:19 letter slapd[3873]: conn=991 op=0 BIND
dn="uid=zimbra,cn=admins,cn=zimbra" method=128
Aug  6 03:43:19 letter slapd[3873]: conn=991 op=0 BIND
dn="uid=zimbra,cn=admins,cn=zimbra" mech=SIMPLE ssf=0
Aug  6 03:43:19 letter slapd[3873]: conn=991 op=0 RESULT tag=97 err=0 text=
Aug  6 03:43:19 letter slapd[3873]: conn=991 op=1 SRCH
base="cn=servers,cn=zimbra" scope=2 deref=3
filter="(objectClass=zimbraServer)"
Aug  6 03:43:19 letter slapd[3873]: conn=991 op=1 SEARCH RESULT tag=101
err=0 nentries=1 text=
Aug  6 03:43:19 letter slapd[3873]: conn=992 fd=28 ACCEPT from
IP=127.0.0.1:46590 (IP=127.0.0.1:389)
Aug  6 03:43:19 letter slapd[3873]: conn=992 op=0 BIND
dn="uid=zimbra,cn=admins,cn=zimbra" method=128
Aug  6 03:43:19 letter slapd[3873]: conn=992 op=0 BIND
dn="uid=zimbra,cn=admins,cn=zimbra" mech=SIMPLE ssf=0
Aug  6 03:43:19 letter slapd[3873]: conn=992 op=0 RESULT tag=97 err=0 text=
Aug  6 03:43:19 letter slapd[3873]: conn=992 op=1 SRCH
base="cn=config,cn=zimbra" scope=0 deref=3 filter="(objectClass=*)"
Aug  6 03:43:19 letter slapd[3873]: conn=992 op=1 SEARCH RESULT tag=101
err=0 nentries=1 text=

Im running zope 2.10.5, plone 3.0.1, python 2.4.

Regards,
Martin.




More information about the Setup mailing list