From owner-freebsd-questions@FreeBSD.ORG Tue Jan 13 04:44:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFC141065670 for ; Tue, 13 Jan 2009 04:44:13 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.231]) by mx1.freebsd.org (Postfix) with ESMTP id 7FF108FC0C for ; Tue, 13 Jan 2009 04:44:13 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so12533305rvf.43 for ; Mon, 12 Jan 2009 20:44:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=qUsvMcozPLuiyAzqYM3kZJUll6jST67Fyh6wuz7dTzM=; b=Ad9SMyTvvjtBUnhLui9bLyaLzwk8ZHQGaInRwRhtdJOHTU1j2PHjzqfX3iSPxiH6vy Ya72oIfs5ekssTnNBffU3ZfWInGvBbjRRcjbu1qelyN5jVn/FCgiSdYeTEtek/mM3TzG TCttEKuYzFqjbuQPLQ+R1IAXg8BAr59KkmHfI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=F9C/AmGY9TGYyMbBUsLhrRcaaTLJjOCZr3zQ3N1qGv/iqLIAVaUhtpNhQl3/ycDSlJ gqoDFkfEXfYAPHwJN+fRfDZ59o9aw5wL6/pBzGscCi0y379114MNuEcNFnYnZ/s7eu67 U5CB2NJPi3b0nlqnAGheaVl6vY0Gy1T7WS21g= Received: by 10.141.13.16 with SMTP id q16mr15096354rvi.5.1231821853198; Mon, 12 Jan 2009 20:44:13 -0800 (PST) Received: from ?192.168.4.70? (c-68-35-57-46.hsd1.nm.comcast.net [68.35.57.46]) by mx.google.com with ESMTPS id g31sm76184411rvb.4.2009.01.12.20.44.10 (version=SSLv3 cipher=RC4-MD5); Mon, 12 Jan 2009 20:44:12 -0800 (PST) Message-ID: <496C1C2A.9030505@gmail.com> Date: Mon, 12 Jan 2009 21:44:26 -0700 From: Tim Judd User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Aggelidis Nikos References: <30fc78250901091029j7a665b16ta260861a92b50002@mail.gmail.com> In-Reply-To: <30fc78250901091029j7a665b16ta260861a92b50002@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: weird samba error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2009 04:44:13 -0000 Aggelidis Nikos wrote: > hi to all the list, > > i have a question concerning samba and freebsd: > > whenever i use the option username map = /usr/local/etc/samba/smbusers > in my smb.conf > , and i try to connect to samba server like this > > #smbclient //apollo/username > Password: > session setup failed: NT_STATUS_LOGON_FAILURE > > i get this error even though i type the password correctly... > > here is the smb.conf i use: > > $cat /usr/local/etc/smb.conf > [global] > netbios name = apollo > workgroup = PHOME > server string = Freebsd File Server > dns proxy = No > > security = user > encrypt passwords = yes > passdb backend = smbpasswd > smb passwd file = /usr/local/etc/samba/smbpasswd > > #*this options creates all the problems* > #username map = /usr/local/etc/samba/smbusers > > debug timestamp = no > log level = 1 > log file = /var/log/samba/log.%m > max log size = 50 > > hosts allow = 192.168.1., 192.168.2., 127. > > [homes] > comment = Home Directories > read only = No > browseable = No > > #cat /usr/local/etc/samba/smbusers > > # Unix_name = SMB_Name1 SMB_Name2 ... > # map_to = map_from > root = administrator > nobody = guest smbguest pcguest > username = username anotherusername > > any idea why this happens?or how i should investigate it more? > > thanks in advance > -nicolas > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I don't have a link, but a friend had similar problems. He searched the list archives and the proposed solution (which worked for him) was username case sensitivity. I think it's the windows side that needs ALL CAPS for the usernames for this mapping to work. Please try that. (and try the opposite if the first doesn't work).