I need only data search for LDAP attributes no authentication (authentication through CAS and works)
non-anonymous search needed.
I tried .dev and beta2.

Settings:

general info:
Directory Server : ldaps.UGent.be
Base DN : dc=UGent,dc=be
Security : use SSL
Port Number : 636

Use Start-TLS
Secure the connection between the Drupal and the LDAP servers using TLS.
Note: To use START-TLS, you must set the LDAP Port to 389.

I tried enabled/disabled port 636 and 389 as stated under the option.
Nothing works.

advanced configuration: (same as used for manual bind =correct)
DN for non-anonymous search: cn=xxx,ou=xxx,dc=UGent,dc=be
Pass: xxx

Test fails

Main difference:
Manual bind i use :ldaps://ldaps.UGent.be
drupal: settings as stated above

pleas advice,
thx a lot

Comments

ikeigenwijs’s picture

Component: Documentation » Code
cgmonroe’s picture

Status: Active » Closed (works as designed)

Clearing out old support requests - reopen if problem still exists in newest code (dev)

That said...ldapdata depends on ldapauth. So, with two authentication methods enabled (CAS and ldapauth), things will probably get a bit confused and will probably not work. There are various places in the code that look to see if the user being updated has been authenticated by ldap and which dn it maps to... these are set by ldapauth... so if you're authenticated by CAS, this info is probably not there.

Bottom line is this works as designed... for your case, you will probably have to do custom code.