Hi there!
Iḿ already spending days to connect my linux laptop (Elementary OS) to my synology NAS (DSM 4.2). I finally was able to mount my Nas share to a home folder. Even on startup

. The big trick was to delay the mounting else it was to soon (i really like the speed of Linux!).
I was happy, until I actually started using my external network drive. I can read it, but not write to it. I have done pretty much everything I can find on the web, but to no result.
What i have done:
In fstab the following works (without the writing permissions)
Code:
//ipnas/NAS /home/NAS cifs credentials=/home/wiebe/.smbcredentials 0 0
I made a smbcredentials file which is read correctly on boot
As soon as I add uid=1000, gid=1000 as parameters in fstab I get an error. Also file_mode=0777 doesnt work (and many other things). Its for me a needle in a haystack. Who can help me out?
Maybe it has to do that Im unable to install swat by apt-get install swat?
Some info:
With testparm -s:
Code:
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
# Global parameters
[global]
server string = %h server (Samba, Ubuntu)
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
With ls -dl:
Code:
drwxrwxrwx 32 wiebe wiebe 4096 sep 15 15:23 .
Hope somebody can help me out?!