|
|
|
|
|
|
Add
Samba Users |
|
|
- Create a user account first (not related to
Samba)
# useradd janet3
|
|
-
Then create Samba password as follows:
# smbpasswd a- janet3
{You are prompted for a password}
- Restart Samba
# /etc/rc.d/init.d/smb restart
|
|
|
|
|
Configuration |
|
|
- [global]
workgroup = NameofWorkgroup
netbios name = NetBiosName
encrypt passwords = yes
- [music]
path = data/mp3
browseable = yes
read only = no
valid users = username
write list = username
|
|
|
|
|
|
| Hello
World Config |
|
|
|
|
|
-
We should point out that in terms of system security,
thi is the worst setup possible. For the moment, however, we only
wish to test Samba, so we'll leave security out of the picture.
-
To test the server software, though, we'll use the
following file. It should be named smb.conf and placed in the /usr/local/samba/lib
directory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Restart
Samba Server |
|
|
- # /etc/rc.d/init.d/smb restart
|
|
|
|
|
|
|
|
|
|