This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin-2.5.0 net share wbadmin no longer working post update
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Alexandria Gutierrez <alegutier at gmail dot com>, cygwin at cygwin dot com
- Date: Mon, 18 Apr 2016 00:33:15 +0300
- Subject: Re: Cygwin-2.5.0 net share wbadmin no longer working post update
- Authentication-results: sourceware.org; auth=none
- References: <CAN2X4tEmO4H8=757x_CYFWPHtcOr+YMRfR2b07Vg7rFcrNY6tg at mail dot gmail dot com> <loom dot 20160414T170618-303 at post dot gmane dot org> <CAN2X4tFfqgPS5Jc9=rodiv_4mE-mb3akSD925oA1tWy6C5jebA at mail dot gmail dot com> <87ega8t99o dot fsf at Rainer dot invalid> <CAN2X4tHMu32aFfAnbz0fC3heNLBHrXPxVkcQvp8+RgT_o7rNbw at mail dot gmail dot com> <87a8kwt39s dot fsf at Rainer dot invalid> <CAN2X4tExtHpod9R_LLwt4sFvEJKp_bSh=UpyLFys5SbK1A1XnQ at mail dot gmail dot com> <87r3e7lan9 dot fsf at Rainer dot invalid> <CAN2X4tGz2OJZ-m_hFjC9+ZcbjCZvHoNY_dQ8HW7vdsr9XwWMYg at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
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 somewhat predictable.
Please check the http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview
> Here is the full command I am sending over ssh:
> ssh USER@cygservername -q -n -v '/cygdrive/c/windows/Sysnative/wbadmin
> DELETE CATALOG -quiet ; [[ -f /cygdrive/c/windows/Sysnative/nfsadmin
> ]] && /cygdrive/c/windows/Sysnative/nfsadmin client stop ;
> /cygdrive/c/windows/Sysnative/wbadmin START BACKUP -user:USER
> -password:PASSWORD -backuptarget:\\\\SERVERNAME\\PATH\\TO\\SHARE
> -allCritical -systemstate -quiet; [[ -f
> /cygdrive/c/windows/Sysnative/nfsadmin ]] &&
> /cygdrive/c/windows/Sysnative/nfsadmin client start' 2>&1
> When I have ssh keys available for USER to authenticate without a
> password, I reseive the same error:
> "ERROR - The user name or password is unexpected because the backup location
> is not a remote shared folder."
> But when I remove the keys, and I am prompted for password, the
> command executes correctly.
> This is very strange, and I am not quite sure that could be triggering this.
> Event viewer does not show anything.
> 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.)
> Thank you again for the ongoing assistance
--
With best regards,
Andrey Repin
Monday, April 18, 2016 00:28:12
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple