еcли проблемы - настраиваем /etc/resolv.conf
У меня не пингуется ping dc.domain.ru. Подскажите как настроить /etc/resolv.conf? У меня там вот что:
# Generated by NetworkManager
Ну, подскажите пожалуйста, очень надо.
Пользователь решил продолжить мысль 01 Апреля 2009, 23:05:22:
root@ubuntu:/home/ars# net ads join -U admin@DOMAIN.RU
Enter admin@DOMAIN.RU's password:
[2009/04/02 11:40:19, 0] libads/kerberos.c:ads_kinit_password(356)
kerberos_kinit_password admin@DOMAIN.RU@DOMAIN.RU failed: Malformed representation of principal
Failed to join domain: failed to connect to AD: Malformed representation of principal
root@ubuntu:/home/ars#

Подскажите, что не так?
Пользователь решил продолжить мысль 02 Апреля 2009, 22:55:32:
krb5.conf:
[libdefaults]
ticket_lifetime = 24000
clock_skew = 300
default_realm = SZHNO.ARS
# The following krb5.conf variables are only for MIT Kerberos.
krb4_config = /etc/krb.conf
krb4_realms = /etc/krb.realms
kdc_timesync = 1
ccache_type = 4
forwardable = true
proxiable = true
# The following encryption type specification will be used by MIT Kerberos
# if uncommented. In general, the defaults in the MIT Kerberos code are
# correct and overriding these specifications only serves to disable new
# encryption types as they are added, creating interoperability problems.
#
# Thie only time when you might need to uncomment these lines and change
# the enctypes is if you have local software that will break on ticket
# caches containing ticket encryption types it doesn't know about (such as
# old versions of Sun Java).
# default_tgs_enctypes = des3-hmac-sha1
# default_tkt_enctypes = des3-hmac-sha1
# permitted_enctypes = des3-hmac-sha1
# The following libdefaults parameters are only for Heimdal Kerberos.
v4_instance_resolve = false
v4_name_convert = {
host = {
rcmd = host
ftp = ftp
}
plain = {
something = something-else
}
}
fcc-mit-ticketflags = true
[realms]
SZHNO.ARS = {
kdc = server2003.szhno.ars:88
admin_server = server2003.szhno.ars:464
default_domain = SZHNO.ARS
}
[domain_realm]
.szhno.ars = SZHNO.ARS
szhno.ars = SZHNO.ARS
[login]
krb4_convert = true
krb4_get_tickets = false
default = FILE:/var/log/krb5.log
Пользователь решил продолжить мысль 03 Апреля 2009, 00:57:50:
root@UbuntuKO:~# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions
[global]
dos charset = CP866
display charset = UTF-8
workgroup = SZHNO
realm = SZHNO.ARS
server string = %h server (Samba, Ubuntu)
security = ADS
map to guest = Bad User
obey pam restrictions = Yes
password server = 192.168.0.250
passdb backend = tdbsam
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %n
*Retypesnews*spassword:* %n
*passwordsupdatedssuccessfully* .
unix password sync = Yes
restrict anonymous = 2
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 0
local master = No
domain master = No
dns proxy = No
wins server = 192.168.0.250
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap uid = 10000-20000
idmap gid = 10000-20000
template shell = /bin/bash
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
winbind refresh tickets = Yes
invalid users = root
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
Пользователь решил продолжить мысль 03 Апреля 2009, 03:00:02:
/etc/hosts
127.0.0.1 UbuntuKO.szhno.ars localhost UbuntuKO
Пользователь решил продолжить мысль 03 Апреля 2009, 05:05:57:
root@UbuntuKO:~# kinit admin@SZHNO.ARS
Password for admin@SZHNO.ARS:
root@UbuntuKO:~# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: admin@SZHNO.ARS
Valid starting Expires Service principal
04/03/09 09:46:30 04/03/09 16:26:30 krbtgt/SZHNO.ARS@SZHNO.ARS
Kerberos 4 ticket cache: /tmp/tkt0
Пользователь решил продолжить мысль 03 Апреля 2009, 07:07:42:
root@UbuntuKO:~# net ads join -U admin@SZHNO.ARS
Enter admin@SZHNO.ARS's password:
[2009/04/03 10:07:15, 0] libads/kerberos.c:ads_kinit_password(356)
kerberos_kinit_password admin@SZHNO.ARS@SZHNO.ARS failed: Malformed representation of principal
Failed to join domain: failed to connect to AD: Malformed representation of principal
Пользователь решил продолжить мысль 03 Апреля 2009, 09:09:39:
root@UbuntuKO:~# net ads join -U yarik@SZHNO.ARS
Enter yarik@SZHNO.ARS's password:
Failed to join domain: Failed to set password for machine account (NT_STATUS_ACCESS_DENIED)
Пользователь решил продолжить мысль 03 Апреля 2009, 11:13:06:

Ну ПАМАГИТЕ!!!!!!!!! Как войти в домен?