Added support for the Jabber ID
authorjoey <>
Thu, 18 Nov 2004 18:10:57 +0000 (18:10 +0000)
committerjoey <>
Thu, 18 Nov 2004 18:10:57 +0000 (18:10 +0000)
ud-fingerserv
ud-info

index 29ba13b..1a944e7 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-# $Id: ud-fingerserv,v 1.18 2004/11/18 16:49:15 joey Exp $
+# $Id: ud-fingerserv,v 1.19 2004/11/18 19:10:57 joey Exp $
 
 # (c) 1999 Randolph Chung. Licensed under the GPL. <tausq@debian.org>
 # (c) 2004 Martin Schulze. Licensed under the GPL. <joey@debian.org>
@@ -30,10 +30,11 @@ my %attrs = (
   'key' => 'Key block',
   'ircnick' => 'IRC nickname',
   'icquin' => 'ICQ UIN',
+  'jabberjid' => 'Jabber ID',
   'labeleduri' => 'URL'
 );
 
-my @summarykeys = ('cn', 'mn', 'sn', 'email', 'labeleduri', 'ircnick', 'icquin', 'keyfingerprint', 'key');
+my @summarykeys = ('cn', 'mn', 'sn', 'email', 'labeleduri', 'ircnick', 'icquin', 'jabberjid', 'keyfingerprint', 'key');
 
 $SIG{__DIE__} = \&DieHandler;
 $SIG{INT} = \&DieHandler;
diff --git a/ud-info b/ud-info
index 3c8a639..8bad1d3 100755 (executable)
--- a/ud-info
+++ b/ud-info
@@ -43,7 +43,8 @@ AttrInfo = {"cn": ["First Name", 101],
            "latitude": ["Latitude",12],
            "longitude": ["Longitude",13],
            "icqUin": ["ICQ UIN",14],
-           "privateSub": ["Debian-Private",15],
+           "jabberJID": ["Jabber ID",15],
+           "privateSub": ["Debian-Private",16],
            "comment": ["Comment",116],
            "userPassword": ["Crypted Password",117],
             "dnsZoneEntry": ["d.net Entry",118]};
@@ -71,6 +72,7 @@ AttrPrompt = {"cn": ["Common name or first name"],
              "longitude": ["XEarth latitude in ISO 6709 format - see /usr/share/zoneinfo/zone.tab or etak.com"],
              "dnsZoneEntry": ["DNS Zone fragment associated this this user"],
               "labledURI": ["Web home page"],
+              "jabberJID": ["Jabber ID"],
               "icqUin": ["ICQ UIN Number"]};
 
 # Create a map of IDs to desc,value,attr