编译安装:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
$ yum install -y gnutls-devel python python-devel python-lib* libacl-devel openldap-devel gcc gcc-c++ $ cd samba-4.4.13 $ ./configure --prefix=/opt/samba-4.3.13 $ make && make install $ cd /usr/local/samba/etc/ $ cp smb.conf smb.conf_$(date +$F) $ cat sma.conf [global] workgroup = WORKGROUP server string = Dazhen Samba Server server role = standalone server log file = /usr/local/samba/var/log.%m hosts allow = 10. max log size = 50 dns proxy = no max connections = 100 security = user encrypt passwords = yes [test_Group] comment = test browseable = yes path = /data/labels writable = yes admin users = eason public=no create mask=0770 directory mask=0770 $ /usr/local/samba/bin/smbpasswd -a scott $ /usr/local/samba/bin/smbpasswd -e scott $ /usr/local/samba/sbin/nmbd -D $ /usr/local/samba/sbin/smbd -D |
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!