<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>一种精神 &#124; 冷雨飞竹 &#187; mantis</title>
	<atom:link href="http://www.boofee.net/flyingbamboo/tags/mantis/feed" rel="self" type="application/rss+xml" />
	<link>http://www.boofee.net/flyingbamboo</link>
	<description>Just a personal blog - flyingbamboo</description>
	<lastBuildDate>Mon, 24 May 2010 03:03:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>mantis 配置 LDAP (ad,Analog Devices) 教程</title>
		<link>http://www.boofee.net/flyingbamboo/archives/242</link>
		<comments>http://www.boofee.net/flyingbamboo/archives/242#comments</comments>
		<pubDate>Sun, 22 Feb 2009 11:55:28 +0000</pubDate>
		<dc:creator>飞竹</dc:creator>
				<category><![CDATA[软件及系统]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[Analog Devices]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[mantis]]></category>

		<guid isPermaLink="false">http://www.boofee.net/flyingbamboo/?p=242</guid>
		<description><![CDATA[mantis的用户认证函数Authentication中相关有



$g_login_method


MD5
LDAP
PLAIN
CRYPT
CRYPT_FULL_SALT
BASIC_AUTH

Some systems (mostly non-unix) do not have crypt support in PHP. MD5 will accomplish almost the same thing. PLAIN is plain text and there is no attempt to secure the password in the database. You will not be able to easily convert between encryption methods so this needs to be chosen at install time. CRYPT [...]]]></description>
			<content:encoded><![CDATA[<p>mantis的用户认证函数<a href="http://manual.mantisbt.org/manual.configuration.authentication.php">Authentication</a>中相关有</p>
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>$g_login_method</td>
<td>
<ul class="noindent">
<li>MD5</li>
<li>LDAP</li>
<li>PLAIN</li>
<li>CRYPT</li>
<li>CRYPT_FULL_SALT</li>
<li>BASIC_AUTH</li>
<li style="LIST-STYLE-TYPE: none">
<p>Some systems (mostly non-unix) do not have crypt support in PHP. MD5 will accomplish almost the same thing. PLAIN is plain text and there is no attempt to secure the password in the database. You will not be able to easily convert between encryption methods so this needs to be chosen at install time. CRYPT was the default until 0.17.0; MD5 is now the default. Try CRYPT_FULL_SALT if CRYPT is not working.</li>
</ul>
</td>
</tr>
<tr>
<td>$g_ldap_server</td>
<td>The ldap server (eg: ldaps://ldap.example.com</td>
</tr>
<tr>
<td>$g_ldap_port</td>
<td>LDAP port (default 636).</td>
</tr>
<tr>
<td>$g_ldap_root_dn</td>
<td>&#8220;dc=example, dc=com&#8221;</td>
</tr>
<tr>
<td>$g_ldap_organisation</td>
<td>&#8220;organizationname=*Example)&#8221;</td>
</tr>
<tr>
<td>$g_use_ldap_email</td>
<td>Use email address in LDAP rather than the email stored in the database.</td>
</tr>
<tr>
<td>$g_ldap_bind_dn</td>
<td>&#8220;cn=Manager, dc=example, dc=com&#8221;</td>
</tr>
<tr>
<td>$g_ldap_bind_passwd</td>
<td /> </tr>
</tbody>
</table>
<p> <span id="more-242"></span>
<p>由于需要涉及到几个程序的统一认证，所以需要mantis到windows的AD进行认证，竟然发现互联网上又没有相关文档，高手们太坏了。诶诶，害的我再次自力更生艰苦奋斗。</p>
<p>相关配置方法：</p>
<p>首先介绍微软的一款Support Tools，ldp.exe，用来查看AD的详细信息。 <br />给出一个界面 <br /><a href="http://www.boofee.net/flyingbamboo/wp-content/uploads/2009/02/zrclip-001n5aa3aa61.png" rel="lightbox"><img src="http://www.boofee.net/flyingbamboo/wp-content/uploads/2009/02/zrtn-002p55a7bfe3-tn.jpg" style="WIDTH: 400px; HEIGHT: 285px" height="285" width="400"/></a></p>
<p>在mantis的config_inc.php中配置以下信息， <br />$g_login_method=LDAP; //设置认证方法为LDAP <br />$g_ldap_server=&#8217;ldap://boofee.local&#8217;; //LDAP的访问路径 <br />$g_ldap_port = &#8216;389&#8242;; //端口，微软的AD是389 <br />$g_ldap_organization = &#8221;; <br />$g_ldap_uid_field = &#8216;CN&#8217;; //这句最重要，其他文档配置未成功就是这里出了错 <br />$g_ldap_root_dn = &#8216;CN=Users,DC=boofee,DC=local&#8217;; //在AD中建立的相关用户在哪个组里面就将此配置到哪里，具体怎么写就是靠ldp.exe进行查询。 <br />$g_ldap_bind_dn=&#8221;CN=user,CN=Users,DC=boofee,DC=local&#8221;; //连接AD的用户名，user权限就可以了。 <br />$g_ldap_bind_passwd=&#8221;user&#8221;; //连接AD的密码</p>
<p>配置完成后基于AD的LDAP认证成功。</p>
<p>成功之后还是需要在mantis中建立用户名，在AD的相关组中也要有同样的用户名，认证的时候密码使用的是AD内存贮的密码。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.boofee.net/flyingbamboo/archives/242/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>关于MANTIS中变更日志(Changelog)和路线图(Roadmap)的解释</title>
		<link>http://www.boofee.net/flyingbamboo/archives/224</link>
		<comments>http://www.boofee.net/flyingbamboo/archives/224#comments</comments>
		<pubDate>Wed, 18 Feb 2009 09:49:14 +0000</pubDate>
		<dc:creator>飞竹</dc:creator>
				<category><![CDATA[软件及系统]]></category>
		<category><![CDATA[mantis]]></category>
		<category><![CDATA[变更日志]]></category>
		<category><![CDATA[路线图]]></category>

		<guid isPermaLink="false">http://www.boofee.net/flyingbamboo/?p=224</guid>
		<description><![CDATA[变更日志（Changelog）：是已经修改好了问题的日志，需要给项目添加版本号，并且在添加/解决问题时都指定了相应的版本号，才会显示。
路线图（Roadmap）：是计划在某个版本修改某些问题的日志，需要给问题指定&#8221;目标版本&#8221;才能显示。（提示：指定&#8221;目标版本&#8221;，应该进入&#8221;高级更新&#8221;功能修改，或者在报关问题时，进入&#8221;高级报告&#8221;功能）。
]]></description>
			<content:encoded><![CDATA[<p>变更日志（Changelog）：是已经修改好了问题的日志，需要给项目添加版本号，并且在添加/解决问题时都指定了相应的版本号，才会显示。</p>
<p>路线图（Roadmap）：是计划在某个版本修改某些问题的日志，需要给问题指定&#8221;目标版本&#8221;才能显示。（提示：指定&#8221;目标版本&#8221;，应该进入&#8221;高级更新&#8221;功能修改，或者在报关问题时，进入&#8221;高级报告&#8221;功能）。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.boofee.net/flyingbamboo/archives/224/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用MANTIS搭建bug跟踪系统</title>
		<link>http://www.boofee.net/flyingbamboo/archives/214</link>
		<comments>http://www.boofee.net/flyingbamboo/archives/214#comments</comments>
		<pubDate>Wed, 18 Feb 2009 07:13:40 +0000</pubDate>
		<dc:creator>飞竹</dc:creator>
				<category><![CDATA[软件及系统]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[mantis]]></category>
		<category><![CDATA[流程控制]]></category>

		<guid isPermaLink="false">http://www.boofee.net/flyingbamboo/?p=214</guid>
		<description><![CDATA[MANTIS，全称Mantis Bug Tracker ，是一款php环境下开源的缺陷跟踪系统。
具有多特性包括： 易于安装，易于操作，基于Web，支持任何可运行PHP的平台(Windows,Linux,Mac,Solaris,AS400/i5等)，已经被翻译成68种语言，支持多个项目，为每一个项目设置不同的用户访问级别，跟踪缺陷变更历史，定制我的视图页面，提供全文搜索功能，内置报表生成功能(包括图形报表)， 通过Email报告缺陷，用户可以监视特殊的Bug，附件可以保存在web服务器上或数据库中(还可以备份到FTP服务器上)，自定义缺陷处理工作流，支持输出格包括csv、Microsoft Excel、 Microsoft Word，集成源代码控制(SVN与CVS)，集成wiki知识库与聊天工具(可选/可不选)，支持多种数据库(MySQL、MSSQL、 PostgreSQ、Oracle、DB2)，提供WebService(SOAP)接口，提供Wap访问。
下面介绍本人在配置过程中发现的需要注意的地方，注意这方面的情况基本就能配置成功MANTIS。
 
我安装的版本为 1.2.0a3 Released 环境windows+apache2.2+php5+mysql5.0
默认登录名 莫名吧，用户名administrator密码root。
MANTIS支持中文
mysql数据库安装 为了支持中文输入，必须自己新建数据库，新建的数据库编码格式为UTF-8。 phpmyadmin中如此创建：如果已经安装好了，可以删除config_inc.php，重新安装。

另存config_inc.php为UTF-8格式 如果你要在其中的配置里输入中文的话。
界面变成中文  登录后选择 My Account -&#62; Preferences -&#62; Language -&#62; chinese_simplified，就变成中文了。
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; 配置config_inc.php文件，config_inc.php作为外部接口，其中输入参数可以修改系统默认的属性，达到基础配置的目的。具体参数信息可以查询手册 http://manual.mantisbt.org/index.php &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
MANTIS在windows下支持邮件发送
默认在不修改配置的情况下可以搭建支持匿名发送的smtp邮件服务器。 或者可以使用外部smtp发送邮件。
添加相关参数： $g_enable_email_notification=&#8217;on&#8217;; //默认为on，放这里是为了说明如何禁止邮件提醒，禁止邮件提醒后，用户不能注册，新建用户为空密码； $g_phpMailer_method=2; //选择发送方式，0 &#8211; mail(), 1 &#8211; sendmail 2 &#8211; SMTP. Default is 0； $g_smtp_host = &#8217;smtp服务器地址&#8217;; $g_smtp_username = &#8216;用户名&#8217;; $g_smtp_password = [...]]]></description>
			<content:encoded><![CDATA[<p>MANTIS，全称Mantis Bug Tracker ，是一款php环境下开源的缺陷跟踪系统。</p>
<p>具有多特性包括： <br />易于安装，易于操作，基于Web，支持任何可运行PHP的平台(Windows,Linux,Mac,Solaris,AS400/i5等)，已经被翻译成68种语言，支持多个项目，为每一个项目设置不同的用户访问级别，跟踪缺陷变更历史，定制我的视图页面，提供全文搜索功能，内置报表生成功能(包括图形报表)， 通过Email报告缺陷，用户可以监视特殊的Bug，附件可以保存在web服务器上或数据库中(还可以备份到FTP服务器上)，自定义缺陷处理工作流，支持输出格包括csv、Microsoft Excel、 Microsoft Word，集成源代码控制(SVN与CVS)，集成wiki知识库与聊天工具(可选/可不选)，支持多种数据库(MySQL、MSSQL、 PostgreSQ、Oracle、DB2)，提供WebService(SOAP)接口，提供Wap访问。</p>
<p>下面介绍本人在配置过程中发现的需要注意的地方，注意这方面的情况基本就能配置成功MANTIS。</p>
<p> <span id="more-214"></span>
<p>我安装的版本为 1.2.0a3 Released <br />环境windows+apache2.2+php5+mysql5.0</p>
<p><strong>默认登录名 <br /></strong>莫名吧，用户名administrator密码root。</p>
<h2>MANTIS支持中文</h2>
<p><strong>mysql数据库安装</strong> <br />为了支持中文输入，必须自己新建数据库，新建的数据库编码格式为UTF-8。 <br />phpmyadmin中如此创建：如果已经安装好了，可以删除config_inc.php，重新安装。</p>
<p><a href="http://www.boofee.net/flyingbamboo/wp-content/uploads/2009/02/zrclip-001n589a6e0a.png" rel="lightbox"><img src="http://www.boofee.net/flyingbamboo/wp-content/uploads/2009/02/zrtn-002p79c05f6f-tn.jpg" style="WIDTH: 400px; HEIGHT: 86px" height="86" width="400"/></a></p>
<p><strong>另存config_inc.php为UTF-8格式</strong> <br />如果你要在其中的配置里输入中文的话。</p>
<p><strong>界面变成中文 <br /></strong> 登录后选择 My Account -&gt; Preferences -&gt; Language -&gt; chinese_simplified，就变成中文了。</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; <br />配置config_inc.php文件，config_inc.php作为外部接口，其中输入参数可以修改系统默认的属性，达到基础配置的目的。具体参数信息可以查询手册 <br /><a href="http://manual.mantisbt.org/index.php" target="_blank">http://manual.mantisbt.org/index.php</a> <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>MANTIS在windows下支持邮件发送</p>
<p>默认在不修改配置的情况下可以搭建支持匿名发送的smtp邮件服务器。 <br />或者可以使用外部smtp发送邮件。</p>
<p>添加相关参数： <br />$g_enable_email_notification=&#8217;on&#8217;; //默认为on，放这里是为了说明如何禁止邮件提醒，禁止邮件提醒后，用户不能注册，新建用户为空密码； <br />$g_phpMailer_method=2; //选择发送方式，0 &#8211; mail(), 1 &#8211; sendmail 2 &#8211; SMTP. Default is 0； <br />$g_smtp_host = &#8217;smtp服务器地址&#8217;; <br />$g_smtp_username = &#8216;用户名&#8217;; <br />$g_smtp_password = &#8216;密码&#8217;; <br />$g_from_email = &#8216;放送邮件方&#8217;; <br />$g_return_path_email=&#8217;回复邮件方&#8217;; <br />$g_from_name=&#8217;发送邮件者名称&#8217;; <br />$g_email_padding_length = 1; //具体不知道干嘛，但是默认情况下我的系统竟然连续发送N封邮件，改小了就好了；</p>
<p>更多请查看手册 <br /><a href="http://manual.mantisbt.org/manual.configuration.email.php">http://manual.mantisbt.org/manual.configuration.email.php</a></p>
<p>其他有用的参数设置： <br />$g_default_language = &#8216;chinese_simplified&#8217;; //新增用户默认语言为中文； <br />$g_webmaster_email = &#8216;邮箱地址&#8217;; //左下角邮箱地址的更改； <br />$g_window_title=&#8217;bug跟踪系统 Mantis&#8217;; //标题栏显示，用到中文了吧，嘿嘿； <br />$g_show_realname=&#8221;on&#8221;; //显示真实姓名，只有在页面左上方，诶诶； <br />putenv(&#8220;TZ=Asia/Shanghai&#8221;); //更改时区为中国区；</p>
<p>有点感觉了吧，剩下的就靠自己慢慢玩了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.boofee.net/flyingbamboo/archives/214/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
