Date: Fri, 8 Mar 2002 10:42:38 +0530 From: "Jaideep Bhatia" <jaideep.bhatia@wipro.com> To: "'Scott'" <scottro@nyc.rr.com>, <freebsd-questions@FreeBSD.ORG> Subject: RE: Samba refuses to login into home directory Message-ID: <004301c1c65f$dddb15c0$1151a8c0@Jaideep> In-Reply-To: <5.1.0.14.0.20020307234340.00c46b68@pop-server.nyc.rr.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Thanks Scott. I tried smbpasswd -a <windows_user_name> 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 <username>
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
[-- Attachment #2 --]
**************************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.
********************************************************************
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004301c1c65f$dddb15c0$1151a8c0>
