LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-02-2004, 01:48 AM   #1
CanadianSlacker
LQ Newbie
 
Registered: Dec 2003
Location: Cobourg, ON
Distribution: Slackware 10/Suse 9.2
Posts: 19

Rep: Reputation: 0
Can't browse Windows Workgroup due to Samba?


"Windows workgroup is not accessible; do not have permission to use the network."

Other than EASILY browsing my Windows network, I have no problem connecting to other machines, such as my Samba server, as long as I do a search.

I'm thinking Samba is the problem; I may not have it configured properly.

I've tried to edit smbusers with "root = <windows accounts>", which is mapped to smb.conf: "user map = /etc/samba/smbusers"

Again, connectivity is not exactly the problem - I just have to do it the hard way.

So, to the point - I'd like to know what is causing this and how to make my network browsable again.

Thanks a lot!
 
Old 05-02-2004, 08:20 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Did you edit /etc/samba/smb.conf to use the same workgroup as the Windows workgroup? The default set by Samba is probably not right.
 
Old 05-02-2004, 01:56 PM   #3
CanadianSlacker
LQ Newbie
 
Registered: Dec 2003
Location: Cobourg, ON
Distribution: Slackware 10/Suse 9.2
Posts: 19

Original Poster
Rep: Reputation: 0
That isn't it. The workgroup is set, and on top of this, they have co-existed before.

It has been suggested to me that it may have to do with the smbusers file?

What is the syntax for that file?

<Linux user> = <Windows users> (in quotes?

If I mapped Windows accounts to Linux accounts, could that give my Windows accounts permission to view the workgroup?
 
Old 05-07-2004, 02:45 PM   #4
CanadianSlacker
LQ Newbie
 
Registered: Dec 2003
Location: Cobourg, ON
Distribution: Slackware 10/Suse 9.2
Posts: 19

Original Poster
Rep: Reputation: 0
*bump*
 
Old 05-07-2004, 07:49 PM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Quote:
Originally posted by CanadianSlacker
That isn't it. The workgroup is set, and on top of this, they have co-existed before.

It has been suggested to me that it may have to do with the smbusers file?

What is the syntax for that file?

<Linux user> = <Windows users> (in quotes?
Have you actually even opened /etc/samba/smbusers and looked at it?

The first thing mine says is:
Quote:
Unix_name = SMB_name1 SMB_name2 ...
Thus, that would be the syntax of the file. However, the fact that it says "SMB_name" indicates that the users should be added and enabled in smbpasswd; if said users are not authorized in that manner, it seems likely that adding them to smbusers may not be much help.

Have you done that (open terminal, su to root, smbpasswd -a -e <username> <password>)? Users must exist on your Linux system to be added to smbpasswd using this command (recreate the Windows user on the Linux system unless it's the guest account, which is already set in my smbusers, at least-- and possibly yours as well).

If you suspect that Samba is not properly configured, wouldn't it be useful to post the contents of /etc/samba/smb.conf so that we could check it? If the boxes have "co-existed" before, what has changed in your configuration between when it worked and when it didn't?

You say, "I have no problem connecting to other machines, such as my Samba server," as if the machine that is having problems is actually a Samba client, rather than a Samba server itself. This implies that there are more than two machines involved-- one which serves Linux shares (the Samba server); one which serves Windows shares (the Windows Samba server); and one which does not serve shares but reads shares from both (the Samba client). Is this in fact the case? Is the machine that cannot connect to the workgroup not sharing files from itself, but only trying to connect to shares from the Windows box? If so, can the actual Samba server (or any other involved box) connect to the workgroup? If so, then why are you messing about with Samba configuration-- as far as clients go, most of the configuration to allow a client to connect to a Windows workgroup needs to be done in Windows, and the message in any case specifically says that there's a network problem which probably means that either the actual network config is borked (perhaps unlikely since you can connect to other boxes), or that Windows is rejecting your authentication, which problem generally has to be solved in Windows.

How exactly are you trying to access the Windows shares? Via the command line? Via LinNeighborhood? Via Nautilus or Konqueror's SMB browsers? Some other way (like the GNOME SMB browser app, JAGS, or some other standalone SMB browser)? Are you trying to mount the Samba shares on the fly, or are they listed in /etc/fstab? If so, what is the exact listing or command that you're using?

Has it not occured to you that you need to bump the thread because you haven't given enough information for anyone to answer reliably, and maybe people don't feel like guessing in the dark this week?

Last edited by motub; 05-07-2004 at 07:50 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't browse workgroup (suse 9.3) mbquartnut Linux - Networking 1 11-09-2005 11:04 PM
Unable to browse WORKGROUP when samba running mariusak Linux - Networking 10 05-30-2005 07:44 AM
Samba on a windows xp home workgroup eladla Linux - Networking 1 07-03-2004 04:09 PM
can't browse windows workgroup when linux box online revdshepard Linux - Networking 2 02-04-2004 03:14 PM
connecting to windows workgroup using samba? linoob Linux - Newbie 7 10-23-2002 09:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration