-
-
Save hgdeoro/4e6204b482f0d790cc8b to your computer and use it in GitHub Desktop.
smb.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
netbios name = F-FSS4-PEA | |
workgroup = MYDOMAIN | |
security = ADS | |
realm = MYDOMAIN.COM.AR | |
encrypt passwords = yes | |
idmap config *:backend = tdb | |
idmap config *:range = 70001-80000 | |
idmap config MYDOMAIN:backend = ad | |
idmap config MYDOMAIN:schema_mode = rfc2307 | |
idmap config MYDOMAIN:range = 1000-40000 | |
winbind nss info = rfc2307 | |
winbind trusted domains only = no | |
winbind use default domain = yes | |
winbind enum users = yes | |
winbind enum groups = yes | |
log level = 10 | |
## https://wiki.samba.org/index.php/Using_RFC2307_on_a_Samba_DC | |
# > after you've joined the domain as a Domain Controller | |
idmap_ldb:use rfc2307 = yes | |
log file = /var/log/samba/log.%m | |
max log size = 50000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment