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

Feature request: support for modify #2

Closed
nitnelave opened this issue Sep 28, 2021 · 4 comments · Fixed by #3
Closed

Feature request: support for modify #2

nitnelave opened this issue Sep 28, 2021 · 4 comments · Fixed by #3

Comments

@nitnelave
Copy link
Collaborator

Hi!

First of all, thanks a lot for your crate, it's been very useful to create my own tiny LDAP server for user management: https://github.com/nitnelave/lldap

However, something that's missing for transparent integration with e.g. Authelia is the ability to reset the user's password from the LDAP interface. That would require the LdapModify message from this crate.

I haven't tested it, but the README says that it's not supported. However, in the code I still see some implementation of LdapModify. Is it complete? Do you need help with it?

Cheers,

@Firstyear
Copy link
Member

No problem! I'm glad it's been helpful.

LdapModify does fully work, I will update the readme! What you are likely going to be missing though is the password modify extended operation : https://ldapwiki.com/wiki/Password%20Modify%20Extended%20Operation

So that will likely need to be added.

@nitnelave
Copy link
Collaborator Author

Oh nice, great that the modification operations are supported! You're definitely underselling the project with the out of date readme :)

Yes, it sounds like the extended password modification would be required. If you need, i can do a test with Authelia and my server to see if it works with the current modification operations, but you're probably right

@Firstyear
Copy link
Member

I have updated the readme now, to hopefully properly sell the project :D

I would be happy for you to test with your application and to give feedback about what does / does not work. Would you be able/willing to work on extending the library for the pw change extop? Or would that be something youd prefer me to do for you and you can test it for me? Thanks!

@nitnelave
Copy link
Collaborator Author

I had a look at the code, it doesn't seem all that complicated, but it just reflects long hours spent reading the RFCs :)

I don't have that much time right now so I'm not sure when I'd get to it, it may be randomly this month or it may have to wait until October.

I think it'd much more efficient if you implement it and I test it, if you don't mind. You know your code much better than me.

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

Successfully merging a pull request may close this issue.

2 participants