LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-14-2012, 02:44 PM   #1
izrafel
LQ Newbie
 
Registered: Jun 2007
Distribution: Ubuntu
Posts: 9

Rep: Reputation: 0
problems with mounting a windows 7 shared folder in linux


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.
Code:
smbtree
returns
Code:
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
Code:
smbtree -U username
same result.
Then i tried
Code:
nmblookup MACHINENAME
the result
Code:
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
Code:
 mount -t cifs //192.168.1.5/sharename /mnt/aa/ -o user=username
the result
Code:
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?
not quite sure is this is a linux problem, but it would be nice to have some light on the issue, where might the problem be coming from.
 
Old 06-14-2012, 03:10 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,568

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Its a windows side problem. Here is some info to read up on(its windows XP but the same fundamentals apply here) http://mixeduperic.com/windows/how-t...windows-7.html.

You need to make sure you setup your Guest account to have permissions to the folder you are sharing and setup firewall rules to let the connections through.
 
  


Reply

Tags
cifs, mount, samba, windows 7


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Shared folder between Windows and Linux(vmware server) sysmicuser Linux - Newbie 3 07-08-2011 09:21 AM
windows cannot read linux's shared folder gymnart Linux - Software 21 04-23-2009 11:39 AM
Accessing Linux shared folder from Windows XP bekiricli Linux - Newbie 8 02-10-2009 03:50 PM
Access Linux shared folder from Windows OS nitinpjairaj Linux - Software 1 08-26-2008 10:54 AM
trouble mounting linux shared folder jerryfreak Linux - Networking 1 10-15-2004 12:41 PM


All times are GMT -5. The time now is 09:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration