# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2005-12-01
[global]
workgroup = TUX-NET
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = //%L/profiles/.msprofile
logon home = //%L/%U/.9xprofile
logon drive = P:
[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[ycportal]
comment = ycportal
path = /apps/ABCCQ.ear/ycportal.war
valid users = wasadmin
writable = yes
[webpublish]
comment = webpublish
path = /soft/WebSphere/AppServer/installedApps/WAS/webpublish.ear
valid users = wasadmin
writable = yes
[sybaseBackup]
comment = sybase Backup File
path = /sybase/backup
valid users = wasadmin
writable = yes
[waslog]
comment = waslog
path = /soft/WebSphere/AppServer/logs/server1
valid users = wasadmin
writable = yes
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
分享到:
相关推荐
Ubuntu下配置samba实现文件夹共享 一. samba的安装: sudo apt-get insall samba ...sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak 2. 修改现配置文件 sudo gedit /etc/samba/smb.conf 在smb.conf最后
this is my smb.conf. you can use easily. just copy it /etc/samba and restart your samba.
将samba源码目录samba-4.1.6中的samba-4.1.6/examples/smb.conf.default复制到安装目录,一般是/usr/local/samba/etc/中 cp ~/samba-4.1.6/examples/smb.conf.default /usr/local/samba/etc/ 修改配置文件 sudo vim...
centos 7安装Samba ...安装Samba: yum install -y samba samba-client 2.修改配置文件: vim /etc/samba/smb.conf ...打开samba的配置文件/etc/samba/smb.conf [global]部分 把”MY GROUP”改成”WORKGROUP” 在“securit
# vim /etc/samba/smb.conf #设置smb.conf配置文件 图5:设置smb.conf配置文件 [global] workgroup = WORKGROUP #设置主机工作组 server string = Samba Server Version %v #samba服务注释 log level = 1 #设置日志...
现在默认的源一般比较难安装samba、tftp等工具,该共享文件给出的源可以很好的解决上述问题,请下载完该文件后,先备份原来的源文件,再将该文件拷贝到/etc/apt/目录,重命名为sources.list,然后apt-get update、 ...
3.Samba配置文件存放在:.etc/samba/smb.conf 包括三个个设置选项: [homes]:设置用户宿主目录共享; [printers] :设置打印机共享 [sharefiles] :设置文件共享 注:行前有分好”“;”或英镑符“#”表示注释 4....
samba文件路径 /home/samba
samba的介绍。smb.conf文件的配置
samba共享服务器配置文件,简单实现samba服务器共享多个文件夹,下载替换/etc/samba/smb.conf文件即可
step2:修改Samba主配置文件smb.conf。 vim /etc/Samba/smb.conf Samba服务器的配置 step1:建立share目录,并在其下建立测试文件。 修改主配置文件,并保存结果 [global] workgroup = Workgroup #设置Samba服务器...
关于samba的相关配置,可以直接拷贝smb.conf,修改下面的文件路径,如有问题请参考我的博客https://blog.csdn.net/weixin_39559301/article/details/103418091,配置是一样的
NULL 博文链接:https://lindows.iteye.com/blog/883586
SMB/CIFS URL to a file located on a SMB/CIFS server (e.g.: MS Windows share or Samba server, syntax: smb://[user:password@]hostname/share/[dirpath/]mdbfile): jdbc:jstels:mdb:smb://your_server/your_...
Ubuntu 系统, samba 服务器的配置文件, samba安装后默认是通过guest 访问的, 感觉不太安全, 而且不方便使用指定的用户名和密码去访问对应权限的文件, 改为需要用户名密码才能访问samba, 注:必须通过smbpasswd -a ...
Samba(SMB是其缩写) 是一个网络服务器,用于Linux和Windows共享文件之用;Samba 即可以用于Windows和Linux之间的共享文件,也一样用于Linux和Linux之间的共享文件;不过对于Linux和Linux之间共享文件有更好的网络...
实验三:Samba多用户共享配置 一、实验目的 掌握Samba多用户共享配置 二、实验内容与步骤 1 、按权限对目录进行分组访问(配置用户名和密码访问的samba服务) # useradd -s /sbin/nologin renli //先建立系统用户 # ...
JAVA SMB共享文件夹操作文件jar支持smb2、smb3.rar
通过jcifs实现java访问网络共享文件 jcifs 是 cifs(common internet file system) java的实现 smb (service message block) to be cifs jcifs 是一个开源项目 可从http://jcifs.samba.org/下载 SmbFileInputStream...
而网上能找到的smb.conf文档,要么版本较旧,要么关键部分没有翻译,看着头疼,因此就着手自己使用的Samba4.7版的smb.conf进行了翻译,以便备用。 理科生写文档历来不是件容易的事,原文的英文版本嵌套的语法结构较...