[Samba] What should my smbpasswd file look like?

Gerald (Jerry) Carter jerry at samba.org
Mon Feb 16 22:22:24 GMT 2004


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

darrel wrote:
| I can not connect to my linux box from my Mac. I get a 'Could not
| connect to the server because the name or password is not correct' error.
|
| I'm not sure where to check to even see what username/pwd samba is using.
|
| If I open up my smbpasswd file, it looks like this:
|
| drrl:501:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:\
|  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:[UD]:LCT-402FFFE4:

This is a disabled account ('D') with no password ('XXXX...').

Run these commands as root

~  $ smbpasswd drrl
~  Password:

~  $ smbpasswd -e drrl




cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAMUKgIR7qMdg1EfYRArm/AKDWes17nQ6UY4xBRbRe5X5S/dvHCACfXizD
kEoJzxpueFlX37BklfZDnrU=
=/qil
-----END PGP SIGNATURE-----


More information about the samba mailing list