|
Re: Linux to Linux Fileshare Problem
Geoff Lane wrote:
> Bryce wrote:
>
>>> Problem is neither Linux machine can view the other's files. If from
>>> either Linux machine I connect to the network it shows the other Linux
>>> machine, clicking on the networked Linux machine it then lists the
>>> shared directories but if I click on the directories a window opens
>>> requesting a username, domain and password.
>>>
>>> The username shows my Linux machine username, the domain shows the
>>> WORKGROUP name and the password field is blank.
>>>
>>> I have tried numerous options but cannot open the shared directories.
>>>
>>> Geoff Lane
>> I don't have either Windows or Ubuntu, but maybe this will help:
>>
>> Did you use smbpasswd to add Samba users and set up their passwords
>> on both Linux machines?
>
> I'm pretty sure I did as both Linux machines have the same users and
> passwords.
>
> I thought initially there might have been a user/pass conflict but one
> Linux machine merely acts as a printer and scanner server so gets
> switched on but not logged in.
>
> Geoff Lane
Your original post suggests that the shares are set up OK. Sure seems like
a privilege problem. Have you tried mounting a samba share from the command
line? That would eliminate any weirdness in whatever gui samba client
you're using. Open an x-terminal window and try something like this:
sudo mkdir /remote_mount
sudo mount //remote_machine/share_name /remote_mount -o user=remote_username
.... should prompt you for the samba password you preset on //remote_machine
for the remote_username account. Once entered, you should have access to
that share under /remote_mount with whatever read/write access you set up
in /etc/samba/smb.conf on the remote box.
|