projects
/
gentoo-keys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eff0bb6
)
Map dev's GKEY keyring field to ldap's uid.
author
Brian Dolbec
<dolsen@gentoo.org>
Sun, 23 Jun 2013 07:01:27 +0000
(
00:01
-0700)
committer
Brian Dolbec
<dolsen@gentoo.org>
Sun, 23 Jun 2013 07:01:27 +0000
(
00:01
-0700)
gkeyldap/search.py
patch
|
blob
|
history
diff --git
a/gkeyldap/search.py
b/gkeyldap/search.py
index 32e326b2b1589e5a99cecb0af73835fc60cf971a..169124faf6ebffdbc5b498c06ec99a757dab10aa 100644
(file)
--- a/
gkeyldap/search.py
+++ b/
gkeyldap/search.py
@@
-24,7
+24,9
@@
gkey2ldap_map = {
'name': 'cn',
'keyid': 'gpgkey',
'longkeyid': 'gpgkey',
- 'keyring': '',
+ # map the uid to keyring, since we want
+ # dev keyrings to be separate from each other
+ 'keyring': 'uid',
'fingerprint': 'gpgfingerprint'
}
# Sanity check they are in sync