LinuxQuestions.org
Review your favorite Linux distribution.
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 07-13-2007, 06:59 AM   #1
solar1951
Member
 
Registered: May 2005
Location: France
Distribution: Ubuntu Feisty and Mint Cassandra
Posts: 86

Rep: Reputation: 15
samba frustration


Have looked through several threads but cant find solution to this problem

I have 2 machines running Ubuntu and 3 others on the network running Windows.
Machine number 1 running Ubuntu can access all the other shared folders on the network via samba
If I go to places/network servers/windows network/workgroup/ i have a list of all the machines on the network as expected.
If I select machine 1 on this network I see the shared folder "music" which has been set up to be the shared folder on that machine, but when I click on it I get the message that this "folder cannot be found - perhaps it has been deleted"

This is obviously not the case as I can get to it using nautilus.

How can I get samba to recognise this shared folder ?

My samba.conf looks OK

[Music]
path = /home/bill/Music
available = yes
browsable = yes
public = yes
writable = yes

Any ideas as this is really bugging me
 
Old 07-13-2007, 07:44 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
I see the shared folder "music"

[Music]
path = /home/bill/Music

Linux is case sensitive...
 
Old 07-13-2007, 09:36 AM   #3
solar1951
Member
 
Registered: May 2005
Location: France
Distribution: Ubuntu Feisty and Mint Cassandra
Posts: 86

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge
I see the shared folder "music"

[Music]
path = /home/bill/Music

Linux is case sensitive...
They are the same, just a typo in my post !
 
Old 07-13-2007, 10:01 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Perhaps security=user in /etc/samba/smb.conf ?
https://bugs.launchpad.net/ubuntu/+s...lus/+bug/13592
 
Old 07-14-2007, 11:33 AM   #5
solar1951
Member
 
Registered: May 2005
Location: France
Distribution: Ubuntu Feisty and Mint Cassandra
Posts: 86

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge
Perhaps security=user in /etc/samba/smb.conf ?
https://bugs.launchpad.net/ubuntu/+s...lus/+bug/13592
security=user is commented out
In fact the smb.conf file on machine 1 and machine 2 are identical and both running Ubuntu - 1 is running edgy and 2 is running feisty

Could it be related to size limitations within samba as the Music folder contains around 7 Gig ?

I think I will upgrade machine 1 to feisty and try again. I used to have Fedora 5 on this machine and overwrote that with Ubuntu could there be something left in my /home directory from SELinux that is screwing around ?

Thanks for your help anyway
 
Old 07-14-2007, 06:03 PM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
perhaps the feisty machine dosn't have a samba users list, or the shared user isn't on the list? Perhaps the server has that machine on hosts.deny (or not on hosts.allow). Perhaps the server firewall is blocking you?

https://bugs.launchpad.net/ubuntu/+s...mba/+bug/85000

Note: if you kept your old /home from fedora, there may well be some local setting messing with things for you. You may need to eyeball hidden files for anything suspicious.

A quick way to eliminate this would be to create a new usec on the feisty box (set up to access your network and samba etc like everyone else) and try accessing the share. If you can, then you know it is the user, not the host. Otherwise, it must be the host.

Last edited by Simon Bridge; 07-14-2007 at 06:10 PM.
 
Old 07-16-2007, 08:11 AM   #7
solar1951
Member
 
Registered: May 2005
Location: France
Distribution: Ubuntu Feisty and Mint Cassandra
Posts: 86

Original Poster
Rep: Reputation: 15
OK, have started to get somewhere.
Created a new user and a shared folder and was able to access with samba no problem, so I guess its something in my /home partition thats causing the problem.
Have had a quick glance but nothing stands out as a possible cause.Will do further digging.
Any hints ?

Thanks for your time from the other side of the world.
Am sitting in France waiting for the Rugby world cup in september - any ideas who maybe favorite
 
Old 07-16-2007, 08:36 PM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
So now, instead of a forbidden host, you have a forbidden user.
The simplest and fastest approach is to create a new user with the old username.

Move the users home directory first:

mv /home/username /home/username.old

(delete the user ... you'll want to do this from a root account, or an admin account.)

You can copy the files over.
The only drawback is going over customizing the settings again.

It is possible that this user has been forbidden (or not allowed) on the other servers.
 
Old 07-18-2007, 02:11 AM   #9
solar1951
Member
 
Registered: May 2005
Location: France
Distribution: Ubuntu Feisty and Mint Cassandra
Posts: 86

Original Poster
Rep: Reputation: 15
I think I will wait for Gutsy to become available in October and do a clean sweep of the /home directory then or I may set up NFS shares between the two linux machines.

Thanks for your input
 
Old 07-18-2007, 05:04 AM   #10
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
hmmm... interestingly I learned linux networking before I learned it on windows. I have the opposite problems to everybody else!

Anyway, that user test should be very fast... if the username works then you get your shares up tomorrow.
 
  


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
frustration! modules! nixel Slackware 10 05-11-2004 07:24 PM
Samba frustration debest Linux - Networking 5 08-08-2003 11:29 PM
SAMBA frustration Riptide Linux - Software 2 12-14-2002 11:14 PM
architecture frustration neo77777 Linux - General 1 06-30-2002 04:30 PM
~sobbing in frustration~ novicered Linux - Software 5 11-14-2001 11:46 PM

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

All times are GMT -5. The time now is 07:59 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
Open Source Consulting | Domain Registration