aparticka / laravel-auth-ldap

Laravel 5 LDAP Authentication Driver
MIT License
23 stars 4 forks source link

Authentication example #5

Open ichbinedgar opened 9 years ago

ichbinedgar commented 9 years ago

Hi, I don't have any experience using LDAP authentication, can you provide an example? Also, I've just started to use Laravel 5 (I was working with the previous version) so it would be very helpful. Thank you!

aparticka commented 9 years ago

Sorry, I'll try getting to this some time this week.

ichbinedgar commented 9 years ago

Ok, Thank you!

montes2012 commented 9 years ago

an example please

subdesign commented 8 years ago

yeah please add an example

EDIT: I've set up all as in the docs, added my custom postLogin() method to AuthController, but the Auth::attempt() method try to search for username in the local database' users table.
I can connect to ldap server using this code:
https://github.com/adldap/adLDAP/blob/master/docs/GETTING-STARTED.md

So no idea how to use your package in real life

massimiliano76 commented 8 years ago

Please provide an example of configuration because I have an exception when change the provider to ldap...please help me.