Linux   « User & Group | HOME | mysql - general »

 ■ Smbmount - Mount Windows share folder on Linux or Mac

Create mount point on local PC
# mkdir /mnt/smb


Mount
# smbmount //10.81.255.8/home /mnt/smb/ -o username=user
or
# smbmount //10.81.255.8/home /mnt/smb/ -o username=user,password=pass

If user name and password is not setup,
# smbmount //10.81.255.8/home /mnt/smb/ -o guest

# df (check mount)

If files are garbled, add below opsions.
codepage=cp932,iocharset=utf8


Unmount

# umount /mnt/smb/


If you dont have a command "smbmount", try with "mount.cifs" which can be used as exactly same as "smbmount". (CentOS 5 does not have "smbmount")


If you can not access to the share folder on Windows AD server
Firstly you need to change the security policy from Group Policy on AD server like below. (This is an example for Win 2003 server.)


コンピュータの構成
--Windowsの設定
----セキュリティの設定
------ローカルポリシー/セキュリティ オプション
--------Microsoft ネットワーク クライアント
 常に通信にデジタル署名を行う ---> 無効
--------Microsoft ネットワーク サーバー
 常に通信にデジタル署名を行う ---> 無効


Also you need to connect to the AD server as an administrative right even though you have not setup any ID and password at the share folder on AD server.

# smbmount //10.81.255.8/home /mnt/smb/ -o username=administrator,password=passpass

投稿者 tomopugh : 2007年03月30日 13:39

Comment

このホームページ正体不明・・・。

投稿者 isuru : 2007年04月04日 09:38

意味不明だよね。。。
よく言われるよ。からみづらいって。

君の頭の中も、意味不明♪♪♪

投稿者 tomo : 2007年04月04日 10:01

Please comment !




Save the info?


  (Please don't click on "post" twice. It takes time a bit to change to the next screen!!)