Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
46a4b87
LdapConnector/LdapProvisioner Plugin
Ioannis Mar 17, 2026
c8f4ff7
Refactor LDAP provisioning plan, fix duplicate plugin association ali…
Ioannis Aug 17, 2026
a1064b1
Bind plugin relations in GroupsTable initialization
Ioannis Aug 17, 2026
54a68b0
Fix voPersonPolicyAgreement attribute calculation and assignment from…
Ioannis Aug 27, 2026
fcf9e16
LdapConnector: Use TAndCAgreement virtual URL field for voPersonPolic…
Ioannis Sep 1, 2026
0307b62
Fix schema deletion redirects, modal title resolution, and single sch…
Ioannis Sep 4, 2026
34c7b45
Refactor LdapConnector schema to direct table columns and MVC archite…
Ioannis Sep 15, 2026
847f717
Improve schema.json file
Ioannis Sep 15, 2026
9a2a21d
Refactor LDAP schema attribute provisioning and UI type selector options
Ioannis Sep 16, 2026
d94f834
Replace getAttributes() with getDefaults() across LDAP schema tables
Ioannis Sep 16, 2026
56af34f
Modularize LDAP schema attribute assembly into dedicated methods
Ioannis Sep 16, 2026
715b2a7
Document provisioning data structures and improve/fix schema attribut…
Ioannis Sep 16, 2026
255d862
Fix review comments related to the schema description.
Ioannis Sep 16, 2026
e4fb6fe
improve assemblePluginAttributes() phpdoc
Ioannis Sep 17, 2026
4506986
Refactor LDAP schema controllers and consolidate schema traits
Ioannis Sep 17, 2026
bd80219
Remove in-memory schema status synchronization from SchemaPluginContr…
Ioannis Sep 17, 2026
78509b4
Extract PluggableControllerTrait and refactor pluggable controller hi…
Ioannis Sep 17, 2026
5559944
Remove redundant new line
Ioannis Sep 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,19 @@ public function beforeMarshal(EventInterface $event, \ArrayObject $data, \ArrayO

/**
* Assemble Authenticator data for provisioning.
*
* Example return:
* <code>
* [
* [
* 'id' => 1301,
* 'password_authenticator_id' => 1,
* 'person_id' => 101,
* 'password' => '7sK29a...SSHA_HASH...',
* 'type' => 'SH' // PasswordEncodingEnum::SSHA ('SH'), Crypt ('CR'), PlainText ('PL')
* ]
* ]
* </code>
*
* @since COmanage Registry v5.2.0
* @param Authenticator $cfg Authenticator Configuration
Expand Down
9 changes: 5 additions & 4 deletions app/plugins/CoreServer/src/Model/Table/LdapServersTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ public function modReplace(\LDAP\Connection $cxn, string $dn, array $attributes)
* @param \LDAP\Connection $cxn Active LDAP connection (already connected and bound).
* @param string $oldDn Current (full) DN of the entry.
* @param string $newRdn New RDN (relative distinguished name) for the entry.
* @param string|null $newParentDn New parent DN, or null to keep the same parent.
* @param string $newParentDn New parent DN, or an empty string to keep the same parent.
* @param bool $deleteOldRdn Whether to delete the old RDN value from the entry.
* @return void
* @throws \RuntimeException On LDAP rename failure.
Expand All @@ -406,7 +406,7 @@ public function renameEntry(
\LDAP\Connection $cxn,
string $oldDn,
string $newRdn,
?string $newParentDn = null,
string $newParentDn = '',
bool $deleteOldRdn = true
): void {
$currentErrorReporting = error_reporting(0);
Expand Down Expand Up @@ -465,7 +465,7 @@ public function readEntry(\LDAP\Connection $cxn, string $dn, array $attributes =
* @param array $attributes
* @return array{action:string,dn:string}
*/
protected function addOrModifyAt(\LDAP\Connection $cxn, string $dn, array $attributes): array {
public function addOrModifyAt(\LDAP\Connection $cxn, string $dn, array $attributes): array {
try {
$this->modReplace($cxn, $dn, $attributes);
return ['action' => 'modify', 'dn' => $dn];
Expand Down Expand Up @@ -495,7 +495,7 @@ protected function addOrModifyAt(\LDAP\Connection $cxn, string $dn, array $attri
* Performs a case-insensitive suffix match. If $baseDn is empty or not a suffix
* of $newDn, returns $newDn unchanged.
*/
protected function removeBaseDnSuffix(string $newDn, string $baseDn): string {
public function removeBaseDnSuffix(string $newDn, string $baseDn): string {
if ($baseDn === '') {
return $newDn;
}
Expand All @@ -510,6 +510,7 @@ protected function removeBaseDnSuffix(string $newDn, string $baseDn): string {
return $newDn;
}


/**
* Disconnect (unbind) an LDAP connection for a given server ID.
*
Expand Down
Loading