HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SAMBA - add user
Operating System - HP-UX
        1839906
        Members
    
    
        3100
        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
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		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
07-20-2009 12:34 AM
07-20-2009 12:34 AM
			
				
					
					
						Hi all,
I have 2 users which need samba connection to certain directories. There are already other users, so the samba is already set up... just need to add these two new. I've been provided by Name and IP. IP I added into smb.conf file under dirs, but connection for new users still doesn't work. Do these users need also accounts created on OS level? What else needs to be set up here?
Thanks in advance.
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
I have 2 users which need samba connection to certain directories. There are already other users, so the samba is already set up... just need to add these two new. I've been provided by Name and IP. IP I added into smb.conf file under dirs, but connection for new users still doesn't work. Do these users need also accounts created on OS level? What else needs to be set up here?
Thanks in advance.
Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2009 12:48 AM
07-20-2009 12:48 AM
Solution
			
				
					
					
						Hi Ignite,
Yes. First you need to create the users at unix level then add those users to samba database using "smbpasswd" command.
1. Create unix users.
2./opt/samba/bin/smbpasswd -a username
New SMB password:
Retype new SMB password:
This will ask samba password. Give the password and it will work.
					
				
			
			
				
		
		
	
	
	
Yes. First you need to create the users at unix level then add those users to samba database using "smbpasswd" command.
1. Create unix users.
2./opt/samba/bin/smbpasswd -a username
New SMB password:
Retype new SMB password:
This will ask samba password. Give the password and it will work.
	Best wishes,
Ganesh.
			
			
				
			
			
			
			
			
			
		Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2009 02:30 AM
07-20-2009 02:30 AM
			
				
					
						
							Re: SAMBA - add user
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Shalom,
The users being added to samba must exist on both systems.
If possible they should have the same numeric user id.
smb.conf must have security=user
For this to work.
SEP
		
		
	
	
	
The users being added to samba must exist on both systems.
If possible they should have the same numeric user id.
smb.conf must have security=user
For this to work.
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
07-21-2009 12:21 AM
07-21-2009 12:21 AM
			
				
					
						
							Re: SAMBA - add user
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Check your etc/../smb.conf first
If security = ads then the users are verified on your domain controller.
Then you have to add the users with useradd to your unix.
It is also posible you have to add the users to the share to permit them to enter the share.
example:
valid users = karl kees tim
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
If security = ads then the users are verified on your domain controller.
Then you have to add the users with useradd to your unix.
It is also posible you have to add the users to the share to permit them to enter the share.
example:
valid users = karl kees tim
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
