Giter Site home page Giter Site logo

segr / ldap-phonebook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pfzim/ldap-phonebook

0.0 2.0 0.0 6.05 MB

PHP phonebook (Active Directory, LDAP -> MySQL, PHP)

License: GNU General Public License v3.0

PHP 87.77% PowerShell 0.23% JavaScript 7.71% CSS 4.28%

ldap-phonebook's Introduction

LDAP phonebook

🇷🇺 🇺🇸

Корпоративный телефонный справочник с отображением контактов на карте офиса

Контакты делятся на два типа:

  • Импортированные из AD
  • Локальные

Импортированные контакты нельзя редактировать, их можно только скрывать из списка и указывать расположение на карте. Все изменения нужно производить в AD, после чего провести повторную синхронизацию, при которой будут добавлены новые и обновлены существующие контакты.

Функциональные возможности:

  • Импорт контактов и фото из AD
  • Показать/скрыть любой контакт
  • Добавлять, редактировать и удалять локальные контакты
  • Указать расположение контакта на плане офиса. Удобно для ориентирования в большой компании
  • Экспорт в .xml файл для использования в приложении PhoneBook для Windows
  • Бекап всех контактов с координатами в XML
  • Восстановление контактов из XML бекапа
  • Скрытие всех контактов, которые были отключены в AD

Карты хранятся в файлах templ/map[1-5].png

Системные требования

  • Apache
  • MySQL
  • PHP
  • Active Directory (опционально)

Подключить модули расширения в php.ini или скомпилировать PHP с поддержкой LDAP

  • extension=php_ldap.dll
  • extension=php_fileinfo.dll

Установка

  • Открыть в браузере install.php и заполнить предлагаемые параметры
  • Заменить изображения карт templ/map[1-5].png своими схемами

Дополнительные настройки в inc.config.php (опционально)

Включить LDAP авторизацию:

define("PB_USE_LDAP_AUTH", 1);
define("LDAP_ADMIN_GROUP_DN", "CN=Phonebook admin,OU=Admin Roles,OU=Groups,OU=Company,DC=domain,DC=local"); // Группа в AD с пользователями имеющими доступ на редактирование справочника

Изменить количество и названия карт:

define("PB_MAPS_COUNT", 5);
$map_names = array("Floor 1", "Floor 3", "Floor 6", "Floor 14", "Floor 25");

This service import users info from LDAP/AD to MySQL DB

screenshot

Show all contacts on map

screenshot

Show selected contact on map

screenshot

Installation

screenshot

screenshot

screenshot

screenshot

screenshot

Corporate phone directory with contacts displayed on the office map

Contacts are divided into two types:

  • Imported from AD
  • Local

Imported contacts can not be edited, you can only hide them from the list and specify the location on the map. All that needs to be done in AD, then re-synchronize, which will be added new and updated.

Functionality:

  • Import contacts and photos from AD
  • Show / hide any contact
  • Add, edit and delete local contacts
  • Indicate the location of the contact on the office plan. Convenient for orientation in a large company
  • Export to an .xml file for use in the [Phonebook] application (https://github.com/pfzim/PhoneBook) for Windows
  • Backup all contacts with coordinates to XML file
  • Restore all contacts from XML file
  • Hide all contacts that was disabled in AD

Maps are stored in the files templ / map [1-5] .png

System requirements

  • Apache
  • MySQL
  • PHP
  • Active Directory (optional)

Plug-ins in php.ini or compile PHP with LDAP support

  • extension = php_ldap.dll
  • extension = php_fileinfo.dll

Installation

  • Open in the browser install.php and fill in the proposed parameters
  • Replace the images of the maps templ / map [1-5] .png with their schemes

Dmitry V. Zimin [email protected]

ldap-phonebook's People

Contributors

pfzim avatar

Watchers

 avatar  avatar

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.