Shouldn't this not be handled by PAM? Robert sent from my mobile device -------- Originale Nachricht -------- Von: Tobias Crefeld <tclx@klekih-petra.de> Gesendet: Tue Jun 09 17:42:55 GMT+02:00 2020 An: uyuni-users@opensuse.org Betreff: Re: [uyuni-users] Using AD user account Am Mon, 20 Apr 2020 08:48:46 +0200 schrieb Tobias Crefeld <tclx@klekih-petra.de>:
Directory, the following scriptlet fails with an error message that the user (svc-backup005) is unknown:
/home/svc-backup005: file.directory: - user: svc-backup005 - group: users - mode: '0700'
Similar scripts with other users run fine. The only difference is, that those users are local users (/etc/passwd) and svc-backup005 is an AD user.
Today I found the solution for this problem: After replacing "- user: svc-backup005" by "- win_owner: svc-backup005" the script runs fine now. docs.saltstack.com lists this attribute but without any notice that it is the right one for AD-users. So after all it's no Uyuni problem. -- Gruss, Tobias Crefeld. xmpp (no email): crefeld@xabber.de -- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org -- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org