Event log is empty, and there is no difference between those 2 servers, firewall is disabled either. And anyway, the script is executed with domain admin rights. The weird thing is that i can execute the get-childitem \\srv02\share02 from any machine (including srv01), but not ansible.
Initially the purpose of the script was to copy a file from \\srv01 to \\srv02, but as i've got Access Denied, i decided to run easier command like gci. Any help/workaround appreciated. Thx. On Thursday, June 18, 2015 at 9:54:12 PM UTC+2, J Hawkesworth wrote: > > If it is working on \\srv01\ but not on \\srv02 then there is a difference > between the two machines. > > I suggest you check the event log on \\srv02, the configuration of the > share02 sharing and the firewall on \\srv02 > > If you are not using Active Directory domain user, also check the same > username and password is set up on \\svr02 as \\svr01 > > Hope this helps, > > Let us know how you get on. > > Jon > > On Thursday, June 18, 2015 at 7:31:38 PM UTC+1, [email protected] wrote: >> >> Hi @all, >>> >> I have almost identical issue. >> I am running powershell script on srv01: >> get-childitem \\srv01\share01 >> get-childitem \\srv02\share02 >> The first one is executing without issues, but on second one i am >> receiving Access Denied. >> It doesn't look like double hop trouble, but anyway just in case i've >> enabled PSRemoting and Enable-WsmanCredSSP just in case. >> >> -- You received this message because you are subscribed to the Google Groups "Ansible Project" 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/422074d7-dd26-42a8-83fc-d83cc1c31962%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
