[Samba] Can't add new users

Bryant, Steven R. Bryant at hdlegal.com
Thu Sep 30 21:37:03 GMT 2004

I believe in addition to a Unix account, each user also needs to be entered as a SAMBA user. The smbpasswd file shows the SAMBA users along with their encrypted passwords.
To add a SAMBA user:
> smbpasswd [userid]
you'll be prompted to enter a password for the new user and then to confirm it.

that should do it.

I'll guess that viewing the file smbpasswd right now, you'll see the users listed there that do already work with the SAMBA shares.......

Hope this helps,


Steven R. Bryant - Network Manager
Henderson, Daily, Withrow & DeVoe
Indianapolis, IN (317) 639-4121
*  This e-mail is sent from a law firm and may contain    *
*    information that is privileged and confidential.     *
*  If you are not the intended recipient, please delete   *
*      the e-mail and notify the sender.  Thank you.      *

-----Original Message-----
From: samba-bounces+bryant=hdlegal.com at lists.samba.org
[mailto:samba-bounces+bryant=hdlegal.com at lists.samba.org]On Behalf Of
Majid Chavoshi
Sent: Thursday, September 30, 2004 3:50 PM
To: 'samba at lists.samba.org'
Cc: Majid Chavoshi
Subject: [Samba] Can't add new users

Hi all,
I tried to add a new user to a Samba share, I did all the usual: made a Unix account on the Unix server for the user which was the same as the user's window's UID. Put her name as a valid user for that directory in server:/etc/opt/samba/smb.conf, and stopped and started server:/sbin/init.d/samba server; nothing worked.

Interesting observations: 1- After performing the steps described above, I do a "server# /opt/samba/bin/testparm" and don't even see the new user's name for that particular Samba share. 2- Samba is working fine for all the previously defined users in smb.conf.

Many thanks in advance and best regards.

Majid Chavoshi
Unix System Administrator

This e-mail and any files transmitted with it are the property
of Belkin Corporation and/or its affiliates, are confidential,
and are intended solely for the use of the individual or
entity to whom this e-mail is addressed.  If you are not one
of the named recipients or otherwise have reason to believe
that you have received this e-mail in error, please notify the
sender and delete this message immediately from your computer.
Any other use, retention, dissemination, forwarding, printing
or copying of this e-mail is strictly prohibited.
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list