LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-18-2009, 02:16 PM   #1
mac1234mac
Member
 
Registered: Sep 2005
Posts: 183

Rep: Reputation: 30
problems with Samba between Mandriva 2009 Spring and Windows 7


Hello,

I've got problems with exchanging files between Linux and Win 7.
When I try 'smbclient -L 192.168.0.170' on Mandriva this is what I get:




[mac@localhost ~]$ smbclient -L 192.168.0.170
Enter mac's password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 7 Ultimate 7100] Server=[Windows 7 Ultimate 6.1]

Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
session request to 192.168.0.170 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available

What's wrong?.

Cheers.
 
Old 08-19-2009, 08:19 AM   #2
tralston
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
Lightbulb Authentication/Security Settings

I ran into the same problem today. Although I'm using Ubuntu 9.04, I think for smbclient the requirements are the same. My setup:
  • Main OS: Ubuntu 9.04 (32-bit), Laptop
  • 2nd OS: Windows 7 Ultimate (VMWare Workstation 6.5.2) (32-bit), same Laptop

When I have the vmware client running, I'm trying to connect to a share I made on the Windows 7 "box". Here's what I changed (to get it to work). This is by no means completely diagnostic, because when it worked I stopped looking for answers... (lol)

I had to first change the network settings for the current internet connection. They were on "Public", and I noticed that in changing the advanced sharing options (from Network and Sharing Center), that none of the sharing options were on for the Public scheme. So I changed the current network connection to Home. I did this in the Network & Sharing Center by clicking on the "Public" (or whatever yours is) security status beneath the icon of the network under "View your active networks".

Secondly (not sure if this step is necessary, but I did it anyway), I assigned a password to the default user account. I know that when a regular windows computer connects to another one with sharing and the sharing computer has no password, it won't let you do it until the proper security measures are set up.

Thirdly, since the user account name on my linux and windows comps are different, i needed to add the -U option to the smbclient line. If your username has spaces, then just enclose it in quotes:
Code:
smbclient -L WindowsComp -U "User Name"
Then it listed all the correct shares. I hope this helps.
 
  


Reply



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
can i boot mandriva 2009 spring from cdr and keep windows kevin89x Linux - Newbie 23 06-29-2009 03:34 AM
Mandriva Linux 2009.1 *Spring) released to the public today - 29, April 2009 ernie Mandriva 13 06-12-2009 05:58 PM
how to set the right screen resolution in MANDRIVA SPRING 2009 kareth Mandriva 1 06-08-2009 11:41 PM
Mandriva Linux 2009 Spring (2009.1) has been officially released! tux99 Mandriva 1 04-30-2009 10:07 AM
LXer: Mandriva Linux 2009 Spring is now available LXer Syndicated Linux News 0 04-30-2009 06:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration