]> git.proxmox.com Git - pmg-api.git/blobdiff - PMG/LDAPConfig.pm
fix #1947: implement starttls for ldap
[pmg-api.git] / PMG / LDAPConfig.pm
index 022749cad142fda2f2688a4eb18024492556a5a7..9e4fd9e7e4a90083843f384644604eb0b8098fdf 100644 (file)
@@ -53,13 +53,13 @@ sub properties {
            maxLength => 4096,
        },
        mode => {
-           description => "LDAP protocol mode ('ldap' or 'ldaps').",
+           description => "LDAP protocol mode ('ldap', 'ldaps' or 'ldap+starttls').",
            type => 'string',
-           enum => ['ldap', 'ldaps'],
+           enum => ['ldap', 'ldaps', 'ldap+starttls'],
            default => 'ldap',
        },
        verify => {
-           description => "Verify server certificate. Only useful with ldaps.",
+           description => "Verify server certificate. Only useful with ldaps or ldap+starttls.",
            type => 'boolean',
            default => 0,
            optional => 1,