Add ability to use additional phone field.

This commit is contained in:
Konstantin Shalygin 2016-08-29 13:20:03 +07:00
parent f4a731b35b
commit 8ccef14a7c
No known key found for this signature in database
GPG key ID: DAB31F3D3E5BCB69
3 changed files with 32 additions and 26 deletions

41
ldap.cfg.example Normal file
View file

@ -0,0 +1,41 @@
<?php
//LDAP
// Connection
$ldap_host = 'ldap.example.com';
$ldap_port = '389';
$ldap_user = 'cn=reader,ou=people,dc=example,dc=com';
$ldap_password = 'reader';
// The root of catalog
$ldap_root = 'dc=example,dc=com';
// Base for search uid
$ldap_base = "ou=people,$ldap_root";
// Base for search memberUid
$ldap_base_manager = "cn=TopManagers,ou=groups,$ldap_root";
// VARS
$ldap_uid = $_GET['user'];
$ldap_filter = "(uid=$ldap_uid)";
$ldap_filter_manager = "(memberUid=$ldap_uid)";
$ldap_target_gid = '1100';
// Organisation
$exten_prefix = ' доб. 1-';
$telnumber_all = '8-800-2000-600';
$telnumber_manager = '8-800-2000-666';
$icq_default = '<br>ICQ (Public): 911911, 119199';
$icq_prefix = 'ICQ: ';
// Thunderbird
$mail_domain = 'mail.example.com';
$mail_server_type = 'imap';
$mail_server_port = '143';
$mail_smtp_desc = 'SMTP server of our company';
$mail_smtp_port = '25';
$mail_identity_org = 'Example, Inc.';
$ldap_nonascii_desc = 'Domain';
$ldap_nonascii_uri = "ldap://$ldap_host/$ldap_base??sub?(objectClass=posixAccount)";
$quicktext_default_import = '/home/exchange/quicktext.xml';
$messenger_save_dir = '/tmp';
// Signature
$siga_marketing = "Marketing bullshit<br>";
$siga_prefix = "Best regards, ";
$siga_url = "<br>URL";
$siga_postfix = "<br>Some spam";
?>