[Samba] Using Linux to access files on Mac OS X

Am Jam
Thu, 22 Jan 2015 21:51:40 -0000

Hi Ralph,

Thanks again for your suggestion and sorry it has taken me so long to
respond. To provide an update, I did upgrade to Samba 4.1.15 but have
still been unsuccessful in viewing the shares on my Mac OS X machine.

In the following examples:
The Linux box is named 'beedrill' and my username is 'amjam'
The Mac OS X box is named 'bulbasaur' and my username is
'AJames'

[amjam at beedrill ~ ]% smbtree -U AJames
Enter AJames's password:
WORKGROUP
        \\BULBASAUR                     bulbasaur
        \\BRW008092AAD473
        \\BEEDRILL                      Samba Server
                \\BEEDRILL\IPC$                 IPC Service (Samba Server)
                \\BEEDRILL\public               Public Stuff


[amjam at beedrill ~ ]% smbclient -L bulbasaur -U AJames
Enter AJames's password:
session setup failed: NT_STATUS_LOGON_FAILURE

[root at beedrill ~ ]# mount.cifs //bulbasaur/Users/AJames/Public /mnt/osx -o
username=AJames
Password for AJames@//bulbasaur/Users/AJames/Public:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

[root at beedrill ~ ]# mount.cifs //bulbasaur/Users/AJames/Public /mnt/osx -o
sec=ntlmv2,username=AJames
Password for AJames@//bulbasaur/Users/AJames/Public:
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


[amjam at beedrill ~ ]% ssh AJames at bulbasaur
Password:
Last login: Thu Jan 22 21:12:09 2015 from 192.168.0.13
bulbasaur:~ AJames$



I'm at a loss as to what to do next.


Best Regards,
Am Jam.


On Thu, Jan 15, 2015 at 08:35:13AM +0100, Ralph B??hme
wrote:
> On Wed, Jan 14, 2015 at 07:38:37PM +0000, Am Jam wrote:
> > Hi Ralph,
> >
> > Thanks for your suggestion. I have upgraded to Samba 4.1.14 (I know
it's
> > not the latest version but its the only version I could install on
> > Gentoo at the moment).
>
> iirc the bug was fixed in 4.1.5.
> BUG 10966: <https://www.samba.org/samba/history/samba-4.1.15.html>
>
> -Ralph
>
> --
> SerNet GmbH, Bahnhofsallee 1b, 37081 G??ttingen
> phone: +49-551-370000-0, fax: +49-551-370000-9
> AG G??ttingen, HRB 2816, GF: Dr. Johannes Loxen
> http://www.sernet.de,mailto:kontakt at sernet.de

--
Am Jam