Code

Added check for SASL PW Method for newly created accounts
authorscheiter <scheiter@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 20 Nov 2006 12:18:37 +0000 (12:18 +0000)
committerscheiter <scheiter@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 20 Nov 2006 12:18:37 +0000 (12:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5165 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/generic/class_user.inc

index 20f4f2f23d2ce90681a50a322b91936bfe9249f5..c8ab1fd0bface2cba8554e84893e1a0bf3bac041 100644 (file)
@@ -1001,7 +1001,7 @@ class user extends plugin
       } else {
 
         /* User doesn't exists, create it when pw_storage is kerberos. */
-        if ($this->pw_storage == "kerberos"){
+        if ($this->pw_storage == "kerberos" || $this->pw_storage == "sasl" ){
           $ret= kadm5_create_principal ( $handle, $principal);
 
           if ($ret === FALSE){