Hi!
I want to manage all local user accounts on my Samba DC. So I add to my
node two resources like this:
resources {'user':
purge => true,
unless_system_user => 999,
}
file {'/home':
ensure => directory,
owner => 'root',
group => 'root',
mode => 0644,
force => true,
purge => true,
recurse => true,
recurselimit => 1,
}
Ok, after that I have only managed known accounts. But then I change
nsswitch.conf to get users from winbind, Puppet start to generate a lot of
errors like this:
Error: Could not delete user TEST3\Guest: Execution of '/usr/sbin/userdel
TEST3\Guest' returned 1: userdel: cannot remove entry 'TEST3\Guest' from
/etc/passwd
How can I fix it? I need to tell Puppet to remove only users with ID from
1000 to 2999999 (because from 3000000 starts winbind mapping) and not to
try to remove winbind users.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.