Open tobias-mierzwa opened 3 years ago
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Having the same issue as well. Thought I was going crazy. Tried multiple versions of php (Server 2019)
Solved my issue. in .env once I changed
LDAP_MEM_LIM
from 500M to 2G everything started working
Solved my issue. in .env once I changed
LDAP_MEM_LIM
from 500M to 2G everything started working
That did not work out for me :(
Please confirm you have done the following before posting your bug report:
Describe the bug The issue is, snipeit handle the ldap requests wrong. We got two locations and in each location have organisations. So for example the root Basis Bind DN looks like this
ou=people,ou=orga1,ou=location1,dc=root-dn,dc=de
.With this config everything is working and people from orga1 location1 can login in snipeit. But now i wanna make it for all people in every organisation from location1 accessible. So the basis bind dn looks like thisou=location1,dc=root-dn,dc=de
and this is not working and throws me the error500 Server Error. Please check your server logs for more information
when i press the test ldap sync button. I have seen other issues like https://github.com/snipe/snipe-it/issues/9108 and https://github.com/snipe/snipe-it/issues/9554. I tried to downgrade from 7.4 to php 7.3 and also use php8 but it did not work. But i am sure it should work because i am using the same configuration for other apps like rocket chat and kimai without any problems.To Reproduce Steps to reproduce the behavior: Go to 'Admin Settings' Click on 'LDAP' Scroll down to 'Test LDAP Synchronisation' See error
Expected behavior That i can synchronize all people from location1 and they can login.
Server (please complete the following information):
Error Messages
php -m
(this should display what modules you have enabled.) [PHP Modules] bcmath calendar Core ctype curl date dom exif fileinfo filter ftp gd gettext hash iconv intl json ldap libxml mbstring mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql Phar posix readline Reflection session shmop SimpleXML sockets sodium SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter xsl Zend OPcache zip zlib[Zend Modules] Zend OPcache
Additional context
Is this a fresh install or an upgrade? fresh install
screenshots
What OS and web server you're running Snipe-IT on Ubuntu 20.04, Apache and Snipe v 5.1.6
What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) install.sh