summaryrefslogtreecommitdiffstats
path: root/ipa-python/ipaclient.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-python/ipaclient.py')
-rw-r--r--ipa-python/ipaclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-python/ipaclient.py b/ipa-python/ipaclient.py
index d74c40ae4..28e560018 100644
--- a/ipa-python/ipaclient.py
+++ b/ipa-python/ipaclient.py
@@ -70,7 +70,7 @@ class IPAClient:
# FIXME: What is the default group for users?
user['gidnumber'] ='501'
user['krbprincipalname'] = "%s@%s" % (user['uid'], realm)
- user['cn'] = "%s %s" % (user['givenName'], user['sn'])
+ user['cn'] = "%s %s" % (user['givenname'], user['sn'])
if user.get('gn'):
del user['gn']