Hi Alexander,
for me a trailing slash for the source did the trick, so you may try
$ cat /etc/fstab
//slug/nfs/ /media/slug cifs rw,sec=ntlmv2,user=nfs,password=xxx 0 0
#this one ^
As far as I got it, the mtab entry receives the slash automatically
while mounting, resulting in different entries in mtab and fstab. And
that causes further confusion, because the fstab entry can still be
mounted, resulting in multiple entries for the same source/directory
pair. I neither know if adding this slash while mounting is a bug, nor
which package is responsible. But I thought the slogan "It's not a bug,
it's a feature !" had a Microsoft copyright.
I am using the following options in fstab:
//host/share/ /mnt/point cifs noauto,user,credentials=/path-to/cred_file
where cred_file contains three lines (NO spaces around the "=" sign !):
username=<user>
password=<pw>
domain=<dom>
Without the "noauto" option the source gets mounted by root. The "user"
in the credentials file is ignored (another bug ?).
The "user" (or "users") option is necessary to display the unmounted
share in nautilus. The mounting happens at the first click.
I hope this was helpful.
Ulrich