Hiya..also having same issue with fresh download of the 2.1 zip.
added ldap_set_option($ldap, LDAP_OPT_REFERRALS, 0); to library/Xerte/Authentication/Ldap.php
I added the special.php and ran - it added 2nd entry in ldap table
Debug working fine but not very helpful
2015-07-02 14:41:56 /srv/www/vhosts/xerte.uct.ac.za/xertetoolkits/library/Xerte/Authentication/Ldap.php69Valid login? Xerte / Password1
2015-07-02 14:41:56 /srv/www/vhosts/xerte.uct.ac.za/xertetoolkits/library/Xerte/Authentication/Ldap.php88Running : SELECT * FROM ldap
2015-07-02 14:41:56 /srv/www/vhosts/xerte.uct.ac.za/xertetoolkits/library/Xerte/Authentication/Ldap.php91Trying to authenticate against srvslsath002.uct.ac.za
2015-07-02 14:41:56 /srv/www/vhosts/xerte.uct.ac.za/xertetoolkits/library/Xerte/Authentication/Ldap.php138Failed to bind to ldap server- perhaps the dn(cn=svc_xerte,ou=services,o=uct) or password(somepasswdhere) are incorrect?
2015-07-02 14:41:56 /srv/www/vhosts/xerte.uct.ac.za/xertetoolkits/library/Xerte/Authentication/Ldap.php91Trying to authenticate against srvdc01.lincolncollege.ac.uk
2015-07-02 14:41:57 /srv/www/vhosts/xerte.uct.ac.za/xertetoolkits/library/Xerte/Authentication/Ldap.php138Failed to bind to ldap server- perhaps the dn(CN=Xerte,CN=Staff,DC=lincolncollege,DC=ac,DC=uk) or password(Password1) are incorrect?
ldap search of UCT auth service for cn=svc_xerte returns
thor6:/home/roger # ldapsearch -x -H ldaps://srvslsath002.uct.ac.za cn=svc_xerte
# extended LDIF
#
# LDAPv3
# base <> (default) with scope subtree
# filter: cn=svc_xerte
# requesting: ALL
#
# svc_xerte, services, uct
dn: cn=svc_xerte,ou=services,o=uct <><<<<<<<<
uid: svc_xerte
givenName: Xerte
fullName: Xerte Service Account
Language: ENGLISH
sn: Service Account
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: Person
objectClass: ndsLoginProperties
objectClass: Top
loginTime: 20150630130006Z
cn: svc_xerte <<<<<<<<<<<<<<<<<
ACL: 2#subtree#cn=svc_xerte,ou=services,o=uct#[All Attributes Rights]
ACL: 6#entry#cn=svc_xerte,ou=services,o=uct#loginScript
ACL: 2#entry#[Public]#messageServer
ACL: 2#entry#[Root]#groupMembership
ACL: 6#entry#cn=svc_xerte,ou=services,o=uct#printJobConfiguration
ACL: 2#entry#[Root]#networkAddress
also run setup/ldap_test.php with just the UCT auth in ldap table..it returns
filter_attr = uid
Attempting to connect
Connected
Attempting to bind
LDAP bound
LDAP search attempt
LDAP search success
No LDAP entries for that user
Logging in failed
Getting LDAP record for user - to work with Toolkits - [sn][0] should the surname and [givenname][0] should be the first name
which again doesn't help me diagnose the issue