Jira (PUP-10898) Retrieve current user by using the fully-qualified username and domain on Windows

2022-03-01 Thread Selvakumar Azhagarsami (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Selvakumar Azhagarsami commented on  PUP-10898  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Retrieve current user by using the fully-qualified username and domain on Windows   
 

  
 
 
 
 

 
 luchian.nemes / josh DBS bank reported the same issue https://puppetlabs.zendesk.com/agent/tickets/47445, we have tried to upgrade the agent to the 6.22 version and still facing the same error.   
 
 
 
 
  [0;36mDebug: Facter: fact "facterversion" has resolved to "3.14.17". [0m  
 
 
  [0;36mDebug: Facter: fact "aio_agent_version" has resolved to "6.22.1". [0m   
 
 
 
  attaching the puppet debug trace output here for more details puppetagent_trace_debug_47445-01-03-22.log  
 
 
 
 
  [0;36mDebug: Could not retrieve raw SID bytes from 'Administrator': Failed to convert string SID: Administrator:  The security ID structure is invalid.  [0m [0;36mDebug: Failed to call LookupAccountNameW with account: Administrator:  No mapping between account names and security IDs was done.  [0m [0;36mDebug: Could not retrieve raw SID bytes from 'EC2AMAZ-NAUKKA2\Administrator': Failed to convert string SID: EC2AMAZ-NAUKKA2\Administrator:  The security ID structure is invalid.  [0m [0;36mDebug: Failed to call LookupAccountNameW with account: EC2AMAZ-NAUKKA2\Administrator:  No mapping between account names and security IDs was done.  [0m [1;31mError: Failed to apply catalog: undefined method `bytesize' for nil:NilClassC:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet/util/windows/api_types.rb:125:in `from_wide_string'C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet/util/windows/api_types.rb:26:in `from_string_to_wide_string'C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet/util/windows/sid.rb:184:in `string_to_sid_ptr'C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet/util/windows/security.rb:431:in `add_access_allowed_ace'C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet/util/windows/security.rb:659:in `block (7 levels) in set_security_descriptor'C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet/util/windows/access_control_list.rb:28:in `block in each'   
 
 
 
  Please check and let me know if we have any workaround to recommend to customer.  
 

   

Jira (PUP-10898) Retrieve current user by using the fully-qualified username and domain on Windows

2022-03-01 Thread Selvakumar Azhagarsami (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Selvakumar Azhagarsami updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10898  
 
 
  Retrieve current user by using the fully-qualified username and domain on Windows   
 

  
 
 
 
 

 
Change By: 
 Selvakumar Azhagarsami  
 
 
Attachment: 
 puppetagent_trace_debug_47445-01-03-22.log  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.387116.1613055296000.25412.1646126520075%40Atlassian.JIRA.


Jira (PUP-10898) Retrieve current user by using the fully-qualified username and domain on Windows

2022-03-01 Thread Austin Boyd (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Austin Boyd updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10898  
 
 
  Retrieve current user by using the fully-qualified username and domain on Windows   
 

  
 
 
 
 

 
Change By: 
 Austin Boyd  
 
 
Zendesk Ticket Count: 
 1 2  
 
 
Zendesk Ticket IDs: 
 42708 ,47445  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.387116.1613055296000.25407.1646126040055%40Atlassian.JIRA.


Jira (PUP-10898) Retrieve current user by using the fully-qualified username and domain on Windows

2021-03-11 Thread Luchian Nemes (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Luchian Nemes updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10898  
 
 
  Retrieve current user by using the fully-qualified username and domain on Windows   
 

  
 
 
 
 

 
Change By: 
 Luchian Nemes  
 
 
Summary: 
 Get Retrieve current user by using the  fully -  qualified  current  username and  domain  user name  on Windows  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.387116.1613055296000.163357.1615464480137%40Atlassian.JIRA.