Comments (7)
OK, I found out now how to configure logging (that is set "off" by default):
http://smad.jmu.edu/reserve/readme_installation.html
Now I have this output:
2021-05-27T15:42:46+02:00 [207298] DEBUG default - [User= ()] Loading plugin. Type=Authentication, Plugin=Ldap [File=/home/www/booking/lib/Common/PluginManager.php,Line=194]
2021-05-27T15:42:57+02:00 [207414] DEBUG default - [User= ()] Loading plugin. Type=Authentication, Plugin=Ldap [File=/home/www/booking/lib/Common/PluginManager.php,Line=194]
2021-05-27T15:42:57+02:00 [207414] DEBUG default - [User= ()] Trying to connect to LDAP [File=/home/www/booking/plugins/Authentication/Ldap/Ldap2Wrapper.php,Line=33]
2021-05-27T15:42:57+02:00 [207414] ERROR default - [User= ()] Could not connect to LDAP server. Check your settings in Ldap.config.php : Bind failed: Can't contact LDAP server: Unknown Net_LDAP2 Error (-1) [File=/home/www/booking/plugins/Authentication/Ldap/Ldap2Wrapper.php,Line=40]
2021-05-27T15:42:57+02:00 [207414] ERROR default - [User= ()] Uncaught exception: Exception: Could not connect to LDAP server. Check your settings in Ldap.config.php : Bind failed: Can't contact LDAP server: Unknown Net_LDAP2 Error (-1) in /home/www/booking/plugins/Authentication/Ldap/Ldap2Wrapper.php:41
from app.
I never used the LDAP authentication and I don't have a setup that I can use to test, so I'm not really of much help in this situation. Hopefully someone from the community can chip in and give a hand. If not, I will try to setup something to test this, but I don't have a timeline todo this, I'm swamped with work.
from app.
Thanks, I appreciate your help! There is no hurry for the moment. I will also do some further tests and report.
from app.
Thanks, I appreciate your help! There is no hurry for the moment. I will also do some further tests and report.
Hello @blu-IT!
I was able to configure authentication via ldap.
Are you still having this problem?
from app.
thanks for your feedback!
To be honest I did not try anymore, because the project was freezed.
Having in mind, that my installation is a year ago and the surely will be some updates, I will close this issue and post another one, when the project goes on.
Thanks!
from app.
@evertonpavan Do you mind posting your sanitized configuration for LDAP (via Active Directory?) I am having a difficult time getting LDAP auth working despite having LDAP working via other similar setups like Nextcloud.
from app.
Hi @crsleeth!
This is my plugins/Authentication/Ldap/Ldap.config.php file.
It's works for authentication on a samba4 server.
$conf['settings']['host'] = 'ldap.server.com';
$conf['settings']['port'] = '389';
$conf['settings']['version'] = '3';
$conf['settings']['starttls'] = 'false';
$conf['settings']['binddn'] = 'cn=admin-ldap,dc=company,dc=com';
$conf['settings']['bindpw'] = 'password';
$conf['settings']['binddn'] = 'dc=company,dc=com';
$conf['settings']['filter'] = '';
$conf['settings']['scope'] = '';
$conf['settings']['required.group'] = '';
$conf['settings']['database.auth.when.ldap.user.not.found'] = 'true';
$conf['settings']['ldap.debug.enabled'] = 'true';
$conf['settings']['attribute.mapping'] = 'sn=sn,givenname=givenname,mail=mail,memberof=Groups';
$conf['settings']['user.id.attribute'] = 'sAMAccountName';
$conf['settings']['sync.groups'] = 'true';
$conf['settings']['prevent.clean.username'] = 'false';
from app.
Related Issues (20)
- Loading reservations ...., no calendar entries HOT 1
- app.ERROR: [[email protected]] Uncaught exception: Error: Call to a member function FullName() on string in C:\wamp64\www\resa2024\tpl_c\..._0.file.ReservationCreated.tpl.php:128 HOT 1
- 🔝 LibreBooking Demo Website
- Cant find "Forcing Resources to be Booked Together"
- Class ScheduleWebServiceView contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (ISchedulePage::BindViewableResourceReservations) HOT 1
- Create a reservation with 2 resources
- full-install.sql missing? HOT 4
- Smarty warnings on new installation - Smarty 4.5.3 HOT 2
- schedule > booking page issue - date selection not working properly
- I cannot display the "resource calendar" HOT 4
- Bloqueio de final de semana para usuários
- Remove/hide the organization and position HOT 1
- HELP: How to edit reservation.php page? HOT 4
- Schedule->Bookings page performance is very bad HOT 4
- Tags from 2.7.6 through 2.8.5 seem incorrect
- config.php gets overwritten with old config-style, when using the GUI to make changes to it
- API: Group update will create a new group rather than updating the group
- Availability for a device can be seen for 1 week in the future "/Web/Services/index.php/Resources/Availability" HOT 2
- unable to allocate users to multiple groups during bulk import
- first.day.of.week Spanish Calendar NOT working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from app.