eluhil
14-05-2008, 09:48
Задача: включить Мандриву в домен 2003 вондовса. Стоит Самба 3.0.28а и Керберос 5.
При net ads join -U aranel@KOLOS.LOCAL выдается такое:
Using short domain name -- KOLOS
Deleted account for 'nightquest' in realm 'KOLOS.LOCAL'
Failed to join domain: Type or value exists
Failed to set servicePrincipalNames. Please ensure that the DNS domain of this server
matches the AD domain, Or rejoin using Domain Admin credentials.
Погуглив, я обнаружил совет добавить в /etc/hosts строку вида YOURIP NAME
Не помогло :(
Что еще можете посоветовать?
[global]
workgroup = KOLOS
realm = KOLOS.LOCAL
netbios name = nightquest
server string = laptop
security = ads
auth methods = winbind
map to guest = Bad User
password server = server.kolos.local
log file = /var/log/samba/log.%m
max log size = 50
preferred master = no
local master = no
domain master = no
allow trusted domains = no
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 0
dns proxy = no
ldap ssl = no
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind use default domain = yes
hosts allow = 192.168.0., 127.
case sensitive = no
load printers = no
time server = yes
[public]
comment = test_share
path = /mnt/win_c
public = yes
writable = no
printable = no
[logging]
default = FILE:/var/log/kerberos/krb5libs.log
kdc = FILE:/var/log/kerberos/krb5kdc.log
admin_server = FILE:/var/log/kerberos/kadmin.log
[libdefaults]
ticket_lifetime = 24000
default_realm = KOLOS.LOCAL
dns_lookup_realm = false
dns_lookup_kdc = false
kdc_req_checksum_type = 2
checksum_type = 2
ccache_type = 1
forwardable = true
proxiable = true
[realms]
KOLOS.LOCAL = {
kdc = SERVER.KOLOS.LOCAL
default_domain = kolos.local
}
[domain_realm]
.kolos.local = KOLOS.LOCAL
[login]
krb4_convert = false
krb4_get_tickets = false
passwd: files winbind
shadow: files winbind
group: files winbind
hosts: files dns
networks: files
passwd_compat: nis
group_compat: nis
shells: files
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files
publickey: files
bootparams: files
automount: files
aliases: files
127.0.0.1 linux localhost
192.168.0.254 SERVER
192.168.0.42 nightquest.kolos.local
127.0.0.1 localhost
192.168.0.254 SERVER
При net ads join -U aranel@KOLOS.LOCAL выдается такое:
Using short domain name -- KOLOS
Deleted account for 'nightquest' in realm 'KOLOS.LOCAL'
Failed to join domain: Type or value exists
Failed to set servicePrincipalNames. Please ensure that the DNS domain of this server
matches the AD domain, Or rejoin using Domain Admin credentials.
Погуглив, я обнаружил совет добавить в /etc/hosts строку вида YOURIP NAME
Не помогло :(
Что еще можете посоветовать?
[global]
workgroup = KOLOS
realm = KOLOS.LOCAL
netbios name = nightquest
server string = laptop
security = ads
auth methods = winbind
map to guest = Bad User
password server = server.kolos.local
log file = /var/log/samba/log.%m
max log size = 50
preferred master = no
local master = no
domain master = no
allow trusted domains = no
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 0
dns proxy = no
ldap ssl = no
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind use default domain = yes
hosts allow = 192.168.0., 127.
case sensitive = no
load printers = no
time server = yes
[public]
comment = test_share
path = /mnt/win_c
public = yes
writable = no
printable = no
[logging]
default = FILE:/var/log/kerberos/krb5libs.log
kdc = FILE:/var/log/kerberos/krb5kdc.log
admin_server = FILE:/var/log/kerberos/kadmin.log
[libdefaults]
ticket_lifetime = 24000
default_realm = KOLOS.LOCAL
dns_lookup_realm = false
dns_lookup_kdc = false
kdc_req_checksum_type = 2
checksum_type = 2
ccache_type = 1
forwardable = true
proxiable = true
[realms]
KOLOS.LOCAL = {
kdc = SERVER.KOLOS.LOCAL
default_domain = kolos.local
}
[domain_realm]
.kolos.local = KOLOS.LOCAL
[login]
krb4_convert = false
krb4_get_tickets = false
passwd: files winbind
shadow: files winbind
group: files winbind
hosts: files dns
networks: files
passwd_compat: nis
group_compat: nis
shells: files
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files
publickey: files
bootparams: files
automount: files
aliases: files
127.0.0.1 linux localhost
192.168.0.254 SERVER
192.168.0.42 nightquest.kolos.local
127.0.0.1 localhost
192.168.0.254 SERVER