analogrithems / idbroker Goto Github PK
View Code? Open in Web Editor NEWLdap ID Broker
Home Page: http://analogrithems.com
Ldap ID Broker
Home Page: http://analogrithems.com
Hi!
I'm using your LDAP Datasource in my Project (https://github.com/fiveoclock/proximus-admin/blob/master/app/models/datasources/ldap_source.php) and had problems searching when I used the root of the domain as $base_dn.
The solution was to following the Ldap option:
ldap_set_option($this->database, LDAP_OPT_REFERRALS, 0);
as described here: http://www.php.net/manual/de/function.ldap-search.php#49889
I added the line stated above to the ActiveDirectory specific section (line 1270) now everything is working properly :-) Maybe you want to add this to master as well....
By the way.. thank you for your work! I'm using your Ldap source to authenticate users against AD.
Cheers,
Alex
At line 34, add the following:
if(!function_exists('ldap_connect'))
die("LDAP not configured on this server.");
Otherwise, your ldap_connect() function call is masked from reporting errors and your users (me) are left scratching their heads all day, trying to figure out what's wrong.
When a user tries to reset their password everything works except that their shadowlastchange attribute is not updated. This causes them to be unable to log in to linux systems with "password expired". The MyAccount page needs to update shadowlastchange so that this doesn't happen.
Currently you can only set one ldap server. You should be able to specify multiple servers and have it failover to them.
In 'LdapSource.php':
402 - function create( Model $model, $fields = null, $values = null ) {
402 + function create( &$model, $fields = null, $values = null ) {
488 - function read( Model $model, $queryData = array(), $recursive = null ) {
488 + function read( &$model, $queryData = array(), $recursive = null ) {
569 - function update(Model $model, $fields = null, $values = null, $conditions = null) {
569 + function update( &$model, $fields = null, $values = null ) {
632 - function delete(Model $model, $id = null) {
632 + function delete( &$model ) {
794 - function lastNumRows($source = null) {
794 + function lastNumRows() {
Then an error in 'LdapAuthenticate.php':
219 - return $result[$this->sqlModel->alias];
219 + return $result[$this->sqlUserModel->alias];
Need to implement functions to allow the change of one function to affect another.
functions should contain before and after form loads before fore presetting things like available uid&gid and after for things like making sure the qmailuid and qmailgid match uid & gid
Hi,
I added Idbroker dev_cake2.0 branch to my project.
$ git submodule add -b dev_cake2.0 https://github.com/analogrithems/idbroker.git app/Plugin/Idbroker
I found .gitmodules under app/Plugin/Idbroker, so I try to update submodules. Then I got this error.
$ cd app/Plugin/Idbroker
$ git submodule update --init
No submodule mapping found in .gitmodules for path 'webroot/js/jstree'
It seems that the master branch is also same.
make it take you to your account view when you go to /idbroker
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.