GithubHelp home page GithubHelp logo

a-schild / inno-thinyldap Goto Github PK

View Code? Open in Web Editor NEW
6.0 5.0 0.0 1.45 MB

A very thiny LDAP service for Innovaphone PBX

License: GNU General Public License v3.0

Perl 1.13% PHP 98.72% CSS 0.04% Shell 0.11%
ldap-service innovaphone-pbx lookup-service inno-thinyldap innovaphone

inno-thinyldap's People

Contributors

a-schild avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

inno-thinyldap's Issues

Feature Request

Add Support for importing additional contacts instead of overwriting everything in web-GUI.

correct search base?

what is the correct search-base?, is it always dc=aarboard dc=ch? or is it the hostname + domain or something else?

missing function ldap_connect when using reporting only on a LAP

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 --

  • Install php5 mysql libraries
    apt-get install php5-mysql php-http
    apt-get install php5-ldap

-- snap--

change prioritization in search results

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.

Debian Buster

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

`

  • inno-ldap.service - LSB: inno-ldap initscript
    Loaded: loaded (/etc/init.d/inno-ldap; generated)
    Active: active (exited) since Thu 2020-06-11 19:27:27 CEST; 1 day 3h ago
    Docs: man:systemd-sysv-generator(8)
    Tasks: 0 (limit: 1772)
    Memory: 0B
    CGroup: /system.slice/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?

Use of uninitialized value in string eq

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.

Error in Log once on startup doesn't affect functionality

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.

Option to disable logging

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.

Telefonbuch

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

mysql seems to stop responding

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

debian wheezy

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.