Solved

samba server acl report

Posted on 2014-02-12
3
309 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
  • 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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…
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.

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now