歡迎您光臨本站 註冊首頁

把Linux AS 3加入到win2003的域中

←手機掃碼閱讀     火星人 @ 2014-03-24 , reply:0

/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

[火星人 ] 把Linux AS 3加入到win2003的域中已經有348次圍觀

http://coctec.com/docs/linux/show-post-133162.html