<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">I may have a clue as to what is going
on. If I do ls -l on my FreeNAS system, these are the permissions
for the Windows Share:<br>
drwxrwxr-x+ 6 nobody nobody 7 Sep 10 04:11 Windows<br>
Now, if I do <br>
# file: {path to Windows}
<br>
# owner:
nobody
<br>
# group:
nobody
<br>
owner@:rwxpDdaARWcCos:fd----:allow
<br>
group@:rwxpDdaARWcCos:fd----:allow
<br>
everyone@:r-x---a-R-c---:fd----:allow <br>
<br>
I don't know what all this means.<br>
The other shares have permission drwxrwxr-x without the + sign.<br>
<br>
So, where is the key that has expired, how do I refresh it, and
how do I make it last forever. I can access the files with
Konqueror or Dolphin, and I can create a linked directory to it,
but (for example), I cannot use things like DigiKam to look at
them because it does not show as being mounted anywhere.<br>
<br>
Thanks for any help.<br>
<br>
Murray<br>
--------------------------------<br>
<br>
On 2015-09-07 11:47 AM, Murray Strome wrote:<br>
</div>
<blockquote
cite="mid:908973956.19523146.1441651647578.JavaMail.root@shaw.ca"
type="cite">
<style> body {height: 100%; color:#000000; font-size:10pt; font-family:Arial;}</style>I
tried:<br>
sudo mount -t cifs -ousername=guest //{freenas server
IP}/mnt/free-nas/Windows /Windows<br>
<br>
<span>and got the following:</span><br>
<br>
mount: Key has expired</blockquote>
<br>
<br>
<blockquote
cite="mid:908973956.19523146.1441651647578.JavaMail.root@shaw.ca"
type="cite">I guess I have done something wrong! I think it
worked the first time I tried it on one computer, but now I am
having problems. I may have copied something incorrectly from the
session on Saturday. <br>
<br>
<span>I tried putting the following line into /etc/fstab:</span><br>
<span>//{NAS Server IP}/mnt/nas-server/Windows cifs
defaults,username=guest,password= 0 0</span><br>
<br>
<span>and if I try</span><br>
<span>sudo mount</span><span style="font-size: 13.3333px;">//{NAS
Server IP}/mnt/nas-server/Windows}/</span><span
style="font-size: 13.3333px;">mnt/nas-server/Windows</span><span
style="font-size: 13.3333px;">/Windows</span><br>
<span>or</span><br>
<span style="font-size: 13.3333px;">sudo mount -t cifs</span><span
style="font-size: 13.3333px;">//{NAS Server
IP}/mnt/nas-server/Windows}/</span><span style="font-size:
13.3333px;">mnt/nas-server/Windows</span><span
style="font-size: 13.3333px;">/Windows</span><br>
<br>
<span>it says</span><br>
<br>
mount: wrong fs type, bad option, bad superblock on
//192.168.0.118/mnt/nas-server/Windows,<br>
missing codepage or helper program, or other error<br>
(for several filesystems (e.g. nfs, cifs) you might<br>
need a /sbin/mount.<type> helper program)<br>
In some cases useful info is found in syslog - try<br>
dmesg | tail or so<br>
<br>
I then did<span style="font-size: 13.3333px;">dmesg | tail and
this is what it tells me (I think the error -127 means key
expired)</span><br>
[ 2806.919769] Status code returned 0xc0000072
NT_STATUS_ACCOUNT_DISABLED<br>
[ 2806.919774] CIFS VFS: Send error in SessSetup = -127<br>
[ 2806.919944] CIFS VFS: cifs_mount failed w/return code = -127<br>
<br>
<span>I can still access the Share by</span><span
style="font-size: 13.3333px;">smb://nas-server.local:445/Windows
in Konqueror but I don't know how I can cd to it from a terminal</span><br>
<br>
<span>Can anyone spot what I am doing wrong? (the share is owned
by guest and has no password)</span><br>
</blockquote>
<br>
</body>
</html>