URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID14
Нить номер: 1393
[ Назад ]

Исходное сообщение
"проблемы входа под логином AD на сервер Freebsd"

Отправлено KomaLex , 26-Июн-07 06:18 
Вообще аутентификация проходит судя по всему нормально. Выдает этот обычный текст, который вместо приветствия при входе во фрии. Но потом почему то опять вылетает налоги :(
пишет
login: /bin/false: No such file or directory
и опять выбрасывает на логин....
Даже и не могу понять в чем дело... Вроде в описании winbind в конфиге самбы стоит
template shell /bin/sh
Главно в логах аудита входа пишет что номально вошел.
судя по всему... связанно что то с самим шелом... но чего понять не могу

Содержание

Сообщения в этом обсуждении
"проблемы входа под логином AD на сервер Freebsd"
Отправлено KomaLex , 26-Июн-07 09:01 
No home directory.
Logging in with home = "/".
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.

FreeBSD 6.2-RELEASE (LSNKERN) #1: Wed May 16 06:49:01 UTC 2007

Welcome to FreeBSD!

Before seeking technical support, please use the following resources:

o  Security advisories and updated errata information for all releases are
   at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
   for your release first as it's updated frequently.

o  The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,
   along with the mailing lists, can be searched by going to
   http://www.FreeBSD.org/search/.  If the doc distribution has
   been installed, they're also available formatted in /usr/share/doc.

If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.

You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.

You have mail.
login: /bin/false: No such file or directory
[root@freebsd ~]#

Вот что пишет при входе. Судя по всему winbind вообще не читает конфиг. Потому что он и домашнюю дирректорию не видит, хотя она там есть.

Вот конфиг самбы

[global]
workgroup = LESNALTD
winbind cache time = 15
server string = freebsd
security = ADS
hosts allow 192.168.1. 192.168.2. 127.
load printers = no
#guest account = pcquest
log file = /var/log/samba/log.%m
max log size = 50
password server = lesnasvr spacegate
realm = LESNALTD.FIRM
passdb backend = tdbsam
interfaces = 192.168.1.187/24 192.168.2.187/24
local master = no
domain master = no
os level = 33
preferred master = no
dns proxy = no
wins support = no
wins proxy = no
display charset = koi8-r
dos charset = cp866
unix charset = koi8-r

nt acl support = yes
inherit acls = yes
map acl inherit = yes

#winbind set
encrypt passwords = yes
winbind uid = 10000 - 20000
winbind gid = 10000 - 20000
template shell /usr/local/bin/bash
template homedir /home/samba/%U
winbind separator +
winbind enum groups = yes
winbind enum users = yes
winbind use default domain = yes
nt acl support = yes

[homes]
comment = home dirictories
browseable = no
writable = yes