<?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>MyBlog_笑著流淚II &#187; 技術文件</title>
	<atom:link href="http://blog.havenlin.org/archives/category/%e6%8a%80%e8%a1%93%e6%96%87%e4%bb%b6/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.havenlin.org</link>
	<description>歡迎使用非Internet Explorer瀏覽器，欣賞這裡的一切資訊！！</description>
	<lastBuildDate>Sat, 09 Jan 2010 09:21:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>武男亂講-Wired Guest Access using Cisco WLAN Controllers Configuration</title>
		<link>http://blog.havenlin.org/archives/2409</link>
		<comments>http://blog.havenlin.org/archives/2409#comments</comments>
		<pubDate>Wed, 26 Aug 2009 12:23:24 +0000</pubDate>
		<dc:creator>白目研究生</dc:creator>
				<category><![CDATA[技術文件]]></category>

		<guid isPermaLink="false">http://blog.havenlin.org/?p=2409</guid>
		<description><![CDATA[
這是其中的一個Tasks~
今天Close掉了~XDD
學校的無線網路由於建置期數不同~
所以目前有兩套異質的無線網路~

一為較早期的Avaya Solution
不過找不到台灣的地理商~
我們把它視為孤兒看待~
唯一留下的印象就是把UPGRADE IOS以後的磚頭AP
在Boot Loader的時候用TFTP RELOAD IOS，
硬要這些孤兒做它應該做的工作~XDD
另外一個則是Cisco的cisco unified wireless network
都很強大~都很好用~
而且這份Wired Guest Access using Cisco WLAN Controllers Configuration Example文件也有提到
Guest users must be allowed to connect to designated Ethernet ports and access the guest network as configured by the administrator after they complete the configured authentication methods. Wireless guest users can easily connect to the WLAN Controllers with [...]]]></description>
		<wfw:commentRss>http://blog.havenlin.org/archives/2409/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>武男亂講-ACLs on Wireless Control System Configuration Example</title>
		<link>http://blog.havenlin.org/archives/2354</link>
		<comments>http://blog.havenlin.org/archives/2354#comments</comments>
		<pubDate>Tue, 11 Aug 2009 06:18:51 +0000</pubDate>
		<dc:creator>白目研究生</dc:creator>
				<category><![CDATA[技術文件]]></category>
		<category><![CDATA[武男亂講]]></category>

		<guid isPermaLink="false">http://blog.havenlin.org/?p=2354</guid>
		<description><![CDATA[
This document explains how to configure access control lists (ACLs) on Wireless Control System (WCS) to filter traffic that enters and leaves a WLAN. 
因為在骨幹上直接設定access-list失敗了~
所以就採用介面設定
有需要可以搭配這篇服用ACLs on Wireless LAN Controller Configuration Example
其實觀念差不多，但我想表達的重點應該是目前已知有三個介面可以進行ACLs的設定就是了~
(WLC Https or CLI、WCS Https)
因為WLC有兩台，WCS又很好用。為了避免設定檔不同步的問題。
重點會放在WCS的操作上

從WLC上看到如果只ALLOW DHCP、DNS、ICMP、HTTP、HTTPS
的ACL Rules會長得像這樣
也就是已經不小心在WLC上完成了這些設定了
而當初在7609的的VLAN一意孤行的
只留下了
permit tcp any any eq www
permit tcp any any eq 443
不會成功的原因是因為完全忽略了DHCP跟DNS這兩段協定的進出了~
也真的不解的Direction留了InBound、OutBound與Any的三個Option
為什麼全部只留Any就好了~這樣子一個協定的進出就不用設定兩行的問題
不過看完Desc Port與Source Port的規劃的話~
我想這樣子的設定還是不能懶~
反正Rules檢查是機器的事又不是人類的事~XDD

WCS上對Access Control Lists的控制在上圖紅框處~
切成了三個區塊Access Control Lists、IP Groups、Protocol Groups
也就是說~在WLC上一個PAGE就能設定完的ACL
在WCS上要分成三個部分做完
第一，就是上圖中的IP [...]]]></description>
		<wfw:commentRss>http://blog.havenlin.org/archives/2354/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP-LDAP_Search Lists Active Directory® Account  How To</title>
		<link>http://blog.havenlin.org/archives/2252</link>
		<comments>http://blog.havenlin.org/archives/2252#comments</comments>
		<pubDate>Fri, 24 Jul 2009 08:06:04 +0000</pubDate>
		<dc:creator>白目研究生</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[技術文件]]></category>

		<guid isPermaLink="false">http://blog.havenlin.org/?p=2252</guid>
		<description><![CDATA[看完新增AD Account後，就是把全部的使用者怎麼全部列表出來了~
References:
http://www.php.net/manual/en/function.ldap-search.php
Source Code : Download

這邊可以注意的是~
如果不管AD端預設值的話~
會在這程式開始執行的時候發現這個(Warning: ldap_search(): Partial search results returned: Sizelimit exceeded.)提醒
看一下ldap_search傳回來的資料不多不少剛好一千~
這數值真的很令人在意啊~XDD

所以測了一下ldap_search的sizelimit參數~
發現~可能問題出在~AD Server那一端~
微軟也很貼心(?)的設定了1000 Default Value~
所以學長就這樣子操作了~(KeyWord : Ntdsutil.exe &#8211; Active Directory 目錄服務維護公用程式)

看一下HELP可以做些什麼設定~
不過現在的重點會放在LDAP Policies

這是還沒建立Connections的錯誤
所以Show Values不知道要Show什麼資料

所以，想辦法連線到AD端

然後就可以用(Set %s to %s)來修改一些數據

修改的話~應該不難~
以Set %s1 to %s2的例子而言
%s1 = Argument Name
%s2 = Set Argument Value
所以大概是Set MaxPageSize to 35000、Set MaxTempTableSize to 35000後
就會看到下面的結果了~

整理一下檢視/變更原則設定的步驟 :
啟動 Ntdsutil.exe
按一下 [開始]，然後按一下 [執行]。
在 [開啟] 文字方塊中，輸入 [ntdsutil]，然後按 [ENTER]。任何時候，若要檢視說明，請在命令提示字元下輸入 ?。
檢視原則設定
在 Ntdsutil.exe 命令提示字元下，輸入 LDAP policies，然後按 [...]]]></description>
		<wfw:commentRss>http://blog.havenlin.org/archives/2252/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP-LDAP_ADD Add Active Directory® Account How To</title>
		<link>http://blog.havenlin.org/archives/2239</link>
		<comments>http://blog.havenlin.org/archives/2239#comments</comments>
		<pubDate>Fri, 24 Jul 2009 02:11:04 +0000</pubDate>
		<dc:creator>白目研究生</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[技術文件]]></category>

		<guid isPermaLink="false">http://blog.havenlin.org/?p=2239</guid>
		<description><![CDATA[看完刪除AD Account後，就是新增使用者的部分
References:
http://www.php.net/manual/en/function.ldap-add.php
Source Code : Download

可以注意的是有關於密碼這個attribute分成了兩個~
userPassword與unicodePwd
可以辨別出的差異在這裡提出了說明:
userpassword is only accepted for auth, and unicodepwd is not readable by ldap.
以圖例來舉證的話~
下圖是用LDAP ADMIN新增cn_test的密碼呈現的結果，(SHA1)

如果硬要使用Create Unicode Password的方式
把密碼塞給userPassword這個attribute的話
會只看到一個字元
也就是
$newPassword = &#8220;\&#8221;&#8221; . $pwdtxt . &#8220;\&#8221;";
上面標註的那個字元

還有~
看不見任何unicodePwd attribute的結果~
不過可以確定的是~
在這個case，就算沒有可視的unicodePwd
還是可以進行密碼的驗證~

]]></description>
		<wfw:commentRss>http://blog.havenlin.org/archives/2239/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP-LDAP_DELETE Delete Active Directory® Account How To</title>
		<link>http://blog.havenlin.org/archives/2232</link>
		<comments>http://blog.havenlin.org/archives/2232#comments</comments>
		<pubDate>Thu, 23 Jul 2009 14:06:08 +0000</pubDate>
		<dc:creator>白目研究生</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[技術文件]]></category>

		<guid isPermaLink="false">http://blog.havenlin.org/?p=2232</guid>
		<description><![CDATA[有長輩開需求就終於可以寫文件了~XDD
頭一次建立Active Directory®約等同於Lightweight Directory Access Protocol的概念
這次要用PHP對AD跟LDAP兩端處理一些資料
目的讓兩端的的記錄能同步
所以這幾天的文件會紀錄
PHP for LDAP一些用法(sample/example)
ldap_search、ldap_add、ldap_delete的用法
所以這篇文章就先ldap_delete了~
Reference:
http://www.php.net/manual/en/function.ldap-delete.php
Test Target:
End operation -Linux vivaldi 2.6.18-6-686
Server-side &#8211; Windows 2003 Server AD
Source Code : Download

&#8211;
聽說LDAP/AD系統整合管理相當夯~XDD
&#8211;
]]></description>
		<wfw:commentRss>http://blog.havenlin.org/archives/2232/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>我只會upgrade不會Downgrade-D-Link xStack DES-3526 (Part 2)</title>
		<link>http://blog.havenlin.org/archives/2066</link>
		<comments>http://blog.havenlin.org/archives/2066#comments</comments>
		<pubDate>Wed, 10 Jun 2009 08:58:28 +0000</pubDate>
		<dc:creator>白目研究生</dc:creator>
				<category><![CDATA[我只會upgrade不會Downgrade]]></category>
		<category><![CDATA[技術文件]]></category>

		<guid isPermaLink="false">http://blog.havenlin.org/?p=2066</guid>
		<description><![CDATA[繼上次DLINK 3526後
今天又新增了一些操作部份
手動更新~使用者帳號的部分
DES-3526:admin#create account ?
Command: create account
Next possible completions:
admin               operator            user
基本上有三種權限可以選擇~所以&#8230;
DES-3526:admin#create account admin &#8220;username&#8221;
Command: create account admin &#8220;username&#8221;
Enter a case-sensitive new password:*****
Enter the new password again for confirmation:*****
Success.
手動建立~Layer 2 Switch Default [...]]]></description>
		<wfw:commentRss>http://blog.havenlin.org/archives/2066/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>武男亂講-Cisco 6503 Mac Address Filter How To</title>
		<link>http://blog.havenlin.org/archives/1987</link>
		<comments>http://blog.havenlin.org/archives/1987#comments</comments>
		<pubDate>Tue, 02 Jun 2009 16:20:04 +0000</pubDate>
		<dc:creator>白目研究生</dc:creator>
				<category><![CDATA[技術文件]]></category>
		<category><![CDATA[武男亂講]]></category>

		<guid isPermaLink="false">http://blog.havenlin.org/?p=1987</guid>
		<description><![CDATA[因為學校剛好有6503
6503剛好有一個VLAN
剛好又有一個使用者要處理一下
又參考了一下技術文件-Mac Filte on Foundry NI1500 How To
開始處理&#8230;
#(config)mac-address-table static &#8220;Source MAC Address&#8221; vlan &#8220;VLAN ID&#8221; drop
然後
clear arp
clear mac-address dynamic
Done!!
&#8211;
然後開始觀察有沒有開始偷換MAC ADDRESS的徵兆~XDD
&#8211;
]]></description>
		<wfw:commentRss>http://blog.havenlin.org/archives/1987/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>uBuntu-Terminal Server Client</title>
		<link>http://blog.havenlin.org/archives/1974</link>
		<comments>http://blog.havenlin.org/archives/1974#comments</comments>
		<pubDate>Tue, 26 May 2009 06:24:52 +0000</pubDate>
		<dc:creator>白目研究生</dc:creator>
				<category><![CDATA[uBuntu]]></category>
		<category><![CDATA[技術文件]]></category>

		<guid isPermaLink="false">http://blog.havenlin.org/?p=1974</guid>
		<description><![CDATA[記錄一下
以前使用Terminal Server Client 的全螢幕
如果連線中斷後
就只能看著他中斷什麼事情都做不了
所以
ctrl + alt + Enter
就可以切過來又切過去
切過來又切過去了~
]]></description>
		<wfw:commentRss>http://blog.havenlin.org/archives/1974/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>武男亂講-ubuntu 9.04 desktop 初體驗</title>
		<link>http://blog.havenlin.org/archives/1891</link>
		<comments>http://blog.havenlin.org/archives/1891#comments</comments>
		<pubDate>Wed, 20 May 2009 07:37:35 +0000</pubDate>
		<dc:creator>白目研究生</dc:creator>
				<category><![CDATA[uBuntu]]></category>
		<category><![CDATA[技術文件]]></category>
		<category><![CDATA[武男亂講]]></category>

		<guid isPermaLink="false">http://blog.havenlin.org/?p=1891</guid>
		<description><![CDATA[
這個版本的使用心得
就是ASUS的M5面板上的無線網路指示燈總算可以閃爍了~XDD
總是要先GREEN ON BLACK

然後同步時間

然後要VPN

沒看過這麼肥的SH，所以&#8230;

ecc@ecc-laptop:~$ sudo sh vpnsetup.sh
就不小心可以LOGIN了

至於Pidgin Internet Message
要跟GTALK連結，我試了幾次近接設定要這樣子才能通&#8230;
所以&#8230;僅供參考~僅供參考~XDD

&#8211;
GMAIL用SSL也不錯啊~
&#8211;
]]></description>
		<wfw:commentRss>http://blog.havenlin.org/archives/1891/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>武男亂講-JDK 6 with JCreator 3.5 How To</title>
		<link>http://blog.havenlin.org/archives/1335</link>
		<comments>http://blog.havenlin.org/archives/1335#comments</comments>
		<pubDate>Mon, 23 Feb 2009 15:48:36 +0000</pubDate>
		<dc:creator>白目研究生</dc:creator>
				<category><![CDATA[技術文件]]></category>
		<category><![CDATA[武男亂講]]></category>

		<guid isPermaLink="false">http://blog.havenlin.org/archives/1335</guid>
		<description><![CDATA[
咳~咳~武男啊~咳~
咳~那個~咳~，咳~咳~教材啊~幫我做一下。咳~
咳~這樣~這樣~咳~
那樣~咳~咳~那樣~
好險今天在YOUTUBE找到一個跟我桌面好像的教材
又剛好是地球人製作的
聲音又剛好跟我好像唷
這麼巧得事情怎麼可能發生啦(翻)
老師已經可以自己咳成B-BOX了
&#8211;
我一直覺得電子化以後的聲音
跟我的頭殼接收到的有誤差
一直都是這樣子覺得
&#8211;
]]></description>
		<wfw:commentRss>http://blog.havenlin.org/archives/1335/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
