samba problem

C

Calico Tude

I have a small home network, which includes a PC, a Linux, and a Mac.
PC is running XP-Professional SP2. I have 2 Admin-level accounts on the PC:
the default one and another one that I added, as well as a user account.
Windows Firewall is enabled, with exceptions for the applications which need
Internet access.
I tried to set up Samba to access some files from the Mac. Although
the Mac sees the PC (PC shows up in Finder), when prompted for my username
and password (and I typed slowly and carefully), it would not accept (my
logging in). At the time I tried this, I was using my User-level account on
the PC.
Please advise what I need to do to make it work, thanks.
 
M

Malke

Calico said:
I have a small home network, which includes a PC, a Linux, and a
Mac.
PC is running XP-Professional SP2. I have 2 Admin-level accounts on the
PC: the default one and another one that I added, as well as a user
account. Windows Firewall is enabled, with exceptions for the applications
which need Internet access.
I tried to set up Samba to access some files from the Mac. Although
the Mac sees the PC (PC shows up in Finder), when prompted for my username
and password (and I typed slowly and carefully), it would not accept (my
logging in). At the time I tried this, I was using my User-level account
on the PC.
Please advise what I need to do to make it work, thanks.

OK, we've got a few things to do here.

1. Make sure you've enabled Windows Sharing on the Mac. You don't say
whether you're using Leopard or Tiger, unfortunately. In Leopard, you need
to specify sharing with SMB. In Tiger IIRC you can only share your Home
directory; Leopard will let you share other locations.

2. Presumably you've set up your XP sharing correctly - adjusted the
Firewall, shared out resources, etc. Since you've got XP Pro, disable
Simple File Sharing from Folder Options>View tab.

3. You've got to create identical user accounts/passwords on all machines.
In addition to creating these accounts/passwords in the system, you need to
add them to Samba in Linux.

I think the easiest way is from the console, so open one, su to root, and
type:

smbpasswd -a username [enter]
(enter password)
(enter password again)

After you've done/checked these things, if you're still having problems post
back. Provide more details so I don't have to guess what you've done and
what error messages you're getting, if any.


Malke
 
C

Calico Tude

Malke,
Thank you for your reply. I have printed it out in order to refer to it
later this weekend when I try what you suggested. The Mac is running Leopard
(10.5.1). I'll report back once I've tried.

Malke said:
Calico said:
I have a small home network, which includes a PC, a Linux, and a
Mac.
PC is running XP-Professional SP2. I have 2 Admin-level accounts on the
PC: the default one and another one that I added, as well as a user
account. Windows Firewall is enabled, with exceptions for the applications
which need Internet access.
I tried to set up Samba to access some files from the Mac. Although
the Mac sees the PC (PC shows up in Finder), when prompted for my username
and password (and I typed slowly and carefully), it would not accept (my
logging in). At the time I tried this, I was using my User-level account
on the PC.
Please advise what I need to do to make it work, thanks.

OK, we've got a few things to do here.

1. Make sure you've enabled Windows Sharing on the Mac. You don't say
whether you're using Leopard or Tiger, unfortunately. In Leopard, you need
to specify sharing with SMB. In Tiger IIRC you can only share your Home
directory; Leopard will let you share other locations.

2. Presumably you've set up your XP sharing correctly - adjusted the
Firewall, shared out resources, etc. Since you've got XP Pro, disable
Simple File Sharing from Folder Options>View tab.

3. You've got to create identical user accounts/passwords on all machines.
In addition to creating these accounts/passwords in the system, you need to
add them to Samba in Linux.

I think the easiest way is from the console, so open one, su to root, and
type:

smbpasswd -a username [enter]
(enter password)
(enter password again)

After you've done/checked these things, if you're still having problems post
back. Provide more details so I don't have to guess what you've done and
what error messages you're getting, if any.


Malke
--
MS-MVP
Elephant Boy Computers
www.elephantboycomputers.com
Don't Panic!
 
M

Malke

Calico said:
Malke,
Thank you for your reply. I have printed it out in order to refer to it
later this weekend when I try what you suggested. The Mac is running
Leopard
(10.5.1). I'll report back once I've tried.

OK, I'll be around.


Malke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top