We use OpenLDAP at my institution.
I had to change Line 750 in:
application/models/users/User.class.php
Now it looks like:
##
$username = 'uid=' . $username . ',' . config_option('ldap_domain');
##
ldap_domain is set to: 'dc=mydomainname,dc=mydomainsuffix'
Maybe the ldap_domain config option should be processed through sprintf so I could set it like:
uid=%s,dc=example,dc=com
or
%s@example.com
.. where %s stands for username
Anyway, ProjectPier is a great app! ;)
regards,
--
alen
I will fix it according to your sprintf suggestion. Thanks for the kind words and the feedback on LDAP :-)
Hi!
Where is LDAP option in 0.8.8?
It got removed by mistake. I will put it back in ASAP. Thanks a lot man.
There is only so much I see when testing.
Just let me know so I can test it..
There is also a strange bug when adding new user and option "send email" checked.. I'll send you generated bug report.
Can you try this line in your setup and change ldap domain accordingly in the configuration:
$username = sprintf(config_option('ldap_domain'), $username);Hi!
It's working as expected. Sorry for the delay :)
Regards!
--
alen