Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Networking with a Mac
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Baryonic Being
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 93
Location: Earth

PostPosted: Tue Jun 07, 2005 10:58 am    Post subject: Networking with a Mac Reply with quote

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
View user's profile Send private message
gen2fox
Guru
Guru


Joined: 25 May 2004
Posts: 544

PostPosted: Tue Jun 07, 2005 12:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Baryonic Being
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 93
Location: Earth

PostPosted: Tue Jun 07, 2005 12:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
gen2fox
Guru
Guru


Joined: 25 May 2004
Posts: 544

PostPosted: Tue Jun 07, 2005 12:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Baryonic Being
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 93
Location: Earth

PostPosted: Tue Jun 07, 2005 2:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Baryonic Being
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 93
Location: Earth

PostPosted: Wed Jun 08, 2005 10:02 am    Post subject: Reply with quote

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
View user's profile Send private message
maxima
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 150

PostPosted: Wed Jun 08, 2005 10:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Baryonic Being
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 93
Location: Earth

PostPosted: Wed Jun 08, 2005 11:03 am    Post subject: Reply with quote

I have already enabled personal file sharing and Windows sharing.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum