Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Update FreeIPA.php #669

Merged
merged 2 commits into from May 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
28 changes: 26 additions & 2 deletions src/Schemas/FreeIPA.php
Expand Up @@ -4,6 +4,14 @@

class FreeIPA extends Schema
{
/**
* {@inheritdoc}
*/
public function accountName()
{
return 'uid';
}

/**
* {@inheritdoc}
*/
Expand All @@ -27,6 +35,14 @@ public function objectClassGroup()
{
return 'ipausergroup';
}

/**
* {@inheritdoc}
*/
public function userPrincipalName()
{
return 'krbCanonicalName';
}

/**
* {@inheritdoc}
Expand Down Expand Up @@ -59,6 +75,14 @@ public function lockoutTime()
{
return 'lockouttime';
}

/**
* {@inheritdoc}
*/
public function passwordLastSet()
{
return 'krbLastPwdChange';
}

/**
* {@inheritdoc}
Expand Down Expand Up @@ -89,14 +113,14 @@ public function objectClassUser()
*/
public function objectGuid()
{
return 'objectguid';
return 'ipaUniqueID';
}

/**
* {@inheritdoc}
*/
public function objectGuidRequiresConversion()
{
return true;
return false;
}
}