Полазив сделал некоторые дополнения в конфиг.
cat smb.conf
# Global parameters
[global]
client code page = 866
workgroup = SOTEL
netbios name = TS
server string = UCC Public Share Server
interfaces = xl0
security = DOMAIN
encrypt passwords = Yes
password server = BDSERVER
admin log = Yes
log level = 4
log file = /usr/local/services/samba/var/logsamba.%U
load printers = No
character set = KOI8-R
lm interval = 10
map to guest = bad user
domain master = No
dns proxy = No
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind use default domain = Yes
hosts allow = 172.18.0.0/255.255.0.0 ucc.ru 127/8
[Public]
comment = Distribution
path = /var/ftp/pub
fstype = Samba
[ucc]
comment = Different documents
path = /usr1/ucc
read only = No
fstype = Samba
[roam]
comment = Files for rouming
path = /usr1/roam
read only = No
fstype = Samba
[ConsultantPlus]
comment = ConsultantPlus
path = /usr1/ConsultantPlus
valid users = @"SOTEL\Domain Users"
read only = No
fstype = Samba
Все равно не пускает. wbinfo -u,-g,-p выдают все ок. wbinfo -a юзер%пароль выдает все ок. В чем может быть траблаю. Услышал, что при использовании winbind нужно менять /etc/nsswitch.conf. В данный момент он у меня выглядит cat /etc/nsswitch.conf
group: compat winbind
group_compat: nis winbind
hosts: files dns winbind
networks: files winbind
passwd: compat winbind
passwd_compat: nis winbind
shells: files winbind
Еще говорят, что нужно что-то менять в /etc/pam.d
Но какой именно файл и что там писать не знаю. Подскажите решение проблемы. Логи пользователя под которым захлжу в шару самбы привожу:
[2005/05/14 14:34:03, 3] lib/access.c:check_access(321)
check_access: hostnames in host allow/deny list.
[2005/05/14 14:34:03, 2] lib/access.c:check_access(329)
Allowed connection from nts.ucc.ru (172.18.2.199)
[2005/05/14 14:34:03, 2] smbd/service.c:make_connection(331)
Invalid username/password for consultantplus [nobody]
[2005/05/14 14:34:03, 3] smbd/error.c:error_packet(113)
error packet at smbd/reply.c(166) cmd=117 (SMBtconX) NT_STATUS_WRONG_PASSWORD
Народ, помогите!