Есть домен на WinNT. Хочу сделать самбу (3.0.21b на FreeBSD 6.1-RELEASE) BDC.Конфиг:
dos charset = CP866
unix charset = KOI8-R
display charset = KOI8-R
workgroup = CFG
netbios name = GEO-SAMBA
server string = Secondary Domain Controller (Samba %v)
interfaces = xl0, 192.168.100.8/24, 192.168.0.8/24
bind interfaces only = Yes
security = DOMAIN
passdb backend = ldapsam:ldap://127.0.0.1
log level = 1
log file = /var/log/samba/%m.log
max log size = 1000
time server = Yes
load printers = No
add user script = /usr/local/sbin/smbldap-useradd -m '%u'
delete user script = /usr/local/sbin/smbldap-userdel '%u'
add group script = /usr/local/sbin/smbldap-groupadd '%g'
delete group script = /usr/local/sbin/smbldap-groupdel '%g'
add user to group script = /usr/local/sbin/smbldap-groupmod -m '%u' '%g'
set primary group script = /usr/local/sbin/smbldap-usermod -g '%g' '%u'
add machine script = /usr/local/sbin/smbldap-useradd -w '%u'
logon script = STARTUP.BAT
logon path = \\%N\profiles\%u
preferred master = No
local master = No
domain master = No
wins server = 192.168.0.100
ldap port = 389
ldap admin dn = "cn=root,dc=gtss,dc=ru"
ldap group suffix = ou=groups
ldap machine suffix = ou=users
ldap suffix = dc=gtss,dc=ru
ldap user suffix = ou=users
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = No
winbind enum groups = No
winbind trusted domains only = Yes
admin users = root, pirate, lva, denja, admin, dj_kill
hosts allow = 192.168.100.0/24, 127.0.0.1, 192.168.0.0/24
hosts deny = all
printing = bsd
print command = lpr -r -P'%p' %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
Делаю net join и вижу Joined domain CFG.
При этом net rpc vampire -S 192.168.0.100 выдаёт что:
[2006/07/10 15:00:50, 0] rpc_client/cli_pipe.c:cli_rpc_pipe_open_schannel(2641)
cli_rpc_pipe_open_schannel: failed to get schannel session key from server 192.168.0.100 for domain CFG.
[2006/07/10 15:00:50, 0] utils/net_rpc.c:run_rpc_command(150)
Could not initialise schannel netlogon pipe. Error was NT_STATUS_INVALID_COMPUTER_NAME
Домен-контроллер при этом Самбу видит, в рабочей группе она появляется, но зайти на неё нельзя...
Уверен что это сто раз тут уже было, но ни google ни поиск по форуму ничего не дали. %(((