LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-02-2010, 05:27 PM   #1
toshiro
LQ Newbie
 
Registered: Jan 2003
Distribution: Debian, Ubuntu, Solaris
Posts: 24

Rep: Reputation: 0
Windows computers can't resolve samba share names in 10.04


After upgrading my ubuntu server from 9.04 to 10.04, the window computers couldn't resolve samba shared names anymore, the error code displayed by Windows was 0x80070035.

I was using the ubuntu server as a samba server, using 'share' as the security authentication method, it has been working very well under previous ubuntu versions but, after upgrading to 10.04, the windows computers can't access the server shares anymore; the linux computers don't have any problems (I can access the shares from linux).

As a workaround, I've added the name of the server in c:\windows\system32\drivers\etc\hosts; but I'd like to know how to fix the problem without modifying every windows computer.

Any ideas?

Thanks in advance for any help.
 
Old 10-19-2010, 03:38 PM   #2
gjarboni
LQ Newbie
 
Registered: Aug 2009
Posts: 11

Rep: Reputation: 2
To fix the problem you need to determine what machine is doing Windows Name resolution. Under Windows this is the WINS server. Go to a Windows machine, open up a command prompt (Start,Run, cmd.exe) and type:

Code:
ipconfig /all
You'll see output that looks like this:

Code:
Windows IP Configuration

        Host Name . . . . . . . . . . . . : HOST
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : Yes
        WINS Proxy Enabled. . . . . . . . : Yes

Ethernet adapter Local Area Connection 8:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : VMware Accelerated AMD PCNet Adapter

        Physical Address. . . . . . . . . : 00-0C-29-A4-E5-EA
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 1.2.3.4.71
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 1.2.3.1
        DNS Servers . . . . . . . . . . . : 1.2.3.12
                                            1.2.3.145
        Primary WINS Server . . . . . . . : 1.2.3.12
The last line is the important one. I'm guessing that the IP address there is the IP address of the Ubuntu server in question. If so, then you need to figure out why the Ubuntu server isn't acting as a WINS server anymore. The process that should be running is nmbd. The command "ps auwx | grep nmbd" will tell you if it's running:

Code:
user@user-desktop:/etc/network$ ps awux | grep nmbd
user   7154  0.0  0.0   3324   800 pts/6    S+   16:36   0:00 grep nmbd
root  19151  0.0  0.0   8676  1604 ?        Ss   Sep15   0:28 nmbd -D
In this case it's process 19151. If nmbd -D isn't listed you need to figure out why it's not starting. You can run it from the command line:

Code:
sudo nmbd -D
and see if an error is reported.
 
1 members found this post helpful.
  


Reply

Tags
samba


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
Enable Windows to share remote Samba files to other computers TheOneAndOnlySM Linux - Networking 3 11-03-2008 08:39 PM
Linux/Samba PDC can't resolve windows names wbacon Linux - Networking 0 02-21-2008 09:42 AM
Windows 98 computers does not reconnect to SAMBA share eswanepoel Linux - Software 2 07-24-2007 02:10 AM
Unable to share files from my linux to windows computers through samba Niceman2005 Linux - Software 5 05-21-2006 08:19 PM
SAMBA: display of share names is OK but files names are wrong superandrzej Linux - Software 5 02-02-2004 09:14 AM


All times are GMT -5. The time now is 05:09 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