Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [global]
- bind interfaces only = yes
- interfaces = lo eth0
- netbios name = OURSERVER
- server string = Office Intranet (OURSERVER) Server Version %v
- workgroup = WORKGROUP
- domain master = yes
- preferred master = yes
- os level = 34
- dns proxy = no
- log level = 3
- log file = /var/log/samba/log.%m
- max log size = 50
- nmbd bind explicit broadcast = No
- printcap name = cups
- name resolve order = wins hosts
- passdb backend = tdbsam:/etc/samba/passdb.tdb
- obey pam restrictions = yes
- passwd chat debug = yes
- unix password sync = yes
- passwd program = /usr/bin/passwd %u
- passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
- pam password change = yes
- security = user
- encrypt passwords = yes
- map to guest = Bad User
- wins support = Yes
- idmap config * : backend = tdb
- cups options = raw
- use client driver = Yes
- hosts allow = 127.0.0.1 192.168.0.0/24
- case sensitive = no
- invalid users = root
- username map script = /bin/echo
- restrict anonymous = 2
- [homes]
- comment = Home Directories
- path = /data/home/%u
- hide files = /.*/
- veto files = /.*/lost+found/bin/httpd/public/.vacation.*/.forward/
- follow symlinks = No
- create mask = 0755
- read only = No
- [Stuff]
- comment = All your base are belong to us
- path = /data/shares/stuff
- hide files = /.*/
- veto files = /.*/lost+found/bin/httpd/public/.vacation.*/.forward/
- follow symlinks = No
- access based share enum = Yes
- create mask = 0770
- directory mask = 0770
- force group = entitled
- force user = docman
- read only = No
- valid users = @entitled
- $ smbclient -L OURSERVER
- WARNING: The "syslog" option is deprecated
- Enter WORKGROUPfunster's password:
- Domain=[OURSERVER] OS=[Windows 6.1] Server=[Samba 4.4.16]
- Sharename Type Comment
- --------- ---- -------
- homes Disk Home Directories
- funster Disk Home Directories
- Stuff Disk All your base are belong to us
- IPC$ IPC IPC Service (Office Intranet (OURSERVER) Server Version 4.4.16)
- Server Comment
- --------- -------
- Workgroup Master
- --------- -------
- WORKGROUP
- $ smbtree
- WORKGROUP
- \OURSERVER Office Intranet (OURSERVER) Server Version 4.4.16
- $ smbtree -Ufunster%p4ssw0rd
- WORKGROUP
- \OURSERVER Office Intranet (OURSERVER) Server Version 4.4.16
- \OURSERVERfunster Home Directories
- \OURSERVERIPC$ IPC Service (Office Intranet (OURSERVER) Server Version 4.4.16)
- \OURSERVERhomes Home Directories
- \OURSERVERStuff All your base are belong to us
Add Comment
Please, Sign In to add comment