summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2014-10-24 08:38:38 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2014-10-24 08:38:38 (GMT)
commitf246536658781960265ba8b8e2f768f1d610eac0 (patch)
treebdaf7d72fde0e462691f8c9ac9ff922ea28e091d
parente4f5f1618885fc67f1ccff0adfdb48a8f5278e8e (diff)
downloadpratic-master.zip
pratic-master.tar.gz
pratic-master.tar.bz2
idp: share givenName and sn attributesHEADmaster
-rw-r--r--idp/extra/modules/store.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/idp/extra/modules/store.py b/idp/extra/modules/store.py
index fa06ef7..961e153 100644
--- a/idp/extra/modules/store.py
+++ b/idp/extra/modules/store.py
@@ -200,7 +200,7 @@ class MiniIdentityPratic(StorableObject):
def get_attributes(self):
agent = self.get_as_agent()
attributes = {}
- for k in ('username', 'cn', 'mail'):
+ for k in ('username', 'cn', 'mail', 'sn', 'givenName'):
v = getattr(agent, k)
if v is None:
continue