which is now in pve-common Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> --- src/PMG/LDAPConfig.pm | 13 ------------- 1 file changed, 13 deletions(-)
diff --git a/src/PMG/LDAPConfig.pm b/src/PMG/LDAPConfig.pm index 9e4fd9e..a6cd6ef 100644 --- a/src/PMG/LDAPConfig.pm +++ b/src/PMG/LDAPConfig.pm @@ -12,19 +12,6 @@ use PVE::SectionConfig; use base qw(PVE::SectionConfig); -PVE::JSONSchema::register_format('ldap-simple-attr', \&verify_ldap_simple_attr); -sub verify_ldap_simple_attr { - my ($attr, $noerr) = @_; - - if ($attr =~ m/^[a-zA-Z0-9]+$/) { - return $attr; - } - - die "value '$attr' does not look like a simple ldap attribute name\n" if !$noerr; - - return undef; -} - my $inotify_file_id = 'pmg-ldap.conf'; my $config_filename = '/etc/pmg/ldap.conf'; -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel