Windows 上免費的虛擬光碟工具軟體

WinCDEmu is an open-source CD/DVD/BD emulator – a tool that allows you to mount optical disc mages by simply clicking on them in Windows Explorer. If you have downloaded an ISO image and want to use it without burning it to a blank disc, WinCDEmu is the easiest way to do it.
Features:
One-click mounting of ISO, CUE, NRG, MDS/MDF, CCD, IMG images.

Supports unlimited amount of virtual drives.
Runs on 32-bit and 64-bit Windows versions from XP to Windows 7.

Allows creating ISO images through a context menu in Explorer.

Small installer size – less than 1MB!

Does not require rebooting after installation.

A special portable version is available.

Translated to more than 20 languages.

Does not occupy drive letters when not used.

Supports data, DVD-video and BD-video images.

WinCDEmu is free for any kind of use – it is licensed under LGPL

centos 指令 setup 設定帳號的登入驗證 winbind

centos  setup 指令 可用來簡單的設定帳號的登入驗證。

wbinfo -u 或是 -g 在 setup 介面設定 winbind auth 完成後就可以查詢到 AD 上的帳號了。

getent passwd 若出現AD帳號像 TOYOINK-CT/sc.yang 表示 「smb.conf」裏,參數是 winbind use default domain = no 。改為 winbind use default domain = yes 帳號就不會被冠上 domain 了。記得要重新啟動 winbind

/etc/krb5.conf 其中 realms 域中的default domain 設定必需要指定

[realms]
EXAMPLE.COM = {
kdc = kerberos.example.com:88
admin_server = kerberos.example.com:749
default_domain = example.com
}

TOYOINK-CT.COM.TW = {
kdc = ad3server.toyoink-ct.com.tw
default_domain = toyoink-ct.com.tw
}

/etc/samba/smb.conf
WORKGROUP = TOYOINK-CT #也記得要設定正確

getent passwd 若沒發現 AD 上的帳號加入,要檢查 smb.conf winbind 的幾個參數是否有設定到。

winbind separator = /
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = true
winbind offline logon = false

所以說如果 getent passwd 查不到帳號不代表 AD 上的帳號不起作用喔!!
但是手冊上寫說最好加進去不然對有些應用程式有可能會發生錯誤。

winbind enum groups (G)

On large installations using winbindd(8) it may be necessary to suppress the enumeration
of groups through the setgrent(), getgrent() and endgrent() group of system calls. If the
winbind enum groups parameter is no, calls to the getgrent() system call will not return
any data.

Warning
Turning off group enumeration may cause some programs to behave oddly.

Default: winbind enum groups = no

winbind enum users (G)

On large installations using winbindd(8) it may be necessary to suppress the enumeration
of users through the setpwent(), getpwent() and endpwent() group of system calls. If the
winbind enum users parameter is no, calls to the getpwent system call will not return any
data.

Warning
Turning off user enumeration may cause some programs to behave oddly. For example, the
finger program relies on having access to the full user list when searching for matching
usernames.

Default: winbind enum users = no

winbind 筆記

smb.conf template home 設定值會影響 getent passwd 的家目錄的路徑值。

smb.conf 有任何修改,最好都要讓 winbind 重新載入設定值。

winbind 家目錄不正確的問題會造成無法登入的問題。

[Linux] 簡單的 port forward 工具

[Linux] 簡單的 port forward 工具

嗯.. iptables 功能很強大大家都知道。

不過 rules 不是那麼好設定。

且沒有 root 權什麼都不能做。

所以有 redir 這個小工具(加起來不到 50k)的幫忙,這種簡單的 port forwarding 設定就可以不用用到 iptables 這隻牛刀了。

以下是簡單的範例:
繼續閱讀

Linux 光碟映像檔 轉檔工具

mdf2iso
mdf2iso converts an Alcohol 120% .mdf image to other CD image formats. It is able to write out plain .iso, .cue &
.bin and .toc & .dat. If you do not specifiy –cue or –toc, an .iso file gets generated. If you do not specifiy a
destination image name, BASENAME.ext is automatically used.

iat
iat (Iso9660 Analyzer Tool) is a tool for detecting the structure of many types of CD-ROM image file formats,
such as BIN, MDF, PDI, CDI, NRG, and B5I, and converting them into ISO-9660.

If output file name is not defined, then STDOUT will be used instead.

 

NTLDR is missing 修復方法

出處: NTLDR is missing 修復方法

NTLDR 是 NT Loader 的縮寫,也就是 NT 系統(Windows NT/2000/XP) 開機所需的管理程式,位在根目錄的一個隱藏檔。

出現 NTLDR is missing 的原因很多,主要原因有:
● 安裝了無法開機(boot)的儲存裝置。
● 使用 FAT32 檔案系統的 Windows 9x 作業系統升級到 Windows XP。
● 您的電腦有兩個開機系統。
● 使用不良的的硬碟連接線。
● NTLDR 毀損。
繼續閱讀