a-schild / inno-thinyldap Goto Github PK
View Code? Open in Web Editor NEWA very thiny LDAP service for Innovaphone PBX
License: GNU General Public License v3.0
A very thiny LDAP service for Innovaphone PBX
License: GNU General Public License v3.0
Use of uninitialized value in string eq at /var/local/aarldap/InnoLdapServer.pm
line 203 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl will try to tell you the
name of the variable (if any) that was undefined. In some cases it cannot
do this, so it also tells you what operation you used the undefined value
in. Note, however, that perl optimizes your program and the operation
displayed in the warning may not necessarily appear literally in your
program. For example, "that $foo" is usually optimized into "that "
. $foo, and the warning will refer to the concatenation (.) operator,
even though there is no . in your program.
Hello Andre´,
work inno-tinyldap on a newer debian version (jessie /8.11)? I tryed a new install and at apt-get update debian wheezy source wasn´t found. Ithink debian wheezy is out of support now. The Innovaphone LAP based on debian wheezy. Debian jessie ueses php 5.6, is it a problem?
Jens
Hallo Andrè,
können folgende Felder in die DB mit aufgenommen werden:
Fax
Adresse (Straße)
Stadt
PLZ
Fax finde ich wichtig, die anderen optional.
Mal so ein Gedanke: Wäre es nicht für die Suche besser die Person in Vorname Nachname zu unterteilen?
So könnte man im Telefonbuch nach Vor- oder Nachname suchen.
Mit freundlichen Grüßen
Jens Röber
When a number lookup returns more than one result, it takes the last result, instead of the one with exact number matching.
Has this changed on the serverside?
Add Support for importing additional contacts instead of overwriting everything in web-GUI.
what is the correct search-base?, is it always dc=aarboard dc=ch? or is it the hostname + domain or something else?
Use of uninitialized value in string eq at /var/local/aarldap/InnoLdapServer.pm
line 203 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl will try to tell you the
name of the variable (if any) that was undefined. In some cases it cannot
do this, so it also tells you what operation you used the undefined value
in. Note, however, that perl optimizes your program and the operation
displayed in the warning may not necessarily appear literally in your
program. For example, "that $foo" is usually optimized into "that "
. $foo, and the warning will refer to the concatenation (.) operator,
even though there is no . in your program.
Currently on plain ldap is implemented.
SSL should be possible too.
Use stunnel?
In service shutdown not all waiting child processes are terminated
So a service restart does not work as expected
When the LDAP server returns a status code 94 (No Results Returned), then the internal PBX search does not work either.
Currently the ldap perl daemon does not react on restart commands
Thanks for enhancement in first place.
stumbled upon this problem when creating a reporting over an installed innophonebook as advised.
when setting the ldap-data in the reporting config it shows the php error message .. call to undefined ldap_connect, and stops working. it happened on a fresh install of a LAP on VMware and IPxx with no innovaphone application installed.
I cured it with an
apt-get install php5-ldap
on the commandline
maybe an enhancement of the install.txt like this come handy
-- snip --
-- snap--
Please add what versions of software are needed.
the most important would be the version of perl, which is compatible. as the latest is not.
please add functionality to set maximum search results.
Reverse lookup via tel search is not performed when db resolve is disabled.
This is due to having the +41 numer expansion only in the db query part
thanks for this cool piece of software.
ip811 with LAP
msysql seem to hang from time to time (interval more than a month , haven't look at it closer,
mysql doesn't write logs, btw. those logs are empty)
i hope to cure that if i "cronjob" daily a "service mysql restart"
greetings
when i search for a name, i get the reuslts for a suitable first name, somehow never for a surname. even if the whole first name is already written and separated by a space.
I tried installing it on an old Raspberry Pi, running Debian Buster.
After some fiddling I got php with lighttpd running, and I could download the testfile, but uploading the new file or list the existing data did not work.
So I tried to search for error messages. And her is what I got
systemctl status inno-ldap.service
`
Jun 11 19:27:25 retropie systemd[1]: Starting LSB: inno-ldap initscript...
Jun 11 19:27:27 retropie inno-ldap[320]: The encoding pragma is no longer supported. Check cperl at /var/local/aarldap/InnoLdapServer.pm line 13.
Jun 11 19:27:27 retropie inno-ldap[320]: BEGIN failed--compilation aborted at /var/local/aarldap/InnoLdapServer.pm line 13.
Jun 11 19:27:27 retropie inno-ldap[320]: Compilation failed in require at /var/local/aarldap/inno-ldap.pl line 12.
Jun 11 19:27:27 retropie inno-ldap[320]: BEGIN failed--compilation aborted at /var/local/aarldap/inno-ldap.pl line 12.
Jun 11 19:27:27 retropie systemd[1]: Started LSB: inno-ldap initscript.
`
Then i commented out the "encoding utf8" line in /var/local/aarldap/InnoLdapServer.pm and tried again.
systemctl status inno-ldap.service
`* inno-ldap.service - LSB: inno-ldap initscript
Loaded: loaded (/etc/init.d/inno-ldap; generated)
Active: active (exited) since Fri 2020-06-12 22:47:16 CEST; 12min ago
Docs: man:systemd-sysv-generator(8)
Process: 4596 ExecStart=/etc/init.d/inno-ldap start (code=exited, status=0/SUCCESS)
Jun 12 22:47:16 retropie inno-ldap[4596]: Uncaught exception from user code:
Jun 12 22:47:16 retropie inno-ldap[4596]: Experimental values on scalar is now forbidden at /var/local/aarldap/InnoLdapServer.pm line 1044, line 755.
Jun 12 22:47:16 retropie inno-ldap[4596]: Type of arg 1 to values must be hash or array (not private variable) at /var/local/aarldap/InnoLdapServer.pm line 1044, near "$el)
Jun 12 22:47:16 retropie inno-ldap[4596]: "
Jun 12 22:47:16 retropie inno-ldap[4596]: Experimental values on scalar is now forbidden at /var/local/aarldap/InnoLdapServer.pm line 1046, line 755.
Jun 12 22:47:16 retropie inno-ldap[4596]: Type of arg 1 to values must be hash or array (not private variable) at /var/local/aarldap/InnoLdapServer.pm line 1046, near "$val
Jun 12 22:47:16 retropie inno-ldap[4596]: "
Jun 12 22:47:16 retropie inno-ldap[4596]: Compilation failed in require at /var/local/aarldap/inno-ldap.pl line 12, line 755.
Jun 12 22:47:16 retropie inno-ldap[4596]: BEGIN failed--compilation aborted at /var/local/aarldap/inno-ldap.pl line 12, line 755.
Jun 12 22:47:16 retropie systemd[1]: Started LSB: inno-ldap initscript.
...skipping...`
And now I am stuck. Any ideas what's wrong here and how to fix it?
The Gigaset N510 and N720 dect solutions have their own ldap client which uses different queries
Also the number prefix is handled differently
The service currently runs a system user
It should run with dropped privileges
When I call from a new number reverse lookup only works the 2nd Time I call.
Search by name with umlauts does not work correctly
André for example does not find myself
Is there any option to disable logging, as it results in very big log files after some time.
I'm speaking about error-log file which contains all requests and results.
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.