Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [global]
- ; wins server = w.x.y.z
- ; interfaces = 127.0.0.0/8 eth0
- ; bind interfaces only = yes
- log file = /var/log/samba/log.%m
- max log size = 1000
- syslog = 0
- panic action = /usr/share/samba/panic-action %d
- server role = standalone server
- passdb backend = tdbsam
- obey pam restrictions = yes
- unix password sync = yes
- passwd program = /usr/bin/passwd %u
- passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
- pam password change = yes
- map to guest = bad user
- ########## Domains ###########
- ; logon path = \%Nprofiles%U
- ; logon drive = H:
- ; logon script = logon.cmd
- ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
- ; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
- ; add group script = /usr/sbin/addgroup --force-badname %g
- ############ Misc ############
- ; include = /home/samba/etc/smb.conf.%m
- ; idmap uid = 10000-20000
- ; idmap gid = 10000-20000
- ; template shell = /bin/bash
- ; usershare max shares = 100
- usershare allow guests = yes
- #======================= Share Definitions =======================
- [homes]
- comment = Home Directories
- browseable = no
- read only = yes
- create mask = 0700
- directory mask = 0700
- valid users = %S
- [Share]
- comment = Full Access Share
- path = /home/expert/Projects/expert
- browseable = yes
- writable = yes
- public = yes
- guest ok = yes
- read only = no
- create mask = 0777
- directory mask = 0777
- write list = 0777
- valid users = nobody, admin, expert, anonymous, my_email@gmail.com
- [global]
- server string = This is: %h. Welcome.
- workgroup = workgroup
- netbios name = hostname
- encrypt passwords = yes
- ## permissions
- server role = standalone
- security = user
- null passwords = yes
- map to guest = Bad Password
- guest ok = yes
- guest account = nobody
- # debug Adjust for trouble shooting
- log level = 2
- # the IPC$ connection that lists the shares is done as guest and so you must have a valid guest account.
- [IPC$]
- path = /tmp
- [lookie]
- comment = open share on %h
- path = /samba/share/lookie
- # all files copied to this share have full r/w to all
- create mask = 0777
- delete readonly = yes
- ## This user must have read/write to the share directory
- ## May require R/W for the full path up to the share. Check.
- force user = expert
- read only = No
- browseable = yes
Add Comment
Please, Sign In to add comment