Всем Доброго времени суток! Прошу помощи в настройке самбы. Долго проверял и искал пути решения, но у еня не получается войти на шару SOFT-запрос пароля идет, а вход не выполняется. На FTP можно зайти свободно, без запроса пароля, как собственно и задумано. Может я чего не замечаю. Кто сможет-посмотрите свежим глазом-может ячего упустил:
[root@* samba]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[soft]"
Processing section "[FTP]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions[global]
unix charset = CP1251
display charset = CP1251
workgroup = DATA
server string = Server-2
interfaces = eth0, lo
bind interfaces only = Yes
security = SHARE
map to guest = Bad User
passdb backend = tdbsam
guest account = bufers
username map = /etc/samba/smbusers
log level = 2
syslog = 0
log file = /var/log/samba/log.smb-all
max log size = 100
load printers = No
disable spoolss = Yes
show add printer wizard = No
os level = 64
preferred master = Yes
domain master = Yes
wins support = Yes
create mask = 0700
directory mask = 0700
cups options = raw
[soft]
comment = valid only
path = /home/soft
valid users = lan
read only = No
[FTP]
comment = SERVER
path = /home/bufers/users
read only = No
guest ok = Yes
Права доступа:
dr-x---r-x 4 bufers bufers 4096 Янв 15 22:35 /home/bufers/users
drwx---r-x 4 lan lan 4096 Фев 27 19:25 /home/soft
/etc/samba/smbusers
# Unix_name = SMB_name1 SMB_name2 ...
nobody = guest pcguest smbguest.
bufers = bufers
lan = lan
Файл: log.smb-all
check_ntlm_password: Authentication for user [bufers] -> [bufers] FAILED with error NT_S
TATUS_WRONG_PASSWORD
[2009/03/01 22:34:37, 2] auth/auth.c:check_ntlm_password(318)
check_ntlm_password: Authentication for user [bufers] -> [bufers] FAILED with error NT_S
TATUS_WRONG_PASSWORD
[2009/03/01 22:34:37, 2] auth/auth.c:check_ntlm_password(318)
check_ntlm_password: Authentication for user [ftp] -> [ftp] FAILED with error NT_STATUS_
NO_SUCH_USER
[2009/03/01 22:34:37, 2] auth/auth.c:check_ntlm_password(318)
check_ntlm_password: Authentication for user [ftp] -> [ftp] FAILED with error NT_STATUS_
NO_SUCH_USER
[2009/03/01 22:34:37, 2] auth/auth.c:check_ntlm_password(318)
check_ntlm_password: Authentication for user [ftp] -> [ftp] FAILED with error NT_STATUS_
NO_SUCH_USER
[2009/03/01 22:34:37, 2] auth/auth.c:check_ntlm_password(318)
check_ntlm_password: Authentication for user [ftp] -> [ftp] FAILED with error NT_STATUS_
NO_SUCH_USER
[2009/03/01 22:34:37, 1] smbd/service.c:make_connection_snum(1190)
pasu (10.245.8.125) connect to service FTP initially as user bufers (uid=500, gid=500) (p
id 10919)
[2009/03/01 22:34:38, 2] auth/auth.c:check_ntlm_password(318)
check_ntlm_password: Authentication for user [bufers] -> [bufers] FAILED with error NT_S
TATUS_WRONG_PASSWORD
[2009/03/01 22:34:38, 2] auth/auth.c:check_ntlm_password(318)
check_ntlm_password: Authentication for user [ftp] -> [ftp] FAILED with error NT_STATUS_
NO_SUCH_USER
[2009/03/01 22:34:38, 2] smbd/service.c:make_connection_snum(754)
Invalid username/password for [soft]
[2009/03/01 22:34:38, 2] smbd/service.c:make_connection_snum(754)
Invalid username/password for [soft]
[2009/03/01 22:34:41, 2] smbd/service.c:make_connection_snum(754)
Invalid username/password for [soft]
Пользователи прописаны в системе и в самбе, пароли заданы.
Почему самба пытается зайти как пользователь ftp мне не ясно. Пробовал прописать в smbusers lan = lan, ftp - ничего не вышло.
Переход на security = user не выручает.
ПРОВЕРЕНО: данный конфиг работает на ASP 9.2, samba-3.0.0-15asp.
Конфигурация сервера:
Linux * 2.6.26.3-29.0.140asp.i686 #1 SMP Mon Sep 15 07:08:05 EDT 2008 i686 i686 i386 GNU/Linux
samba-3.2.0-2.17.0.140asp.i386