User Tools

Site Tools


ubuntu:samba:samba_configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:samba:samba_configuration [2019/12/08 18:44] peterubuntu:samba:samba_configuration [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 168: Line 168:
 <code bash> <code bash>
 ## Option: manually kill and start on OpenBSD ## Option: manually kill and start on OpenBSD
- pkill smbd;pkill nmbd +pkill smbd;pkill nmbd 
- /usr/local/libexec/smbd /etc/samba/smb.conf +/usr/local/libexec/smbd /etc/samba/smb.conf 
- /usr/local/libexec/nmbd /etc/samba/smb.conf+/usr/local/libexec/nmbd /etc/samba/smb.conf
  
 ## Option: HUP on OpenBSD ## Option: HUP on OpenBSD
- kill -HUP `cat /var/run/smbd.pid` +kill -HUP `cat /var/run/smbd.pid` 
- kill -HUP `cat /var/run/nmbd.pid`+kill -HUP `cat /var/run/nmbd.pid`
 </code> </code>
  
Line 185: Line 185:
 Place it in the /etc/fstab on the machine you want to mount from. Place it in the /etc/fstab on the machine you want to mount from.
  
-In this example we have two machines, samba_box which runs samba and another machine called BSD_box where we want to see the files from.  This line will mount the directory /big_disk/archive from //samba_box to /dir_name on BSD_box. The mount will be read only and log in as guest.  This works fine with the example smb.conf from above.+In this example we have two machines, samba_box which runs samba and another machine called BSD_box where we want to see the files from.  This line will mount the directory /big_disk/archive from <nowiki>//samba_box</nowiki> to /dir_name on BSD_box. The mount will be read only and log in as guest.  This works fine with the example smb.conf from above.
  
 <file bash /etc/fstab> <file bash /etc/fstab>
Line 191: Line 191:
 //samba_box/big_disk/archive   /dir_name   cifs   ro,username=guest,password=guest 0 0 //samba_box/big_disk/archive   /dir_name   cifs   ro,username=guest,password=guest 0 0
 </file> </file>
- 
- 
  
ubuntu/samba/samba_configuration.1575830643.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki