itop 配置文件信息   config-itop.php

[email protected]:/var/www/html/new_itop# vim conf/production/config-itop.php 
$aConfig = array(
                // Configuration of the Active Directory connection 
                ‘host‘  => ‘192.168.**.**‘,                      // IP or FQDN of your domain controller
                ‘port‘  => ‘389‘,                                 // LDAP port, 398=LDAP, 636= LDAPS
                ‘dn‘            => ‘OU=VB-User,DC=CORP,DC=logo‘,// Domain DN
                ‘username‘      => ‘CN=LDAPSearch,OU=Special-User,OU=VB-User,DC=CORP,DC=logo‘, // username with read access
                ‘password‘      => ‘[email protected]‘,                  // password for above

                // Query to retrieve and filter the users from AD
                // Example: retrieve all users from the AD Group "iTop Users"
                //‘ldap_query‘ => ‘(&(objectCategory=user)(memberOf=CN=iTop Users,CN=Users,DC=combodo,DC=net))‘,

                // Example 2: retrieves ALL the users from AD
                 ‘ldap_query‘ => ‘(&(objectCategory=user))‘, // Retrieve all users

                // Which field to use as the iTop login samaccountname or userprincipalname ?
                ‘login‘ => ‘samaccountname‘,
                //‘login‘ => ‘userprincipalname‘,

                // Mapping between the AD groups and the iTop profiles
                ‘profiles_mapping‘ => array(
                        //AD Group Name => iTop Profile Name
                        //‘Administrators‘ => ‘Administrator‘,
                        ‘ITSM_Administrator‘ => ‘Administrator‘,
                        ‘ITSM_ChangeApprover‘ => ‘Change Approver‘,
                        ‘ITSM_ChangeImplementor‘ => ‘Change Implementor‘,
                        ‘ITSM_ChangeSupervisor‘ => ‘Change Supervisor‘,
                        ‘ITSM_ConfigurationManager‘ => ‘Configuration Manager‘,
                        ‘ITSM_DocumentAuthor‘ => ‘Document author‘,
                        ‘ITSM_PortalPowerUser‘ => ‘Portal power user‘,
                        ‘ITSM_PortalUser‘ => ‘Portal user‘,
                        ‘ITSM_ProblemManager‘ => ‘Problem Manager‘,
                        ‘ITSM_ServiceDeskAgent‘ => ‘Service Desk Agent‘,
                        ‘ITSM_ServiceManager‘ => ‘Service Manager‘,
                        ‘ITSM_SupportAgent‘ => ‘Support Agent‘,
                ),

                // Since each iTop user must have at least one profile, assign the profile
                // Below to users for which there was no match in the above mapping
                ‘default_profile‘ => ‘Portal user‘,

                ‘default_language‘ => ‘ZH CN‘, // Default language for creating new users

                ‘default_organization‘ => 2, // ID of the default organization for creating new contacts
                                );
// End of configuration
////////////////////////////////////////////////////////////////////////////////
时间: 2024-08-02 02:49:52

itop 配置文件信息   config-itop.php的相关文章

【XML配置文件读取】使用jdom读取XML配置文件信息

在项目中我们经常需要将配置信息写在配置文件中,而XML配置文件是常用的格式. 下面将介绍如何通过jdom来读取xml配置文件信息. 配置文件信息 <?xml version="1.0" encoding="UTF-8"?> <config> <base-config> <stringValue>Hello world</stringValue> <integerValue>8</integ

thinkphp 跨模块调用配置文件信息

比如根目录下面/Conf/下面有config.php 文件 <?php /** *项目公共配置 **/ return array( 'LOAD_EXT_CONFIG' => 'db,info,email,safe,upfile,cache,route,app,alipay,sms,rippleos_key', //默认可以加载下面的php信息文件 'APP_AUTOLOAD_PATH'     =>'@.ORG', 'OUTPUT_ENCODE'         =>  true,

C#的配置文件App.config使用总结 - 转

http://blog.csdn.net/celte/article/details/9749389 首先,先说明,我使用的app.config 配置文件的格式如下: [html] view plaincopyprint? <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="ServerIP" va

SpringCloud系列九:SpringCloudConfig 基础配置(SpringCloudConfig 的基本概念、配置 SpringCloudConfig 服务端、抓取配置文件信息、客户端使用 SpringCloudConfig 进行配置、单仓库目录匹配、应用仓库自动选择、仓库匹配模式)

1.概念:SpringCloudConfig 基础配置 2.具体内容 通过名词就可以发现,SpringCloudConfig 核心作用一定就在于进行配置文件的管理上.也就是说为了更好的进行所有微服务的配置项的管理,在 SpringCloud 设计架构里面就考虑到了针对于所有的核心配置文件(application.yml)进行的一项统一管理的工具. 2.1.SpringCloudConfig 的基本概念 现在可以思考一个问题:在一个实际的项目开发过程之中,有可能会出现有上百个微服务(创建微服务的标

SpringBoot入门十 ,获取配置文件信息

SpringBoot获取配置文件的信息有很多,这里介绍比较常用的三种方式 默认获取的都是application.properties文件中的信息 1.application.properties配置文件内容如下: server.port=80 spring.mvc.view.prefix=/jsp/ spring.mvc.view.suffix=.jsp #中文需要转换成为ASCII码,否则取值的时候是乱码 #张三 demo.userName=\u5F20\u4E09 demo.userAge=

Spring4 -12 -声明式事务及完整的XML配置文件信息 -声明式事务中的相关属性(tx:advice的标签)

1.编程式事务: 1.1由程序员编程事务控制代码. 1.2OpenSessionInView 就属于编程式事务: session.commit()和rollback() 2.声明式事务: 2.1事务控制代码已经由spring 写好.程序员只需要声明出哪些方法需要进行事务控制和如何进行事务控制. 3.声明式事务都是针对于ServiceImpl 类下方法的. 4.事务管理器基于通知(advice)的. 5.在spring 配置文件中配置声明式事务 完整地XML配置文件信息: <context:pro

SpringBoot项目中,获取配置文件信息

1.在配置文件中设置信息,格式如下 wechat: mpAppId: wxdf2b09f280e6e6e2 mpAppSecret: f924b2e9f140ac98f9cb5317a8951c71 如果是多级目录,则 project: url: sell: http://localhost:8080 2.获取配置文件信息(三种方法) [email protected] package com.xiong.sell.config; import lombok.Data; import org.s

IIS7 无法写入配置文件web.config 错误

FTP上传了一个Asp.Net程序的.zip压缩包到服务器,解压并放到wwwroot下一子目录,并在iis里把该目录设为[虚拟目录],去修改[默认文档]时,提示错误 -- “无法写入配置文件web.config ”,并且浏览器访问报 -- “HTTP 500错误”!以前操作那么多次iis也从未遇到这么诡异的问题! 经过一个非常纠结的排错过程,找出一个绝对意想不到的错误根源: 意识到犯了个错误--没有把该目录转为[应用程序], 选择转为[应用程序],但问题如故. 查了一下web.config文件属

JAVA之IO技术相关Properties类 存储配置文件信息

package ioTest.io3; /* * Properties存储配置文件信息 * 1.文件信息--------------------------- * 2.根据文件信息获取key和value---|流| * 3.将key,value的之对应存储到properties对象中 */ import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileOu