saltstack-formulas / samba-formula

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

winbind is restarted on each run #49

Open beuss opened 5 years ago

beuss commented 5 years ago

When using winbind-ad, on each run samba_winbindpamforget* removes lines in /var/lib/pam/seen. Those lines then get added by samba_winbind_ad_authconfig, causing changes on each run and all samba services to be restarted.

noelmcloughlin commented 5 years ago

Hi @beuss could you test PR #50 to see if that solution is acceptable?

noelmcloughlin commented 5 years ago

Investigate this comment from @rbthomp

I use this in one of my formulas. Not sure if the help at all.

  • onlyif: diff <(authconfig --disablewinbindoffline --disablewinbindkrb5 --disablewinbind --disablewinbindauth --disablecache --updateall --test) <(authconfig --test)