Samba


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Samba
# 1  
Hi everyone
I export a number of shares from one of my HP-UX machines using samba, however I cannot use the swat (samba web administration tool) at the moment, and I need to urgently add some users.

I know samba references /etc/passwd for users, this isnt the problem they are on the UNIX system, I just need to add them to samba - does anyone know the command line command to add a user? I have looked through the man pages and they just point to swat, I'm hoping there is a command line alternative.

Many thanks for any help.

Regards
alwayslearningunix
# 2  
Try the 'smbusers' file. It is used to map Windows logins to Unix logins. It will be found in your samba installation directory, There should be a man page on it too.
# 3  
I add users to Samba by editing the smb.conf file, normally located in /usr/local/samba/lib/smb.conf. This file (configured properly) and proper UNIX accounts will take care of Samba access. I've never used the smbusers command, so I can't comment.

Perhaps my 'crude' way works only because our server has
a limited number of Samba users. The smbusers file seems like something useful for larger user populations. Sorry, I only run Samba for a very small office, me Smilie

[Edited by Neo on 04-12-2001 at 07:44 PM]
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #50
Difficulty: Medium
Matti Makkonen is considered to be the 'Father of SMS'.
True or False?

9 More Discussions You Might Find Interesting

1. Ubuntu

Samba Help

All; I've done this before, but sure I'm typing in the wrong search terms, so not finding the help I need. What I have to do: Set up Samba, smb.conf, smbclient, fstab and all other settings so I see both the Windows and Linux servers and their shares in the network, via Samba. It's... (19 Replies)
Discussion started by: TBotNik
19 Replies

2. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

3. UNIX for Dummies Questions & Answers

SAMBA

currently, we are using SAMBA for our ftp way. can SAMBA be encrypted aka sftp ? (2 Replies)
Discussion started by: lawsongeek
2 Replies

4. UNIX for Dummies Questions & Answers

Samba

after creating username/passwd, vi /usr/lib/smb.conf file comment = dropoff location path = /tmp/droloc browsable = No available = yes public = no writable = yes printable = no create mode = 777 valid users = tjmann,palexander,bmartin,.... instead of using... (2 Replies)
Discussion started by: tjmannonline
2 Replies

5. UNIX for Dummies Questions & Answers

Samba help

Hey. I have a question about adding users and maping theirs dirictorys. Main Folder | -User1 Folder -User2 Folder -User3 Folder ...... How can I add this users to have folders in the Main Folder ? any simple script? And I... (0 Replies)
Discussion started by: net555
0 Replies

6. Solaris

SAMBA - where?

Greetings.. I need SAMBA to implement a backup strategy , the problem is that i cant find it anywhere... can u guys gimme a link to a sun compatilble version of samba ? thanx thanx htanx..... :rolleyes: (3 Replies)
Discussion started by: nEuRoMaNcEr
3 Replies

7. UNIX for Dummies Questions & Answers

Why use Samba?

Hi, I am sorry I am total dummy in Unix. I am starting to explore a thing call "Samba". From my initial and rough finding, I think Samba is only useful in providing Print services to PC platform users. That is to say, The Unix machine which has Samba installed, is able to provide print... (3 Replies)
Discussion started by: champion
3 Replies

8. UNIX for Dummies Questions & Answers

Need Samba Help

Hi, I am very new to Unix, do know some RedHat linux. I am wanting to install samba on my unix machine. Not sure where to start, any help would be very much appreciated. Thanks, Chris Lewis (4 Replies)
Discussion started by: lewy33
4 Replies

9. Programming

Samba 2.2.4

Has any setup samba 2.2.4 inside of unix ver 11.0, i am trying to mount a nfs mount on a w2k, and wxp box, and i was told that i had to upgrade to sambe 2.2.4, but the c compiler on ver 11.0 isnt ansii compatable, I could please use any help or directions on this matter... thanks (0 Replies)
Discussion started by: marvin51796
0 Replies

Featured Tech Videos