Вход в систему и т.д. прошел успешно, но при открытии gnome-terminal иногда возникает I have no name!@hostname:~$
вместо того username@hostname:~$
for i in
{1..20}; do gnome-terminal; done
)whoami
сообщает правильное имя пользователя и установлена переменная USER.whoami
, wbinfo -m
, getent passwd
username
, id username
) в течение определенного периода времени (например, бесконечный цикл for с sleep 1
) не возвращает ошибок.[libdefaults]
default_realm = MY.DOMAIN.COM
dns_lookup_realm = false
dns_lookup_kdc = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
[realms]
MY.DOMAIN.COM = {
# KDC is the key distribution server
# One per line in the format
#kdc = ##adsrv##
##KDCSERVER##
kdc = dc1.my.domain.com
kdc = dc2.my.domain.com
kdc = dc3.my.domain.com
kdc = dc4.my.domain.com
kdc = dc5.my.domain.com
# Admin server is a list of AD server
#admin_server = adsrv1 adsrv2 ... adsrvX
##ADMINSERVER##
admin_server = dc1.my.domain.com dc2.my.domain.com dc3.my.domain.com dc4.my.domain.com dc5.my.domain.com
}
##MyRealms##
[domain_realm]
.my.domain.com = MY.DOMAIN.COM
my.domain.com = MY.DOMAIN.COM
##MyDomRealms##
[global]
server string = my server
workgroup = MY
security = ads
realm = my.domain.com
password server = *
domain logons = no
template homedir = /home/%D/%U
template shell = /bin/bash
winbind enum groups = no
winbind enum users = no
winbind use default domain = yes
domain master = no
local master = no
prefered master = no
os level = 0
idmap config *:backend = tdb
idmap config *:range = 11000-20000
idmap config MY:backend = rid
idmap config MY:range = 100000-200000