Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-1987

gidNumber for posixAccount not provisioned to LDAP when CoPerson status is Suspended

    XMLWordPrintable

Details

    Description

      When the CoPerson record is set to Suspended, the $provisioningData['CoGroupMember'] sent to the LDAP Provisioner does NOT include the UnixCluster group created for the CoPerson automatically by UnixCluster.

      As such the LDAP Provisioner code

      case 'gidNumber':
      case 'voPosixAccountGidNumber':
        // Find the Identifier of primary_co_group_id
        $gidIdentifier = Hash::extract($provisioningData['CoGroupMember'],'{n}.CoGroup[id='.$ua['UnixClusterAccount']['primary_co_group_id'].'].Identifier.{n[type='.$ua['UnixCluster']['gid_type'].']');
        $attributes[$lsattr] = $gidIdentifier[0]['identifier'];
        break;
       

       

      cannot find the value for gidNumber and sends an empty value, but that is not allowed by the schema.

      Attachments

        Activity

          People

            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            scott.koranda.3@at.internet2.edu Scott Koranda SCG (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: