Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rfc2307bis-2 extended support is missing for many groups style #14

Closed
mikefaille opened this issue May 12, 2016 · 16 comments
Closed

rfc2307bis-2 extended support is missing for many groups style #14

mikefaille opened this issue May 12, 2016 · 16 comments
Assignees
Milestone

Comments

@mikefaille
Copy link

mikefaille commented May 12, 2016

rfc2307bis-2 extended support.

I actually want PosixGroup defined as AUXILIARY to mix PosixGroup and group like :

  • groupOfNames using "member" attribute
  • groupOfUniquesNames from rfc2307bis using "uniqueName" attribute
  • groupOfMembers from rfc2307bis-02 using "member" attribute

Actually, groupOfUniquesNames and groupOfMembers is not supported.

And, if I want "memberOf" overlay from Openldap, I really need to use "uniqueName" style as input for member.

The main difference between "uniqueName" and "member" attribute is :

  • uniqueName : require FDN/dn as input. FDN/dn example: cn=admin,dc=cedille,dc=ens,dc=etsmtl,dc=ca
  • member : require RDN as input. (FND is permitted from rfc2307bis-02). RDN example : cn=admin
@mikefaille mikefaille changed the title rfc2307bis extended support rfc2307bis extended support missing for groups May 12, 2016
@mikefaille
Copy link
Author

And Microsoft seems to implement groupOfUniqueNames as group objectClass by default for Active Directory : https://msdn.microsoft.com/en-us/library/ms682261(v=vs.85).aspx

Then actually, my biggest question before deep investigation is :
How much effort I must done to implement groupOfUniqueNames ?

My initial investigation for the last question : https://github.com/fusiondirectory/fusiondirectory/search?utf8=%E2%9C%93&q=groupofnames&type=Code

@mikefaille mikefaille changed the title rfc2307bis extended support missing for groups rfc2307bis-2 extended support is missing for many groups style May 12, 2016
@bilbo-the-hobbit
Copy link
Member

hello,

did you try the mixedgroups plugin, he doesnt support all the various you ask for but the first of the three should be. So if you would implement something you should look here.

We certainly welcome a patch for inclusion

Cheers

@mikefaille
Copy link
Author

I'll try this later this day if it's possible. Thanks ! :-)

@mikefaille
Copy link
Author

I'll test it soon as possible finally. See you.

@MCMic
Copy link
Contributor

MCMic commented May 16, 2016

FusionDirectory provides mixed-groups plugin to use posixGroup as auxilliary with the non-standard schemas.
We use groupOfNames for groups and put the full dn in the member attribute, I’ve never heard that member could contain only RDN. Where did you get that information from?
Here on zytrax for instance: http://www.zytrax.com/books/ldap/ch5/step2.html#step2-groups -> «member: dn defines the member(s) of the group by their DN.».

@mikefaille
Copy link
Author

mikefaille commented May 16, 2016

Thank you @MCMic, It help me ! With you and this link I know better the difference between
GroupOfUniqueNames and GroupOfNames : https://ldapwiki.willeke.com/wiki/GroupOfUniqueNames%20vs%20groupOfNames

@bilbo-the-hobbit
Copy link
Member

Hello,

did you get further with what you wanted to achieve

Cheers

@mikefaille
Copy link
Author

mikefaille commented Jun 2, 2016

I'll complete my work after my university exam this june 18. Sorry for the delay.

@bilbo-the-hobbit
Copy link
Member

hello,

no problem.

Have a nice day

@bilbo-the-hobbit
Copy link
Member

hello,

any new about this ?

Cheers

@bilbo-the-hobbit bilbo-the-hobbit added this to the 1.2 milestone Jul 25, 2016
@mikefaille
Copy link
Author

mikefaille commented Jul 25, 2016

Yes, it work perfectly !

To prepare Debian slapd using dpkg reconfigure, I must replace nis schema by rfc2307bis
https://github.com/mikefaille/docker-debian-ldap/blob/master/Dockerfile#L27

And, I use mixed-groups.

Bragging rights :
And, actually, I develop one of the most complete docker image for Fusion Directory ( let me one hour to upload my Docker and document my stuff ).

Update : follow the next comments. I move my projet to student club named CEDILLE for now.

@bilbo-the-hobbit
Copy link
Member

hello,

nice to hear i will recommend you docker image to some people wanting that.

if we have enough time we could make them official for FusionDirectory :)

Cheers

@mikefaille
Copy link
Author

mikefaille commented Jul 25, 2016

Cool. Maybe, we can create a new issue to manage a release version (it's not ready for public but for tomorrow, yes). Eventually, I want kubernetes compatibility.

@mikefaille
Copy link
Author

mikefaille commented Jul 25, 2016

@bilbo-the-hobbit It will be great if you accept to host my work in your github organisation.

@mikefaille
Copy link
Author

mikefaille commented Jul 26, 2016

I just update my code (for now, the projet is at my student club).

It suppose to be ready for testing. Maybe, I need some tester. For quickstart, just check my README.md on clubcedille/docker-debian-fusiondirectory :

@bilbo-the-hobbit
Copy link
Member

hello,

let move your docker image in another PR for inclusion by us, i will close this bug report

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants