first let me describe the setup I have.
I have an G3 ibook running 10.3.9 using an airport card which is connected to a Netgear router. The Desktop is running Fedora 4 and is connected to the router via an ethernet cable. Firewalls are turned off and I'm using samba, To cap this off I am rather new to Linux and networking.
Using the desktop I can see my home directory on the ibook and do everything I want (that part is great) while on the ibook I can connect to the Desktop I can ssh, ftp with no problem but I can not see the home directory on the desktop. Every now and then I see in the Network folder an icon for the desktop computer but it's faded and when I click on it I get "The alias "ODEN" could not be opened, because the original item cannot be found" when I try to connect to the server with the address smb://username@ipaddress/share I get "could not connect to server because the name or password is not correct"
I have searched the net looking for an answer, but I guess the problem is with me and not a bug because it seems I am the only person who has this problem.
Any ideas on how this idiot can fix it ... :) thanks
On Sun, 2005-10-02 at 01:23 +1000, Eric Johns wrote:
first let me describe the setup I have.
I have an G3 ibook running 10.3.9 using an airport card which is connected to a Netgear router. The Desktop is running Fedora 4 and is connected to the router via an ethernet cable. Firewalls are turned off and I'm using samba, To cap this off I am rather new to Linux and networking.
Using the desktop I can see my home directory on the ibook and do everything I want (that part is great) while on the ibook I can connect to the Desktop I can ssh, ftp with no problem but I can not see the home directory on the desktop. Every now and then I see in the Network folder an icon for the desktop computer but it's faded and when I click on it I get "The alias "ODEN" could not be opened, because the original item cannot be found" when I try to connect to the server with the address smb://username@ipaddress/share I get "could not connect to server because the name or password is not correct"
I have searched the net looking for an answer, but I guess the problem is with me and not a bug because it seems I am the only person who has this problem.
Any ideas on how this idiot can fix it ... :) thanks
Ahh, Samba can give me fits at times. First I may be talking out of my ass, but since OSX is Unix like you may want to look into setting up cross NFS shares instead. Samba is really for trying to interface Unix-Windows, and NFS may not be as complicated. However I know little about OSX, so that may not be an easy task.
The first thing I would ask is if SELinux is enabled on the desktop. I would also like to see the output of
smbclient -L [ hostname of the desktop ] nmblookup [hostname of the desktop ]
from the OSX side.
Micheal
micheal wrote:
The first thing I would ask is if SELinux is enabled on the desktop. I would also like to see the output of
smbclient -L [ hostname of the desktop ] nmblookup [hostname of the desktop ]
from the OSX side.
SELinux is disabled and
Domain=[ODEN] OS=[Unix] Server=[Samba 3.0.14a-2]
Sharename Type Comment --------- ---- ------- eric Disk Oden IPC$ IPC IPC Service () ADMIN$ IPC IPC Service () Domain=[ODEN] OS=[Unix] Server=[Samba 3.0.14a-2]
Server Comment --------- -------
Workgroup Master --------- -------
[freya:~] eric% nmblookup oden querying oden on 192.168.0.255 192.168.0.3 oden<00> WORKGROUP ODEN ================== I hope you can see somthing .. :)
thanks for looking
Thanks for replying
On Sun, 2005-10-02 at 12:10 +1000, Eric Johns wrote:
micheal wrote:
The first thing I would ask is if SELinux is enabled on the desktop. I would also like to see the output of
smbclient -L [ hostname of the desktop ] nmblookup [hostname of the desktop ]
from the OSX side.
SELinux is disabled
So that eliminates any restrictions there
and
Domain=[ODEN] OS=[Unix] Server=[Samba 3.0.14a-2]
Sharename Type Comment --------- ---- ------- eric Disk Oden IPC$ IPC IPC Service () ADMIN$ IPC IPC Service ()Domain=[ODEN] OS=[Unix] Server=[Samba 3.0.14a-2]
Server Comment --------- ------- Workgroup Master --------- -------[freya:~] eric% nmblookup oden querying oden on 192.168.0.255 192.168.0.3 oden<00> WORKGROUP ODEN ================== I hope you can see somthing .. :)
It looks like the Fedora box has the proper ports open, because you are getting the proper response back. I am beginning to think this might be a username issue. There are two ways you can troubleshoot this.
Run testparm on the Fedora Box, this will make sure that your smb.conf settings are correct.
From the OSX side try connecting through the terminal.
smbclient //oden/eric -U [linux username]
It should prompt for a password. If so type the linux user's password. you should get a > prompt. A dir command at this point should list the files in that directory.
If this works then your problem is OSX is not connecting to fedora with the correct user name. The easiest way to do this IMO is to map the OSX user to the Linux user in /etc/samba/smbusers. Let me know if you need help doing this.
I would also like to mention installing swat on the Fedora box. Its is a great tool for setting up Samba to work properly and to perform all the necessary user setups.
thanks for looking
HTH
Micheal