Link to home
Start Free TrialLog in
Avatar of Pau Lo
Pau Lo

asked on

samba server acl report

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?
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Pau Lo
Pau Lo

ASKER

could you share a sample output
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.