From 88ab86fa37f06348d50ca875ecd994d6b565484f Mon Sep 17 00:00:00 2001 From: "kmccarth@redhat.com" Date: Thu, 2 Aug 2007 15:01:59 -0700 Subject: Rename 'gn' to 'givenName' --- ipa-python/rpcclient.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ipa-python/rpcclient.py') diff --git a/ipa-python/rpcclient.py b/ipa-python/rpcclient.py index f37096d8..187b0b3c 100644 --- a/ipa-python/rpcclient.py +++ b/ipa-python/rpcclient.py @@ -77,9 +77,7 @@ def add_user(user): # FIXME: What is the default group for users? user['gidNumber'] ='501' user['krbPrincipalName'] = "%s@%s" % (user['uid'], realm) - user['cn'] = "%s %s" % (user['gn'], user['sn']) - if user.get('gn'): - del user['gn'] + user['cn'] = "%s %s" % (user['givenName'], user['sn']) try: result = server.add_user(user) -- cgit