Interview Questions And Answers

Q: - Explain the parameter "wins support = Yes" used in smb.conf?

If the Samba server was configured to provide WINS support ("wins support = Yes"), then the WINS server is able to provide name resolution for all of the hosts that are not listed in the /etc/hosts file or within the DNS. Making this adjustment in the Name Service Switch configuration file (/etc/nsswitch.conf) allows the Linux system to query the WINS server for local name resolution. This saves manual adjustments to host files.

Submitted By:-Varun            Email-ID: -kumar.varun123@yahoo.com

Q: - How to automate SMB share mounting during system startup?

Add smb share entry in /etc/fstab file.

//IP_ADDRESS_OF_SERVER/Shared   /shared    smbfs    noauto,defaults  0  0

Submitted By:- Varun            Email-ID: - kumar.varun123@yahoo.com

Q: - how to start and stop samba server?

/etc/init.d/smb  restart

Submitted By:- Varun            Email-ID: - kumar.varun123@yahoo.com

 

1
2