View previous topic :: View next topic |
Author |
Message |
Baryonic Being Tux's lil' helper

Joined: 27 Apr 2004 Posts: 93 Location: Earth
|
Posted: Tue Jun 07, 2005 10:58 am Post subject: Networking with a Mac |
|
|
I have Gentoo Linux and Mac OS X Tiger and I want the two to be able to share files. When I try to connect to Gentoo from the Mac, I'm asked for a user name and password. I've tried my user name on Gentoo, my user name on the Mac, and even both root accounts, but all of them return the error:
"Could not connect to the server because the name or password is incorrect."
I'm a bit of a networking newbie - every time I try it I get more confused. If someone can point me in the right direction, thank you. |
|
Back to top |
|
 |
gen2fox Guru


Joined: 25 May 2004 Posts: 544
|
Posted: Tue Jun 07, 2005 12:18 pm Post subject: |
|
|
Are you using Samba to share files? You need to add Samba users:
Code: | # smbpasswd -a username |
EDIT:
Also in smb.conf, make sure security is set to user. |
|
Back to top |
|
 |
Baryonic Being Tux's lil' helper

Joined: 27 Apr 2004 Posts: 93 Location: Earth
|
Posted: Tue Jun 07, 2005 12:27 pm Post subject: |
|
|
Yes, I am trying to use Samba. Is there a better way?
OK, I've added a Samba user on Gentoo and changed security to user; do I need to do that on the Mac too? When I try to add a user, I get this:
[-14200]add_record_attributes: authenticate_node error
odssam_update_sam_account: [-14200]add_record_attributes
Failed to modify entry for user fizzy.
Failed to modify password entry for user fizzy
And now when I try to connect, it more or less just times out, and I eventually get this error (on the Mac):
"The finder cannot complete the operation because some data in "smb://10.0.0.5" could not be read or written.
(Error code -36)."
Whereas a few minutes ago, before I started fiddling with the firewall, and then put it back to normal, it was asking for the username and password. And now the 'findsmb' command returns blank.
Thanks, by the way. |
|
Back to top |
|
 |
gen2fox Guru


Joined: 25 May 2004 Posts: 544
|
Posted: Tue Jun 07, 2005 12:34 pm Post subject: |
|
|
I'm afraid I can't help you on the Mac side, but I think Samba is the best way to share files between the two OS's.
Hopefully someone with Mac OS X knowledge will come and help  |
|
Back to top |
|
 |
Baryonic Being Tux's lil' helper

Joined: 27 Apr 2004 Posts: 93 Location: Earth
|
Posted: Tue Jun 07, 2005 2:03 pm Post subject: |
|
|
Aha. Upgrading to Samba 3.0.10 and restarting the computers seems to have helped: the Mac can now access Linux. But when I try the other way round, I get:
# smbmount //10.0.0.8/fizzy /mnt/mac
timeout connecting to 10.0.0.8:445
Password:
8610: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed |
|
Back to top |
|
 |
Baryonic Being Tux's lil' helper

Joined: 27 Apr 2004 Posts: 93 Location: Earth
|
Posted: Wed Jun 08, 2005 10:02 am Post subject: |
|
|
Additionally, I cannot seem to print remotely to the printer connected to my Linux machine. It's set to be shared in the smb.conf file, the Mac can find it no problem, and it says that it has printed to it successfully - but it doesn't. |
|
Back to top |
|
 |
maxima Apprentice

Joined: 01 Oct 2004 Posts: 150
|
Posted: Wed Jun 08, 2005 10:43 am Post subject: |
|
|
in mac side i think you have an option somewhere in user account that you have to tick
to allow user to connect remotely then you can login by supplying your mac password |
|
Back to top |
|
 |
Baryonic Being Tux's lil' helper

Joined: 27 Apr 2004 Posts: 93 Location: Earth
|
Posted: Wed Jun 08, 2005 11:03 am Post subject: |
|
|
I have already enabled personal file sharing and Windows sharing. |
|
Back to top |
|
 |
|