Ставлю все по татье [url]http://www.lissyara.su/articles/freebsd/traffic_count/squid+...
машина прописываеться в домен. при попытке просмотреть пользователя и группу выдает ошибки:
# wbinfo -g
Error looking up domain groups
# wbinfo -u
Error looking up domain users
# id krb
id: krb: no such user
smb.conf
[global]
log file = /var/log/samba/log.%m
dns proxy = no
load printers = no
display charset = koi8-r
server string = FREEBSD
password server = xxx.yyy.ru
encrypt passwords = yes
dos charset = cp866
wins server = xxx.yyy.ru
os level = 20
workgroup = XXX
hosts allow = 192.168.11. 127.
security = ads
realm = xxx.RU
unix charset = koi8-r
max log size = 50
netbios name = freebsd
/etc/nsswitch.conf
#
# nsswitch.conf(5) - name service switch configuration file
# $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.6.1 2010/12/21 17:09:25 kensmith Exp $
#
group: files winbind
passwd: files winbind
group_compat: nis
passwd_compat: nis
hosts: files dns
networks: files
shells: files
klist
Credentials cache: FILE:/tmp/krb5cc_0
Principal: krb@xxx.RU Issued Expires Principal
Jun 6 13:45:51 Jun 6 23:45:50 krbtgt/xxx.RU@xxx.RU
Jun 6 13:46:17 Jun 6 23:45:50 yyy$@xxx.RU
Jun 6 13:46:17 Jun 6 23:45:50 yyy$@xxx.RU
/etc/krb5.conf
samba35-3.5.6_2 A free SMB and CIFS client and server for UNIX
[libdefaults]
default_realm = XXX.RU
clockskew = 300
v4_instance_resolve = false
v4_name_convert = {
host = {
rcmd = host
ftp = ftp
}
plain = {
something = something-else
}
}[realms]
XXX.RU = {
kdc = yyy.xxx.ru
admin_server = yyy.xxx.ru
kpasswd_server = yyy.xxx.ru
}
[domain_realm]
.domain.local = xxx.RU