Re: Cygwin-2.5.0 net share wbadmin no longer working post update

2016-04-26 Thread Alexandria Gutierrez
I wanted to provide an update in order to help others with the same issue. We ended up using method 3 from this link: https://cygwin.com/cygwin-ug-net/ntsec.html Switching the user context without password, Method 3: With password Essentially as the user run "passwd -R" in order to store the pas

Re: Cygwin-2.5.0 net share wbadmin no longer working post update

2016-04-18 Thread Alexandria Gutierrez
I am still scratching my head on this one. I did read the link you provided. I am sure this should not be an issue as we have been running this for a long time without any issues. Keys where never an issue in that past. Currently the other computer is still auth via AD using cyg_serv as a domain us

Re: Cygwin-2.5.0 net share wbadmin no longer working post update

2016-04-18 Thread Larry Hall (Cygwin)
On 04/17/2016 05:33 PM, Andrey Repin wrote: Is there anyway I can enable debug on sshd? for example /usr/bin/ssh -d ? Yes, you can do that. Though, the results may be skewed, if you run SSHD from another user's account. (Other than its normal one, I mean.) Yeah, the best way to avoid issues t

Re: Cygwin-2.5.0 net share wbadmin no longer working post update

2016-04-17 Thread Andrey Repin
Greetings, Alexandria Gutierrez! > I been working on this today and have figured a few things out: > The issue appears to be only be affecting us when we use ssh keys to > authenticate. When we do not have keys for authentications the command > gets executed successfully: This is actually somewh

Re: Cygwin-2.5.0 net share wbadmin no longer working post update

2016-04-15 Thread Alexandria Gutierrez
I been working on this today and have figured a few things out: The issue appears to be only be affecting us when we use ssh keys to authenticate. When we do not have keys for authentications the command gets executed successfully: Here is the full command I am sending over ssh: ssh USER@cygserv

Re: Cygwin-2.5.0 net share wbadmin no longer working post update

2016-04-14 Thread Achim Gratz
Alexandria Gutierrez writes: > On the original script I am using > -backuptarget=SERVERNAME\\PATH\\TO\\SHARE > to avoid the use of quotes. I have several cygwin version installed > across multiple windows nodes. All of them work correctly. That only takes care of the first level of quote remo

Re: Cygwin-2.5.0 net share wbadmin no longer working post update

2016-04-14 Thread Andrey Repin
Greetings, Alexandria Gutierrez! > I am sorry, I was not clear. > On the original script I am using > -backuptarget=SERVERNAME\\PATH\\TO\\SHARE > to avoid the use of quotes. You must use quotes to escape the "=" sign, which for CMD is an argument separator equal to space. (Assuming the comman

Re: Cygwin-2.5.0 net share wbadmin no longer working post update

2016-04-14 Thread Alexandria Gutierrez
I am sorry, I was not clear. On the original script I am using -backuptarget=SERVERNAME\\PATH\\TO\\SHARE to avoid the use of quotes. I have several cygwin version installed across multiple windows nodes. All of them work correctly. On the 2 new cygwin-2.5.0 nodes using the same script (already

Re: Cygwin-2.5.0 net share wbadmin no longer working post update

2016-04-14 Thread Achim Gratz
Alexandria Gutierrez writes: > I also have a feeling it has something to do with the way ssh is > sending the single quotations over to windows. The ssh will never see those single quotes since they're stripped out by the shell, so it can't send them over to Windows anyway. You have to add at lea

Re: Cygwin-2.5.0 net share wbadmin no longer working post update

2016-04-14 Thread Alexandria Gutierrez
I also have a feeling it has something to do with the way ssh is sending the single quotations over to windows. I will continue to troubleshoot this issue to see what I can determine. IF/When I find a resolution I will post it here to help others. My main concern is that prior to cygwin-2.5.0 it w

Re: Cygwin-2.5.0 net share wbadmin no longer working post update

2016-04-14 Thread Achim Gratz
Alexandria Gutierrez writes: > I was already using a single quotes to send the command via ssh, such as: > ssh -q -n 'command here' Those quotes never make it over to the Windows side, since they are stripped by the invoking shell (unless you do something to the shell). > I added the single quote

Re: Cygwin-2.5.0 net share wbadmin no longer working post update

2016-04-14 Thread Alexandria Gutierrez
Thank you Achim, I was already using a single quotes to send the command via ssh, such as: ssh -q -n 'command here' I added the single quotes on the path itself such as: -backuptarget:'\\SERVERNAME\PATH\TO\SHARE' and this time it worked via cygwin terminal, but it still does not work via ssh for

Re: Cygwin-2.5.0 net share wbadmin no longer working post update

2016-04-14 Thread Achim Gratz
Alexandria Gutierrez gmail.com> writes: > Here is where I noticed that the issue must have been related to cygwin: > Using the exact same same wbadmin command in the example above, and > running it on a windows terminal (cmd), the backup works just fine. > Then I open a cygwin terminal and type th

Cygwin-2.5.0 net share wbadmin no longer working post update

2016-04-14 Thread Alexandria Gutierrez
Hey team, I run into an issues that I was unable to find assistance within the archives or google searches. I would appreciate some help to bounce a few ideas to get this issues resolved. Thank you for your time in advanced. We have a linux server that uses wbadmin via cygwin to backup a windows