From 17c89ab2ed7eb1dabe70906e87c13667e7e0ae45 Mon Sep 17 00:00:00 2001 From: rmurray <> Date: Thu, 13 Oct 2005 03:26:41 +0000 Subject: [PATCH] There can be only one hostname by the ldap schema, so don't allow multiple hostnames to be added. --- ud-host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ud-host b/ud-host index 0fa035a..442de6d 100755 --- 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,"")); -- 2.20.1