From 26042a727441733429ecc39dd3792158f2a2ba86 Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Sat, 10 May 2008 14:19:22 +0200 Subject: [PATCH] add VoIP --- ud-info | 6 ++++-- ud-mailgate | 2 ++ userdir-ldap.schema | 9 +++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/ud-info b/ud-info index 8fde99a..e533a9e 100755 --- a/ud-info +++ b/ud-info @@ -55,7 +55,8 @@ AttrInfo = {"cn": ["First Name", 101], "mailWhitelist": ["Mail Whitelist",24], "comment": ["Comment",116], "userPassword": ["Crypted Password",117], - "dnsZoneEntry": ["d.net Entry",118]}; + "dnsZoneEntry": ["d.net Entry",118], + "VoIP": ["VoIP Address",119]}; AttrPrompt = {"cn": ["Common name or first name"], "mn": ["Middle name (or initial if it ends in a dot)"], @@ -89,7 +90,8 @@ AttrPrompt = {"cn": ["Common name or first name"], "dnsZoneEntry": ["DNS Zone fragment associated this this user"], "labeledURI": ["Web home page"], "jabberJID": ["Jabber ID"], - "icqUin": ["ICQ UIN Number"]}; + "icqUin": ["ICQ UIN Number"], + "VoIP": ["VoIP Address"]}; # Create a map of IDs to desc,value,attr OrderedIndex = {}; diff --git a/ud-mailgate b/ud-mailgate index 6b8cd38..f705497 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -44,6 +44,7 @@ ArbChanges = {"c": "..", "mailDisableMessage": ".*", "mailGreylisting": "^(TRUE|FALSE)$", "mailCallout": "^(TRUE|FALSE)$", + "VoIP": ".*", }; DelItems = {"c": None, @@ -71,6 +72,7 @@ DelItems = {"c": None, "mailRHSBL": None, "mailWhitelist": None, "mailDisableMessage": None, + "VoIP": None, }; # Decode a GPS location from some common forms diff --git a/userdir-ldap.schema b/userdir-ldap.schema index d089f0b..d31d0e7 100644 --- a/userdir-ldap.schema +++ b/userdir-ldap.schema @@ -3,6 +3,7 @@ # XXX # - [PP] Now version controlled in db.d.o bzr repository - 2007-12-25 # - [HE] Add 'purpose', 'physicalHost' to debianServer - 2007-12-25 +# - [zobel] Add 'VoIP' - 2008-05-10 # # 0.7 [RM] # - Add 'gender' and 'birthDate' to debianDeveloper @@ -96,6 +97,7 @@ # .32 - mailDisableMessage # .33 - purpose # .34 - physicalHost +# .35 - VoIP # # .3 - experimental LDAP objectClasses # .1 - debianDeveloper @@ -350,6 +352,13 @@ attributetype ( 1.3.6.1.4.1.9586.100.4.2.34 SINGLE-VALUE SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) +attributetype ( 1.3.6.1.4.1.9586.100.4.2.35 + NAME 'VoIP' + DESC 'VoIP URL to communicate with that person' + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) + # Public object classes objectclass ( 1.3.6.1.4.1.9586.100.4.1.1 -- 2.20.1