projects
/
mirror
/
userdir-ldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f481ecc
)
There can be only one hostname by the ldap schema, so don't allow multiple
author
rmurray
<>
Thu, 13 Oct 2005 03:26:41 +0000
(
03:26
+0000)
committer
rmurray
<>
Thu, 13 Oct 2005 03:26:41 +0000
(
03:26
+0000)
hostnames to be added.
ud-host
patch
|
blob
|
history
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):
# 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,""));
return MultiChangeAttr(Attrs,Attr);
print "Old value: '%s'" % (GetAttr(Attrs,Attr,""));