[PLUG] samba stuff

Eric Pratt pratte@ecn.purdue.edu
Tue, 22 Aug 2000 00:12:09 -0500 (EST)


You need to make sure that you set a smb password.  To do this, use the
command: smbpasswd

su to root and then type:

smbpasswd -a login (where 'login' is the user's login)

this will start the process for you to change the user's smbpasswd.  The
-a means 'add'.  If you have never given this particular user an
smbpasswd, then you need to use the '-a'.  If the user already has an smb
password, then the -a does nothing.  I think the user can use smbpasswd
but he must already have an smbpasswd, he cannot use the -a option, only
root can do that.

Once the smbpasswd has been created for a user, he can use the smb shares

Also, make sure that is you are using win98, winNT, or win2K that you have
the following line under your global settings in your /etc/smb.conf file:

        encrypt passwords = yes

If you have that, then you should be good to go.

Eric

On Mon, 21 Aug 2000, John C Meuser wrote:

> I'm trying to set up samba to be able to mount linux home directories
> from windows machines but for some reason it always tells me that the
> password is incorrect.  I'm logged in under the proper username in
> windows.  Any tips?
> 
>         John
> 
> 
> ____________________________________________________
> The Purdue Linux Users' Group (PLUG) mailing list.
> plug mailing list  -  plug@csociety.purdue.edu
> http://csociety.ecn.purdue.edu/mailman/listinfo/plug
>