From owner-freebsd-questions Thu Mar 7 21:31:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from wiproecmx1.wipro.com (wiproecmx1.wipro.com [164.164.31.5]) by hub.freebsd.org (Postfix) with ESMTP id B941637B402 for ; Thu, 7 Mar 2002 21:31:22 -0800 (PST) Received: from ecvwall1.wipro.com (ecvwall1.wipro.com [164.164.23.6]) by wiproecmx1.wipro.com (8.11.3/8.11.3) with SMTP id g285TfP25266 for ; Fri, 8 Mar 2002 10:59:45 +0530 (IST) Received: from Jaideep ([192.168.81.17]) by ecmail.mail.wipro.com (Netscape Messaging Server 4.15) with ESMTP id GSN3BY01.LM0; Fri, 8 Mar 2002 11:01:10 +0530 From: "Jaideep Bhatia" To: "'Scott'" , Subject: RE: Samba refuses to login into home directory Date: Fri, 8 Mar 2002 10:57:44 +0530 Organization: Wipro Technologies Message-ID: <004701c1c661$f9e64670$1151a8c0@Jaideep> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-1e5248ca-3254-11d6-a942-00b0d0d06be8" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: <004301c1c65f$dddb15c0$1151a8c0@Jaideep> Importance: Normal 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 This is a multi-part message in MIME format. ------=_NextPartTM-000-1e5248ca-3254-11d6-a942-00b0d0d06be8 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Also, from the freebsd machine following commands are working Smbclient //gogo/homes Smbclient //gogo/jbhatia (unix_user_name) Smbclient //gogo/jaideep (windows_user_name) All ask for the password, and with the unix password, it is showing the contents of the home directory. I have used username map = mapfile with the contents jbhatia = jaideep Regards, Jaideep Bhatia -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Jaideep Bhatia Sent: Friday, March 08, 2002 10:43 AM To: 'Scott'; freebsd-questions@FreeBSD.ORG Subject: RE: Samba refuses to login into home directory 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 What I was trying is to map my windows_user_name to unix_user_name (jbhatia) in this case. Looks like the mapping is working but the authentication is failing. When I enter the machine gogo from win2k machine, what I see is the following shares. 1. homes 2. hp6000 3. jbhatia 4. public 5. Printers homes and jbhatia share is where the problem is. Regards, Jaideep Bhatia -----Original Message----- From: Scott [mailto:scottro@nyc.rr.com] Sent: Friday, March 08, 2002 10:17 AM To: Jaideep Bhatia; freebsd-questions@FreeBSD.ORG Subject: Re: Samba refuses to login into home directory At 10:01 2002/03/08 +0530, Jaideep Bhatia wrote: >I have a freebsd 4.5R machine with samba 2.2.3a installed and trying to >run it with win2K machines. In the sam.conf security has been set to >share. This is showing the public directory and I am able to read and >write to it. > The problem is with the home directory >[homes] > comment = Home Directories > browseable = yes > writeable = yes > > The user name on the freebsd machine is different from the win >2k machine. I have also tried username map option, but unable to see the >contents of the home directory. Any suggestions on what I might be >missing? You probably did this one, but one frequent problem is that folks forget to add the Windows user name (with Windows password) to the smbpasswd file. smbpasswd -a If you haven't done it yet, then you get an error message the first time that can be safely ignored, something about the file being non-existent--however it's created after adding the first user. The other one (that probably isn't the issue, as you can browse the public shares) is uncommented the encrypted password in smb.conf. HTH Scott Robbins ------=_NextPartTM-000-1e5248ca-3254-11d6-a942-00b0d0d06be8 Content-Type: text/plain; name="Wipro_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Wipro_Disclaimer.txt" **************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ******************************************************************** ------=_NextPartTM-000-1e5248ca-3254-11d6-a942-00b0d0d06be8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message