Skip to content

Conversation

@simonLeary42
Copy link
Collaborator

#13

@simonLeary42
Copy link
Collaborator Author

confirmed that web portal doesn't need any changes:

resources/lib/UnityGroup.php
419:            $members = $pi_group->getAttribute("memberuid");
450:        $members = $pi_group->getAttribute("memberuid");
resources/lib/UnityLDAP.php
242:            $params = array($user->getAttribute("cn")[0], $this, $UnitySQL, $UnityMailer, $UnityRedis, $UnityWebhook);
269:                $pi_group->getAttribute("cn")[0],
300:                $org_group->getAttribute("cn")[0],
resources/lib/UnityOrg.php
61:        $members = $org_group->getAttribute("memberuid");
77:            $members = $org_group->getAttribute("memberuid");
resources/lib/UnityUser.php
187:            $org = $this->getLDAPUser()->getAttribute("o")[0];
193:            return $this->getLDAPUser()->getAttribute("o")[0];
236:            $firstname = $this->getLDAPUser()->getAttribute("givenname")[0];
285:            $lastname = $this->getLDAPUser()->getAttribute("sn")[0];
339:            $mail = $this->getLDAPUser()->getAttribute("mail")[0];
403:            $result = $ldapUser->getAttribute("sshpublickey");
480:            $loginshell = $ldapUser->getAttribute("loginshell")[0];
528:            $homedir = $ldapUser->getAttribute("homedirectory");
547:        $admins = $this->LDAP->getAdminGroup()->getAttribute("memberuid");

getAttribute("homedirectory") is wrong but I think it's always been wrong and that method is not used anywhere: UnityHPC/unity-web-portal#178

@simonLeary42 simonLeary42 merged commit e3a7783 into main Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants