【リスト1-4】 Sambaサーバの動作確認
○Sambaの起動 # /usr/local/samba/sbin/smbd # /usr/local/samba/sbin/nmbd ○ユーザの作成 # /usr/sbin/useradd testuser1 # /usr/local/samba/bin/pdbedit -a testuser1 new password: retype new password: Unix username: testuser1 NT username: Account Flags: [U ] User SID: S-1-5-21-1179993760-1339524205-292093295-21054 Primary Group SID: S-1-5-21-1179993760-1339524205-292093295-21055 ... 省略 ... ○Sambaサーバへアクセス # /usr/local/samba/bin/smbclient //localhost/share -U testuser1 Password: ******** smb: \> ← ユーザ認証に成功 |