<?php
// (c) Copyright 2002-2015 by authors of the Tiki Wiki CMS Groupware Project
// 
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: ldap.php 53803 2015-02-06 00:42:50Z jyhem $

function prefs_ldap_list()
{
	return array(
		'ldap_create_user_tiki' => array(
			'name' => tra('If user does not exist in Tiki'),
            'description' => tra(''),
			'type' => 'list',
			'perspective' => false,
			'options' => array(
				'y' => tra('Create the user'),
				'n' => tra('Deny access'),
			),
			'default' => 'y',
		),
		'ldap_create_user_ldap' => array(
			'name' => tra('Create user if not in LDAP'),
            'description' => tra(''),
			'type' => 'flag',
			'default' => 'n',
		),
		'ldap_skip_admin' => array(
			'name' => tra('Use Tiki authentication for Admin login'),
            'description' => tra(''),
			'type' => 'flag',
			'default' => 'y',
		),
	);	
}
