Skip to content

Instantly share code, notes, and snippets.

@cormojs
Created December 5, 2017 00:18
Show Gist options
  • Save cormojs/268fb8bf6664a2fc310c6c9e559e6997 to your computer and use it in GitHub Desktop.
Save cormojs/268fb8bf6664a2fc310c6c9e559e6997 to your computer and use it in GitHub Desktop.
[homes]
comment = Home Directories
browseable = yes
writable = yes
valid users = %S
inherit permissions = yes
@cormojs
Copy link
Author

cormojs commented Dec 5, 2017

sudo smbpasswd -a cat

@cormojs
Copy link
Author

cormojs commented Dec 5, 2017

sudo /etc/init.d/smbd restart

@cormojs
Copy link
Author

cormojs commented Dec 5, 2017

#### Networking ####

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
   interfaces = 192.168.56.1/24 enp0s8

@cormojs
Copy link
Author

cormojs commented Dec 5, 2017

cat /var/log/samba/log.までタイプしてtabキー

@aqua-cat
Copy link

aqua-cat commented Dec 5, 2017

process_usershare_file: stat of /var/lib/samba/usershares/cat failed. そのようなファイルやディレクトリはありません

@aqua-cat
Copy link

aqua-cat commented Dec 5, 2017

process_usershare_file: stat of /var/lib/samba/usershares/cat failed. そのようなファイルやディレクトリはありません
[2017/12/05 09:27:45.144661, 0] ../source3/param/loadparm.c:3259(process_usershare_file)

@aqua-cat
Copy link

aqua-cat commented Dec 5, 2017

cat@sakuma:~$ ls /var/log/samba/log.192.168.0.113
ls: '/var/log/samba/log.192.168.0.113' にアクセスできません: そのようなファイルやディレクトリはありませ

@aqua-cat
Copy link

aqua-cat commented Dec 5, 2017

cores log.192.168.56.1 log.nmbd log.wb-BUILTIN log.winbindd
log. log.megshumakki-pc log.smbd log.wb-SAKUMA log.winbindd-idmap

@aqua-cat
Copy link

aqua-cat commented Dec 5, 2017

[2017/12/04 07:30:55.819472, 0] ../lib/util/become_daemon.c:124(daemon_ready)
STATUS=daemon 'smbd' finished starting up and ready to serve connections

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment