Skip to content
This repository was archived by the owner on Jul 2, 2020. It is now read-only.

Debugging Authentication

Timotheus Pokorra edited this page Feb 9, 2018 · 12 revisions

Users are managed in LDAP.

Authentication happens in several places:

To test authentication with saslauthd:

testsaslauthd -u test.test@pokorra.de -p secret
0: OK "Success."

When developing in pykolab Auth, test the code to see syntax errors:

/usr/sbin/kolab-saslauthd  -l warning --socket /run/saslauthd/mux

To test authentication via ldap:

ldapsearch -D "uid=test,ou=People,dc=kolab,dc=pokorra,dc=de" -w $pwd -b ou=People,dc=kolab,dc=pokorra,dc=de 

To test authentication via cyrus:

telnet localhost 143
   . login test secret

To test authentication via cyrus over port 993:

openssl s_client -connect mykolab.myserver.de:993 -CApath /etc/ssl/certs
   . login test secret

Clone this wiki locally