Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problem mounting a Linux share in OS X

Reply
Thread Tools Display Modes

Problem mounting a Linux share in OS X

 
 
Timur Tabi
Guest
Posts: n/a

 
      12-19-2003, 12:58 AM
I have two computers, one is a Mac running OS X 1.2, and the other is
a PC running Red Hat Linux 9.0. I'm trying to get my Mac to be able
to mount shares on my PC.

smbd is running. Under the Samba Server Coniguration, I created a
Windows user called "TIMUR", and I'm trying to get it to mount
/home/timur.

The Mac can see the PC when I go to "Connect to Server", but it
insists on mounting /root instead of /home/timur. When I try to
mount, I get back an error -5023.

What am I missing?
 
Reply With Quote
 
 
 
 
johnny bobby bee
Guest
Posts: n/a

 
      12-19-2003, 07:16 AM
Timur Tabi typed:


> smbd is running. Under the Samba Server Coniguration, I created a
> Windows user called "TIMUR", and I'm trying to get it to mount
> /home/timur.


what do you mean by 'under the samba server coniguration'? what have you
done exactly?
you should be adding a regular user to your linux box with 'useradd' or by
using one of the user GUI tools in redhat. i'm not sure what samba server
configuration tool allows you to create windows users? after adding a user to
your linux box (the regular way), then you need to run the
'smbpasswd name-of-user' command for that user to give him a password.

> The Mac can see the PC when I go to "Connect to Server", but it
> insists on mounting /root instead of /home/timur. When I try to
> mount, I get back an error -5023.
>
> What am I missing?


from the Mac - when you 'connect-to-server'.
in the address bar of the dialog box type:
smb://IPaddress-of-linuxPC/timur
it maybe smb://IPaddress-of-linuxPC/home/timur (can't remember off hand)
then you should be asked for password from the authentication dialog box.


--
- Linux: the choice of a GNU generation
- free; as in free speech and free beer

remove '.eh' to email

 
Reply With Quote
 
Timur Tabi
Guest
Posts: n/a

 
      12-20-2003, 12:33 AM
"johnny bobby bee" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>. ..

> what do you mean by 'under the samba server coniguration'?


Red Hat 9 comes with a GUI tool call "Samba Server". It's available
via System Settings -> Server Settings -> Samba Server. It might be
Gnome app.

> what have you
> done exactly?
> you should be adding a regular user to your linux box with 'useradd' or by
> using one of the user GUI tools in redhat.


I've done that.

> i'm not sure what samba server
> configuration tool allows you to create windows users? after adding a user to
> your linux box (the regular way), then you need to run the
> 'smbpasswd name-of-user' command for that user to give him a password.


It sounds like this GUI tool allows me to specify a userid different
from the one I created with useradd, but still associated with it.

> from the Mac - when you 'connect-to-server'.
> in the address bar of the dialog box type:
> smb://IPaddress-of-linuxPC/timur
> it maybe smb://IPaddress-of-linuxPC/home/timur (can't remember off hand)
> then you should be asked for password from the authentication dialog box.


I am asked for the password, but it gives me an error when I try to
connect.
 
Reply With Quote
 
johnny bobby bee
Guest
Posts: n/a

 
      12-20-2003, 07:21 AM
Timur Tabi typed:

>
> I am asked for the password, but it gives me an error when I try to
> connect.


have you run 'smbpasswd' for the user?
if you have? try 'smbpasswd -e username'. see if that does anything?

'less /etc/samba/smbpasswd'
see if your user is there with an encripted password.

other things to check:
-is smbd running
-is nmbd running
-try restarting smbd ('service smbd restart')
-have you played with your /etc/samba/smb.conf file?
-does the workgroup name of your Mac match the workgroup name in your
smb.conf file?
-is your Mac's ip address in the smb.conf file's hosts allow setting
-is your 'hosts deny = all' setting uncommented or commented in smb.conf?

try that, see if it gets you anywhere.

--
- Linux: the choice of a GNU generation
- free; as in free speech and free beer

remove '.eh' to email

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting NFS on Samba share snovgorodsky@gmail.com Linux Networking 1 03-26-2009 11:59 PM
autofs mounting window share problems PING CHIEK KOH Linux Networking 0 07-21-2004 05:37 AM
NFS problems with Linux mounting a file Meik Langwald Linux Networking 38 07-15-2004 09:16 PM
Mounting a network share as a folder, not as a drive Jibba Jabba Windows Networking 7 02-09-2004 04:59 AM
Suse linux 9.0 nfs mounting very slow Knilux Linux Networking 0 10-30-2003 06:18 PM



1 2 3 4 5 6 7 8 9 10 11