From e78bf9bae66b6d337d3b2a27a9b15c907e533a34 Mon Sep 17 00:00:00 2001 From: Akhil Date: Thu, 13 Jun 2024 16:27:32 +0530 Subject: [PATCH 1/4] cluser -> cluster --- lib/Service/UserService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/UserService.php b/lib/Service/UserService.php index 1371c74f..90fe2764 100644 --- a/lib/Service/UserService.php +++ b/lib/Service/UserService.php @@ -63,7 +63,7 @@ class UserService { 'commonServicesToken' => $this->config->getSystemValue('common_services_token', ''), 'aliasDomain' => $this->config->getSystemValue('alias_domain', ''), 'commonApiVersion' => $this->config->getSystemValue('common_api_version', ''), - 'userCluserId' => $this->config->getSystemValue('user_cluser_id', ''), + 'userCluserId' => $this->config->getSystemValue('user_cluster_id', ''), 'objectClass' => $this->config->getSystemValue('ldap_object_class', []), ]; } -- GitLab From 88c0b3fe65bef96e2694b79806310afb2b7980ef Mon Sep 17 00:00:00 2001 From: Akhil Date: Thu, 13 Jun 2024 16:29:03 +0530 Subject: [PATCH 2/4] Fix also UserClusterId for LDAP --- lib/Service/UserService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/UserService.php b/lib/Service/UserService.php index 90fe2764..dd0f756e 100644 --- a/lib/Service/UserService.php +++ b/lib/Service/UserService.php @@ -63,7 +63,7 @@ class UserService { 'commonServicesToken' => $this->config->getSystemValue('common_services_token', ''), 'aliasDomain' => $this->config->getSystemValue('alias_domain', ''), 'commonApiVersion' => $this->config->getSystemValue('common_api_version', ''), - 'userCluserId' => $this->config->getSystemValue('user_cluster_id', ''), + 'userClusterId' => $this->config->getSystemValue('user_cluster_id', ''), 'objectClass' => $this->config->getSystemValue('ldap_object_class', []), ]; } -- GitLab From 4a28690392f08e4e09e20426cc844cb9941368eb Mon Sep 17 00:00:00 2001 From: Akhil Date: Thu, 13 Jun 2024 16:31:36 +0530 Subject: [PATCH 3/4] Fix typo in addNewUserToLdap also --- lib/Service/UserService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/UserService.php b/lib/Service/UserService.php index dd0f756e..1f8b67b6 100644 --- a/lib/Service/UserService.php +++ b/lib/Service/UserService.php @@ -327,7 +327,7 @@ class UserService { 'recoveryMailAddress' => '', 'active' => 'TRUE', 'mailActive' => 'TRUE', - 'userClusterID' => $this->apiConfig['userCluserId'], + 'userClusterID' => $this->apiConfig['userClusterId'], 'objectClass' => $this->apiConfig['objectClass'] ]; -- GitLab From 28ac78671255954e24a9db99bfab2e90e685856b Mon Sep 17 00:00:00 2001 From: Akhil Date: Thu, 13 Jun 2024 16:35:19 +0530 Subject: [PATCH 4/4] Id -> ID --- lib/Service/UserService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Service/UserService.php b/lib/Service/UserService.php index 1f8b67b6..c2db1c52 100644 --- a/lib/Service/UserService.php +++ b/lib/Service/UserService.php @@ -63,7 +63,7 @@ class UserService { 'commonServicesToken' => $this->config->getSystemValue('common_services_token', ''), 'aliasDomain' => $this->config->getSystemValue('alias_domain', ''), 'commonApiVersion' => $this->config->getSystemValue('common_api_version', ''), - 'userClusterId' => $this->config->getSystemValue('user_cluster_id', ''), + 'userClusterID' => $this->config->getSystemValue('user_cluster_id', ''), 'objectClass' => $this->config->getSystemValue('ldap_object_class', []), ]; } @@ -327,7 +327,7 @@ class UserService { 'recoveryMailAddress' => '', 'active' => 'TRUE', 'mailActive' => 'TRUE', - 'userClusterID' => $this->apiConfig['userClusterId'], + 'userClusterID' => $this->apiConfig['userClusterID'], 'objectClass' => $this->apiConfig['objectClass'] ]; -- GitLab