1 Replies - 3075 Views - Last Post: 14 June 2012 - 09:32 PM

#1 izrafel  Icon User is offline

  • D.I.C Head

Reputation: 11
  • View blog
  • Posts: 95
  • Joined: 24-July 09

problems with mounting a windows 7 shared folder in linux

Posted 14 June 2012 - 12:34 PM

Ok here is the situation, i have a mixed network(windows xp, windows 7, some linux machine (centOS)), the linux machine works as a server, and i want the server to have access to the shared folders of the other machines connected in the local network.
i have no problem mounting shares from windows xp, i have problems with the windows 7 shares.
smbtree


returns
WORKGROUP
#some othe shares
 \\MACHINENAME
cli_rpc_pipe_open: cli_nt_create failed on pipe \srvsvc to machine MACHINENAME.  Error was NT_STATUS_ACCESS_DENIED


tried with
smbtree -U username


same result.
Then i tried
nmblookup MACHINENAME


the result
192.168.1.5 MACHINENAME<00>
169.254.249.23 MACHINENAME<00>


where can 169.254.249.23 come from?
the i tried to mount directly with the IP
 mount -t cifs //192.168.1.5/sharename /mnt/aa/ -o user=username


the result
mount error 5 = Input/output error
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


the windows 7 user has only username, with no password. any idea where the problem may come from?

Is This A Good Question/Topic? 0
  • +

Replies To: problems with mounting a windows 7 shared folder in linux

#2 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5436
  • View blog
  • Posts: 11,652
  • Joined: 02-June 10

Re: problems with mounting a windows 7 shared folder in linux

Posted 14 June 2012 - 09:32 PM

Quote

Error was NT_STATUS_ACCESS_DENIED


Access denied. The folder is not shared - or is not shared TO YOU.

There were a LOT of changes in sharing and security between XP and Win7.

Being a Linux guy, are you familiar proficient with Win7 sharing?
If you had to share a folder between two Win7 machines would you be able to? I'm not trying to be mean. I'm just saying if you can't share on the same OS then there is probably going to be even more difficulty with sharing across multiple OSes.

Personally, I'd start by making the folder visible to Everyone.
Then see if I can see it from another Win7 machine and take it from there.

Attached Image

Attached Image

After that, there are ton of detailed instruction pages on the web that come up if you Google "Share Windows7 to Linux"
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1