Samba Interview Questions & Answers part 2
Q: – How to Manually Create Machine Trust Accounts ?
/usr/sbin/useradd -g machines -d /var/lib/nobody -c "machine nickname" -s /bin/false machine_name$
passwd -l machine_name$
Q: – Explain "force group" parameter used in smb.conf?
It will define the group id to be used for all file access in the place of the user’s primary group.
Q: – Explain "force user" parameter used in smb.conf?
It will define the user id to be used for all file access.
Q: – What are the SAMBA server Types ?
– Primary Domain Controller (PDC)
– Backup Domain Controller (BDC)
– ADS Domain Controller
Q: – Can i set empty password for samba user?
yes, If you want to set the value to an empty password, you must change
in your smbpasswd file.
Note: – if you have edited the smbpasswd file by hand, make sure that the LAN Manager and NT password fields contain exactly 32 characters, no more and no fewer. If these fields do not have exactly 32 characters, Samba will not be able to correctly read the entry.
or You can modify by "smbpasswd" command.
smbpasswd -n USER_NAME
Also you have to set the null passwords parameter to yes in the [global] section of smb.conf:
null passwords = yes
Q: – Does Samba support PAM?
Q: – What is role of "NTLM"?
The challenge/response authentication protocol available to Windows clients and servers for validating connection requests.
Q: – Which protocol SAMBA server uses ?
SMB, which stands for Server Message Block, is a protocol for sharing files, printers, serial ports, and communications abstractions such as named pipes and mail slots between computers.
Submitted By:-Nitin Email-ID: – firstname.lastname@example.org