Skip to content

Instantly share code, notes, and snippets.

@sertxudev
Created December 19, 2019 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sertxudev/e2cfed69bb29f4098a989b99c0288c6b to your computer and use it in GitHub Desktop.
Save sertxudev/e2cfed69bb29f4098a989b99c0288c6b to your computer and use it in GitHub Desktop.
Fichero de configuración de Samba para un equipo miembro de un grupo Active Directory
[global]
security = ads
realm = DOMINIO.CLASE.ASO
server string = memberserver
password server = 10.0.0.1
workgroup = DOMINIO
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/%D/%U
template shell = /bin/bash
client use spnego = yes
client ntlmv2 auth = yes
encrypt passwords = yes
winbind use default domain = yes
restrict anonymous = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment