From owner-freebsd-questions Thu Mar 7 21:22: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from nycsmtp1out.rdc-nyc.rr.com (nycsmtp1out.rdc-nyc.rr.com [24.29.99.226]) by hub.freebsd.org (Postfix) with ESMTP id 119D037B446 for ; Thu, 7 Mar 2002 21:21:39 -0800 (PST) Received: from scott1.nyc.rr.com (24-168-24-239.nyc.rr.com [24.168.24.239]) by nycsmtp1out.rdc-nyc.rr.com (8.12.1/Road Runner SMTP Server 1.0) with ESMTP id g285Kbbd015380; Fri, 8 Mar 2002 00:20:37 -0500 (EST) Message-Id: <5.1.0.14.0.20020308001726.00c51918@pop-server.nyc.rr.com> X-Sender: scottro@pop-server.nyc.rr.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 08 Mar 2002 00:21:29 -0500 To: "Jaideep Bhatia" , From: Scott Subject: RE: Samba refuses to login into home directory In-Reply-To: <004301c1c65f$dddb15c0$1151a8c0@Jaideep> References: <5.1.0.14.0.20020307234340.00c46b68@pop-server.nyc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 10:42 2002/03/08 +0530, Jaideep Bhatia wrote: >Thanks Scott. I tried smbpasswd -a as root. But got >the following error. > >gogo# smbpasswd -a jaideep >New SMB password: >Retype new SMB password: >User jaideep does not exist in system password file (usually >/etc/passwd). Cannot add account without a valid local system user. >Failed to modify password entry for user jaideep I'm pretty sure that that's the standard error (haven't done this in a long time, so not 100 percent sure) You might have to restart the Windows box, (maybe not, just seems that one always has to do that though) :) and stop and restart smbd and nmbd. See if it works then. The trouble is that I haven't done a setup of samba from scratch in awhile, so my memory is hazy--you may or may not have to add user jbhatia once more to smbpasswd---or maybe just do smbpasswd Jaideep (without the -a--otherwise, you might get the error that user jbhatia already exists.) Sorry I can't be of more help here. Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message