O login etc. é bem-sucedido, mas ao abrir um terminal do gnome, às vezes há I have no name!@hostname:~$
em vez de username@hostname:~$
for i in
{1..20}; do gnome-terminal; done
) whoami
informa o nome de usuário correto e
Variável USER está definida. whoami
, wbinfo -m
, getent passwd
username
, id username
) durante um período de tempo (por exemplo, infinito para loop
com sleep 1
) não retorna nenhuma falha. [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