]> snippets.scripts.mit.edu Git - Scripts/git/.git/commitdiff
Fix issues with user setup in the scripts backend
authorAlex Dehnert <adehnert@mit.edu>
Tue, 24 May 2011 20:31:37 +0000 (16:31 -0400)
committerAlex Dehnert <adehnert@mit.edu>
Mon, 6 Jun 2011 05:57:09 +0000 (01:57 -0400)
In particular:
* Properly escape usernames before passing them to LDAP
* Error out if the user can't be found

In theory, neither should be an issue, because this should only get called if
certs are in use, so the username should be sane and present in LDAP.

Thanks to Anders for bringing the first issue to my attention.


No differences found