[Freeipa-devel] [bind-dyndb-ldap PR#2][comment] fix ldif syntax and add idnsTemplateAttribute

2016-10-13 Thread stutiredboy
  URL: https://github.com/freeipa/bind-dyndb-ldap/pull/2
Title: #2: fix ldif syntax and add idnsTemplateAttribute

stutiredboy commented:
"""
so sorry for the root committer, but the white space is needed by OpenLDAP LDIF 
parser. I have fixed the ugly pull request. :-)

Thanks.
"""

See the full comment at 
https://github.com/freeipa/bind-dyndb-ldap/pull/2#issuecomment-253458793
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [bind-dyndb-ldap PR#2][synchronized] fix ldif syntax and add idnsTemplateAttribute

2016-10-13 Thread stutiredboy
   URL: https://github.com/freeipa/bind-dyndb-ldap/pull/2
Author: stutiredboy
 Title: #2: fix ldif syntax and add idnsTemplateAttribute
Action: synchronized

To pull the PR as Git branch:
git remote add ghbind-dyndb-ldap https://github.com/freeipa/bind-dyndb-ldap
git fetch ghbind-dyndb-ldap pull/2/head:pr2
git checkout pr2
From 7a808ffd0126967b56ff16cf2c5d0eb7b43c66d2 Mon Sep 17 00:00:00 2001
From: stutiredboy <stutired...@gmail.com>
Date: Thu, 13 Oct 2016 17:05:10 +0800
Subject: [PATCH] add 'idnsTemplateAttribute' and ldif format fix

---
 doc/schema.ldif | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/doc/schema.ldif b/doc/schema.ldif
index 8fdc99f..77c5b0e 100644
--- a/doc/schema.ldif
+++ b/doc/schema.ldif
@@ -362,9 +362,16 @@ attributeTypes: ( 2.16.840.1.113730.3.8.5.31
  NAME 'idnsServerId'
  DESC 'DNS server identifier'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
- EQUALITY caseIgnoreMatch
+ EQUALITY caseIgnoreMatch 
  SINGLE-VALUE )
 #
+attributeTypes: ( 2.16.840.1.113730.3.8.5.29 
+ NAME 'idnsTemplateAttribute' 
+ DESC 'Template attribute for dynamic attribute generation' 
+ EQUALITY caseIgnoreIA5Match 
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 
+ X-ORIGIN 'IPA v4.4' )
+#
 attributeTypes: ( 2.16.840.1.113730.3.8.5.30 
  NAME 'idnsSubstitutionVariable' 
  DESC 'User defined variable for DNS plugin' 
@@ -426,6 +433,6 @@ objectClasses: ( 2.16.840.1.113730.3.8.6.6
 objectClasses: ( 2.16.840.1.113730.3.8.6.5 
  NAME 'idnsTemplateObject' 
  DESC 'Template object for dynamic DNS attribute generation' 
- SUP top
+ SUP top 
  AUXILIARY 
  MUST ( idnsTemplateAttribute ) )
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [bind-dyndb-ldap PR#2][opened] fix ldif syntax and add idnsTemplateAttribute

2016-10-12 Thread stutiredboy
   URL: https://github.com/freeipa/bind-dyndb-ldap/pull/2
Author: stutiredboy
 Title: #2: fix ldif syntax and add idnsTemplateAttribute
Action: opened

PR body:
"""
schema.ldif lost some white space in the line end.
schema.ldif lost the idnsTemplateAttribute definitition
"""

To pull the PR as Git branch:
git remote add ghbind-dyndb-ldap https://github.com/freeipa/bind-dyndb-ldap
git fetch ghbind-dyndb-ldap pull/2/head:pr2
git checkout pr2
From 43820dc2450046cda9deb2cf7450e5dfdc92ec76 Mon Sep 17 00:00:00 2001
From: root <r...@hysafe-unknown4690.i.nease.net>
Date: Tue, 11 Oct 2016 17:21:07 +0800
Subject: [PATCH 1/2] fix ldif syntax and add idnsTemplateAttribute

---
 doc/schema.ldif | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/doc/schema.ldif b/doc/schema.ldif
index 8fdc99f..ee20f02 100644
--- a/doc/schema.ldif
+++ b/doc/schema.ldif
@@ -362,9 +362,16 @@ attributeTypes: ( 2.16.840.1.113730.3.8.5.31
  NAME 'idnsServerId'
  DESC 'DNS server identifier'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
- EQUALITY caseIgnoreMatch
+ EQUALITY caseIgnoreMatch 
  SINGLE-VALUE )
 #
+olcattributeTypes: ( 2.16.840.1.113730.3.8.5.29 
+ NAME 'idnsTemplateAttribute' 
+ DESC 'Template attribute for dynamic attribute generation' 
+ EQUALITY caseIgnoreIA5Match 
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 
+ X-ORIGIN 'IPA v4.4' )
+#
 attributeTypes: ( 2.16.840.1.113730.3.8.5.30 
  NAME 'idnsSubstitutionVariable' 
  DESC 'User defined variable for DNS plugin' 
@@ -426,6 +433,6 @@ objectClasses: ( 2.16.840.1.113730.3.8.6.6
 objectClasses: ( 2.16.840.1.113730.3.8.6.5 
  NAME 'idnsTemplateObject' 
  DESC 'Template object for dynamic DNS attribute generation' 
- SUP top
+ SUP top 
  AUXILIARY 
  MUST ( idnsTemplateAttribute ) )

From 196e0bce0985a5cd6fcacf80e9565d502ee99147 Mon Sep 17 00:00:00 2001
From: tiredboy <tired...@hysafe-unknown4690.i.nease.net>
Date: Thu, 13 Oct 2016 10:39:29 +0800
Subject: [PATCH 2/2] fix the attribute name for dnsTemplateAttribute

---
 doc/schema.ldif | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/schema.ldif b/doc/schema.ldif
index ee20f02..77c5b0e 100644
--- a/doc/schema.ldif
+++ b/doc/schema.ldif
@@ -365,7 +365,7 @@ attributeTypes: ( 2.16.840.1.113730.3.8.5.31
  EQUALITY caseIgnoreMatch 
  SINGLE-VALUE )
 #
-olcattributeTypes: ( 2.16.840.1.113730.3.8.5.29 
+attributeTypes: ( 2.16.840.1.113730.3.8.5.29 
  NAME 'idnsTemplateAttribute' 
  DESC 'Template attribute for dynamic attribute generation' 
  EQUALITY caseIgnoreIA5Match 
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code