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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=Db drWbwmkSrHitL/SLRf0Yt6QFnTic2fsOvO32BqPWH+pteXp7VUVNk4w8CeGBfDhz thliejTENPxHuVeUeREKdQU+qkD5hhKBCAsCbxlvXQHgodLhwpdz3+HNF3wHmDmi YRYLch55u/Pj/qLZsV6tc5rz8XPczDQdOZK0uUKv8= 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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=yZ3jsCZA A3WZ4z+m171tuDza+4o=; b=N5a4PRq5ScjEpzkTF5b7VKv3Bd/I9RSFcXOVKHWn 4NBSiftisSws4j04WqeHAg60h6mnCFeGAy8xnlWZYj1Gwe6P1fi55+6a2pkSidrl YHbXplTO5Ct5ntRqg1gbOn8PiDFyhtpOQqAZv5jXS6qd6jpbudSn/QerswQJ+7U/ ul4= 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=1.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=gutierrez!, Gutierrez!, SSHD, skewed X-HELO: mail-ob0-f177.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=CkQpwHKPUAC3GkLK0p+GjX8UVFjmwN4TBeRPmR+52n0=; b=gzQF4rv9rwPTCse5RQJC+VId5TzZn8JhsritJBXxztbHr63OW+dawizhz5gsjCBWtW Tnnx4I6qMTTHLFjyDmzvjBvcv2EBRtR1J5AGcs513QX10ci3h6jwbRngETWWThUAFi7q Ouwg61ZDdaX/Je2Xok/XIIW9SQRM6O/izukhjBJoDXqNHHEHS5UlBFdGttyMmdaKUvg+ lfzDYGKCtr+FTrfjRvYyZQlc+C9ZDVdsflhK9d0cIPf03iMrZBdyTDVjGNh//JFlchNc IZSVMvfcgD8di9FMAH+rpkB8M7OIw60GQGosiGlifiPlyO0hV0bvgwwG0KrF0yYRSkKS mvwQ== X-Gm-Message-State: AOPr4FVv86bWX0YllIPRbYR5p+aOtxoPhrler8hMpxQuS4bILAfS6xLIbZIB8Z1O6eelRpyJxkv8vpOhIiaSHQ== MIME-Version: 1.0 X-Received: by 10.182.120.106 with SMTP id lb10mr16821322obb.19.1461000523240; Mon, 18 Apr 2016 10:28:43 -0700 (PDT) In-Reply-To: <153497950.20160418003315@yandex.ru> References: <87ega8t99o DOT fsf AT Rainer DOT invalid> <87a8kwt39s DOT fsf AT Rainer DOT invalid> <87r3e7lan9 DOT fsf AT Rainer DOT invalid> <153497950 DOT 20160418003315 AT yandex DOT ru> Date: Mon, 18 Apr 2016 13:28:43 -0400 Message-ID: Subject: Re: Cygwin-2.5.0 net share wbadmin no longer working post update From: Alexandria Gutierrez To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes 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 user and running cyg_serv with SYSTEM privilege via gpo. That second computer is doing backups with out any issues. It is only the updated 2.5.0 machines we are having issues with. I will go over the link and ensure that the we are creating the token if necessary. If I find anything I will keep you updated as well as this could help others in the future as well. On Sun, Apr 17, 2016 at 5:33 PM, Andrey Repin wrote: > 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