Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2009 20:29:17 +0200
From:      "Aggelidis Nikos" <aggelidis.news@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   weird samba error
Message-ID:  <30fc78250901091029j7a665b16ta260861a92b50002@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30fc78250901091029j7a665b16ta260861a92b50002>