LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-02-2011, 06:00 AM   #1
unclewater
LQ Newbie
 
Registered: Nov 2011
Posts: 5

Rep: Reputation: Disabled
Samba / Windows problem


Hi All, I am new in linux. As I install samba and Ubuntu 10.04 LTS, I can access the samba share and all files that share by samba. However, I cannot browse nor access any Windows shares in Windows system, but if I stop the samba services. I can access any Windows shares from my Windows laptop.

Thank you
 
Old 11-02-2011, 07:51 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
Welcome to LinuxQuestions
Quote:
I can access the samba share and all files that share by samba However, I cannot browse nor access any Windows shares in Windows system, but if I stop the samba services. I can access any Windows shares from my Windows laptop.
Not sure I exactly understand. ..
You can access any windows shares when samba is stopped but not when it is running? How many windows computers are on the network? Are the all running windows 7?
 
Old 11-02-2011, 10:29 AM   #3
unclewater
LQ Newbie
 
Registered: Nov 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
michaelk : yes, correct. In tmy network, there is 5 Windows 7 and 2 WinXP.
 
Old 11-02-2011, 10:34 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
Thanks, can you elaborate on your original post.
 
Old 11-02-2011, 05:09 PM   #5
jonkiribati
LQ Newbie
 
Registered: Sep 2011
Posts: 23

Rep: Reputation: Disabled
could you paste also what shows the command testparm please ?
 
Old 11-02-2011, 08:06 PM   #6
unclewater
LQ Newbie
 
Registered: Nov 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
below is output from testparm

Quote:
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[Design]"
Processing section "[PMC]"
Processing section "[RD]"
Processing section "[Public]"
Processing section "[temp]"
Processing section "[Sales]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
server string = %h server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
name resolve order = lmhosts bcast host
socket options = TCP_NODELAY IPTOS_LOWDELAY
os level = 65
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
winbind trusted domains only = Yes
 
Old 11-03-2011, 09:17 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
Make sure that all of the computers have a unique netbios name.
By default samba uses the computer's hostname for the netbios name and make sure it is less then 16 characters. You can add a netbios name = to your smb.conf file if desired.

Unless you want samba to be a domain controller change to
domain master = no
preferred master = no

Changing the os level = 65 to os level = 33 will make sure it is the master browser.

Be sure to restart samba if any changes were made to the smb.conf file.
 
Old 11-08-2011, 09:39 AM   #8
unclewater
LQ Newbie
 
Registered: Nov 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
I try the above method, still no use....
When I stop the samba services in Ubuntu 10.04 LTS, the Windows Machine can see others Windows Share in Network Neighbor. However, when I start the samba services in linux, all Windows Share disappear again...

Please help.....

My Networks contains:

Win 7 Desktop x 5pcs
Ubuntu 10.04 LTS x 1

Alex
 
Old 11-08-2011, 04:08 PM   #9
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
Have you changed the setting of domain master in /etc/samba/smb.conf? It appears to be commented out by default, at least on my Ubuntu 10.04 machine. If your Samba server becomes the master browser I believe (and it has been a LONG time since I did any serious Windows networking) that it will say who is who on the network. If it is not aware of the other Windows machines and another Windows machine asks the master browser who is out there... well there is no one out there.

Just a possibility.

Ken
 
Old 11-09-2011, 03:26 AM   #10
unclewater
LQ Newbie
 
Registered: Nov 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Already try, still the same.
 
  


Reply


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
Samba - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 04:07 PM
Windows Samba Problem Orgasma Linux - Networking 4 03-07-2006 07:39 PM
Problem with Windows XP + samba JIV Linux - Networking 9 11-15-2003 04:47 AM
Samba problem(Windows 98) guanyu Linux - Networking 8 03-23-2003 04:37 AM
Windows to Samba Problem PatC Linux - Networking 11 09-19-2002 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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