Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory-plugins fusiondirectory-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 55
    • Issues 55
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectory-pluginsfusiondirectory-plugins
  • Wiki
  • LdapAlias

LdapAlias · Changes

Page history
Update LdapAlias authored Nov 09, 2017 by bmortier's avatar bmortier
Show whitespace changes
Inline Side-by-side
LdapAlias.md
View page @ a9056f7a
# Managing Alias ldap object in FusionDirectory
# Problem
### Purpose
We need to make objects aliases (not for mail) in Fusiondirectory.
LdapAlias is a plugin which allow to manage ldap aliasedObjectName.
Our Problem :
### Fonctionality
- We have a FusionDirectory server in latest version
- We have a QNAP storage bay
It will allow to create alias on objects on other part of the ldap tree to make them appears in only one branch.
On QNAP, it's not possible (at the time of writing this) to have Samba
accounts in multiple OUs. (not possible to make a subtree search)
We must put all the users at the root level !
### Problem
We can search users with filter but it will be preferable if we can
distribute user objects aliases in differents OU.
The final user will can branch to the OU and obtain directly only the
users in that OU.
Applications searching the LDAP will be able to follow aliases if they support that.
This can be done by setting the LDAP option LDAP_OPT_DEREF to LDAP_DEREF_ALWAYS. ldapsearch supports this with option "-a always".
We search if it's possible in openldap and we find that :
https://coderwall.com/p/c0w6-q/create-ldap-aliases-in-openldap
This seems to match LDAP option LDAP_OPT_DEREF ldap_set_option
# Alias plugin
### Solution
We can create an alias plugin in FD which allows to create/manage object of objectClass alias with only one field to enter the dn it should be an alias to.
We create a plugin in FusionDirectory that manage aliasedObjectName attributes.
Applications searching the LDAP will be able to follow aliases if they support that.
This can be done by setting the LDAP option LDAP_OPT_DEREF to LDAP_DEREF_ALWAYS. ldapsearch supports this with option "-a always".
This seems to match LDAP option LDAP_OPT_DEREF ldap_set_option
\ No newline at end of file
#### ldap objectClass
```
objectClass: alias
objectClass: top
objectClass: extensibleObject
```
#### Management list
We should a a management class in FusionDirectory that manage this kind of objects, and allow to create new aliasedObjectName attributes.
When we create a new aliasedObjectName attributes we should use :
* a UsersAttribute for selecting the user is linked to for user alias
* a xxxAttribute for selecting the user is linked to for group alias
Clone repository
  • FusiondirectoryIPAM
  • LSC
  • LdapAlias
  • Modifying group member types
  • RestWebservice
    • addUpdateUser
    • addUpdateUserMultivaluated
    • createUser
    • deleteUser
  • SupannSupport
  • UserReminder
  • deployment features
  • fd lsc backend
  • fd lsc zimbra
  • filters acl
View All Pages