Redhat:Samba config Standalone

From Define Wiki
Jump to navigation Jump to search

Samba Stand Alone Server

security = user
passdb backend = smbpasswd
security = server
password server = <NT-Server-Name>
security = ads
realm = MY_REALM

= Security

The security directive can have five different values:

  • user - check the local password database, used when the local system is the Domain Controller
  • domain - check the password database on the Domain Controller, when the local system is a member of the domain
  • ads - Active Directory Network member
  • server - use the password database from another system that is not the DC
  • share - peer to peer networks, not requiring username


User

if using the user security, the passdb backend directive sets which type of database is to be used: smbpasswd, tbdsam, ldapsam

ads

For ads the realm must be defined using the 'realm' directive

server / domain

with the server or domain security the password server must be defined.