From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17516 invoked by alias); 20 Mar 2015 11:58:22 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 17502 invoked by uid 89); 20 Mar 2015 11:58:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail1.bemta5.messagelabs.com Received: from mail1.bemta5.messagelabs.com (HELO mail1.bemta5.messagelabs.com) (195.245.231.149) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 20 Mar 2015 11:58:18 +0000 Received: from [85.158.139.211] by server-13.bemta-5.messagelabs.com id 02/1C-29186-65B0C055; Fri, 20 Mar 2015 11:58:14 +0000 X-Env-Sender: Tim.Magee@thales-esecurity.com X-Msg-Ref: server-7.tower-206.messagelabs.com!1426852691!12172386!1 X-StarScan-Received: X-StarScan-Version: 6.13.4; banners=-,-,- X-VirusChecked: Checked Received: (qmail 12615 invoked from network); 20 Mar 2015 11:58:12 -0000 Received: from mail-gate.ncipher.com (HELO mail-gate.ncipher.com) (82.108.130.23) by server-7.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 20 Mar 2015 11:58:12 -0000 Received: from outlook.ncipher.com (exchange-uk01.ncipher.com [172.19.133.94]) by mail-gate.ncipher.com (8.13.8/8.13.8) with ESMTP id t2KBwBtH026764 for ; Fri, 20 Mar 2015 11:58:11 GMT Received: from [172.23.135.192] (172.23.135.192) by exchange-uk01.ncipher.com (172.19.133.94) with Microsoft SMTP Server (TLS) id 8.3.389.2; Fri, 20 Mar 2015 11:58:11 +0000 Message-ID: <550C0B53.6080201@thales-esecurity.com> Date: Fri, 20 Mar 2015 12:24:00 -0000 From: Tim Magee User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: cygwin mail list Subject: mkpasswd: option to force the 'primary' domain? Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00358.txt.bz2 Now then, Since Cygwin 1.7.34 dropped, mkpasswd has been problematic for us. Our problem is with the way user names pulled from outside the primary domain get decorated. My question is: will there ever be a way to tell mkpasswd/mkgroup "make the one whose users get undecorated names"? We have Windows machines in one AD domain, and all our users in a different AD domain. According to the 'POSIX accounts, permissions and security' page, the machine's domain is considered the primary one. "mkpasswd -d" will generate undecorated names for that domain, and decorated names for any other named domain. We use SSH-based tools a great deal here, and we use Cygwin to make our Windows machines behave like members of our POSIX machine community, so having our usernames appear the same on all machines is very desirable. I think I can recreate the pre-1.74 behaviour with a little seddery, but I'd bet folding money that my seddery isn't future-proof. So, are mkpasswd/mkgroup ever likely to get an option to force the "undecorated users" domain? Thanks, Tim -- 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