[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

samba server acl report

Posted on 2014-02-12
3
Medium Priority
?
323 Views
Last Modified: 2014-02-12
if you configure samba server on an AIX IBM system, is there an easy way to see what "shares" have been created, and which users you have granted access to these shares? i.e. sambshare 1 - groupxyz full permissions, userabc read permissions?
0
Comment
Question by:pma111
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 39853057
smbstatus
0
 
LVL 3

Author Comment

by:pma111
ID: 39853080
could you share a sample output
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 39853120
Sanitized:
Samba version x.x.x
Service      uid      gid      pid     machine
----------------------------------------------
vol1$        sample_user1 anz      6664222   sample_machine1 (111.222.1.51) Tue Feb 11 08:14:03 2014
vol2$        sample_user    anz      1523762   sample_machine06  (111.222.3.113) Mon Feb 10 09:46:07 2014
vol1$        sample_user1 anz      6664222   sample_machine1 (111.222.1.51) Tue Feb 11 08:12:52 2014
vol4$        sample_user    anz      72228214   Machine3 (111.16.50.53) Wed Nov 20 08:55:49 2014
vol1$        sample_user1 anz      6664222   sample_machine1 (111.222.1.51) Wed Feb 12 14:00:29 2014
vol3$        sample_user    anz      266324   sample_machine05  (111.222.3.102) Wed Feb 12 10:01:16 2014
vol6$        sample_user    anz      786630   sample_machine-lb2 (111.222.3.119) Mon Feb 10 09:57:01 2014
vol5$        sample_user    anz      6017111   sample_machine05  (172.222.3.102) Wed Feb 12 09:14:34 2014
vol7$        sample_user    anz      4354196   sample_machine06  (111.222.3.113) Mon Feb 10 09:46:42 2014

Locked files:
Pid    DenyMode   Access      R/W        Oplock           Name
--------------------------------------------------------------
3067972  DENY_ALL   0x2019f     RDWR       EXCLUSIVE+BATCH  /path1/share/autochk/wn_filename/fo_Fotolia_3
6170753_frei000083_jpg.jpg   Wed Feb 12 14:06:45 2014
3067972  DENY_ALL   0x2019f     RDWR       EXCLUSIVE+BATCH  /path1/share/autochk/wn_filename/fo_Fotolia_6
0567855_frei000085_jpg.jpg   Wed Feb 12 14:06:46 2014
3067972  DENY_ALL   0x2019f     RDWR       EXCLUSIVE+BATCH  /path1/share/autochk/wn_filename/fo_Fotolia_6
1234172_frei000086_jpg.jpg   Wed Feb 12 14:06:46 2014
3067972  DENY_ALL   0x2019f     RDWR       EXCLUSIVE+BATCH  /path1/share/autochk/wn_filename/fo_Fotolia_2
5093666_frei000084_jpg.jpg   Wed Feb 12 14:06:46 2014

Open in new window

"smbstatus -S" gives just the shares, "-L" gives just the locked files.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question