Got a team reward on project, so happy!
Award
Gift card
關於我
2008/09/28
Firefox 3.x on gentoo
雖然 firefox 3.x 已經推出了不短的日子,但是在 gentoo 中仍然是 ~x86 的不穩定套件,
如果要用 firefox 3.x, 要在 /etc/portage/package.keywords 中把 ~x86 的部份 unmask 掉:
www-client/mozilla-firefox ~x86
dev-libs/nspr ~x86
dev-libs/nss ~x86
net-libs/xulrunner ~x86
如果要用 firefox 3.x, 要在 /etc/portage/package.keywords 中把 ~x86 的部份 unmask 掉:
www-client/mozilla-firefox ~x86
dev-libs/nspr ~x86
dev-libs/nss ~x86
net-libs/xulrunner ~x86
2008/09/25
La Bons Cafe
2008/09/24
2008/09/20
Samba UID-SID mapping in multiple domains
After days of samba studying, finally have some hint on UID-SID mapping problem, it is related to overlapping SID in multiple domain case, for example, DOMAINA\fai has SID of x-x-x-x-1001 but DOMAINB\fai has SID of y-y-y-y-1001, it is different in the point of view of Windows, but it is the same in samba, so winbind will assign DOMAINB\fai another UID in Linux side, which is unpredictable and inconsistent.
The worst thing is, even there is only one domain, different servers may got different mapping due to UID collision, to make it consistent, we need to use RID method in samba configuration, by:
idmap backend = rid:"DOMAINA=16777216-33554431"
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
But it doesn't work for multiple domain, to entertain multiple domain case, use this:
idmap domains = DOMAINA DOMAINB
idmap config DOMAINA:default = yes
idmap config DOMAINA:backend = rid
idmap config DOMAINB:backend = rid
idmap config DOMAINA:base_rid = 1000
idmap config DOMAINB:base_rid = 1000
idmap config DOMAINA:range = 10000-19999
idmap config DOMAINB:range = 20000-29999
Together with idmap uid and idmap gid range, this can avoid any collision and make the UID-SID mapping consistent all the time.
Source: http://www.mail-archive.com/samba@lists.samba.org/msg95890.html
The worst thing is, even there is only one domain, different servers may got different mapping due to UID collision, to make it consistent, we need to use RID method in samba configuration, by:
idmap backend = rid:"DOMAINA=16777216-33554431"
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
But it doesn't work for multiple domain, to entertain multiple domain case, use this:
idmap domains = DOMAINA DOMAINB
idmap config DOMAINA:default = yes
idmap config DOMAINA:backend = rid
idmap config DOMAINB:backend = rid
idmap config DOMAINA:base_rid = 1000
idmap config DOMAINB:base_rid = 1000
idmap config DOMAINA:range = 10000-19999
idmap config DOMAINB:range = 20000-29999
Together with idmap uid and idmap gid range, this can avoid any collision and make the UID-SID mapping consistent all the time.
Source: http://www.mail-archive.com/samba@lists.samba.org/msg95890.html
2008/09/15
御臨門溫泉度假村
中秋節假期,和朋友們參加了康泰的御臨門溫泉度假村兩天團。
行程:
14/9, 7:30 粉嶺集合
8:30 在深圳灣過關 (如果可以在深圳灣集合就好了, 可遲一小時出門)
10:30 經過惠州到逹河源
11:00 參觀河源的恐龍博物館,有過千隻的恐龍蛋化石
11:30 車子經過新豐江水庫大壩,在車上觀看,有100多米高的,很大
12:00 在河源的萬綠湖附近的河鮮店吃風味宴
14:00 參觀河源文化廣場,有點像會展
17:00 到達御臨門溫泉度假村,真的很像泰國!
18:00 在酒店食晚餐,比下午的味精餐好吃很多
19:30 到了度假村出面的店子買了煙火回去玩,越放越大,其他人看到也興奮(不過後來其他人更誇張,好像新年煙火滙演一樣)
20:30 浸溫泉,論溫泉的設計,聚龍灣好一點,每一個也有成分和功效介紹,不過地方是御臨門大和有特色
21:30 參加了幾個旅行團合辦的小型賞月活動,到處都只有樹木的鄉郊地方,天空都特別寬廣
23:30 多吃一會東西,12時多就去睡了,浸過溫泉睡得特別好
15/9 8:30 起床了,先去吃早餐,中式的自助餐真是... 只吃了一點點,不餓就停手/停口了
10:30 退房、集合、上車回惠州了
12:30 經過驚險的一段山路,再過一個多小時,到達惠州,吃了一餐不錯的客家風味午餐
14:00 準備上車回深圳,還有兩個地方去
16:00 桑果專門店,桑果汁我以前已經喝過了,香港也有售,所以就不買了
17:00 杏仁餅專門店,叫杏福樓,買了一盒杏仁餅,然後就上車回香港,旅程也到了尾聲
18:00 到達皇崗口岸,這次是第二次在這裡過關,今天因為是中秋假期最後一天,很多很多人
17:30 回到家了,還是家裡最舒服!
行程:
14/9, 7:30 粉嶺集合
8:30 在深圳灣過關 (如果可以在深圳灣集合就好了, 可遲一小時出門)
10:30 經過惠州到逹河源
11:00 參觀河源的恐龍博物館,有過千隻的恐龍蛋化石
11:30 車子經過新豐江水庫大壩,在車上觀看,有100多米高的,很大
12:00 在河源的萬綠湖附近的河鮮店吃風味宴
14:00 參觀河源文化廣場,有點像會展
17:00 到達御臨門溫泉度假村,真的很像泰國!
18:00 在酒店食晚餐,比下午的味精餐好吃很多
19:30 到了度假村出面的店子買了煙火回去玩,越放越大,其他人看到也興奮(不過後來其他人更誇張,好像新年煙火滙演一樣)
20:30 浸溫泉,論溫泉的設計,聚龍灣好一點,每一個也有成分和功效介紹,不過地方是御臨門大和有特色
21:30 參加了幾個旅行團合辦的小型賞月活動,到處都只有樹木的鄉郊地方,天空都特別寬廣
23:30 多吃一會東西,12時多就去睡了,浸過溫泉睡得特別好
15/9 8:30 起床了,先去吃早餐,中式的自助餐真是... 只吃了一點點,不餓就停手/停口了
10:30 退房、集合、上車回惠州了
12:30 經過驚險的一段山路,再過一個多小時,到達惠州,吃了一餐不錯的客家風味午餐
14:00 準備上車回深圳,還有兩個地方去
16:00 桑果專門店,桑果汁我以前已經喝過了,香港也有售,所以就不買了
17:00 杏仁餅專門店,叫杏福樓,買了一盒杏仁餅,然後就上車回香港,旅程也到了尾聲
18:00 到達皇崗口岸,這次是第二次在這裡過關,今天因為是中秋假期最後一天,很多很多人
17:30 回到家了,還是家裡最舒服!
2008/09/13
2008/09/10
80分鐘死亡直播 (REC)
2008/09/05
2008/09/04
Qumranet joins Red Hat
The Evolution of Virtualization: Qumranet joins Red Hat.
Red Hat today announced the acquisition of Qumranet, Inc. The acquisition includes Qumranet's virtualization solutions, including its KVM (Kernel Virtual Machine) platform and SolidICE offering, a virtual desktop infrastructure (VDI), which together present a comprehensive virtualization platform for enterprise customers. In addition, in connection with the deal, Qumranet's talented team of professionals that develop, test and support Qumranet solutions, and its leaders of the open source community KVM project, will join Red Hat.
2008/09/03
Google 瀏覽器 (試用版)
訂閱:
文章 (Atom)