现在的位置: 首页 > 综合 > 正文

Linux加入域

2012年04月24日 综合 ⁄ 共 845字 ⁄ 字号 暂无评论

附上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 = IT598.NET

dns_lookup_realm = false

dns_lookup_kdc = true

ticket_lifetime = 24h

forwardable = yes

[realms]

LINUX.ORG = {

kdc = 192.168.119.3:88

admin_server = 192.168.119.3:749

default_domain = IT598.NET

}

[domain_realm]

.IT598.NET = IT598.NET

IT598.NET = IT598.NET

[appdefaults]

pam = {

debug = false

ticket_lifetime = 36000

renew_lifetime = 36000

forwardable = true

krb4_convert = false

}

另外smb.conf文件需要的地方:

# ----------------------- Domain Members Options ------------------------

security = ads

passdb backend = tdbsam

realm = IT598.NET

password server = dc1.IT598.NET

dmap uid = 10000 - 20000

idmap gid = 10000 - 20000

template shell = /sbin/nologin

template homedir = /home/samba/

winbind separator = %

winbind use default domain = yes

winbind enum users = yes

winbind enum groups = yes

encrypt passwords = yes

给我留言

留言无头像?