From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19001 invoked by alias); 16 Jun 2012 03:31:55 -0000 Received: (qmail 18993 invoked by uid 22791); 16 Jun 2012 03:31:54 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,TW_MK,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from bureau85.ns.utoronto.ca (HELO bureau85.ns.utoronto.ca) (128.100.132.185) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 16 Jun 2012 03:31:42 +0000 Received: from [172.29.1.217] (vpn-shaper00.cs.toronto.edu [128.100.3.160]) (authenticated bits=0) by bureau85.ns.utoronto.ca (8.13.8/8.13.8) with ESMTP id q5G3UvV0029851 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 15 Jun 2012 23:31:38 -0400 Message-ID: <4FDBFDF3.5090107@cs.utoronto.ca> Date: Sat, 16 Jun 2012 03:31:00 -0000 From: Ryan Johnson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Map uid/gid of SMB share to local account? References: <70952A932255A2489522275A628B97C31371A2B5@xmb-sjc-233.amer.cisco.com> In-Reply-To: <70952A932255A2489522275A628B97C31371A2B5@xmb-sjc-233.amer.cisco.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2012-06/txt/msg00308.txt.bz2 On 15/06/2012 5:23 PM, Matt Seitz (matseitz) wrote: >> On Behalf Of Ryan Johnson >> >> `mkpasswd` and `mkpasswd -l -U0-20000' produce the same output > (neither >> includes the SMB user); the drive is mapped in Windows as z: and I can >> also access it directly from the cygwin prompt. > What is the output is you run: > > mkpasswd -l -U 0-20000 It's rather prodigious (and slow, as warned by the man page). If I limit it to my own uid on that server, I get: > ryanjohn:unused:12680:99999:,S-1-22-1-2680:: > mkpasswd (370): [31] A device attached to the system is not functioning. Thanks for explaining that. I've never used the command before and the man pages weren't closing the gap. Not sure how that will help my local user have write permissions to ryanjohn's files, tho... Regards, Ryan -- 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