[Samba] recursibve listing of file owner, possible?

Steve Hanselman SteveH at brendata.co.uk
Thu Oct 23 19:21:35 GMT 2008

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 'technical at brendata.co.uk' 

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

More information about the samba mailing list