yii2-usuario icon indicating copy to clipboard operation
yii2-usuario copied to clipboard

LDAP authentication

Open schmunk42 opened this issue 7 years ago • 8 comments

What steps will reproduce the problem?

Try to enable LDAP authentication for usuario

What is the expected result?

There's no plugin or similar

What do you get instead?

Also nothing in the docs :)

I know this might be a documentation issue or it could be done in some custom code, but I think it should at least be covered with some docs here.

Related issue: https://github.com/dektrium/yii2-user/issues/714

schmunk42 avatar Sep 05 '18 12:09 schmunk42

@liviuk2 😉

maxxer avatar Sep 05 '18 12:09 maxxer

We've used LDAP for a project with Usuario, I'll try to document how to do that.

BTW we used yii2-adldap

maxxer avatar Sep 13 '18 05:09 maxxer

@maxxer do you think it could be a good addition? I think, we really need to think of #236

tonydspaniard avatar Sep 19 '18 19:09 tonydspaniard

what do you mean? of course LDAP auth is often useful

maxxer avatar Sep 19 '18 20:09 maxxer

hi everyone. We need LDAP implementation for a couple of our project based on usuario, so in the next one or two weeks we should deliver the plugin.

Our idea is to create a new extension which hooks to usuario events to validate LDAP password, create users from LDAP and so on. There will be some options, i.e. to use both internal and ldap auth or auto creation of users from ldap, and also password sync to ldap.

@Eseperio @tonydspaniard is this a good approach, also in light of #236?

maxxer avatar Sep 28 '18 10:09 maxxer

@maxxer do you mind providing the link to your extension once again?

tonydspaniard avatar Jun 29 '19 06:06 tonydspaniard

https://www.yiiframework.com/extension/yetopen/yii2-usuario-ldap

https://gitlab.com/yetopen/yii2-usuario-ldap

maxxer avatar Jul 01 '19 06:07 maxxer

Thank you @maxxer

tonydspaniard avatar Jul 17 '19 11:07 tonydspaniard