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

Re: samba



Hi, 

  I did a grep usera /etc/samba/smbpasswd and the usera
  is in this file.  However, this smbpasswd file has the
  0700 permission, is this the problem?

  The usera also try to change the samba password using
   smbpasswd and here is the error message:


------------
read_socket_with_timeout: timeout read. read error = Connection reset by
peer.
machine 127.0.0.1 rejected the session setup. Error was : code 0.
Failed to change password for usera
------------

  Thanks!

"Jens B. Jorgensen" wrote:
> 
> You need to add your user on the potato box to the smbpasswd file if it isn't there.
> As root, say:
> 
> grep <myusername> /etc/samba/smbpasswd
> 
> If your user isn't in there, then run:
> 
> smbpasswd -a <myusername>
> 
> If it is in there you can just run as yourself, the user whose home directory you wish
> to access:
> 
> smbpasswd
> 
> The reason you have to give your password again is that like unix and Lan Manager
> (Windows Networking, whatever you want to call it) use different hashing algorithms
> for passwords.
> 
> "Timothy C. Phan" wrote:
> 
> > hi,
> >
> >   I have just install samba on my potato box. Is there
> >   an addition setup that I need to do to browse my home
> >   directory on the potato box?
> >
> >   Here is the sample setup:
> >
> >   On potato box:
> >     user login: usera
> >     passwrd   : passwda
> >     home dir  : /home/usera
> >
> >   On NT box: I also have the same use and same password.
> >
> >   Now, from the NT box, I'd like to map this home directory
> >   on the potato to a drive where I can read/write file.
> >
> >   Anything in the /etc/samba/smb.conf file need to be modified
> >   to do this?  Currently, everytime I click on the workgroup
> >   on the NT explore, it kept asking me for a user/passwd and
> >   I kept getting invalid user/passwd.
> >
> >   Thanks
> >
> > ---
> > tcp
> 
> --
> Jens B. Jorgensen
> jens.jorgensen@tallan.com


Reply to: