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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=lS/qCGataFtOEbh1H7fvHMxNq1YTYYV1mNL2JaDcKSAY+idMTHFmr x7m8JO90DonyH4SjkZNAuSxRzgOXRedrA/983gXI9+Ecw7vdULW5A6OCvz8lLDs+ y41ZfIlh24wdvHMFHfY4WgxYqTpv6XIQCtcdEBxq8eIiZb68Po9BnU= 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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=dlvAdaCN3XESqtLMWZNVIo7CXw4=; b=ZH8QhokpU8fgJr7kaVBfBfluiU5s +CmvT3EH1Dy3TECTZfq/+gO6kYppmDI2YLxtbbtwlJO+kCFCgJ0z+qto9qr/FF8W Va0PCyWpvWy/SOmON3jhKMNYmSTiny0Zjr6WSnHKCElI8pg1zFCZ8UbmlqDZV9b/ atea81cDIU18T3s= 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Fri, 1 Aug 2014 20:22:12 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Simplify AD integration? Message-ID: <20140801182212.GJ25860@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20140730134716 DOT GM25860 AT calimero DOT vinschen DOT de> <53D93510 DOT 6020903 AT redhat DOT com> <20140730184349 DOT GT25860 AT calimero DOT vinschen DOT de> <20140801092308 DOT GZ25860 AT calimero DOT vinschen DOT de> <87bns4ayxh DOT fsf AT Rainer DOT invalid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+OcHDfVcPO70+1iC" Content-Disposition: inline In-Reply-To: <87bns4ayxh.fsf@Rainer.invalid> User-Agent: Mutt/1.5.23 (2014-03-12) --+OcHDfVcPO70+1iC Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Aug 1 19:43, Achim Gratz wrote: > Corinna Vinschen writes: > > - prefixed with the machine name if the machine is member of a domain. >=20 > That's exactly what I am having a bit of a problem with at the moment. > As discussed before, the user name "sshd" is hardcoded, which requires > to either make it a domain account (our AD admin has at least promised > to think about creating it, but of course "sshd" doesn't match any of > the naming rules they have for such accounts) or add it to /etc/passwd > with the prefix removed. You don't have to care. The next version of OpenSSH comes with Cygwin-specific code. It will call cygwin_internal(CW_CYGNAME_FROM_WINNAME, "sshd"); to fetch the Cygwin username for the sshd account. The OpenSSH patch has already been applied upstream, the CW_CYGNAME_FROM_WINNAME functionality is in Cygwin CVS(*), available for use by any service having a similar problem. Corinna (*) https://cygwin.com/viewvc/src/winsup/cygwin/external.cc?revision=3D1.13= 9&view=3Dmarkup#l622 --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --+OcHDfVcPO70+1iC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJT29rTAAoJEPU2Bp2uRE+g6lgQAJCoWp9rRyeIqZa9Cpg0Didg R6yK4UMXa+4478HfzHqOsUuPN/cZ6SbOF+vvOI+NFG0NYH/S4chjcIqnZ2ZGlg57 HWg3ii1fiYqPZqAIAtw1YLSNR8w42nAA6dNByr8ZG4J06hI3jFYEeplup8Ny70Hc vHKziRSkh1YMaAqay8R90JKoAcwdddAG3Jd0fNlnXXK6b5x0GgsxBMemz9K8yFD2 nLbyRreX9xbSLSVDPogSzQITejmCa5p8l5pmS3h2TyBPvCAkwwzOsi9vbDcG0rsO 5Wsijak9vIF0v+x3OOJRatTZO2kUWc3CfImldSuc47Cp8ID7iaakxv1jYAieHHgy czg77YY03Z0u5chr4hzgLXgaLxPe5XQhrT4euCjOzLjkkgktpuzw9yT5RpHC4Wl6 eXD6/jdh0Vlk3X3EXFSrR3l+YR6IjUgBGIQ9lm9mhZ6mbC8LTrFOH1Zn+RRlmnRu YKTC1T039mpUFzikl9hTJhdDH2EaWQfUxvco3sXfdpZl8viGzqz/AIbnLTI8I52L 8xvYtpxWTr2DTjI0kX6nRT7bJ6buseI4E8+DSsXiLRGmUF/5phA/mCo9j+vGEgVX Y36zAqDJju8bFjk/DEgQ/GtWLD0RoKmbWArD1vdniYQTgaW5TQ/vIPIuLAmeyUxs 8SKXyxjGV/gqAq9owrUe =xMjy -----END PGP SIGNATURE----- --+OcHDfVcPO70+1iC--