Centos 需要安装Samba服务器的帮助吗

Centos 需要安装Samba服务器的帮助吗,centos,samba,Centos,Samba,我的朋友有一台运行在VMWare上的CentOS v7.3服务器。这是一台旧服务器,因此他无法升级CentOS(硬件)。Hid程序员仍然没有工作,他要求我设置他的Samba,以允许从域中的Windows7工作站访问CentOS服务器 他还希望能够从CentOS服务器连接到Windows工作站 我对桑巴舞的了解很危险。他承认他们从未让它发挥作用!我需要钱,所以如果我能让它运转起来那就太好了 我复制了Samba脚本并更改了域名等,有人能帮忙吗 [global] log file = /var

我的朋友有一台运行在VMWare上的CentOS v7.3服务器。这是一台旧服务器,因此他无法升级CentOS(硬件)。Hid程序员仍然没有工作,他要求我设置他的Samba,以允许从域中的Windows7工作站访问CentOS服务器

他还希望能够从CentOS服务器连接到Windows工作站

我对桑巴舞的了解很危险。他承认他们从未让它发挥作用!我需要钱,所以如果我能让它运转起来那就太好了

我复制了Samba脚本并更改了域名等,有人能帮忙吗

[global]
    log file = /var/log/samba/log.%m
    load printers = no
    domain master = no
    hosts allow = 127. 192.168.0.0/24
    encrypt passwords = yes
    realm = xxxxxxxx.com
    passdb backend = tdbsam
    netbios name = RHServer1
    cups options = raw
    server string = Samba Server Version %v
    password server = ADServer.xxxxxxxx.com
    default = netlogon
    os level = 20
    printcap name = /dev/null
    preferred master = no
    max log size = 5
    domain logons = yes
;   security = user

         # log files split per-machine:
        # enable the following line to debug:
        # log level =3
        # maximum size of 50KB per log file, then rotate:
;   id map config * : backend -tdb

         # Not interested in printers

[homes]
    comment = Home Directories
    browseable = yes
    writable = yes
#   valid users = %S
    valid users = DOMAIN\%S

[Web]
    comment = Web Servers
    browseable = yes
    writable = yes
    path = /var/www/
    guest ok = no
#   valid users = %S
    valid users = DOMAIN\%S

# Un-comment the following and create the netlogon directory for Domain Logons:
    [netlogon]
    comment = Network Logon Service
    path = /var/lib/samba/netlogon
    guest ok = no
    writable = no

# Un-comment the following to provide a specific roaming profile share.
# The default is to use the user's home directory:
    [Profiles]
    path = /var/lib/samba/profiles
    browseable = no
    guest ok = yes

如果你只需要创建Windows共享,那么它应该是一个简单的设置,远离危险!!!如果你知道怎么做就容易了!