Portál AbcLinuxu, 10. listopadu 2025 02:19
CentOS 6 pomocí gui nakonfigurované PAM a nsswitch, nicméně aby to fungovalo, konfiguráky jsem stejně musel tvořit sám:
cat /etc/krb5.conf
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
default_realm = DOMENA.ORG.CZ
dns_lookup_realm = true
dns_lookup_kdc = true
passwd_check_s_address = false
ticket_lifetime = 24h
renew_lifetime = 7d
use_tcp_only = true
ccache_type = 3
forwardable = true
[domain_realm]
.domena.org.cz = DOMENA.ORG.CZ
domena.org.cz = DOMENA.ORG.CZ
[realms]
DOMENA.ORG.CZ = {
}
cat /etc/samba/smb.conf
[global]
workgroup = DOMENA
realm = DOMENA.ORG.CZ
security = ads
winbind nested groups = yes
winbind use default domain = yes
winbind nss info = rfc2307
idmap backend = tdb
idmap uid = 999999999 - 9999999990
idmap gid = 999999999 - 9999999990
idmap config DOMENA : backend = ad
idmap config DOMENA : default = yes
idmap config DOMENA : schema_mode = rfc2307
idmap config DOMENA : range = 1-999999998
template homedir = /home/%U
template shell = /bin/bash
winbind use default domain = true
winbind offline logon = false
winbind cache time = 10
idmap cache time = 10
idmap negative cache time = 10
winbind refresh tickets = true
......
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.