Solved

samba server acl report

Posted on 2014-02-12
3
321 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 500 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

688 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