Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-3883

Support for user resource with a DOMAIN\User title

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Won't Fix
    • PUP 3.7.0
    • None
    • Types and Providers

    Description

      User resource with a DOMAIN\User title should be supported behavior with Puppet. Puppet is not inherently aware of domain style names when defining a user in such a manner. For this to even theoretically work, the account that Puppet is running on would have to have domain administration credentials for this to ever work properly.

      user { "domain\\bud":
        ensure => present,
        groups => 'Administrator'
      }
      

      Code above propagates the following error:

      Propagates error 8007089A
       
      Error: User update failed: (in OLE method `SetInfo': )
          OLE error code:8007089A in Active Directory
            The specified username is invalid.
       
          HRESULT error code:0x80020009
            Exception occurred.
      Wrapped exception:
      (in OLE method `SetInfo': )
          OLE error code:8007089A in Active Directory
            The specified username is invalid.
       
          HRESULT error code:0x80020009
            Exception occurred.
      Error: /Stage[main]/Main/User[domain\bud]/ensure: change from absent to present failed: User update failed: (in OLE method `SetInfo': )
          OLE error code:8007089A in Active Directory
            The specified username is invalid.
       
          HRESULT error code:0x80020009
            Exception occurred.
      

      Attachments

        Issue Links

          Activity

            People

              jay Jay Wallace
              jay Jay Wallace
              Eric Thompson Eric Thompson
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support