Start the Samba

4. Create passwords for users: To give yourself access rights to the SAMBA server, passwords need to be assigned. Remember that only valid users of the Linux system can be SAMBA users. Use the following command:

# smbpassword -a <username>

where <username> is an user already registered on the system.

5. Start the Samba service: Use the following command:

# service smb start

or

# letc/rc.d/init.d/smb start It should say:
Starting 5MB Services     [OK]
Starting NMB Services     [OK]

5. And finally, Test your settings: Use the following command:

# testparm

A lot of messages will spew down. If all is well, you should see ‘Loaded services file OK’ on the 5th or 6th line.

Congratulations, the Linux side of affairs has been successfully taken care of. For
page for all the options and settings. Now to proceed to the Windows configuration, but before that, a few words about SWAT.

Make a comment