summaryrefslogtreecommitdiffstats
path: root/source4/setup/phpldapadmin-config.php
blob: 8a2f2153edb0266d51e670d3d1e9dd6b41b19af1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/**
 * The phpLDAPadmin config file, customised for use with Samba4
 *
 * Use config.php.example to create config.php, if you don't have one.
 *
 * Append this file to config.php.
 */

/* Create a new LDAP server for SAMBA4 */
$servers->newServer('ldap_pla');

/* A convenient name that will appear in the tree viewer and throughout
   phpLDAPadmin to identify this LDAP server to users. */
$servers->setValue('server','name','Samba4 LDAP Server');
$servers->setValue('server','host','${S4_LDAPI_URI}');
$servers->setValue('login','auth_type','session');
$servers->setValue('login','attr','dn');

?>