- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- list active samba users/shares?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 06:09 AM
тАО05-05-2009 06:09 AM
I have a 11.11 system running the cifs server, set up by someone else as I know next to nothing about cifs/samba. Based on what I'm seeing in the smb.conf file, I'm assuming this server isn't being used and I'd like to shut it down.
Is there a way to identify if any shares are being actively used? Or if users are logging in?
Any info would be greatly appreciated.
Thanks.
Doug O'Leary
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 06:13 AM
тАО05-05-2009 06:13 AM
Re: list active samba users/shares?
Few ways to do this.
http://www.cyberciti.biz/tips/howto-find-for-available-smb-shares.html
smbclient followed by a login to the samba server will list shares.
smbclient -L jumbo -Uusername -I ip-address
On HP-UX you may need to use cifsclient. No HP boxes in my house to check.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 06:17 AM
тАО05-05-2009 06:17 AM
Re: list active samba users/shares?
I've been doing that a lot lately and its probably because I'm having a hard time concentrating.
http://docs.hp.com/en/B8725-90133/index.html
This link is really good and includes some monitor commands.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 06:22 AM
тАО05-05-2009 06:22 AM
Re: list active samba users/shares?
Thanks for the reply. I have the smbclient command to list the available shares; I'm looking to find a way to identify *active* shares.
The reason I suspect this service isn't being used is that, every where else it's used, there are a variety of share names. On this particular box, I have the generic stanzas in the smb.conf file:
# sed -n -e '/^\[/,/^$/p' smb.conf
[global]
[homes]
comment = Home Directories
browseable = no
[tmp]
comment = Temporary file space
path = /tmp
read only = no
I'd like a command to validate that no one is actually using these shares. There is always the 'turn it off and see who screams' approach, but my client is somewhat gun shy.
Thanks again.
Doug O'Leary
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 06:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 06:49 AM
тАО05-05-2009 06:49 AM
Re: list active samba users/shares?
Doug O'Leary
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html