From owner-freebsd-questions@FreeBSD.ORG Fri Jan 9 18:29:18 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 B29DD106568C for ; Fri, 9 Jan 2009 18:29:18 +0000 (UTC) (envelope-from aggelidis.news@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id 897438FC22 for ; Fri, 9 Jan 2009 18:29:18 +0000 (UTC) (envelope-from aggelidis.news@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so12424057wfg.7 for ; Fri, 09 Jan 2009 10:29:18 -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:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=WNOhhVFeJ2Idmptzxc1XEZAUzx1mhGIs09t/6643mgw=; b=cOQIYXYHjw42FqgqGkLrYWA7QQyXODznh+3Ba07K1VXkLo4WvyjytByTNitVBS9UO/ Lb8S0yNDyLNuIRbgnNdqLzuvd/YXQRqyS6RVfMUPHVT6akd4/ZiFJJBDy2l0RQdpTuZq 3ch0fOSccE8oiCQFbKtWAjdL7Q9wb60QoXi9A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=WFJKeeOjrGC0c4b78DMsre/Udk9t/DWdXf3xpV1URLstspvrh2reqnoLobRa452TUu ylO2wyXFMN7JxQQvXA7Fi4POhaDjK4yUY1APUwOPs95x7vNXLf9QCRbslkH/7QvRM+3s uja3c6CEgybhjVfsWSxS/FeAEWV7n9sIOBjRQ= Received: by 10.142.253.21 with SMTP id a21mr10826174wfi.174.1231525758032; Fri, 09 Jan 2009 10:29:18 -0800 (PST) Received: by 10.143.13.7 with HTTP; Fri, 9 Jan 2009 10:29:17 -0800 (PST) Message-ID: <30fc78250901091029j7a665b16ta260861a92b50002@mail.gmail.com> Date: Fri, 9 Jan 2009 20:29:17 +0200 From: "Aggelidis Nikos" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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: Fri, 09 Jan 2009 18:29:19 -0000 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