-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Blocker
-
Affects Version/s: None
-
Component/s: Registry Plugins
-
None
Provisioning of a CO Group that is linked to a UnixClusterGroup and that has a valid Identifier holding the gidNumber is not working.
Instrumenting the CoLdapProvisionerTarget.php file shows that ldap_add is called but with invalid attributes.
Here is the instrumentation of the code:
try { |
error_reporting(0); |
$this->log("FOO about to call ldap_add"); |
$this->log("FOO calling ldap_add with DN " . print_r($dns['newdn'], true)); |
$this->log("FOO calling ldap_add with attributes " . print_r($attributes, true)); |
ldap_add($cxn, $dns['newdn'], $attributes); |
error_reporting($current_error_reporting);
|
} catch(Exception $e) { |
$this->logLdapError($cxn, 'ldap_add', array( |
'newdn' => $dns['newdn'], |
'attributes' => $attributes |
));
|
throw new RuntimeException(ldap_error($cxn), ldap_errno($cxn)); |
}
|
Here is what is logged:
comanage-registry-1 | 2025-07-25 12:05:23 Error: FOO about to call ldap_add
|
comanage-registry-1 | 2025-07-25 12:05:23 Error: FOO calling ldap_add with DN cn=scott.koranda UnixCluster Group,ou=groups,o=MESS,o=CO,dc=cilogon,dc=org
|
comanage-registry-1 | 2025-07-25 12:05:23 Error: FOO calling ldap_add with attributes Array
|
comanage-registry-1 | (
|
comanage-registry-1 | [objectclass] => Array
|
comanage-registry-1 | (
|
comanage-registry-1 | )
|
comanage-registry-1 |
|
comanage-registry-1 | )
|
So a valid set of attributes is not being computed for the posixGroup.
- has to be done before
-
CO-2921 Attaching Identifier to CO Group does not invoke Provisioning Behavior
-
- Open
-