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

Support for user resource with a DOMAIN\User title

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: PUP 3.7.0
    • Fix Version/s: None
    • Component/s: Types and Providers
    • Labels:
    • Template:

      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

              jsd-sla-details-panel

                People

                • Assignee:
                  jay Jay Wallace
                  Reporter:
                  jay Jay Wallace
                  QA Contact:
                  Eric Thompson
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: