hackkit:~# apt-get update Hit http://ftp.jp.debian.org sarge/main Packages : Reading Package Lists... Done hackkit:~# apt-get install samba (ここ、写し取るの忘れた) lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu Samba Server tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x This controls what workgroup your server will appear to be in when queried by clients. Note that this parameter x x also controls the Domain name used with the security=domain setting. x x x x Workgroup/Domain Name? x x x x YAMASITA_________________________________________________________________________________________________________ x x x x <Ok> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj YAMASITA を指定して lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu Samba Server tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x x x Recent Windows clients communicate with SMB servers using encrypted passwords. If you want to use clear text x x passwords you will need to change a parameter in your Windows registry. It is recommended that you use encrypted x x passwords. If you do, make sure you have a valid /etc/samba/smbpasswd file and that you set passwords in there for x x each user using the smbpasswd command. x x x x Use password encryption? x x x x <Yes> <No> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj デフォルトのまま<Yes> lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu Samba Server tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x x x If your computer gets IP address information from a DHCP server on the network, the DHCP server may also provide x x information about WINS servers ("NetBIOS name servers") present on the network. This requires a change to your x x smb.conf file so that DHCP-provided WINS settings will automatically be read from /etc/samba/dhcp.conf. x x x x You must have the dhcp3-client package installed to take advantage of this feature. x x x x Modify smb.conf to use WINS settings from DHCP? x x x x <Yes> <No> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj デフォルトのまま<No> lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu Samba Server tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x The Samba daemon smbd can run as a normal daemon or from inetd. Running as a daemon is the recommended approach. x x x x How do you want to run Samba? x x x x daemons x x inetd x x x x x x <Ok> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj デフォルトのままdaemons lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu Samba Server tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x x x To be compatible with the defaults in most versions of Windows, Samba must be configured to use encrypted x x passwords. This requires user passwords to be stored in a file separate from /etc/passwd. This file can be created x x automatically, but the passwords must be added manually (by you or the user) by running smbpasswd, and you must x x arrange to keep it up-to-date in the future. If you do not create it, you will have to reconfigure samba (and x x probably your client machines) to use plaintext passwords. See /usr/share/doc/samba-doc/htmldocs/ENCRYPTION.html x x from the samba-doc package for more details. x x x x Create samba password database, /var/lib/samba/passdb.tdb? x x x x <Yes> <No> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj デフォルトのまま<No> Selecting previously deselected package libsasl2. (Reading database ... 10989 files and directories currently installed.) Unpacking libsasl2 (from .../libsasl2_2.1.19.dfsg1-0sarge2_arm.deb) ... Selecting previously deselected package libldap2. Unpacking libldap2 (from .../libldap2_2.1.30-8_arm.deb) ... Selecting previously deselected package libkrb53. Unpacking libkrb53 (from .../libkrb53_1.3.6-2sarge3_arm.deb) ... Selecting previously deselected package libcupsys2-gnutls10. Unpacking libcupsys2-gnutls10 (from .../libcupsys2-gnutls10_1.1.23-10sarge1_arm.deb) ... Selecting previously deselected package samba-common. Unpacking samba-common (from .../samba-common_3.0.14a-3sarge2_arm.deb) ... Selecting previously deselected package samba. Unpacking samba (from .../samba_3.0.14a-3sarge2_arm.deb) ... Setting up libsasl2 (2.1.19.dfsg1-0sarge2) ... Setting up libldap2 (2.1.30-8) ... Setting up libkrb53 (1.3.6-2sarge3) ... Setting up libcupsys2-gnutls10 (1.1.23-10sarge1) ... Setting up samba-common (3.0.14a-3sarge2) ... Setting up samba (3.0.14a-3sarge2) ... Generating /etc/default/samba... TDBSAM version too old (0), trying to convert it. TDBSAM converted successfully. account_policy_get: tdb_fetch_uint32 failed for field 1 (min password length), returning 0 account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), returning 0 account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to change password), returning 0 account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password age), returning 0 account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password age), returning 0 account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout duration), returning 0 account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count minutes), returning 0 account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout attempt), returning 0 account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time), returning 0 account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine password change), returning 0 Starting Samba daemons: nmbd smbd. hackkit:~#これだけで Samba 3.0.14-Debian のサーバのできあがり。
このあとの設定はどこか他のもっと詳しいサイトを参考にどーぞ。
debian って、インストール=セットアップ=起動なんですね。
なんか、ポリシーの一端を垣間見たような。
← LS-GL:IDE HDD 内蔵 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ 玄箱/HG:Movable Type のインストール |