]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add optional description field to LDAP schema
authorRoland Gruber <post@rolandgruber.de>
Thu, 20 Dec 2018 08:46:32 +0000 (09:46 +0100)
committerOndřej Surý <ondrej@sury.org>
Thu, 20 Dec 2018 09:33:34 +0000 (10:33 +0100)
(cherry picked from commit 83903f6f5e03030100fc1d1b31ee078345090883)

contrib/dlz/modules/ldap/testing/dlz.schema

index 6c79ab235d45ad33fad20a1891ab0c5078eedd72..2580f1a5450ef6ded7ac1667bcdd89e8539afc3c 100644 (file)
@@ -127,13 +127,13 @@ objectclass ( 1.3.6.1.4.1.18420.1.2.20
        NAME 'dlzHost' 
         DESC 'Host name portion of a domain name'
         SUP top STRUCTURAL
-       MUST ( objectclass $ dlzHostName ) )
+       MUST ( objectclass $ dlzHostName ) MAY ( description ) )
         
 objectclass ( 1.3.6.1.4.1.18420.1.2.30
        NAME 'dlzAbstractRecord' 
         DESC 'Data common to all DNS record types'
         SUP top ABSTRACT
-       MUST ( objectclass $ dlzRecordID $ dlzHostName $ dlzType $ dlzTTL ) )
+       MUST ( objectclass $ dlzRecordID $ dlzHostName $ dlzType $ dlzTTL ) MAY ( description ) )
         
 objectclass ( 1.3.6.1.4.1.18420.1.2.40
        NAME 'dlzGenericRecord'