Forum: Cfengine Help Subject: File ownership for AD users Author: Remi Link to topic: https://cfengine.com/forum/read.php?3,18029,18029#msg-18029
Hey guys: I'm using AD auth on our linux servers through winbind. I'm using cfengine 3 to distribute authorized key files for certain users, however it appears that cfengine is having problems finding AD users. Promise: bundle agent sshkeys { files: "/home/DOMAIN/USER/.ssh/authorized_keys" create => "true", perms => system("0400", "DOMAIN+USER", "sysmgt"), copy_from => umycopy("/var/cfengine/masterfiles/test/misc/USER_authorized_keys"); } body perms system(p,u,g) { mode => "${p}"; owners => { "${u}" }; groups => { "${g}" }; } cf-agent in debug shows me: Validation: Scalar item in owners => { DOMAIN+USER } in rvalue is out of bounds (value should match pattern +) Any way around this? _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine