X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=xQlKtPD7oGrr/Ppt WvhLuA9Ey0GAftRefyLzuQa83xS4RFfCSfJO+RBuR8dLl4VQBVEM3Jgkiza0V7Bp JQeJdKshq2gC/fGkFz0aVRohqd9hexa2LoQm8HOlnJtJjMWgK2NcxR6MSZqbDqr1 mwunlrkj4PVW+s1gMmt1ZpAZrGE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=1kd5wbJXTomON1XZ/11M5K TIyCU=; b=rsDW+oC02eiuRtmrWvkLLxcO9aOs2uqg153ZCpYNP6m8HVKYyEuOA8 CBjxoBLAM/1BwQEIM1NhsBvxwGif0npAswAQlw9tpFZjTkhTs6qCFaXakMtx4LMJ GLhzzg5XAJrKDJomZ2kfgVt9AeK7oHnRxhy9RFShfRmu5TPqcn9O8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.4 required=5.0 tests=AWL,BAYES_60,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, H*r:sk:postmas, H*x:Home X-HELO: smtp.ht-systems.ru Date: Mon, 18 Apr 2016 00:33:15 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <153497950.20160418003315@yandex.ru> To: Alexandria Gutierrez , cygwin AT cygwin DOT com Subject: Re: Cygwin-2.5.0 net share wbadmin no longer working post update In-Reply-To: References: <87ega8t99o DOT fsf AT Rainer DOT invalid> <87a8kwt39s DOT fsf AT Rainer DOT invalid> <87r3e7lan9 DOT fsf AT Rainer DOT invalid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 AT 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