HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Samba access report
 
Operating System - HP-UX
        1840158
        Members
    
    
        3265
        Online
    
    
        110162
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            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
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- 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
 
03-10-2005 08:10 AM
03-10-2005 08:10 AM
			
				
					
						
							Samba access report
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
Is there a samba command that would give me the access that a particular UNIX userid has ? I know the information is in the smb.conf file, but I need to develop a report that will scan the accounts in /etc/passwd, check for samba access (ie., grep username.map), then list the directories (and access level, if possible) that the userid(s) has via samba. Note that the report is required by non-admins, so simply printing the smb.conf file is not enough. I know its scriptable, but before I start doing that, I figure I'd ask. Note that access in smb.conf is defined at both the userid and group level for some directories.
Thanks
		
		
	
	
	
Is there a samba command that would give me the access that a particular UNIX userid has ? I know the information is in the smb.conf file, but I need to develop a report that will scan the accounts in /etc/passwd, check for samba access (ie., grep username.map), then list the directories (and access level, if possible) that the userid(s) has via samba. Note that the report is required by non-admins, so simply printing the smb.conf file is not enough. I know its scriptable, but before I start doing that, I figure I'd ask. Note that access in smb.conf is defined at both the userid and group level for some directories.
Thanks
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
03-10-2005 08:15 AM
03-10-2005 08:15 AM
			
				
					
						
							Re: Samba access report
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						The smb.conf file has a log file defined.
Some information is stored in this log file.
You can create an activity report, at least a bare bones one by processing that log file.
SEP
		
		
	
	
	
Some information is stored in this log file.
You can create an activity report, at least a bare bones one by processing that log file.
SEP
	Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
			
			
				
			
			
			
			
			
			
		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
 
03-10-2005 08:28 AM
03-10-2005 08:28 AM
			
				
					
						
							Re: Samba access report
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Thanks for the reply, but I'm not looking to report on activity, but rather on access. Whether or not a userid has accessed a certain samba share does not matter; I need to report on what a userid can access.
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
03-10-2005 08:40 AM
03-10-2005 08:40 AM
			
				
					
						
							Re: Samba access report
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						I don't believe the functionality you request is built into samba.
I may be wrong about that. This is quite specific and might better be directed to http://www.samba.org
If your system is trusted, you might be able to extract the information from the audit reports.
SEP
					
				
			
			
				
		
		
	
	
	
I may be wrong about that. This is quite specific and might better be directed to http://www.samba.org
If your system is trusted, you might be able to extract the information from the audit reports.
SEP
	Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
			
			
				
			
			
			
			
			
			
		Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP