Code

Removed uid check
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 15 Dec 2005 10:35:58 +0000 (10:35 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 15 Dec 2005 10:35:58 +0000 (10:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2313 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/generic/class_user.inc

index 8de21f7e6bdea9449806a6e73c45d4e2ce689432..d34faef653f87dda87f5b814534e0882a75e2199 100644 (file)
@@ -894,10 +894,6 @@ class user extends plugin
     /* Assemble cn */
     $this->cn= $this->givenName." ".$this->sn;
 
-    if(preg_match("/[^a-z0-9]/",$this->uid)){
-      $message[]=_("Invalid characters in uid.") ;
-    }
-
     /* Permissions for that base? */
     if (isset($this->config->current['DNMODE']) && $this->config->current['DNMODE'] == "uid"){
       $new_dn= 'uid='.$this->uid.','.get_people_ou().$this->base;