I have medium size application I have built using laravel, now I am asked to do ldap integration so all the users are in ldap are registered automatically. I found the adldab2 package the most suitable way and I was following this document, but I have not achieved or managed to make it work .. so is there is anything missing from the document? and is there is any other way to integrate ldap ?
I'm with the same trouble. Maybe this guide can help you.
Good luck.
Related
I am using Symfony framework in my project and now I am trying to add Steam Authentication to my project, so I could use Steam account informations in my project. Earlier is used only plain PHP, no frameworks and I found this https://github.com/SmItH197/SteamAuthentication and it worked well, but I am not sure that can I use it with Symfony? I mean, how to include it in my controller? Or is there another way to Steam Authenticate with Symfony?
You should write a custom authenticator for this. This way, you can easily adapt it into the current Symfony security system. Take a look at the documentation for this at: http://symfony.com/doc/current/cookbook/security/custom_authentication_provider.html
Indeed you could, as many others already have, one such example for Symfony2 is here: https://github.com/SirWaddles/SteamAuthBundle :) good luck.
I am a new in cakephp 2.x platform. Now I am trying to connect my application login with twitter. I get lots of tutorial from the net. But all are not specified exactly for better understanding.
I'm searching for some docs or examples on CakePHP and logging in with Twitter.
If I use this program, do I have to download the Opauth CakePHP plugin? Is this plugin a must or is it optional, if I didn't use this plugin can I run this program?
Please show me some good tutorials for this program.
Have to tried this tutorial given by Mifty - http://miftyisbored.com/complete-social-login-application-tutorial-cakephp-2-3-twitter-facebook-google/
Please try this, it will help you.
I want to implement Oauth to protect my PHP Web Services,i have been following this link but found that some of them link are not working.And the working example had implemented in slim,flight some different frameworks in php and i'm newbie in it.My problem is i want to implement Oauth in Codeignter framework to protect Web Service and as per oauth site i've got a link by Alex Bilbie which is deprecated and not working. So if someone had done this before in codeigniter please let me know , Simple PHP would be also fine, later on i can modify it to fit in codeigniter.
I find Brent Shaffer's OAuth2 Server Library for PHP an excellent library!
In the cookbook you can find many examples on how to integrate it into certain frameworks, unfortunately CodeIgniter isn't one of them. But the documentation is very good, and you can use the cookbooks on the other frameworks as a guide for doing it in CodeIgniter.
You can find the library on Github.
I have a deep background in MySQL and other relational databases, but essentially zero experience with LDAP. I'd like to ask if there is a good tutorial/getting started site that discusses designing LDAP directories and CRUD operations on LDAP data from language specific APIs for either Python or PHP? I'm interesting in using OpenLDAP as the backend for this, thanks.
Up to date OpenLDAP materials are very hard to come by. Their documentation is very good, but it can be hard to grasp if you're new to LDAP. The best tutorial, or at least the one that had what I was looking for, that I've found so far is LDAP for Rocket Scientists. It's not complete, but it covers a lot pieces that may be taken for granted by other tutorials. It also has a section on the new cn=Config style of configuration, which isn't well covered anywhere.
The python-ldap module is well maintained, and has good documentation, but unfortunately few implementation examples.
I suggest using PEAR's Net_LDAP2 package to access the LDAP server. I don't know about any LDAP introduction tutorials, though.
The book 'Understanding and Deploying Ldap Directory Services' might be of help to start with
http://www.amazon.com/Understanding-Deploying-Directory-Architecture-Development/dp/1578700701
I've been banging my head against the wall trying to add openid to my PHP webapp, but none of the libraries provided seem to do it in a clean and simple way.
Is there any way to implement openid SSO without being forced into more design choices than is necessary?
The janrain library - being the most popular - is also the most unwieldy, although it seems to be the only one getting significant maintenance. Aside from lacking a clear and simple tutorial, it also imposes some strange filesystem requirements and code dependencies.
Any and all suggestions are welcome. I realize I'm interacting with other servers and that redirects and callbacks are required. Please bear in mind, this isn't my main complaint, I understand the nature of what I'm working with.
I just wish it was easier and more clearly laid out!
If you're using PHP5, I suggest trying LightOpenID.
I use the Zend openid library (best of a bad bunch), but it doesn't support all the latest openid features - not found a perfect implementation yet tbh..
Tutorial describes how to implement Google login( yahoo,etc only just change the URLs, source code is same) in PHP using LightOpenID.