X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-generate;h=dfb3fb6f6a45a15e81aeb81aac9293b7106b650b;hb=23d16a206665d2170958463f13409868daffb7e0;hp=2ad4791dbecb175bef6a1919a605b5b919300e23;hpb=449a9409c1c39bd0255722a928fb24c404054940;p=mirror%2Fuserdir-ldap.git diff --git a/ud-generate b/ud-generate index 2ad4791..dfb3fb6 100755 --- a/ud-generate +++ b/ud-generate @@ -376,7 +376,7 @@ def addGroups(existingGroups, newGroups, uid): continue if not GroupIDMap.has_key(group): - print "Group does not exist ",group,"but",uid,"is in it" + print "Group", group, "does not exist but", uid, "is in it" continue existingGroups.append(group) @@ -910,10 +910,6 @@ def GenSSHKnown(l,File,mode=None): if Host.endswith(HostDomain): HostNames.append(Host[:-(len(HostDomain)+1)]) - # [[]] makes http links - # but integrating it somehow into the purpose line might be a good idea - # maybe [[*fooobar]] things would be a link but not added to the ssh key list, - # and [[-..]] or something would be just an ssh entry but no link # in the purpose field [[host|some other text]] (where some other text is optional) # makes a hyperlink on the web thing. we now also add these hosts to the ssh known_hosts # file. But so that we don't have to add everything we link we can add an asterisk