summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 75c3f0a)
raw | patch | inline | side by side (parent: 75c3f0a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 Apr 2008 09:35:47 +0000 (09:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 Apr 2008 09:35:47 +0000 (09:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10274 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc
index 967d8c4ce5e3a1cdfb0b6e5cec1f42bb917293a3..16545939182c0d996d11786660d01184a9dd967f 100644 (file)
}
/* Check name */
- if(!preg_match("/^[a-z]*$/i",$this->cn)){
- $message[] = msgPool::invalid(_("Name"),$this->cn,"/[a-z]/i");
+ if(!preg_match("/^[a-z\@]*$/i",$this->cn)){
+ $message[] = msgPool::invalid(_("Name"),$this->cn,"/[a-z\@]/i");
}
/* Check if this entry will cause duplicated ldap entries */