Issue #4402 has been updated by Charlie Sharpsteen. Keywords changed from directoryservice, osx, tiger, 10.4 to directoryservice, osx, tiger, 10.4 customer
---------------------------------------- Bug #4402: directoryservice user provider on darwin 10.4 (tiger) won't manage passwords https://projects.puppetlabs.com/issues/4402#change-88777 * Author: eric sorenson * Status: Closed * Priority: Normal * Assignee: eric sorenson * Category: provider * Target version: * Affected Puppet version: 0.25.5 * Keywords: directoryservice, osx, tiger, 10.4 customer * Branch: ---------------------------------------- I'm seeing an odd problem trying to update passwords on my tiger systems w/0.25.5 - the following steps reproduce the problem: <pre> passwd root new password: changeme dscl . -read /Users/root GeneratedUID cp /var/db/shadow/hash/<value of GeneratedUID> /var/tmp/root.pass passwd root new password: <something else> echo 'user { "root": password => file("/var/tmp/root.pass") }' | puppet --debug debug: Puppet::Type::User::ProviderDirectoryservice: Executing '/usr/bin/dscl -url . -list /Users' debug: Puppet::Type::User::ProviderDirectoryservice: Executing '/usr/bin/dscl -url . -read /Users/root' debug: //User[root]: Changing password debug: //User[root]: 1 change(s) debug: User[root](provider=directoryservice): Executing '/usr/bin/dscl -url . -read /Users/root GeneratedUID' err: //User[root]/password: change from [[BIG GIANT STRING]] to [[CONTENTS OF /var/tmp/root.pass]] failed: The directoryservice provider can not handle attribute password at line 1 debug: Finishing transaction 10895500 with 1 changes </pre> The same code works on Leopard, so this is puzzling. The provider clearly has :manages_password and there's a 'password=' method in the parent nameservice/directoryservice.rb so we should be good, right? -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
