Samba Interview Questions & Answers part 4

0
650
Q: – Can Samba fully replace my Windows NT server that is not a Primary  Domain Controller (PDC)?

 

Samba can completely serve files and printers to Windows, just as a Windows NT server would.

Q: – How many simultaneous connections can a Samba server support?

In theory, there is no limit. In practice, the limit is determined by the server’s hardware, specifically the total amount of available RAM and the CPU power. It might also depend on the amount of activity from the smbd processes.

Q: – I want to use User level security for my samba server than what i have to add in smb.conf file?

security = user

Q: – How you will verify that your smb.conf file doesn’t have any mistakes and misspellings?

"testparm " tool that verifies the syntax of a configuration file(smb.conf).
testparm -s smb.conf

Q: – Can Samba replaces my Windows NT PDC?

 Not completely. Samba domain control capabilities for a Windows 9x client are  solid and complete, and so these clients would probably never know the difference. The domain control support for Windows NT/2000 clients is still being developed. Currently, enough has been implemented to allow a Windows NT client to join a Samba-controlled domain, but there is more to domain control than that. The most conspicuous absence is the lack of support for Windows NT trust relationships and the SAM replication protocol used between NT PDCs and Backup Domain Controllers (BDCs).

Q: – What is the use of "smbclient" command?

"smbclient" is used to display the list of shares on your server. This verifies that smbd is running and functioning correctly. The -L option instructs smbclient to enumerate the shares on the server rather than actually connecting to one. The   -N switch instructs smbclient to use an anonymous login rather than the login name of the current user.

smbclient -L localhost -N
Antother use of "smbclient" command to connect the samba share.
smbclient //<server>/<share> -U <username>

Q: – What TCP and UDP ports required for NetBIOS over TCP/IP use?

The NBT name service uses port 137/udp, the NBT session service uses port 139/tcp, and the NBT datagram service uses port 138/udp.

Submitted By:-Nitin            Email-ID: – saini.nitin32@yahoo.com

 

SHARE

LEAVE A REPLY