The windows owner, find will give me an assigned UID. I need to find the textual windows owner for a directory tree of files for domains that I have a privileged username and password for but that Samba is not a member of.
Steve -----Original Message----- From: Ryan Bair [mailto:[EMAIL PROTECTED] Sent: 24 October 2008 02:15 To: Steve Hanselman Cc: [email protected] Subject: Re: [Samba] recursibve listing of file owner, possible? You just need the owner of the files? You can do this quite easily using the find utility with the -printf option. --Ryan On Thu, Oct 23, 2008 at 3:21 PM, Steve Hanselman <[EMAIL PROTECTED]> wrote: > Hi, > > I'm writing a utility that needs to smbmount various shares from servers in numerous domains (no problem, all working) and then list the contents of the directories (no problem again) and obtain the windows file owner in a textual form..... > > Any ideas how I can achieve the last part efficiently? > > I see that smbcacls can do it 1 file at a time, I really need a way of doing it recursively. > > > > The information contained in this email is intended for the personal and confidential use > of the addressee only. It may also be privileged information. If you are not the intended > recipient then you are hereby notified that you have received this document in error and > that any review, distribution or copying of this document is strictly prohibited. If you have > received this communication in error, please notify Brendata immediately on: > > +44 (0)1268 466100, or email '[EMAIL PROTECTED]' > > Brendata (UK) Ltd > Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK > Registered Office as above. Registered in England No. 2764339 > > See our current vacancies at www.brendata.co.uk > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email '[EMAIL PROTECTED]' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
