allow more characters in ldap base_dn attribute
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 22 Feb 2012 05:17:27 +0000 (06:17 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 22 Feb 2012 05:17:27 +0000 (06:17 +0100)
Makefile
PVE/AccessControl.pm
changelog.Debian

index f9cebd6..37d7f09 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ RELEASE=2.0
 
 VERSION=1.0
 PACKAGE=libpve-access-control
-PKGREL=12
+PKGREL=13
 
 DESTDIR=
 PREFIX=/usr
index 0e625d5..e860db1 100644 (file)
@@ -663,7 +663,7 @@ my $valid_attributes = {
     ldap => {
        server1 => '[\w\d]+(.[\w\d]+)*',
        server2 => '[\w\d]+(.[\w\d]+)*',
-       base_dn => '\w+=[\w\s]+(,\s*\w+=[\w\s]+)*',
+       base_dn => '\w+=[^,]+(,\s*\w+=[^,]+)*',
        user_attr => '\S{2,}',
        secure => '',
        port => '\d+',
index 3fcbce6..476a7e4 100644 (file)
@@ -1,3 +1,9 @@
+libpve-access-control (1.0-13) unstable; urgency=low
+
+  * allow more characters in ldap base_dn attribute
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 22 Feb 2012 06:17:02 +0100
+
 libpve-access-control (1.0-12) unstable; urgency=low
 
   * allow more characters with realm IDs