



name resolve order = lmhosts host wins bcast
name resolve order = bcast lmhosts host wins;[homes]
;[netlogon]
; comment = Network Logon Service
path = /home/samba/netlogon
guest ok = yes
read only = no
sudo service smbd restart
sudo service nmbd restart

We want all Windows computers on our network to be able to access the drive so it can be mounted without having to have a username and password.
We have set up two SSD drives as RAID1 under Mint and mounted them as in /etc/fstab as /dev/md127 on /media/bfl as ntfs and rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=1000,utf8,umask=077,flush.
drwx------
[bfl_mint]
comment = disk
path = /media/bfl
public = yes
writable = yes
printable = no
force user = altair
create mask = 0775



A new drive showed up from Windows (homes, Share)
[homes]
comment = Home Directories
#browseable = yes




ls -l /etc/fstab
-rw-r--r-- 1 root root 1686 Dec 23 02:01 /etc/fstab
//192.168.0.200/Daten /media/Daten cifs rw,credentials=/home/rudi/.smbcredentials,uid=1000,gid=1000,file_mode=0755,dir_mode=0755,iocharset=utf8 0 0
sudo nano /home/rudi/.smbcredentials
username=rudi
password=geheimsudo chmod 0400 /home/rudi/.smbcredentials
sudo umount /media/Daten
sudo mount /media/Daten




Users browsing this forum: Reorx and 29 guests