把Linux AS 3加入到win2003的域中(轉)

ba發表於2007-08-17
把Linux AS 3加入到win2003的域中(轉)[@more@]/etc/samba/smb.conf的配置如下:
[global]

workgroup = test #域
netbios name = samba
server string = samba
realm = TEST.INTRANET #域名
hosts allow = 192.168.
security = ADS
password server = pc.TEST.INTRANET #域控制器
guest ok = yes
dns proxy = no

[homes]
comment = Home Directories
browseable = no
writeable = yes

[share] #我共享的目錄
path = /share
writeable = yes
guest ok = yes

/etc/krb5.conf的配置如下:
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log

[libdefaults]
ticket_lifetime = 24000
default_realm = TEST.INTRANET
dns_lookup_realm = false
dns_lookup_kdc = false

[realms]
TEST.INTRANET = {
kdc = 192.168.0.x (域控制器的IP)
admin_server = pc.TEST.INTRANET:749
default_domain = TEST.INTRANET
}

[domain_realm]
.test.intranet = TEST.INTRANET
test.intranet = TEST.INTRANET

[kdc]
profile = /var/kerberos/krb5kdc/kdc.conf

[appdefaults]
pam = {
debug = false
ticket_lifetime = 36000
renew_lifetime = 36000
forwardable = true
krb4_convert = false

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10617731/viewspace-962847/,如需轉載,請註明出處,否則將追究法律責任。

相關文章