发布网友 发布时间:2022-02-26 09:45
共5个回答
热心网友 时间:2022-02-26 11:14
linux加入域是可以做的,相关资料看看《linux服务器配置全程实录》,ip配置可以修改/etc/sysconfig/network-scripts/ifcfg-eth0 命令配置是ifconfig 网卡 ip netmask getway 相关参数查阅 man ifconfig
热心网友 时间:2022-02-26 12:32
/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
热心网友 时间:2022-02-26 14:07
设置ip的文件么,这样应该就可以了,只要保证linux和windows在同一个局域网内就好了啊。要么网关一样
没记错的话是在 /etc/sysconfig/network-script/ifcfg-eth0
热心网友 时间:2022-02-26 15:58
这个不太清楚,只知道ifconfig
热心网友 时间:2022-02-26 18:06
用setup