Advertisement
Guest User

mint

a guest
Jan 16th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. samba samba-common samba-vfs-modules samba-ddb-mocules smbclient winbind libnss-winbind libpam-winbind krb5-user krb5-config ntp
  2.  
  3. mv /etc/samba/smb.conf /etc/samba/smb.conf.back
  4.  
  5. samba-tool domain provision –use-rfc2307 –interactive.
  6.  
  7. mv /etc/krb5.conf /etc/krb5.conf.back
  8. ln –s /var/lib/samba/private/krb5.conf /etc/
  9.  
  10. systemctl unmask samba-ad-dc
  11. systemctl enable samba-ad-dc
  12.  
  13. 2)Modificar /etc/krb5.conf:
  14. [libdefaults]
  15. default_realm = HPERRANDO.LOCAL
  16. clockskew = 300
  17.  
  18. [realms]
  19. HPERRANDO.LOCAL = {
  20. kdc = servhperrando
  21. default_domain = hperrando.local
  22. # admin_server = servhperrando.hperrando.local
  23. }
  24.  
  25. [logging]
  26. kdc = FILE:/var/log/krb5kdc.log
  27. admin_server = FILE:/var/log/kadmin.log
  28. default = FILE:/var/log/krb5lib.log
  29. [domain_realm]
  30. .hperrando.local = HPERRANDO.LOCAL
  31. hperrando.local = HPERRANDO.LOCAL
  32. [appdefaults]
  33. pam = {
  34. ticket_lifetime = 1d
  35. renew_lifetime = 1d
  36. forwardable = true
  37. proxiable = false
  38. retain_after_close = false
  39. minimum_uid = 0
  40. try_first_pass = true
  41. }
  42.  
  43. [domain_reaml]
  44. .asir3.local = ASIR3.LOCAL
  45. asir3.local = ASIR3.LOCAL
  46.  
  47. archivo smb.conf
  48. client use spnego = yes
  49. security = ads
  50. smbpasswd -a USERNAME crear
  51. 
smbpasswd -e USERNAME enable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement