From 7a464d6f5f330c820f672078f851374c2a3d9db0 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sat, 25 Jul 2015 19:54:09 -0400 Subject: [PATCH] first_boot: Switch to new ldap action. --- plinth/modules/first_boot/forms.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plinth/modules/first_boot/forms.py b/plinth/modules/first_boot/forms.py index 5c8a62a32..118d52e8c 100644 --- a/plinth/modules/first_boot/forms.py +++ b/plinth/modules/first_boot/forms.py @@ -67,8 +67,8 @@ than 63 characters in length.'), try: actions.superuser_run( - 'create-ldap-user', - [user.get_username()], + 'ldap', + ['create-user', user.get_username()], input=self.cleaned_data['password'].encode()) except ActionError: messages.error(self.request, @@ -76,8 +76,8 @@ than 63 characters in length.'), try: actions.superuser_run( - 'add-ldap-user-to-group', - [user.get_username(), 'admin']) + 'ldap', + ['add-user-to-group', user.get_username(), 'admin']) except ActionError: messages.error(self.request, _('Failed to add new user to admin group.'))