Re: Samba: Could not get smbpasswd to work. Problem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan Thurman wrote:
> Folks,
> 
> Trying to get my Samba server running on FC5, but cannot seem
> to be able to get shares working right.  I noticed that I had
> no entries in the /etc/samba/smbpasswd file so I tried to add
> my users via smbpasswd <user> and provided the passwords but
> smbpasswd failed to complete.  Here is the results:
> 
> [root@mysystem samba]# smbpasswd aUser
> New SMB password:
> Retype new SMB password:
> Failed to find entry for user aUser.
> Failed to modify password entry for user aUser
> 
> I checked to make sure that this user had an account
> in the /etc/password file and yes, they do so I am not
> sure why smbpasswd is not accepting it.
> 
> Anyone have problems with this?

To add a user and password to the smbpasswd file you need to specify
the -a option.  As root you'd want this to add a password for aUser:

# smbpasswd -a aUser

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
The turtle makes progress only when he sticks his neck out.
    -- James Bryant Conant

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iG0EARECAC0FAkQz8UUmGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt
ei5hc2MACgkQuv+09NZUB1qbawCgyDB00QIqC1vSiV9mSvieTb7gqxwAoL3Dje++
DxkIysRkqDWdtfDvktmh
=7uZl
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux