Create a Shared Directory on Samba AD DC and Map to Windows/Linux Clients

https://blog.csdn.net/mmh19891113

1、首先配置/etc/samba/smb.conf

1
2
3
4
5
6
7
8
9

[dailybuild]
path = /dailybuild
read only = no
create mask = 0644
directory mask = 0755
hide files = /lost+found/


1
2
3
4
5
6
7
8
9
10
buildfarm@fs-share:~$ ll /dailybuild/
total 28
drwxr-xr-x 4 root root 4096 Jun 5 14:14 ./
drwxr-xr-x 24 root root 4096 Jun 4 12:54 ../
drwx------ 2 root root 16384 Jun 5 14:01 lost+found/
drwxrwxrwt 133 srv-buildfarm domain users 4096 Jun 5 14:57 share/

chmod 777 share
chmod +t share

参考https://www.tecmint.com/create-shared-directory-on-samba-ad-dc-and-map-to-windows-linux/