There can be only one hostname by the ldap schema, so don't allow multiple
authorrmurray <>
Thu, 13 Oct 2005 03:26:41 +0000 (03:26 +0000)
committerrmurray <>
Thu, 13 Oct 2005 03:26:41 +0000 (03:26 +0000)
hostnames to be added.

ud-host

diff --git a/ud-host b/ud-host
index 0fa035a..442de6d 100755 (executable)
--- a/ud-host
+++ b/ud-host
@@ -129,7 +129,7 @@ def Overview(Attrs):
 
 # Change a single attribute
 def ChangeAttr(Attrs,Attr):
-   if (Attr == "sponsor" or Attr == "hostname" or Attr == "sshRSAHostKey"):
+   if (Attr == "sponsor" or Attr == "sshRSAHostKey"):
       return MultiChangeAttr(Attrs,Attr);
 
    print "Old value: '%s'" % (GetAttr(Attrs,Attr,""));