projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Do not mail admin if users try to submit unsupported keys
[mirror/userdir-ldap.git]
/
ud-sync-accounts-to-afs
diff --git
a/ud-sync-accounts-to-afs
b/ud-sync-accounts-to-afs
index
4fccaa9
..
1cc478b
100755
(executable)
--- a/
ud-sync-accounts-to-afs
+++ b/
ud-sync-accounts-to-afs
@@
-123,7
+123,7
@@
def filter_have(a):
if n == 'anonymous': # keep account, so remove from the have list
a.del_name(n)
continue
- m = re.match('[0-9a-z]+$', n)
+ m = re.match('[0-9a-z
-
]+$', n)
if not m: # weird name, probably has dots like weasel.admin etc.
a.del_name(n)
continue