Samba Flashcards
name the 3 samba daemons
smbd, nmbd & winbindd
the purpose of smbd?
This daemon handles file and printer sharing and provides authentication and authorization for SMB clients.
the purpose of nmbd?
This daemon handles Samba’s NetBIOS name registration, implements a Microsoft-compatible NetBIOS Name Server (NBNS) service, also referred to a WINS server, and partcipates in browsing elections.
the purpose of winbindd?
This daemon communicates with domain controllers for providing information such as the groups to which a user belongs. It also provides an interface to Win- dows’LanManagerauthenticationschemes,commonlyreferredtoasNTLM authentication, for Unix services other than Samba.
where is the default samba config located?
/etc/samba/smb.conf
which two characters are taken as comments in smb.conf?
and ;
global option: NetBIOS workgroup or NetBIOS domain name
workgroup
global option: Computer’s NetBIOS name
netbios name
global option: Name of the printing system, such as LPRng or CUPS.
printing
global option: Name of the /etc/printcap file
printcap name
global option: Whether to make all your locally defined printers available
load printers
global option: Host-based access controls
hosts allow and hosts deny
global option: Specifies how Samba authenticates local users
security
smb security: mimicking the method used by Windows 9x/Me
Share
smb security: using usernames and passwords
User
smb security: sending an authentication request to another computer
Server
smb security: deferring to an NT domain controller
Domain
smb security: deferring to an Active Directory (AD) domain controller
ADS
global option: Specifies whether to require encrypted passwords
encrypt passwords
global option: Encrypted password file
smb passwd file
global option: Identifies the network’s domain controller
password server
global option: File that holds mappings of Windows-style and Linux- style usernames
username map
global option: Tells Samba how to resolve names
name resolve order
which vales can “name resolve order” take?
lmhosts, host, wins, bcast (seperated by spaces)
which command shows workgroups?
nmblookup -MS -
which three options need to be set in order to join a AD?
password server
encrypt passwords = yes
security must be Server, Domain or ADS
username.map file: which character defines a group?
@