LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-30-2005, 05:55 PM   #1
edesmarais
LQ Newbie
 
Registered: Nov 2003
Location: Worcester, MA
Distribution: Slackware 10.2/SuSE 10.1
Posts: 25

Rep: Reputation: 15
Problem with Fedora Core 3, Samba, gnome & win 2000/XP


I have found similar posts, but nobody has a good answer and it seems as though the treads have been abandoned, so here goes:

I am currently using a Fedora Core 3 pc networked to 2 Win2k pcs and a WinXP pc. All of the windows machines have shares. The problem is that I can't view these shares using any kind of graphical file browser (I'm using gnome, FYI). I can view the workgroup and see the computers, but when I double-click a windows pc to view the shares, I get the following message:

You do not have the permissions necessary to view the contents of "Windows Network: <computername>".

I was never asked for any kind of authentication, and the windows shares are full control for everyone. I can, however, use the command-line smbclient with a specified username and password to successfully access the shares. This, however, is cumbersome for my purposes. Does anyone have any ideas?

I am running smbd, nmbd, and winbindd.

The windows machines obviously don't have this problem accessing each other's shares.

Thanks!
Evan
 
Old 03-30-2005, 05:57 PM   #2
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
what version of gnome are you using? and are you using the nautilus integrated browser?

have you tried connecting to the servers by address?
 
Old 03-30-2005, 10:03 PM   #3
edesmarais
LQ Newbie
 
Registered: Nov 2003
Location: Worcester, MA
Distribution: Slackware 10.2/SuSE 10.1
Posts: 25

Original Poster
Rep: Reputation: 15
I'm using Nautilus 2.8.1, which came with my Fedora build. I haven't tried accessing via network address, but I don't think that its a name resolution problem because it can find the computer itself, just not the shares. Furthermore, my computers (except the linux box: static) are all obtaining addresses via dhcp from my router. The linux firewall is disabled.


Also, one other unrelated question if anyone has time:

I'm running vsftpd and I was wondering if anyone knows how/if I can limit the users' collective bandwidth, i.e. allocate 40k/s bandwidth for all users to share as opposed to limiting each user separately. I tried looking into QoS, but I neither understand it nor know how to implement it. I'm not even sure if I have it installed!

Thanks,
Evan
 
Old 03-30-2005, 11:23 PM   #4
selfxplanatory
LQ Newbie
 
Registered: Mar 2005
Posts: 7

Rep: Reputation: 0
perhaps it would be good to see some of the directives in your smb.conf and vsftpd.conf files.
 
Old 03-31-2005, 10:41 AM   #5
edesmarais
LQ Newbie
 
Registered: Nov 2003
Location: Worcester, MA
Distribution: Slackware 10.2/SuSE 10.1
Posts: 25

Original Poster
Rep: Reputation: 15
Here are the contents of my smb.conf file. The only option I know of in the vsftpd.conf file is local_max_rate, which doesn't do what I'm asking. Furthermore, its more important for me to get the samba thing working.

Thanks!

smb.conf contents:
#======================= Global Settings =====================================
[global]
workgroup = WORKGROUP
server string = Samba Server
; hosts allow = 192.168.1. 192.168.2. 127.
printcap name = /etc/printcap
load printers = yes
; printing = cups
cups options = raw
; guest account = pcguest
log file = /var/log/samba/%m.log
max log size = 50
; security = user
; password server = <NT-Server-Name>
; password level = 8
; username level = 8
; encrypt passwords = yes
; smb passwd file = /etc/samba/smbpasswd
; unix password sync = Yes
; passwd program = /usr/bin/passwd %u
; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
; username map = /etc/samba/smbusers
; include = /etc/samba/smb.conf.%m
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
; interfaces = 192.168.12.2/24 192.168.13.2/24
; remote browse sync = 192.168.3.25 192.168.5.255
; remote announce = 192.168.1.255 192.168.2.44
; local master = no
; os level = 33
; domain master = yes
; preferred master = yes
; domain logons = yes
; logon script = %m.bat
; logon script = %U.bat
; logon path = \\%L\Profiles\%U
; name resolve order = wins lmhosts bcast
; wins support = yes
; wins server = w.x.y.z
dns proxy = no
; preserve case = no
; short preserve case = no
; default case = lower
; case sensitive = no
#============================ Share Definitions ==============================
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
username map = /etc/samba/smbusers
[homes]
comment = Home Directories
browseable = no
writeable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
; guest ok = no
; writeable = no
printable = yes
;[public]
write list = @administrators
[serverdrive]
path = /mnt/serverdrive
writeable = yes
valid users = evan
 
Old 03-31-2005, 12:09 PM   #6
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
you should post your Qos Question seperately.

The fact that one part of the client can find the name doesn't mean you can access it by name. SMB is not the de-facto standard becuaseits good, it's defacto becuase windows uses it. Try to connect by IP, and try to file -> connect to server,even by aname, and you might have better results.
 
Old 03-31-2005, 12:35 PM   #7
edesmarais
LQ Newbie
 
Registered: Nov 2003
Location: Worcester, MA
Distribution: Slackware 10.2/SuSE 10.1
Posts: 25

Original Poster
Rep: Reputation: 15
Ok, so I just tried to connect via address and I got the same error:

You do not have the permissions necessary to view the contents of "Windows Network: 192.168.1.100".

I'll post the QoS question separately.

Thanks.
 
Old 03-31-2005, 12:47 PM   #8
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
Are your XP machines using simple filesharing? I'm not sure that work quite right with samba, I have all kinds of problems with it.
 
Old 03-31-2005, 01:17 PM   #9
edesmarais
LQ Newbie
 
Registered: Nov 2003
Location: Worcester, MA
Distribution: Slackware 10.2/SuSE 10.1
Posts: 25

Original Poster
Rep: Reputation: 15
Yes, but the windows 2000 machines aren't.
 
Old 03-31-2005, 02:16 PM   #10
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
Are you supplying a username and password for access to the windows machines?
 
Old 04-02-2005, 12:27 AM   #11
edesmarais
LQ Newbie
 
Registered: Nov 2003
Location: Worcester, MA
Distribution: Slackware 10.2/SuSE 10.1
Posts: 25

Original Poster
Rep: Reputation: 15
How do I do that? I'm never prompted.
 
Old 04-04-2005, 09:43 AM   #12
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
when, in gnome youu select file-> connect to server in a nautilus window, it will allow you to connect to a windows share, and you cann provide a username that way. try that.
 
Old 04-24-2005, 09:01 AM   #13
Whiplash
LQ Newbie
 
Registered: Apr 2005
Location: Finger Lakes, NY
Distribution: Fedora Core 3
Posts: 1

Rep: Reputation: 0
I Have the exact same problem with my Fedora 3 Core installation and Nautilis.
However, using KDE's file browser Konqueror (if you also have KDE installed) seems to work fine. If KDE is concurrently installed, you should see Konqueror in the \bin foldder. Just make a new program launcher for it and use that instead of Nautilus. (If KDE is not installed, you should be able to install it through the package manager. KDE and Gnome can coexist quite nicely on a system.)
For some reason outside my knowledge, Nautilus doesn't like it when you change the default Samba settings. My system worked correctly when I first installed Fedora 3, but once I tweaked the Samba settings and did all the updates, it hasn't worked since. We also have this problem on another box. We haven't done any updates, but as soon as we tweaked the Samba settings slightly, it broke. Again, using Konqueror works fine.
I've triple and quadruple checked my SMB files and they look fine. With the fact that Konqueror works properly and Nautilus doesn't, I'm thinking the problem is with Nautilus itself.
I probably should have gone with KDE instead of Gnome, but it's a little late now.

Cheers!
Whiplash

Last edited by Whiplash; 04-25-2005 at 12:44 PM.
 
Old 04-24-2005, 11:28 PM   #14
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
gnome doesn't use samba config files to configure itself, it uses the most basic defaults available. Also if you're using gnome < 2.6 your going to have problems from time to time 2.8 is a significant imporvement and 2.10 is a dream, no problems what-so-ever. I'd make sure you. Also simple file-sharing on Xp has caused problems both as a client and a server; I do not advise use.
 
Old 05-19-2005, 06:46 PM   #15
gansito12
LQ Newbie
 
Registered: May 2005
Location: Tijuana, Mexico
Distribution: FC2
Posts: 2

Rep: Reputation: 0
I have the same problem only with computers on the same domain on other workgroups I have no
problems, Thais why I think is a samba problem.

is some vary can help.
 
  


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
Fedora Core 4 in Win 2000/03 Domain vrooom305 Fedora 3 08-18-2005 03:54 PM
Problem printing to a Windows 2000 server from a Fedora Core 2 workstation RThomson Fedora 0 10-22-2004 07:56 AM
Win Xp & Fedora Core 2 dual boot Problem jonfa Linux - General 1 10-02-2004 04:28 PM
Win XP + Win 2000 + Fedora Core 2 koyi Linux - Newbie 6 09-30-2004 04:09 AM
Win Xp & Win 2000 & Mandrake 9.1 (ntoskrnl missing for xp) mcbaboon Linux - Newbie 8 10-14-2003 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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