saltstack-formulas / samba-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
16 stars 72 forks source link

Suse AD authentication #34

Closed noelmcloughlin closed 6 years ago

noelmcloughlin commented 6 years ago

This PR enables AD authentication on Suse in the samba.winbind-ad state.

          ID: samba_winbind_nsswitch_hostsMdns
    Function: file.replace
        Name: /etc/nsswitch.conf
      Result: True
     Comment: Changes were made
     Started: 13:34:34.779544
    Duration: 4.8 ms
     Changes:   
              ----------
              diff:
                  --- 
                  +++ 
                  @@ -29,7 +29,7 @@
                   passwd: compat
                   group:  compat

                  -hosts:   files mdns_minimal [NOTFOUND=return] dns
                  +hosts:   files  dns
                   networks:    files dns

                   services:    files
----------
          ID: samba_winbind_nsswitch_passwd
    Function: file.replace
        Name: /etc/nsswitch.conf
      Result: True
     Comment: Changes were made
     Started: 13:34:34.784643
    Duration: 2.676 ms
     Changes:   
              ----------
              diff:
                  --- 
                  +++ 
                  @@ -26,7 +26,7 @@
                   # shadow: files nis
                   # group:  files nis

                  -passwd: compat
                  +passwd: compat winbind 
                   group:  compat

                   hosts:   files  dns
----------
          ID: samba_winbind_nsswitch_group
    Function: file.replace
        Name: /etc/nsswitch.conf
      Result: True
     Comment: Changes were made
     Started: 13:34:34.787613
    Duration: 2.434 ms
     Changes:   
              ----------
              diff:
                  --- 
                  +++ 
                  @@ -27,7 +27,7 @@
                   # group:  files nis

                   passwd: compat winbind 
                  -group:  compat
                  +group:  compat winbind 

                   hosts:   files  dns
                   networks:    files dns
----------
          ID: samba_winbind_nsswitch_hostsWins
    Function: file.replace
        Name: /etc/nsswitch.conf
      Result: True
     Comment: Changes were made
     Started: 13:34:34.790310
    Duration: 2.221 ms
     Changes:   
              ----------
              diff:
                  --- 
                  +++ 
                  @@ -29,7 +29,7 @@
                   passwd: compat winbind 
                   group:  compat winbind 

                  -hosts:   files  dns
                  +hosts:   files wins  dns
                   networks:    files dns

                   services:    files
----------
          ID: samba_winbind_ad_authconfig
    Function: cmd.run
        Name: /usr/sbin/pam-config -a --winbind --mkhomedir --mkhomedir-umask=0077 --mkhomedir-skel=/etc/skel
      Result: True
     Comment: Command "/usr/sbin/pam-config -a --winbind --mkhomedir --mkhomedir-umask=0077 --mkhomedir-skel=/etc/skel" run
     Started: 13:34:34.792920
    Duration: 14.74 ms
     Changes:   
              ----------
              pid:
                  3928
              retcode:
                  0
              stderr:
              stdout:
----------
          ID: samba_winbind_services
    Function: service.running
        Name: smb
      Result: True
     Comment: Service restarted
     Started: 13:34:34.821158
    Duration: 2757.222 ms
aboe76 commented 6 years ago

@noelmcloughlin thanks for this

rhertzog commented 6 years ago

This is getting annoying to have all @saltstack-formulas/contributors subcribed for a review that we are a not interested in... I want to maintain my own formulas and do not care about reviews on other formulas.