HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Samba Config problem in RHEL-5
Operating System - Linux
        1839919
        Members
    
    
        3214
        Online
    
    
        110157
        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
09-28-2009 08:03 PM
09-28-2009 08:03 PM
			
				
					
						
							Samba Config problem in RHEL-5
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi, 
I have installed Samba 3.0.33-3.14.el5 version in RHEL-5 server.
The procedure I used to configure samba is as below
--Installed RPMS samba*, krb5*,
--Edited smb.conf file (attched my smb config file)
-- Ensured proper settings in /etc/nsswitch.conf
-- removed /etc/krb5.conf
-- started winbind and smb service
-- removed /etc/samba/secrets.tdb
-- Successfully Added server to AD by issuing command net ads join -U Administrator
-- Restarted samba and winbind service
-- Confirmed domain user and group information by `wbinfo -u` and `wbinfo -d`
I face below problem after configuration. I have shared /appl DIR. I want every user in the domain to get the read access for the DIR. But when I browse my server through windows system, it asks me a username and passwd. I dont want server to prompt any authentication when I browse.
Is it possible to achieve in RHEL-5? If so can anyone please guide me?
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
I have installed Samba 3.0.33-3.14.el5 version in RHEL-5 server.
The procedure I used to configure samba is as below
--Installed RPMS samba*, krb5*,
--Edited smb.conf file (attched my smb config file)
-- Ensured proper settings in /etc/nsswitch.conf
-- removed /etc/krb5.conf
-- started winbind and smb service
-- removed /etc/samba/secrets.tdb
-- Successfully Added server to AD by issuing command net ads join -U Administrator
-- Restarted samba and winbind service
-- Confirmed domain user and group information by `wbinfo -u` and `wbinfo -d`
I face below problem after configuration. I have shared /appl DIR. I want every user in the domain to get the read access for the DIR. But when I browse my server through windows system, it asks me a username and passwd. I dont want server to prompt any authentication when I browse.
Is it possible to achieve in RHEL-5? If so can anyone please guide me?
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2009 10:38 PM
09-28-2009 10:38 PM
			
				
					
						
							Re: Samba Config problem in RHEL-5
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						I Was not able to attach a file. 
Here is the contents of smb.conf file
[global]
unix charset = LOCALE
workgroup = srn
realm = srn.nsrglobal.com
server string = Samba 3.0.33
security = ADS
netbios name = applserver
username map = /etc/samba/smbusers
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 50
printcap name = CUPS
ldap ssl = no
idmap uid = 5000-25000
idmap gid = 5000-25000
template primary group = "SRN"
template shell = /bin/bash
winbind separator = +
printing = cups
[appl]
comment = appl folder
path = /appl
public = yes
writable = no
admin users = administrator,"Domain Admins"
write list = "srn+nssrn_adm","srn+nsvil"
read list = "Domain Users","srn+Domain Users"
valid users = "srn+Domain Users"
force user = proact
force group = proact
create mask = 0754
		
		
	
	
	
Here is the contents of smb.conf file
[global]
unix charset = LOCALE
workgroup = srn
realm = srn.nsrglobal.com
server string = Samba 3.0.33
security = ADS
netbios name = applserver
username map = /etc/samba/smbusers
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 50
printcap name = CUPS
ldap ssl = no
idmap uid = 5000-25000
idmap gid = 5000-25000
template primary group = "SRN"
template shell = /bin/bash
winbind separator = +
printing = cups
[appl]
comment = appl folder
path = /appl
public = yes
writable = no
admin users = administrator,"Domain Admins"
write list = "srn+nssrn_adm","srn+nsvil"
read list = "Domain Users","srn+Domain Users"
valid users = "srn+Domain Users"
force user = proact
force group = proact
create mask = 0754
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2009 09:42 AM
10-02-2009 09:42 AM
			
				
					
						
							Re: Samba Config problem in RHEL-5
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						ADS as security, Kerberos needs be configured.
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
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
