X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4B8D9016.3060104@wesbarris.com> References: <4B8CA8D3 DOT 6010508 AT wesbarris DOT com> <4B8D9016 DOT 3060104 AT wesbarris DOT com> From: "DePriest, Jason R." Date: Tue, 2 Mar 2010 16:33:52 -0600 Message-ID: <31b7d2791003021433g32545732kc60bc27ae34c2f1b@mail.gmail.com> Subject: Re: Resolving '????????' users and groups To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Tue, Mar 2, 2010 at 4:24 PM, Wes Barris <> wrote: > mkpasswd -d would return all of the domain users (we have thousands). > However, I know that these files are not owned by anyone else. > The files in question are coming from a samba share (mapped network > drive) served from a Linux system. > > Isn't there a way so see the SID of a file? > > -- > Wes Barris You can use ls -n to see the user unique part of the SID or use the Windows tool cacls to see the names in human readable format. Using cacls is easier. With ls -n you still have to reverse engineer the full SID and then use some other tool to convert it to a user or group name. Or use mkpasswd / mkgroup to dump the entire domain and grep it for the bit of SID you have. -Jason -- 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