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
(from parent 1:
132eca4
)
we need realm there
author
Martin Zobel-Helas
<zobel@debian.org>
Sun, 12 Jan 2014 11:14:56 +0000
(12:14 +0100)
committer
Martin Zobel-Helas
<zobel@debian.org>
Sun, 12 Jan 2014 11:14:56 +0000
(12:14 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
ud-generate
patch
|
blob
|
history
diff --git
a/ud-generate
b/ud-generate
index
cec8f4e
..
64c462e
100755
(executable)
--- a/
ud-generate
+++ b/
ud-generate
@@
-427,7
+427,7
@@
def GenVoipPassword(accounts, File):
A1 = "%s:%s:%s" % (a['uid'], realm, Pass)
HA1 = hashlib.md5(A1).hexdigest()
- Line = "%s:%s:%s:AUTHORIZED" % (a['uid'], HA1,
Pass
)
+ Line = "%s:%s:%s:AUTHORIZED" % (a['uid'], HA1,
realm
)
Line = Sanitize(Line) + "\n"
F.write("%s" % (Line))