summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 20da3be)
raw | patch | inline | side by side (parent: 20da3be)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 May 2012 09:45:38 +0000 (09:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 May 2012 09:45:38 +0000 (09:45 +0000) |
Applied patch from 'stoneracer'
Fixed problems with sieve, login was not able if plain was onyl available under a layer.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@21137 594d385d-05f5-0310-b6e9-bd551577e9d8
Fixed problems with sieve, login was not able if plain was onyl available under a layer.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@21137 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mail/personal/mail/sieve/class_sieve.inc | patch | blob | history |
diff --git a/gosa-plugins/mail/personal/mail/sieve/class_sieve.inc b/gosa-plugins/mail/personal/mail/sieve/class_sieve.inc
index cab0fdd34673edd85c877098d44a160b1f0089d5..91c826f402b0c97d611ae825fa45ba11650e8177 100644 (file)
}
/* Fill error message if no auth types are present */
- if (!isset($this->capabilities["auth"])){
+ if (($this->options != "tls") && (!isset($this->capabilities["auth"]))){
$this->error=EC_UNKNOWN;
$this->error_raw = "No authentication methods found - please check your sieve setup for missing sasl modules";
return false;